/* ========================================
   BINÔME GOLD — Page dédiée
   ======================================== */

.hero-gold {
    background: linear-gradient(135deg, var(--binome-black) 0%, var(--binome-brown) 50%, #2a1a0a 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-gold::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 70%;
    height: 120%;
    background: radial-gradient(circle, rgba(244, 166, 35, 0.12) 0%, transparent 65%);
    animation: goldPulse 10s ease-in-out infinite;
}

@keyframes goldPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

.hero-gold-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

.gold-bar-icon {
    font-size: 180px;
    background: linear-gradient(135deg, #FFD700, var(--binome-gold), #B8860B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 8px 24px rgba(244, 166, 35, 0.4));
    animation: floatGold 4s ease-in-out infinite;
}

.gold-scale-icon {
    position: absolute;
    bottom: 20px;
    right: 10%;
    font-size: 100px;
    color: rgba(244, 166, 35, 0.35);
    animation: floatGold 5s ease-in-out infinite reverse;
}

@keyframes floatGold {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.gold-shimmer {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15), transparent 70%);
    top: 10%;
    left: 15%;
}

/* Phases */
.phases-intro {
    color: var(--text-secondary);
}

.phases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.phase-item {
    position: relative;
}

.phase-item-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid rgba(244, 166, 35, 0.18);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    height: 100%;
    transition: var(--transition-base);
}

.phase-item:hover .phase-item-inner {
    border-color: rgba(244, 166, 35, 0.45);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.phase-item.active .phase-item-inner {
    border-color: var(--binome-gold);
    background: linear-gradient(135deg, rgba(244, 166, 35, 0.08), rgba(211, 84, 30, 0.04));
    box-shadow: var(--shadow-glow);
}

.phase-item.upcoming .phase-item-inner {
    opacity: 0.85;
}

.phase-badge {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--binome-gold), var(--binome-orange));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: var(--binome-black);
}

.phase-item-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.phase-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.phase-amount {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--binome-gold);
    line-height: 1.2;
}

.phase-amount small {
    font-size: 0.75rem;
    font-weight: 700;
}

.phase-unit {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.phase-item.active .phase-label::after {
    content: ' · En cours';
    color: var(--binome-gold);
}

.phase-item.past .phase-item-inner {
    opacity: 0.7;
    border-color: rgba(244, 166, 35, 0.1);
}

.phase-item.past .phase-label::after {
    content: ' · Terminée';
    color: var(--text-muted);
}

/* Finance section */
.finance-intro {
    color: var(--text-secondary);
    line-height: 1.7;
}

.finance-stats-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.finance-stat-row {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--bg-card);
    border: 1px solid rgba(244, 166, 35, 0.15);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    transition: var(--transition-base);
}

.finance-stat-row:hover {
    border-color: rgba(244, 166, 35, 0.4);
    background: rgba(244, 166, 35, 0.04);
}

.finance-stat-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--binome-gold), var(--binome-orange));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--binome-black);
}

.finance-stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.finance-stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.finance-stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--binome-gold);
    line-height: 1.2;
}

.finance-stat-pending {
    font-size: 1.6rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.finance-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(244, 166, 35, 0.06);
    border-left: 3px solid var(--binome-gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.finance-disclaimer i {
    color: var(--binome-gold);
    margin-top: 3px;
    flex-shrink: 0;
}

.finance-example-box {
    background: var(--bg-card);
    border: 2px solid rgba(244, 166, 35, 0.25);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 20px;
}

.finance-example-title {
    color: var(--binome-gold);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.finance-example-lead {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.finance-example-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.finance-example-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.finance-example-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--binome-gold);
}

.finance-detail-card {
    background: var(--bg-card);
    border: 1px solid rgba(244, 166, 35, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: 100%;
}

.finance-detail-title {
    color: var(--binome-gold);
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.finance-detail-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

.finance-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.finance-detail-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.finance-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--binome-orange);
}

.finance-image img {
    border: 3px solid var(--binome-gold);
    width: 100%;
    object-fit: cover;
}

/* Risks */
.risk-card {
    background: var(--bg-card);
    border-left: 4px solid var(--binome-orange);
    border-radius: var(--radius-md);
    padding: 24px;
    height: 100%;
    transition: var(--transition-base);
}

.risk-card:hover {
    border-left-color: var(--binome-gold);
    background: rgba(244, 166, 35, 0.05);
}

.risk-card .risk-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.warning-box {
    background: rgba(211, 84, 30, 0.1);
    border: 2px solid var(--binome-orange);
    border-radius: var(--radius-lg);
    padding: 28px;
}

/* Gold price widget */
.gold-chart-fluid {
    max-width: 100%;
}

.gold-chart-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.gold-price-widget {
    background: var(--bg-card);
    border: 2px solid rgba(244, 166, 35, 0.3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 100%;
}

.gold-price-widget .tradingview-widget-container {
    height: 480px;
    width: 100%;
}

.gold-price-widget #tradingview_gold_chart {
    width: 100%;
    height: 100%;
}

.gold-price-header {
    background: linear-gradient(135deg, var(--binome-gold), var(--binome-orange));
    color: var(--binome-black);
    padding: 16px 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gold-price-ref {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 2px;
}

.gold-spot-price {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
}

.gold-spot-unit {
    font-size: 11px;
    opacity: 0.85;
    font-weight: 600;
}

.gold-price-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 16px;
    padding: 10px 24px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(244, 166, 35, 0.15);
    font-size: 13px;
    color: var(--text-secondary);
}

.gold-price-meta-note {
    color: var(--text-muted);
    font-size: 12px;
}

/* Why invest */
.why-gold-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(244, 166, 35, 0.15);
    transition: var(--transition-base);
    height: 100%;
}

.why-gold-item:hover {
    border-color: var(--binome-gold);
    transform: translateX(5px);
}

.why-gold-item .why-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, var(--binome-gold), var(--binome-orange));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--binome-black);
}

.hero-gold-logo {
    max-width: 340px;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(244, 166, 35, 0.25);
    border: 2px solid rgba(244, 166, 35, 0.35);
}

/* Gallery */
.gold-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

.gold-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 2px solid rgba(244, 166, 35, 0.2);
    background: var(--bg-card);
}

.gold-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gold-gallery-item:hover img {
    transform: scale(1.06);
}

.gold-gallery-featured {
    grid-column: span 2;
    grid-row: span 2;
}

/* Parts disponibles */
.gold-parts-banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, rgba(244, 166, 35, 0.12), rgba(211, 84, 30, 0.06));
    border: 2px solid rgba(244, 166, 35, 0.35);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
}

.gold-parts-label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.gold-parts-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--binome-gold);
    letter-spacing: 2px;
}

.gold-parts-note {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 320px;
}

/* RSE */
.rse-objectives-card {
    background: var(--bg-card);
    border: 2px solid rgba(244, 166, 35, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.rse-objectives-title {
    color: var(--binome-gold);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 28px;
    text-align: center;
}

.rse-objective-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(244, 166, 35, 0.05);
    border: 1px solid rgba(244, 166, 35, 0.15);
    border-radius: var(--radius-md);
    padding: 18px;
    height: 100%;
    color: var(--text-secondary);
    line-height: 1.6;
}

.rse-objective-item i {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--binome-gold), var(--binome-orange));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--binome-black);
    font-size: 16px;
}

@media (max-width: 991px) {
    .hero-gold {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-gold-visual {
        min-height: 260px;
        margin-top: 40px;
    }

    .gold-bar-icon {
        font-size: 120px;
    }

    .gold-scale-icon {
        font-size: 70px;
    }

    .phases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gold-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .gold-gallery-featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .finance-image {
        margin-top: 10px;
    }
}

@media (max-width: 575px) {
    .phases-grid {
        grid-template-columns: 1fr;
    }

    .gold-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gold-gallery-featured {
        grid-column: span 1;
    }

    .gold-parts-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
