/* =====================================================================
   POWERLOC — feuille de styles du site
   Les valeurs de référence (couleurs, typographie, espacements, rayons, bordures, ombres,
   conteneurs, durées, plans) sont des variables, ci-dessous : en changer une change tout le site.
   Points de rupture : 600 px (grand mobile), 900 px (tablette), 1200 px (ordinateur).
   ===================================================================== */

/* Polices auto-hébergées (licence SIL Open Font License 1.1, voir assets/fonts) */
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/chakra-petch-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

/* Tokens du design system */
:root {
  color-scheme: dark;
  /* couleurs */
  --nuit: #0B1420;
  --nuit-prof: #050B16;
  --nuit-haute: #141E2C;
  --papier: #F3F4F2;
  --blanc: #FFFFFF;
  --brume: #E5E6E3;
  --carrosserie: #CCCBCE;
  --encre: #0B1420;
  --graphite: #4A5560;
  --graphite2: #5B6672;
  --blanc-txt: #FFFFFF;
  --gris-nuit: #A3ADBA;
  --gris-nuit2: #8F9AA8;
  --vert: #9ADF3E;
  --vert-hover: #B2EA66;
  --vert-press: #86C92F;
  --vertp: #3E7A14;
  --vertp-hover: #357010;
  --vertp-press: #2E620E;
  --filet-nuit: rgba(255,255,255,.12);
  --filet-papier: #D2D2D6;
  --filet-doux: rgba(255,255,255,.08);
  --contour-nuit: #6E7988;
  --contour-papier: #7D8590;
  --contour-btn: rgba(255,255,255,.55);
  --voile-survol: rgba(255,255,255,.1);
  --voile-appui: rgba(255,255,255,.14);
  --piste-nuit: rgba(255,255,255,.16);
  --verre: rgba(11,20,32,.72);
  --voile-menu: rgba(5,11,22,.97);
  --voile-scene-fort: rgba(5,11,22,.94);
  --voile-scene: rgba(5,11,22,.7);
  --nuit-prof-0: rgba(5,11,22,0);
  --nuit-haute-0: rgba(20,30,44,0);
  --ombre-sol: rgba(11,20,32,.26);
  --ombre-sol-0: rgba(11,20,32,0);
  --trait: rgba(255,255,255,.9);
  --trait-panneau: rgba(255,255,255,.28);
  --halo: rgba(217,241,255,.38);
  --halo-0: rgba(217,241,255,0);
  --lueur: rgba(154,223,62,.34);
  --nuit-noire: rgba(2,6,12,.42);
  --nuit-noire-bord: rgba(2,6,12,.86);
  /* typographie : familles, puis tailles fluides de 390 px (mobile) à 1440 px (ordinateur) */
  --font-titre: "Chakra Petch", "Arial Narrow", sans-serif;
  --font-texte: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --fs-display: clamp(44px, 27.66px + 4.190vw, 88px); --lh-display: 0.95; --ls-display: -0.01em;
  --fs-h1: clamp(36px, 25.60px + 2.667vw, 64px); --lh-h1: 1.0; --ls-h1: -0.005em;
  --fs-h2: clamp(32px, 26.06px + 1.524vw, 48px); --lh-h2: 1.04; --ls-h2: 0;
  --fs-h3: clamp(20px, 18.51px + 0.381vw, 24px); --lh-h3: 1.15; --ls-h3: 0.01em;
  --fs-chiffre: clamp(48px, 39.09px + 2.286vw, 72px); --lh-chiffre: 1.0; --ls-chiffre: -0.01em;
  --fs-body-l: clamp(18px, 16.89px + 0.286vw, 21px); --lh-body-l: 1.5; --ls-body-l: 0;
  --fs-body: clamp(16px, 15.63px + 0.095vw, 17px); --lh-body: 1.55; --ls-body: 0;
  --fs-small: 14px; --lh-small: 1.5; --ls-small: 0;
  --fs-label: clamp(11px, 10.63px + 0.095vw, 12px); --lh-label: 1.3; --ls-label: 0.14em;
  --fs-caption: 12px; --lh-caption: 1.45; --ls-caption: 0;
  /* espacements */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 40px;
  --sp-2xl: 72px;
  --sp-3xl: 112px;
  --section: clamp(72px, 7.8vw, 112px);
  --gouttiere: clamp(20px, 3.5vw, 40px);
  /* rayons */
  --r-xs: 6px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-pill: 999px;
  /* bordures */
  --bw-filet: 1px; --bw-contour: 1.5px; --bw-focus: 2px;
  /* ombres */
  --sh-aucune: none;
  --sh-douce: 0 1px 3px rgba(11,20,32,.18), 0 6px 16px rgba(11,20,32,.06);
  --sh-relief: 0 1px 3px rgba(0,0,0,.35);
  --sh-flottante: 0 12px 32px rgba(11,20,32,.28);
  --sh-halo: 0 0 0 4px rgba(62,122,20,.18);
  /* conteneurs */
  --w-texte: 760px;
  --w-contenu: 1200px;
  --w-large: 1440px;
  --nav-h: 56px;
  /* cadres plein écran : une section = un écran (svh : hauteur sans les barres du navigateur mobile) */
  --vh: 1vh;
  --frame: calc(100 * var(--vh) - var(--nav-h));
  --frame-pad: clamp(24px, calc(var(--vh) * 5.5), 64px);
  /* mouvement */
  --t-micro: 150ms;
  --t-etat: 250ms;
  --t-apparition: 450ms;
  --t-scene: 700ms;
  --ease: cubic-bezier(.2,0,0,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  /* plans (z-index) */
  --z-contenu: 0;
  --z-nav: 50;
  --z-menu: 100;
  --z-fenetre: 200;
  --z-notification: 300;
  --eclair: polygon(68.4% 0%, 0% 54%, 40.4% 54%, 0% 100%, 86% 41.5%, 45.6% 41.5%, 100% 0%);  /* forme de l’éclair du logo, pour le masque photo */
}
@supports (height: 100svh) { :root { --vh: 1svh; } }

/* =====================================================================
   Base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* sur ordinateur, chaque section se cale sur l’écran quand on s’arrête près d’elle */
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) and (min-height: 600px) {
  html { scroll-snap-type: y proximity; }
}
body {
  margin: 0;
  background: var(--nuit-prof);
  color: var(--blanc);
  font-family: var(--font-texte);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: var(--bw-focus) solid var(--vert); outline-offset: 3px; }
.theme-papier :focus-visible { outline-color: var(--vertp); }
body.menu-open { overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: var(--sp-md); top: -100px; z-index: var(--z-notification);
  padding: var(--sp-sm) var(--sp-md); border-radius: var(--r-pill);
  background: var(--vert); color: var(--encre); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--sp-sm); }

/* =====================================================================
   Typographie (échelle du design system)
   ===================================================================== */
.t-display, .t-h1, .t-h2, .t-h3, .t-chiffre { font-family: var(--font-titre); font-weight: 600; }
.t-display { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); text-transform: uppercase; }
.t-h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); text-transform: uppercase; }
.t-h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); text-transform: uppercase; }
.t-h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); text-transform: uppercase; }
.t-chiffre { font-size: var(--fs-chiffre); line-height: var(--lh-chiffre); letter-spacing: var(--ls-chiffre); }
.t-body-l { font-size: var(--fs-body-l); line-height: var(--lh-body-l); }
.t-body { font-size: var(--fs-body); line-height: var(--lh-body); }
.t-small { font-size: var(--fs-small); line-height: var(--lh-small); }
.t-label {
  font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-label);
  line-height: var(--lh-label); letter-spacing: var(--ls-label); text-transform: uppercase;
}
.t-caption { font-size: var(--fs-caption); line-height: var(--lh-caption); }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }
/* chiffres qui défilent : largeur fixée sur la valeur finale, rien ne bouge autour */
.compte { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* couleurs de texte selon le fond */
.theme-nuit, .theme-nuit-prof { color: var(--blanc); }
.theme-nuit { background: var(--nuit); }
.theme-nuit-prof { background: var(--nuit-prof); }
.theme-papier { background: var(--papier); color: var(--encre); }
.theme-nuit .muted, .theme-nuit-prof .muted { color: var(--gris-nuit); }
.theme-papier .muted { color: var(--graphite); }
.theme-nuit .t-label, .theme-nuit-prof .t-label { color: var(--gris-nuit); }
.theme-papier .t-label { color: var(--graphite); }

/* =====================================================================
   Mise en page
   ===================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--w-contenu) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.section { padding-block: var(--section); }
/* une section = un écran : hauteur de la fenêtre moins la barre de navigation, contenu centré */
.frame {
  min-height: var(--frame);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: var(--frame-pad);
  scroll-snap-align: start;
}
.stack-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
@media (max-width: 599px) {
  .hide-sm { display: none !important; }
  .btn--full-sm { width: 100%; }
}
@media (min-width: 600px) { .show-sm { display: none !important; } }

/* =====================================================================
   Boutons et liens
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 var(--sp-lg);
  border: var(--bw-contour) solid transparent; border-radius: var(--r-pill);
  font-family: var(--font-texte); font-weight: 600; font-size: 16px; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-micro) var(--ease), border-color var(--t-micro) var(--ease),
              color var(--t-micro) var(--ease), transform var(--t-micro) var(--ease);
}
.btn:active { transform: scale(.97); }
.btn .icon { flex: none; }
.btn--s { min-height: 36px; padding: 0 var(--sp-md); font-size: var(--fs-small); }
.btn--l { min-height: 56px; padding: 0 30px; font-size: 17px; }
@media (pointer: coarse) { .btn--s { min-height: 44px; } }
.btn--full { width: 100%; }
/* principal sur fond sombre */
.btn--vert { background: var(--vert); border-color: var(--vert); color: var(--encre); }
@media (hover: hover) { .btn--vert:hover { background: var(--vert-hover); border-color: var(--vert-hover); } }
.btn--vert:active { background: var(--vert-press); border-color: var(--vert-press); }
/* principal sur fond clair */
.btn--vertp { background: var(--vertp); border-color: var(--vertp); color: var(--blanc); }
@media (hover: hover) { .btn--vertp:hover { background: var(--vertp-hover); border-color: var(--vertp-hover); } }
.btn--vertp:active { background: var(--vertp-press); border-color: var(--vertp-press); }
/* secondaire sur fond sombre */
.btn--contour { background: transparent; border-color: var(--contour-btn); color: var(--blanc); }
@media (hover: hover) { .btn--contour:hover { background: var(--voile-survol); } }
.btn--contour:active { background: var(--voile-appui); }

.link-chev {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px;
  font-size: 17px; line-height: 1.2; color: inherit; text-decoration: none;
  transition: color var(--t-micro) var(--ease);
}
@media (hover: hover) { .link-chev:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; } }
.icon--chev { transition: transform var(--t-etat) var(--ease-out); }
@media (hover: hover) { .link-chev:hover .icon--chev { transform: translateX(3px); } }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--blanc); cursor: pointer;
  transition: background-color var(--t-micro) var(--ease);
}
@media (hover: hover) { .icon-btn:hover { background: var(--voile-survol); } }

/* =====================================================================
   En-tête et navigation
   ===================================================================== */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: var(--z-nav);
  background: var(--verre);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: var(--bw-filet) solid var(--filet-doux);
}
.nav { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { width: auto; height: 22px; }
.nav__links { display: none; }
.nav__links a {
  padding: var(--sp-sm) 2px; color: var(--gris-nuit); text-decoration: none; font-size: var(--fs-small); line-height: 1;
  transition: color var(--t-micro) var(--ease);
}
@media (hover: hover) { .nav__links a:hover { color: var(--blanc); } }
.nav__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; margin-right: -10px; }
.nav__back { margin-left: auto; font-size: 15px; }
.nav__back .icon--chev { transform: rotate(180deg); }
@media (hover: hover) { .nav__back:hover .icon--chev { transform: rotate(180deg) translateX(3px); } }
@media (min-width: 900px) {
  .nav__logo img { height: 26px; }
  .nav__links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
  .nav__actions { margin-left: 4px; margin-right: 0; gap: 8px; }
  .nav__menu-btn { display: none; }
}

/* menu plein écran (mobile et tablette) */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column;
  background: var(--voile-menu);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  color: var(--blanc);
  opacity: 0; transition: opacity var(--t-etat) var(--ease);
  overflow-y: auto; padding-top: env(safe-area-inset-top, 0px);
}
.menu.is-open { opacity: 1; }
.menu__bar {
  display: flex; align-items: center; justify-content: space-between; flex: none;
  height: var(--nav-h); padding: 0 calc(var(--gouttiere) - 12px) 0 var(--gouttiere);
  border-bottom: var(--bw-filet) solid var(--filet-doux);
}
.menu__bar img { width: auto; height: 22px; }
.menu__nav { display: flex; flex-direction: column; padding: var(--sp-lg) var(--gouttiere) 0; }
.menu__nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 64px;
  border-bottom: var(--bw-filet) solid var(--filet-nuit);
  font-family: var(--font-titre); font-weight: 600; font-size: 24px; line-height: 1.1;
  text-transform: uppercase; text-decoration: none; color: var(--blanc);
}
.menu.is-open .menu__nav a { animation: monter var(--t-apparition) var(--ease-out) both; }
.menu.is-open .menu__nav a:nth-child(2) { animation-delay: 40ms; }
.menu.is-open .menu__nav a:nth-child(3) { animation-delay: 80ms; }
.menu.is-open .menu__nav a:nth-child(4) { animation-delay: 120ms; }
.menu__actions {
  display: flex; flex-direction: column; gap: 12px; margin-top: auto;
  padding: var(--sp-lg) var(--gouttiere) calc(32px + env(safe-area-inset-bottom, 0px));
}
@keyframes monter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   Accueil : le texte en haut, la photo remplit le reste de l’écran
   ===================================================================== */
.hero {
  position: relative; overflow: hidden; overflow: clip;
  justify-content: flex-start; padding-block: 0;
  view-timeline: --hero block;
}
.hero__intro {
  position: relative; z-index: 2; flex: none;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding-top: var(--frame-pad);
}
.hero__title { max-width: 1040px; font-size: min(var(--fs-display), calc(var(--vh) * 8.2)); }
.hero__lead { max-width: 640px; }
.hero__actions { display: flex; flex-direction: column; width: 100%; }
.hero__links { display: flex; flex-direction: column; }
.hero__media { position: relative; flex: 1 1 auto; min-height: 170px; margin-top: -12px; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 72%;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--nuit-prof) 0%, var(--nuit-prof-0) 32%, var(--nuit-prof-0) 70%, var(--nuit) 100%);
}
.hero__caption { display: none; }
@media (max-width: 599px) { .hero__cta { display: none; } }
@media (min-width: 600px) {
  .hero__intro { align-items: center; text-align: center; gap: 18px; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 28px; width: auto; margin-top: 4px; }
  .hero__links { display: contents; }
  .hero__media { min-height: clamp(200px, min(26vw, calc(var(--vh) * 40)), 560px); margin-top: clamp(-40px, -2.8vw, -8px); }
  .hero__media img { object-position: 50% 72%; }
  .hero__caption {
    display: block; position: absolute; z-index: 1;
    left: max(var(--gouttiere), calc((100% - var(--w-contenu)) / 2));
    bottom: clamp(20px, 3vw, 40px);
  }
  p.hero__caption.t-label { color: var(--gris-nuit2); }
}

/* =====================================================================
   L’essentiel : cartes (leur taille suit la hauteur de l’écran)
   ===================================================================== */
.essentials__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px var(--sp-lg); flex-wrap: wrap; }
.essentials__head p { max-width: 420px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 272px; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gouttiere);
  margin-inline: calc(-1 * var(--gouttiere)); padding: var(--sp-lg) var(--gouttiere) 4px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail:focus-visible { outline-offset: -2px; }
@media (pointer: fine) {
  .rail { scrollbar-width: thin; scrollbar-color: var(--contour-nuit) transparent; padding-bottom: 16px; }
  .rail::-webkit-scrollbar { display: block; height: 6px; }
  .rail::-webkit-scrollbar-thumb { background: var(--contour-nuit); border-radius: var(--r-pill); }
}
.rail--cards { grid-auto-columns: min(272px, calc((var(--frame) - 2 * var(--frame-pad) - 170px) * .75)); }
@media (min-width: 600px) {
  .rail { grid-auto-columns: 300px; gap: 20px; }
  .rail--cards { grid-auto-columns: min(300px, calc((var(--frame) - 2 * var(--frame-pad) - 150px) * .75)); }
}
@media (min-width: 1200px) {
  .rail--cards {
    grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible; margin-inline: 0; padding: clamp(24px, calc(var(--vh) * 4), 40px) 0 0;
  }
  .rail--cards .card { aspect-ratio: auto; height: clamp(340px, calc(var(--frame) - 2 * var(--frame-pad) - 140px), 540px); }
}
.card {
  position: relative; display: flex; flex-direction: column; aspect-ratio: 3 / 4;
  border-radius: var(--r-lg); overflow: hidden; background: var(--nuit-haute); isolation: isolate;
}
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 4px; }
.card__title { font-weight: 600; font-size: 19px; line-height: 1.25; text-wrap: balance; }
.card__text { font-size: var(--fs-small); line-height: 1.45; color: var(--gris-nuit); text-wrap: pretty; }
.card__media { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--nuit-haute) 0%, var(--nuit-haute-0) 34%);
}
.card--fiabilite img { object-position: 50% 45%; }
.card--autonomie img { object-position: 50% 82%; }
.card--puissance img { object-position: 50% 50%; }
.card--conseil img { object-position: 50% 42%; }
@media (min-width: 900px) {
  .card__body { padding: 24px 24px 4px; }
  .card__title { font-size: 21px; }
  .card__text { font-size: 15px; }
}

/* =====================================================================
   Groupes électrogènes : sélecteur, groupe à l’échelle, règle, fiche
   Mobile : une colonne, le choix, le groupe et sa fiche se suivent.
   Ordinateur : texte et sélecteur à gauche, groupe à droite, sur un seul écran.
   ===================================================================== */
.gens {
  --gen-index: 0; --gen-scale: .64; --gen-pct: 40.9%;
  --stage-h: clamp(140px, calc(var(--vh) * 24), 240px);
  overflow-x: hidden; overflow-x: clip;
}
.gens__grid { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.gens__text, .gens__visual { display: contents; }
.gens__intro { order: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gens__intro p { max-width: 560px; }
.picker { order: 4; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; margin-top: 28px; }
.segmented {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(560px, 100%); padding: 4px; border-radius: var(--r-pill); background: var(--brume);
}
.segmented__thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 4);
  border-radius: var(--r-pill); background: var(--blanc); box-shadow: var(--sh-douce);
  transform: translateX(calc(var(--gen-index) * 100%));
  transition: transform var(--t-apparition) var(--ease-out);
}
.segmented__option {
  position: relative; z-index: 1; min-height: 44px; padding: 0 4px; border: 0; border-radius: var(--r-pill);
  background: transparent; cursor: pointer; white-space: nowrap;
  font-weight: 600; font-size: var(--fs-small); line-height: 1; color: var(--graphite);
  transition: color var(--t-etat) var(--ease);
}
.segmented__option[aria-checked="true"] { color: var(--encre); }
@media (hover: hover) { .segmented__option:hover { color: var(--encre); } }
.segmented__option:focus-visible { outline-offset: 2px; }
.stage {
  order: 2; position: relative; width: 100%; height: var(--stage-h);
  display: flex; align-items: flex-end; justify-content: center; margin-top: 24px;
}
.stage__shadow {
  position: absolute; bottom: -10px; left: 50%; width: min(660px, 84%); height: 40px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--ombre-sol), var(--ombre-sol-0));
  transform: translateX(-50%) scale(var(--gen-scale));
  transition: transform var(--t-scene) var(--ease-out);
}
.stage__img {
  position: relative; width: min(720px, 92%, calc(var(--stage-h) * 1.38));
  transform: scale(var(--gen-scale)); transform-origin: 50% 100%;
  transition: transform var(--t-scene) var(--ease-out);
}
.ruler { order: 3; position: relative; width: min(720px, 100%); height: 40px; margin: 36px auto 0; }
.ruler__line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--carrosserie); }
.ruler__tick { position: absolute; top: -4px; width: 1px; height: 7px; background: var(--carrosserie); }
.ruler__tick--major { height: 12px; background: var(--contour-papier); }
.ruler__fill {
  position: absolute; left: 0; top: -1px; height: 3px; width: var(--gen-pct);
  border-radius: 2px; background: var(--vertp);
  transition: width var(--t-scene) var(--ease-out);
}
.ruler__marker, .ruler__value {
  position: absolute; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--font-mono); font-weight: 500; letter-spacing: .04em;
}
.ruler__marker { top: -30px; left: min(var(--gen-pct), calc(100% - 28px)); font-size: var(--fs-label); color: var(--vertp); transition: left var(--t-scene) var(--ease-out); }
.ruler__value { top: 14px; font-size: 11px; color: var(--graphite2); }
.gen-spec { order: 5; width: 100%; min-height: 158px; margin-top: 8px; }
.gen-spec__panel { display: flex; flex-direction: column; align-items: center; gap: 6px; animation: monter var(--t-apparition) var(--ease-out) both; }
.gen-spec__num { color: var(--encre); }
.gen-spec__unit { font-size: 20px; letter-spacing: 0; }
.gen-spec__panel p { max-width: 520px; }
.facts {
  order: 6; display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); justify-content: center;
  gap: 0 clamp(16px, 4vw, 48px); width: 100%;
  margin-top: 12px; padding: 14px 0; border-block: var(--bw-filet) solid var(--filet-papier);
}
.facts > div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 2px 0; }
.facts dt.t-label { color: var(--graphite2); }
.facts dd { font-weight: 600; font-size: 16px; line-height: 1.3; white-space: nowrap; }
.gens__cta { order: 7; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; margin-top: 20px; }
.gens__cta .t-caption { color: var(--graphite2); }
@media (min-width: 600px) {
  .segmented__option { font-size: 15px; }
  .gen-spec__unit { font-size: 28px; }
  .facts dd { font-size: 17px; }
}
@media (max-width: 599px) {
  .gens .facts { display: none; }
  .gen-spec { min-height: 150px; }
}
@media (min-width: 720px) {
  .gens { --stage-h: clamp(200px, min(calc(var(--frame) - 2 * var(--frame-pad) - 200px), 66cqi), 500px); }
  .gens__visual { container-type: inline-size; }
  .gens__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 4.4vw, 80px);
    align-items: center; justify-items: stretch; text-align: left;
  }
  .gens__text { display: flex; flex-direction: column; align-items: flex-start; }
  .gens__visual { display: flex; flex-direction: column; align-items: center; }
  .gens__intro { align-items: flex-start; }
  .picker { align-items: flex-start; margin-top: clamp(20px, calc(var(--vh) * 3.4), 32px); }
  .segmented { width: 100%; max-width: 480px; }
  .gen-spec { min-height: 180px; margin-top: clamp(20px, calc(var(--vh) * 3.4), 32px); }
  .gen-spec__panel { align-items: flex-start; }
  .stage { margin-top: 0; }
  .ruler { margin-top: 40px; }
  .facts { margin-top: 20px; }
  .gens__cta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: clamp(16px, calc(var(--vh) * 3), 28px); }
}
@media (min-width: 720px) and (max-width: 899px) { .segmented__option { font-size: 14px; } }

/* =====================================================================
   Éclairage : la scène occupe tout l’écran.
   Éteinte : vraie nuit (photo assombrie et voile). Allumée : les tours s’allument
   avec un bref scintillement, les chiffres s’éclairent.
   ===================================================================== */
.lighting { position: relative; overflow: hidden; overflow: clip; padding-block: 0; }
.scene { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; }
.scene__media { position: absolute; inset: 0; }
.scene__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 74% 0%;
}
.scene__off { transition: filter var(--t-scene) var(--ease); }
.is-off .scene__off { filter: brightness(.36) saturate(.5); }
.scene__on { transition: opacity 320ms var(--ease); }
.is-off .scene__on { opacity: 0; }
.is-allumage .scene__on { animation: allumer 1100ms linear both; }
@keyframes allumer {
  0% { opacity: 0; }
  7% { opacity: .75; }
  14% { opacity: .2; }
  24% { opacity: 1; }
  100% { opacity: 1; }
}
.scene__nuit {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(130% 100% at 68% 28%, var(--nuit-noire) 0%, var(--nuit-noire-bord) 100%);
  transition: opacity 320ms var(--ease);
}
.is-off .scene__nuit { opacity: 1; }
.scene__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--nuit-prof-0) 0%, var(--nuit-prof-0) 26%, var(--voile-scene) 54%, var(--voile-scene-fort) 76%, var(--nuit-prof) 100%);
}
.scene__content {
  position: relative; z-index: 1; flex: 1 1 auto;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 22px;
  padding-block: var(--frame-pad);
}
.scene__text { display: flex; flex-direction: column; gap: 12px; max-width: 540px; }
.switch-row { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.switch {
  position: relative; flex: none; width: 52px; height: 32px; padding: 0;
  border: var(--bw-contour) solid var(--vert); border-radius: var(--r-pill);
  background: var(--vert); cursor: pointer;
  transition: background-color var(--t-etat) var(--ease), border-color var(--t-etat) var(--ease);
}
.switch::before { content: ""; position: absolute; inset: -7px -4px; }
.switch[aria-checked="false"] { background: var(--piste-nuit); border-color: var(--contour-nuit); }
.switch__knob {
  position: absolute; top: 3px; left: 3px; width: 23px; height: 23px; border-radius: 50%;
  background: var(--blanc); box-shadow: var(--sh-relief);
  transform: translateX(20px); transition: transform var(--t-etat) var(--ease-out);
}
.switch[aria-checked="false"] .switch__knob { transform: none; }
.switch-row__state { font-weight: 600; font-size: 16px; line-height: 1.2; }
.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 580px;
  padding-top: 16px; border-top: var(--bw-filet) solid var(--filet-nuit);
}
.stat { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat__num {
  font-family: var(--font-titre); font-weight: 600; font-size: clamp(24px, 6.6vw, 40px); line-height: 1;
  letter-spacing: -0.01em; white-space: nowrap; color: var(--vert); text-shadow: 0 0 28px var(--lueur);
  transition: color var(--t-scene) var(--ease), text-shadow var(--t-scene) var(--ease);
}
.is-off .stat__num { color: var(--gris-nuit2); text-shadow: none; }
.stat__text { font-size: 12px; line-height: 1.4; color: var(--gris-nuit); text-wrap: pretty; }
@media (min-width: 600px) {
  .stats { gap: 24px; }
  .stat__text { font-size: 14px; }
  .scene__media img { object-position: 50% 26%; }
}
@media (min-width: 900px) {
  .scene__content { justify-content: center; gap: clamp(24px, calc(var(--vh) * 4.4), 44px); }
  .scene__text { gap: 18px; }
  .scene__media::after {
    background:
      linear-gradient(90deg, var(--voile-scene-fort) 0%, var(--voile-scene) 34%, var(--nuit-prof-0) 60%),
      linear-gradient(180deg, var(--nuit-prof-0) 72%, var(--nuit-prof) 100%);
  }
}

/* =====================================================================
   Comparatif des tours : elles s’allument l’une après l’autre en arrivant
   ===================================================================== */
.compare-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.compare-head p { max-width: 720px; }
@media (min-width: 600px) { .compare-head { align-items: center; text-align: center; } }
.compare { --lamp-h: 88px; margin-top: 4px; }
.light {
  display: flex; flex-direction: column; text-align: center;
  padding: 16px 18px 4px; border-radius: var(--r-lg); background: var(--nuit-haute);
}
.light__art { width: auto; height: var(--lamp-h); max-width: 100%; margin: 0 auto; overflow: visible; color: var(--trait); }
.light__art .plein { fill: var(--blanc); transition: fill 300ms var(--ease); }
.light__art .roue { fill: var(--nuit-prof); }
.light__art .rayures { fill: var(--trait-panneau); }
.light__art .halo-a { stop-color: var(--trait); }
.light__art .halo-b { stop-color: var(--halo); }
.light__art .halo-c { stop-color: var(--halo-0); }
.light__halo { transform-box: fill-box; transform-origin: center; transition: opacity 900ms var(--ease-out), scale 900ms var(--ease-out); }
.compare.is-dim .light:not(.is-lit) .light__halo { opacity: 0; scale: .5; }
.compare.is-dim .light:not(.is-lit) .plein { fill: var(--contour-nuit); }
.light__name { margin-top: 14px; }
.light__tag { margin: 4px 0 12px; color: var(--gris-nuit); }
.light__specs { text-align: left; }
.light__specs > div { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-top: var(--bw-filet) solid var(--filet-nuit); }
.light__specs dt.t-label { color: var(--gris-nuit2); }
.light__specs dd { font-size: 14px; line-height: 1.4; }
.light__specs > .light__fig { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 10px; }
.light__fig dd { color: var(--gris-nuit); text-align: right; }
.fig { font-family: var(--font-titre); font-weight: 600; font-size: 22px; line-height: 1; color: var(--blanc); }
.tours__cta { display: flex; justify-content: center; margin-top: 24px; }
@media (max-width: 599px) { .tours__cta { display: none; } }
@media (min-width: 900px) {
  .compare { --lamp-h: clamp(96px, calc(var(--vh) * 17), 210px); }
  .compare.rail {
    grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(7, auto);
    gap: 0; overflow: visible; margin-inline: 0; padding: clamp(20px, calc(var(--vh) * 3.6), 48px) 0 0;
  }
  .light {
    display: grid; grid-row: span 7; grid-template-rows: subgrid; justify-items: stretch;
    padding: 0 22px; border-radius: 0; background: none; border-left: var(--bw-filet) solid var(--filet-nuit);
  }
  .light:first-child { border-left: 0; }
  .light__art { justify-self: center; }
  .light__specs { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
  .light__specs dd { font-size: 15px; }
  .fig { font-size: 24px; }
  .tours__cta { margin-top: clamp(20px, calc(var(--vh) * 3.4), 36px); }
}

/* =====================================================================
   Comment ça marche et questions
   ===================================================================== */
.how__head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-md); }
@media (min-width: 600px) { .how__head { align-items: center; text-align: center; } }
.steps { display: grid; gap: 32px; margin-top: 32px; }
@media (max-width: 599px) { .steps { gap: 24px; margin-top: 24px; } }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-xl); margin-top: clamp(40px, calc(var(--vh) * 8), 96px); }
  .step { gap: 18px; }
  .step .t-h3 { font-size: 28px; }
  .step .t-body { font-size: var(--fs-body-l); line-height: var(--lh-body-l); }
}
.step { display: flex; flex-direction: column; gap: 14px; }
.step__top { display: flex; align-items: center; gap: 16px; }
.step__num { font-family: var(--font-titre); font-weight: 600; font-size: clamp(32px, 5.6vw, 96px); line-height: 1; color: var(--vertp); }
.step__line { flex: 1 1 auto; height: 1px; background: var(--carrosserie); transform-origin: 0 50%; }

.faq-layout { display: grid; gap: 28px 64px; align-items: start; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.faq__head { display: flex; flex-direction: column; gap: var(--sp-md); }
.faq { border-bottom: var(--bw-filet) solid var(--filet-papier); }
.faq:first-child { border-top: var(--bw-filet) solid var(--filet-papier); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding: 8px 0; cursor: pointer; list-style: none; border-radius: var(--r-xs);
}
.faq summary::-webkit-details-marker { display: none; }
.faq__q { font-weight: 600; font-size: 16px; line-height: 1.35; transition: color var(--t-micro) var(--ease); }
@media (hover: hover) { .faq summary:hover .faq__q { color: var(--vertp); } }
.faq__icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; border: var(--bw-contour) solid var(--contour-papier);
  transition: transform var(--t-etat) var(--ease-out);
}
.faq[open] .faq__icon { transform: rotate(45deg); }
.faq__a { margin: 0 48px 24px 0; max-width: 680px; }
.faq[open] .faq__a { animation: monter var(--t-etat) var(--ease-out) both; }
@media (min-width: 900px) { .faq summary { min-height: 76px; } .faq__q { font-size: 19px; } }

/* =====================================================================
   Contact
   ===================================================================== */
.contact { overflow: hidden; overflow: clip; }
.contact__grid { display: grid; gap: 32px var(--sp-2xl); align-items: center; }
.contact__text { display: flex; flex-direction: column; gap: 16px; }
.contact__text .t-body-l { max-width: 520px; }
.contact__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.contact__actions .link-chev { align-self: center; }
.details {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
  margin-top: 12px; padding-top: 20px; border-top: var(--bw-filet) solid var(--filet-nuit);
}
.details > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.details dt.t-label { color: var(--gris-nuit2); }
.details dd { font-weight: 600; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.details a { text-decoration: none; }
@media (hover: hover) { .details a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.bolt {
  position: relative; justify-self: center; width: 240px; aspect-ratio: 11 / 16;
  overflow: hidden; clip-path: var(--eclair);
}
.bolt img { position: absolute; left: 0; top: -36%; width: 100%; height: 136%; object-fit: cover; }
@media (max-width: 599px) { .bolt { display: none; } }
@media (min-width: 600px) {
  .contact__text { gap: var(--sp-lg); }
  .contact__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 8px; }
  .contact__actions .link-chev { align-self: auto; }
  .details { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--sp-lg); margin-top: var(--sp-lg); padding-top: 28px; }
  .details dd { font-size: 16px; }
  .bolt { width: min(320px, calc((var(--frame) - 2 * var(--frame-pad)) * .6875)); }
}
@media (min-width: 720px) {
  .contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 5vw, 72px); }
  .bolt { width: min(400px, 100%, calc((var(--frame) - 2 * var(--frame-pad)) * .6875)); }
}

/* =====================================================================
   Pied de page
   ===================================================================== */
.site-footer { background: var(--nuit-prof); color: var(--gris-nuit2); border-top: var(--bw-filet) solid var(--filet-doux); scroll-snap-align: end; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-lg); padding: 48px 0 28px; }
.footer__logo img { width: 170px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__nav a, .footer__bottom a { color: var(--gris-nuit2); text-decoration: none; transition: color var(--t-micro) var(--ease); }
.footer__nav a { display: inline-block; padding: 6px 0; font-size: 13px; line-height: 1.2; }
@media (hover: hover) { .footer__nav a:hover, .footer__bottom a:hover { color: var(--blanc); } }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 20px 0 var(--sp-xl); border-top: var(--bw-filet) solid var(--filet-doux); font-size: var(--fs-caption); line-height: 1.5;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.footer__legal a { display: inline-block; padding: 2px 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--contour-nuit); }
@media (min-width: 900px) { .footer__logo img { width: 190px; } }

/* =====================================================================
   Pages secondaires (mentions légales, confidentialité, 404)
   ===================================================================== */
.page { min-height: 60vh; }
.page .container { max-width: calc(var(--w-texte) + 2 * var(--gouttiere)); }
.page__head { display: flex; flex-direction: column; gap: var(--sp-md); padding-bottom: var(--sp-xl); border-bottom: var(--bw-filet) solid var(--filet-papier); }
.prose h2 { margin-top: var(--sp-xl); margin-bottom: 12px; }
.prose p, .prose li { color: var(--graphite); }
.prose p + p { margin-top: 12px; }
.prose ul { margin-top: 12px; padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--vertp); text-underline-offset: 3px; }
.prose strong { color: var(--encre); font-weight: 600; }
.notfound h1 { margin-top: var(--sp-md); }
.notfound p.t-body-l { margin-top: var(--sp-md); max-width: 520px; }
.notfound .btn { margin-top: 32px; }
.note { margin-top: var(--sp-xl); padding: var(--sp-md) 20px; border-radius: var(--r-sm); background: var(--brume); color: var(--graphite); font-size: var(--fs-small); }

/* =====================================================================
   Écrans d’ordinateur peu hauts : tout se resserre pour tenir sur un écran
   ===================================================================== */
@media (min-width: 900px) and (max-height: 820px) {
  .gens .t-h2, .tours .t-h2, .lighting .t-h2, .how .t-h2, .faq-section .t-h2 { font-size: min(var(--fs-h2), calc(var(--vh) * 5.6)); }
  .contact .t-h1 { font-size: min(var(--fs-h1), calc(var(--vh) * 7)); }
  .contact__text { gap: 16px; }
  .details { margin-top: 12px; padding-top: 20px; gap: 16px; }
  .compare { --lamp-h: clamp(80px, calc(var(--vh) * 14), 210px); }
  .tours__cta { margin-top: 18px; }
  .step__num { font-size: min(clamp(32px, 5.6vw, 96px), calc(var(--vh) * 9)); }
  .gens__intro .t-body { font-size: 16px; line-height: 1.5; }
  .gen-spec { min-height: 150px; }
  .gen-spec__num { font-size: min(var(--fs-chiffre), calc(var(--vh) * 7.4)); }
  .gen-spec__panel .t-body-l, .scene__text .t-body-l, .compare-head .t-body-l { font-size: 18px; }
  .ruler { margin-top: 34px; }
  .light__name { margin-top: 10px; }
  .light__tag { margin: 2px 0 8px; }
  .light__specs > div { padding: 8px 0; }
  .light__specs dd { font-size: 14px; }
}
@media (min-width: 900px) and (max-height: 700px) {
  .gens__intro { gap: 8px; }
  .gens__intro .t-body { font-size: 15px; }
  .picker { margin-top: 16px; }
  .gen-spec { min-height: 136px; margin-top: 16px; }
  .gen-spec__panel { gap: 4px; }
  .gen-spec__panel .t-body-l { font-size: 17px; }
  .compare-head .t-body-l { font-size: 16px; }
  .light__specs > div { padding: 6px 0; }
  .light__fig .fig { font-size: 20px; }
  .compare { --lamp-h: clamp(72px, calc(var(--vh) * 12), 210px); }
  .compare.rail { padding-top: 14px; }
  .tours__cta { margin-top: 12px; }
  .contact__actions { margin-top: 0; }
}

/* =====================================================================
   Téléphones : on resserre pour que chaque section tienne au mieux sur l’écran
   ===================================================================== */
@media (max-width: 599px) {
  .step { gap: 10px; }
  .steps { gap: 20px; margin-top: 20px; }
  .contact__actions { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .contact__actions .btn { min-height: 52px; padding: 0 18px; font-size: 15px; }
  .contact__actions .link-chev { flex-basis: 100%; align-self: flex-start; }
  .details { gap: 14px; }
}
@media (max-width: 599px) and (max-height: 700px) {
  .compare-head p { display: none; }
  .compare { --lamp-h: 76px; }
}

/* =====================================================================
   Effets liés au défilement : sans script, sur les navigateurs compatibles.
   Au repos tout est visible : chaque effet commence quand l’élément entre à l’écran
   (ou quand l’accueil commence à sortir) et rien n’est masqué avant.
   ===================================================================== */
@keyframes apparaitre { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes recul { to { scale: 1.1; } }
@keyframes eloigner { to { opacity: 0; translate: 0 -48px; } }
@keyframes poser { from { scale: 1.12; } to { scale: 1; } }
@keyframes surgir { from { opacity: 0; translate: 0 48px; } to { opacity: 1; translate: 0 0; } }
@keyframes tracer { from { scale: 0 1; } to { scale: 1 1; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: apparaitre linear none;
      animation-timeline: view(); animation-range: entry 0% entry 40%;
    }
    /* accueil : la photo avance vers vous, le texte s’éloigne */
    .hero__media img {
      animation: recul linear none;
      animation-timeline: --hero; animation-range: exit 0% exit 100%;
    }
    .hero__intro {
      animation: eloigner linear none;
      animation-timeline: --hero; animation-range: exit 0% exit 70%;
    }
    /* scène d’éclairage : le cadre se pose en arrivant */
    .scene__media {
      animation: poser linear none;
      animation-timeline: view(); animation-range: entry 0% entry 100%;
    }
    /* le groupe électrogène monte sur sa règle */
    .stage__img {
      animation: surgir linear none;
      animation-timeline: view(); animation-range: entry 0% entry 70%;
    }
    /* la ligne des étapes se trace */
    .step__line {
      animation: tracer linear none;
      animation-timeline: view(); animation-range: entry 0% cover 50%;
    }
  }
}

/* =====================================================================
   Mouvement réduit : tout s’affiche, rien ne bouge
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
