/* ============================================================
   DV AUTOMOBILE — style
   Fond : le noir bleuté du logo. Accents : bleu du logo, ambre.
   ============================================================ */
:root {
  --nuit: #000412;
  --bleu: #071a4a;
  --bleu-vif: #0a64f0;
  --bleu-clair: #4d93ff;
  --peinture: #12308f;
  --blanc: #f3f5f8;
  --brume: #c3cce0;
  --gris: #8592ad;
  --ambre: #4d93ff; /* accent : bleu clair du logo (l orange a été retiré) */
  --ligne: rgba(195, 204, 224, .16);
  --titre: "Saira Extra Condensed", "Arial Narrow", sans-serif;
  --corps: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--nuit); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--nuit); color: var(--blanc);
  font: 400 17px/1.6 var(--corps);
  overflow-x: clip; /* jamais hidden : casserait le défilement du hero */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
em { font-style: normal; color: var(--ambre); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--blanc); color: var(--nuit); padding: 10px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--bleu-clair); outline-offset: 3px; }

.kicker { margin: 0 0 16px; font: 500 12px/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--bleu-clair); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 22px;
  font: 700 14px/1.2 var(--corps); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; background: none; color: var(--blanc);
  transition: background .25s, border-color .25s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--blue { background: var(--bleu-vif); }
.btn--blue:hover { background: #0a55cc; }
.btn--ghost { border-color: rgba(243, 245, 248, .4); background: rgba(0, 4, 18, .25); }
.btn--ghost:hover { border-color: var(--blanc); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: 76px; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: background .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(0, 4, 18, .82); backdrop-filter: blur(10px); border-color: var(--ligne); }
.nav__brand img { height: 56px; width: auto; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--brume); }
.nav__links a:hover { color: var(--blanc); }
.nav__right { display: flex; align-items: center; gap: 16px; }
.nav__social { display: grid; place-items: center; width: 44px; height: 44px; color: var(--brume); }
.nav__social:hover { color: var(--blanc); }
.nav__social svg { width: 22px; height: 22px; }
.nav__burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--blanc); transition: transform .25s; }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 35; background: var(--nuit); padding: 104px var(--pad) 40px; display: flex; flex-direction: column; gap: 28px; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { font: 700 clamp(2.6rem, 12vw, 3.6rem)/1.3 var(--titre); text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--ligne); }
.menu__ig { color: var(--brume); font-size: 15px; }

/* ---------- Hero ---------- */
.scrub { position: relative; height: 1800vh; background: var(--nuit); } /* 1600vh de film, 100vh de vague de laque, 100vh de scène */
.scrub__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; transform-origin: 50% 45%; }
.scrub__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform-origin: 50% 72%; will-change: transform; }
.scrub__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(0, 4, 18, .86) 0%, rgba(0, 4, 18, .46) 30%, rgba(0, 4, 18, 0) 54%),
    linear-gradient(to bottom, rgba(0, 4, 18, .55) 0%, rgba(0, 4, 18, 0) 18%);
}
.scrub__beat { position: absolute; left: var(--pad); top: 50%; z-index: 10; width: min(620px, calc(100vw - 2 * var(--pad))); transform: translateY(-50%); opacity: 0; will-change: opacity, transform; }
.beat__title { margin: 0; font: 800 clamp(3.2rem, 5.6vw, 6rem)/.94 var(--titre); text-transform: uppercase; letter-spacing: .005em; text-shadow: 0 2px 34px rgba(0, 4, 18, .6); }
.beat__copy { margin: 20px 0 0; max-width: 42ch; color: var(--brume); text-shadow: 0 1px 18px rgba(0, 4, 18, .95); }
.beat__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.steps { list-style: none; display: flex; gap: 8px; margin: 24px 0 0; padding: 0; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.steps li { padding: 9px 12px; border: 1px solid var(--ligne); color: var(--gris); transition: color .25s, border-color .25s, background .25s; }
.steps li.is-on { color: var(--nuit); background: var(--ambre); border-color: var(--ambre); font-weight: 500; }
.steps li.is-done { color: var(--blanc); border-color: var(--ambre); }

.fiche { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); z-index: 10; width: 208px; padding: 18px 18px 14px; background: rgba(0, 4, 18, .62); backdrop-filter: blur(8px); border: 1px solid var(--ligne); transition: opacity .4s; }
.fiche__title { margin: 0 0 12px; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.fiche ul { list-style: none; margin: 0; padding: 0; }
.fiche li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; font-weight: 600; color: var(--gris); border-top: 1px solid var(--ligne); transition: color .3s; }
.fiche svg { flex: none; width: 16px; height: 16px; padding: 1px; border: 1px solid var(--gris); fill: none; stroke: var(--ambre); stroke-width: 2.2; stroke-linecap: square; stroke-dasharray: 18; stroke-dashoffset: 18; transition: stroke-dashoffset .4s var(--ease), border-color .3s; }
.fiche li.is-done { color: var(--blanc); }
.fiche li.is-done svg { stroke-dashoffset: 0; border-color: var(--ambre); }

.scrub__cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--brume); }
.scrub__cue-line { width: 1px; height: 42px; background: linear-gradient(var(--ambre), transparent); transform-origin: top; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }


.loader { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; background: var(--nuit); transition: opacity .9s var(--ease), visibility .9s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__logo { width: min(320px, 62vw); }
.loader__track { width: min(260px, 56vw); height: 2px; background: var(--ligne); overflow: hidden; }
.loader__bar { display: block; height: 100%; width: 0; background: var(--bleu-vif); transition: width .2s linear; }
.loader__pct { font: 400 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }

/* ---------- Sections ---------- */
.section-head { margin-bottom: clamp(44px, 7vh, 84px); }
.section-title { margin: 0; font: 800 clamp(2.9rem, 6.2vw, 5.8rem)/.98 var(--titre); text-transform: uppercase; }
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Rideau : monte par-dessus le hero, déjà de la couleur du fond */
.services { position: relative; z-index: 2; background: var(--nuit); padding: clamp(96px, 15vh, 180px) var(--pad); border-top: 1px solid var(--ligne); }


.ab { position: relative; z-index: 2; background: var(--nuit); padding: clamp(96px, 15vh, 180px) var(--pad); }
.ab__grid { display: flex; flex-wrap: wrap; gap: 20px; }
.compare { --pos: 50%; position: relative; margin: 0; aspect-ratio: var(--ratio, 4 / 3); overflow: hidden; background: var(--nuit); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--blanc); pointer-events: none; }
.compare__handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--bleu-vif); display: grid; place-items: center; font: 500 14px/1 var(--mono); }
.compare__tag { position: absolute; top: 12px; z-index: 2; padding: 6px 9px; background: rgba(0, 4, 18, .75); font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.compare__tag--l { left: 12px; }
.compare__tag--r { right: 12px; color: var(--ambre); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; font-size: 14px; background: linear-gradient(transparent, rgba(0, 4, 18, .85)); pointer-events: none; }

.garage { background: var(--nuit); padding: clamp(96px, 15vh, 180px) var(--pad); }
.garage__photo { display: block; width: 100%; max-width: 1440px; height: auto; aspect-ratio: 3 / 2; margin: 0 auto; object-fit: cover; }

.contact { background: var(--nuit); padding: clamp(96px, 15vh, 180px) var(--pad); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.hours__status { display: inline-block; margin: 0 0 20px; padding: 8px 12px; font: 500 13px/1.3 var(--mono); border: 1px solid var(--ligne); }
.hours__status.is-open { color: #7fe0ae; border-color: rgba(127, 224, 174, .5); }
.hours__status.is-closed { color: var(--ambre); border-color: rgba(77, 147, 255, .5); }
.hours__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours__table th, .hours__table td { padding: 12px 0; border-top: 1px solid var(--ligne); text-align: left; font-weight: 500; vertical-align: top; }
.hours__table td { text-align: right; color: var(--brume); font-variant-numeric: tabular-nums; }
.hours__table tr.is-today th, .hours__table tr.is-today td { color: var(--blanc); font-weight: 700; }
.hours__table tr.is-today th::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; background: var(--ambre); vertical-align: 1px; }
.accueil { margin: 30px 0 0; padding: 20px 0 0; border-top: 1px solid var(--ligne); }
.accueil__titre { margin: 0 0 14px; font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--bleu-clair); }
.accueil__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px 24px; }
.accueil__liste li { display: grid; gap: 4px; }
.accueil__nom { font: 800 1.5rem/1 var(--titre); text-transform: uppercase; letter-spacing: .01em; }
.accueil__liste a { font-weight: 600; color: var(--brume); text-decoration: none; font-variant-numeric: tabular-nums; }
.accueil__liste a:hover { color: var(--bleu-clair); }
.coords { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px 24px; margin: 26px 0; font-style: normal; font-weight: 600; }
.coords p { margin: 0; }
.coords a { text-decoration: none; }
.coords a:hover { color: var(--bleu-clair); }
.map { display: flex; flex-wrap: wrap; gap: 12px; }
.map iframe { width: 100%; height: 340px; border: 0; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--brume); }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; font: 500 16px/1.4 var(--corps); color: var(--blanc); background: var(--nuit); border: 1px solid rgba(195, 204, 224, .32); border-radius: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--bleu-clair); outline-offset: 0; }
.form__hp { position: absolute; left: -9999px; }
.form__msg { margin: 0; min-height: 1.4em; font-size: 15px; font-weight: 600; }
.form__msg.is-ok { color: #7fe0ae; }
.form__msg.is-err { color: #ff9c8a; }
.form__note { margin: 0; font-size: 13px; color: var(--gris); }

.footer { background: var(--nuit); padding: 56px var(--pad) 30px; border-top: 1px solid var(--ligne); font-size: 14px; color: var(--brume); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.footer__logo { height: 92px; width: auto; }
.footer p { margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--blanc); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__by { margin-top: 30px !important; padding-top: 18px; border-top: 1px solid var(--ligne); color: var(--gris); font-size: 13px; }

.actionbar { display: none; }

/* Pages légales */
.legal-body { background: var(--nuit); }
.legal-nav { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--pad); border-bottom: 1px solid var(--ligne); }
.legal-nav .nav__brand img { height: 56px; width: auto; }
.legal { max-width: 800px; margin: 0 auto; padding: 72px var(--pad) 96px; }
.legal h2 { margin: 42px 0 10px; font: 700 2rem/1.1 var(--titre); text-transform: uppercase; }
.legal p, .legal li { color: var(--brume); }
.legal table { width: 100%; border-collapse: collapse; }
.legal th, .legal td { padding: 11px 12px 11px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--ligne); font-size: 15px; font-weight: 500; }
.legal a { color: var(--bleu-clair); }
.legal__updated { color: var(--gris); font-size: 14px; }
.legal__todo { color: var(--ambre); }

/* ---------- Téléphones et petites tablettes ---------- */
@media (max-width: 820px) {
  .nav { height: 64px; }
  .nav__brand img { height: 46px; }
  .nav__links, .nav__right { display: none; }
  .nav__burger { display: block; z-index: 41; }

  .scrub { height: 1400vh; }
  .scrub.scrub--touch { height: 200vh; height: 200svh; }
  .scrub.scrub--touch.is-locked .scrub__stage { touch-action: none; }
  .scrub__canvas { transform-origin: 50% 56%; }
  .scrub__scrim {
    background:
      linear-gradient(to top, rgba(0, 4, 18, .95) 0%, rgba(0, 4, 18, .72) 26%, rgba(0, 4, 18, 0) 50%),
      linear-gradient(to bottom, rgba(0, 4, 18, .62) 0%, rgba(0, 4, 18, 0) 16%);
  }
  .scrub__beat { top: auto; bottom: calc(26px + env(safe-area-inset-bottom)); transform: none; }
  .beat__title { font-size: clamp(2.7rem, 13vw, 4rem); }
  .beat__copy { margin-top: 12px; font-size: 15px; }
  .beat__actions { margin-top: 18px; flex-wrap: nowrap; gap: 8px; }
  .beat__actions .btn { flex: 1 1 auto; padding: 12px 10px; font-size: 13px; }
  .steps { margin-top: 14px; }
  .steps li { padding: 7px 8px; font-size: 11px; letter-spacing: .06em; }
  .scrub__cue { display: none; }

  .fiche { top: 74px; right: 12px; left: 12px; bottom: auto; width: auto; transform: none; padding: 9px 11px; }
  .fiche__title { display: none; }
  .fiche ul { display: flex; justify-content: space-between; gap: 6px; }
  .fiche li { gap: 5px; padding: 0; border: 0; font-size: 11.5px; }
  .fiche svg { width: 13px; height: 13px; }

  .contact__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hours__table td { font-size: 14px; }

  .actionbar {
    position: fixed; inset: auto 0 0 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom); background: rgba(0, 4, 18, .94); border-top: 1px solid var(--ligne);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .actionbar.is-on { transform: none; }
  .actionbar a { display: grid; place-items: center; min-height: 54px; font-size: 14px; font-weight: 700; text-decoration: none; }
  .actionbar a.is-primary { background: var(--bleu-vif); }
  .footer { padding-bottom: 84px; }
}
@media (max-width: 360px) { .fiche li { font-size: 10.5px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { transition-duration: .01s; transform: none; }
  .scrub__cue-line { animation: none; }
}

/* Page de remerciement */
.visit { padding: 60px var(--pad); }
.section-copy { max-width: 46ch; color: var(--brume); }

/* Étapes de carrosserie : discrètes, pour laisser voir le travail */
.scrub__beat--low { top: auto; bottom: 40px; transform: none; }
.scrub__beat--low .kicker { margin-bottom: 0; }
@media (max-width: 820px) { .scrub__beat--low { bottom: calc(26px + env(safe-area-inset-bottom)); } }

/* ---------- Hero mobile : texte en haut, voiture dégagée, fiche en bas ---------- */
@media (max-width: 820px) {
  .scrub__scrim {
    background:
      linear-gradient(to bottom, rgba(0, 4, 18, .9) 0%, rgba(0, 4, 18, .72) 24%, rgba(0, 4, 18, 0) 42%),
      linear-gradient(to top, rgba(0, 4, 18, .7) 0%, rgba(0, 4, 18, 0) 12%);
  }
  .scrub__beat { top: 72px; bottom: auto; }
  .kicker { margin-bottom: 8px; font-size: 11px; }
  .beat__title { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
  .beat__copy { margin-top: 8px; font-size: 14px; line-height: 1.45; }
  .beat__actions { margin-top: 12px; }
  .beat__actions .btn { min-height: 44px; }
  .scrub__beat--low { top: 72px; bottom: auto; }
  .fiche { top: auto; bottom: calc(10px + env(safe-area-inset-bottom)); }
}
@media (max-width: 820px) {
  /* Premier écran : les boutons ne doivent pas masquer l'enseigne */
  .scrub__beat[data-in="-0.06"] .beat__copy { display: none; }
}
@media (max-width: 820px) {
  .scrub__scrim {
    background:
      linear-gradient(to bottom, rgba(0, 4, 18, .92) 0%, rgba(0, 4, 18, .82) 30%, rgba(0, 4, 18, 0) 50%),
      linear-gradient(to top, rgba(0, 4, 18, .7) 0%, rgba(0, 4, 18, 0) 12%);
  }
  /* Boutons du premier écran : sur l'asphalte, juste au-dessus de la fiche */
  .scrub__beat[data-in="-0.06"] .beat__actions { position: absolute; left: 0; right: 0; top: calc(100svh - 72px - 128px); margin: 0; }
  .scrub__beat[data-in="0.976"] .beat__actions { position: absolute; left: 0; right: 0; top: calc(100svh - 72px - 128px); margin: 0; }
}
@media (max-width: 600px) { .ab__grid .compare { flex-basis: 100% !important; } }


/* ---------- Services : déroulé façon flyer, en boucle ---------- */
.flow { list-style: none; margin: 0 auto; padding: 0; width: min(860px, 100%); }
.flow__item { display: grid; grid-template-columns: 84px 2px 1fr; align-items: center; gap: clamp(20px, 3.4vw, 40px); padding: clamp(18px, 3vh, 30px) 0; }
.flow__icon svg { width: 72px; height: 72px; fill: none; stroke: var(--blanc); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow__icon svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); }
.flow__bar { width: 2px; height: 70px; background: linear-gradient(var(--bleu-vif), var(--bleu-clair)); transform: scaleY(0); transition: transform .6s var(--ease) .15s; }
.flow__label { margin: 0; font: 800 clamp(2rem, 4.4vw, 3.6rem)/1 var(--titre); text-transform: uppercase; letter-spacing: .01em; }
.flow__label, .flow__more { opacity: 0; transform: translateX(-18px); transition: opacity .7s var(--ease) .25s, transform .7s var(--ease) .25s; }
.flow__more { display: inline-block; margin-top: 10px; font: 600 15px/1.3 var(--corps); color: var(--bleu-clair); text-decoration: none; }
.flow__more:hover { color: var(--blanc); }
.flow__item.is-on .flow__icon svg * { stroke-dashoffset: 0; }
.flow__item.is-on .flow__bar { transform: none; }
.flow__item.is-on .flow__label, .flow__item.is-on .flow__more { opacity: 1; transform: none; }
.flow__line { position: relative; height: 1px; background: rgba(77, 147, 255, .12); }
.flow__line::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 100, 240, .15), var(--bleu-clair)); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.5, 0, .3, 1); }
.flow__dot { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--bleu-clair); box-shadow: 0 0 0 4px rgba(77, 147, 255, .18), 0 0 18px 4px rgba(77, 147, 255, .7); opacity: 0; transition: left .9s cubic-bezier(.5, 0, .3, 1), opacity .2s; }
.flow__line.is-on::before { transform: none; }
.flow__line.is-on .flow__dot { left: 100%; opacity: 1; }
/* remise à zéro avant de reboucler : tout s'éteint ensemble */
.flow.is-reset .flow__item *, .flow.is-reset .flow__icon svg *, .flow.is-reset .flow__line::before, .flow.is-reset .flow__dot { transition-duration: .5s !important; transition-delay: 0s !important; }
@media (max-width: 600px) {
  .flow__item { grid-template-columns: 52px 2px 1fr; gap: 18px; }
  .flow__icon svg { width: 52px; height: 52px; }
  .flow__bar { height: 52px; }
  .flow__label { font-size: clamp(1.7rem, 8vw, 2.2rem); }
}

/* ---------- Sortie du hero : reflet lumineux ---------- */
.sweep { position: absolute; inset: 0; z-index: 14; width: 100%; height: 100%; pointer-events: none; }
