
        :root {
            --glass-bg: linear-gradient(140deg, rgba(255, 253, 250, 0.86) 0%, rgba(252, 244, 238, 0.72) 58%, rgba(246, 227, 215, 0.78) 100%);
            --glass-border: rgba(255, 255, 255, 0.92);
            --glass-shadow: 0 18px 42px -16px rgba(61, 38, 28, 0.16), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.96);
            --dosed-glass-bg: rgba(255, 255, 255, 0.58);
            --dosed-glass-border: 1px solid rgba(255, 255, 255, 0.6);
            --dosed-glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
            --ink-contrast: #4a2a14;
            --mirror-tilt-x: 0deg;
            --mirror-tilt-y: 0deg;
            --caustic-x: 50%;
            --caustic-y: 45%;
        }

        body {
            font-family: 'Inter', system-ui, sans-serif;
            background: radial-gradient(circle at 15% 10%, #FBECE2 0%, #F3DDD0 48%, #E7CEC0 100%);
            color: #4a2a14;
            overflow-x: hidden;
        }

        /* Conteneur principal en flux normal avec gestion de la zone de sécurité bas d'écran */
        .page {
            min-height: 100dvh;
            height: auto;
            overflow: visible;
            padding-bottom: calc(24px + env(safe-area-inset-bottom));
            position: relative;
            z-index: 1;
        }

        /* Ancrage de défilement sous le header sticky */
        section[id] {
            scroll-margin-top: 90px;
        }

        /* Surfaces sans backdrop-filter : réservé exclusivement aux 3 éléments ciblés */
        .liquid-glass {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            box-shadow: var(--glass-shadow);
            position: relative;
            z-index: 1;
        }

        /* Carte jauge : 2e élément autorisé à utiliser backdrop-filter */
        .gauge-glass-card {
            background: var(--dosed-glass-bg);
            backdrop-filter: blur(14px) saturate(140%);
            -webkit-backdrop-filter: blur(14px) saturate(140%);
            border: var(--dosed-glass-border);
            box-shadow: var(--dosed-glass-shadow);
            position: relative;
            z-index: 1;
        }

        /* Surfaces de lecture et formulaire à haut contraste sans backdrop-filter */
        .liquid-surface-crisp {
            background: linear-gradient(150deg, rgba(255, 254, 252, 0.94) 0%, rgba(252, 246, 241, 0.90) 100%);
            border: 1px solid rgba(255, 255, 255, 0.95);
            box-shadow: 0 14px 32px -16px rgba(61, 38, 28, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.98);
            position: relative;
            z-index: 1;
        }

        /* Header : 1er élément autorisé à utiliser backdrop-filter, au-dessus des cartes */
        .sticky-header-shell {
            position: sticky;
            top: 0;
            z-index: 40;
        }

        .liquid-nav {
            background: rgba(255, 248, 242, 0.88);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: var(--dosed-glass-border);
            box-shadow: var(--dosed-glass-shadow);
        }

        /* Fallback opaque si backdrop-filter n'est pas supporté */
        @supports not (backdrop-filter: blur(1px)) {
            .liquid-nav,
            .gauge-glass-card,
            .cta-secondary {
                background: rgba(255, 248, 242, 0.95);
            }
        }

        /* Classe utilitaire gérant will-change: transform uniquement pendant l'animation */
        .is-animating-transform {
            will-change: transform;
        }

        /* Animations d'aurore et de lévitation organique (transform & opacity uniquement) */
        @keyframes auroraDriftA {
            0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
            50% { transform: translate3d(24px, -18px, 0) scale(1.04); }
        }

        @keyframes auroraDriftB {
            0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
            50% { transform: translate3d(-22px, 16px, 0) scale(1.04); }
        }

        @keyframes mirrorFloat {
            0%, 100% { transform: translate3d(0, 0px, 0) rotate(-0.35deg); }
            50% { transform: translate3d(0, -6px, 0) rotate(0.35deg); }
        }

        @keyframes causticFlow {
            0% {
                transform: translate3d(-14%, -10%, 0) scale(1);
                opacity: 0.45;
            }
            50% {
                transform: translate3d(14%, 10%, 0) scale(1.08);
                opacity: 0.72;
            }
            100% {
                transform: translate3d(-14%, -10%, 0) scale(1);
                opacity: 0.45;
            }
        }

        @keyframes mirrorLightSweep {
            0% {
                transform: translate3d(-145%, 0, 0) skewX(-20deg);
                opacity: 0;
            }
            20% {
                opacity: 0.65;
            }
            75% {
                opacity: 0.25;
            }
            100% {
                transform: translate3d(255%, 0, 0) skewX(-20deg);
                opacity: 0;
            }
        }

        @keyframes revelationGlowOpacity {
            0% { opacity: 0.2; transform: scale(0.98); }
            55% { opacity: 0.85; transform: scale(1.02); }
            100% { opacity: 0; transform: scale(1); }
        }

        @keyframes revealSoft {
            from {
                opacity: 0;
                transform: translate3d(0, 12px, 0);
            }
            to {
                opacity: 1;
                transform: translate3d(0, 0, 0);
            }
        }

        /* Fade-up d'entrée au chargement (600ms, cubic-bezier(.22,1,.36,1)) */
        @keyframes heroFadeUp {
            from {
                opacity: 0;
                transform: translate3d(0, 12px, 0);
            }
            to {
                opacity: 1;
                transform: translate3d(0, 0, 0);
            }
        }

        .hero-stagger {
            opacity: 0;
            transform: translate3d(0, 12px, 0);
            animation: heroFadeUp 600ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
        }

        .hero-stagger-title { animation-delay: 0ms; }
        .hero-stagger-copy { animation-delay: 80ms; }
        .hero-stagger-cta { animation-delay: 160ms; }

        /* Reflet unique sur le CTA principal après 1,2s (900ms, sans boucle) */
        @keyframes ctaOneShotGlint {
            0% {
                transform: translate3d(-120%, 0, 0) skewX(-18deg);
                opacity: 0;
            }
            20% {
                opacity: 1;
            }
            85% {
                opacity: 1;
            }
            100% {
                transform: translate3d(120%, 0, 0) skewX(-18deg);
                opacity: 0;
            }
        }

        /* Révélation des sections suivantes via IntersectionObserver (une seule fois) */
        .section-reveal-target {
            opacity: 0;
            transform: translate3d(0, 12px, 0);
            transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), opacity 600ms cubic-bezier(0.22, 1, 0.36, 1);
            min-width: 0;
        }

        .section-reveal-target.is-revealed {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }

        /* Barre de jauge animée uniquement via scaleX (transform-origin: left, 900ms) */
        .gauge-fill-scale {
            width: 100%;
            transform-origin: left center;
            transform: scaleX(0);
            transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
        }

        .aurora-orb-a { animation: auroraDriftA 14s ease-in-out infinite; }
        .aurora-orb-b { animation: auroraDriftB 17s ease-in-out infinite; }
        .mirror-float-anim { animation: mirrorFloat 6.5s ease-in-out infinite; }

        .animate-reveal-soft {
            animation: revealSoft 600ms cubic-bezier(0.22, 1, 0.36, 1) both;
        }

        /* Animations visuelles dédiées au miroir galet (transform & opacity uniquement) */
        .mirror-stage {
            perspective: 900px;
            position: relative;
            z-index: 2;
        }

        .pebble-mirror-shape {
            border-radius: 54% 46% 48% 52% / 44% 38% 62% 56%;
            background: linear-gradient(155deg, rgba(255, 245, 238, 0.94) 0%, rgba(235, 202, 181, 0.88) 52%, rgba(208, 167, 142, 0.93) 100%);
            border: 2px solid rgba(255, 250, 245, 0.95);
            box-shadow:
                0 24px 50px -16px rgba(92, 61, 46, 0.28),
                inset 0 2px 12px rgba(255, 255, 255, 0.88),
                inset 0 -8px 20px rgba(143, 91, 53, 0.16);
            transform: rotateX(var(--mirror-tilt-x)) rotateY(var(--mirror-tilt-y));
            transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
            overflow: hidden;
            position: relative;
            z-index: 2;
        }

        .pebble-mirror-shape:active {
            transform: scale(0.97) rotateX(var(--mirror-tilt-x)) rotateY(var(--mirror-tilt-y));
            transition: transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
        }

        .pebble-mirror-aura {
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: radial-gradient(circle at 50% 45%, rgba(255, 248, 238, 0.75) 0%, rgba(214, 154, 108, 0.25) 70%, transparent 100%);
            opacity: 0;
            pointer-events: none;
            z-index: 3;
        }

        .pebble-mirror-shape.mirror-revelation-pulse .pebble-mirror-aura {
            animation: revelationGlowOpacity 900ms cubic-bezier(0.22, 1, 0.36, 1);
        }

        /* Caustiques liquides mouvantes sur le verre du miroir (sans animation de blur) */
        .mirror-caustics {
            position: absolute;
            inset: -25%;
            background:
                radial-gradient(circle at var(--caustic-x) var(--caustic-y), rgba(255, 255, 255, 0.62) 0%, rgba(255, 236, 214, 0.22) 34%, transparent 62%),
                conic-gradient(from 120deg at 50% 50%, rgba(255, 255, 255, 0.24), rgba(246, 212, 188, 0.08), rgba(255, 248, 240, 0.28), rgba(255, 255, 255, 0.24));
            animation: causticFlow 9.5s ease-in-out infinite;
            pointer-events: none;
            z-index: 1;
        }

        /* Balayage lumineux diagonal traversant la gravure */
        .mirror-light-sweep {
            position: absolute;
            top: -20%;
            left: 0;
            width: 44%;
            height: 140%;
            background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
            transform: translate3d(-145%, 0, 0) skewX(-20deg);
            opacity: 0;
            pointer-events: none;
            z-index: 2;
        }

        .mirror-sweep-active .mirror-light-sweep {
            animation: mirrorLightSweep 900ms cubic-bezier(0.22, 1, 0.36, 1);
        }

        .wood-base-shape {
            background: linear-gradient(180deg, #D59B6A 0%, #B87B4B 65%, #9C6135 100%);
            border-radius: 14px;
            box-shadow: 0 14px 26px -10px rgba(78, 46, 23, 0.35), inset 0 1.5px 1px rgba(255, 234, 210, 0.6);
            position: relative;
            z-index: 3;
        }

        /* Hiérarchie des CTA demandée (mobile-first, feedback tactile :active 120ms) */
        .cta-stack {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            width: 100%;
        }

        .cta-primary {
            position: relative;
            overflow: hidden;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            width: auto;
            min-width: 200px;
            max-width: 78%;
            min-height: 50px;
            padding: 14px 34px 14px 38px;
            margin-inline: auto;
            border-radius: 999px;
            background: linear-gradient(135deg, #9a5b34, #6b3a1d);
            color: #fff;
            font-weight: 600;
            font-size: clamp(14px, 4vw, 16px);
            line-height: 1.25;
            white-space: nowrap;
            border: 1px solid rgba(255, 238, 218, 0.45);
            box-shadow: 0 12px 24px -10px rgba(107, 58, 29, 0.42);
            transition: transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
        }

        .cta-primary .cta-gem-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            line-height: 1;
            pointer-events: none;
        }

        .cta-primary::after {
            content: "";
            position: absolute;
            top: -15%;
            left: 0;
            width: 65%;
            height: 130%;
            background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
            transform: translate3d(-120%, 0, 0) skewX(-18deg);
            opacity: 0;
            pointer-events: none;
        }

        .cta-primary.glint-once::after {
            animation: ctaOneShotGlint 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
        }

        .cta-primary:active {
            transform: scale(0.97);
            transition: transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
        }

        /* CTA du formulaire : largeur contrainte à 320px max, icône en position absolute */
        .form-submit-cta {
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            max-width: 320px;
            margin-inline: auto;
            min-height: 52px;
            padding: 14px 20px 14px 38px;
            border-radius: 999px;
            background: linear-gradient(135deg, #9a5b34, #6b3a1d);
            color: #fff;
            font-weight: 600;
            font-size: 15px;
            line-height: 1.3;
            white-space: normal;
            text-wrap: balance;
            text-align: center;
            border: 1px solid rgba(255, 238, 218, 0.45);
            box-shadow: 0 12px 24px -10px rgba(107, 58, 29, 0.42);
            transition: transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
        }

        .form-submit-cta .form-cta-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            line-height: 1;
            pointer-events: none;
        }

        .form-submit-cta:active {
            transform: scale(0.97);
            transition: transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
        }

        /* Segmented control pilule compact Ancrage / Déclaration */
        .edition-segmented {
            display: inline-flex;
            align-items: center;
            padding: 3px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.72);
            border: 1px solid rgba(107, 58, 29, 0.22);
            gap: 2px;
            max-width: 100%;
        }

        .edition-segment-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            min-height: 36px;
            padding: 7px 12px;
            border-radius: 999px;
            background: transparent;
            color: #4a2a14;
            font-size: 12.5px;
            font-weight: 600;
            line-height: 1.15;
            white-space: nowrap;
            transition: transform 120ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
        }

        .edition-segment-btn.is-active {
            background: linear-gradient(135deg, #9a5b34, #6b3a1d);
            color: #ffffff;
        }

        .edition-segment-btn:active {
            transform: scale(0.97);
        }

        /* Choix de réponse du quiz : texte complet sans troncature */
        .quiz-option-btn {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
            min-height: 56px;
            padding: 14px 16px;
            border-radius: 16px;
            border: 1px solid rgba(107, 58, 29, 0.25);
            background: rgba(255, 255, 255, 0.7);
            color: #4a2a14;
            font-weight: 500;
            text-align: left;
            white-space: normal;
            overflow: visible;
            text-overflow: clip;
            transition: transform 120ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
        }

        .quiz-option-btn .quiz-option-text {
            flex: 1;
            min-width: 0;
            line-height: 1.35;
            font-size: 15px;
            white-space: normal;
            overflow: visible;
            text-overflow: clip;
            color: #4a2a14;
        }

        .quiz-option-btn.is-selected,
        .quiz-option-btn:active {
            border-color: #6b3a1d;
            background: rgba(154, 91, 52, 0.12);
        }

        .quiz-option-btn:active {
            transform: scale(0.97);
        }

        /* Champ phrase gravée en textarea 2 lignes non redimensionnable et lecture seule */
        .engraved-phrase-field {
            width: 100%;
            padding: 12px 14px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.85);
            border: 1px solid rgba(107, 58, 29, 0.22);
            color: #4a2a14;
            font-size: 14px;
            line-height: 1.4;
            resize: none;
            white-space: normal;
            overflow: visible;
        }

        .cta-secondary:active {
            transform: scale(0.97);
            transition: transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
        }

        @media (min-width: 480px) {
            .cta-primary {
                max-width: 300px;
                font-size: 16px;
                padding: 14px 26px 14px 36px;
            }

            .cta-secondary {
                max-width: 260px;
            }
        }

        .header-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            min-height: 44px;
            padding: 12px 16px;
            background: transparent;
            color: #4a2a14;
            font-weight: 600;
            font-size: 0.875rem;
            line-height: 1.2;
            border-radius: 999px;
            white-space: nowrap;
            transition: transform 120ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
        }

        .header-cta:active {
            transform: scale(0.97);
            transition: transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
        }

        /* Pastilles et actions compactes (sans backdrop-filter) */
        .gem-cta-compact, .gem-chip {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.45rem;
            width: fit-content;
            max-width: max-content;
            min-height: 44px;
            border-radius: 9999px;
            font-weight: 600;
            line-height: 1.2;
            letter-spacing: -0.01em;
            position: relative;
            overflow: hidden;
            white-space: nowrap;
            transition: transform 120ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
        }

        .gem-cta-compact:active, .gem-chip:active {
            transform: scale(0.97);
            transition: transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
        }

        .gem-cta-compact {
            min-height: 44px;
            padding: 12px 16px;
            font-size: 0.8125rem;
            background: linear-gradient(145deg, rgba(255, 254, 252, 0.92) 0%, rgba(246, 227, 215, 0.76) 100%);
            color: #4a2a14;
            border: 1px solid rgba(255, 255, 255, 0.94);
        }

        .gem-chip {
            min-height: 44px;
            padding: 10px 16px;
            font-size: 0.8125rem;
            background: rgba(255, 253, 250, 0.86);
            color: #4a2a14;
            border: 1px solid rgba(255, 255, 255, 0.92);
        }

        .gem-chip-active {
            background: linear-gradient(135deg, #9a5b34, #6b3a1d);
            color: #FFFFFF;
            border-color: rgba(255, 236, 214, 0.75);
        }

        .editable-active {
            outline: 2px dashed rgba(107, 58, 29, 0.75);
            outline-offset: 4px;
            border-radius: 8px;
            cursor: text;
        }

        /* Accessibilité : réduction de mouvement demandée */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
            .hero-stagger,
            .section-reveal-target {
                opacity: 1 !important;
                transform: none !important;
            }
            .pebble-mirror-shape {
                transform: none !important;
            }
        }
    
        .hidden {display:none!important}
        .section-reveal-target {opacity:1;transform:none}
        .cta-secondary {display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:260px;min-height:48px;padding:12px 20px;border-radius:999px;background:#fff8f2;border:1px solid #b88f76;color:#4a2a14;font-size:14px;font-weight:600;text-align:center;white-space:normal}
        .cta-primary {min-width:0;max-width:100%;white-space:normal;text-align:center;text-wrap:balance}
        input,textarea {font-size:16px!important;box-sizing:border-box}
        textarea {min-height:5em;overflow:auto!important}
        :focus-visible {outline:2px solid #6b3a1d!important;outline-offset:3px}
        button:disabled {opacity:.55;cursor:not-allowed}
        .motion-paused,.motion-paused * {animation-play-state:paused!important}
        @media(max-width:360px){.pebble-mirror-shape{max-width:100%}.header-cta{padding:8px;font-size:12px}.edition-segment-btn{padding:7px 8px}.liquid-nav{gap:4px}}
        @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
    
/* Independent header modules */
.header-layout{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;max-width:72rem;margin:auto}.brand-module,.offer-module{display:flex;align-items:center;width:max-content;max-width:100%;border-radius:999px;padding:6px 12px}.brand-module{justify-self:start}.offer-module{justify-self:end;background:#8f5b35;color:white;border:1px solid #8f5b35}.offer-module .header-cta{color:white;padding:8px 12px;white-space:normal;text-align:center}.navigation-module{justify-self:center;padding:8px 20px;border-radius:999px}.header-layout .header-cta{min-height:44px}@media(max-width:767px){.header-layout{grid-template-columns:minmax(0,1fr) auto;gap:8px}.navigation-module{display:none}.brand-module,.offer-module{padding:4px 8px}.offer-module .header-cta{font-size:12px;padding:6px 8px}.brand-module{min-width:0}}