/* =========================================================
   WINGOLD — accueil v3 « la salle des coffres »
   Se charge après style.css et vitrine.css.
   0. Thème qui fond du noir à l'ivoire    6. Étapes empilées + démonstrations
   1. Base, boutons, libellés              7. Salle des coffres
   2. Ouverture (portes de coffre)         8. Manifeste, FAQ
   3. Menu                                 9. Grand décompte, pied de page
   4. Héros : habillage cinéma            10. Curseur, grain
   5. Principe, bandeau, vitrine          11. Petits écrans
   12. Coupons (lots, héros, décompte)    13. Participation validée
   14. Page concours
   ========================================================= */

/* ---------- 0. THÈME ---------- */
/* Couleurs déclarées comme « vraies » couleurs : elles peuvent fondre de l'une à l'autre */
@property --bg      { syntax: "<color>"; inherits: true; initial-value: #000000; }
@property --fg      { syntax: "<color>"; inherits: true; initial-value: #f3ece0; }
@property --fg-soft { syntax: "<color>"; inherits: true; initial-value: #cfc6b6; }
@property --muted   { syntax: "<color>"; inherits: true; initial-value: #8c8475; }
@property --accent  { syntax: "<color>"; inherits: true; initial-value: #d4af6a; }
@property --line    { syntax: "<color>"; inherits: true; initial-value: rgba(243, 236, 224, 0.14); }

:root {
  --gold: #d4af6a; --gold-hi: #f4dfa8; --gold-lo: #a8833f; --on-gold: #17120c;
  --gold-grad: linear-gradient(160deg, #f4dfa8, #d4af6a 46%, #a8833f);
  --nav-h: 76px;
  --maxw: 1440px;
  --io: cubic-bezier(.76, 0, .24, 1);
}
body {
  background: var(--bg); color: var(--fg);
  transition: --bg .8s var(--ease), --fg .8s var(--ease), --fg-soft .8s var(--ease), --muted .8s var(--ease), --accent .8s var(--ease), --line .8s var(--ease);
}
body[data-theme="warm"]  { --bg: #120e0a; }
body[data-theme="light"], body[data-theme="paper"] {
  --bg: #f3ece0; --fg: #17120c; --fg-soft: #4a4136; --muted: #7d7263; --accent: #9a7333; --line: rgba(23, 18, 12, .15);
}
body[data-theme="paper"] { --bg: #ebe2d3; }

/* Îlots à couleurs fixes, quel que soit le thème de la page */
.h3d, .v-vit, .v-vault__content, .v-menu, .is-dark, .is-black, .agegate, .pre {
  --bg: #000000; --fg: #f3ece0; --fg-soft: #cfc6b6; --muted: #8c8475; --accent: #d4af6a; --line: rgba(243, 236, 224, .14);
  color: var(--fg);
}

/* L'or garde son écrin : la vitrine reste noire quel que soit le thème voisin */
.v-vit { background: #000; }

/* ---------- 1. BASE ---------- */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; } /* la bibliothèque gère elle-même le défilement vers les ancres */
.lenis.lenis-stopped { overflow: clip; }
::selection { background: var(--gold); color: var(--on-gold); }

.skip { position: absolute; left: -999px; top: 12px; z-index: 300; padding: 12px 18px; background: var(--gold); color: var(--on-gold); border-radius: 4px; font-weight: 700; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.v-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* Libellé : petit lingot en tête */
.v-label {
  display: flex; align-items: center; gap: 12px; margin: 0;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; color: var(--accent);
}
.v-label::before { content: ""; flex: none; width: 18px; height: 8px; border-radius: 1.5px; background: var(--gold-grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .22); }
.v-label.reveal { letter-spacing: .6em; }
.v-label.reveal.is-shown { letter-spacing: .24em; }

.v-h2 { font-size: clamp(40px, 4.6vw, 84px); line-height: .9; letter-spacing: -.02em; }
.v-h2--m { font-size: clamp(36px, 3.7vw, 66px); }
/* les capitales accentuées (À, É) ne sont plus rognées par le masque des lignes */
.ml-reveal .ml-line { padding-top: .16em; margin-top: -.16em; }

.v-lede { font-size: clamp(16px, 1.3vw, 19px); color: var(--fg-soft); max-width: 40ch; }

.v-link {
  display: inline-flex; align-items: center; gap: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; color: var(--fg);
  transition: border-color .5s var(--ease), color .5s var(--ease);
}
.v-link::after { content: ""; width: 22px; height: 1px; background: currentColor; transition: width .6s var(--ease); }
.v-link:hover { border-color: var(--accent); color: var(--accent); }
.v-link:hover::after { width: 38px; }

/* Boutons « lingot » : or plein, reflet qui glisse au survol */
.btn {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 4px;
  color: var(--on-gold); background-color: var(--gold); border-color: #c9a25c;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 52%, rgba(0, 0, 0, .08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .2), 0 14px 34px -18px rgba(212, 175, 106, .7);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, color .4s;
}
.btn::after {
  content: ""; position: absolute; z-index: -1; top: -30%; bottom: -30%; left: -75%; width: 45%; transform: skewX(-20deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); transition: left .95s var(--ease);
}
.btn:hover { color: var(--on-gold); background-color: var(--gold);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 52%, rgba(0, 0, 0, .06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 0, 0, .2), 0 20px 44px -16px rgba(212, 175, 106, .85); }
.btn:hover::after { left: 135%; }
.btn--ghost, .btn--ghost:hover { background: transparent; color: var(--fg); border-color: var(--line); box-shadow: none; }
.btn--ghost::after { display: none; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.v-btn-xl { padding: 24px 46px; font-size: 14px; }

/* ---------- 2. OUVERTURE ---------- */
.pre { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; animation: pre-fail .01s 7s forwards; }
.pre.pre--js { animation: none; }
@keyframes pre-fail { to { visibility: hidden; } }
.pre__door { position: absolute; top: 0; bottom: 0; width: 50.2%; background: #000; transition: transform 1.3s var(--io); }
.pre__door--l { left: 0; } .pre__door--r { right: 0; }
.pre__door--l::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(rgba(212, 175, 106, 0), var(--gold) 30%, var(--gold-hi) 50%, var(--gold) 70%, rgba(212, 175, 106, 0)); transform: scaleY(0); transition: transform .55s var(--ease); }
.pre.is-seam .pre__door--l::after { transform: scaleY(1); }
.pre.is-open .pre__door--l { transform: translateX(-101%); }
.pre.is-open .pre__door--r { transform: translateX(101%); }
.pre__core { position: relative; display: grid; justify-items: center; gap: 20px; transition: opacity .4s, transform .7s var(--ease); }
html.wg-gate .pre__core { opacity: 0; }
.pre.is-seam .pre__core { opacity: 0; transform: scale(.94); }
.pre__logo { width: clamp(76px, 9vw, 120px); stroke: var(--gold); stroke-width: 3; stroke-linejoin: round; overflow: visible; }
.pre__logo path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pre.is-run .pre__logo path { animation: pre-draw 1.5s var(--ease) forwards; }
.pre.is-run .pre__logo path + path { animation-delay: .22s; }
@keyframes pre-draw { to { stroke-dashoffset: 0; } }
.pre__num { font-weight: 900; font-stretch: 62%; font-size: clamp(72px, 8vw, 124px); line-height: .82; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--fg); }
.pre__label { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; color: var(--muted); }

/* ---------- 3. MENU ---------- */
body .nav {
  color: var(--fg); padding: 18px var(--pad);
  transition: opacity 1s var(--ease), transform .7s var(--ease), background .5s, padding .5s var(--ease), border-color .5s,
    --fg .5s, --fg-soft .5s, --bg .5s, --line .5s;
}
.nav[data-theme="dark"], .nav[data-theme="warm"], html.menu-open .nav { --bg: #000000; --fg: #f3ece0; --fg-soft: #cfc6b6; --line: rgba(243, 236, 224, .14); }
.nav[data-theme="warm"] { --bg: #120e0a; }
.nav[data-theme="light"], .nav[data-theme="paper"] { --bg: #f3ece0; --fg: #17120c; --fg-soft: #4a4136; --line: rgba(23, 18, 12, .15); }
.nav[data-theme="paper"] { --bg: #ebe2d3; }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 74%, transparent); border-bottom-color: var(--line); padding-top: 12px; padding-bottom: 12px; }
html.menu-open .nav.is-scrolled { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
body .nav.nav--hide { transform: translateY(-105%); }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; letter-spacing: .24em; }
.nav__mark { width: 28px; height: 25px; fill: var(--gold); flex: none; }
.nav__links { color: var(--fg-soft); }
.nav__links a { transition: color .4s; }
.nav__links a:hover { color: var(--fg); }
.nav__links a::after { background: var(--gold); }
.nav__cta { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .2); }
.nav__burger { display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--fg); cursor: pointer; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 25px; }
html.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
html.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1180px) { .nav__burger { display: inline-block; } }

.v-menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 6vh) var(--pad) 34px; background: #000; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .9s var(--io), visibility 0s .9s;
}
html.menu-open .v-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--io), visibility 0s; }
.v-menu__list { list-style: none; margin: 0; padding: 0; }
.v-menu__list li { border-bottom: 1px solid var(--line); overflow: hidden; }
.v-menu__list a { display: flex; align-items: baseline; gap: 18px; padding: clamp(14px, 2.6vh, 24px) 0; transform: translateY(110%); transition: transform .9s var(--ease), color .4s; }
html.menu-open .v-menu__list a { transform: none; }
html.menu-open .v-menu__list li:nth-child(1) a { transition-delay: .18s, 0s; }
html.menu-open .v-menu__list li:nth-child(2) a { transition-delay: .25s, 0s; }
html.menu-open .v-menu__list li:nth-child(3) a { transition-delay: .32s, 0s; }
html.menu-open .v-menu__list li:nth-child(4) a { transition-delay: .39s, 0s; }
.v-menu__list i { font-style: normal; font-size: 11px; letter-spacing: .2em; font-weight: 700; color: var(--gold); min-width: 30px; }
.v-menu__list span { font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: clamp(30px, 8vw, 84px); line-height: 1; letter-spacing: -.02em; }
.v-menu__list a:hover { color: var(--gold); }
.v-menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 40px; font-size: 12px; color: var(--muted); }

/* ---------- 4. HÉROS : HABILLAGE ---------- */
.h3d__stage .scrub__scrim { background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, .5) 32%, rgba(0, 0, 0, 0) 62%); }
.h3d .scrub__beat { max-width: min(780px, 60vw); bottom: clamp(56px, 11vh, 120px); }
.h3d .scrub__eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; font-stretch: 112%; }
.h3d .scrub__eyebrow::before { content: ""; width: 18px; height: 8px; border-radius: 1.5px; background: var(--gold-grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); }
.h3d .scrub__title { font-size: clamp(52px, 5.6vw, 96px); line-height: .9; letter-spacing: -.02em; }
.h3d .scrub__beat-title { font-size: clamp(34px, 4.2vw, 72px); line-height: .94; letter-spacing: -.015em; }
.h3d .scrub__tagline, .h3d .scrub__beat-copy { max-width: 36ch; }
.h3d .scrub__cue { right: calc(var(--pad) + 30px); bottom: 34px; font-weight: 700; font-stretch: 112%; font-size: 10px; }

.hud { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease) .5s; }
html.v3-open .hud { opacity: 1; }
.hud__c { position: absolute; width: 16px; height: 16px; border: 0 solid rgba(243, 236, 224, .32); }
.hud__c--tl { top: 82px; left: calc(var(--pad) - 12px); border-top-width: 1px; border-left-width: 1px; }
.hud__c--tr { top: 82px; right: calc(var(--pad) - 12px); border-top-width: 1px; border-right-width: 1px; }
.hud__c--bl { bottom: 22px; left: calc(var(--pad) - 12px); border-bottom-width: 1px; border-left-width: 1px; }
.hud__c--br { bottom: 22px; right: calc(var(--pad) - 12px); border-bottom-width: 1px; border-right-width: 1px; }
.hud__rail { position: absolute; right: var(--pad); top: 50%; width: 1px; height: min(42vh, 340px); transform: translateY(-50%); background: rgba(243, 236, 224, .16); }
.hud__fill { position: absolute; inset: 0; background: var(--gold); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
.hud__step {
  position: absolute; right: 16px; top: calc(var(--at) * 100%); transform: translateY(-50%); white-space: nowrap;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; color: rgba(243, 236, 224, .34); transition: color .6s var(--ease);
}
.hud__step::after { content: ""; position: absolute; right: -20px; top: 50%; width: 9px; height: 1px; background: currentColor; }
.hud__step.is-on { color: var(--gold); }
.hud__serial { position: absolute; top: 98px; right: calc(var(--pad) + 8px); display: grid; gap: 5px; justify-items: end; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; color: rgba(243, 236, 224, .42); font-variant-numeric: tabular-nums; }
.hud__serial span:first-child { color: var(--gold); }

/* ---------- 5. PRINCIPE, BANDEAU, VITRINE ---------- */
.v-state { padding: clamp(110px, 20vh, 240px) 0 clamp(90px, 15vh, 190px); }
.v-state__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); gap: 28px clamp(24px, 4vw, 64px); align-items: start; }
.v-state__grid .v-label { padding-top: .9em; }
.v-state__text { grid-column: 2; font-weight: 800; font-stretch: 106%; font-size: clamp(28px, 3vw, 50px); line-height: 1.08; letter-spacing: -.024em; max-width: 21em; }
.v-state__foot { grid-column: 2; margin-top: clamp(14px, 3vh, 34px); }
[data-fill] .w { opacity: .13; }

.v-marquee { overflow: hidden; padding: clamp(40px, 8vh, 100px) 0 clamp(26px, 5vh, 60px); }
.v-marquee__track { display: flex; align-items: center; gap: clamp(26px, 4vw, 70px); width: max-content; will-change: transform; }
.v-marquee span { font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: clamp(56px, 7vw, 120px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; color: var(--fg); }
.v-marquee span.is-line { color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.v-marquee i { flex: none; width: clamp(44px, 6vw, 100px); height: clamp(20px, 2.7vw, 44px); border-radius: 4px; background: var(--gold-grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(0, 0, 0, .25); transform: skewX(-14deg); }

/* Vitrine — par défaut (téléphone) : les lots s'enchaînent en colonne */
.v-vit__track { display: flex; flex-direction: column; gap: clamp(70px, 11vh, 120px); padding: clamp(30px, 6vh, 70px) var(--pad) clamp(80px, 12vh, 140px); }
.v-vit__hint { display: flex; align-items: center; gap: 16px; margin-top: clamp(22px, 4vh, 44px); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; color: var(--muted); }
.v-vit__hint b { position: relative; width: 70px; height: 1px; background: var(--line); overflow: hidden; }
.v-vit__hint b::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: cue 2.4s var(--ease) infinite; }
.v-vit__intro .v-h2 { margin-top: 26px; }
.v-vit__bar { display: none; }

.v-lot { position: relative; display: grid; gap: 26px; }
.v-lot__stage { position: relative; display: block; aspect-ratio: 16 / 11; perspective: 1400px; }
.v-lot__word {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; transform: translate3d(var(--wx, 0px), 0, 0); pointer-events: none; white-space: nowrap;
  font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(150px, 52vw, 560px); line-height: .8; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(212, 175, 106, .42);
}
.v-lot__glow { position: absolute; left: 14%; right: 14%; bottom: 2%; height: 30%; background: radial-gradient(50% 50% at 50% 50%, rgba(212, 175, 106, .34), rgba(212, 175, 106, 0) 70%); filter: blur(22px); opacity: .7; transition: opacity 1s var(--ease); }
.v-lot__stage:hover .v-lot__glow { opacity: 1; }
.v-lot__img { position: absolute; inset: 0; display: block; mix-blend-mode: lighten; transition: transform .9s var(--ease); will-change: transform; }
.v-lot__img img {
  width: 100%; height: 100%; object-fit: cover; animation: vit-float 7s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(ellipse 60% 58% at 50% 54%, #000 24%, rgba(0, 0, 0, .5) 52%, transparent 76%);
          mask-image: radial-gradient(ellipse 60% 58% at 50% 54%, #000 24%, rgba(0, 0, 0, .5) 52%, transparent 76%);
}
.v-lot__stage--float .v-lot__img img { -webkit-mask-image: none; mask-image: none; }
.v-lot:nth-of-type(2) .v-lot__img img { animation-delay: -2.4s; }
.v-lot:nth-of-type(3) .v-lot__img img { animation-delay: -4.6s; }
.v-lot__idx { position: absolute; left: 0; top: 0; font-size: 11px; letter-spacing: .22em; font-weight: 700; font-stretch: 112%; color: var(--gold); }
.v-lot__idx::after { content: ""; display: inline-block; vertical-align: middle; width: 34px; height: 1px; margin-left: 12px; background: var(--line); }

.v-lot__body { position: relative; z-index: 2; }
.v-lot__name { font-size: clamp(26px, 2.5vw, 40px); line-height: .96; margin: 16px 0 10px; }
.v-lot__spec { color: var(--muted); font-size: 13px; }
.v-lot__alt { margin-top: 6px; font-size: 13px; color: var(--fg-soft); }
.v-lot .vit-gauge { margin-top: clamp(14px, 2.4vh, 22px); }
.v-lot .vit-gauge { height: 4px; border-radius: 2px; }
.v-lot .vit-gauge__bar { border-radius: 2px; }
.v-lot__cd.countdown { margin: clamp(14px, 2.4vh, 22px) 0 0; max-width: none; }
.v-lot__cd.countdown div { padding: 10px 0 10px 14px; }
.v-lot__cd.countdown div:first-child { padding-left: 0; }
.v-lot__odds { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.v-lot__odds strong { color: var(--fg); font-weight: 600; }

/* Vitrine — grand écran : épinglée, les lots glissent à l'horizontale */
html.v-pin .v-vit__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
html.v-pin .v-vit__track { flex-direction: row; gap: 0; padding: 0; height: 100%; width: max-content; will-change: transform; }
html.v-pin .v-vit__intro { flex: none; width: 44vw; padding: 0 4vw 4vh var(--pad); display: flex; flex-direction: column; justify-content: center; }
html.v-pin .v-vit__intro .v-h2 { font-size: clamp(40px, 4.6vw, 84px); }
html.v-pin .v-lot {
  flex: none; width: 84vw; height: 100%; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .95fr); align-items: center;
  gap: clamp(28px, 4vw, 72px); padding: calc(var(--nav-h) + 8px) clamp(28px, 4vw, 72px) 66px; border-left: 1px solid var(--line);
}
html.v-pin .v-lot__stage { aspect-ratio: auto; height: min(66vh, 720px); }
html.v-pin .v-lot__word { font-size: min(48vh, 30vw); }
html.v-pin .v-vit__bar {
  display: flex; align-items: center; gap: 18px; position: absolute; left: var(--pad); right: var(--pad); bottom: 24px;
  font-size: 11px; letter-spacing: .2em; font-weight: 700; font-stretch: 112%; color: var(--muted); font-variant-numeric: tabular-nums;
}
.v-vit__count b { color: var(--gold); font-weight: 700; }
.v-vit__line { position: relative; flex: 1; height: 1px; background: var(--line); }
.v-vit__line i { position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
/* Téléphone et tablette : même défilement horizontal, chaque lot tient dans la hauteur de l'écran */
@media (max-width: 999px) {
  html.v-pin .v-vit__pin { height: 100svh; }
  html.v-pin .v-vit__intro { width: 84vw; padding: 0 6vw 5vh var(--pad); }
  html.v-pin .v-vit__intro .v-h2 { font-size: clamp(28px, 8.6vw, 40px); }
  html.v-pin .v-lot { display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: 88vw; padding: calc(var(--nav-h) + 4px) 16px 44px 18px; }
  html.v-pin .v-lot__stage { flex: 1 1 0; min-height: 96px; height: auto; }
  html.v-pin .v-lot__word { font-size: min(30svh, 44vw); }
  html.v-pin .v-lot__body { flex: none; }
  html.v-pin .v-lot__odds { display: none; }
  html.v-pin .v-lot__name { font-size: clamp(22px, 6.2vw, 30px); margin: 8px 0 4px; }
  html.v-pin .v-lot__spec { font-size: 12px; }
  html.v-pin .v-lot__alt { margin-top: 3px; font-size: 12px; }
  html.v-pin .coupon__main { padding: 13px 16px 12px; }
  html.v-pin .coupon__head { margin-bottom: 8px; font-size: 9px; letter-spacing: .16em; }
  html.v-pin .v-lot .vit-gauge { margin-top: 10px; }
  html.v-pin .v-lot .vit-gauge__label { margin-top: 6px; font-size: 12px; }
  html.v-pin .v-lot__cd.countdown { margin-top: 6px; }
  html.v-pin .v-lot__cd.countdown div { padding: 6px 0 6px 10px; }
  html.v-pin .v-lot__cd.countdown div:first-child { padding-left: 0; }
  html.v-pin .v-lot__cd.countdown strong { font-size: 22px !important; }
  html.v-pin .coupon__stub { padding: 10px 16px 12px; }
  html.v-pin .coupon__price strong { font-size: 34px; }
  html.v-pin .v-vit__bar { left: 18px; right: 18px; bottom: 14px; }
}
@media (max-width: 999px) and (max-height: 700px) {
  html.v-pin .v-lot__spec, html.v-pin .v-lot__alt { display: none; }
}
@media (max-height: 760px) {
  html.v-pin .v-lot__name { font-size: clamp(22px, 2.2vw, 34px); margin: 10px 0 6px; }
  html.v-pin .v-lot__odds { display: none; }
}

/* ---------- 6. ÉTAPES EMPILÉES ---------- */
.v-steps { padding: clamp(100px, 16vh, 200px) 0 clamp(60px, 9vh, 120px); }
.v-steps__head { display: grid; gap: clamp(24px, 4vh, 44px); margin-bottom: clamp(50px, 9vh, 110px); }
.v-steps__head .v-lede { justify-self: end; }
.v-steps__head .v-h2 { margin-top: 26px; }
.v-steps__list { list-style: none; margin: 0; padding: 0; }
.v-step {
  --card: #fbf8f2; --fg: #17120c; --fg-soft: #4a4136; --muted: #7d7263; --accent: #9a7333; --line: rgba(23, 18, 12, .13); --fx: rgba(23, 18, 12, .05);
  position: sticky; top: calc(var(--nav-h) + 12px + var(--i) * 18px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(22px, 4vw, 70px);
  min-height: clamp(380px, 60vh, 580px); padding: clamp(22px, 3vw, 48px); margin-bottom: clamp(24px, 6vh, 70px);
  border-radius: 6px; background: var(--card); color: var(--fg);
  box-shadow: 0 -22px 44px -34px rgba(40, 26, 8, .6), 0 34px 60px -44px rgba(40, 26, 8, .5);
  transform-origin: 50% 0; will-change: transform;
}
.v-step.is-dark, .v-step.is-black { --fg: #f3ece0; --fg-soft: #cfc6b6; --muted: #8c8475; --accent: #d4af6a; --line: rgba(243, 236, 224, .14); --fx: rgba(243, 236, 224, .05); }
.v-step.is-dark  { --card: #17120c; }
.v-step.is-black { --card: #050403; }
.v-step::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #120e0a; opacity: var(--dim, 0); pointer-events: none; }
.v-steps__list.is-flat .v-step { position: relative; top: 0; } /* posé par v3.js si une plaque dépasse la hauteur de l'écran */
.v-step__txt { display: flex; flex-direction: column; }
.v-step__n {
  font-weight: 900; font-stretch: 62%; font-size: clamp(76px, 6.5vw, 110px); line-height: .8; letter-spacing: -.02em; margin-bottom: auto; padding-bottom: 28px;
  background: linear-gradient(170deg, #f4dfa8 6%, #d4af6a 46%, #a8833f 94%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.v-step h3 { font-size: clamp(26px, 2.3vw, 36px); line-height: .96; letter-spacing: -.015em; }
.v-step p { margin-top: 16px; color: var(--fg-soft); max-width: 38ch; }
.v-step__fx { position: relative; display: grid; place-items: center; min-height: 250px; border-radius: 4px; background: var(--fx); overflow: hidden; }

/* 01 — les lots */
.fx-lots { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 30px); padding: 34px 20px 46px; }
.fx-bar, .fx-coin { position: relative; display: grid; place-items: center; color: #2a1f0c; animation: fx-pick 6s var(--ease) infinite; }
.fx-bar { border-radius: 5px; background: var(--gold-grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -3px 0 rgba(0, 0, 0, .22), 0 26px 30px -18px rgba(90, 60, 10, .6); }
.fx-bar::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(42, 31, 12, .24); border-radius: 3px; }
.fx-bar b, .fx-coin b { font-weight: 900; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; text-shadow: 0 1px 0 rgba(255, 255, 255, .45); }
.fx-bar--s { width: clamp(86px, 9vw, 132px); aspect-ratio: 1.7; } .fx-bar--s b { font-size: clamp(15px, 1.5vw, 21px); }
.fx-bar--l { width: clamp(132px, 15vw, 226px); aspect-ratio: 1.75; animation-delay: 2s; } .fx-bar--l b { font-size: clamp(24px, 2.6vw, 38px); }
.fx-coin { width: clamp(84px, 9vw, 128px); aspect-ratio: 1; border-radius: 50%; animation-delay: 4s;
  background: radial-gradient(circle at 34% 28%, #f8e6b4, #d4af6a 56%, #a07a35);
  box-shadow: inset 0 0 0 5px rgba(160, 122, 53, .55), inset 0 0 0 6px rgba(255, 255, 255, .28), 0 26px 30px -18px rgba(90, 60, 10, .6); }
.fx-coin b { font-size: clamp(15px, 1.5vw, 21px); }
.fx-bar::after, .fx-coin::after { content: ""; position: absolute; left: 50%; bottom: -18px; width: 22px; height: 2px; margin-left: -11px; background: #9a7333; transform: scaleX(0); animation: fx-tick 6s var(--ease) infinite; animation-delay: inherit; }
@keyframes fx-pick { 0%, 30%, 100% { transform: translateY(0); filter: saturate(.7) brightness(.93); } 6%, 24% { transform: translateY(-16px); filter: none; } }
@keyframes fx-tick { 0%, 30%, 100% { transform: scaleX(0); } 6%, 24% { transform: scaleX(1); } }

/* 02 — la question chronométrée */
.fx-quiz { grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 2.4vw, 36px); align-items: center; padding: clamp(18px, 2.4vw, 34px); }
.fx-quiz__clock { position: relative; width: clamp(104px, 12vw, 172px); aspect-ratio: 1; }
.fx-quiz__clock svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fx-quiz__clock circle { fill: none; stroke: rgba(243, 236, 224, .12); stroke-width: 3; }
.fx-quiz__clock .fx-quiz__ring { stroke: var(--gold); stroke-dasharray: 1; stroke-dashoffset: var(--o, 0); }
.fx-quiz__clock strong { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; font-stretch: 62%; font-size: clamp(46px, 4.2vw, 64px); line-height: 1; font-variant-numeric: tabular-nums; color: var(--gold); }
.fx-quiz__q p { margin: 0 0 12px; max-width: none; color: var(--fg); font-weight: 800; font-stretch: 108%; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.2; }
.fx-quiz__q span { display: block; padding: 10px 14px; margin-bottom: 7px; border: 1px solid var(--line); border-radius: 4px; font-size: 13.5px; color: var(--fg-soft); transition: border-color .35s, background .35s, color .35s, opacity .35s; }
.fx-quiz.is-done .fx-quiz__q span { opacity: .45; }
.fx-quiz__q span.is-picked { opacity: 1 !important; border-color: var(--gold); background: rgba(212, 175, 106, .12); color: var(--fg); }
.fx-quiz__q em { display: block; min-height: 1.5em; font-style: normal; font-size: 12px; color: var(--muted); }

/* 03 — le ticket doré */
.fx-ticket { perspective: 1000px; padding: 30px 20px; filter: drop-shadow(0 34px 34px rgba(80, 54, 12, .34)); }
.tk {
  --sx: 30%; position: relative; display: grid; grid-template-columns: 1fr 26%; width: min(400px, 92%); aspect-ratio: 2.05; color: #2a1f0c;
  border-radius: 8px; background: linear-gradient(128deg, #f7e6b6, #d9b66f 36%, #b48a42 64%, #ecd398);
  -webkit-mask: radial-gradient(circle 11px at 74% 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at 74% 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 11px at 74% 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at 74% 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  transform-style: preserve-3d; animation: tk-sway 7s ease-in-out infinite; transition: transform .5s var(--ease); will-change: transform;
}
.tk.is-hold { animation: none; }
.tk::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: soft-light;
  background: repeating-radial-gradient(circle at 18% 120%, rgba(42, 31, 12, .5) 0 1px, transparent 1px 7px), repeating-radial-gradient(circle at 96% -30%, rgba(255, 255, 255, .6) 0 1px, transparent 1px 9px); }
.tk::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(105deg, transparent calc(var(--sx) - 24%), rgba(255, 255, 255, .95) var(--sx), transparent calc(var(--sx) + 24%)); }
.tk__main { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 7% 7% 6.5%; }
.tk__row { display: flex; justify-content: space-between; gap: 8px; font-size: clamp(8px, .78vw, 10.5px); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; white-space: nowrap; }
.tk__row b { font-variant-numeric: tabular-nums; }
.tk__title { font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 38px); line-height: .9; letter-spacing: -.02em; text-shadow: 0 1px 0 rgba(255, 255, 255, .4); }
.tk__stub { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 11% 0 9%; border-left: 1.5px dashed rgba(42, 31, 12, .45); }
.tk__stub span { writing-mode: vertical-rl; rotate: 180deg; font-size: clamp(8px, .78vw, 10.5px); letter-spacing: .3em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; }
.tk__stub i { width: 60%; height: 26%; margin-top: auto; background: repeating-linear-gradient(90deg, #2a1f0c 0 2px, transparent 2px 4px, #2a1f0c 4px 5px, transparent 5px 8px, #2a1f0c 8px 11px, transparent 11px 13px); opacity: .8; }
.tk__stub em { font-style: normal; font-size: clamp(7px, .72vw, 9.5px); letter-spacing: .1em; font-weight: 700; font-stretch: 112%; white-space: nowrap; font-variant-numeric: tabular-nums; }
@keyframes tk-sway { 0%, 100% { transform: rotateY(-13deg) rotateX(6deg) rotateZ(-4deg); --sx: 12%; } 50% { transform: rotateY(13deg) rotateX(-3deg) rotateZ(-2deg); --sx: 88%; } }
@property --sx { syntax: "<percentage>"; inherits: true; initial-value: 30%; }

/* 04 — le tirage en direct */
.fx-draw { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 28px 16px; }
.fx-draw__live { display: inline-flex; align-items: center; gap: 8px; height: 24px; padding: 0 10px; border-radius: 3px; background: rgb(206, 64, 48); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(0, 0, 0, .2); }
.fx-draw__live i { width: 6px; height: 6px; border-radius: 1px; background: currentColor; animation: vit-pulse 1.6s ease-in-out infinite; }
.fx-draw__nums { display: flex; gap: clamp(4px, .5vw, 8px); font-weight: 900; font-stretch: 62%; font-size: clamp(64px, 6vw, 96px); line-height: 1; font-variant-numeric: tabular-nums; color: var(--gold); }
.fx-draw__nums > span { position: relative; display: block; width: .62em; height: 1.06em; overflow: hidden; border-radius: 4px; background: linear-gradient(180deg, rgba(243, 236, 224, .1), rgba(243, 236, 224, .03)); box-shadow: inset 0 0 0 1px rgba(243, 236, 224, .1); }
.fx-draw__nums > span.is-gap { width: .14em; background: none; box-shadow: none; }
.fx-draw__nums i { display: block; font-style: normal; will-change: transform; }
.fx-draw__nums b { display: block; height: 1.06em; line-height: 1.06em; text-align: center; font-weight: inherit; }
.fx-draw__cap { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; color: var(--muted); }

/* ---------- 7. SALLE DES COFFRES ---------- */
.v-vault { position: relative; height: 240vh; }
.v-vault__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.v-vault__pre {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 4vh) var(--pad) 7vh;
  font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: clamp(30px, 5.2vw, 96px); line-height: .9; letter-spacing: -.02em; color: var(--fg);
}
.v-vault__pre span:last-child { align-self: flex-end; text-align: right; }
.v-vault__win { position: absolute; inset: 0; clip-path: inset(var(--t, 30%) var(--r, 34%) var(--t, 30%) var(--r, 34%) round var(--rad, 6px)); will-change: clip-path; }
.v-vault__win img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--s, 1.3)); will-change: transform; }
.v-vault__scrim { position: absolute; inset: 0; pointer-events: none; opacity: var(--o, 0);
  background: linear-gradient(to top, rgba(7, 6, 5, .92) 0%, rgba(7, 6, 5, .4) 40%, rgba(7, 6, 5, 0) 64%), linear-gradient(to right, rgba(7, 6, 5, .62) 0%, rgba(7, 6, 5, .12) 52%, rgba(7, 6, 5, 0) 80%); }
.v-vault__content { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(44px, 9vh, 100px); max-width: 760px; opacity: var(--o, 0); transform: translate3d(0, calc((1 - var(--o, 0)) * 44px), 0); }
.v-vault__content .v-h2 { margin: 22px 0 0; }
.v-vault__copy { margin-top: 22px; font-size: clamp(16px, 1.3vw, 19px); color: var(--fg-soft); max-width: 52ch; text-shadow: 0 1px 24px rgba(0, 0, 0, .85); }
.v-vault__specs { list-style: none; display: flex; flex-wrap: wrap; gap: clamp(22px, 4vw, 56px); margin: clamp(22px, 4vh, 38px) 0 0; padding: 0; }
.v-vault__specs li { display: grid; gap: 6px; min-width: 140px; padding-top: 16px; border-top: 1px solid rgba(243, 236, 224, .24); }
.v-vault__specs span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; color: var(--muted); }
.v-vault__specs strong { font-weight: 800; font-stretch: 112%; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.01em; }

/* ---------- 8. MANIFESTE, FAQ ---------- */
.v-mani { position: relative; padding: clamp(120px, 22vh, 260px) 0 clamp(110px, 18vh, 220px); overflow: hidden; }
.v-mani__orn { position: absolute; right: -14vw; top: 50%; width: min(96vh, 72vw); aspect-ratio: 1; translate: 0 -50%; color: var(--gold); opacity: .5; pointer-events: none; }
.v-mani__orn svg { width: 100%; height: 100%; animation: orn-turn 220s linear infinite; }
@keyframes orn-turn { to { transform: rotate(360deg); } }
.v-mani .v-wrap { position: relative; }
.v-mani__quote { margin: 30px 0 clamp(44px, 8vh, 90px); max-width: 1180px; font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: clamp(34px, 4.4vw, 80px); line-height: .96; letter-spacing: -.02em; }
.v-mani__facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); max-width: 1000px; margin: 0 0 clamp(36px, 6vh, 60px); padding: 0; }
.v-mani__facts li { padding-top: 18px; border-top: 1px solid var(--line); font-weight: 800; font-stretch: 108%; font-size: clamp(16px, 1.5vw, 22px); line-height: 1.2; letter-spacing: -.01em; }
.v-mani__facts i { display: block; margin-bottom: 12px; font-style: normal; font-size: 11px; letter-spacing: .22em; font-weight: 700; color: var(--accent); }

.v-faq { padding: clamp(100px, 16vh, 200px) 0; }
.v-faq__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.v-faq__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.v-faq__head .v-h2 { margin-top: 26px; }
.v-faq details { border-top: 1px solid var(--line); }
.v-faq details:last-child { border-bottom: 1px solid var(--line); }
.v-faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px minmax(0, 1fr) 16px; align-items: baseline; gap: 8px; padding: clamp(20px, 3vh, 28px) 0; font-weight: 800; font-stretch: 108%; font-size: clamp(18px, 1.7vw, 26px); line-height: 1.15; letter-spacing: -.012em; transition: color .4s; }
.v-faq summary::-webkit-details-marker { display: none; }
.v-faq summary:hover { color: var(--accent); }
.v-faq summary i { font-style: normal; font-size: 11px; letter-spacing: .2em; font-weight: 700; color: var(--accent); }
.v-faq summary::after { content: ""; align-self: center; width: 15px; height: 15px; background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 1.5px 100% no-repeat; transition: transform .5s var(--ease); }
.v-faq details[open] summary::after { transform: rotate(135deg); }
.v-faq details > div { overflow: hidden; }
.v-faq details p { padding: 0 30px clamp(22px, 3vh, 30px) 52px; color: var(--fg-soft); max-width: 60ch; }

/* ---------- 9. GRAND DÉCOMPTE, PIED DE PAGE ---------- */
.v-draw { padding: clamp(110px, 18vh, 220px) 0 clamp(80px, 12vh, 150px); }
.v-draw__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; margin-bottom: clamp(20px, 4vh, 46px); }
.v-draw__date { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; color: var(--muted); }
.v-cd.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v-cd.countdown div { padding: clamp(16px, 2.4vw, 36px) 0 clamp(12px, 1.8vw, 26px) clamp(10px, 1.8vw, 30px); border-left: 1px solid var(--line); text-align: left; }
.v-cd.countdown div:first-child { padding-left: 0; border-left: 0; }
.v-cd.countdown strong {
  display: block; font-weight: 900; font-stretch: 62%; font-size: clamp(70px, 11vw, 180px); line-height: .82; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: linear-gradient(172deg, #f4dfa8 6%, #d4af6a 44%, #9a7333 96%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.v-cd.countdown span { display: block; margin-top: clamp(8px, 1vw, 16px); font-size: clamp(9px, .85vw, 12px); letter-spacing: .24em; font-weight: 700; font-stretch: 112%; }

.v-foot { padding: clamp(56px, 9vh, 110px) 0 26px; border-top: 1px solid var(--line); overflow: hidden; }
.v-foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.v-foot__note { max-width: 40ch; font-size: 13px; color: var(--muted); }
.v-foot h4 { margin: 0 0 18px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; color: var(--accent); }
.v-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--fg-soft); }
.v-foot ul a { transition: color .3s; } .v-foot ul a:hover { color: var(--gold); }
.v-foot ul span { color: var(--muted); }
.v-foot__word { margin: clamp(36px, 7vh, 80px) 0 clamp(14px, 2vh, 24px); padding: 0 var(--pad); line-height: .78; white-space: nowrap; }
.v-foot__word span {
  --sx: 30%; display: inline-block; font-weight: 900; font-stretch: 62%; text-transform: uppercase; letter-spacing: -.02em; font-size: 17vw; padding: .04em 0 .02em;
  background: linear-gradient(100deg, #8c6a2c, #d4af6a calc(var(--sx) - 18%), #fbeec6 var(--sx), #d4af6a calc(var(--sx) + 18%), #7c5f2a); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.v-foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* ---------- 10. CURSEUR, GRAIN ---------- */
.v-cur { position: fixed; left: 0; top: 0; z-index: 95; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .35s; }
.v-cur.is-on { opacity: 1; }
/* Traînée de paillettes d'or (dessinée par v3.js) : dans ce mode, le lingot disparaît, seul le coupon « Voir » reste sur les lots */
.v-trail { position: fixed; inset: 0; z-index: 94; width: 100%; height: 100%; pointer-events: none; }
.v-cur--trail span { opacity: 0; transition: opacity .3s, width .45s var(--ease), height .45s var(--ease), transform .45s var(--ease), border-radius .45s var(--ease); }
.v-cur--trail.is-label span { opacity: 1; }
.v-cur span {
  position: absolute; left: 15px; top: 18px; display: grid; place-items: center; width: 22px; height: 10px; border-radius: 2px;
  background: var(--gold-grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 5px 12px rgba(0, 0, 0, .35);
  transform: skewX(-14deg); transform-origin: 0 50%; overflow: hidden; white-space: nowrap;
  font-size: 0; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; color: #2a1f0c;
  transition: width .45s var(--ease), height .45s var(--ease), transform .45s var(--ease), border-radius .45s var(--ease);
}
/* sur un lien : le lingot grandit et bascule */
.v-cur.is-link span { width: 30px; height: 13px; transform: skewX(-14deg) rotate(-10deg); }
/* sur un lot : le lingot devient un petit coupon doré « Voir » */
.v-cur.is-label span {
  width: 94px; height: 38px; padding-right: 26px; border-radius: 5px; transform: none; font-size: 10px;
  background: linear-gradient(90deg, rgba(42, 31, 12, 0) calc(72% - 1px), rgba(42, 31, 12, .5) calc(72% - 1px) 72%, rgba(42, 31, 12, 0) 72%), linear-gradient(128deg, #f7e6b6, #d9b66f 36%, #b48a42 64%, #ecd398);
  -webkit-mask: radial-gradient(circle 5px at 72% 0, #0000 96%, #000) top / 100% 51% no-repeat, radial-gradient(circle 5px at 72% 100%, #0000 96%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 5px at 72% 0, #0000 96%, #000) top / 100% 51% no-repeat, radial-gradient(circle 5px at 72% 100%, #0000 96%, #000) bottom / 100% 51% no-repeat;
}
.v-cur.is-label span::after { content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 1.5px; background: currentColor; }

body.v-grain::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .42 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 11. PETITS ÉCRANS ---------- */
@media (max-width: 1100px) {
  .hud__step { display: none; }
}
@media (max-width: 900px) {
  .v-steps__head, .v-faq__grid, .v-foot__grid { grid-template-columns: 1fr; }
  .v-faq__head { position: static; }
  .v-state__grid { grid-template-columns: 1fr; }
  .v-state__text, .v-state__foot { grid-column: 1; }
  .v-state__grid .v-label { padding-top: 0; }
  .v-step { grid-template-columns: 1fr; grid-template-rows: auto 1fr; top: calc(64px + var(--i) * 12px); min-height: 0; } /* la démonstration occupe la hauteur restante */
  .v-step__n { margin-bottom: 0; padding-bottom: 18px; }
  .v-step__fx { min-height: 230px; }
  .v-mani__facts { grid-template-columns: 1fr; gap: 22px; }
  .v-mani__orn { right: -40vw; width: 120vw; opacity: .35; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .h3d .scrub__beat { right: var(--pad); max-width: none; bottom: clamp(44px, 8vh, 80px); }
  .h3d .scrub__title { font-size: clamp(48px, 14.6vw, 76px); }
  .h3d .scrub__beat-title { font-size: clamp(32px, 9.4vw, 52px); }
  .h3d .scrub__cue, .hud__rail, .hud__serial { display: none; }
  .hud__c--tl, .hud__c--tr { top: 72px; }
  .hud__c--bl, .hud__c--br { bottom: 16px; }
  .v-cd.countdown strong { font-size: clamp(60px, 21vw, 200px); }
  /* Étapes : plaques compactes, chacune tient dans l'écran et s'empile comme sur ordinateur */
  .v-step { top: calc(58px + var(--i) * 10px); gap: 14px; padding: 18px; margin-bottom: clamp(20px, 4svh, 40px); }
  .v-step__n { font-size: 56px; padding-bottom: 10px; }
  .v-step h3 { font-size: 22px; }
  .v-step p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; }
  .v-step__fx { min-height: clamp(140px, 22svh, 220px); }
  .fx-lots { padding: 20px 12px 32px; }
  .fx-ticket { padding: 20px 12px; }
  .fx-draw { gap: 10px; padding: 16px 12px; }
  .fx-quiz { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 14px; }
  .fx-quiz__clock { width: 68px; }
  .fx-quiz__clock strong { font-size: 30px; }
  .fx-quiz__q p { margin-bottom: 8px; font-size: 13.5px; }
  .fx-quiz__q span { padding: 7px 10px; margin-bottom: 5px; font-size: 12.5px; }
  .fx-quiz__q em { min-height: 1.3em; font-size: 11px; }
  .tk { width: min(400px, 80%); }
  .tk__row--b span:last-child { display: none; } /* petit ticket : la date seule, rien ne passe sur le talon */
  .fx-quiz__q { width: 100%; }
  .v-faq summary { grid-template-columns: 34px minmax(0, 1fr) 16px; }
  .v-faq details p { padding-left: 42px; padding-right: 0; }
}
@media (max-width: 520px) {
  .nav .lang-switch { display: none; }
  .nav__brand { font-size: 13px; letter-spacing: .2em; gap: 9px; }
  .nav__mark { width: 24px; height: 22px; }
}
@media (max-width: 400px) { .nav__brand span { display: none; } }
/* écrans peu hauts : les plaques ne s'empilent plus, elles défilent simplement */
@media (max-height: 520px) {
  .v-step { position: relative; top: 0; }
}

/* ---------- 12. COUPONS ---------- */
/* Le coupon est la signature de wingold.coupons : encoches, pointillés, talon qui se détache. */
:root { --cp-line: rgba(212, 175, 106, .44); --cp-gold: linear-gradient(128deg, #f7e6b6, #d9b66f 36%, #b48a42 64%, #ecd398); --cp-ink: #2a1f0c; }

/* (a) Coupon sombre à talon doré : cartes des lots. Le talon est le bouton. */
.coupon { filter: drop-shadow(0 34px 40px rgba(0, 0, 0, .55)); }
.coupon__main {
  --n: 10px; position: relative; padding: clamp(18px, 2vw, 28px) clamp(18px, 2.2vw, 30px) clamp(16px, 1.8vw, 24px);
  border: 1px solid var(--cp-line); border-bottom: 1.5px dashed var(--cp-line); border-radius: 8px 8px 0 0;
  background: radial-gradient(circle at 0 100%, transparent calc(var(--n) - .5px), var(--cp-line) calc(var(--n) - .5px) calc(var(--n) + .7px), transparent calc(var(--n) + .7px)), radial-gradient(circle at 100% 100%, transparent calc(var(--n) - .5px), var(--cp-line) calc(var(--n) - .5px) calc(var(--n) + .7px), transparent calc(var(--n) + .7px)), linear-gradient(165deg, rgba(212, 175, 106, .12), rgba(212, 175, 106, .02) 46%, rgba(212, 175, 106, .07)), #0b0906; background-origin: border-box;
  -webkit-mask: radial-gradient(circle var(--n) at 0 100%, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% 100%, #0000 96%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--n) at 0 100%, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% 100%, #0000 96%, #000) right / 51% 100% no-repeat;
}
.coupon__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: clamp(12px, 1.8vh, 18px); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.coupon__head span:first-child { color: var(--gold); }
.coupon__stub {
  --n: 10px; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; overflow: hidden; color: var(--cp-ink);
  padding: clamp(13px, 1.5vw, 19px) clamp(18px, 2.2vw, 30px) clamp(15px, 1.7vw, 21px); border-radius: 0 0 8px 8px;
  background: repeating-radial-gradient(circle at 12% 190%, rgba(42, 31, 12, .1) 0 1px, transparent 1px 8px), repeating-radial-gradient(circle at 96% -90%, rgba(255, 255, 255, .22) 0 1px, transparent 1px 10px), var(--cp-gold);
  -webkit-mask: radial-gradient(circle var(--n) at 0 0, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% 0, #0000 96%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--n) at 0 0, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% 0, #0000 96%, #000) right / 51% 100% no-repeat;
  transform-origin: 0 0; transition: transform .7s var(--ease);
}
.coupon__stub::after { content: ""; position: absolute; top: -30%; bottom: -30%; left: -75%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); transition: left 1s var(--ease); pointer-events: none; }
.coupon__stub:hover, .coupon__stub:focus-visible { transform: translateY(8px) rotate(-1.3deg); }
.coupon__stub:hover::after { left: 135%; }
.coupon__stub:focus-visible { outline-offset: -5px; outline-color: var(--cp-ink); }
.coupon__price small { display: block; margin-bottom: 4px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; }
.coupon__price strong { display: block; font-weight: 900; font-stretch: 112%; font-size: clamp(36px, min(3.2vw, 7vh), 52px); line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 1px 0 rgba(255, 255, 255, .4); }
.coupon__go { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; white-space: nowrap; }
.coupon__go i { width: 24px; height: 1.5px; background: currentColor; transition: width .6s var(--ease); }
.coupon__stub:hover .coupon__go i { width: 40px; }

/* (b) Petit coupon doré : bouton d'appel (héros, décompte) */
.cpn { display: inline-flex; align-items: stretch; color: var(--cp-ink); filter: drop-shadow(0 16px 26px rgba(212, 175, 106, .32)); transition: transform .5s var(--ease), filter .5s var(--ease); }
.cpn:hover { filter: drop-shadow(0 22px 34px rgba(212, 175, 106, .5)); }
.cpn__main, .cpn__stub { --n: 8px; position: relative; display: flex; flex-direction: column; justify-content: center; gap: 5px; overflow: hidden; background: repeating-radial-gradient(circle at 12% 190%, rgba(42, 31, 12, .1) 0 1px, transparent 1px 8px), repeating-radial-gradient(circle at 96% -90%, rgba(255, 255, 255, .22) 0 1px, transparent 1px 10px), var(--cp-gold); }
.cpn__main { padding: 14px 26px 14px 22px; border-radius: 6px 0 0 6px;
  -webkit-mask: radial-gradient(circle var(--n) at 100% 0, #0000 96%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--n) at 100% 100%, #0000 96%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--n) at 100% 0, #0000 96%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--n) at 100% 100%, #0000 96%, #000) bottom / 100% 51% no-repeat;
}
.cpn__stub { padding: 14px 22px; border-left: 1.5px dashed rgba(42, 31, 12, .5); border-radius: 0 6px 6px 0; transform-origin: 0 100%; transition: transform .6s var(--ease);
  -webkit-mask: radial-gradient(circle var(--n) at 0 0, #0000 96%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--n) at 0 100%, #0000 96%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--n) at 0 0, #0000 96%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--n) at 0 100%, #0000 96%, #000) bottom / 100% 51% no-repeat;
}
.cpn:hover .cpn__stub { transform: rotate(4deg) translate(3px, -1px); }
.cpn__main::after { content: ""; position: absolute; top: -30%; bottom: -30%; left: -75%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); transition: left 1s var(--ease); }
.cpn:hover .cpn__main::after { left: 135%; }
.cpn small { display: flex; align-items: center; gap: 8px; font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; white-space: nowrap; }
.cpn b { font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: clamp(20px, 1.9vw, 27px); line-height: .95; letter-spacing: -.015em; white-space: nowrap; text-shadow: 0 1px 0 rgba(255, 255, 255, .4); font-variant-numeric: tabular-nums; }
.cpn small i { width: 16px; height: 1.5px; background: currentColor; transition: width .5s var(--ease); }
.cpn:hover small i { width: 28px; }
.h3d .cpn { margin-top: 30px; }

/* (c) Coupon géant : le prochain tirage */
.cpx__main, .cpx__stub { --n: 16px; position: relative; border: 1px solid var(--cp-line); background-origin: border-box; }
.cpx__main { padding: clamp(20px, 3vw, 46px) clamp(18px, 3vw, 46px) clamp(14px, 2vw, 30px); border-bottom: 1.5px dashed var(--cp-line); border-radius: 10px 10px 0 0;
  background: radial-gradient(circle at 0 100%, transparent calc(var(--n) - .5px), var(--cp-line) calc(var(--n) - .5px) calc(var(--n) + .7px), transparent calc(var(--n) + .7px)), radial-gradient(circle at 100% 100%, transparent calc(var(--n) - .5px), var(--cp-line) calc(var(--n) - .5px) calc(var(--n) + .7px), transparent calc(var(--n) + .7px)), linear-gradient(165deg, rgba(212, 175, 106, .09), rgba(212, 175, 106, .012) 50%, rgba(212, 175, 106, .05)); background-origin: border-box;
  -webkit-mask: radial-gradient(circle var(--n) at 0 100%, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% 100%, #0000 96%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--n) at 0 100%, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% 100%, #0000 96%, #000) right / 51% 100% no-repeat;
}
.cpx__stub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; padding: clamp(18px, 2.4vw, 34px) clamp(18px, 3vw, 46px); border-top: 0; border-radius: 0 0 10px 10px;
  background: radial-gradient(circle at 0 0, transparent calc(var(--n) - .5px), var(--cp-line) calc(var(--n) - .5px) calc(var(--n) + .7px), transparent calc(var(--n) + .7px)), radial-gradient(circle at 100% 0, transparent calc(var(--n) - .5px), var(--cp-line) calc(var(--n) - .5px) calc(var(--n) + .7px), transparent calc(var(--n) + .7px)), linear-gradient(165deg, rgba(212, 175, 106, .09), rgba(212, 175, 106, .012) 50%, rgba(212, 175, 106, .05)); background-origin: border-box;
  -webkit-mask: radial-gradient(circle var(--n) at 0 0, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% 0, #0000 96%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--n) at 0 0, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% 0, #0000 96%, #000) right / 51% 100% no-repeat;
}
.cpx__stub p { max-width: 30ch; font-weight: 800; font-stretch: 106%; font-size: clamp(18px, 1.8vw, 28px); line-height: 1.15; letter-spacing: -.015em; }
.cpx .v-cd.countdown { border: 0; }
.cpx .v-draw__top { margin-bottom: clamp(8px, 2vh, 22px); }

/* ---------- 13. PARTICIPATION VALIDÉE ---------- */
.v-ok { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--nav-h) + clamp(30px, 7vh, 80px)) 0 clamp(50px, 9vh, 110px); overflow: hidden; }
.v-ok__fx { position: fixed; inset: 0; z-index: 60; width: 100%; height: 100%; pointer-events: none; }
.v-ok__orn { position: absolute; left: -18vw; bottom: -30vh; width: min(90vh, 70vw); aspect-ratio: 1; color: var(--gold); opacity: .32; pointer-events: none; }
.v-ok__orn svg { width: 100%; height: 100%; animation: orn-turn 220s linear infinite; }
.v-ok__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.v-ok__title { margin: 26px 0 22px; font-size: clamp(38px, 4vw, 70px); line-height: .9; letter-spacing: -.02em; }
.v-ok__lede { max-width: 40ch; font-size: clamp(17px, 1.4vw, 21px); color: var(--fg-soft); }
.v-ok__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 18px clamp(22px, 3vw, 46px); margin: clamp(26px, 5vh, 46px) 0 0; padding: 0; }
.v-ok__facts li { display: grid; gap: 6px; min-width: 110px; padding-top: 14px; border-top: 1px solid var(--line); }
.v-ok__facts span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; color: var(--muted); }
.v-ok__facts strong { font-weight: 800; font-stretch: 112%; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -.01em; }
.v-ok .countdown { max-width: 420px; margin: clamp(20px, 4vh, 34px) 0 0; }
.v-ok__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(26px, 5vh, 44px); }
.v-ok__note { margin-top: 26px; font-size: 12px; color: var(--muted); }
.v-ok__more { margin-top: 6px; text-align: center; font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.v-ok__stack { position: relative; display: grid; justify-items: center; padding: 30px 0; perspective: 1200px; filter: drop-shadow(0 40px 44px rgba(0, 0, 0, .6)); }
.v-ok__stack .tk {
  width: min(470px, 88%); margin-top: var(--ov, -15%); opacity: 0; animation: tk-shine 6s ease-in-out calc(var(--d) + 1.2s) infinite;
  transform: translate3d(var(--tx), -90px, 0) rotate(calc(var(--rz) - 9deg)) scale(1.08);
  transition: transform 1.1s var(--ease) var(--d), opacity .7s var(--ease) var(--d);
}
.v-ok__stack .tk:first-child { margin-top: 0; }
/* coupons empilés : le numéro passe en haut du talon pour rester lisible sous le coupon suivant */
.v-ok__stack .tk__stub em { order: -1; font-size: clamp(10px, 1vw, 13px); }
.v-ok__stack .tk__stub i { order: 1; margin-top: 0; }
.v-ok__stack .tk__stub span { order: 2; margin-top: auto; }
.v-ok.is-in .v-ok__stack .tk { opacity: 1; transform: translate3d(var(--tx), 0, 0) rotate(var(--rz)); }
.v-ok.is-in .v-ok__stack .tk:hover { transform: translate3d(var(--tx), -12px, 0) rotate(var(--rz)) scale(1.03); transition-delay: 0s; transition-duration: .5s; }
@keyframes tk-shine { 0%, 100% { --sx: -30%; } 45%, 55% { --sx: 130%; } }

@media (max-width: 900px) {
  .v-ok__grid { grid-template-columns: 1fr; }
  .v-ok__right { order: -1; }
  .v-ok__stack { padding-top: 10px; }
}
@media (max-width: 760px) {
  .cpx__stub .cpn { width: 100%; }
  .cpx__stub .cpn .cpn__main { flex: 1; }
  .cpn__main { padding: 13px 20px 13px 18px; }
  .cpn__stub { padding: 13px 18px; }
}
@media (max-width: 520px) {
  .cpn__main { padding: 12px 16px 12px 14px; }
  .cpn__stub { padding: 12px 14px; }
  .cpn small { font-size: 8.5px; letter-spacing: .14em; }
  .cpn b { font-size: 18px; }
  .cpn small i { width: 12px; }
}

/* ---------- 14. PAGE CONCOURS ---------- */
/* Îlots noirs : l'or et son coupon gardent leur écrin */
.c-hero, .c-more {
  --bg: #000000; --fg: #f3ece0; --fg-soft: #cfc6b6; --muted: #8c8475; --accent: #d4af6a; --line: rgba(243, 236, 224, .14);
  position: relative; background: #000; color: var(--fg);
}
.c-hero { padding: calc(var(--nav-h) + clamp(18px, 4vh, 44px)) 0 clamp(70px, 11vh, 130px); }
.c-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 900px; pointer-events: none; background: radial-gradient(44% 46% at 26% 42%, rgba(212, 175, 106, .1), rgba(0, 0, 0, 0) 72%); }
.c-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(30px, 5vw, 84px); align-items: start; }
.c-hero__left { align-self: stretch; }
.c-hero__sticky { position: sticky; top: calc(var(--nav-h) + 14px); }
.c-crumb { margin-bottom: 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; color: var(--muted); }
.c-crumb a { transition: color .3s; } .c-crumb a:hover { color: var(--gold); }
.c-hero__stage { aspect-ratio: auto; height: min(54vh, 520px); }
.c-hero__stage .v-lot__word { font-size: min(42vh, 26vw); }

/* La pile de coupons : une épaisseur de plus à chaque ticket (jusqu'à six visibles) */
.c-stack { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); margin-top: clamp(8px, 2vh, 22px); }
.c-stack__pile { position: relative; flex: none; width: min(250px, 44%); filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .6)); }
.c-stack .tk { width: 100%; animation: none; transform: rotate(-3deg); }
.c-stack__tk { position: relative; z-index: 10; }
.c-stack__layer { position: absolute; inset: 0; z-index: calc(10 - var(--k)); opacity: 0; filter: brightness(calc(1 - var(--k) * .07)); transition: transform .7s var(--ease), opacity .4s var(--ease); }
.c-stack .tk.c-stack__layer.is-on { opacity: 1; transform: translate(calc(var(--k) * 7px), calc(var(--k) * -6px)) rotate(calc(-3deg + var(--k) * 1.5deg)); }
.c-stack .tk__main { padding: 8% 7% 7%; }
.c-stack .tk__row { font-size: 7px; letter-spacing: .12em; }
.c-stack .tk__title { font-size: clamp(15px, 1.55vw, 22px); }
.c-stack .tk__stub em { font-size: clamp(13px, 1.3vw, 18px); font-weight: 900; letter-spacing: -.01em; }
.c-stack .tk__stub span { font-size: 7px; }
.c-stack__cap { max-width: 30ch; font-size: 14px; color: var(--fg-soft); }
.c-stack__cap b { display: block; margin-bottom: 8px; color: var(--fg); font-weight: 800; font-stretch: 108%; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.15; letter-spacing: -.012em; }

/* Le coupon d'achat */
.c-buy { scroll-margin-top: calc(var(--nav-h) + 10px); }
.c-buy .coupon__main { padding: clamp(20px, 2.2vw, 32px); }
.c-buy .vit-gauge { margin-top: clamp(16px, 2.4vh, 22px); height: 4px; border-radius: 2px; }
.c-buy .vit-gauge__bar { border-radius: 2px; }
.c-buy__title { margin: 14px 0 10px; font-size: clamp(32px, 3vw, 48px); line-height: .94; letter-spacing: -.015em; }
.coupon__perf { height: 0; margin: clamp(20px, 2.8vh, 30px) calc(clamp(20px, 2.2vw, 32px) * -1); border-top: 1.5px dashed var(--cp-line); }
.c-buy__step { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.c-buy__qty {
  font-weight: 900; font-stretch: 112%; font-size: clamp(36px, 3.4vw, 54px); line-height: .8; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  background: linear-gradient(170deg, #f4dfa8 8%, #d4af6a 46%, #a8833f 92%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.c-buy .picker { margin: 0; scroll-margin-top: calc(var(--nav-h) + 20px); }
.c-buy .picker__quick button { padding: 13px 0; font-weight: 800; font-stretch: 108%; font-size: 16px; }
.c-buy .picker__quick button.is-active { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.c-buy .packs__k { margin: 18px 0 10px; }
.c-buy .pack.is-active { border-color: var(--gold); background: rgba(212, 175, 106, .1); }
.c-buy .picker__range { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; margin-top: 20px; background: none; cursor: pointer; }
.c-buy .picker__range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--p, 0%), rgba(243, 236, 224, .14) var(--p, 0%)); }
.c-buy .picker__range::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--p, 0%), rgba(243, 236, 224, .14) var(--p, 0%)); }
.c-buy .picker__range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 20px; margin-top: -7px; border-radius: 3px; background: var(--gold-grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 4px 14px rgba(0, 0, 0, .6); }
.c-buy .picker__range::-moz-range-thumb { width: 34px; height: 20px; border: 0; border-radius: 3px; background: var(--gold-grad); }
.c-buy .quiz { margin: 0; padding: 0; border: 0; }
.c-buy .quiz > .eyebrow { display: none; }
.c-buy .quiz [hidden] { display: none !important; } /* le bouton « Afficher la question » disparaît vraiment une fois la question posée */
.c-buy .quiz.is-done .quiz__secs { background: none; } /* le titre « 02 · La question » le remplace */

/* Le talon : éteint tant que la question n'est pas répondue, puis il s'allume et se détache au survol */
.c-buy__stub { flex-wrap: wrap; align-items: flex-end; gap: 14px 20px; filter: saturate(.3) brightness(.7); transition: filter .9s var(--ease), transform .7s var(--ease); }
.c-buy__stub:hover, .c-buy__stub:focus-visible { transform: none; }
.c-buy__stub:hover::after { left: -75%; }
.c-buy__stub.is-ready { filter: none; }
.c-buy__stub.is-ready::after { animation: stub-ready 1.4s var(--ease) .1s 1; }
.c-buy__stub.is-ready:hover { transform: translateY(8px) rotate(-1deg); }
@keyframes stub-ready { from { left: -75%; } to { left: 135%; } }
.c-buy__k { display: block; margin-bottom: 4px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; }
.c-buy__sum > strong { display: block; font-weight: 900; font-stretch: 112%; font-size: clamp(38px, 3.4vw, 54px); line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 1px 0 rgba(255, 255, 255, .4); }
.c-buy__odds, .c-buy__save { display: block; margin-top: 6px; font-size: 12.5px; }
.c-buy__odds strong { font-weight: 800; }
.c-buy__save:empty { display: none; }
.c-buy__save.is-on { font-weight: 700; }
.c-buy__act { display: grid; justify-items: end; gap: 6px; margin-left: auto; }
.c-buy__hint { font-size: 11px; letter-spacing: .04em; }
.c-buy__stub.is-ready .c-buy__hint { display: none; }
.c-buy__go { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0 4px; border: 0; background: none; color: inherit; font-family: inherit; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; white-space: nowrap; cursor: pointer; }
.c-buy__go::before { content: ""; position: absolute; inset: 0; } /* tout le talon est cliquable */
.c-buy__go::after { content: ""; width: 24px; height: 1.5px; background: currentColor; transition: width .6s var(--ease); }
.c-buy__stub.is-ready:hover .c-buy__go::after { width: 40px; }
.c-buy__go:disabled { cursor: not-allowed; }
.c-buy__go:focus-visible { outline-color: var(--cp-ink); }
.c-buy__fine { margin-top: 20px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.c-buy__fine a { color: var(--fg-soft); border-bottom: 1px solid var(--line); }
.c-buy .trust { margin-top: 22px; }
.c-buy .trust strong { color: var(--gold); }

/* Barre d'achat sur téléphone (créée par script.js) */
.cp-bar { display: none; }

/* Fiche du lot */
.c-specs { padding: clamp(90px, 15vh, 190px) 0 clamp(60px, 10vh, 120px); }
.c-specs__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.c-specs .v-h2 { margin: 26px 0 24px; }
.c-cert { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 46px); border-radius: 6px; background: #fbf8f2; box-shadow: 0 34px 60px -44px rgba(60, 40, 12, .55), inset 0 0 0 1px rgba(23, 18, 12, .08); }
.c-cert::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(154, 115, 51, .32); border-radius: 3px; pointer-events: none; }
.c-cert__head { position: relative; display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; color: var(--accent); }
.c-cert dl { position: relative; margin: 0; }
.c-cert dl div { display: grid; grid-template-columns: 36% minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 15px 0; border-top: 1px solid var(--line); }
.c-cert dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; font-stretch: 112%; color: var(--muted); }
.c-cert dd { margin: 0; font-weight: 800; font-stretch: 108%; font-size: clamp(16px, 1.4vw, 20px); letter-spacing: -.01em; }
.c-cert__seal { position: absolute; right: -80px; bottom: -80px; width: 250px; aspect-ratio: 1; color: #9a7333; opacity: .3; pointer-events: none; }
.c-cert__seal svg { width: 100%; height: 100%; }

/* Le tirage */
.c-how { padding: clamp(60px, 10vh, 120px) 0 clamp(100px, 16vh, 190px); }
.c-how .v-h2 { margin-top: 26px; }
.c-how__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); margin: clamp(36px, 6vh, 64px) 0 0; padding: 0; }
.c-how__list li { padding-top: 20px; border-top: 1px solid var(--line); }
.c-how__list i { display: block; margin-bottom: 12px; font-style: normal; font-size: 11px; letter-spacing: .22em; font-weight: 700; color: var(--accent); }
.c-how__list h3 { margin-bottom: 12px; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.05; }
.c-how__list p { color: var(--fg-soft); font-size: 15px; max-width: 36ch; }

/* Autres concours */
.c-more { padding: clamp(90px, 14vh, 170px) 0; }
.c-more .v-h2 { margin-top: 26px; }
.c-more__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); margin-top: clamp(20px, 4vh, 44px); }
.c-more .v-lot__word { font-size: clamp(110px, 17vw, 250px); }

@media (max-width: 999px) {
  .c-hero__grid, .c-specs__grid, .c-more__grid { grid-template-columns: minmax(0, 1fr); }
  .c-hero__sticky { position: static; }
  .c-hero__stage { height: auto; aspect-ratio: 16 / 11; }
  .c-hero__stage .v-lot__word { font-size: clamp(150px, 52vw, 560px); }
  .c-stack { display: none; }
  .c-how__list { grid-template-columns: 1fr; gap: 28px; }
  .c-more .v-lot__word { font-size: clamp(150px, 52vw, 560px); }
  body.has-bar { padding-bottom: 76px; }
  .cp-bar {
    position: fixed; inset: auto 0 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 7, 5, .92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-top: 1px solid var(--cp-line); transform: translateY(110%); transition: transform .6s var(--ease);
  }
  .cp-bar.is-on { transform: none; }
  .cp-bar__sum { font-size: 13px; color: #cfc6b6; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .cp-bar__sum strong { display: block; font-size: 18px; color: #f3ece0; font-weight: 800; font-stretch: 112%; }
  .cp-bar .btn { padding: 14px 22px; white-space: nowrap; }
}
@media (max-width: 520px) {
  .c-buy__act { justify-items: start; margin-left: 0; }
  .c-cert dl div { grid-template-columns: 1fr; gap: 4px; }
}
