/* ==========================================================================
   Bloc 10 · Page À propos / L'histoire
   Mobile-first 390px : frise chronologique en une colonne, écran par écran.
   Desktop propre sans régression.
   ========================================================================== */

/* ===== Variables héritées du design system ============================= */
/* --bg, --bg-2, --bg-3, --gold, --gold-2, --text, --muted, --line, etc. */

/* ===== Layout général ================================================== */
.about-page {
    position: relative;
    min-height: 100vh;
}

/* En-tête page */
.page-head {
    position: relative;
    padding-top: max(5rem, calc(2rem + 32px));
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    overflow: hidden;
}

.page-head::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 55% at 50% -5%, rgba(201, 162, 39, 0.14), transparent 62%),
        linear-gradient(180deg, rgba(10, 9, 8, 0.35) 0%, var(--bg) 48%);
}

.page-head .wrap {
    position: relative;
    z-index: 1;
}

.page-head__kicker {
    margin: 0 auto 1rem;
}

.about-page .page-head__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
    margin: 0 auto;
    text-align: center;
    max-width: none;
    width: 100%;
}

/* Section principale */
.about-page-section {
    position: relative;
    padding: 0 0 clamp(100px, 15vw, 120px);
}

.about-page-wrap {
    max-width: 980px;
    width: auto;
    margin-left: max(1rem, calc((100% - 1220px) / 2));
    margin-right: max(1rem, calc((100% - 1220px) / 2));
    padding-inline: 0;
}

/* ===== Frise chronologique ============================================= */
.story {
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: clamp(3rem, 6vw, 4rem);
    position: relative;
}

/* Timeline line (ligne verticale or) */
.story::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(
        180deg,
        rgba(201, 162, 39, 0.6) 0%,
        rgba(201, 162, 39, 0.3) 50%,
        rgba(201, 162, 39, 0.6) 100%
    );
    z-index: 0;
}

.story-step {
    position: relative;
    padding-left: clamp(2.5rem, 6vw, 3rem);
    z-index: 1;
}

/* Point de la frise */
.story-step::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg);
    border: 3px solid var(--gold);
    box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.15);
    z-index: 2;
}

/* Dernière étape mise en avant (Worlds d'Anvers 2026) */
.story > .story-step:last-child::before {
    box-shadow: 
        0 0 0 6px rgba(201, 162, 39, 0.15),
        0 0 0 10px rgba(201, 162, 39, 0.25);
    animation: pulse-last-step 3s ease-in-out infinite;
}

@keyframes pulse-last-step {
    0%, 100% { 
        box-shadow: 
            0 0 0 6px rgba(201, 162, 39, 0.15),
            0 0 0 10px rgba(201, 162, 39, 0.25);
    }
    50% { 
        box-shadow: 
            0 0 0 6px rgba(201, 162, 39, 0.15),
            0 0 0 14px rgba(201, 162, 39, 0.3);
    }
}

.story-when {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.75rem;
    line-height: 1.4;
}

.story-step h3 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: clamp(1.3rem, 3.5vw, 1.65rem);
    line-height: 1.3;
    color: var(--text);
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}

.story-step p {
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    line-height: 1.7;
    color: rgba(248, 246, 240, 0.85);
    margin: 0 0 0.85rem;
    max-width: 42rem;
}

.story-step p:last-child {
    margin-bottom: 0;
}

.story-step a {
    color: var(--gold-2);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 162, 39, 0.3);
    transition: border-color 0.2s;
}

.story-step a:hover {
    border-color: var(--gold-2);
}

.story-step sup {
    font-size: 0.7em;
    vertical-align: super;
}

/* Citation RTBF */
.story-quote {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(1.15rem, 3vw, 1.4rem);
    line-height: 1.6;
    color: var(--text);
    margin: clamp(3rem, 6vw, 4.5rem) 0 0.5rem;
    padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 3.5vw, 2rem);
    border-left: 4px solid var(--gold);
    background: rgba(201, 162, 39, 0.05);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    position: relative;
    max-width: 48rem;
}

.story-quote::before {
    content: "\201C";
    position: absolute;
    top: clamp(0.75rem, 2vw, 1rem);
    left: clamp(1rem, 3vw, 1.5rem);
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 4.5rem);
    line-height: 1;
    color: var(--gold);
    opacity: 0.3;
    pointer-events: none;
}

.story-source {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
    max-width: 48rem;
}

/* Section "Qui est derrière Natrix" */
.story-step:has(.arrow-link) {
    margin-top: clamp(2rem, 4vw, 3rem);
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--line);
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: gap 0.2s;
}

.arrow-link:hover {
    gap: 0.65rem;
}

.arrow-link i {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

/* ===== Section Mission ================================================= */
.about-page-block {
    margin: clamp(3.5rem, 7vw, 5rem) 0;
    padding: clamp(2rem, 4.5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--r);
    border: 1px solid rgba(201, 162, 39, 0.2);
    background: rgba(255, 255, 255, 0.02);
    max-width: 48rem;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.section-header h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 4.5vw, 2.4rem);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    margin: 0 0 0.5rem;
}

.section-header h2 span {
    background: linear-gradient(120deg, var(--gold-2), var(--gold) 50%, var(--gold-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-header p {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
    letter-spacing: 0.02em;
}

.about-page-block-text {
    font-size: clamp(1rem, 2.3vw, 1.1rem);
    line-height: 1.75;
    color: rgba(248, 246, 240, 0.9);
    text-align: center;
    margin: 0;
}

/* ===== Section Preuves ================================================= */
.about-page-preuves {
    margin: clamp(3.5rem, 7vw, 5rem) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: clamp(2rem, 4vw, 2.75rem);
}

.value-card {
    padding: clamp(1.5rem, 3.5vw, 2rem) clamp(1.25rem, 3vw, 1.75rem);
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--surface);
    text-align: center;
    transition: border-color 0.25s, transform 0.25s;
}

.value-card:hover {
    border-color: rgba(201, 162, 39, 0.45);
    transform: translateY(-2px);
}

.value-icon {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: var(--gold);
    margin-bottom: 1rem;
    line-height: 1;
}

.value-icon i {
    display: block;
}

.be-flag {
    display: inline-block;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    line-height: 1;
}

.value-card h3 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.75rem;
}

.value-card p {
    font-size: clamp(0.92rem, 2.2vw, 1rem);
    line-height: 1.65;
    color: rgba(248, 246, 240, 0.85);
    margin: 0;
}

.value-card sup {
    font-size: 0.7em;
    vertical-align: super;
}

/* ===== Section CTA ===================================================== */
.about-page-cta {
    margin: clamp(3.5rem, 7vw, 5rem) 0 0;
    padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2rem);
    border-radius: var(--r);
    border: 1px solid rgba(201, 162, 39, 0.3);
    background: 
        linear-gradient(135deg, rgba(201, 162, 39, 0.08) 0%, rgba(201, 162, 39, 0.02) 100%),
        var(--surface);
    text-align: center;
    max-width: 48rem;
    margin-inline: auto;
}

.about-page-cta > p {
    font-size: clamp(1rem, 2.3vw, 1.1rem);
    line-height: 1.6;
    color: rgba(248, 246, 240, 0.9);
    margin: 0 0 clamp(1.5rem, 3.5vw, 2rem);
}

.about-page-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.about-page-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: var(--bg-3);
    border: 1px solid var(--gold);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -12px rgba(201, 162, 39, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--gold);
    border: 1px solid rgba(201, 162, 39, 0.4);
}

.btn-ghost:hover {
    border-color: var(--gold);
    background: rgba(201, 162, 39, 0.08);
    transform: translateY(-2px);
}

/* ===== Responsive Desktop ============================================== */
@media (min-width: 768px) {
    .page-head {
        text-align: left;
    }

    .page-head__kicker {
        margin-left: 0;
    }

    .about-page .page-head__title {
        text-align: left;
    }

    .story::before {
        left: 19px;
    }

    .story-step {
        padding-left: clamp(3.5rem, 7vw, 4.5rem);
    }

    .story-step::before {
        left: 8px;
        width: 22px;
        height: 22px;
    }

    .story > .story-step:last-child::before {
        box-shadow: 
            0 0 0 6px rgba(201, 162, 39, 0.15),
            0 0 0 12px rgba(201, 162, 39, 0.3);
    }

    .story-quote {
        padding-left: clamp(5rem, 8vw, 6rem);
    }

    .story-quote::before {
        left: clamp(1.5rem, 3vw, 2rem);
    }

    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .about-page-cta-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .section-header {
        text-align: left;
    }

    .about-page-block-text {
        text-align: left;
    }

    .value-card {
        text-align: left;
    }
}

/* ===== Animations scroll-driven (progressive enhancement) ============== */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .story-step {
            animation: story-step-in linear forwards;
            animation-timeline: view();
            animation-range: entry 0% entry 30%;
        }

        @keyframes story-step-in {
            from {
                transform: translateY(12px);
            }
            to {
                transform: translateY(0);
            }
        }

        .value-card {
            animation: value-card-in linear forwards;
            animation-timeline: view();
            animation-range: entry 0% entry 30%;
        }

        @keyframes value-card-in {
            from {
                transform: translateY(12px);
            }
            to {
                transform: translateY(0);
            }
        }
    }
}

/* ===== États par défaut 100% visibles ================================= */
/* Tous les éléments sont visibles par défaut (opacity: 1), les animations
   ne servent qu'à améliorer l'expérience, jamais à rendre le contenu invisible */
