/* =========================================================
   GENERATHON · squelette home
   Calé sur la wireframe 1440 px.
   --u = 1px à 1440 px de large, puis réduit proportionnellement
   (les blocs « dessinés » : cartes du hero, forme des chiffres, footer).
   ========================================================= */

/* ---------- Typos ---------- */
@font-face { font-family: "Boldonse"; src: url("../assets/fonts/Boldonse-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../assets/fonts/CabinetGrotesk-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../assets/fonts/CabinetGrotesk-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../assets/fonts/CabinetGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../assets/fonts/CabinetGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../assets/fonts/CabinetGrotesk-Extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  /* Couleurs (noms Figma) */
  --noir: #000000;
  --blanc: #FFFFFF;
  --fond: #F3F3F3;
  --gris-carte: #D9D9D9;
  --violet: #DACDFF;
  --orange: #F9B64D;
  /* Texte secondaire : une seule valeur par fond (contraste AA) */
  --texte-secondaire: rgba(0,0,0,.6);           /* sur fond gris ou blanc : 5,6:1 */
  --texte-sur-noir: rgba(255,255,255,.62);      /* sur noir : 7,8:1 */
  --degrade: linear-gradient(90deg, var(--violet), var(--orange));   /* dégradé de marque : seulement en grand aplat (fonds, grandes surfaces), toujours avec du grain ; seule exception : le bouton principal du hero */
  --degrade-chiffres: linear-gradient(90deg, #BBAAF4 0%, #C1B0EC 12%, #CC9E7D 62%, #D29552 83%, #DD9F5C 100%);

  /* Grain (bruit SVG) : en calque de fond (background-blend-mode) ou via .grain */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0' intercept='.65'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Typos */
  --f-display: "Boldonse", "Arial Black", sans-serif;
  --f-body: "Cabinet Grotesk", system-ui, sans-serif;

  /* Unité fluide : 1px à 1440 de large (body = conteneur) */
  --u: min(1px, calc(100cqw / 1440));

  /* Écart entre deux boutons côte à côte ou empilés : le même partout (ordinateur et mobile) */
  --btn-gap: 16px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
/* Fond gris aussi quand on « tire » la page au-delà du haut ou du bas (rebond du trackpad) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; background-color: var(--fond); overscroll-behavior-y: none;
       color-scheme: light;                         /* pas d'inversion automatique en mode sombre (Chrome Android, Samsung Internet…) */
       -webkit-tap-highlight-color: transparent; }  /* pas de rectangle gris / bleu au toucher (iOS, Android) */
body { container-type: inline-size; overflow-x: clip; background: var(--fond); color: var(--noir); font-family: var(--f-body); font-size: 16px; font-weight: 400; line-height: 1.4; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* « Aller au contenu » : caché hors de l'écran, il descend en haut à gauche quand on arrive dessus au clavier */
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1001; padding: 10px 18px; border-radius: 999px; background: var(--noir); color: var(--blanc); font-size: 15px; font-weight: 500; line-height: 1.2;
  transform: translateY(calc(-100% - 24px)); transition: transform .2s ease; }
.skip-link:focus { transform: none; outline: 2px solid var(--orange); outline-offset: 2px; }
main:focus { outline: none; }   /* la cible du lien ne s'entoure pas d'un contour */

/* Grain en surcouche (pour les blocs à 1 seul élément) */
.grain { position: relative; isolation: isolate; }
.grain::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--noise); background-size: 200px; mix-blend-mode: overlay; pointer-events: none; }

/* Verre « liquid glass » (contrôles du lecteur, menu en pastille) : blanc translucide flouté,
   liseré lumineux plus vif en haut à gauche et en bas à droite, reflet en biais, lumière interne en haut,
   léger ombrage interne en bas. */
:root {
  --lg-shadow: inset 0 1px 1px rgba(255,255,255,.95), inset 0 -1px 1px rgba(255,255,255,.45), inset 1px 0 1px rgba(255,255,255,.35), inset -1px 0 1px rgba(255,255,255,.25),
               inset 0 10px 18px -12px rgba(255,255,255,.9), inset 0 -12px 20px -14px rgba(0,0,0,.14);
  --lg-sheen: linear-gradient(120deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 68%, rgba(255,255,255,.28) 100%);
  --lg-rim: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.12) 32%, rgba(255,255,255,.12) 68%, rgba(255,255,255,.85) 100%);
}
.glass { background: var(--lg-sheen), rgba(255,255,255,.62); -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.22), var(--lg-shadow); color: var(--noir); }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--lg-rim); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }

/* Verre liquide (Chrome, Edge, Arc, app Claude — classe posée par js/main.js, partie 8) :
   le décor derrière le verre se déforme sur les bords bombés ; un peu moins de blanc pour qu'on le voie. */
.lg-refract .glass { background: var(--lg-sheen), rgba(255,255,255,.5); }
.lg-refract .nav__glass { background: var(--lg-sheen), rgba(255,255,255,.68); }   /* menu : blanc un peu plus opaque */

/* Curseur : la flèche de la souris reste visible, avec au bout un rond qui inverse la luminosité de ce qu'il survole,
   en noir et blanc (noir sur fond clair, blanc sur fond noir, négatif gris sur les images). Il grossit sur les liens et boutons.
   Seulement avec une souris (pas au doigt) ; posé par js/main.js, partie 9. */
.cursor { --cs: 16px; position: fixed; left: 0; top: 0; z-index: 2147483000; width: var(--cs); height: var(--cs); margin: calc(var(--cs) / -2) 0 0 calc(var(--cs) / -2);
  border-radius: 50%; pointer-events: none; opacity: 0;
  transition: opacity .2s ease, width .25s cubic-bezier(.2, .8, .2, 1), height .25s cubic-bezier(.2, .8, .2, 1), margin .25s cubic-bezier(.2, .8, .2, 1);
  -webkit-backdrop-filter: grayscale(1) invert(1); backdrop-filter: grayscale(1) invert(1); }   /* taille animée (pas de scale : le filtre d'arrière-plan n'aime pas) */
.cursor.is-on { opacity: 1; }
.cursor.is-link { --cs: 36px; }
.cursor.is-down { --cs: 12px; }
.cursor.is-link.is-down { --cs: 29px; }

/* Surtitres en capitales (Cabinet Bold 20) */
.eyebrow { font-size: 20px; font-weight: 700; line-height: 24px; text-transform: uppercase; text-align: center; }

/* =========================================================
   BOUTONS (auto layout Figma : padding 12 / 15 / 12 / 24 · gap 14 · pilule)
   ========================================================= */
.btn { position: relative; isolation: isolate; overflow: hidden; --ox: calc(100% - 28px); display: inline-flex; align-items: center; gap: 14px; padding: 12px 15px 12px 24px; border-radius: 999px; font-size: 16px; font-weight: 500; line-height: 26px; white-space: nowrap; transition: transform .2s; }
.btn__icon { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--noir); color: var(--blanc); }
.btn__icon svg { width: 16px; height: 16px; }
/* Survol des boutons (choix A « Encre ») : la 2e version jaillit en cercle depuis la flèche et recouvre le bouton,
   sans fondu ; elle se résorbe dans la flèche à la sortie. La flèche tourne de ↗ à ↘.
   .btn__ink = copie du contenu aux couleurs de la 2e version, ajoutée par js/main.js (partie 2b).
   Placé avant les règles qui positionnent certains boutons (CTA du cinéma, des chiffres) pour ne pas les écraser. */
.btn__ink { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: inherit; gap: inherit; padding: inherit; border-radius: inherit; pointer-events: none;
  clip-path: circle(0px at var(--ox) 50%); transition: clip-path .3s cubic-bezier(.5, 0, .3, 1); }   /* sortie de survol : rapide */
 .btn:focus-visible > .btn__ink, .nav-btn:focus-visible > .btn__ink { clip-path: circle(140% at var(--ox) 50%); transition: clip-path .6s cubic-bezier(.7, 0, .2, 1); }
@media (hover: hover) { .btn:hover > .btn__ink, .nav-btn:hover > .btn__ink { clip-path: circle(140% at var(--ox) 50%); transition: clip-path .6s cubic-bezier(.7, 0, .2, 1); } }
.btn__icon svg { transition: rotate .3s cubic-bezier(.4, 0, .2, 1); }
 .btn:focus-visible .btn__icon svg { rotate: 90deg; transition: rotate .6s cubic-bezier(.34, 1.56, .64, 1); }
@media (hover: hover) { .btn:hover .btn__icon svg { rotate: 90deg; transition: rotate .6s cubic-bezier(.34, 1.56, .64, 1); } }
/* 2e version : les boutons de couleur passent en blanc cerclé de noir sur fond clair, en blanc plein sur fond noir ;
   les boutons noirs passent en blanc cerclé de noir */
.btn--grad > .btn__ink, .btn--lav > .btn__ink, .btn--gold > .btn__ink { background: var(--blanc); color: var(--noir); box-shadow: inset 0 0 0 1.5px var(--noir); }
.btn--grad > .btn__ink .btn__icon, .btn--lav > .btn__ink .btn__icon, .btn--gold > .btn__ink .btn__icon { background: var(--noir); color: var(--blanc); }
:is(.editions, .next__panel, .player__meta, .prompt) :is(.btn--grad, .btn--lav, .btn--gold) > .btn__ink { box-shadow: none; }   /* fond noir : blanc plein */
.btn--black > .btn__ink, .btn--dark > .btn__ink { background: var(--blanc); color: var(--noir); box-shadow: inset 0 0 0 1.5px var(--noir); }
.btn--black > .btn__ink .btn__icon, .btn--dark > .btn__ink .btn__icon { background: var(--noir); color: var(--blanc); }

.btn--grad    { background: var(--degrade); color: var(--noir); }
/* Hero : le dégradé ondule lentement (deux nappes violet / orange qui tournent en vague).
   Réglage : durée de l'animation (14s) = vitesse de la vague. */
@property --wave { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.hero .btn--grad {
  background:
    radial-gradient(60% 150% at calc(22% + 20% * sin(var(--wave))) calc(50% + 70% * cos(var(--wave) * 2)), #DACDFF 0%, rgba(218,205,255,0) 100%),
    radial-gradient(60% 150% at calc(78% - 20% * sin(var(--wave))) calc(50% - 70% * cos(var(--wave) * 2)), #F9B64D 0%, rgba(249,182,77,0) 100%),
    linear-gradient(90deg, #DACDFF, #F9B64D 55%, #DACDFF 130%);
  animation: btn-wave 14s linear infinite;
}
@keyframes btn-wave { to { --wave: 360deg; } }
.btn--gold    { background: var(--orange); color: var(--noir); }
.btn--lav     { background: var(--violet); color: var(--noir); }
.btn--dark    { background: var(--noir); box-shadow: inset 0 0 0 1px var(--violet); color: var(--blanc); }
.btn--black   { background: var(--noir); color: var(--blanc); }
.btn--dark .btn__icon, .btn--black .btn__icon { background: var(--violet); color: var(--noir); }
.btn--dark.btn--dark-gold { box-shadow: inset 0 0 0 1px var(--orange); }   /* variante : contour et rond jaunes (Demo Night) */
.btn--dark-gold .btn__icon { background: var(--orange); }

/* =========================================================
   1. LOADER
   ========================================================= */
body.is-loading { overflow: hidden; }
.loader { position: fixed; inset: 0; z-index: 1000; background-color: #000; display: grid; place-items: center; overflow: hidden; }
.loader__stage { position: relative; z-index: 1; }
/* Travelling avant pendant que le contour se dessine */
.loader__logo { width: min(647px, 80vw); animation: loader-dolly 5s cubic-bezier(.2, .45, .5, .6) both; }   /* le logo grossit encore quand il part en particules (pas de temps mort) */
.loader__logo svg { width: 100%; height: auto; overflow: visible; }
/* Tracé du contour lettre par lettre (--i = rang de la lettre, posé en JS) */
.loader__logo path { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: loader-draw 1.1s cubic-bezier(.65, 0, .35, 1) forwards; animation-delay: calc(.12s + var(--i, 0) * .06s); }
@keyframes loader-dolly { from { transform: scale(.8); } to { transform: scale(1.3); } }
@keyframes loader-draw { to { stroke-dashoffset: 0; } }
@media (max-width: 760px) {   /* mobile : tracé et travelling plus courts */
  .loader__logo { animation-duration: 3s; }
  .loader__logo path { animation-duration: .7s; animation-delay: calc(.06s + var(--i, 0) * .035s); }
}
/* Sortie : le fond noir ET le contour du logo sont redessinés en particules sur le canvas,
   puis se dissolvent ensemble en flottant doucement (même mouvement pour tout) */
.loader.is-exiting { background-color: transparent; pointer-events: none; }
.loader.is-exiting .loader__logo { visibility: hidden; }
.loader__particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* =========================================================
   2. NAV (fixe, passe au-dessus des cartes)
   ========================================================= */
/* Comportement (piloté par js/main.js) :
   - en haut de page : une seule pilule pleine largeur, calée sur les marges de la page
     (logo + liens à gauche, boutons à droite) ;
   - au scroll : elle se resserre (effet liquide) en une pilule centrée, réduite au maximum ;
   - scroll vers le bas : le menu sort par le haut · scroll vers le haut : il revient.
   La pilule = UN seul calque (.nav__glass : blanc opaque en pleine largeur, verre liquide en pastille) qui se resserre,
   et 2 zones de contenu (.pos-l / .pos-r) qui suivent exactement ses bords. */
.nav-wrap {
  --liquid: cubic-bezier(.55, -0.02, .25, 1.04);   /* courbe du resserrement (rebond très léger) */
  --dur: .95s;                                     /* durée du resserrement */
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; pointer-events: none;
  padding-top: 20px;
  transition: transform .6s cubic-bezier(.22, .8, .2, 1);
}
/* Rangement doux, déclenché seulement une fois la fusion terminée (voir JS) */
.nav-wrap.is-hidden { transform: translateY(calc(-100% - 12px)); transition: transform 1.1s cubic-bezier(.45, .05, .2, 1); }
.nav__defs { position: absolute; width: 0; height: 0; }
.nav {
  --m: max(16px, calc(83 * var(--u) - 40px));   /* marge : le logo s'aligne sur le texte du hero */
  --h: 70px; --r: 35px;
  position: relative; height: var(--h);
}
.pos-l, .pos-r {
  position: absolute; top: 0; height: var(--h); border-radius: var(--r);
  transition: transform var(--dur) var(--liquid), width var(--dur) var(--liquid), border-radius .15s linear;
}
/* Moitié gauche = toute la largeur sauf les boutons ; moitié droite = les boutons (mesurés en JS) */
.pos-l { left: var(--m); width: calc(100% - 2 * var(--m) - var(--wr, 440px)); border-top-right-radius: 0; border-bottom-right-radius: 0; }
.pos-r { right: var(--m); width: var(--wr, 440px); border-top-left-radius: 0; border-bottom-left-radius: 0; }
/* État resserré (largeurs et déplacements calculés en JS) */
.nav.is-compact .pos-l, .nav.is-compact .pos-r {
  transition: transform var(--dur) var(--liquid), width var(--dur) var(--liquid), border-radius .2s linear calc(var(--dur) * .7);
}
.nav.is-compact .pos-l { transform: translateX(var(--dxl, 0px)); width: var(--wlc, 520px); border-top-right-radius: 0; border-bottom-right-radius: 0; }
.nav.is-compact .pos-r { transform: translateX(var(--dxr, 0px)); border-top-left-radius: 0; border-bottom-left-radius: 0; }

/* Verre « liquid glass » : un seul calque pour toute la pilule (plus aucune trace de 2 bulles).
   Il suit les bords des 2 zones de contenu : même départ, même largeur totale, même courbe. */
.nav__glass { position: absolute; top: 0; left: var(--m); width: calc(100% - 2 * var(--m)); height: var(--h); border-radius: var(--r); pointer-events: none;
  background: var(--lg-sheen), rgba(255,255,255,.74);
  -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: 0 10px 22px -8px rgba(0,0,0,.14), var(--lg-shadow);
  transition: transform var(--dur) var(--liquid), width var(--dur) var(--liquid); }
.nav__glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--lg-rim); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.nav.is-compact .nav__glass { transform: translateX(var(--dxl, 0px)); width: calc(var(--wlc, 520px) + var(--wr, 440px)); }
/* Menu large : fond blanc opaque · en pastille (.is-compact) : le blanc s'efface en fondu et laisse le verre liquide */
.nav__glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--blanc); pointer-events: none; transition: opacity .5s ease; }
.nav.is-compact .nav__glass::after { opacity: 0; transition-delay: .1s; }
/* Contenu */
.nav__pill { display: flex; align-items: center; pointer-events: auto; }
.nav__pill--l { padding: 0 41px 0 40px; }
.nav__pill--r { padding: 0 22px 0 25px; gap: 15px; justify-content: flex-end; }
.nav__logo img { width: 176px; height: auto; }
.nav__links { display: flex; gap: 41px; margin-left: 41px; font-size: 16px; font-weight: 500; white-space: nowrap; }
.nav-btn--black { height: 40px; background: var(--noir); color: var(--blanc); }
.nav-btn { position: relative; isolation: isolate; overflow: hidden; --ox: calc(100% - 22px); flex: none; display: inline-flex; align-items: center; padding: 0 25px; border-radius: 999px; font-size: 16px; font-weight: 500; white-space: nowrap; }   /* même survol « Encre », depuis le bout droit */
.nav-btn--black > .btn__ink { background: var(--blanc); color: var(--noir); box-shadow: inset 0 0 0 1.5px var(--noir); }
.nav-btn--gold > .btn__ink { background: var(--blanc); color: var(--noir); box-shadow: inset 0 0 0 1.5px var(--noir); }
.nav-btn--gold { height: 40px; padding: 0 24.5px; background: var(--orange); }
.nav__account { display: block; width: 42px; height: 42px; color: var(--noir); }
/* Avatar : visage en pâte à modeler violette, découpé en calques dans la même image (tête, yeux, 2 sourcils, bouche, nez).
   JS (partie 2c) : --fx / --fy = décalage des traits vers la souris, --hx / --hy / --rot = la tête bouge et pivote un peu,
   --brow (0 → 1) = la souris approche : le sourcil droit se lève, le gauche se fronce un peu, la bouche se pince (air intrigué). */
.clay-face { position: relative; display: block; width: 100%; height: 100%; filter: drop-shadow(0 2px 2px rgba(0,0,0,.2));
  transform: translate(calc(var(--hx, 0) * 1px), calc(var(--hy, 0) * 1px)) rotate(calc(var(--rot, 0) * 1deg)); transition: scale .4s cubic-bezier(.34, 1.56, .64, 1); }
.clay-face img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
 .nav__account:focus-visible .clay-face, .nav__acct.is-open .clay-face { scale: 1.18; }
@media (hover: hover) { .nav__account:hover .clay-face, .nav__acct:hover .clay-face { scale: 1.18; } }   /* survol : le visage grossit (le rond du curseur passe dessous) */
.clay-face__clip { position: absolute; inset: 0; clip-path: circle(47% at 50% 50%); }   /* les traits ne sortent jamais de la tête */
.cf { --tx: calc(var(--fx, 0) * 1px); --ty: calc(var(--fy, 0) * 1px); transform: translate(var(--tx), var(--ty)); }
.cf-nez { transform: translate(calc(var(--tx) * 1.35), calc(var(--ty) * 1.35)); }   /* le nez dépasse : il bouge plus */
.cf-brow-d { transform-origin: 73.4% 29.7%; transform: translate(var(--tx), calc(var(--ty) - var(--brow, 0) * 3.2px)) rotate(calc(var(--brow, 0) * 9deg)); }
.cf-brow-g { transform-origin: 28.4% 29.9%; transform: translate(var(--tx), calc(var(--ty) + var(--brow, 0) * .8px)) rotate(calc(var(--brow, 0) * 6deg)); }
.cf-bouche { transform-origin: 50.4% 65%; transform: translate(var(--tx), var(--ty)) scale(calc(1 - var(--brow, 0) * .3), calc(1 - var(--brow, 0) * .12)); }
/* Menu du compte : petite carte blanche qui tombe sous la tête au survol (ou au 1er toucher, JS partie 2c).
   Un pont invisible (::after) relie la tête et la carte pour que la souris puisse descendre sans la refermer. */
.nav__acct { position: relative; flex: none; }
.nav__acct::after { content: ""; position: absolute; top: 100%; right: -16px; width: 250px; height: 32px; }
.nav__acct:not(:hover):not(.is-open):not(:focus-within)::after { pointer-events: none; }
.acct-menu { position: absolute; top: calc(100% + 26px); right: -12px; z-index: 2; width: 236px; padding: 14px 12px 12px; border-radius: 24px; background: var(--blanc);
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.06); display: grid; gap: var(--btn-gap);   /* même écart entre les boutons que partout */
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.96); transform-origin: calc(100% - 33px) 0;
  transition: opacity .18s ease, transform .3s ease, visibility 0s linear .3s; }
 .nav__acct:focus-within .acct-menu, .nav__acct.is-open .acct-menu { opacity: 1; visibility: visible; transform: none;
  transition: opacity .2s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1), visibility 0s; }
@media (hover: hover) { .nav__acct:hover .acct-menu { opacity: 1; visibility: visible; transform: none;
  transition: opacity .2s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1), visibility 0s; } }
.acct-menu__title { margin-bottom: calc(8px - var(--btn-gap)); padding: 0 10px 2px; font-size: 11px; font-weight: 500; line-height: 16px; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-secondaire); }   /* contraste AA */
.acct-menu .nav-btn { width: 100%; height: 42px; justify-content: center; }
.acct-menu__login { background: var(--blanc); color: var(--noir); box-shadow: inset 0 0 0 1.5px var(--noir); }
.acct-menu__login > .btn__ink { background: var(--noir); color: var(--blanc); }
.acct-menu__signup { background: var(--violet); color: var(--noir); }   /* même violet que les boutons « Voir tous les films » */
.acct-menu__signup > .btn__ink { background: var(--blanc); color: var(--noir); box-shadow: inset 0 0 0 1.5px var(--noir); }
.nav__links-ctas { display: none; }
.nav__account-icon { display: none; }   /* icône de profil plate : mobile seulement (voir plus bas) */   /* boutons du menu dans le burger (mobile seulement) */
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--noir); place-items: center; align-content: center; gap: 5px; transition: background .25s, color .25s; }
 .nav.is-open .nav__burger { background: var(--noir); color: var(--blanc); }
@media (hover: hover) { .nav__burger:hover { background: var(--noir); color: var(--blanc); } }   /* se remplit au survol et quand le menu est ouvert */
.nav__burger span { display: block; width: 18px; height: 2px; border-radius: 1px; background: currentColor; margin-inline: auto; }

/* =========================================================
   3. HERO
   ========================================================= */
/* Le hero occupe tout le premier écran : « Prochaine édition » n'apparaît qu'au scroll.
   Le contenu est centré verticalement sous la nav (nav = 16 + 80 px). */
/* Texte calé à gauche de l'écran (83 px à 1440 et au-delà), cartes calées à droite */
.hero { position: relative; z-index: 0; overflow-x: clip; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 132px 0 48px calc(83 * var(--u)); }

/* Carrousel arrondi : 10 films sur un cercle qui passe par les emplacements des rectangles gris de la maquette
   (même taille 457 × 285). La moitié droite du cercle est hors écran. Réglages en haut de la partie 4 de main.js. */
.hero__reel { position: absolute; inset: 0; pointer-events: none; }
/* --rk = échelle des miniatures (posée en JS) : 1 à 1440 × 900, plus grande sur les grands écrans */
.reel-card { position: absolute; left: 0; top: 0; width: calc(457px * var(--rk, 1)); aspect-ratio: 457 / 285; padding: 0; border: 0; border-radius: calc(18px * var(--rk, 1)); background: var(--gris-carte); box-shadow: calc(-20px * var(--rk, 1)) calc(24px * var(--rk, 1)) calc(70px * var(--rk, 1)) rgba(0,0,0,.22); pointer-events: auto; cursor: pointer; will-change: transform, opacity; transition: box-shadow .4s ease; }
.reel-card__img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; transition: filter .3s; }
/* Les affiches de départ (index.html) ne s'affichent pas le temps que js/live.js mette celles des films de la base
   (première image de leur extrait) : sinon on voit passer d'autres images. Sans données au bout de 3 s, elles s'affichent. */
#reel:not(.is-filled) .reel-card__img { opacity: 0; animation: reel-img-in .4s 3s forwards; }
#reel.is-filled .reel-card__img { animation: reel-img-in .4s both; }
@keyframes reel-img-in { from { opacity: 0; } to { opacity: 1; } }
.reel-card img { pointer-events: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.hero__reel.is-dragging, .hero__reel.is-dragging .reel-card { cursor: grabbing; }
/* Zone de survol élargie à droite pendant le survol (la carte grandit et part à gauche : la souris reste dessus) */
.reel-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.reel-card.is-hover::after { inset: -8px calc(-72px * var(--rk, 1)) -8px -8px; }
.reel-card.is-hover { box-shadow: calc(-24px * var(--rk, 1)) calc(30px * var(--rk, 1)) calc(80px * var(--rk, 1)) rgba(0,0,0,.3); }
/* Prix : médaille en pâte à modeler qui apparaît au survol */
.reel-card__medal { position: absolute; top: calc(-24px * var(--rk, 1)); right: calc(-14px * var(--rk, 1)); width: calc(64px * var(--rk, 1)); height: auto; opacity: 0; transform: scale(.4) rotate(-25deg); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), opacity .2s; filter: drop-shadow(0 6px 8px rgba(0,0,0,.3)); pointer-events: none; }
/* Étiquette noire compacte : titre + édition · prix (Cabinet Regular, blanc) */
.reel-card__label { position: absolute; left: calc(12px * var(--rk, 1)); bottom: calc(12px * var(--rk, 1)); display: flex; flex-direction: column; padding: 5px 10px 6px; border-radius: 9px; background: #000; color: #fff; font-size: calc(11px * clamp(1, var(--rk, 1), 1.3)); font-weight: 400; line-height: 1.3; text-align: left; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.reel-card__label b { font-size: calc(13px * clamp(1, var(--rk, 1), 1.3)); font-weight: 400; }
.reel-card__label span { color: var(--texte-sur-noir); }
.reel-card.is-hover .reel-card__medal, .reel-card:focus-visible .reel-card__medal { opacity: 1; transform: scale(1) rotate(-8deg); }
.reel-card.is-hover .reel-card__label, .reel-card:focus-visible .reel-card__label { opacity: 1; transform: none; }
.reel-card:focus-visible { outline: 2px solid var(--noir); outline-offset: 4px; }
/* Le bloc texte laisse passer les clics vers le carrousel, sauf sur ses boutons */
.hero__content { position: relative; pointer-events: none; }
.hero__content a, .hero__content button { pointer-events: auto; }
/* Boldonse : capitales = 1.19em → interligne en px */
/* 58 px à 1440, réduit sur les écrans plus étroits pour ne pas passer sous les cartes */
.hero__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, calc(66 * var(--u)), 58px); line-height: 1.724; text-transform: uppercase; white-space: nowrap; }
.clay-word { display: inline-flex; align-items: flex-end; gap: 1px; margin-left: .17em; vertical-align: baseline; pointer-events: auto; }
.clay-word img { height: 1.276em; width: auto; margin-bottom: -1px; transform-origin: 50% 90%; }
.hero__sub { margin-top: clamp(24px, 4.6vh, 43.5px); font-size: 20px; font-weight: 700; line-height: 32px; text-transform: uppercase; text-wrap: balance; }
.hero__ctas { margin-top: clamp(32px, 6vh, 56px); display: flex; flex-wrap: wrap; gap: var(--btn-gap); }

/* =========================================================
   4. PROCHAINE ÉDITION
   Bloc à encoche (masque CSS) + bulle J-x posée dans l'encoche.
   Réglages : --nw / --nh = taille de l'encoche, --r = arrondis extérieurs,
   --ri = arrondi convexe de l'encoche, --rc = congé concave.
   ========================================================= */
.next { position: relative; z-index: 1; padding-inline: max(16px, calc(56.5 * var(--u))); padding-top: 2px; }
.next__wrap { --nw: 192px; --nh: 144px; --r: 28px; --ri: 20px; --rc: 22px; position: relative; }

.next__panel {
  color: var(--blanc);
  background: radial-gradient(120% 125% at 18% 0%, #2F2F2F 0%, #161616 36%, #000 72%);
  border-radius: var(--r);
  padding: 50px 47px 36px 63px;
  -webkit-mask:
    linear-gradient(#000 0 0) left 0 top 0 / calc(100% - var(--nw) - var(--ri)) 100% no-repeat,
    linear-gradient(#000 0 0) right var(--nw) bottom 0 / var(--ri) calc(100% - var(--ri)) no-repeat,
    radial-gradient(circle at 0 100%, #000 calc(var(--ri) - .5px), #0000 var(--ri)) right var(--nw) top 0 / var(--ri) var(--ri) no-repeat,
    linear-gradient(#000 0 0) right var(--r) bottom 0 / calc(var(--nw) - var(--r)) calc(100% - var(--nh)) no-repeat,
    linear-gradient(#000 0 0) right 0 bottom 0 / var(--r) calc(100% - var(--nh) - var(--r)) no-repeat,
    radial-gradient(circle at 0 100%, #000 calc(var(--r) - .5px), #0000 var(--r)) right 0 top var(--nh) / var(--r) var(--r) no-repeat,
    radial-gradient(circle at 100% 0, #0000 calc(var(--rc) - .5px), #000 var(--rc)) right calc(var(--nw) - var(--rc)) top calc(var(--nh) - var(--rc)) / var(--rc) var(--rc) no-repeat;
          mask:
    linear-gradient(#000 0 0) left 0 top 0 / calc(100% - var(--nw) - var(--ri)) 100% no-repeat,
    linear-gradient(#000 0 0) right var(--nw) bottom 0 / var(--ri) calc(100% - var(--ri)) no-repeat,
    radial-gradient(circle at 0 100%, #000 calc(var(--ri) - .5px), #0000 var(--ri)) right var(--nw) top 0 / var(--ri) var(--ri) no-repeat,
    linear-gradient(#000 0 0) right var(--r) bottom 0 / calc(var(--nw) - var(--r)) calc(100% - var(--nh)) no-repeat,
    linear-gradient(#000 0 0) right 0 bottom 0 / var(--r) calc(100% - var(--nh) - var(--r)) no-repeat,
    radial-gradient(circle at 0 100%, #000 calc(var(--r) - .5px), #0000 var(--r)) right 0 top var(--nh) / var(--r) var(--r) no-repeat,
    radial-gradient(circle at 100% 0, #0000 calc(var(--rc) - .5px), #000 var(--rc)) right calc(var(--nw) - var(--rc)) top calc(var(--nh) - var(--rc)) / var(--rc) var(--rc) no-repeat;
}
/* Bandeau entièrement cliquable : le lien couvre tout le bloc, le texte laisse passer le clic, les boutons restent cliquables */
.next__link { position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.next__link:focus-visible { outline: 2px solid var(--violet); outline-offset: -6px; }
.next__head, .next__body { position: relative; z-index: 1; pointer-events: none; }
.next__head { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 23px; row-gap: 14px; padding-right: var(--nw); }
/* Titre : 40 px à 1440, réduit avec la largeur d'écran (26 px mini) */
.next__title { flex: none; font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, calc(40 * var(--u)), 40px); line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.next__date { position: relative; flex: 1 1 300px; max-width: 441px; min-width: 0; padding: 9px 0 0 6px; font-size: 20px; line-height: 24px; }
.next__date b { font-weight: 700; }
/* La ligne est là dès le départ ; la date sort de dessous la ligne (masquée au-dessus) */
.next__date::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255,255,255,.6); transform-origin: 0 50%; }
.next__date-clip { display: block; overflow: hidden; margin-top: -9px; padding-top: 9px; }
.next__date-in { display: block; }
/* Listes + boutons.
   Par défaut les boutons passent SOUS les listes, alignés à gauche, avec le même écart
   qu'entre deux lignes de texte (calculé depuis --list-fs / --list-lh).
   Quand il y a la place (bloc ≥ 1065 px), ils remontent à droite comme sur la maquette. */
.next__body { --list-fs: 18px; --list-lh: 36px; container: next-body / inline-size; display: flex; align-items: flex-end; flex-wrap: wrap; column-gap: 40px; margin-top: 41px; }
.next__list { flex: none; font-size: var(--list-fs); line-height: var(--list-lh); text-transform: uppercase; }
.next__list li { white-space: pre; }
/* Infos et prix : intitulé en petites capitales grises, valeur en blanc (même hiérarchie sur ordinateur et mobile).
   L'intitulé a un interligne de 1 : seule la valeur fixe la hauteur des lignes → les deux colonnes restent alignées */
.next__list i { display: none; }
.next__list span { font-size: 13px; line-height: 1; letter-spacing: .1em; color: var(--texte-sur-noir); }
.next__list b { font-weight: 400; }
/* ordinateur : deux colonnes dans chaque liste, valeurs alignées à gauche, même graisse pour les infos et les montants */
.next__list--facts, .next__list--prizes { display: grid; grid-template-columns: max-content auto; column-gap: 32px; align-items: baseline; }
.next__list--facts li, .next__list--prizes li { display: contents; }
.next__list--prizes b { font-variant-numeric: tabular-nums; }
.next__list:first-child { flex: 0 1 417px; min-width: max-content; }
.next__ctas { pointer-events: auto; flex: 1 0 100%; display: flex; flex-wrap: wrap; gap: var(--btn-gap); margin-top: calc(var(--list-lh) / 2 - .375 * var(--list-fs)); }
@container next-body (min-width: 1065px) {
  .next__ctas { flex: none; margin: 0 0 10px auto; }
}

.next__badge { --bw: calc(var(--nw) - 40px); --bh: calc(var(--nh) - 33px); --br: 20px;
  position: absolute; top: 0; right: 0; width: var(--bw); height: var(--bh); display: grid; place-items: center; background: #000; border: 1px solid #000; border-radius: var(--br); }

/* Apparition au scroll (JS : .is-pending → .is-in, .is-gooing pendant l'effet liquide)
   1. le bloc monte en douceur (sans rebond) · 2. la bulle J-x remplit l'encoche puis s'en détache
   (filtre goo) · 3. la date sort de dessous la ligne (déjà tracée) */
.next.is-pending .next__wrap { opacity: 0; }
.next.is-pending .next__date-in { transform: translateY(calc(-100% - 12px)); }
.next.is-in .next__wrap { transform-origin: 50% 100%; animation: next-jelly .9s cubic-bezier(.22, 1, .36, 1) both; }
.next.is-in .next__badge { animation: badge-detach 1s cubic-bezier(.65, 0, .35, 1) .4s both; }
.next.is-in .next__date-in { animation: date-drop .8s cubic-bezier(.2, .8, .2, 1) 1.6s both; }   /* après l'effet gluant */
.next.is-gooing .next__wrap { filter: url(#goo-next); }
@keyframes next-jelly {
  0%   { opacity: 0; transform: translateY(40px) scale(.98, .9); }
  45%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes badge-detach {
  0%   { width: var(--nw); height: var(--nh); border-radius: 0 var(--r) 0 0; }
  100% { width: var(--bw); height: var(--bh); border-radius: var(--br); }
}
@keyframes date-drop { from { transform: translateY(calc(-100% - 12px)); } }   /* 12 px = marge sous la ligne : rien ne dépasse au départ */
/* J-x : contour en dégradé (SVG, le dégradé suit la largeur du texte) */
.countdown-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.countdown { font-family: var(--f-display); font-size: 32px; fill: none; stroke: url(#cd-grad); stroke-width: 1.2px; }

/* =========================================================
   5. PROMPT (plein écran)
   ========================================================= */
.prompt { position: relative; overflow: clip; margin-top: 66px; height: 210vh; background: #000; }   /* haute : place pour la séquence cinéma (raccourcie : ~1,1 écran de scroll) */
.prompt__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden;
  /* fond de départ (bulle de prompt) : grille de points discrète, calée sur celle du balayage ; noir pur dès la séquence cinéma */
  background: radial-gradient(#262626 1px, transparent 1.6px) 4px -13px / 27px 27px, #000; }
.prompt.is-cinema .prompt__stage, .prompt.is-gallery .prompt__stage { background: #000; }
/* Grille de points révélée par une bande en biais qui balaie le fond (bords dégradés).
   La grille n'est jamais visible en entier. Réglages : angle (110deg), largeur de bande (38–62 %), durée (9s). */
.prompt__stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s ease;
  background-image: radial-gradient(#3A3A3A 1px, transparent 1.6px); background-size: 27px 27px; background-position: 4px -13px;
  -webkit-mask: linear-gradient(110deg, #0000 38%, #000 46%, #000 54%, #0000 62%) 100% 0 / 300% 100% no-repeat;
          mask: linear-gradient(110deg, #0000 38%, #000 46%, #000 54%, #0000 62%) 100% 0 / 300% 100% no-repeat;
  animation: dot-band 9s ease-in-out infinite paused; }
/* La grille apparaît quand le texte a fini de s'écrire : elle balaie l'écran une fois (le curseur clique pendant ce temps) */
.prompt.is-grid .prompt__stage::before { opacity: 1; animation-duration: 1.5s; animation-iteration-count: 1; animation-fill-mode: both; animation-play-state: running; }   /* 1 seul passage (≈1,1 s), jamais en boucle, avant la séquence cinéma */
.prompt.is-cinema .prompt__stage::before { opacity: 0; }
@keyframes dot-band {
  0%        { -webkit-mask-position: 82% 0; mask-position: 82% 0; }
  75%, 100% { -webkit-mask-position: 0% 0;   mask-position: 0% 0; }
}
/* Prompt : un champ sombre translucide (le texte s'écrit tout seul, rien à remplir) et le bouton « Générer » à côté,
   sans cadre autour (une version « formulaire » faisait penser à un champ e-mail à remplir) */
.bubble { position: relative; z-index: 4; translate: 0 var(--py, 0px); transition: transform .5s cubic-bezier(.2, .7, .3, 1), opacity .3s ease, filter .5s ease;
  display: flex; align-items: center; gap: 24px; }
/* Champ et bouton en pâte à modeler (images Arcads détourées). Le champ est découpé en 3 morceaux (border-image) :
   les deux bouts arrondis gardent leur forme, seul le milieu s'étire quelle que soit la largeur du champ. */
.bubble__field { width: 396px; height: 68px; display: flex; align-items: center; padding-left: 16px;
  border-style: solid; border-color: transparent; border-width: 0 20px; border-image: url("../assets/clay/bulle/champ.webp") 0 60 fill / 0 20px stretch;
  color: #fff; font-size: 18px; cursor: default; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.bubble__btn { position: relative; width: 152px; height: 68px; border-radius: 18px; background: url("../assets/clay/bulle/bouton.webp") center / 100% 100% no-repeat; color: #000; font-size: 18px; font-weight: 700; }
.bubble__btn::after { content: ""; position: absolute; inset: -2px; border: 2px solid var(--violet); border-radius: 20px; pointer-events: none; opacity: 0; }   /* onde du clic */
.bubble__caret { width: 1px; height: 22px; margin-left: 1px; background: #fff; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
/* « Passer l'animation » : discret, en bas à droite de la scène ; saute directement aux chiffres (JS partie 5) */
.prompt__skip { position: absolute; right: 32px; bottom: 30px; z-index: 6; padding: 8px 4px; font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: .12em; text-transform: uppercase;
  color: var(--texte-sur-noir); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 4px; transition: color .2s, opacity .3s; }
.prompt__skip:focus-visible { color: #fff; outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 4px; }
.prompt.is-cta .prompt__skip { opacity: 0; pointer-events: none; }   /* la séquence est finie : plus rien à passer */
.stats:focus { outline: none; }
/* « Scroll » en bas de l'écran (opacité --sh posée en JS) : un trait vertical où descend un petit point */
.prompt__scroll { position: absolute; left: 50%; bottom: 34px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; translate: -50% 0;
  opacity: var(--sh, 0); pointer-events: none; font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-sur-noir); }
/* pendant la séquence cinéma (écran noir, bandes, mur) : « Scroll » revient, au-dessus des bandes, jusqu'au bouton final */
.prompt.is-cinema .prompt__scroll { z-index: 5; opacity: 1; transition: opacity .4s ease .75s; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 14px rgba(0,0,0,.8); }   /* lisible sur le mur de films */
.prompt.is-cinema .prompt__scroll i { background: rgba(255,255,255,.35); box-shadow: 0 0 10px rgba(0,0,0,.8); }
.prompt.is-cinema.is-cta .prompt__scroll { opacity: 0; transition: opacity .25s ease; }
.prompt__scroll span { margin-right: -.22em; }   /* compense l'espacement après la dernière lettre : texte bien centré */
.prompt__scroll i { position: relative; width: 1px; height: 38px; overflow: hidden; background: rgba(255,255,255,.18); }
.prompt__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--violet); animation: scroll-hint 1.6s cubic-bezier(.6, 0, .4, 1) infinite; }
@keyframes scroll-hint { from { transform: translateY(-14px); } to { transform: translateY(38px); } }
/* Clic du curseur sur « Générer » */
/* Clic automatique bien marqué : le bouton s'enfonce, rebondit, et une onde lavande part autour */
.bubble.is-clicked .bubble__btn { animation: gen-press .65s cubic-bezier(.3, .7, .4, 1); }
.bubble.is-clicked .bubble__btn::after { animation: gen-ring .9s ease-out .1s; }
@keyframes gen-press { 0% { transform: scale(1); } 22% { transform: scale(.86); filter: brightness(.82); } 55% { transform: scale(1.07); filter: brightness(1.08); } 100% { transform: scale(1); } }
@keyframes gen-ring { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.3, 1.65); } }   /* anneau lavande qui s'élargit en s'effaçant */

/* ---------- Séquence cinéma (après « Générer ») ----------
   1. la bulle est aspirée au centre (flash lumineux) · 2. écran noir : la fente entre les deux bandes s'ouvre
   3. le mur de films en plein écran (canvas WebGL : grandes miniatures au centre, lentille, glow, aberration
   chromatique violette / jaune floue dans les coins), il flotte · 4. au scroll, les bandes se referment
   5. le bouton apparaît en « pop » ; la suite de la page ne défile qu'ensuite. Hauteur des bandes (--bar) posée en JS. */
/* La bulle est aspirée vers le centre : elle rétrécit en accélérant, se floute et s'efface à la fin (sans rotation).
   Ensuite l'écran est noir, la fente entre les bandes s'ouvre sur le mur de films (0,72 s, SUCK dans main.js). */
.prompt.is-cinema .bubble { transform: scale(.02); filter: blur(3px); opacity: 0; pointer-events: none;
  transition: transform .75s cubic-bezier(.6, 0, .85, .15), opacity .3s ease .5s, filter .75s ease; }
.cine__wall { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.prompt.is-cinema .cine__wall { opacity: 1; transition: opacity 0s linear .78s; }   /* caché derrière les bandes fermées */
.prompt.is-picking .prompt__stage { cursor: pointer; }   /* survol d'un film du mur : cliquable */
.prompt.is-cinema.is-cta .cine__wall { opacity: 0; transition: opacity .3s ease; }   /* plus aucune miniature visible derrière le bouton */
.cine__flash { position: absolute; left: 50%; top: 50%; z-index: 4; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff 0%, rgba(218,205,255,.85) 30%, rgba(249,182,77,.35) 55%, rgba(249,182,77,0) 72%); }
.prompt.is-cinema .cine__flash { animation: cine-flash .9s ease-out .5s both; }   /* au-dessus des bandes : la lumière où la bulle a disparu */
@keyframes cine-flash { 0% { opacity: 0; transform: scale(0); } 25% { opacity: 1; transform: scale(2.2); } 100% { opacity: 0; transform: scale(16); } }
.prompt.is-instant .bubble, .prompt.is-instant .cine__flash { transition: none; animation: none; }   /* retour par le bas : pas d'aspiration */
.cine__bar { position: absolute; left: 0; right: 0; z-index: 3; height: calc(var(--bar, 0) * 1%); background: #000; pointer-events: none; }
.cine__bar--top { top: 0; } .cine__bar--bot { bottom: 0; }
.cine__cta { position: absolute; left: 50%; top: 50%; z-index: 4; width: max-content; white-space: nowrap; opacity: 0; transform: translate(-50%, -50%) scale(0); pointer-events: none; }
.prompt.is-cta .cine__cta { animation: cta-pop .65s cubic-bezier(.34, 1.56, .64, 1) both; pointer-events: auto; }
@keyframes cta-pop { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0); } 50% { opacity: 1; } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* =========================================================
   Zone claire à pois (chiffres + logos)
   ========================================================= */
.light-zone { position: relative; isolation: isolate; overflow-x: clip; }
/* Pois seulement derrière la section chiffres : ils s'estompent en dégradé avant « Ils nous font déjà confiance » */
.light-zone::before { content: ""; position: absolute; inset: 0 0 auto; height: var(--dots-h, 60%); z-index: -1; background-image: radial-gradient(#BDBDBD 1px, transparent 1.6px); background-size: 27px 27px; background-position: 2px 9px; -webkit-mask: linear-gradient(#000 70%, transparent 100%); mask: linear-gradient(#000 70%, transparent 100%); }

/* =========================================================
   6. CHIFFRES — forme fluide = bloc A (haut gauche) + bloc B (bas droite) + 2 congés
   Le dégradé et le grain sont calés sur toute la largeur de la forme (942)
   pour être continus d'un bloc à l'autre.
   ========================================================= */
/* La section occupe un écran entier, la forme est centrée verticalement */
.stats { position: relative; overflow-x: clip; min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding: 90px 0; }
.stats__inner { position: relative; z-index: 1; width: 100%; max-width: 1440px; margin-inline: auto; }
/* --chh = hauteur de la forme (JS) : 256 à l'échelle, ou plus si les textes ont besoin de place (marge intérieure garantie) */
.stats__card { position: relative; margin-left: calc(216 * var(--u)); width: calc(942 * var(--u)); height: var(--chh, calc(256 * var(--u))); transform: translate3d(0, var(--par, 0px), 0);
  /* Encoche bas gauche calée sur le bouton (taille fixe, mesurée en JS) + marge fixe :
     --cw / --ch = taille du bouton, --gap = marge entre le bouton et la forme */
  --cw: 220px; --ch: 50px; --gap: 24px;
  --bl: calc(var(--cw) + var(--gap));                         /* bord gauche du bloc B */
  --ah: calc(var(--chh, calc(256 * var(--u))) - var(--ch) - var(--gap));   /* hauteur du bloc A */
}
/* Parallaxe (JS : --par / --par2 / --par3) : la forme glisse plus vite que la grille de points du fond,
   l'ordi et le pouce encore plus vite (plus « proches »). Ombre douce sous la forme. */
.stats__shape { filter: drop-shadow(0 calc(26 * var(--u)) calc(30 * var(--u)) rgba(0,0,0,.13)); }
.stats__layer { position: absolute; inset: 0; pointer-events: none; transform: translate3d(0, var(--par2, 0px), 0); }
.stats__layer--thumb { transform: translate3d(0, var(--par3, 0px), 0); }

.sh { position: absolute; display: block; background-image: var(--noise), var(--degrade-chiffres); background-size: 200px, calc(942 * var(--u)) 100%; background-blend-mode: overlay, normal; background-repeat: repeat, no-repeat; }
/* Bloc A : son bord gauche (--al, calculé en JS) est placé pour que la marge intérieure à gauche
   (bord → « 1,3M ») soit égale à celle de droite (dernier chiffre → bord du bloc B).
   Le bouton, lui, reste calé à gauche : il peut dépasser du bloc A. */
.sh-a  { left: var(--al, 0px); top: 0; width: calc(530 * var(--u) - var(--al, 0px)); height: var(--ah); border-radius: calc(30 * var(--u));
         background-position: calc(-1 * var(--al, 0px)) 0, calc(-1 * var(--al, 0px)) 0; }
.sh-b  { left: var(--bl); top: calc(47 * var(--u)); width: calc(942 * var(--u) - var(--bl)); height: calc(var(--chh, calc(256 * var(--u))) - 47 * var(--u)); border-radius: calc(30 * var(--u)); background-position: calc(-1 * var(--bl)) calc(-47 * var(--u)), calc(-1 * var(--bl)) 0; }
.sh-f1 { left: calc(530 * var(--u)); top: calc(19 * var(--u)); width: calc(28 * var(--u)); height: calc(28 * var(--u)); background-position: calc(-530 * var(--u)) calc(-19 * var(--u)), calc(-530 * var(--u)) 0;
         -webkit-mask: radial-gradient(circle at 100% 0, #0000 calc(28 * var(--u) - .5px), #000 calc(28 * var(--u))); mask: radial-gradient(circle at 100% 0, #0000 calc(28 * var(--u) - .5px), #000 calc(28 * var(--u))); }
.sh-f2 { left: calc(var(--bl) - 28 * var(--u)); top: var(--ah); width: calc(28 * var(--u)); height: calc(28 * var(--u)); background-position: calc(28 * var(--u) - var(--bl)) calc(-1 * var(--ah)), calc(28 * var(--u) - var(--bl)) 0;
         -webkit-mask: radial-gradient(circle at 0 100%, #0000 calc(28 * var(--u) - .5px), #000 calc(28 * var(--u))); mask: radial-gradient(circle at 0 100%, #0000 calc(28 * var(--u) - .5px), #000 calc(28 * var(--u))); }

.stats__eyebrow { position: absolute; left: calc(530 * var(--u)); right: 0; top: 0; height: calc(47 * var(--u)); display: grid; place-items: center; font-size: max(12px, calc(18 * var(--u))); font-weight: 700; text-transform: uppercase; white-space: nowrap; }

.stat { position: absolute; transform: translateX(-50%); text-align: center; white-space: nowrap; }
.stat__num { display: block; font-family: var(--f-display); font-size: calc(44 * var(--u)); line-height: 1.2; }
.stat p { margin-top: calc(10 * var(--u)); font-size: max(11px, calc(14 * var(--u))); line-height: 1.22; }
.stat b { font-weight: 700; }
.st-1 { left: calc(214 * var(--u)); top: calc(47 * var(--u)); }
.st-2 { left: calc(355 * var(--u)); top: calc(47 * var(--u)); }
.st-3 { left: calc(487 * var(--u)); top: calc(102 * var(--u)); }
.st-4 { left: calc(632 * var(--u)); top: calc(102 * var(--u)); }
.st-5 { left: calc(811 * var(--u)); top: calc(102 * var(--u)); }

/* Bouton à taille fixe, calé en bas à gauche de la forme (l'encoche s'adapte à lui, voir JS partie 6) */
.stats__cta { position: absolute; left: 0; bottom: 0; }

/* Ordi et pouce : flottent lentement, tournent légèrement au scroll (--spin posé en JS) */
.stats__pc, .stats__thumb { filter: drop-shadow(0 calc(22 * var(--u)) calc(16 * var(--u)) rgba(0,0,0,.16)); }
.stats__pc    { position: absolute; left: calc(-54 * var(--u)); top: calc(-21 * var(--u)); width: calc(185 * var(--u)); height: auto; transform: rotate(5deg); rotate: var(--spin, 0deg); transition: rotate .6s ease-out; animation: float 5.5s ease-in-out infinite alternate; }
.stats__thumb { position: absolute; left: calc(912 * var(--u)); top: calc(134 * var(--u)); width: calc(106 * var(--u)); height: auto; transform: rotate(18deg); rotate: calc(var(--spin, 0deg) * -1.3); transition: rotate .6s ease-out; animation: float 4.6s ease-in-out -2s infinite alternate; }
@keyframes float { from { translate: 0 -6px; } to { translate: 0 7px; } }
/* Éléments en pâte à modeler : ils se tortillent un peu au survol (écrasement / étirement) */
@keyframes clay-wiggle {
  0%   { scale: 1 1; }
  22%  { scale: 1.07 .93; }
  42%  { scale: .95 1.06; }
  62%  { scale: 1.03 .97; }
  80%  { scale: .99 1.01; }
  100% { scale: 1 1; }
}
.stats__layer img { pointer-events: auto; }
@media (hover: hover) { .stats__pc:hover { animation: float 5.5s ease-in-out infinite alternate, clay-wiggle .8s ease-out; } }
@media (hover: hover) { .stats__thumb:hover { animation: float 4.6s ease-in-out -2s infinite alternate, clay-wiggle .8s ease-out; } }
@media (hover: hover) { .clay-word:hover img { animation: clay-wiggle .75s ease-out; } }
@media (hover: hover) { .clay-word:hover img + img { animation-delay: .08s; } }

/* Éléments en pâte à modeler autour des chiffres, à 3 profondeurs (couleurs mélangées des deux côtés) :
   premier plan = grands, flous (hors mise au point), coupés par les bords de la page, parallaxe rapide ;
   plan moyen = nets ; arrière-plan = petit, un peu flou et pâle, derrière la forme, parallaxe lente.
   --pd posé en JS selon data-depth ; ils tournent un peu au scroll (--spin) et se tortillent au survol. */
.stats__deco { position: absolute; pointer-events: none; transform: translate3d(0, var(--pd, 0px), 0); }
.stats__deco img { display: block; width: 100%; height: auto; pointer-events: auto; transition: rotate .6s ease-out; }
.stats__deco--fg  { z-index: 3; filter: blur(5px) drop-shadow(0 30px 26px rgba(0,0,0,.14)); }
.stats__deco--mid { z-index: 2; filter: drop-shadow(0 calc(22 * var(--u)) calc(16 * var(--u)) rgba(0,0,0,.16)); }
.stats__deco--bg  { z-index: -1; opacity: .92; filter: blur(1.2px) drop-shadow(0 10px 8px rgba(0,0,0,.1)); }   /* derrière la forme */
/* premier plan : mégaphone (jaune) à gauche en haut, tourné vers les chiffres · clap (violet, retourné) à droite en bas */
.stats__deco--mega { left: calc(-150 * var(--u)); top: -9%; width: calc(400 * var(--u)); }
.stats__deco--mega img { transform: rotate(14deg); rotate: calc(var(--spin, 0deg) * .6); }
.stats__deco--clap { right: calc(-110 * var(--u)); bottom: -4%; width: calc(360 * var(--u)); }
.stats__deco--clap img { transform: scaleX(-1) rotate(-10deg); rotate: calc(var(--spin, 0deg) * -.7); }
/* plan moyen et arrière-plan : dans .stats__inner, positions par rapport au haut de la forme (unités de maquette)
   ampoule (jaune) en bas à gauche · pop-corn (violet) en haut à droite */
.stats__deco--bulb { left: calc(178 * var(--u)); top: calc(405 * var(--u)); width: calc(87 * var(--u)); }
.stats__deco--bulb img { transform: rotate(14deg); rotate: calc(var(--spin, 0deg) * -.5); }
.stats__deco--pop  { left: calc(1308 * var(--u)); top: calc(-186 * var(--u)); width: calc(125 * var(--u)); }
/* pop-corn : le pot flotte, les grains lancés (2 groupes) flottent chacun à leur rythme au-dessus */
.pop { position: relative; display: block; pointer-events: auto; transform: rotate(-16deg); rotate: calc(var(--spin, 0deg) * .3); transition: rotate .6s ease-out; }
.pop img + img { position: absolute; inset: 0; }
.stats__deco .pop img { pointer-events: none; }
.pop__pot { animation: float 4.6s ease-in-out -1s infinite alternate; }
.pop__a   { animation: pop-float 3.3s ease-in-out infinite alternate; }
.pop__b   { animation: pop-float 4.1s ease-in-out -1.7s infinite alternate-reverse; }
@keyframes pop-float { from { translate: -2px 8px; rotate: -3deg; } to { translate: 4px -18px; rotate: 4deg; } }
@media (hover: hover) { .stats__deco > img:hover, .pop:hover { animation: clay-wiggle .8s ease-out; } }

/* =========================================================
   7. LOGOS
   ========================================================= */
.logos { padding: 170px 0 0; }   /* plus d'air avant « Ils nous font déjà confiance » (sans pois derrière) */
/* Slider infini (logos) : la piste est dupliquée en JS et défile en boucle, pause au survol */
.marquee { overflow: hidden; }   /* pleine largeur : les logos arrivent du bord de l'écran, sans dégradé sur les côtés */
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 30s) linear infinite; }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(calc(-1 * var(--marquee-shift, 50%))); } }
.logos .marquee { margin-top: 60px; }
.logos__row { height: 72px; align-items: center; }
.logos__row > li { flex: none; margin-right: calc(88 * var(--u)); }
.logos__row a { display: block; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), opacity .2s; }
@media (hover: hover) { .logos__row a:hover { transform: scale(1.06); } }
.logos__row img { width: auto; max-width: none; }      /* logos déjà passés en noir (fichiers HD) */
.lg-arcads { height: calc(36 * var(--u)); } .lg-station-f { height: calc(30 * var(--u)); } .lg-hexa { height: calc(40 * var(--u)); } .lg-red-bull { height: calc(58 * var(--u)); } .lg-capcut { height: calc(34 * var(--u)); } .lg-naano { height: calc(32 * var(--u)); } .lg-supabase { height: calc(36 * var(--u)); } .lg-cursor { height: calc(32 * var(--u)); } .lg-paris-creator-week { height: calc(56 * var(--u)); }

/* =========================================================
   8. JURY
   ========================================================= */
.jury { padding: 110px 0 201px; }   /* resserré avec les logos */
/* Slider fixe : flèches à gauche et à droite, la bande défile d'un « écran » de cartes par clic */
.jury__slider { display: flex; align-items: center; gap: 24px; max-width: 1440px; margin: 68.5px auto 0; padding-inline: max(16px, calc(83 * var(--u))); }
/* Fondu sur le bord où il reste des cartes à voir */
/* --vpx : marge de la zone qui défile au-delà des cartes, pour que la lueur ne soit jamais rognée net */
.jury__viewport { --vpx: 28px; --fl: 40px; --fr: 40px; flex: 1; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline: none; padding: 70px var(--vpx); margin: -70px calc(-1 * var(--vpx)); scroll-padding-inline: var(--vpx);
  -webkit-mask: linear-gradient(90deg, #0000, #000 var(--fl), #000 calc(100% - var(--fr)), #0000); mask: linear-gradient(90deg, #0000, #000 var(--fl), #000 calc(100% - var(--fr)), #0000); }
.jury__viewport.is-start { --fl: 0px; }
.jury__viewport.is-end { --fr: 0px; }
.jury__viewport::-webkit-scrollbar { display: none; }
.jury__track { display: flex; gap: 22px; width: max-content; }
.jury__nav { position: relative; z-index: 1; flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--noir); color: var(--noir); transition: background .25s, color .25s, opacity .25s, transform .2s; }
.jury__nav svg { width: 24px; height: 24px; }
.jury__nav--prev svg { transform: scaleX(-1); }
@media (hover: hover) { .jury__nav:hover:not(:disabled) { background: var(--noir); color: var(--blanc); } }
.jury__nav:active:not(:disabled) { transform: scale(.94); }
.jury__nav:disabled { opacity: .22; cursor: default; }
/* La carte : fond blanc sur un calque (::after) pour pouvoir glisser le halo dégradé (::before) derrière */
.jury-card { scroll-snap-align: start; position: relative; isolation: isolate; flex: none; width: 227px; height: 372px; padding: 30px 22px 24px; border-radius: 30px; background: transparent; display: flex; flex-direction: column;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.jury-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #fff; box-shadow: 0 0 0 0 rgba(0,0,0,0); transition: box-shadow .45s ease; }
/* Halo : dégradé violet / orange qui tourne doucement, flouté, visible au survol */
@property --ga { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.jury-card::before { content: ""; position: absolute; inset: 12px; z-index: -2; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--ga), #BBA6FF, #F9B64D, #BBA6FF, #F9B64D, #BBA6FF);
  filter: blur(24px); opacity: 0; transform: scale(.9); transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1);
  animation: jury-glow 6s linear infinite paused; }
@keyframes jury-glow { to { --ga: 360deg; } }
.jury-card__avatar { align-self: center; flex: none; width: 92px; height: 92px; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center;
  font-size: 24px; font-weight: 700; letter-spacing: .02em; transition: transform .55s cubic-bezier(.34, 1.56, .64, 1); }
.jury-card__avatar img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }   /* toujours carrée : une photo en portrait ne s'étire pas en ovale (dans la grille, height: 100 % suit le format de l'image) */
/* Nom sur 2 lignes max (hauteur fixe pour aligner les cartes) */
.jury-card__name { margin-top: 14px; min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; line-height: 22px; text-align: center; text-transform: uppercase; }
.jury-card__role { margin-top: 6px; height: 51px; font-size: 14px; line-height: 17px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jury-card__count { margin-top: 14px; font-size: 20px; font-weight: 700; line-height: 24px; }
.jury-card__count small { margin-left: 5px; font-size: 13px; font-weight: 400; color: var(--texte-secondaire); }
.jury-card__eds { margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--texte-secondaire); }
.jury-card__socials { margin-top: auto; display: flex; gap: 6px; }
.jury-card__socials a { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #EFEFEF; color: var(--noir);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), background .2s, color .2s; }
@media (hover: hover) { .jury-card__socials a:hover { background: var(--noir); color: var(--blanc); } }
.jury-card__socials svg { width: 15px; height: 15px; }
/* Survol : la carte monte, l'avatar rebondit, les réseaux sautillent l'un après l'autre */
@media (hover: hover) { .jury-card:hover { transform: translateY(-10px); } }
@media (hover: hover) { .jury-card:hover::before { opacity: .5; transform: scale(1.03); animation-play-state: running; } }
@media (hover: hover) { .jury-card:hover .jury-card__avatar { transform: scale(1.08) rotate(-4deg); } }
@media (hover: hover) { .jury-card:hover .jury-card__socials a { transform: translateY(-3px); } }
@media (hover: hover) { .jury-card:hover .jury-card__socials a:nth-child(2) { transition-delay: .05s; } }
@media (hover: hover) { .jury-card:hover .jury-card__socials a:nth-child(3) { transition-delay: .1s; } }
@media (hover: hover) { .jury-card:hover .jury-card__socials a:nth-child(4) { transition-delay: .15s; } }

/* =========================================================
   9. ÉDITIONS PRÉCÉDENTES
   ========================================================= */
.editions { background: #000; padding: 120px 16px 73px; }   /* plus d'air au-dessus du titre (ordinateur) */
.editions__title { font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: 48px; text-transform: uppercase; text-align: center; color: #fff; translate: 0 var(--ey, 0px); }
.editions__grid { width: min(1068px, 100%); margin: 57px auto 0; padding-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 76px 48px; }   /* écart large : les rangées ne se touchent pas avec la parallaxe + l'aimant */
.edition-card { position: relative; aspect-ratio: 510 / 289; border-radius: 28px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.1); transform: translate(var(--mx, 0px), var(--my, 0px)); translate: 0 var(--ey, 0px); }   /* --ey : parallaxe en profondeur par rangée (JS) */
.edition-card__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: inherit; }
/* Survol : la carte est « aimantée » par la souris (--mx / --my posés en JS, partie 4f) et un contour en « comète » tourne autour */
.ed-ring { position: absolute; left: -14px; top: -14px; width: calc(100% + 28px); height: calc(100% + 28px); max-width: none; overflow: visible; pointer-events: none; visibility: hidden; }
.edition-card:focus-visible { outline: none; }
.editions__cta { margin-top: 51px; display: flex; justify-content: center; }

/* =========================================================
   10. FOOTER
   ========================================================= */
/* Footer : bloc arrondi, mêmes marges latérales que le bandeau « Prochaine édition » */
.footer { padding: 126px max(16px, calc(56.5 * var(--u))) 41px; }
.footer__panel { position: relative; overflow: hidden; width: 100%; height: 498px; border-radius: 28px; background: radial-gradient(75% 100% at 50% 100%, #3E3E3E 0%, #222 50%, #050505 100%); color: #fff; padding: 80px calc(100% * 96 / 1327) 0; }
/* Hiérarchie : petit texte + réseaux à gauche, puis 4 colonnes (titre en capitales grises + liens) */
.footer__top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 4fr); column-gap: 48px; }
.footer__pitch { max-width: 300px; font-size: 15px; line-height: 1.6; color: var(--texte-sur-noir); }
.footer__socials { margin-top: 22px; display: flex; gap: 10px; }
.footer__socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); color: #fff; transition: background .2s, color .2s; }
@media (hover: hover) { .footer__socials a:hover { background: #fff; color: #000; } }
.footer__socials svg { width: 18px; height: 18px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
.footer__head { font-size: 12px; font-weight: 500; line-height: 16px; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-sur-noir); }   /* contraste AA */
.footer__cols ul { margin-top: 14px; }
.footer__cols li { font-size: 15px; line-height: 30px; }
.footer__cols a { color: rgba(255,255,255,.8); transition: color .2s; }
@media (hover: hover) { .footer__cols a:hover { color: #fff; } }
/* Bas de page, sous le bloc */
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 18px calc(100% * 96 / 1327) 0; font-size: 13px; line-height: 18px; color: var(--texte-secondaire); }   /* contraste 4,8:1 sur le fond gris (AA) */
.footer__credit { color: var(--noir); text-decoration: underline; text-decoration-color: rgba(0,0,0,.3); text-underline-offset: 3px; transition: text-decoration-color .2s; }   /* lien vers le LinkedIn de la créatrice */
@media (hover: hover) { .footer__credit:hover { text-decoration-color: currentColor; } }
.footer__word { position: absolute; left: calc(100% * 34 / 1316); right: calc(100% * 34 / 1316); bottom: calc(-11 * var(--u)); }
.footer__logo { position: relative; width: 100%; height: auto; }
/* Effet glitch (repris du site actuel, couleurs orange / violet) : une « loupe » ronde suit la souris ;
   dedans, deux copies du logo décalées (orange d'un côté, violet de l'autre), d'autant plus que la souris va vite.
   Flou + glow appliqués au groupe, loupe à bord doux ; le calque déborde de 60 px pour que le glow ne soit jamais rogné.
   Le logo du masque est intégré en data: URI (un fichier externe est refusé pour les masques en local et dans l'aperçu). */
.footer__glitch { position: absolute; inset: -60px; pointer-events: none;
  filter: blur(1.8px) drop-shadow(0 0 5px rgba(249,182,77,.8)) drop-shadow(0 0 12px rgba(218,205,255,.55));
  -webkit-mask: radial-gradient(circle var(--gr, 0px) at calc(var(--gx, 50%) + 60px) calc(var(--gy, 50%) + 60px), #000 62%, #0000 100%);
          mask: radial-gradient(circle var(--gr, 0px) at calc(var(--gx, 50%) + 60px) calc(var(--gy, 50%) + 60px), #000 62%, #0000 100%); }
.footer__glitch { --logo-mask: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjU0IiBoZWlnaHQ9Ijc5IiB2aWV3Qm94PSIwIDAgNjU0IDc5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNTE1LjQ0NyA0OS45ODI0TDUwOC40MjkgNzcuODM2Mkw0OTEuOTkyIDc3Lj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1NSAxOS40NzE0IDMxOS41NTUgMjAuODg4QzMyMy44NjQgMjEuNjQxNSAzMjcuMTkgMjQuNTkwNyAzMjguMzgyIDI4Ljg4MzFDMzMwLjEyNyAzNS4xNzE1IDMyOS4wNDEgNDEuOTA2MSAzMjYuMDA0IDQ3Ljc4MzVMMzEwLjI0OSA0Ny43ODEzQzMxMi4yOSA0NS4yMzUgMzEzLjU5NyA0Mi42MTg2IDMxNC4wNzggMzkuNTYyOEMzMTQuMTgyIDM4LjAxNzUgMzE0LjAyNyAzNi41MzYzIDMxMy40MTkgMzUuMTc5MUMzMTIuNjc1IDMzLjkyNzIgMzExLjYzMyAzMy4xNTM0IDMxMC4xNDIgMzIuOTgyNFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo="); }
.fg { position: absolute; inset: 60px; -webkit-mask: var(--logo-mask) center / 100% 100% no-repeat; mask: var(--logo-mask) center / 100% 100% no-repeat; }
.fg--or  { background: var(--orange); transform: translate(var(--dx, 1.6px), calc(-1 * var(--dy, .5px))); }
.fg--vi  { background: var(--violet); transform: translate(calc(-1 * var(--dx, 1.6px)), var(--dy, .5px)); }
.fg--or2 { background: var(--orange); opacity: .5; transform: translateX(var(--dx2, .8px)); }
.fg--vi2 { background: var(--violet); opacity: .5; transform: translateX(calc(-1 * var(--dx2, .8px))); }

/* =========================================================
   LECTEUR (clic sur un film du carrousel)
   ========================================================= */
.player { width: min(1080px, calc(100vw - 32px), calc((100vh - 150px) * 16 / 9)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; background: transparent; color: var(--noir); overflow: visible; }
.player[open] { animation: player-in .45s cubic-bezier(.2, .8, .2, 1); }
.player::backdrop { background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.player__box { position: relative; display: grid; gap: 12px; }
.player__close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; transition: transform .2s; }
@media (hover: hover) { .player__close:hover { transform: rotate(90deg); } }
.player__close svg { width: 18px; height: 18px; }
.player__meta { display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 16px; border-radius: 24px; background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.player__medal { flex: none; width: 46px; height: auto; filter: drop-shadow(0 4px 6px rgba(0,0,0,.2)); }
.player__text { flex: 1; min-width: 0; }
.player__title { font-size: 20px; font-weight: 700; line-height: 1.2; }
.player__info { margin-top: 2px; font-size: 15px; line-height: 1.3; color: var(--texte-sur-noir); }
.player__actions { flex: none; display: flex; flex-wrap: wrap; gap: var(--btn-gap); }
@keyframes player-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }

/* =========================================================
   LECTEUR VIDÉO (lecteur du carrousel + page film)
   Contrôles en verre comme le menu · time code en Cabinet Grotesk noir.
   YouTube en direct sur le site ; dans la maquette en ligne (vidéos externes bloquées),
   la vignette sert d'aperçu et le time code est simulé.
   ========================================================= */
.vplayer { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #000; isolation: isolate; user-select: none; -webkit-user-select: none; }
.vplayer__media, .vplayer__poster, .vplayer__frame, .vplayer__frame iframe, .vplayer__hit { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vplayer__poster { z-index: 1; object-fit: cover; transition: opacity .5s ease; }
.vplayer.is-live .vplayer__poster { opacity: 0; }
.vplayer.is-demo .vplayer__poster { animation: vp-drift 40s linear infinite alternate paused; }
.vplayer.is-demo.is-playing .vplayer__poster { animation-play-state: running; }
@keyframes vp-drift { to { transform: scale(1.12) translate(-1.5%, -1%); } }
.vplayer__hit { z-index: 2; cursor: pointer; }
.vplayer__big { position: absolute; z-index: 3; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; transition: opacity .3s, transform .3s; }
.vplayer__big svg { width: 34px; height: 34px; margin-left: -1px; }   /* le dessin est déjà décalé vers la droite dans son cadre : le triangle tombe au centre du rond */
@media (hover: hover) { .vplayer__big:hover { transform: scale(1.06); } }
.vplayer.is-playing .vplayer__big { opacity: 0; transform: scale(.85); pointer-events: none; }
.vplayer__bar { position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; transition: opacity .3s, transform .3s; }
.vplayer.is-playing.is-idle .vplayer__bar { opacity: 0; transform: translateY(10px); }
.vplayer.is-playing.is-idle { cursor: none; }
.vplayer__btn { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; transition: transform .2s; }
.vplayer__btn:active { transform: scale(.92); }
.vplayer__btn svg { width: 20px; height: 20px; }
.vplayer .i-pause, .vplayer.is-playing .i-play, .vplayer .i-mute, .vplayer.is-muted .i-vol { display: none; }
.vplayer.is-playing .i-pause, .vplayer.is-muted .i-mute { display: block; }
.vplayer__track { position: relative; flex: 1; min-width: 60px; height: 46px; padding: 0 20px; border-radius: 999px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.vplayer__rail { position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgba(0,0,0,.15); }
.vplayer__fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: var(--noir); }
.vplayer__knob { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--noir); transition: transform .2s; }
@media (hover: hover) { .vplayer__track:hover .vplayer__knob { transform: scale(1.25); } }
/* Time code : corps de texte Cabinet Grotesk, noir */
.vplayer__time { position: relative; flex: none; height: 46px; padding: 0 18px; border-radius: 999px; display: flex; align-items: center; font-family: var(--f-body); font-size: 16px; font-weight: 400; line-height: 1; color: var(--noir); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* largeur fixe des deux temps : la pilule (et donc la barre de progression) ne change plus de taille quand les chiffres défilent */
.vplayer__time .t-cur, .vplayer__time .t-dur { display: inline-block; min-width: 4.3ch; }
.vplayer__time .t-cur { text-align: right; }
.vplayer__time .t-dur { text-align: left; }

/* =========================================================
   PAGE FILM (film.html#slug)
   ========================================================= */
.film-page { --fm: max(16px, calc(83 * var(--u))); padding: 140px var(--fm) 0; max-width: 1440px; margin-inline: auto; }
.film__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; line-height: 20px; color: var(--texte-secondaire); }
@media (hover: hover) { .film__crumbs a:hover { color: var(--noir); } }
.film__head { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.film__chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; border-radius: 999px; background: #E4E4E4; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.film__title { margin-top: 18px; font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, calc(56 * var(--u)), 56px); line-height: 1.35; text-transform: uppercase; }
.film__head-ctas { display: flex; flex-wrap: wrap; gap: var(--btn-gap); }
.film__player { margin-top: 36px; }
.film__grid { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, calc(420 * var(--u) + 40px)); gap: 48px; align-items: start; }
.film__section-title { font-size: 20px; font-weight: 700; line-height: 24px; text-transform: uppercase; }
.film__synopsis { margin-top: 14px; max-width: 640px; font-size: 20px; line-height: 1.5; }
.film__team { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; }
.film__member { display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 999px; background: #fff; }
.film__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); font-size: 15px; font-weight: 700; }
.film__member b { display: block; font-size: 16px; line-height: 20px; }
.film__member small { display: block; font-size: 13px; line-height: 16px; color: var(--texte-secondaire); text-transform: uppercase; letter-spacing: .06em; }
.film__block + .film__block { margin-top: 44px; }
.film__info { padding: 28px 28px 10px; border-radius: 28px; background: #fff; }
.film__prize { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid #E6E6E6; }
.film__prize img { width: 56px; height: auto; filter: drop-shadow(0 6px 8px rgba(0,0,0,.18)); }
.film__prize b { display: block; font-size: 20px; line-height: 24px; }
.film__prize span { display: block; font-size: 14px; color: var(--texte-secondaire); }
.film__facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid #E6E6E6; font-size: 16px; line-height: 22px; }
.film__facts div:last-child { border-bottom: 0; }
.film__facts dt { color: var(--texte-secondaire); }   /* contraste AA */
.film__more { margin-top: 110px; }
.film__more-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.film__more-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, calc(32 * var(--u)), 32px); line-height: 1.4; text-transform: uppercase; }
.film__cards { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.film-card { display: block; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .film-card:hover { transform: translateY(-8px); } }
@media (hover: hover) { .prompt__skip:hover { color: #fff; } }
.film-card__img { position: relative; aspect-ratio: 457 / 285; border-radius: 18px; overflow: hidden; background: var(--gris-carte); }
.film-card__img img { width: 100%; height: 100%; object-fit: cover; }
.film-card__medal { position: absolute; top: 10px; right: 10px; width: 44px !important; height: auto !important; filter: drop-shadow(0 4px 6px rgba(0,0,0,.25)); }
.film-card b { display: block; margin-top: 14px; font-size: 18px; line-height: 22px; }
.film-card span { display: block; margin-top: 2px; font-size: 14px; color: var(--texte-secondaire); }
.film-empty { padding: 80px 0; font-size: 20px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  /* menu burger ouvert : fond blanc plein (lisibilité avant tout) */
  .nav.is-open .nav__links { display: flex; flex-direction: column; gap: 4px; margin: 0; position: absolute; top: calc(100% + 10px); left: 0; width: max(100%, 300px); padding: 18px 24px; background: var(--blanc); -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: 0 16px 40px -14px rgba(0,0,0,.28), var(--lg-shadow); border-radius: 24px; font-size: 18px; }
  .nav.is-open .nav__links a { display: block; padding: 8px 0; }
  /* fenêtre moyenne : le menu est ancré à droite, sous le burger, et tombe en douceur */
  .nav.is-open .nav__links { left: auto; right: calc(-1 * var(--wr, 440px)); width: 300px; animation: menu-drop .35s cubic-bezier(.2, .8, .2, 1); }
}
@keyframes menu-drop { from { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 999px) {
  /* Hero */
  .hero { min-height: min(86svh, 780px); padding: 116px 16px 64px; }   /* mobile : un peu moins haut que l'écran, contenu centré */
  .hero__reel { display: none; }
  .hero__content { pointer-events: auto; }
  .hero__title { font-size: min(58px, 8.4vw); line-height: 1.72; white-space: normal; }
  .clay-word img { height: 1.27em; }
  .hero__sub { font-size: 16px; line-height: 26px; }

  /* Prochaine édition */
  /* Prochaine édition, version mobile : titre sur 2 lignes à côté de la bulle J-x, infos resserrées,
     prix en lignes (rang à gauche, montant à droite), boutons empilés */
  .next__wrap { --nw: 112px; --nh: 80px; --r: 24px; --ri: 16px; --rc: 18px; }
  .next__panel { padding: 24px 20px 20px; }
  .next__head { flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .next__title { max-width: 100%; line-height: 1.45; white-space: normal; }   /* assez d'interligne pour l'accent du É */
  .next__date { flex-basis: auto; width: calc(100% + var(--nw)); max-width: none; margin-top: 18px; padding-left: 0; font-size: 18px; line-height: 24px; }   /* alignée sur le texte */
  .next__date::before { right: calc(var(--nw) + 16px); }   /* à hauteur de l'encoche, la ligne s'arrête avant : elle ne touche jamais le bord droit */
  .next.is-date-low .next__date::before { right: 0; }   /* sous l'encoche : toute la largeur, à la même distance du bord que la marge gauche (JS partie 4b) */
  .next__body { --list-fs: 14px; --list-lh: 22px; flex-direction: column; align-items: stretch; margin-top: 18px; }
  .next__list:first-child { flex: none; min-width: 0; }
  .next__list li { white-space: normal; }
  /* mobile : infos puis prix dans un seul tableau, intitulé à gauche, valeur à droite, lignes de séparation */
  .next__list--facts { display: block; margin-top: 4px; border-top: 1px solid rgba(255,255,255,.16); }
  .next__list--prizes { display: block; }
  .next__list--facts li, .next__list--prizes li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .next__list span { flex: none; font-size: 12px; }
  .next__list b { font-size: 13px; line-height: 1.4; text-align: right; }
  .next__ctas { margin-top: 20px; }
  .next__badge { --bw: calc(var(--nw) - 18px); --bh: calc(var(--nh) - 18px); --br: 16px; }
  .countdown { font-size: 22px; stroke-width: 1px; }

  /* Prompt */
  .bubble { gap: 14px; }
  .bubble__field { width: min(340px, calc(100vw - 280px)); height: 58px; padding-left: 8px; font-size: 16px; border-width: 0 16px; border-image-width: 0 16px; }
  .bubble__btn { width: 130px; height: 58px; font-size: 16px; border-radius: 16px; }

  /* Chiffres (mobile) : titre au-dessus ; deux colonnes de chiffres décalées dans une forme en escalier
     (colonne gauche plus haute, colonne droite plus basse, angles rentrants arrondis), dégradé orange → violet
     en diagonale avec grain ; l'ordi et le pouce en bas à droite ; bouton en dessous, hors de la forme */
  .stats__deco { display: none; }   /* pas de place sur les côtés */
  .stats { min-height: 0; padding: 48px 16px 24px; }   /* mobile : la section prend la hauteur de son contenu */
  .stats__card { margin: 0 auto; width: calc(100% - 16px); max-width: 400px; height: auto; display: grid; grid-template-columns: 100%;
                 --T: 40px; --D: 40px; --r: 20px; --sa: 55; --sb: 52; }   /* --sa / --sb : nombres (en % de la largeur), pas de division d'unités (Safari) */   /* décalage haut / bas des colonnes, rayon des angles rentrants, largeur du bloc gauche / début du bloc droit */
  .stats__eyebrow { grid-row: 1; position: static; height: auto; margin-bottom: 20px; padding-inline: 48px; font-size: 14px; white-space: normal; text-align: center; }
  .stats__shape { grid-row: 2; grid-column: 1; position: relative; container-type: size; filter: none; }
  .sh { background-image: var(--noise), linear-gradient(135deg, #DD9F5C 0%, #D29552 18%, #CC9E7D 40%, #C1B0EC 82%, #BBAAF4 100%);
        background-size: 200px, 100cqw 100cqh; }
  .sh-a  { left: 0; top: 0; width: calc(var(--sa) * 1%); height: calc(100% - var(--D)); border-radius: 28px calc(var(--T) - var(--r)) 0 28px; background-position: 0 0, 0 0; }   /* angle haut droit + angle rentrant = une courbe en S */
  .sh-b  { left: calc(var(--sb) * 1%); top: var(--T); width: calc((100 - var(--sb)) * 1%); height: calc(100% - var(--T)); border-radius: 0 28px 28px calc(var(--D) - var(--r));
           background-position: 0 0, 100% 100%; }   /* bloc calé en bas à droite de la forme : le dégradé aussi */
  .sh-f1 { left: calc(var(--sa) * 1% - 1px); top: calc(var(--T) - var(--r)); width: calc(var(--r) + 1px); height: calc(var(--r) + 1px);   /* +1 px : recouvre les blocs voisins, pas de fine ligne claire */
           background-position: 0 0, calc(1px - var(--sa) * 1cqw) calc(var(--r) - var(--T));
           -webkit-mask: radial-gradient(circle at 100% 0, #0000 calc(var(--r) - .5px), #000 var(--r)); mask: radial-gradient(circle at 100% 0, #0000 calc(var(--r) - .5px), #000 var(--r)); }
  .sh-f2 { left: calc(var(--sb) * 1% - var(--r)); top: calc(100% - var(--D) - 1px); width: calc(var(--r) + 1px); height: calc(var(--r) + 1px);
           background-position: 0 0, calc(var(--r) - var(--sb) * 1cqw) calc(var(--D) + 1px - 100cqh);
           -webkit-mask: radial-gradient(circle at 0 100%, #0000 calc(var(--r) - .5px), #000 var(--r)); mask: radial-gradient(circle at 0 100%, #0000 calc(var(--r) - .5px), #000 var(--r)); }
  .stats__list { grid-row: 2; grid-column: 1; position: relative; z-index: 1; display: grid; grid-template-columns: calc(var(--sa) * 1%) 1fr; grid-auto-rows: auto; row-gap: 40px; padding: 58px 6px calc(var(--D) + 44px); }   /* plus de marge en haut et en bas */
  .stat { position: static; transform: none; padding-inline: 8px; }
  .st-1 { grid-column: 1; grid-row: 1; } .st-5 { grid-column: 1; grid-row: 2; } .st-3 { grid-column: 1; grid-row: 3; }
  .st-2 { grid-column: 2; grid-row: 1; margin-top: var(--T); } .st-4 { grid-column: 2; grid-row: 2; margin-top: var(--T); }
  .stat__num { font-size: 42px; line-height: 1.05; }
  .stat p { font-size: 14px; line-height: 1.3; margin-top: 8px; white-space: normal; }
  .stats__cta { grid-row: 3; position: relative; margin-top: 22px; width: 100%; justify-content: space-between; }   /* relative : la 2e version du survol reste dans le bouton */
  .stats__layer { z-index: 2; }
  .stats__pc { left: auto; right: -14px; top: auto; bottom: calc(48px + 22px + 16px); width: 150px; transform: rotate(-4deg); }
  .stats__thumb { left: auto; right: 104px; top: auto; bottom: calc(48px + 22px + 18px); width: 70px; transform: rotate(-8deg); }

  /* Logos */
  .logos { padding: 72px 0 0; }
  .logos .eyebrow { padding-inline: 16px; }
  .logos .marquee { margin-top: 36px; }
  .logos__row { height: 56px; }
  .logos__row > li { margin-right: 40px; }
  .lg-arcads { height: 26px; } .lg-station-f { height: 22px; } .lg-hexa { height: 29px; } .lg-red-bull { height: 42px; } .lg-capcut { height: 24px; } .lg-naano { height: 23px; } .lg-supabase { height: 26px; } .lg-cursor { height: 23px; } .lg-paris-creator-week { height: 40px; }

  /* Jury */
  .jury { padding: 80px 0 120px; }
  .jury__slider { gap: 12px; margin-top: 40px; }
  .jury__track { gap: 16px; }
  .jury__nav { width: 44px; height: 44px; }
  .jury__nav svg { width: 20px; height: 20px; }
  .jury-card { width: 188px; height: 314px; padding: 22px 16px 18px; border-radius: 26px; }
  .jury-card__avatar { width: 72px; height: 72px; font-size: 19px; }
  .jury-card__name { margin-top: 12px; min-height: 36px; font-size: 15px; line-height: 18px; }
  .jury-card__role { height: 45px; font-size: 12px; line-height: 15px; }
  .jury-card__count { margin-top: 10px; font-size: 17px; line-height: 20px; }
  .jury-card__count small { font-size: 12px; }
  .jury-card__eds { font-size: 11px; line-height: 14px; }
  .jury-card__socials a { width: 28px; height: 28px; }
  .jury-card__socials svg { width: 13px; height: 13px; }

  /* Éditions */
  .editions__title { font-size: 26px; line-height: 40px; }
  .editions { padding-top: 77px; }   /* mobile : espacement inchangé */
  .editions__grid { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
  .edition-card:nth-child(n+3) { display: none; }   /* une colonne : les 2 dernières éditions seulement */

  /* Footer */
  .footer { padding: 72px 16px 16px; }
  .footer__panel { width: auto; height: auto; padding: 44px 28px calc(28vw + 24px); border-radius: 24px; }
  .footer__top { grid-template-columns: 1fr; row-gap: 36px; }
  .footer__cols { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .footer__word { left: 20px; right: 20px; bottom: -2px; }
  .footer__bottom { padding: 16px 8px 4px; }

  /* Lecteur + page film */
  .player__meta { flex-wrap: wrap; }
  .player__actions { width: 100%; }
  .film-page { padding-top: 116px; }
  .film__grid { grid-template-columns: 1fr; gap: 40px; }
  .film__cards { grid-template-columns: 1fr 1fr; }
  .film__synopsis { font-size: 18px; }
}

/* Petits écrans : une seule pilule classique (pas de fusion) */
@media (max-width: 760px) {
  /* section films : à la place de la bulle et de la séquence, le mur de films (lentille, glow, aberration) en galerie
     d'un écran de haut, qui glisse doucement vers le haut ; toucher un film ouvre le lecteur ; bouton en bas (JS partie 5b) */
  .prompt { height: auto; }
  .prompt__stage { position: relative; }
  .prompt.is-gallery .bubble, .prompt.is-gallery .prompt__scroll, .prompt.is-gallery .cine__bar, .prompt.is-gallery .cine__flash, .prompt__skip { display: none; }
  .prompt.is-gallery .prompt__stage { cursor: pointer; }
  .prompt.is-gallery .prompt__stage::before { display: none; }
  .prompt.is-gallery .prompt__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 34%; pointer-events: none; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.8)); }
  .prompt.is-gallery .cine__wall { opacity: 1; transition: opacity .8s ease; }
  .prompt.is-gallery .cine__cta { top: auto; bottom: 36px; width: max-content; white-space: nowrap; opacity: 1; transform: translateX(-50%); animation: none; pointer-events: auto; }
  .nav { display: flex; align-items: center; column-gap: 12px; width: calc(100% - 32px); margin-inline: auto; padding: 0 9px 0 22px; border-radius: 999px; pointer-events: auto;
         background: var(--lg-sheen), rgba(255,255,255,.74); -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8); box-shadow: 0 10px 30px -12px rgba(0,0,0,.18), var(--lg-shadow); }
  .lg-refract .nav { background: var(--lg-sheen), rgba(255,255,255,.68); }
  .nav__glass { display: none; }
  .nav__pill { display: contents; }
  .nav { --h: 56px; height: var(--h); }   /* barre plus basse sur mobile */
  .nav__burger { width: 38px; height: 38px; }
  .nav__logo { margin-right: auto; }
  .nav.is-open .nav__links { position: absolute; top: calc(100% + 10px); left: 0; right: 0; width: auto; gap: 0; padding: 12px 20px 16px; font-size: 17px; }   /* sous la barre, même largeur */
  .nav.is-open .nav__links a { padding: 7px 0; }
  .pos-r > .nav-btn { display: none; }   /* « Devenir partenaire » et « Participer » passent dans le menu burger */
  /* profil : icône plate noire dans un rond (comme le burger) à la place de la tête en pâte à modeler */
  .nav__account { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--noir); }
  .nav__account .clay-face { display: none; }
  /* mobile : avatar de compte plein (tête + épaules coupées par le rond), il remplit tout le bouton */
  .nav__account { overflow: hidden; }
  .nav__account-icon { display: block; width: 100%; height: 100%; color: var(--noir); }
  .nav__acct { position: static; }
  .acct-menu { top: calc(100% + 10px); right: 0; width: min(260px, 100%); transform-origin: calc(100% - 66px) 0; }
  .nav__acct::after { display: none; }
  .nav.is-open .nav__links-ctas { display: grid; gap: var(--btn-gap); margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.08); }
  .nav.is-open .nav__links .nav-btn { display: flex; justify-content: center; height: 42px; padding: 0 20px; font-size: 16px; }
}

@media (max-width: 560px) {
  .nav__logo img { width: 132px; }
  .hero__ctas .btn { width: 100%; justify-content: space-between; }
  /* au doigt : les cartes prennent toute la largeur ; une flèche ronde posée sur le bord indique qu'il y en a d'autres */
  /* flèches sous les cartes, côte à côte et centrées (elles ne cachent plus rien) */
  .jury__slider { flex-wrap: wrap; justify-content: center; column-gap: 12px; row-gap: 22px; }
  .jury__viewport { order: -1; flex: 0 0 100%; }
  .jury__nav { width: 40px; height: 40px; box-shadow: inset 0 0 0 1.5px var(--noir); }
  .jury__nav svg { width: 18px; height: 18px; }
  .jury__nav:disabled { opacity: .25; }
  /* cartes plus petites */
  .jury__track { gap: 12px; }
  .jury-card { width: 156px; height: 266px; padding: 18px 13px 15px; border-radius: 22px; }
  .jury-card__avatar { width: 58px; height: 58px; font-size: 16px; }
  .jury-card__name { margin-top: 10px; min-height: 32px; font-size: 13px; line-height: 16px; }
  .jury-card__role { margin-top: 4px; height: 39px; font-size: 11px; line-height: 13px; }
  .jury-card__count { margin-top: 8px; font-size: 15px; line-height: 18px; }
  .jury-card__count small { margin-left: 4px; font-size: 11px; }
  .jury-card__eds { font-size: 10px; line-height: 13px; }
  .jury-card__socials { gap: 5px; }
  .jury-card__socials a { width: 26px; height: 26px; }
  .jury-card__socials svg { width: 12px; height: 12px; }
  .jury__viewport { --vpx: 16px; }   /* la zone qui défile va jusqu'aux bords de l'écran */
  .jury-card::before { inset: 6px; opacity: .75; transform: scale(1.04); animation-play-state: running; }   /* pas de survol au doigt : la lueur est toujours là */
  .next__ctas .btn { flex: 1 1 100%; justify-content: space-between; }
  .player__actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .film__cards { grid-template-columns: 1fr; }
  .film__head-ctas .btn { flex: 1 1 100%; justify-content: space-between; }
}

/* Très petits écrans : le menu se resserre (logo, bouton, burger plus petits) et les longs libellés
   de boutons passent sur 2 lignes au lieu de déborder */
@media (max-width: 389px) {
  .stat { padding-inline: 2px; }
  .stat p { font-size: 13px; }   /* chiffres : les légendes de la colonne droite tiennent sur 2 lignes */
  /* Prochaine édition : encoche et bulle J-x plus petites, titre réduit juste assez pour tenir à côté */
  .next__wrap { --nw: 100px; --nh: 74px; }
  .countdown { font-size: 19px; }
  .next__title { font-size: min(26px, calc((100vw - 172px) / 7.2)); }
}
@media (max-width: 329px) {
  /* écrans minuscules : le titre passe sous la bulle J-x, en pleine largeur */
  .next__head { padding-right: 0; padding-top: 58px; }
  .next__date { width: 100%; }
  .next__date::before { right: 0; }
  .next__title { font-size: min(26px, 8.6vw); }
}
@media (max-width: 400px) {
  .nav { column-gap: 8px; padding: 0 7px 0 16px; }
  .nav__logo img { width: 104px; }
  .btn { min-height: 50px; white-space: normal; text-align: left; line-height: 20px; }
}
@media (max-width: 340px) {
  .nav { width: calc(100% - 24px); column-gap: 6px; padding: 0 6px 0 14px; }
  .nav__logo img { width: 92px; }
  .nav__burger { width: 36px; height: 36px; }
  .btn { padding-left: 20px; gap: 10px; }
}

/* Lecteur au doigt (mobile, tablette) : commandes discrètes, blanches, sans verre, sur un léger voile en bas ;
   bouton plein écran (vrai plein écran si le navigateur le permet, sinon le lecteur couvre l'écran, tourné en paysage) */
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .vplayer { border-radius: 18px; }
  .vplayer::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 64px; pointer-events: none; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.5)); transition: opacity .3s; }
  .vplayer.is-playing.is-idle::after { opacity: 0; }
  .vplayer .vplayer__btn, .vplayer .vplayer__track, .vplayer .vplayer__time { height: 36px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; color: #fff; }
  .vplayer .vplayer__btn::before, .vplayer .vplayer__track::before, .vplayer .vplayer__time::before { display: none; }
  .vplayer__bar { left: 4px; right: 4px; bottom: 2px; gap: 0; }
  .vplayer__btn { width: 36px; }
  .vplayer__btn svg { width: 16px; height: 16px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
  .vplayer__track { padding: 0 8px; }
  .vplayer__rail { height: 3px; background: rgba(255,255,255,.35); }
  .vplayer__fill, .vplayer__knob { background: #fff; }
  .vplayer__knob { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
  .vplayer__time { padding: 0 4px; font-size: 12px; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
  .vplayer__mute { display: none; }
  .vplayer .vplayer__big { width: 52px; height: 52px; background: rgba(0,0,0,.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); color: #fff; }
  .vplayer .vplayer__big::before { display: none; }
  .vplayer__big svg { width: 18px; height: 18px; margin-left: 0; }
  .player .player__close { top: 8px; right: 8px; width: 32px; height: 32px; background: rgba(0,0,0,.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); color: #fff; }
  .player .player__close::before { display: none; }
  .player__close svg { width: 13px; height: 13px; }
}
/* Plein écran */
.vplayer .i-full-exit, .vplayer.is-fs .i-full, .vplayer:fullscreen .i-full { display: none; }
.vplayer.is-fs .i-full-exit, .vplayer:fullscreen .i-full-exit { display: block; }
.vplayer:fullscreen { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.vplayer.is-fs { position: fixed; z-index: 2147483000; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.vplayer.is-fs .vplayer__poster, .vplayer:fullscreen .vplayer__poster { object-fit: contain; }
@media (orientation: portrait) {   /* téléphone tenu droit : le film est tourné pour occuper tout l'écran */
  .vplayer.is-fs { inset: auto; top: 50%; left: 50%; width: 100vh; width: 100dvh; height: 100vw; transform: translate(-50%, -50%) rotate(90deg); }
}
html.has-vfs { overflow: hidden; }

/* Windows « contraste élevé » (couleurs forcées) : les fonds disparaissent, on garde des contours visibles */
@media (forced-colors: active) {
  .btn, .nav-btn, .nav__burger, .nav__account, .jury__nav, .bubble__btn, .vplayer__btn, .player__close { border: 1px solid ButtonText; }
  .jury-card, .edition-card, .next__panel, .player__meta, .acct-menu { border: 1px solid CanvasText; }
  .btn__ink { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .prompt__stage::before { animation: none; -webkit-mask-position: 50% 0; mask-position: 50% 0; }
  .marquee__track, .stats__pc, .stats__thumb, .stats__deco > *, .pop img, .loader__logo, .hero .btn--grad, .clay-word img, .jury-card::before { animation: none !important; }
  .loader__logo path { animation: none !important; stroke-dashoffset: 0; }
}

/* =========================================================
   11. LANGUE (generathon.tech) : une pastille en verre liquide, fixe en bas à gauche.
   Fermée : globe + langue active. Ouverte : ce même bouton (globe + langue active) passe en orange,
   à la même place, et les autres langues se rangent à sa droite. Le pointeur reste sur la langue active.
   ========================================================= */
.lang { position: fixed; left: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; height: 44px; padding: 4px; border-radius: 999px; font-family: var(--f-body); }
.lang__btn, .lang__list a { display: flex; align-items: center; justify-content: center; height: 36px; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--noir); }
.lang__btn { gap: 7px; padding: 0 13px 0 11px; transition: background .25s ease; }
.lang__btn svg { width: 16px; height: 16px; flex: none; transition: rotate .6s cubic-bezier(.34, 1.56, .64, 1); }
.lang.is-open .lang__btn { background: var(--orange); }
.lang.is-open .lang__btn svg { rotate: 180deg; }
.lang__list { display: flex; gap: 2px; max-width: 0; overflow: hidden; opacity: 0; transition: max-width .5s cubic-bezier(.34, 1.3, .64, 1), margin-left .5s cubic-bezier(.34, 1.3, .64, 1), opacity .25s ease; }
.lang.is-open .lang__list { max-width: 200px; margin-left: 2px; opacity: 1; }
.lang__list a { min-width: 44px; padding: 0 10px; transition: background .2s; }
.lang__list a.is-active { display: none; }   /* la langue active est déjà le bouton orange */
@media (hover: hover) { .lang__list a:hover { background: rgba(0,0,0,.07); } .lang:not(.is-open) .lang__btn:hover { background: rgba(0,0,0,.06); } }
.lang__btn:focus-visible, .lang__list a:focus-visible { outline: 2px solid var(--noir); outline-offset: 2px; }
@media (max-width: 760px) { .lang { left: 12px; bottom: 12px; height: 40px; } .lang__btn, .lang__list a { height: 32px; font-size: 13px; } .lang__list a { min-width: 40px; } }
@media (prefers-reduced-motion: reduce) { .lang__list, .lang__btn, .lang__btn svg { transition: none; } }

/* Règle charte (Roland, 2026-11-18) : titres équilibrés sur deux lignes, pas de mot orphelin */
:is(h1, h2, h3, h4, [class*="__title"]) { text-wrap: balance; }
:is(p, li) { text-wrap: pretty; }
/* "text-wrap" remet aussi le retour à la ligne : intitulés du menu sur une seule ligne */
:is(.nav__links, .nav__links li, .nav__links a, .nav-btn) { text-wrap: nowrap; }
