/* =========================================================
   VARIABLES
========================================================= */

            :root {
                --text: #24303a;
                --muted: #5f6d79;
                --accent: #1f6d73;
                --accent-soft: #3b8d8b;
                --paper: rgba(255, 255, 255, 0.42);
                --paper-strong: rgba(255, 255, 255, 0.62);
                --line: rgba(31, 109, 115, 0.22);
                --shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
                --shadow-soft: 0 18px 55px rgba(0, 0, 0, 0.10);
            }

            /* =========================================================
   RESET
========================================================= */

            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }

            html {
                scroll-behavior: smooth;
            }

            body {
                font-family: 'Inter', sans-serif;
                color: var(--text);
                background: transparent;
                line-height: 1.75;
            }

            section {
                padding: 5rem 0;
            }

            .container {
                width: min(1150px, 92%);
                margin: auto;
            }

            .auth-access {
                position: fixed;
                top: 14px;
                right: 18px;
                z-index: 1200;
                font-size: 0.88rem;
                display: block;
            }

            body.admin-bar .auth-access {
                top: 46px;
            }

            .auth-access a {
                display: inline-block;
                padding: 0.35rem 0.7rem;
                border-radius: 999px;
                text-decoration: none;
                color: #31414c;
                background: rgba(255, 255, 255, 0.72);
                border: 1px solid rgba(31, 109, 115, 0.24);
                backdrop-filter: blur(8px);
                transition: background 0.2s ease;
            }

            .auth-access a:hover {
                background: rgba(255, 255, 255, 0.9);
            }

            .auth-access__login,
            .auth-access__private,
            .auth-access__logout {
                display: none;
            }

            /* =========================================================
   TYPOGRAPHY
========================================================= */

            h1,
            .section-title,
            .method-title {
                font-family: 'Playfair Display', serif;
                color: #1d2a33;
            }

            h1 {
                font-size: clamp(3rem, 8vw, 6.5rem);
                line-height: 1.02;
                margin-bottom: 2rem;
            }

            .section-title {
                font-size: clamp(2.2rem, 5vw, 4rem);
                margin-bottom: 2rem;
            }

            .section-title small {
                font-size: 0.7em;
            }

            .highlight {
                color: var(--accent);
            }

            .lambique-brand {
                font-family: 'JetBrains Mono', monospace;
                font-weight: 700;
                letter-spacing: -0.04em;
                text-transform: lowercase;
                color: var(--accent);
                white-space: nowrap;
            }

            /* =========================================================
   REVEAL ANIMATIONS
========================================================= */

            .reveal {
                opacity: 0;
                transform: translateY(32px);
                transition:
                    opacity 0.9s ease,
                    transform 0.9s cubic-bezier(.2, .8, .2, 1);
            }

            .reveal.is-visible {
                opacity: 1;
                transform: translateY(0);
            }

            /* =========================================================
   HERO
========================================================= */

            .hero {
                min-height: 100vh;
                padding: 5rem 0;
                display: flex;
                align-items: center;
            }

            .hero .container {
                overflow: visible;
            }

            .hero-grid {
                display: grid;
                grid-template-columns: minmax(0, 1.75fr) minmax(0, 0.6fr);
                gap: 2rem;
                align-items: center;
            }

            .hero-content {
                max-width: 980px;
                position: relative;
                z-index: 2;
            }

            .eyebrow {
                display: inline-block;
                padding: 0.5rem 1rem;
                margin-bottom: 1.5rem;
                backdrop-filter: blur(12px);
                font-size: 1.1rem;
                font-weight: 700;
                letter-spacing: 0.12em;
                text-transform: uppercase;
            }

            .hero-text {
                /*max-width: 900px;*/
                font-size: 1.25rem;
                color: var(--muted);
            }

            .hero .eyebrow,
            .hero h1,
            .hero .hero-text,
            .hero .hero-media {
                opacity: 0;
            }

            .hero .eyebrow {
                transform: translateY(-34px);
            }

            .hero h1 {
                transform: translateX(-52px);
            }

            .hero .hero-text {
                transform: translateY(36px);
            }

            .hero-media {
                display: flex;
                justify-content: flex-end;
                overflow: visible;
                position: relative;
                z-index: 1;
                transform: translateX(56px);
            }

            .hero-media img {
                width: clamp(320px, 34vw, 560px);
                max-width: none;
                height: auto;
                display: block;
                transform: translateX(20%);
                filter: saturate(0.9) contrast(1.05);
            }

            .hero.is-visible .eyebrow {
                animation: heroEyebrowDown 700ms cubic-bezier(.2, .8, .2, 1) 70ms forwards;
            }

            .hero.is-visible h1 {
                animation: heroTitleIn 900ms cubic-bezier(.2, .8, .2, 1) 140ms forwards;
            }

            .hero.is-visible .hero-text {
                animation: heroBodyUp 780ms cubic-bezier(.2, .8, .2, 1) 230ms forwards;
            }

            .hero.is-visible .hero-media {
                animation: heroImageIn 900ms cubic-bezier(.2, .8, .2, 1) 200ms forwards;
            }

            @keyframes heroEyebrowDown {
                from {
                    opacity: 0;
                    transform: translateY(-34px);
                }

                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            @keyframes heroTitleIn {
                from {
                    opacity: 0;
                    transform: translateX(-52px);
                }

                to {
                    opacity: 1;
                    transform: translateX(0);
                }
            }

            @keyframes heroBodyUp {
                from {
                    opacity: 0;
                    transform: translateY(36px);
                }

                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            @keyframes heroImageIn {
                from {
                    opacity: 0;
                    transform: translateX(56px);
                }

                to {
                    opacity: 1;
                    transform: translateX(0);
                }
            }

            .buttons {
                display: flex;
                flex-wrap: wrap;
                gap: 1rem;
                margin-top: 3rem;
            }

            /* =========================================================
   BUTTONS
========================================================= */

            .btn {
                display: inline-flex;
                align-items: center;
                gap: 0.7rem;
                padding: 1rem 1.5rem;
                border-radius: 16px;
                text-decoration: none;
                font-weight: 600;
                transition:
                    transform 0.25s ease,
                    background 0.25s ease;
            }

            .btn-primary {
                background: var(--accent);
                color: white;
                box-shadow: var(--shadow);
            }

            .btn-primary:hover {
                transform: translateY(-2px);
                background: var(--accent-soft);
            }

            .btn-secondary {
                background: rgba(255, 255, 255, 0.3);
                border: 1px solid rgba(255, 255, 255, 0.5);
                backdrop-filter: blur(10px);
                color: var(--text);
            }

            .btn-secondary:hover {
                background: rgba(255, 255, 255, 0.45);
            }

            /* =========================================================
   ORIGIN
========================================================= */

            .origin-grid {
                display: grid;
                grid-template-columns: 1.1fr 0.9fr;
                gap: 3rem;
            }

            #story .origin-grid {
                opacity: 0;
                transform: translateY(64px);
                transition:
                    opacity 1s ease,
                    transform 1.05s cubic-bezier(.2, .8, .2, 1);
            }

            #story.is-visible .origin-grid {
                opacity: 1;
                transform: translateY(0);
            }

            .origin-text p {
                color: var(--muted);
                margin-bottom: 1.5rem;
            }

            .origin-signature {
                margin-top: 0.8rem;
                margin-bottom: 0;
                font-weight: 600;
                color: #2a3a45;
            }

            .trajectory-panel {
                background: var(--paper);
                border: 1px solid rgba(255, 255, 255, 0.45);
                margin: 2.5rem 0;
                padding: 2.2rem;
                border-radius: 28px;
                backdrop-filter: blur(18px);
                box-shadow: var(--shadow);
                display: flex;
                flex-direction: column;
                justify-content: center;
                /* centrage vertical */
            }

            .trajectory-panel h3 {
                margin-bottom: 3rem;
                font-size: 1.5rem;
            }

            .trajectory {
                display: grid;
                gap: 3rem;
            }

            .trajectory-item {
                padding-left: 1.2rem;
                border-left: 2px solid rgba(31, 109, 115, 0.3);
            }

            .trajectory-item strong {
                display: block;
                margin-bottom: 0.25rem;
            }

            /* =========================================================
   METHOD / KEY MESSAGE
========================================================= */

            .method-section {
                padding-top: 3rem;
            }

            .method-block {
                max-width: 980px;
                margin: 0 auto;
                padding: 3.6rem 3.8rem;
                background: var(--paper-strong);
                border: 1px solid rgba(255, 255, 255, 0.62);
                border-radius: 30px;
                backdrop-filter: blur(18px);
                box-shadow: var(--shadow-soft);
            }

            .method-kicker {
                display: inline-block;
                margin-bottom: 1.6rem;
                font-size: 0.84rem;
                font-weight: 700;
                letter-spacing: 0.16em;
                text-transform: uppercase;
                color: var(--accent);
            }

            .method-title {
                /*max-width:850px;*/
                margin-bottom: 2rem;
                font-size: clamp(2.2rem, 4.8vw, 4.5rem);
                line-height: 1.08;
            }

            .method-body {
                /*    max-width:780px;*/
            }

            .method-body p {
                margin-bottom: 1.5rem;
                font-size: 1.2rem;
                line-height: 1.9;
                color: #33424d;
            }

            .method-body p:last-child {
                margin-top: 2.4rem;
                margin-bottom: 0;
                padding-top: 1.6rem;
                border-top: 1px solid var(--line);
                font-size: 1.35rem;
                font-weight: 700;
                line-height: 1.65;
                color: #1d2a33;
            }

            .method-body .lambique-brand {
                font-size: 1.02em;
            }

            /* =========================================================
   CLOSING
========================================================= */

            .closing {
                padding-top: 2rem;
                text-align: center;
            }

            .closing p {
                max-width: 760px;
                margin: 0 auto 2rem;
                color: var(--muted);
                font-size: 1.15rem;
            }

            /* =========================================================
   CLOSING
========================================================= */

            .closing-section {
                padding-top: 4rem;
                padding-bottom: 6rem;
            }

            .closing-block {
                /*max-width:900px;*/
                margin: auto;

                text-align: center;
            }

            .closing-block h2 {
                font-family: 'Playfair Display', serif;
                font-size: clamp(2.2rem, 4.2vw, 3.8rem);
                line-height: 1.15;
                color: #1d2a33;
                margin-bottom: 2rem;
            }

            .closing-block p {
                /*max-width:900px;*/

                margin: 0 auto;

                font-size: 1.22rem;
                line-height: 1.9;

                color: var(--muted);
            }

            .closing-actions {
                margin-top: 3rem;

                display: flex;
                justify-content: center;
            }

            @media(max-width:700px) {

                .closing-section {
                    padding-top: 3rem;
                    padding-bottom: 5rem;
                }

                .closing-block h2 {
                    font-size: clamp(2rem, 8vw, 3.2rem);
                }

                .closing-block p {
                    font-size: 1.08rem;
                    line-height: 1.8;
                }

            }

            /* =========================================================
   FOOTER
========================================================= */

            footer {
                padding: 4rem 0 3rem;
                text-align: center;
                color: var(--muted);
            }

            /* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-media {
        display: none;
    }

    .origin-grid {
        grid-template-columns: 1fr;
    }

                .hero {
                    min-height: auto;
                    padding-top: 7rem;
                }
            }

            @media(max-width:700px) {
                .method-block {
                    padding: 2.4rem 1.7rem;
                    border-radius: 24px;
                }

                .method-body p {
                    font-size: 1.05rem;
                    line-height: 1.8;
                }

                .method-body p:last-child {
                    font-size: 1.18rem;
                }
            }

            /* =========================================================
   ACCESSIBILITY
========================================================= */

            @media (prefers-reduced-motion: reduce) {
                * {
                    animation: none !important;
                    transition: none !important;
                    scroll-behavior: auto !important;
                }

                .hero-media img {
                    opacity: 1;
                }

                .hero .eyebrow,
                .hero h1,
                .hero .hero-text,
                .hero .hero-media {
                    opacity: 1;
                    transform: none;
                }
            }
