:root {
  --bg: #181719;
  --deep: #0e0d0f;
  --ink: #f4f4f4;
  --mute: #b3b1b6;
  --yellow: #ffed00;
  --line: rgba(244, 244, 244, 0.13);
  --gutter: clamp(16px, 4vw, 56px);
  --font: "Mulish", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------- Typo ---------- */

.display {
  margin: 0;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(36px, 5.6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.display mark { background: none; color: var(--yellow); }

.kicker {
  margin: 0 0 12px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}

.lede { margin: 16px 0 0; max-width: 44ch; color: var(--mute); font-size: clamp(16px, 1.25vw, 19px); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  border: 0;
  padding: 11px 20px;
  font: inherit;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transform: skewX(-8deg);
  transition: transform 0.18s, background 0.18s;
}
.btn--solid { background: var(--yellow); color: var(--bg); }
.btn--solid:hover, .btn--solid:focus-visible { background: #fff; transform: skewX(-8deg) translateX(4px); }
.btn--big { padding: 16px 30px; font-size: 15px; }

/* ---------- Barre du haut ---------- */

.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(14, 13, 15, 0.9), rgba(14, 13, 15, 0));
}
.top-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--gutter) 16px; }
/* La barre d'infos : centre choisi et téléphone à gauche, liens du réseau à droite.
   Même écriture que le menu (capitales grasses espacées), en plus petit ; pas de fond propre, juste un filet. */
.top-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; margin: 0 var(--gutter); border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.top-bar svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.top-bar a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; opacity: 0.8; transition: opacity 0.2s, color 0.2s; }
.top-bar a:hover, .top-bar a:focus-visible { opacity: 1; color: var(--yellow); }
.top-contact, .top-links { display: flex; align-items: center; gap: 28px; }
.top-centre { position: relative; display: inline-flex; align-items: center; gap: 8px; }
/* Avec le script, la liste du navigateur laisse la place à un menu aux couleurs du site (js/topbar.js). */
.top-centre.is-dressed select { display: none; }
.centre-pick { display: inline-flex; align-items: center; gap: 10px; border: 0; padding: 8px 0; background: none; color: var(--ink); font: inherit; letter-spacing: inherit; text-transform: inherit; opacity: 0.8; cursor: pointer; transition: opacity 0.2s, color 0.2s; }
/* Le bouton ne montre que le nom du centre : son téléphone est déjà affiché juste à côté. */
.centre-pick > span > span { display: none; }
.centre-pick b { font-weight: inherit; }
.centre-pick::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border-right: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: rotate(45deg); transition: transform 0.2s, margin 0.2s; }
.centre-pick[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(-135deg); }
.centre-pick:hover, .centre-pick:focus-visible, .centre-pick[aria-expanded="true"] { opacity: 1; color: var(--yellow); }
.centre-list { position: absolute; left: -14px; top: calc(100% + 6px); z-index: 2; min-width: 290px; margin: 0; padding: 6px; list-style: none; background: rgba(18, 17, 20, 0.97); border: 1px solid var(--line); border-top: 2px solid var(--yellow); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.6); animation: centre-list 0.16s ease-out; }
.centre-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 11px 14px 11px 16px; border-left: 2px solid transparent; cursor: pointer; }
.centre-list b { font-weight: 900; font-style: italic; font-size: 14px; letter-spacing: 0.04em; }
.centre-list span { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.centre-list li.is-active { background: rgba(255, 237, 0, 0.08); }
.centre-list li.is-active b { color: var(--yellow); }
.centre-list li[aria-selected="true"] { border-left-color: var(--yellow); }
@keyframes centre-list { from { opacity: 0; transform: translateY(-6px); } }
.top-centre select { appearance: none; border: 0; padding: 8px 18px 8px 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23ffed00' stroke-width='1.8'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E") right center / 10px no-repeat; color: var(--ink); font: inherit; letter-spacing: inherit; text-transform: inherit; opacity: 0.8; cursor: pointer; transition: opacity 0.2s, color 0.2s; }
.top-centre select:hover, .top-centre select:focus-visible { opacity: 1; color: var(--yellow); }
.top-centre option { background: #1a191c; color: #fff; }
.top-phone span { font-variant-numeric: tabular-nums; }
/* Le second bouton reprend la forme penchée des boutons du site, en contour : « Demander un devis » reste le seul plein. */
.top-bar .top-franchise { padding: 8px 16px; border: 1px solid var(--yellow); color: var(--yellow); opacity: 1; transform: skewX(-8deg); transition: background 0.18s, color 0.18s, transform 0.18s; }
.top-bar .top-franchise:hover, .top-bar .top-franchise:focus-visible { background: var(--yellow); color: var(--bg); transform: skewX(-8deg) translateX(4px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.brand img { height: 40px; width: auto; }
.top-nav { display: flex; gap: 28px; }
.top-nav a {
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}
.top-nav a:hover, .top-nav a:focus-visible { opacity: 1; color: var(--yellow); }

.top-actions { display: flex; align-items: center; gap: 14px; }
.top-actions .btn { white-space: nowrap; } /* le bouton de devis ne se coupe jamais en deux lignes */
/* ---------- Démarrage ---------- */

.ignition {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 26px;
  background: #060607;
  transition: opacity 0.7s, visibility 0.7s;
}
.ignition img { width: min(360px, 62vw); height: auto; }
.ignition-start {
  --hold: 0;
  position: relative;
  width: 168px;
  height: 168px;
  margin-top: 10px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #2a292c, #111012 70%);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  font-style: italic;
  font-size: 19px;
  line-height: 1.05;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transform: scale(calc(1 - var(--hold) * 0.05));
}
.ignition-start svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--line); stroke-width: 4; }
.ring { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: calc(339.3 * (1 - var(--hold))); }
.ignition-start span { position: relative; }
.ignition-start:focus-visible { outline: 2px solid var(--yellow); outline-offset: 6px; }
.ignition-hint { margin: 0; font-size: 13px; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }
.ignition-skip { border: 0; background: none; color: var(--mute); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.ignition-skip:hover, .ignition-skip:focus-visible { color: var(--ink); }

html:not(.started) { overflow: hidden; }
.started .ignition { opacity: 0; visibility: hidden; }
.flash { position: fixed; inset: 0; z-index: 39; background: var(--yellow); pointer-events: none; animation: flash 0.7s ease-out forwards; }
@keyframes flash { from { opacity: 0.85; } to { opacity: 0; } }

/* ---------- Chiffre géant ---------- */

.bigcount {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.06em;
  font-weight: 900;
  font-style: italic;
  padding-bottom: 18vh;
  font-size: clamp(110px, 24vw, 430px);
  line-height: 1;
  letter-spacing: -0.04em;
  opacity: 0;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
/* Néon blanc : le tube (contour), un voile transparent à l'intérieur, et le halo autour. */
.bigcount svg { flex: none; width: 2.235em; height: 1em; overflow: visible; filter: drop-shadow(0 0 0.012em rgba(255, 255, 255, 0.95)) drop-shadow(0 0 0.06em rgba(255, 255, 255, 0.5)) drop-shadow(0 0 0.16em rgba(210, 225, 255, 0.28)); }
/* Chiffres d'afficheur (Orbitron), penchés comme les titres du site. */
.bigcount svg text { font: 800 262px "Orbitron", var(--font); letter-spacing: 0; font-variant-numeric: tabular-nums; transform: skewX(-9deg); transform-origin: 0 292px; }
.bigcount svg rect { fill: #fff; }
/* Le trait de repère n'existe que sur grand écran, là où le chiffre est posé sur le mur (voir sections.css). */
.bigcount-lead { display: none; }
.bigcount-zoom > span { font-size: 0.16em; letter-spacing: 0; margin: 2.4em 0 0 0.25em; color: #fff; font-family: "Orbitron", var(--font); font-weight: 800; font-style: normal; text-transform: uppercase; text-shadow: 0 0 0.12em rgba(255, 255, 255, 0.9), 0 0 0.5em rgba(255, 255, 255, 0.5); }

/* ---------- Scène 3D ---------- */

.gl { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; display: none; pointer-events: none; }
.gl-on .gl { display: block; }
main { position: relative; z-index: 1; }

/* ---------- Sections épinglées ---------- */

.dyno { position: relative; height: 860vh; }
.engine { position: relative; height: 400vh; }
.bench { position: relative; height: 380vh; }
.network { position: relative; height: 620vh; }

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--deep);
}
.gl-on .stage { background: transparent; }

.film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gl-on .scrub .film { opacity: 0; pointer-events: none; }

.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(14, 13, 15, 0.92) 0%, rgba(14, 13, 15, 0) 48%),
    radial-gradient(120% 90% at 50% 45%, rgba(14, 13, 15, 0) 45%, rgba(14, 13, 15, 0.7) 100%);
  pointer-events: none;
}

.chapter {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(60px, 11vh, 120px);
  max-width: 780px; /* assez large pour le plus long mot d'un titre à sa plus grande taille */
  opacity: 0;
  visibility: hidden;
  will-change: opacity, transform;
}
.chapter--hero { opacity: 1; visibility: visible; max-width: 900px; }
.chapter--hero .display { font-size: clamp(40px, 7vw, 112px); }
.chapter--right { left: auto; text-align: right; }
/* Les lettres penchées dépassent un peu à droite : on garde cette marge pour qu'elles ne touchent pas le bord. */
.chapter--right .display { padding-right: 0.06em; }
.chapter--right .lede { margin-left: auto; }
.chapter--low { bottom: clamp(30px, 5vh, 56px); }
.chapter--low .display { font-size: clamp(30px, 4.4vw, 70px); }
.chapter--low .kicker { margin-bottom: 8px; }

.hint {
  margin: 30px 0 0;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
}
.hint::after { content: ""; display: inline-block; width: 46px; height: 2px; margin-left: 14px; vertical-align: middle; background: var(--yellow); }

.progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; height: 2px; background: var(--line); }
.progress span { display: block; height: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Panneaux texte (banc, réseau) ---------- */

.panel {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  width: min(40vw, 520px);
  transform: translateY(-50%);
}
.panel .display { font-size: clamp(32px, 4.2vw, 68px); }

.stages { display: flex; gap: 8px; margin: 28px 0 0; }
.stages button {
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: rgba(24, 23, 25, 0.7);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transform: skewX(-8deg);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.stages button:hover, .stages button:focus-visible { border-color: var(--yellow); }
.stages button.is-on { background: var(--yellow); border-color: var(--yellow); color: var(--bg); }

.readout { display: flex; gap: clamp(18px, 2.4vw, 40px); margin: 30px 0 0; }
.readout dt { font-weight: 900; font-style: italic; font-size: clamp(22px, 2.2vw, 34px); line-height: 1; white-space: nowrap; }
.readout dt b { color: var(--yellow); font-variant-numeric: tabular-nums; }
.readout dd { margin: 6px 0 0; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }

.legend { margin: 22px 0 0; font-size: 13px; color: var(--mute); }
.sw { display: inline-block; width: 22px; height: 4px; margin: 0 8px 0 14px; vertical-align: middle; }
.sw:first-child { margin-left: 0; }
.sw--power { background: var(--yellow); }
.sw--torque { background: var(--ink); }
.sw--stock { background: #8d8b90; }

/* ---------- Réseau ---------- */

.centres { list-style: none; margin: 26px 0 0; padding: 0; }
.centres li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 16px;
  padding: 9px 0 9px 14px;
  border-left: 2px solid var(--line);
  opacity: 0.5;
  transition: opacity 0.3s, border-color 0.3s;
}
.centres li { cursor: pointer; }
.centres li:hover, .centres li:focus-visible { opacity: 0.85; outline: none; }
.centres li:focus-visible { border-color: var(--ink); }
.centres li.is-on { opacity: 1; border-color: var(--yellow); }
.network .stage.is-pin { cursor: pointer; }
.centres b { font-weight: 900; font-style: italic; font-size: 18px; text-transform: uppercase; }
.centres span { grid-column: 1; font-size: 13px; color: var(--mute); }
.centres a { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.centres a:hover, .centres a:focus-visible { color: var(--yellow); }

/* La photo du centre : posée par le script juste au-dessus de la pointe de son faisceau sur la carte. */
.centre-photo {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  width: clamp(360px, 26vw, 440px);
  margin: 0;
  background: var(--deep);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  will-change: transform;
}
/* La photo prend toute la hauteur de la fiche, quelle que soit la longueur du texte à côté. */
.centre-photo img { display: block; width: 100%; height: 0; min-height: 100%; object-fit: cover; }
.centre-info { display: grid; align-content: center; gap: 5px; padding: 14px 16px; }
.centre-info b { font-weight: 900; font-style: italic; font-size: 16px; line-height: 1.1; text-transform: uppercase; }
.centre-info span { font-size: 12px; line-height: 1.4; color: var(--mute); }
.centre-sub { font-size: 11px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); }
.centre-info .centre-hours { white-space: pre-line; padding-top: 6px; border-top: 1px solid var(--line); color: var(--ink); }
.centre-links { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; margin: 2px 0 0; }
.centre-info .centre-more { font-size: 11px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.centre-more::after { content: " →"; }
.centre-info a { margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--yellow); text-decoration: none; white-space: nowrap; }
.centre-info a:hover, .centre-info a:focus-visible { text-decoration: underline; }

/* ---------- Fin ---------- */

/* Le film de fin est une vidéo ordinaire (pas dessinée par le moteur 3D) : elle reste visible et opaque. */
.outro { position: relative; height: 460vh; }
.outro .stage, .gl-on .outro .stage { background: var(--deep); }
/* Film de fin un peu assombri, comme celui d'ouverture : il laisse voir 82 % de sa lumière sur le fond noir. */
.outro .film, .gl-on .outro .film { opacity: 0.82; }
/* Pas de bord net avec la section du dessus : un voile de la couleur de la page couvre le film quand il arrive,
   puis se retire vers le haut avec un bord très doux (--in : 0 quand le film entre par le bas, 1 quand il remplit l'écran). */
.outro .stage::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  --edge: calc((1 - var(--in, 1)) * 145% - 45%);
  background: linear-gradient(to bottom, var(--deep) var(--edge), rgba(14, 13, 15, 0) calc(var(--edge) + 45%));
}
.outro .chapter { z-index: 2; }
/* Le dernier mot : centré sur la porte refermée. */
.chapter--end { inset: 0; max-width: none; display: grid; align-content: center; justify-items: center; padding: 0 var(--gutter); text-align: center; background: radial-gradient(60% 55% at 50% 50%, rgba(14, 13, 15, 0.78), rgba(14, 13, 15, 0)); }
.chapter--end .display { max-width: 16ch; }
.chapter--end .lede { margin: 18px auto 34px; }

/* ---------- Compte-tours ---------- */

.tacho { position: fixed; left: var(--gutter); top: 50%; z-index: 15; width: 84px; transform: translateY(-50%); pointer-events: none; display: none; }
.tacho svg { display: block; width: 100%; height: auto; overflow: visible; }
.tacho-arc { fill: none; stroke: var(--line); stroke-width: 5; stroke-linecap: round; }
.tacho-red { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; }
.tacho-needle { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; transform-origin: 60px 60px; transform: rotate(-128deg); }
.tacho circle { fill: var(--yellow); }
.tacho p { margin: -14px 0 0; text-align: center; line-height: 1.1; }
.tacho b { display: block; font-weight: 900; font-style: italic; font-size: 20px; font-variant-numeric: tabular-nums; }
.tacho span { font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }

/* ---------- Panneau de devis ---------- */

.scrim { position: fixed; inset: 0; z-index: 30; background: rgba(8, 8, 9, 0.6); opacity: 0; transition: opacity 0.3s; }
.quote {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 31;
  width: min(440px, 100%);
  padding: clamp(56px, 9vh, 90px) clamp(20px, 3vw, 36px) 30px;
  overflow-y: auto;
  background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.55);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.quote-open .quote { transform: none; }
.quote-open .scrim { opacity: 1; }
.quote .display { font-size: clamp(30px, 3vw, 44px); }
.quote-close { position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; border: 0; background: none; color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; }
.quote-close:hover, .quote-close:focus-visible { color: var(--yellow); }
.quote-form { display: grid; gap: 16px; margin-top: 26px; }
.quote-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.quote-form input, .quote-form select {
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--deep);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.quote-form input:focus-visible, .quote-form select:focus-visible { outline: 2px solid var(--yellow); outline-offset: 1px; }
.quote-form .btn { margin-top: 8px; justify-self: start; }
.quote-note { margin: 0; font-size: 12px; color: var(--mute); }
.quote-done { margin-top: 28px; font-size: 18px; }

/* ---------- Grands écrans ---------- */

@media (min-width: 1500px) {
  .tacho { display: block; }
  .chapter:not(.chapter--right), .panel { left: calc(var(--gutter) + 130px); }
  /* Sur les très grands écrans, le panneau du configurateur se rapproche du graphe (qui fait l'autre moitié du chemin). */
  .bench .panel { left: max(calc(var(--gutter) + 130px), calc(50% - 960px)); }
  /* Même chose pour la liste des centres, face à la carte. */
  .network .panel { left: max(calc(var(--gutter) + 130px), calc(50% - 910px)); }
}

/* ---------- Petits écrans ---------- */

@media (max-width: 900px) {
  .top-nav { display: none; }
  .top-links { display: none; }
  .top-bar { min-height: 34px; }
  .top-main { padding-block: 10px 12px; }
  .brand img { height: 26px; }
  .top .btn { padding: 9px 13px; font-size: 11px; }
  .chapter, .chapter--right { left: var(--gutter); right: var(--gutter); text-align: left; }
  .chapter--end { left: 0; right: 0; text-align: center; }
  .chapter--right .lede { margin-left: 0; }
  .panel { top: auto; bottom: clamp(20px, 4vh, 40px); width: auto; right: var(--gutter); transform: none; }
  .panel .lede, .legend { display: none; }
  .stages { margin-top: 14px; }
  .readout { margin-top: 16px; }
  .centres { margin-top: 12px; }
  .centres li { display: none; }
  .centres li.is-on { display: grid; }
  .network:not(.has-centre) .centres li:first-child { display: grid; opacity: 0.7; }
  .centre-photo { display: none; }
}

/* ---------- Sans 3D ou mouvement réduit : tout se lit à plat ---------- */

html:not(.gl-on) .bench, html:not(.gl-on) .network { height: auto; }
html:not(.gl-on) .bench .stage, html:not(.gl-on) .network .stage { position: relative; height: auto; padding: 120px 0 80px; }
html:not(.gl-on) .panel { position: relative; top: auto; left: auto; transform: none; margin: 0 var(--gutter); width: auto; max-width: 620px; }
html:not(.gl-on) .centres li { opacity: 1; }
html:not(.gl-on) .centre-photo { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dyno, .engine, .outro { height: auto; }
  .scrub .stage { position: relative; height: auto; overflow: visible; padding: 110px 0 50px; }
  .film { position: relative; height: 62vh; }
  .shade, .progress, .hint, .tacho, .ignition, .bigcount { display: none; }
  html:not(.started) { overflow: auto; }
  .chapter { position: relative; inset: auto; opacity: 1 !important; visibility: visible !important; transform: none !important; margin: 48px var(--gutter) 0; text-align: left; }
  .btn, .quote, .scrim { transition: none; }
}
