/* Fast Travel Studio : la landing de prélancement.
 *
 * ⚠️ L'AMBIANCE DES JEUX EN MONDE OUVERT, PAS L'IDENTITÉ D'UN ÉDITEUR. Nuit,
 * coucher de soleil néon, titres géants, étiquettes autocollantes : c'est le
 * registre visuel commun aux bandes-annonces et aux sites de fans que l'auteur
 * a cités. On n'emprunte ni leurs polices, ni leurs logos, ni leurs visuels :
 * nos images sont nos posters, nos polices sont libres (OFL). Voir NOM.md.
 *
 * Le lien avec le produit tient à trois choses : la « carte de nuit » tirée du
 * poster en fond, le poster lui-même en héros, et l'étiquette de l'univers.
 */

@font-face { font-family: "Bebas Neue"; src: url("fonts/BebasNeue.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo Expanded"; src: url("fonts/ArchivoExpanded-BoldItalic.woff") format("woff"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Roboto Mono"; src: url("fonts/RobotoMono-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;

  --nuit: #0d0a1e;
  --nuit-2: #140f2e;
  --nuit-3: #1d1640;
  --bord: rgba(255, 255, 255, 0.12);
  --creme: #fff3e6;
  --brume: #bdb5dd;

  --soleil: #ffd166;
  --orange: #ff8a3d;
  --rose: #ff2e88;
  --violet: #b14dff;
  --cyan: #35e0ff;
  --mer: #15a9d1;

  --couchant: linear-gradient(95deg, var(--soleil) 0%, var(--orange) 30%, var(--rose) 66%, var(--violet) 100%);

  --affiche: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --marque: "Archivo Expanded", "Arial Black", Arial, sans-serif;
  --texte: "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --hud: "Roboto Mono", ui-monospace, Consolas, monospace;

  --gouttiere: clamp(16px, 4vw, 56px);
  --largeur: 1240px;
}

* { box-sizing: border-box; }
/* ⚠️ `hidden` DOIT CACHER, QUEL QUE SOIT LE `display` DE LA CLASSE. La règle du
   navigateur est la plus faible de toutes : `.formulaire { display: grid }` la
   battait, et la réservation s'affichait avant qu'il y ait un poster à réserver. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--creme);
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
/* Le grain de pellicule : ce qui fait « image de cinéma » plutôt que « page web ». */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.conteneur { width: min(100% - 2 * var(--gouttiere), var(--largeur)); margin-inline: auto; }

/* ───────────────────────────────────────────────────── les briques de style */

.titre-affiche {
  font-family: var(--affiche);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}
.degrade {
  padding-block: 0.14em;
  color: var(--rose);
  background: var(--couchant);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* L'étiquette de HUD : ce que le jeu affiche dans un coin de l'écran. */
.hud {
  font-family: var(--hud);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 10px;
}
.hud::before {
  content: ""; width: 0; height: 0;
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}
/* L'autocollant : un mot posé de travers, comme sur une vitrine. */
.sticker {
  display: inline-block;
  font-family: var(--marque); font-weight: 700; font-style: italic;
  text-transform: uppercase; letter-spacing: 0.02em;
  font-size: 13px; line-height: 1;
  color: #fff; background: var(--rose);
  padding: 8px 12px 7px;
  transform: rotate(-3deg);
  box-shadow: 4px 4px 0 #000;
}
.sticker.cyan { background: var(--cyan); color: #04121a; }
.sticker.jaune { background: var(--soleil); color: #1a0714; }

/* ─────────────────────────────────────────────────────────────── l'en-tête */

.entete { position: absolute; inset: 0 0 auto; z-index: 10; }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logotype {
  font-family: var(--marque); font-weight: 700; font-style: italic;
  text-transform: uppercase; letter-spacing: 0.02em;
  font-size: 15px; text-decoration: none; white-space: nowrap;
}
.pilule {
  font-family: var(--hud); font-weight: 500; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #1a0714; background: var(--couchant);
  padding: 8px 14px; border-radius: 999px; white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────────── le héros */

.heros {
  position: relative;
  isolation: isolate;
  min-height: max(100vh, 700px);
  display: flex; align-items: center;
  padding: 104px 0 64px;
  overflow: hidden;
}
/* La carte de nuit, tirée du poster, qui s'efface vers le bas. */
.heros::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("carte-nuit.webp") center / cover no-repeat;
  opacity: 0.42;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 96%);
}
/* L'horizon : le coucher de soleil qui monte derrière la ville. */
.heros::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 75% 100%, rgba(255, 46, 136, 0.45), transparent 70%),
    radial-gradient(40% 40% at 20% 0%, rgba(53, 224, 255, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(13, 10, 30, 0.55), rgba(13, 10, 30, 0.2) 40%, rgba(13, 10, 30, 0.85));
}
.heros .conteneur {
  display: grid; grid-template-columns: 1.1fr 0.9fr; column-gap: clamp(32px, 5vw, 72px);
  grid-template-areas: "texte scene" "resa resa" "compte compte"; grid-template-rows: auto auto auto; align-items: start;
}
.heros-texte { grid-area: texte; }
.heros-resa { grid-area: resa; }
.heros-resa:has(.reservation:not([hidden])) { margin-top: 8px; }
.bloc-compte { grid-area: compte; }
/* En haut, et non centré : quand la réservation apparaît, le poster ne doit pas glisser. */
.heros .scene { grid-area: scene; align-self: start; margin-top: clamp(0px, 3vh, 40px); }
.heros h1 { font-size: clamp(60px, 9vw, 128px); margin-bottom: 22px; }
.heros h1 span { display: block; }
.heros h1 .degrade { margin-block: -0.14em; }
.chapo { font-size: clamp(17px, 1.4vw, 19px); color: var(--brume); max-width: 46ch; margin: 0 0 24px; }

/* Le compte à rebours : un bandeau de toute la largeur du héros, centré, façon
   écran de chargement. Quatre cases égales : la largeur se partage, elle ne
   dépend pas des chiffres affichés. */
.bloc-compte {
  display: grid; justify-items: center; gap: 12px;
  margin-top: clamp(28px, 5vh, 56px);
}
.bloc-compte .compte-titre { text-align: center; font-size: 12px; margin: 0; }
.compte {
  display: grid; grid-template-columns: repeat(4, 1fr); width: 100%;
  border: 1px solid var(--bord); border-radius: 18px;
  background: rgba(13, 10, 30, 0.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  overflow: hidden;
}
.compte div { padding: clamp(14px, 2vw, 22px) 8px clamp(12px, 1.6vw, 18px); text-align: center; min-width: 0; }
.compte div + div { border-left: 1px solid var(--bord); }
.compte b {
  display: block; font-family: var(--affiche); font-weight: 400;
  font-size: clamp(44px, 7vw, 96px); line-height: 0.95; font-variant-numeric: tabular-nums;
}
/* Les jours : la case qui compte, dans le dégradé du couchant. */
.compte div:first-child b {
  background: var(--couchant); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.compte small { display: block; margin-top: 6px; font-family: var(--hud); font-size: 11px; letter-spacing: 0.16em; color: var(--brume); text-transform: uppercase; }
.compte-titre { font-family: var(--hud); font-size: 11px; letter-spacing: 0.16em; color: var(--brume); text-transform: uppercase; margin: 0 0 8px; }

/* Le poster, devant un soleil couchant rayé. */
.scene { position: relative; display: grid; place-items: center; min-height: 520px; }
.couchant {
  position: absolute; width: min(440px, 78vw); aspect-ratio: 1; border-radius: 50%;
  top: -6%; left: 50%; transform: translateX(-18%);
  background: linear-gradient(180deg, var(--soleil) 0%, var(--orange) 45%, var(--rose) 80%);
  -webkit-mask-image: linear-gradient(180deg, #000 0 52%, transparent 52% 56%, #000 56% 63%, transparent 63% 68%, #000 68% 74%, transparent 74% 80%, #000 80% 85%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0 52%, transparent 52% 56%, #000 56% 63%, transparent 63% 68%, #000 68% 74%, transparent 74% 80%, #000 80% 85%, transparent 85%);
  filter: drop-shadow(0 0 60px rgba(255, 46, 136, 0.5));
  opacity: 0.95;
}
.affiche {
  position: relative; margin: 0;
  width: min(390px, 74vw);
  background: #fff; padding: 10px;
  transform: rotate(4deg);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 70px rgba(255, 46, 136, 0.25);
}
.affiche img { width: 100%; aspect-ratio: 708 / 1008; object-fit: cover; }
.affiche .sticker { position: absolute; top: 18px; left: -22px; }

/* ────────────────────────────────────────────────────── le formulaire */

.formulaire { display: grid; gap: 10px; max-width: 520px; }
.formulaire .ligne { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.champ {
  width: 100%; font: inherit; font-size: 16px;
  color: var(--creme);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  padding: 14px 16px;
}
.champ::placeholder { color: #9a92bd; }
.champ:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(53, 224, 255, 0.25); }
.bouton {
  font-family: var(--marque); font-weight: 700; font-style: italic;
  text-transform: uppercase; letter-spacing: 0.02em; font-size: 14px;
  color: #1a0714; background: var(--couchant);
  border: 0; border-radius: 999px;
  padding: 0 24px; min-height: 52px;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(255, 46, 136, 0.35);
}
.bouton:hover { filter: brightness(1.08); }
.bouton[disabled] { opacity: 0.6; cursor: progress; }
.mention { font-size: 13px; color: var(--brume); margin: 2px 0 0; line-height: 1.5; }
.mention a { text-underline-offset: 2px; }
.retour { font-size: 15px; font-weight: 600; margin: 4px 0 0; min-height: 1.5em; }
.retour.ok { color: var(--cyan); }
.retour.erreur { color: var(--soleil); }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ──────────────────────────────────────────────────────── les sections */

.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section h2 { font-size: clamp(48px, 7vw, 104px); margin-bottom: 18px; }
.section .intro { color: var(--brume); max-width: 58ch; margin: 0 0 48px; }
.section.nuit-2 { background: var(--nuit-2); }

/* Les étapes : une vraie séquence, d'où les numéros. */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.etape {
  border: 1px solid var(--bord); border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  padding: 26px 24px 28px;
}
.etape .numero { font-family: var(--hud); font-size: 12px; letter-spacing: 0.14em; color: var(--brume); }
.etape .numero b { font-family: var(--affiche); font-weight: 400; font-size: 44px; line-height: 1; color: var(--creme); margin-right: 6px; }
.etape h3 { font-family: var(--marque); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 17px; margin: 14px 0 8px; }
.etape p { margin: 0; color: var(--brume); font-size: 16px; }
.etape:nth-child(1) .numero b { color: var(--soleil); }
.etape:nth-child(2) .numero b { color: var(--rose); }
.etape:nth-child(3) .numero b { color: var(--cyan); }

/* Les détails : trois morceaux du poster, en néon. */
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.detail { margin: 0; position: relative; }
.detail img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 24px 60px rgba(0, 0, 0, 0.45);
}
.detail figcaption { position: absolute; left: 14px; bottom: -14px; }
.detail:nth-child(2) figcaption .sticker { transform: rotate(2deg); }

/* Les formats. Le 50×70 porte un cadre au dégradé du couchant. */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: end; }
.format {
  border: 1px solid var(--bord); border-radius: 18px;
  background: var(--nuit-3);
  padding: 28px 26px; display: grid; gap: 4px;
}
.format.principal {
  border: 2px solid transparent;
  background: linear-gradient(var(--nuit-3), var(--nuit-3)) padding-box, var(--couchant) border-box;
  padding: 34px 26px;
}
.format .taille { font-family: var(--marque); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 18px; margin: 0; }
.format .prix { font-family: var(--affiche); font-size: 72px; line-height: 1; margin: 6px 0 0; font-variant-numeric: lining-nums tabular-nums; }
.format .role { font-size: 14px; color: var(--brume); margin: 0; }
.format .sticker { justify-self: start; margin-bottom: 10px; }
.precisions { margin: 30px 0 0; color: var(--brume); font-size: 15px; }

/* L'appel final : le coucher de soleil en entier. */
.final { background: var(--couchant); color: #1a0714; }
.final .conteneur { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.final h2 { color: #1a0714; }
.final p { margin: 0; font-size: 18px; font-weight: 600; }
.final .champ { background: rgba(26, 7, 20, 0.12); border-color: rgba(26, 7, 20, 0.45); color: #1a0714; }
.final .champ::placeholder { color: rgba(26, 7, 20, 0.6); }
.final .champ:focus { border-color: #1a0714; box-shadow: 0 0 0 3px rgba(26, 7, 20, 0.2); }
.final .bouton { background: #1a0714; color: var(--creme); box-shadow: none; }
.final .mention { color: rgba(26, 7, 20, 0.8); }
.final .retour.ok, .final .retour.erreur { color: #1a0714; }
.final :focus-visible { outline-color: #1a0714; }

/* Les univers : le premier est ouvert, les suivants verrouillés, comme les
   zones d'une carte de jeu qu'on n'a pas encore débloquées. */
.univers { display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); gap: 16px; align-items: stretch; }
.carte-univers {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  border: 1px solid var(--bord); border-radius: 18px;
  background: var(--nuit-3); padding: 16px 16px 20px;
}
.carte-univers .vignette {
  aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center; margin-bottom: 4px;
}
.carte-univers .vignette img { width: 100%; height: 100%; object-fit: cover; }
.carte-univers h3 {
  font-family: var(--marque); font-weight: 700; font-style: italic;
  text-transform: uppercase; font-size: 15px; margin: 2px 0 0;
}
.carte-univers p { margin: 0; font-size: 14px; color: var(--brume); line-height: 1.5; }
.carte-univers .sticker { align-self: flex-start; font-size: 11px; padding: 6px 9px 5px; }
.carte-univers .statut {
  align-self: flex-start;
  font-family: var(--hud); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brume); border: 1px solid var(--bord); border-radius: 999px; padding: 4px 10px;
}
.verrouille .vignette {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 10px, transparent 10px 20px), var(--nuit-2);
}
.verrouille h3, .verrouille p { opacity: 0.7; }
/* Le cadenas, dessiné en CSS : un corps et un anneau. */
.cadenas { position: relative; width: 34px; height: 26px; border-radius: 6px; background: var(--brume); margin-top: 16px; }
.cadenas::before {
  content: ""; position: absolute; left: 7px; bottom: 100%;
  width: 20px; height: 18px; border: 4px solid var(--brume); border-bottom: 0;
  border-radius: 12px 12px 0 0; box-sizing: border-box;
}
.cadenas::after { content: ""; position: absolute; left: 15px; top: 9px; width: 4px; height: 8px; border-radius: 2px; background: var(--nuit-3); }
.mystere {
  border: 2px solid transparent;
  background: linear-gradient(var(--nuit-3), var(--nuit-3)) padding-box, var(--couchant) border-box;
}
.mystere .vignette { background: var(--couchant); }
.mystere .vignette span { font-family: var(--affiche); font-size: 120px; line-height: 1; color: #1a0714; }

/* ───────────────────────────────────────────────────── les pages légales */

.entete.statique { position: static; border-bottom: 1px solid var(--bord); }
.page-legale { padding: clamp(48px, 7vw, 88px) 0 96px; }
.page-legale .conteneur { max-width: 760px; }
.page-legale h1 { font-size: clamp(48px, 7vw, 88px); margin-bottom: 12px; }
.page-legale .maj { font-family: var(--hud); font-size: 12px; letter-spacing: 0.1em; color: var(--brume); margin: 0 0 40px; }
.page-legale h2 {
  font-family: var(--marque); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: 17px; margin: 40px 0 12px; color: var(--creme);
}
.page-legale p, .page-legale li { color: var(--brume); }
.page-legale strong { color: var(--creme); font-weight: 600; }
.page-legale ul { padding-left: 20px; margin: 0 0 12px; }
.page-legale li { margin: 4px 0; }
.page-legale a { color: var(--cyan); text-underline-offset: 3px; }

/* ─────────────────────────────────── la recherche d'adresse et la réservation */

.recherche { display: grid; gap: 10px; max-width: 540px; margin: 0 0 22px; }
.recherche .compte-titre { margin: 0; }
.recherche .ligne { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.recherche .champ { font-size: 17px; padding: 16px 18px; }
.champ-adresse { position: relative; min-width: 0; }
.suggestions {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px);
  margin: 0; padding: 6px; list-style: none;
  background: var(--nuit-2); border: 1px solid var(--bord); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  max-height: min(340px, 50vh); overflow-y: auto;
}
.suggestions li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.suggestions strong { font-weight: 600; font-size: 15px; color: var(--creme); }
.suggestions span { font-size: 13px; color: var(--brume); }
.suggestions span:empty { display: none; }
.suggestions li:hover, .suggestions li[aria-selected="true"] { background: rgba(53, 224, 255, 0.1); }
.suggestions li[aria-selected="true"] strong { color: var(--cyan); }
.exemples {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 2px 0 0; font-size: 13px; color: var(--brume);
}
.exemples button {
  font: inherit; font-size: 13px; color: var(--creme);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bord); border-radius: 999px;
  padding: 5px 12px; cursor: pointer;
}
.exemples button:hover { border-color: var(--cyan); color: var(--cyan); }

/* La réservation : elle arrive quand le poster est là, et elle se voit. */
.reservation {
  max-width: none; margin: 0;
  padding: 18px 18px 14px;
  border: 2px solid transparent; border-radius: 16px;
  background: linear-gradient(var(--nuit-2), var(--nuit-2)) padding-box, var(--couchant) border-box;
}
.reservation-titre { margin: 0 0 4px; font-weight: 600; color: var(--creme); font-size: 16px; }
/* Sur ordinateur, un bandeau : ce qu'on réserve à gauche, l'email à droite. */
@media (min-width: 921px) {
  .reservation {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    grid-template-areas: "titre ligne" "mention retour";
    column-gap: clamp(24px, 4vw, 56px); row-gap: 8px; align-items: center;
    padding: 22px 28px 18px;
  }
  .reservation .reservation-titre { grid-area: titre; margin: 0; font-size: 19px; text-wrap: balance; }
  .reservation .ligne { grid-area: ligne; }
  .reservation .mention { grid-area: mention; margin: 0; }
  .reservation .retour { grid-area: retour; margin: 0; }
}

/* L'écran de chargement, posé sur le poster pendant le rendu. */
.chargement {
  position: absolute; inset: 10px;
  display: grid; place-content: center; gap: 14px; text-align: center;
  background: rgba(13, 10, 30, 0.82);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.chargement p {
  margin: 0; font-family: var(--hud); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cyan);
}
.chargement .barre { width: 180px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.chargement .barre span { display: block; height: 100%; width: 92%; background: var(--couchant); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  .chargement .barre span { animation: charge 5s cubic-bezier(0.1, 0.7, 0.2, 1) both; }
  .affiche.en-cours { animation-play-state: paused; }
}
@keyframes charge { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* L'aperçu du visiteur garde ses propres proportions. */
.affiche.personnel img { aspect-ratio: auto; object-fit: contain; }
.affiche.personnel .sticker { background: var(--cyan); color: #04121a; }

@media (max-width: 480px) {
  .recherche .ligne { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────── pied de page */

.pied { background: #07051a; color: var(--brume); padding: 48px 0 56px; font-size: 14px; }
.pied .conteneur { display: grid; gap: 18px; }
.pied .liens { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pied a { color: var(--creme); text-underline-offset: 3px; }
.pied .attribution { font-family: var(--hud); font-size: 11px; letter-spacing: 0.04em; margin: 0; color: #8d86ad; }

/* ─────────────────────────────────────────────────────────── le mouvement */

@media (prefers-reduced-motion: no-preference) {
  .heros h1 span { animation: monte 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .heros h1 span:nth-child(2) { animation-delay: 0.08s; }
  .heros h1 span:nth-child(3) { animation-delay: 0.16s; }
  .affiche { animation: flotte 7s ease-in-out infinite; }
  .bouton { transition: filter 0.15s ease; }
}
@keyframes monte { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes flotte { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-12px); } }

/* ─────────────────────────────────────────────────────────── le mobile */

@media (max-width: 920px) {
  .heros { min-height: 0; padding: 110px 0 64px; }
  .heros .conteneur { grid-template-columns: 1fr; grid-template-areas: "texte" "scene" "resa" "compte"; grid-template-rows: auto; }
  .heros .scene { margin: 12px 0 28px; }
  .scene { min-height: 440px; }
  .etapes, .details, .formats { grid-template-columns: 1fr; }
  .univers { grid-template-columns: 1fr 1fr; }
  .univers .disponible, .univers .mystere { grid-column: span 2; }
  .univers .disponible .vignette, .univers .mystere .vignette { aspect-ratio: 16 / 9; }
  .details { gap: 40px; }
  .formats { align-items: stretch; }
  .final .conteneur { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .formulaire .ligne { grid-template-columns: 1fr; }
  .bouton { width: 100%; }
  .pilule .long { display: none; }
  .logotype { font-size: 13px; }
  .compte div { padding: 12px 4px 10px; }
  .compte b { font-size: 40px; }
  .compte small { font-size: 9px; letter-spacing: 0.1em; }
  .affiche .sticker { left: -8px; }
}
