/* ════════════════════════════════════════════════════════════════
   MÉCAREMAP — PAGE D'ACCUEIL « STUDIO 3D »
   #c3d : voiture 3D fixe (js/car3d.js) · .st : récit en scène collante
   .st-mq : bandeau défilant · .sx : sections finales
   Par défaut (sans JS / animations réduites) : sections classiques empilées.
   Avec .st-on (ajouté par js/home.js) : la scène reste fixe, les textes
   s'enchaînent par-dessus la voiture (opacité / transformations uniquement).
   Aucun flou d'arrière-plan (backdrop-filter) au-dessus du rendu 3D :
   il serait recalculé à chaque image et ferait saccader.
   ════════════════════════════════════════════════════════════════ */

.st, .sx, .st-mq, .car-dock, #c3d-pins {
  --s-red: var(--accent);
  --s-red-hot: var(--accent-text);
  --s-red-deep: var(--accent-hover);
  --s-gold: #C9A84C;
  --s-gold-hi: #E8C96A;
  --s-green: #4ee08f;
  --s-cyan: #4fb6ff;
  --s-ink: var(--text);
  --s-dim: var(--text-2);
  --s-mute: var(--text-3);
  --s-line: var(--line);
  --s-line-2: var(--line-strong);
  --s-card: var(--surface);
  --s-tech: var(--font-display);
  --s-alt: var(--font-ui);
  --s-body: var(--font-ui);
  --s-ease: var(--ease);
  --s-nav: 68px;
  color: var(--s-ink);
  font-family: var(--s-body);
}
.st, .sx, .st-mq { position: relative; z-index: 1; }
:where(.st, .sx, .st-mq, .car-dock) *, :where(.st, .sx, .st-mq, .car-dock) *::before, :where(.st, .sx, .st-mq, .car-dock) *::after { box-sizing: border-box; }
:where(.st, .sx) :where(h2, h3, p, ol, ul, figure, blockquote) { margin: 0; padding: 0; }
:where(.st, .sx) ol { list-style: none; }
.st-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.st .ic, .sx .ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ════════════════ STUDIO 3D (fond fixe) ════════════════ */
body.home-3d .page-bg-fixed { display: none; }
body.home-3d { background: #050507; }
/* 120 i/s : aucun flou d'arrière-plan, nulle part, au-dessus du rendu 3D (boutons, badges, cartes,
   bandeau mobile, bannière cookies…) — chacun serait recalculé à chaque image. Fond plus dense à la
   place (:where → le survol de chaque bouton garde la main). */
body.home-3d *, body.home-3d *::before, body.home-3d *::after { }
body.home-3d :where(.btn-outline, .btn-ghost-hero, .trust-chip, .google-rating-badge, .form-card, .testi-card, .case-card, .service-card, .cta-inner) { background-color: rgba(10, 10, 14, .82); }
#c3d {
  position: fixed; left: 0; top: 0; z-index: -1;
  display: block; width: 100vw; height: 100vh; height: 100lvh;
  opacity: 0; transition: opacity .4s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
#c3d.is-on { opacity: 1; }
#c3d-dim { position: fixed; inset: 0; z-index: -1; height: 100lvh; background: #050507; opacity: 0; pointer-events: none; }
html.no3d #c3d { display: none; }

/* Étiquettes accrochées à la voiture (positionnées par js/car3d.js) */
#c3d-pins { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.c3d-pin { position: absolute; left: 0; top: 0; visibility: hidden; opacity: 0; transition: opacity .4s ease; will-change: transform; }
.c3d-pin[data-live="1"] { opacity: 1; }
.c3d-pin > i {
  position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; box-shadow: none;
}
.c3d-pin > i::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid var(--line-strong); animation: none; display: none; }
.c3d-pin::before {
  content: ""; position: absolute; left: 0; top: 0; width: 70px; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.35));
  transform-origin: 0 0; transform: rotate(-38deg) scaleX(0);
  transition: transform .4s var(--s-ease) .1s;
}
.c3d-pin[data-live="1"]::before { transform: rotate(-38deg) scaleX(1); }
.c3d-pin > b {
  position: absolute; left: 54px; top: -62px;
  padding: 8px 13px; border-radius: var(--r-sm); white-space: nowrap;
  font: 600 11px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: rgba(8,8,12,.86); border: 1px solid var(--line-strong);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.9);
  transform: translateY(6px); transition: transform .4s var(--s-ease) .15s;
}
.c3d-pin[data-live="1"] > b { transform: none; }
.c3d-pin--l::before { transform: rotate(-142deg) scaleX(0); }
.c3d-pin--l[data-live="1"]::before { transform: rotate(-142deg) scaleX(1); }
.c3d-pin--l > b { left: auto; right: 54px; }
.c3d-pin--dr::before { transform: rotate(38deg) scaleX(0); }
.c3d-pin--dr[data-live="1"]::before { transform: rotate(38deg) scaleX(1); }
.c3d-pin--dr > b { top: 30px; }
.c3d-pin--dl::before { transform: rotate(142deg) scaleX(0); }
.c3d-pin--dl[data-live="1"]::before { transform: rotate(142deg) scaleX(1); }
.c3d-pin--dl > b { left: auto; right: 54px; top: 30px; }
.c3d-pin--hot > b { background: transparent; border-color: transparent; box-shadow: none; }
.c3d-pin--gold > b { color: #1a1305; background: linear-gradient(135deg, var(--s-gold-hi), var(--s-gold)); border-color: transparent; }
@keyframes c3dPing { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* ════════════════ HÉROS : la voiture à droite, le texte à gauche ════════════════ */
body.home-car .rp-hero::before {
  background:
    linear-gradient(90deg, rgba(5,5,7,.9) 0%, rgba(5,5,7,.62) 32%, rgba(5,5,7,0) 58%),
    linear-gradient(0deg, rgba(5,5,7,.92), rgba(5,5,7,0) 24%);
}
body.home-car .rp-hero::after { -webkit-mask-image: radial-gradient(60% 60% at 20% 40%, #000 0%, transparent 75%); mask-image: radial-gradient(60% 60% at 20% 40%, #000 0%, transparent 75%); opacity: .6; }
body.home-car .rp-hud { display: none; }
body.home-car .rp-console { background: linear-gradient(180deg, rgba(17,17,23,.97), rgba(9,9,13,.98)); }
body.home-car .rp-assure li { background: rgba(12,12,16,.9); }
.car-dock {
  position: absolute; z-index: 4;
  right: clamp(20px, 5vw, 72px); bottom: clamp(122px, 12.5vw, 182px);
  display: grid; justify-items: end;
}
.car-load { transition: opacity .4s ease, transform .4s var(--s-ease), visibility 0s; }
.car-load {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  padding: 10px 16px; border-radius: var(--r-sm);
  font: 600 11px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--s-mute);
  background: rgba(8,8,12,.78); border: 1px solid var(--s-line-2);
}
.car-load b { color: #fff; font-family: var(--s-tech); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.car-load-bar { position: relative; display: block; width: 74px; height: 2px; border-radius: var(--r-xs); background: var(--s-line-2); overflow: hidden; }
.car-load-bar b { position: absolute; inset: 0; background: var(--accent); box-shadow: none; transform-origin: 0 50%; transform: scaleX(0); transition: transform .3s linear; }
.car-dock.is-ready .car-load { opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .4s, transform .4s, visibility 0s .4s; }
.car-dock.is-fail { display: none; }
html.no3d .car-dock { display: none; }
@media (max-width: 899px) {
  /* Mobile : texte → voiture → recherche → console. L'espace vide au-dessus de la recherche est
     la vitrine de la voiture (elle y remonte avec la page : plan « hero » de js/scenes/home.js). */
  body.home-car .rp-hero::before { background: linear-gradient(180deg, rgba(5,5,7,.9) 0%, rgba(5,5,7,.72) 34%, rgba(5,5,7,.06) 48%, rgba(5,5,7,.06) 72%, rgba(5,5,7,.86) 100%); }
  body.home-car .rp-hero { padding-bottom: calc(clamp(70px, 8vw, 110px) + 26px); }
  body.home-car .rp-search { margin-top: clamp(280px, 76vw, 370px); }
  body.home-car .rp-hero-foot { margin-top: 20px; }
  .car-dock { right: 50%; transform: translateX(50%); bottom: clamp(96px, 20vw, 130px); }
  body.home-car .rp-hero .car-dock { bottom: calc(clamp(70px, 8vw, 110px) + 26px + 290px); }
}

/* ════════════════ TYPOGRAPHIE COMMUNE ════════════════ */
.st-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  font: 600 12px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase;
  color: var(--s-mute);
}
.st-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); box-shadow: none; }
.st-eyebrow span { color: var(--text-2); font-family: var(--s-tech); letter-spacing: .06em; }
.st-h, .sx-h, .sx-cta-h {
  font: 900 clamp(28px, min(3.5vw, 6.6vh), 58px)/1.02 var(--s-tech);
  letter-spacing: -.012em; text-transform: uppercase;
  overflow-wrap: normal; word-break: normal; hyphens: manual;
}
.st-h em, .sx-h em, .sx-cta-h em {
  font-style: normal;
  color: inherit;
}
.st-line { display: block; overflow: hidden; padding-bottom: .07em; }
.st-line > span { display: inline-block; }
.st-txt, .sx-p { font-size: clamp(14.5px, 1.05vw, 16.5px); line-height: 1.7; color: var(--s-dim); }
.st-txt strong, .sx-p strong { color: #fff; }
.sx-p a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.is-red { color: var(--text); }
.is-gold { color: var(--s-gold-hi) !important; }
.st-ico {
  flex: none; width: 46px; height: 46px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  color: #ff6b72;
  background: transparent;
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.st-ico .ic { width: 22px; height: 22px; }
.st-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border-radius: var(--r-md);
  font: 600 14px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase;
  color: #fff; text-decoration: none;
  background: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .35s var(--s-ease), box-shadow .35s;
}
.st-btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  animation: none; display: none;
}
.st-btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22); }
.st-btn--ghost { background: rgba(255,255,255,.04); border: 1px solid var(--s-line-2); box-shadow: none; }
.st-btn--ghost::after { display: none; }
.st-btn--ghost:hover { background: var(--tint); border-color: var(--line-strong); box-shadow: none; }
.st-btn--full { width: 100%; }
.st-badge {
  display: inline-flex; align-items: center;
  padding: 6px 11px; border-radius: var(--r-sm);
  font: 600 11px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase;
  color: #1a1305; background: linear-gradient(135deg, var(--s-gold-hi), var(--s-gold));
  box-shadow: 0 8px 22px -10px rgba(201,168,76,.8);
}
.st-link { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--s-dim); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 5px; transition: color .3s, gap .3s; }
.st-link:hover { color: #fff; gap: 12px; }
.st-link .ic { width: 15px; height: 15px; }

/* ════════════════ BANDEAU DÉFILANT ════════════════ */
.st-mq { padding: clamp(36px, 6vw, 80px) 0 clamp(20px, 3vw, 40px); overflow: hidden; }
/* global.css impose « * { max-width:100% } » sous 768px : les pistes doivent rester plus larges que l'écran */
.st-mq-row, .st-mq-track, .st-mq-item { max-width: none !important; }
.st-mq-row { display: flex; width: max-content; will-change: transform; }
.st-mq-track { display: flex; align-items: center; flex: none; }
.st-mq-item {
  flex: none; padding: 0 .32em;
  font: 900 clamp(38px, 7vw, 108px)/1.05 var(--s-tech); text-transform: uppercase; letter-spacing: -.015em;
  color: transparent; -webkit-text-stroke: 1px rgba(245,245,240,.26);
  white-space: nowrap;
}
.st-mq-item.is-fill { color: var(--s-ink); -webkit-text-stroke: 0; }
.st-mq-star { flex: none; font-style: normal; font-size: clamp(18px, 2.4vw, 34px); color: var(--text); text-shadow: none; }
.st-mq-row--b { margin-top: clamp(4px, 1vw, 14px); }
.st-mq-row--b .st-mq-item { font: 600 clamp(16px, 2.2vw, 30px)/1.2 var(--font-ui); letter-spacing: .06em; color: rgba(245,245,240,.5); -webkit-text-stroke: 0; padding: 0 .9em; }
.st-mq-row--b .st-mq-star { font-size: clamp(14px, 1.6vw, 22px); color: var(--text); text-shadow: none; }

/* ════════════════ RÉCIT — MODE CLASSIQUE (défaut) ════════════════ */
.st-stage { position: relative; }
.st-hud, .st-meter, .st-skip, .st-hint, .st-scrim, .st-pager { display: none; }
body.home-fx .st-scene, body.home-fx .st-scene#why { margin: 0; } /* neutralise l'ancien « #why { margin-top } » de fx.css */
.st-scene { position: relative; padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px); }
.st-panel { position: relative; width: 100%; max-width: 620px; }
.st-panel--wide { max-width: 760px; }
.st-swap { display: grid; gap: 18px; }
.st-lead { margin-bottom: 22px; max-width: 560px; font-size: clamp(16px, min(1.3vw, 2.5vh), 20px); line-height: 1.6; font-weight: 500; color: var(--s-ink); }
.st-head-row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; margin-bottom: clamp(14px, 2.4vh, 24px); }
.st-txt { margin-top: 16px; max-width: 540px; }
.st-scene .st-h + .st-txt, .st-scene .st-h + .st-lead { margin-top: 18px; }

/* 01 · atouts */
.st-item {
  padding: clamp(18px, 2vw, 24px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(30,14,18,.88), rgba(10,10,14,.9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.st-item h3 { margin: 14px 0 8px; font: 800 clamp(15px, 1.2vw, 18px)/1.2 var(--s-tech); text-transform: uppercase; }
.st-item p { font-size: clamp(13.5px, min(.98vw, 1.9vh), 15px); line-height: 1.65; color: var(--s-dim); }

/* 10 · expertise (texte plus long : deux paragraphes) */
.st-item--exp p + p { margin-top: 10px; }
.st-item strong { color: #fff; }
.st-item abbr { text-decoration: none; border-bottom: 1px dotted var(--s-mute); }

/* 11 · avis Google : vrais avis en bandeau qui défile seul (animation CSS, aucune charge JS) */
.st-rev-score { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: clamp(12px, 2vh, 20px); }
.st-g { width: 26px; height: 26px; flex: none; }
.st-rev-score b { font: 900 clamp(24px, 2.2vw, 32px)/1 var(--s-tech); }
.st-rev-stars { color: #fbbc04; letter-spacing: .08em; font-size: 15px; line-height: 1; }
.st-rev-n { font: 600 12px/1.2 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--s-mute); }
.st-revs {
  margin-top: clamp(14px, 2.4vh, 24px); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
/* global.css impose « * { max-width:100% } » sous 768px : la piste doit rester plus large que l'écran */
.st-revs-track, .st-rev { max-width: none !important; }
.st-revs-track {
  display: flex; gap: 14px; width: max-content; margin: 0; padding: 0; list-style: none;
  animation: stRevs var(--rev-dur, 90s) linear infinite; will-change: transform;
}
.st-revs:hover .st-revs-track, .st.st-on .st-reviews:not(.is-active) .st-revs-track { animation-play-state: paused; }
.st-rev {
  flex: none; width: clamp(240px, 21vw, 300px);
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px; border-radius: var(--r-lg);
  border: 1px solid var(--s-line-2);
  background: linear-gradient(180deg, rgba(24,24,31,.95), rgba(11,11,15,.96));
}
.st-rev blockquote { margin: 0; font-size: 14px; line-height: 1.55; color: var(--s-ink); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.st-rev-by { margin: auto 0 0; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12.5px; color: var(--s-mute); }
.st-rev-by b { color: #fff; font: 600 14px/1.2 var(--font-ui); letter-spacing: .04em; }
.st-rev-cta { margin-top: clamp(14px, 2.4vh, 22px); }
@keyframes stRevs { to { transform: translate3d(-50%, 0, 0); } }
@media (max-width: 760px) {
  .st-rev { width: 250px; padding: 16px; }
  .st-rev blockquote { font-size: 13.5px; -webkit-line-clamp: 5; }
}
@media (prefers-reduced-motion: reduce) {
  .st-revs { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .st-revs-track { animation: none; }
}
@media (min-width: 900px) and (max-height: 760px) { .st-hide-short { display: none; } }

/* 02 · calculateur */
.st-checks { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.st-checks li { display: flex; align-items: center; gap: 12px; font: 600 14px/1.3 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--s-ink); }
.st-checks .ic { width: 18px; height: 18px; color: var(--text); }

/* 03 · prestations */
.st-idx { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 16px; }
.st-idx li { display: inline-flex; align-items: center; gap: 7px; font: 600 12px/1.1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--s-mute); transition: color .4s; }
.st-idx li b { font: 600 10px/1 var(--font-ui); color: rgba(245,245,240,.3); transition: color .4s; }
.st-idx li.is-on { color: #fff; }
.st-idx li.is-on b { color: var(--accent-text); }
.st-card {
  --k: 227,6,19;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(20px, 2.4vw, 34px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(22,22,29,.94), rgba(10,10,14,.95));
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.07);
}
.st-card--gold { --k: 201,168,76; }
.st-card--green { --k: 78,224,143; }
.st-card--cyan { --k: 79,182,255; }
.st-card--white { --k: 255,235,225; }
.st-card .st-ico { color: var(--text); background: transparent; border-color: var(--line-strong); box-shadow: none; }
.st-card--white .st-ico { color: #fff; }
.st-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.st-card-tag { font: 600 11px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--s-mute); }
.st-card h3 { margin-top: clamp(14px, 2.4vh, 24px); font: 900 clamp(20px, min(2vw, 3.8vh), 30px)/1.1 var(--s-tech); text-transform: uppercase; }
.st-card h3 a { color: inherit; text-decoration: none; }
.st-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.st-card h3 a:focus-visible { outline: none; }
.st-card:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
.st-card-d { margin: 12px 0 20px; font-size: clamp(13.5px, 1vw, 15.5px); line-height: 1.65; color: var(--s-dim); }
.st-card-f { margin-top: auto; padding-top: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-top: 1px solid var(--s-line); }
.st-price small { display: block; margin-bottom: 4px; font: 600 10.5px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--s-mute); }
.st-price b { display: block; font: 900 clamp(26px, 2.6vw, 40px)/1 var(--s-tech); }
.st-price span { display: block; margin-top: 7px; font-size: 12px; color: var(--s-gold-hi); }
.st-card-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: var(--r-md); border: 1px solid var(--s-line-2); font: 600 12px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--s-dim); white-space: nowrap; transition: background .3s, border-color .3s, color .3s, gap .3s; }
.st-card-cta .ic { width: 15px; height: 15px; }
.st-card:hover .st-card-cta { background: var(--surface-3); border-color: var(--line-strong); color: #fff; gap: 12px; }

/* 04 · à bord : chiffres */
.st-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(18px, 3vh, 30px); border-top: 1px solid var(--s-line-2); }
.st-num { position: relative; padding: clamp(16px, 3vh, 30px) 6px; border-bottom: 1px solid var(--s-line-2); }
.st-num:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--s-line-2); }
.st-num:nth-child(even) { padding-left: 22px; }
.st-num b { display: block; font: 900 clamp(38px, min(4.6vw, 9vh), 84px)/1 var(--s-tech); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.st-num b small { font-size: .42em; color: var(--text-2); margin-left: .06em; vertical-align: .9em; letter-spacing: 0; }
.st-num span { display: block; margin-top: 10px; font: 600 11.5px/1.3 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--s-mute); }

/* 05 · courbe dyno */
.st-dmodel { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: clamp(10px, 1.8vh, 16px); }
.st-dmodel b { font: 800 clamp(15px, 1.2vw, 18px)/1.2 var(--s-tech); text-transform: uppercase; letter-spacing: .02em; }
.st-dmodel span { font: 600 11.5px/1.2 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
/* Puissance / couple : origine → gain → résultat (comme une fiche constructeur) */
.st-dstats { display: grid; gap: 8px; margin-top: clamp(14px, 2.4vh, 22px); }
.st-drow {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: baseline; gap: 14px;
  padding: clamp(8px, 1.4vh, 12px) 0; border-bottom: 1px solid var(--s-line-2);
}
.st-dl { font: 600 11.5px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--s-mute); }
.st-do { font: 600 clamp(14px, 1.1vw, 17px)/1 var(--font-ui); color: var(--s-dim); white-space: nowrap; }
.st-dg { font: 600 clamp(14px, 1.1vw, 17px)/1 var(--font-ui); color: var(--text); white-space: nowrap; }
.st-df { min-width: 4.6em; text-align: right; font: 900 clamp(24px, min(2.3vw, 4.6vh), 36px)/1 var(--s-tech); color: #fff; text-shadow: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-chart {
  --dy-surface: var(--surface);
  margin-top: clamp(12px, 2vh, 20px);
  padding: clamp(10px, 1.2vw, 16px);
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface);
}

/* 06 · méthode */
.st-steps { position: relative; display: grid; gap: clamp(12px, 2.2vh, 20px); margin-top: clamp(16px, 3vh, 28px); }
.st-steps::before { content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 2px; background: var(--s-line-2); }
.st-stp { position: relative; display: flex; align-items: flex-start; gap: 18px; }
.st-stp > div { min-width: 0; flex: 1 1 auto; padding-top: 2px; }
.st-stp-ic {
  position: relative; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #0d0d12; border: 1px solid var(--s-line-2); color: var(--s-dim);
  box-shadow: 0 0 0 6px rgba(7,7,9,.92);
}
.st-stp-ic .ic { width: 21px; height: 21px; }
.st-stp-n { font: 600 11px/1 var(--font-ui); color: var(--text-2); letter-spacing: .06em; }
.st-stp h3 { margin: 6px 0 4px; font: 800 clamp(15px, 1.2vw, 18px)/1.2 var(--s-tech); text-transform: uppercase; }
.st-stp p { font-size: clamp(13px, min(.95vw, 1.8vh), 14.5px); line-height: 1.55; color: var(--s-dim); }
.st-cta-row { margin-top: clamp(16px, 3vh, 28px); }

/* 07 · cas clients */
.st-case-count { font: 600 14px/1 var(--font-ui); color: var(--s-mute); white-space: nowrap; }
.st-case-count b { font-size: 30px; color: #fff; }
.st-case {
  --k: 227,6,19;
  padding: clamp(20px, 2.4vw, 34px);
  border-radius: var(--r-lg); border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(22,22,29,.95), rgba(11,11,15,.96));
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.07);
}
.st-case--gold { --k: 201,168,76; }
.st-case--green { --k: 78,224,143; }
.st-case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.st-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--r-sm); background: var(--tint); border: 1px solid var(--line-strong); font: 600 11.5px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: #ff7a7f; }
.st-case--gold .st-tag { color: var(--s-gold-hi); }
.st-case--green .st-tag { color: var(--s-green); }
.st-tag .ic { width: 14px; height: 14px; }
.st-stars { display: inline-flex; gap: 2px; color: var(--s-gold-hi); }
.st-stars svg { width: 15px; height: 15px; fill: currentColor; }
.st-case h3 { margin-top: 16px; font: 900 clamp(20px, min(2.2vw, 4vh), 32px)/1.08 var(--s-tech); text-transform: uppercase; }
.st-case-meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--s-mute); }
.st-case-meta .ic { width: 15px; height: 15px; color: var(--text-2); }
.st-case blockquote { margin-top: clamp(12px, 2vh, 18px); padding-left: 14px; border-left: 2px solid var(--line-strong); font-size: clamp(13.5px, 1vw, 15.5px); line-height: 1.6; color: var(--s-dim); font-style: italic; }
.st-gains { display: grid; gap: 10px; margin-top: clamp(14px, 2.4vh, 22px); }
.st-gain {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.1fr) auto; align-items: center; gap: 12px;
  padding: clamp(11px, 1.8vh, 16px) 16px;
  border-radius: var(--r-lg); border: 1px solid var(--s-line); background: rgba(255,255,255,.03);
}
.st-gain .f { font: 600 clamp(12.5px, 1vw, 15px)/1.2 var(--font-ui); color: var(--s-mute); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.st-gain > .ic { width: 18px; height: 18px; color: var(--text); }
.st-gain .t { font: 900 clamp(18px, min(2vw, 3.8vh), 30px)/1 var(--s-tech); color: #fff; }
.st-gain .d { padding: 6px 10px; border-radius: var(--r-sm); font: 600 13px/1 var(--font-ui); letter-spacing: .04em; color: var(--s-green); background: rgba(78,224,143,.1); border: 1px solid rgba(78,224,143,.25); white-space: nowrap; }
.st-case--gold .st-gain .t, .st-case--gold .st-gain .d { color: var(--s-gold-hi); }
.st-case--gold .st-gain .d { background: rgba(201,168,76,.12); border-color: rgba(201,168,76,.3); }
.st-note { margin-top: clamp(12px, 2vh, 20px); font-size: 12.5px; color: var(--s-mute); }

/* 08 · simulateur E85 */
.st-panel--calc { max-width: 1060px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.st-h--calc { font-size: clamp(22px, min(2.5vw, 5.2vh), 42px); }
.st-h--calc .st-line > span { white-space: nowrap; }
.st-sliders { display: grid; gap: clamp(12px, 2.4vh, 22px); margin-top: clamp(16px, 3vh, 28px); }
.st-sl { display: block; cursor: pointer; }
.st-sl-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.st-sl-h > span { font: 600 12px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--s-mute); }
.st-sl-h b { font: 800 clamp(17px, 1.5vw, 22px)/1 var(--s-tech); color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-sl-h b small { font: 600 12px/1 var(--s-body); color: var(--s-mute); }
.st-sl input[type=range] { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.st-sl input[type=range]:focus { outline: none; }
.st-sl input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: var(--r-full); background: linear-gradient(90deg, var(--text), var(--text) var(--p), var(--tint-2) var(--p)); }
.st-sl input[type=range]::-moz-range-track { height: 6px; border-radius: var(--r-full); background: linear-gradient(90deg, var(--text), var(--text) var(--p), var(--tint-2) var(--p)); }
.st-sl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 4px solid var(--line-strong); box-shadow: none; transition: transform .2s; }
.st-sl input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--line-strong); box-shadow: none; }
.st-sl input[type=range]:active::-webkit-slider-thumb { transform: scale(1.18); }
.st-sl input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: none; }
.st-res {
  padding: clamp(20px, 2.6vw, 34px);
  border-radius: var(--r-lg); border: 1px solid rgba(201,168,76,.3);
  background: radial-gradient(100% 80% at 100% 0%, rgba(201,168,76,.14), transparent 60%), linear-gradient(180deg, rgba(24,22,20,.96), rgba(11,11,15,.97));
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.07);
}
.st-bars { display: grid; gap: 9px; }
.st-barrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; color: var(--s-dim); }
.st-barrow b { font: 800 clamp(17px, 1.5vw, 22px)/1 var(--s-tech); color: #fff; font-variant-numeric: tabular-nums; }
.st-bar { position: relative; display: block; height: 9px; margin-bottom: 8px; border-radius: var(--r-full); background: rgba(255,255,255,.05); overflow: hidden; }
.st-bar i { position: absolute; inset: 0; border-radius: inherit; transform-origin: 0 50%; transform: scaleX(var(--w, 1)); transition: transform .4s var(--s-ease); }
.st-bar--sp i { background: linear-gradient(90deg, #3a3a44, #6b6b76); }
.st-bar--e i { background: linear-gradient(90deg, #8f6f22, var(--s-gold) 60%, var(--s-gold-hi)); box-shadow: 0 0 14px rgba(201,168,76,.5); }
.st-save { margin: clamp(12px, 2.2vh, 22px) 0; padding: clamp(12px, 2.2vh, 22px) 0; border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); text-align: center; }
.st-save > span { font: 600 11.5px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--s-mute); }
.st-save b { display: block; margin: 10px 0 8px; font: 900 clamp(40px, min(4.4vw, 8vh), 72px)/1 var(--s-tech); color: var(--s-gold-hi); text-shadow: 0 0 40px rgba(201,168,76,.35); font-variant-numeric: tabular-nums; }
.st-save p { font-size: 14px; color: var(--s-dim); }
.st-save p strong { color: #fff; }
.st-klarna { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--s-mute); }
.st-klarna strong { color: var(--s-gold-hi); }

/* ════════════════ RÉCIT — SCÈNE COLLANTE (.st-on) ════════════════ */
.st.st-on .st-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden; isolation: isolate;
}
/* voile de lisibilité : sombre côté texte, transparent côté voiture */
.st.st-on .st-scrim {
  display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,5,7,.88) 0%, rgba(5,5,7,.62) 30%, rgba(5,5,7,0) 54%);
}
.st.st-on .st-scene {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: calc(var(--s-nav) + 3vh) clamp(110px, 10vw, 170px) 7vh clamp(24px, 6vw, 110px);
  visibility: hidden; pointer-events: none;
  transition: visibility 0s linear .4s;
}
.st.st-on .st-scene.is-active { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.st.st-on .st-panel { width: min(520px, 38vw); max-width: none; }
@media (min-width: 761px) { .st.st-on .st-h:not(.st-h--calc) { font-size: clamp(26px, min(3.1vw, 6.2vh), 50px); } }
.st.st-on .st-panel--wide { width: min(600px, 44vw); }
.st.st-on .st-panel--calc { width: min(1000px, 72vw); }

/* Entrée / sortie des éléments d'une scène */
.st.st-on .st-scene .st-eyebrow { opacity: 0; transform: translateX(-22px); transition: opacity .35s ease, transform .4s var(--s-ease); }
.st.st-on .st-scene .st-line > span { transform: translateY(112%); transition: transform .4s cubic-bezier(.5,0,.75,0); }
.st.st-on .st-scene .st-fade { opacity: 0; transform: translateY(18px); transition: opacity .3s ease, transform .4s ease; }
.st.st-on .st-scene.is-active .st-eyebrow { opacity: 1; transform: none; transition: opacity .4s ease .05s, transform .4s var(--s-ease) .05s; }
.st.st-on .st-scene.is-active .st-line > span { transform: none; transition: transform .4s var(--s-ease) .12s; }
.st.st-on .st-scene.is-active .st-line + .st-line > span { transition-delay: .22s; }
.st.st-on .st-scene.is-active .st-fade { opacity: 1; transform: none; transition: opacity .4s ease .38s, transform .4s var(--s-ease) .38s; }
.st.st-on .st-scene.is-active .st-fade + .st-fade { transition-delay: .48s; }

/* Blocs qui se remplacent (un bloc = un plan de caméra) */
.st.st-on .st-swap { display: grid; }
.st.st-on .st-swap > :is([data-step], [data-tab]) {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(30px) scale(.985); visibility: hidden;
  transition: opacity .32s ease, transform .4s ease, visibility 0s linear .4s;
}
.st.st-on .st-swap > :is([data-step], [data-tab]).is-past { transform: translateY(-26px) scale(.985); }
.st.st-on .st-scene.is-active .st-swap > :is([data-step], [data-tab]).is-on {
  opacity: 1; transform: none; visibility: visible;
  transition: opacity .4s ease .16s, transform .4s var(--s-ease) .16s, visibility 0s;
}
/* Onglets des scènes à plusieurs blocs (construits par js/story.js) : un clic = un bloc + son plan de caméra */
.st-tabs { display: none; }
.st.st-on .st-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.st-tab {
  min-height: 36px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: transparent; color: var(--text-2);
  font: 600 13px/1.2 var(--font-ui); text-align: left; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.st-tab:hover { background: var(--tint-2); color: var(--text); }
.st-tab[aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.st.st-on .st-pager { display: flex; gap: 6px; margin-top: 16px; }
.st-pager i { width: 18px; height: 3px; border-radius: var(--r-xs); background: var(--s-line-2); transition: width .4s var(--s-ease), background .4s; }
.st-pager i.is-on { width: 34px; background: var(--accent); box-shadow: none; }

/* Méthode : les étapes s'allument l'une après l'autre */
.st.st-on .st-stp { opacity: .3; transform: translateX(-10px); transition: opacity .3s, transform .4s; }
.st.st-on .st-how.is-active .st-stp { opacity: 1; transform: none; transition: opacity .4s ease, transform .4s var(--s-ease); }
.st.st-on .st-how.is-active .st-stp:nth-child(1) { transition-delay: .45s; }
.st.st-on .st-how.is-active .st-stp:nth-child(2) { transition-delay: .8s; }
.st.st-on .st-how.is-active .st-stp:nth-child(3) { transition-delay: 1.15s; }
.st.st-on .st-how.is-active .st-stp:nth-child(4) { transition-delay: 1.5s; }
.st-stp-ic { transition: background .4s, border-color .4s, color .4s, box-shadow .4s; }
.st.st-on .st-how.is-active .st-stp .st-stp-ic { color: #fff; background: transparent; border-color: transparent; box-shadow: 0 0 0 6px rgba(7,7,9,.92); transition-delay: inherit; }
.st:not(.st-on) .st-stp .st-stp-ic { color: #fff; background: transparent; border-color: transparent; }

/* Rail des chapitres (grand écran) */
.st.st-on .st-hud { display: block; position: absolute; z-index: 5; right: clamp(18px, 2.2vw, 40px); top: 50%; transform: translateY(-50%); }
.st-hud ol { display: grid; gap: 4px; }
.st-hud a { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 6px 0; color: var(--s-mute); text-decoration: none; }
.st-hud a b { order: 2; font: 600 11px/1 var(--font-ui); letter-spacing: .06em; transition: color .35s; }
.st-hud a::after { content: ""; order: 3; width: 14px; height: 2px; border-radius: var(--r-xs); background: var(--s-line-2); transition: width .4s var(--s-ease), background .35s, box-shadow .35s; }
.st-hud a span {
  position: absolute; right: 100%; margin-right: 6px;
  padding: 7px 11px; border-radius: var(--r-sm);
  font: 600 11px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: #fff; background: rgba(12,12,17,.94); border: 1px solid var(--s-line-2);
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .3s, transform .35s var(--s-ease);
}
.st-hud a:hover span, .st-hud a:focus-visible span, .st-hud li.is-on a span { opacity: 1; transform: none; }
.st-hud li.is-on a span { color: var(--s-dim); background: transparent; border-color: transparent; }
.st-hud a:hover span { color: #fff; background: rgba(12,12,17,.94); border-color: var(--s-line-2); }
.st-hud li.is-on a { color: #fff; }
.st-hud li.is-on a b { color: var(--accent-text); }
.st-hud li.is-on a::after { width: 34px; background: var(--accent); box-shadow: none; }
.st-hud li.is-done a::after { background: var(--tint-2); }

/* Passer le récit + invitation à défiler */
.st.st-on .st-skip {
  display: inline-flex; align-items: center; gap: 8px;
  position: absolute; z-index: 5; right: clamp(18px, 2.2vw, 40px); bottom: 4.5vh;
  padding: 10px 14px; border-radius: var(--r-sm);
  font: 600 11px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase;
  color: var(--s-mute); text-decoration: none;
  background: rgba(8,8,12,.7); border: 1px solid var(--s-line-2);
  transition: color .3s, border-color .3s, background .3s;
}
.st.st-on .st-skip .ic { width: 14px; height: 14px; transform: rotate(90deg); }
.st.st-on .st-skip:hover, .st.st-on .st-skip:focus-visible { color: #fff; border-color: var(--line-strong); background: var(--tint); }
.st.st-on .st-hint {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  position: absolute; z-index: 4; left: 50%; bottom: 4vh; transform: translateX(-50%);
  font: 600 10.5px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--s-mute);
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.st-hint i { position: relative; display: block; width: 1px; height: 38px; background: var(--s-line-2); overflow: hidden; }
.st-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--surface-3); box-shadow: none; animation: none; display: none; }
.st.st-on .st-stage.is-first.is-ready .st-hint { opacity: 1; }

/* Compteur de chapitre (tablette / mobile : remplace le rail) */
.st.st-on .st-meter {
  display: flex; align-items: center; gap: 12px;
  position: absolute; z-index: 5; left: clamp(18px, 6vw, 110px); right: 150px; top: calc(var(--s-nav) + 12px);
  font: 600 10.5px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--s-mute);
}
.st-meter-n { font-family: var(--s-tech); letter-spacing: .06em; }
.st-meter-n b { color: #fff; font-size: 14px; }
.st-meter-t { flex: 0 1 auto; min-width: 0; color: var(--s-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-meter-bar { position: relative; display: block; flex: none; width: clamp(56px, 12vw, 200px); height: 2px; background: var(--s-line-2); overflow: hidden; }
.st-meter-bar b { position: absolute; inset: 0; background: var(--accent); box-shadow: none; transform-origin: 0 50%; transform: scaleX(0); }
@media (min-width: 1101px) { .st.st-on .st-meter { display: none; } }
@media (max-width: 1100px) {
  .st.st-on .st-hud { display: none; }
  .st.st-on .st-scene { padding-right: clamp(20px, 5vw, 48px); }
  .st.st-on .st-skip { top: calc(var(--s-nav) + 4px); bottom: auto; right: clamp(16px, 4vw, 40px); }
}

/* ── Tablette / mobile : la voiture en haut, le texte en bas ── */
@media (max-width: 899px) {
  .st.st-on .st-scrim { background: linear-gradient(0deg, rgba(5,5,7,.96) 0%, rgba(5,5,7,.86) 34%, rgba(5,5,7,.4) 50%, rgba(5,5,7,0) 62%), linear-gradient(180deg, rgba(5,5,7,.7), rgba(5,5,7,0) 18%); }
  .st.st-on .st-scene { align-items: flex-end; padding: calc(var(--s-nav) + 44px) 16px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .st.st-on .st-panel, .st.st-on .st-panel--wide { width: 100%; max-width: 560px; margin: 0 auto; }
  .st.st-on .st-panel--calc { width: 100%; max-width: 560px; margin: 0 auto; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .st.st-on .st-hint { bottom: auto; top: 46%; }
  .st-hide-m { display: none; }
  .st-lead { display: none; }
  .st-panel--calc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .st, .sx { --s-nav: 64px; }
  .st-h { font-size: clamp(25px, min(7.2vw, 5.4vh), 38px); }
  .st-h.st-h--calc { font-size: clamp(19px, 5.4vw, 26px); }
  .st-eyebrow { margin-bottom: 10px; font-size: 10.5px; }
  .st-item { padding: 16px; border-radius: var(--r-lg); }
  .st-item .st-ico { display: none; }
  .st-item h3 { margin-top: 0; font-size: 15px; }
  .st-item p { font-size: 13.5px; line-height: 1.58; }
  .st.st-on .st-scene .st-txt { font-size: 14px; line-height: 1.6; margin-top: 12px; }
  .st-checks { margin-top: 14px; gap: 8px; }
  .st-checks li { font-size: 12.5px; }
  .st-idx { display: none; }
  .st-head-row { margin-bottom: 12px; }
  .st-head-row .st-link { display: none; }
  .st-card { border-radius: var(--r-lg); padding: 18px; }
  .st-card h3 { margin-top: 12px; font-size: 19px; }
  .st-card-d { margin: 8px 0 14px; font-size: 13.5px; }
  .st-card-f { padding-top: 12px; flex-wrap: wrap; }
  .st-card-cta { display: none; }
  .st-price b { font-size: 26px; }
  .st-num b { font-size: clamp(32px, 10vw, 46px); }
  .st-num { padding: 12px 4px; }
  .st-num span { margin-top: 6px; font-size: 10px; letter-spacing: .06em; }
  .st-dyno .st-txt { display: none; }
  .st-dstats { gap: 2px; margin-top: 10px; }
  .st-drow { gap: 10px; padding: 7px 0; }
  .st-dl { font-size: 10px; letter-spacing: .06em; }
  .st-do, .st-dg { font-size: 13px; }
  .st-df { font-size: 22px; }
  .st-chart { margin-top: 12px; padding: 8px; border-radius: var(--r-lg); }
  .st-steps { gap: 10px; margin-top: 14px; }
  .st-steps::before { left: 19px; }
  .st-stp { gap: 14px; }
  .st-stp-ic { width: 40px; height: 40px; box-shadow: 0 0 0 5px rgba(7,7,9,.92); }
  .st-stp-ic .ic { width: 17px; height: 17px; }
  .st-stp h3 { margin: 3px 0 2px; font-size: 14px; }
  .st-stp p { font-size: 12.5px; line-height: 1.45; }
  .st-cta-row { margin-top: 14px; }
  .st-cta-row .st-btn { width: 100%; min-height: 50px; }
  .st-case { border-radius: var(--r-lg); padding: 18px; }
  .st-case h3 { margin-top: 12px; font-size: 20px; }
  .st-case blockquote { font-size: 13px; }
  .st-gain { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding: 10px 12px; gap: 10px; }
  .st-gain .d { grid-column: 1 / -1; justify-self: start; }
  .st-gain .t { font-size: 19px; }
  .st-note { display: none; }
  .st-case-count b { font-size: 22px; }
  .st-res { border-radius: var(--r-lg); padding: 14px 16px 16px; }
  .st-klarna { display: none; }
  .st-sliders { gap: 8px; margin-top: 12px; }
  .st-sl-h { margin-bottom: 2px; }
  .st-bars { grid-template-columns: 1fr 1fr; gap: 6px 14px; }
  .st-bar { display: none; }
  .st-barrow { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 11.5px; }
  .st-barrow:nth-of-type(2) { align-items: flex-end; text-align: right; }
  .st-save { margin: 10px 0; padding: 10px 0; }
  .st-save b { margin: 6px 0 4px; font-size: 36px; }
  .st-save p { font-size: 13px; }
  .st-res .st-btn { min-height: 48px; }
  .st.st-on .st-meter { right: 128px; }
  .st.st-on .st-skip { padding: 9px 11px; font-size: 10px; letter-spacing: .06em; }
  .c3d-pin > b { font-size: 9.5px; padding: 6px 10px; letter-spacing: .06em; }
  .c3d-pin::before { width: 46px; }
  .c3d-pin > b { left: 34px; top: -46px; }
  .c3d-pin--l > b { right: 34px; }
  .c3d-pin--dl > b, .c3d-pin--dr > b { top: 18px; }
  .c3d-pin[data-anchor="inj"], .c3d-pin[data-anchor="turbo"], .c3d-pin[data-anchor="ign"] { display: none; }
  /* pendant le récit, la barre d'actions mobile du site laisse la place */
  body.st-pinned #m-cta-bar { transform: translateY(110%); }
  body.st-pinned .aix-launch { opacity: 0; pointer-events: none; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .st-chart { display: none; }
  .st-stp p { display: none; }
}
body #m-cta-bar { transition: transform .4s cubic-bezier(.22,1,.36,1); }
body .aix-launch { transition: opacity .3s, transform .3s var(--ease), box-shadow .3s; }

/* ════════════════ SECTIONS FINALES (.sx) ════════════════ */
.sx { padding: clamp(70px, 10vw, 140px) 0; }
.sx-wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.sx-left > * { max-width: 660px; }
.sx-head-col { margin-bottom: clamp(26px, 3vw, 40px); }
.sx-head-col .sx-p { margin-top: 18px; }
.sx-h { font-size: clamp(28px, 1rem + 2.8vw, 56px); }

/* FAQ */
.sx-faq-list { display: grid; gap: 10px; }
.sx-q { border-radius: var(--r-lg); border: 1px solid var(--s-line); background: linear-gradient(180deg, rgba(18,18,24,.95), rgba(9,9,13,.97)); overflow: hidden; transition: border-color .4s, box-shadow .4s; }
.sx-q[open] { border-color: var(--line-strong); box-shadow: none; }
.sx-q summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: clamp(18px, 2vw, 24px) clamp(18px, 2vw, 26px); cursor: pointer; list-style: none; font: 600 clamp(15px, 1.2vw, 18px)/1.35 var(--font-ui); letter-spacing: .02em; }
.sx-q summary::-webkit-details-marker { display: none; }
.sx-q summary:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: var(--r-lg); }
.sx-q summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--s-line-2); color: var(--s-dim); transition: transform .4s var(--s-ease), background .3s, color .3s, border-color .3s; }
.sx-q summary i .ic { width: 16px; height: 16px; }
.sx-q[open] summary i { transform: rotate(45deg); background: var(--surface-3); border-color: var(--line-strong); color: #fff; }
.sx-a { overflow: hidden; }
.sx-a p { padding: 0 clamp(18px, 2vw, 26px) clamp(18px, 2vw, 24px); font-size: 15px; line-height: 1.75; color: var(--s-dim); }

/* CTA final : la voiture face caméra, phares allumés */
.sx-cta { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-start; padding: clamp(90px, 13vh, 150px) 0 0; text-align: center; isolation: isolate; }
.sx-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(5,5,7,.75), rgba(5,5,7,.35) 45%, rgba(5,5,7,0) 62%); }
.sx-cta-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.sx-cta-in .st-eyebrow { justify-content: center; }
.sx-cta-h { font-size: clamp(34px, 1rem + 4.6vw, 86px); line-height: .98; }
.sx-cta-in .sx-p { margin: 22px auto 30px; max-width: 520px; }
.sx-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Apparitions au défilement (js/home.js ajoute .rv-on puis .is-in) */
.rv-on .sx-rv { opacity: 0; transform: translateY(40px); transition: opacity .4s ease, transform .4s var(--s-ease); }
.rv-on .sx-rv.is-in { opacity: 1; transform: none; }
.rv-on .sx-cta .st-line > span { transform: translateY(112%); transition: transform .4s var(--s-ease); }
.rv-on .sx-cta.is-in .st-line > span { transform: none; }
.rv-on .sx-cta.is-in .st-line:nth-child(2) > span { transition-delay: .12s; }
.rv-on .sx-cta.is-in .st-line:nth-child(3) > span { transition-delay: .24s; }
.rv-on .sx-cta .sx-cta-in > .st-eyebrow, .rv-on .sx-cta .sx-cta-in > .sx-p, .rv-on .sx-cta .sx-cta-btns { opacity: 0; transform: translateY(24px); transition: opacity .4s ease .3s, transform .4s var(--s-ease) .3s; }
.rv-on .sx-cta.is-in .sx-cta-in > .st-eyebrow, .rv-on .sx-cta.is-in .sx-cta-in > .sx-p, .rv-on .sx-cta.is-in .sx-cta-btns { opacity: 1; transform: none; }

@media (max-width: 520px) {
  .sx-wrap { width: calc(100% - 28px); }
  .sx-cta-btns .st-btn { width: 100%; }
}
/* Crédit du modèle 3D (licences Creative Commons : auteur, source, licence, modification) */
.st-credit { margin-top: 28px; max-width: 640px; font-size: 11px; line-height: 1.55; color: var(--s-mute); }
.st-credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(245,245,240,.25); text-underline-offset: 2px; }
.st-credit a:hover { color: var(--s-dim); }

/* ── Keyframes ── */
@keyframes stSheen { to { background-position: -220% 0; } }
@keyframes stShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes stDrip { 0% { top: -40%; } 100% { top: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .st *, .sx *, .st-mq *, #c3d-pins * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
