/* ============================================================
   ENHANCEMENTS — rééquilibrage light/dark + nouveaux composants
   Chargé APRÈS components.css pour override propre.
   ============================================================ */

/* ════════════════════════════════════════════════════
   1. RÉÉQUILIBRAGE LIGHT/DARK
   Constat + Parcours passent en clair.
   ════════════════════════════════════════════════════ */

/* ─── CONSTAT ─── */
.constat {
  background: var(--c-white);
  color: var(--c-anthracite);
}
.constat .section-lede {
  color: var(--c-gray);
}
.constat .stat {
  border-top-color: var(--c-gray-light);
}
.constat .stat__big {
  color: var(--c-anthracite);
}
.constat .stat__prefix {
  color: rgba(26, 26, 26, 0.3);
}
.constat .stat__unit {
  color: rgba(26, 26, 26, 0.45);
}
.constat .stat__label {
  color: rgba(26, 26, 26, 0.7);
}

/* ─── PARCOURS ─── */
.parcours {
  background: var(--c-white);
  color: var(--c-anthracite);
}
.parcours .section-title {
  color: var(--c-anthracite);
}
.parcours .parcours__step h3 {
  color: var(--c-anthracite);
}
.parcours .parcours__step p {
  color: rgba(26, 26, 26, 0.65);
}
.parcours__progress {
  background: var(--c-gray-light);
}

/* Le téléphone se détache encore mieux sur fond clair */
.parcours .phone__frame {
  box-shadow:
    0 0 0 2px #0a0a0b,
    0 40px 100px rgba(15, 15, 16, 0.18),
    0 12px 30px rgba(15, 15, 16, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ════════════════════════════════════════════════════
   2. SECTION SEPARATOR — trait rouge entre sections
   Un fin trait qui se trace au scroll, signature visuelle.
   ════════════════════════════════════════════════════ */
.constat,
.services,
.video-demo,
.demo-live,
.roadmap,
.faq {
  position: relative;
}
.constat::before,
.services::before,
.video-demo::before,
.demo-live::before,
.roadmap::before,
.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--c-red);
  transform: translateX(-50%);
  transition: width 1200ms var(--ease-out) 200ms;
  pointer-events: none;
}
.constat.is-revealed::before,
.services.is-revealed::before,
.video-demo.is-revealed::before,
.demo-live.is-revealed::before,
.roadmap.is-revealed::before,
.faq.is-revealed::before {
  width: 48px;
}

/* ════════════════════════════════════════════════════
   3. CURSEUR — LAMPE TORCHE sur sections sombres
   Un halo rouge flou qui suit le curseur.
   ════════════════════════════════════════════════════ */
.cursor__torch {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: calc(var(--z-cursor) - 2);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at center,
    rgba(227, 6, 19, 0.22) 0%,
    rgba(227, 6, 19, 0.08) 30%,
    rgba(227, 6, 19, 0) 70%
  );
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}
body.cursor-torch-on .cursor__torch {
  opacity: 1;
}

/* ════════════════════════════════════════════════════
   4. CHAPTERS — dots verticaux à droite
   ════════════════════════════════════════════════════ */
.chapters {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  z-index: 90;
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 16px 12px;
  background: rgba(15, 15, 16, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 15, 16, 0.06);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 600ms var(--ease-out);
  pointer-events: auto;
}
.chapters.is-visible {
  opacity: 1;
}
@media (min-width: 1024px) {
  .chapters { display: flex; }
}
/* Quand le contexte est dark, inverse */
body.is-dark-section .chapters {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.chapter-dot {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(15, 15, 16, 0.2);
  cursor: pointer;
  transition: background 300ms var(--ease-out),
              transform 300ms var(--ease-out);
}
body.is-dark-section .chapter-dot {
  background: rgba(255, 255, 255, 0.3);
}
.chapter-dot:hover {
  transform: scale(1.4);
}
.chapter-dot.is-active {
  background: var(--c-red);
  transform: scale(1.3);
}
.chapter-dot.is-active::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px solid var(--c-red);
  border-radius: 50%;
  animation: chapter-ring 2.4s var(--ease-out) infinite;
}
@keyframes chapter-ring {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0;   }
}

.chapter-dot__label {
  position: absolute;
  top: 50%;
  right: calc(100% + 16px);
  transform: translateY(-50%) translateX(8px);
  padding: 6px 12px;
  background: var(--c-anthracite);
  color: var(--c-white);
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms var(--ease-out),
              transform 240ms var(--ease-out);
}
.chapter-dot__label::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-left-color: var(--c-anthracite);
  transform: translateY(-50%);
}
.chapter-dot:hover .chapter-dot__label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ════════════════════════════════════════════════════
   5. CTA FINAL — QR card scannable à côté du bouton
   ════════════════════════════════════════════════════ */
.cta-final__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
@media (min-width: 720px) {
  .cta-final__actions {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-lg);
  }
}

.cta-final__separator {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  position: relative;
  padding: 0 var(--space-sm);
}
.cta-final__separator::before,
.cta-final__separator::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.cta-final__separator::before { right: 100%; }
.cta-final__separator::after  { left:  100%; }

.cta-final__qr-card {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 16px 12px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--c-white);
  text-decoration: none;
  transition: background 300ms var(--ease-out),
              border-color 300ms var(--ease-out),
              transform 300ms var(--ease-out);
}
.cta-final__qr-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(227, 6, 19, 0.4);
  transform: translateY(-2px);
}
.cta-final__qr-mini {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
  flex-shrink: 0;
  overflow: hidden;
}
.cta-final__qr-mini svg {
  width: 100%;
  height: 100%;
}
.cta-final__qr-mini::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-red) 50%, transparent);
  box-shadow: 0 0 8px var(--c-red);
  animation: scan-line 2.4s var(--ease-in-out) infinite;
}
.cta-final__qr-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.cta-final__qr-text strong {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--c-white);
}
.cta-final__qr-text small {
  font-size: .75rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ════════════════════════════════════════════════════
   6. PHONE TILT — perspective container
   ════════════════════════════════════════════════════ */
.parcours__phone {
  perspective: 1400px;
  perspective-origin: 50% 50%;
}
.parcours .phone {
  transform-style: preserve-3d;
  transition: transform 600ms var(--ease-out);
  will-change: transform;
}
.parcours .phone.is-tilting {
  transition: none; /* JS gère via requestAnimationFrame */
}

/* ════════════════════════════════════════════════════
   7. MAGNETIC ELEMENTS
   Cible : [data-magnetic] — translate appliquée en JS
   ════════════════════════════════════════════════════ */
[data-magnetic] {
  will-change: transform;
}

/* ════════════════════════════════════════════════════
   8. REDUCED MOTION
   ════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .cursor__torch,
  .chapter-dot.is-active::after,
  .cta-final__qr-mini::after {
    animation: none !important;
  }
  .parcours .phone {
    transition: none !important;
    transform: none !important;
  }
  [data-magnetic] {
    transform: none !important;
  }
}

/* ════════════════════════════════════════════════════
   9. CORRECTION RADIUS — alignement charte Atlantic
   Cards = rounded sobre, pas "consumer app"
   ════════════════════════════════════════════════════ */
:root {
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
  --r-xl: 16px;
}
.service          { border-radius: 8px; }
.service__icon    { border-radius: 6px; }
.service__badge   { border-radius: 4px; }
.faq__item        { border-radius: 6px; }
.roadmap__col     { border-radius: 8px; }
.roadmap__list li { border-radius: 4px; }
.btn              { border-radius: 999px; } /* pills on garde */
.demo-live__label-card { border-radius: 6px; }
.video-demo__player    { border-radius: 10px; }
.video-modal__content  { border-radius: 10px; }
.cta-final__qr-card    { border-radius: 8px; }
.cta-final__qr-mini    { border-radius: 4px; }

/* ════════════════════════════════════════════════════
   10. STATS — pas de barre, soulignement rouge à la place
   Le trait passe SOUS le chiffre (le souligne).
   ════════════════════════════════════════════════════ */
.stat__strike {
  /* Override : on transforme le strike en underline */
  top: auto !important;
  bottom: -12px;
  left: 0;
  right: auto;
  width: 64px;
  height: 2px;
  transform-origin: left;
  transform: scaleX(0);
}
.stat.is-revealed .stat__strike {
  transform: scaleX(1);
  transition: transform 700ms var(--ease-out) 100ms;
}

/* ════════════════════════════════════════════════════
   11. DENSITÉ — espacement vertical sections affiné
   ════════════════════════════════════════════════════ */
section[data-section] {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.bascule {
  padding-block: clamp(5rem, 11vw, 9rem);
}

/* ════════════════════════════════════════════════════
   12. HERO — marqueurs de scan en background (subtils)
   Mini-réticules rouges aux 4 coins du hero, signature visuelle
   ════════════════════════════════════════════════════ */
.hero::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(227, 6, 19, 0.45);
  border-right: 0;
  border-bottom: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out) 1.2s;
}
.hero.is-loaded::before { opacity: 1; }

.hero__inner::before,
.hero__inner::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(227, 6, 19, 0.45);
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out) 1.4s;
}
.hero__inner::before {
  top: -24px;
  right: 24px;
  border-left: 0;
  border-bottom: 0;
  /* Note : top:-24px positionne par rapport au .hero__inner qui est centré, donc on ajuste */
  display: none; /* on retire cette pseudo, on garde juste le top-left du .hero::before */
}
.hero__inner::after { display: none; }

/* Bottom-right marker, posé sur le hero */
.hero::after {
  /* Surcharge l'animation hero-flash : on combine. Mauvais idée, garder hero-flash standalone */
}

/* ════════════════════════════════════════════════════
   13. BASCULE → PARCOURS : continuité du flash blanc
   Le flash de la bascule fade vers le blanc du parcours
   ════════════════════════════════════════════════════ */
.bascule {
  background: var(--c-black);
  position: relative;
}
.bascule::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent 0%, var(--c-white) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 800ms var(--ease-out);
}
.bascule.is-fading-out::after {
  opacity: 1;
}

/* ════════════════════════════════════════════════════
   14. HERO SUBTITLE — un poil moins large pour plus d'impact
   ════════════════════════════════════════════════════ */
.hero__subtitle {
  max-width: 44ch;
}

/* ════════════════════════════════════════════════════
   15. SCAN PROGRESS BAR — top de page, suit le scroll
   ════════════════════════════════════════════════════ */
.scan-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--scan-progress, 0%);
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--c-red) 80%, var(--c-red) 100%);
  z-index: 999;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(227, 6, 19, 0.5);
  transition: width 80ms linear;
}

/* ════════════════════════════════════════════════════
   16. HERO V2 — QR fragment + scan loop + services floats
   ════════════════════════════════════════════════════ */
.hero__qr-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(420px, 60vw, 720px);
  height: clamp(420px, 60vw, 720px);
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  color: rgba(255, 255, 255, 0.06);
  animation: hero-qr-fade 1500ms var(--ease-out) 800ms forwards,
             hero-qr-drift 22s var(--ease-in-out) 2000ms infinite alternate;
}
.hero__qr-bg svg { width: 100%; height: 100%; }
@keyframes hero-qr-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes hero-qr-drift {
  from { transform: translate(-50%, -50%) scale(1)    rotate(0deg); }
  to   { transform: translate(-50%, -52%) scale(1.04) rotate(2deg); }
}

/* Ligne de scan rouge horizontale qui balaye le hero */
.hero__scan-sweep {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--c-red) 50%, transparent 100%);
  box-shadow: 0 0 24px rgba(227, 6, 19, 0.8);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  animation: hero-scan-sweep 7s var(--ease-in-out) 2500ms infinite;
}
@keyframes hero-scan-sweep {
  0%   { top: 0%;   opacity: 0; }
  6%   { opacity: 0.9; }
  50%  { top: 100%; opacity: 0.9; }
  56%  { opacity: 0; }
  100% { top: 100%; opacity: 0; }
}

/* Étiquettes de services flottantes en arrière-plan */
.hero__floats {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.hero__float {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(15, 15, 16, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.42);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(20px);
  animation: float-in 1200ms var(--ease-out) forwards,
             float-drift var(--d, 14s) var(--ease-in-out) infinite alternate;
  animation-delay: var(--delay, 1.6s), calc(var(--delay, 1.6s) + 1.2s);
  will-change: transform;
}
@keyframes float-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float-drift {
  from { transform: translateY(0)    translateX(0); }
  to   { transform: translateY(-24px) translateX(8px); }
}

/* ════════════════════════════════════════════════════
   17. PARCOURS — pré-explosion à l'étape 3
   Les actions du dashboard s'extraient légèrement
   ════════════════════════════════════════════════════ */
.phone__screen--3.is-explode .phone-dash__actions {
  position: relative;
}
.phone__screen--3.is-explode .phone-dash__action {
  animation: action-escape 1.6s var(--ease-out) forwards;
}
.phone__screen--3.is-explode .phone-dash__action:nth-child(1) {
  animation-delay: 0.2s;
  --escape-x: -28px;
  --escape-y: 6px;
  --escape-r: -4deg;
}
.phone__screen--3.is-explode .phone-dash__action:nth-child(2) {
  animation-delay: 0.4s;
  --escape-x: 30px;
  --escape-y: -6px;
  --escape-r: 4deg;
}
.phone__screen--3.is-explode .phone-dash__action:nth-child(3) {
  animation-delay: 0.6s;
  --escape-x: -16px;
  --escape-y: 14px;
  --escape-r: -2deg;
}
@keyframes action-escape {
  0%   { transform: translate(0, 0) rotate(0); box-shadow: 0 0 0 rgba(43, 91, 168, 0); }
  60%  { transform: translate(var(--escape-x), var(--escape-y)) rotate(var(--escape-r));
         box-shadow: 0 12px 30px rgba(43, 91, 168, 0.45); }
  100% { transform: translate(var(--escape-x), var(--escape-y)) rotate(var(--escape-r));
         box-shadow: 0 12px 30px rgba(43, 91, 168, 0.45); }
}

/* ════════════════════════════════════════════════════
   18. CONSTELLATION — un flash, tout un univers
   Section sticky, QR central, 8 services radiaux,
   lignes qui se tracent au scroll
   ════════════════════════════════════════════════════ */
.constellation {
  background: var(--c-black);
  color: var(--c-white);
  position: relative;
  min-height: 250vh;
  isolation: isolate;
}
.constellation__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.constellation__inner {
  position: relative;
  width: 100%;
  max-width: 920px;
  padding: var(--container-pad);
  text-align: center;
}
.constellation__title {
  margin: 0 auto var(--space-md);
  max-width: 20ch;
}
.constellation__lede {
  color: rgba(255, 255, 255, 0.6);
  max-width: 48ch;
  margin: 0 auto var(--space-lg);
  font-size: var(--size-lede);
}

.constellation__scene {
  position: relative;
  width: min(700px, 90vw);
  aspect-ratio: 1;
  margin: 0 auto;
}

/* QR central */
.constellation__center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  z-index: 3;
  padding: 8px;
  background: var(--c-white);
  border-radius: 8px;
  box-shadow: 0 0 80px rgba(227, 6, 19, 0.4);
  animation: center-pulse 3s var(--ease-in-out) infinite;
}
.constellation__center svg {
  width: 100%;
  height: 100%;
}
@keyframes center-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(227, 6, 19, 0.35); }
  50%      { box-shadow: 0 0 100px rgba(227, 6, 19, 0.7); }
}
.constellation__center::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1.5px solid rgba(227, 6, 19, 0.5);
  border-radius: 12px;
  animation: center-ring 3s var(--ease-out) infinite;
}
@keyframes center-ring {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0;   }
}

/* SVG des lignes radiales */
.constellation__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: visible;
}
.constellation__lines line {
  stroke: var(--c-red);
  stroke-width: 1;
  stroke-dasharray: var(--dash, 300);
  stroke-dashoffset: var(--dash, 300);
  transition: stroke-dashoffset 700ms var(--ease-out);
  opacity: 0.7;
}
.constellation__lines line.is-drawn {
  stroke-dashoffset: 0;
}

/* Nodes services */
.constellation__node {
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition: opacity 500ms var(--ease-out),
              transform 500ms var(--ease-out);
}
.constellation__node.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.constellation__node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 1.5rem;
  color: var(--c-white);
  position: relative;
  transition: transform 300ms var(--ease-out),
              background 300ms var(--ease-out);
}
.constellation__node.is-active .constellation__node-icon {
  animation: node-pulse 2.4s var(--ease-in-out) infinite;
  animation-delay: var(--node-delay, 0s);
}
@keyframes node-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); background: rgba(227, 6, 19, 0.18); }
}
.constellation__node-label {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
.constellation__node:hover .constellation__node-icon {
  background: var(--c-red);
  transform: scale(1.1);
}

@media (max-width: 720px) {
  .constellation__scene { width: 95vw; }
  .constellation__node-icon { width: 42px; height: 42px; font-size: 1.2rem; }
  .constellation__node-label { font-size: .625rem; }
  .constellation__center { width: 88px; height: 88px; }
}

/* Indicateur de progression à droite (vertical, dans la section) */
.constellation__progress {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  z-index: 4;
}
.constellation__progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--c-red);
  border-radius: 2px;
  transition: height 200ms var(--ease-out);
}
@media (max-width: 1024px) {
  .constellation__progress { display: none; }
}

/* ════════════════════════════════════════════════════
   19. REDUCED MOTION pour les nouveaux composants
   ════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .hero__qr-bg,
  .hero__scan-sweep,
  .hero__float,
  .constellation__center,
  .constellation__center::before,
  .constellation__node.is-active .constellation__node-icon {
    animation: none !important;
  }
  .scan-progress { transition: none !important; }
  .constellation__node {
    opacity: 1 !important;
    transform: translate(-50%, -50%) !important;
  }
  .constellation__lines line { stroke-dashoffset: 0 !important; }
}

/* ════════════════════════════════════════════════════
   20. CONSTELLATION — FIX layout sticky
   Tout doit tenir dans 100vh, sinon le sticky rogne.
   ════════════════════════════════════════════════════ */

/* Override section 18 : on rend la scène viewport-aware */
.constellation__sticky {
  padding-top: calc(var(--header-h) + var(--space-md));
  padding-bottom: var(--space-md);
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.constellation__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  height: 100%;
  max-height: 100%;
  width: 100%;
}

.constellation__title {
  font-size: clamp(1.75rem, 4.2vw, 3.5rem);
  line-height: 1;
  margin: 0;
}

.constellation__lede {
  font-size: clamp(.9rem, 1.1vw, 1rem);
  max-width: 50ch;
  margin: 0 0 var(--space-sm);
  line-height: 1.5;
}

.constellation .eyebrow {
  margin-bottom: var(--space-xs);
}

/* La scène utilise vmin pour rester proportionnelle à la plus
   petite dimension du viewport — garantit qu'elle tient toujours */
.constellation__scene {
  width: min(560px, 62vmin, 90vw);
  aspect-ratio: 1;
  flex-shrink: 0;
  margin: 0 auto;
}

@media (max-height: 760px) {
  .constellation__scene { width: min(440px, 55vmin); }
  .constellation__title { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
  .constellation__lede  { display: none; } /* on sacrifie la lede sur petits écrans */
}

@media (max-height: 600px) {
  .constellation__scene { width: min(360px, 50vmin); }
  .constellation__sticky { padding-top: calc(var(--header-h) + var(--space-sm)); }
}

/* Le centre QR un peu plus petit pour laisser respirer les nodes */
.constellation__center {
  width: clamp(72px, 14%, 110px);
  height: clamp(72px, 14%, 110px);
}

/* Labels des nodes plus compacts */
.constellation__node-icon {
  width: clamp(38px, 7%, 52px);
  height: clamp(38px, 7%, 52px);
  font-size: clamp(1rem, 2vw, 1.5rem);
}
.constellation__node-label {
  font-size: clamp(.625rem, 0.85vw, .75rem);
}

/* ════════════════════════════════════════════════════
   21. DEMO LIVE — QR non cliquable + liste d'emplacements
   ════════════════════════════════════════════════════ */

/* QR devient purement décoratif (pas de hover scale, pas de cursor pointer) */
.demo-live__qr {
  cursor: default;
}
.demo-live__qr:hover {
  transform: none;
}

/* Liste des emplacements (remplace l'ancien preview phone) */
.demo-live__locations {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.locations__hint {
  font-size: .9375rem;
  color: var(--c-gray);
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.locations {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.location {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-md);
  padding: 16px 18px;
  background: var(--c-white);
  border: 1px solid var(--c-gray-light);
  border-radius: 8px;
  transition: border-color 240ms var(--ease-out),
              transform 240ms var(--ease-out),
              box-shadow 240ms var(--ease-out);
}
.location:hover {
  border-color: rgba(227, 6, 19, 0.3);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.location__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--c-gray-soft);
  color: var(--c-red);
  flex-shrink: 0;
  transition: background 240ms var(--ease-out),
              color 240ms var(--ease-out);
}
.location__icon svg {
  width: 24px;
  height: 24px;
}
.location:hover .location__icon {
  background: var(--c-red);
  color: var(--c-white);
}

.location__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.location__text strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-anthracite);
  letter-spacing: -0.01em;
}
.location__text span {
  font-size: .875rem;
  color: rgba(26, 26, 26, 0.6);
  line-height: 1.4;
}

.location__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: var(--c-red);
  color: var(--c-white);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 4px;
  flex-shrink: 0;
}
.location__badge--soon {
  background: var(--c-gray-light);
  color: var(--c-gray);
}

.location--soon {
  opacity: 0.7;
}
.location--soon .location__text strong {
  color: rgba(26, 26, 26, 0.7);
}
.location--soon:hover {
  border-color: var(--c-gray-light);
  transform: none;
  box-shadow: none;
}
.location--soon:hover .location__icon {
  background: var(--c-gray-soft);
  color: var(--c-red);
}

/* Réajustement du split pour le nouveau contenu */
@media (min-width: 900px) {
  .demo-live__split {
    align-items: start;
  }
}

/* ════════════════════════════════════════════════════
   22. HERO V3 — sticky 130vh + cartes qui se rassemblent
   On override la structure 100vh classique
   ════════════════════════════════════════════════════ */

/* Le .hero devient le container TALL qui pilote le scroll */
.hero {
  height: 140vh;
  min-height: 140vh;
  display: block;
  overflow: visible;
  align-items: initial;
  justify-content: initial;
}

/* La viewport interne est sticky 100vh */
.hero__viewport {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

/* On vire les anciens floats / QR background (au cas où) */
.hero__floats,
.hero__qr-bg { display: none !important; }

/* Réticule de scan top-left déplacé sur la viewport */
.hero::before { display: none; }
.hero__viewport::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(227, 6, 19, 0.45);
  border-right: 0;
  border-bottom: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  animation: hero-corner-in 1s var(--ease-out) 1.3s forwards;
}
@keyframes hero-corner-in {
  to { opacity: 1; }
}

/* Inner content au centre */
.hero__inner {
  position: relative;
  z-index: 5;
  text-align: center;
  padding-top: 0;
  padding-bottom: clamp(80px, 18vh, 200px); /* place pour les cartes en bas */
}

/* ────────── LES CARTES ────────── */
.hero__cards {
  position: absolute;
  bottom: clamp(60px, 12vh, 120px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: clamp(12px, 1.6vw, 22px);
  pointer-events: none;
  perspective: 1200px;
}

.hero-card {
  width: clamp(72px, 8.5vw, 108px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0)
             rotate(var(--tr, 0deg))
             scale(var(--ts, 1));
  opacity: var(--to, 1);
  will-change: transform, opacity;
  pointer-events: auto;
}

.hero-card__frame {
  width: 100%;
  aspect-ratio: 1;
  padding: 5px;
  border-radius: 22px;
  background: linear-gradient(180deg, #3a3a3c 0%, #1f1f21 50%, #0d0d0e 100%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1.5px 0 rgba(0, 0, 0, 0.6),
    0 16px 32px rgba(0, 0, 0, 0.55),
    0 4px 8px rgba(0, 0, 0, 0.4);
  position: relative;
}

.hero-card__inner {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #1c1c1e 0%, #0a0a0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.6);
}
.hero-card__inner::after {
  /* léger reflet brillant en haut */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  pointer-events: none;
}

.hero-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  width: 56%;
  height: 56%;
  transition: transform 400ms var(--ease-out),
              color 400ms var(--ease-out);
}
.hero-card__icon svg { width: 100%; height: 100%; }

.hero-card__label {
  font-size: clamp(.6rem, 0.75vw, .7rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 500ms var(--ease-out);
}

/* Variante "accent" : la garantie 5 ans en rouge — l'élément central */
.hero-card--accent .hero-card__inner {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #E30613 0%, #8a0309 100%);
}
.hero-card--accent .hero-card__frame {
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1.5px 0 rgba(0, 0, 0, 0.55),
    0 16px 40px rgba(227, 6, 19, 0.35),
    0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Quand l'assemblage est terminé : on révèle les labels */
.hero__cards.is-assembled .hero-card__label { opacity: 1; }

/* Sur hover de l'icône une fois assemblée, micro-zoom */
.hero__cards.is-assembled .hero-card:hover .hero-card__icon {
  transform: scale(1.12);
  color: var(--c-red);
}
.hero__cards.is-assembled .hero-card--accent:hover .hero-card__icon {
  color: var(--c-white);
}

/* Indicateur de "scroll pour assembler" — disparaît à 50% de progress */
.hero__assemble-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  font-size: .7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  opacity: 0;
  transition: opacity 500ms var(--ease-out);
  pointer-events: none;
}
.hero__cards:not(.is-assembled) ~ .hero__assemble-hint,
.hero__viewport[data-assemble-progress="early"] .hero__assemble-hint {
  opacity: 1;
}

/* Reduced motion : pas d'assemblage, cartes droites au load */
@media (prefers-reduced-motion: reduce) {
  .hero-card {
    transform: none !important;
    opacity: 1 !important;
  }
  .hero-card__label { opacity: 1 !important; }
}

/* Mobile : on garde les cartes mais elles sont plus petites */
@media (max-width: 600px) {
  .hero__cards { gap: 8px; bottom: 80px; }
  .hero-card { width: 56px; }
  .hero-card__frame { border-radius: 14px; padding: 3px; }
  .hero-card__inner { border-radius: 11px; }
  .hero-card__label { display: none; }
  .hero { height: 120vh; min-height: 120vh; }
}

/* ════════════════════════════════════════════════════
   23. MOBILE — passe complète tablette + smartphone
   ════════════════════════════════════════════════════ */

/* ─── TABLETTE / SMALL DESKTOP (≤900px) ─── */
@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .header {
    padding-inline: var(--space-sm);
    gap: var(--space-sm);
  }
  .header__cta {
    padding: .55rem .95rem;
    font-size: .875rem;
  }
}

/* ─── MOBILE (≤720px) ─── */
@media (max-width: 720px) {

  /* ─ HEADER ─ */
  .header__logo { height: 24px; }
  .header__cta span { font-size: .8125rem; }

  /* ─ HERO ─ */
  .hero {
    height: 130vh;
    min-height: 130vh;
  }
  .hero__viewport::before {
    top: 16px;
    left: 16px;
    width: 14px;
    height: 14px;
  }
  .hero__title {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
    line-height: 0.98;
  }
  .hero__kicker {
    padding: 6px 12px;
    font-size: .7rem;
  }
  .hero__subtitle {
    font-size: .95rem;
    padding-inline: var(--space-sm);
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__inner {
    padding-bottom: clamp(100px, 22vh, 180px);
  }
  .hero__scroll { display: none; }

  /* Cartes-cadres */
  .hero__cards {
    bottom: clamp(40px, 8vh, 70px);
    gap: 10px;
  }
  .hero-card { width: 58px; }
  .hero-card__frame {
    border-radius: 14px;
    padding: 3px;
  }
  .hero-card__inner { border-radius: 11px; }
  .hero-card__label { display: none; } /* trop étroit, on garde juste les frames */

  /* ─ CONSTAT ─ */
  .constat .stat__big {
    font-size: clamp(4.5rem, 22vw, 8rem);
  }
  .constat .stat__prefix {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .constat .stat__unit {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }
  .stat__label {
    font-size: .9375rem;
    margin-top: var(--space-sm);
  }
  .stat__strike {
    bottom: -8px;
    width: 48px;
  }

  /* ─ BASCULE ─ */
  .bascule__phrase {
    font-size: clamp(2.2rem, 10vw, 4rem);
    padding-inline: var(--space-sm);
  }

  /* ─ PARCOURS ─ */
  /* On garde le sticky mais on resserre tout */
  .parcours {
    min-height: 260vh;
  }
  .parcours__container {
    gap: var(--space-md);
    padding-top: var(--space-md);
  }
  .parcours__content {
    text-align: center;
  }
  .parcours__steps {
    align-items: center;
  }
  .parcours__step {
    text-align: left;
    max-width: 380px;
    margin-inline: auto;
  }
  .parcours .phone {
    width: 200px;
  }
  .parcours .section-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  /* ─ CONSTELLATION ─ */
  .constellation {
    min-height: 220vh;
  }
  .constellation__sticky {
    padding-top: calc(var(--header-h) + var(--space-sm));
  }
  .constellation__inner {
    gap: var(--space-xs);
  }
  .constellation__lede {
    display: none;
  }
  .constellation__scene {
    width: min(90vw, 70vmin);
  }
  .constellation__center {
    width: 64px;
    height: 64px;
    padding: 5px;
  }
  .constellation__node-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .constellation__node-label {
    font-size: .56rem;
    letter-spacing: 0;
  }
  /* Sur très petit écran, on cache les labels (les nodes parlent d'eux-mêmes) */
  @media (max-width: 420px) {
    .constellation__node-label { display: none; }
  }

  /* ─ SERVICES ─ */
  .services__grid {
    gap: var(--space-sm);
  }
  .service,
  .service--big {
    grid-column: span 1;
    min-height: 280px;
  }
  .service__title {
    font-size: 1.2rem !important;
  }
  .service__icon {
    width: 44px;
    height: 44px;
  }
  .service__icon svg {
    width: 22px;
    height: 22px;
  }
  /* Sur mobile, on affiche déjà la description (pas de hover, donc pas d'expansion) */
  .service__body {
    grid-template-rows: 1fr !important;
  }
  .service__body > p {
    padding-top: 4px;
  }

  /* ─ VIDEO DEMO ─ */
  .video-demo__play {
    width: 72px;
    height: 72px;
  }
  .video-demo__play svg {
    width: 24px;
    height: 24px;
  }

  /* ─ DEMO LIVE ─ */
  .demo-live__split {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg);
  }
  .demo-live__label-card {
    max-width: 100%;
    padding: 16px;
  }
  .demo-live__label-mid {
    gap: 14px;
    grid-template-columns: auto 1fr;
  }
  .demo-live__qr {
    width: 110px;
    height: 110px;
  }
  .demo-live__specs {
    font-size: .625rem;
  }

  .location {
    padding: 14px 14px;
    gap: var(--space-sm);
  }
  .location__icon {
    width: 38px;
    height: 38px;
  }
  .location__icon svg {
    width: 20px;
    height: 20px;
  }
  .location__text strong {
    font-size: .9375rem;
  }
  .location__text span {
    font-size: .8125rem;
  }
  .location__badge {
    font-size: .625rem;
    padding: 3px 7px;
  }

  /* ─ ROADMAP ─ */
  .roadmap__col {
    padding: var(--space-md);
  }
  .roadmap__col-head h3 {
    font-size: 1.1rem;
  }
  .roadmap__list li {
    padding: .8rem .9rem;
    font-size: .9375rem;
  }

  /* ─ FAQ ─ */
  .faq__q {
    padding: 1rem 1.1rem;
    gap: var(--space-sm);
  }
  .faq__q-text {
    font-size: .9375rem;
  }
  .faq__a {
    padding: 0 1.1rem 1rem;
    font-size: .9375rem;
  }
  .faq__more {
    font-size: .875rem;
  }

  /* ─ CTA FINAL ─ */
  .cta-final {
    padding-block: clamp(4.5rem, 12vw, 8rem);
  }
  .cta-final__title {
    font-size: clamp(2.2rem, 10vw, 4rem);
  }
  .cta-final__sub {
    font-size: .95rem;
    padding-inline: var(--space-sm);
  }
  .cta-final__actions {
    width: 100%;
  }
  .cta-final__actions .btn--large {
    width: 100%;
    max-width: 360px;
  }
  /* Séparateur "ou" : on cache les traits latéraux (ils sont conçus pour layout horizontal) */
  .cta-final__separator::before,
  .cta-final__separator::after {
    display: none;
  }
  .cta-final__qr-card {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }

  /* ─ SECTIONS — densité ─ */
  section[data-section] {
    padding-block: clamp(3rem, 10vw, 5rem);
  }
  .section-title {
    font-size: clamp(1.85rem, 8vw, 3rem);
  }
  .section-lede {
    font-size: 1rem;
    padding-inline: var(--space-xs);
  }
  .eyebrow {
    font-size: .75rem;
    margin-bottom: var(--space-sm);
  }

  /* ─ FOOTER ─ */
  .footer {
    padding-block: var(--space-lg);
  }
  .footer__nav {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
    font-size: .8125rem;
  }
}

/* ─── SMALL MOBILE (≤420px) ─── */
@media (max-width: 420px) {
  .hero-card { width: 52px; }
  .hero__cards { gap: 7px; }
  .hero__title {
    font-size: clamp(1.85rem, 13vw, 3rem);
  }
  .hero__subtitle {
    font-size: .9rem;
  }
  .demo-live__qr {
    width: 92px;
    height: 92px;
  }
  .demo-live__specs p {
    font-size: .6rem;
  }
  .location {
    grid-template-columns: auto 1fr;
  }
  .location__badge {
    grid-column: 2;
    justify-self: flex-start;
    margin-top: 6px;
  }
}

/* ─── LANDSCAPE PHONE (très court, ≤500px de haut) ─── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { height: 180vh; min-height: 180vh; } /* plus long pour pas tout cramer */
  .hero__cards { bottom: 30px; }
  .hero-card { width: 48px; }
  .constellation { min-height: 280vh; }
  .constellation__lede { display: none; }
}

/* ════════════════════════════════════════════════════
   24. MOBILE V2 — vraies adaptations (pas du copier-coller)
   ════════════════════════════════════════════════════ */

/* ─── HERO MOBILE : grille 2 colonnes + accent isolé ─── */
@media (max-width: 720px) {
  /* Le hero retourne à 100vh : pas de scroll-driven assembly,
     l'animation se fait au load via CSS cascade. */
  .hero {
    height: 100vh !important;
    height: 100svh !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
  }
  .hero__viewport {
    position: relative !important; /* pas sticky */
    height: 100vh;
    height: 100svh;
  }

  /* Layout des cartes : 2 colonnes + accent centré seul en milieu */
  .hero__cards {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 28px);
    max-width: 340px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "a    c   "
      "accent accent"
      "d    e   ";
    gap: 10px;
    perspective: none;
  }

  /* Les CSS vars du JS desktop sont neutralisées */
  .hero-card {
    --tx: 0;
    --ty: 0;
    --tr: 0deg;
    --ts: 1;
    --to: 1;
    width: 100%;
    /* L'animation au load remplace l'assemblage scroll */
    opacity: 0;
    transform: translateY(40px) scale(0.85);
    animation: mobile-card-in 900ms var(--ease-out) forwards;
  }

  /* Cascade au load : delays décalés */
  .hero-card[data-card="1"] { grid-area: accent; animation-delay: 1.3s; }
  .hero-card[data-card="0"] { grid-area: a;      animation-delay: 1.5s; }
  .hero-card[data-card="2"] { grid-area: c;      animation-delay: 1.7s; }
  .hero-card[data-card="3"] { grid-area: d;      animation-delay: 1.9s; }
  .hero-card[data-card="4"] { grid-area: e;      animation-delay: 2.1s; }

  @keyframes mobile-card-in {
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  /* Accent en bannière : carte plus large, format paysage */
  .hero-card[data-card="1"] {
    justify-self: stretch;
  }
  .hero-card[data-card="1"] .hero-card__frame {
    aspect-ratio: 3.2 / 1;
  }
  .hero-card[data-card="1"] .hero-card__inner {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding-inline: 14px;
  }
  .hero-card[data-card="1"] .hero-card__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  /* Label "Garantie 5 ans" visible DANS la carte accent (à droite de l'icône) */
  .hero-card[data-card="1"]::after {
    content: 'Garantie 5 ans';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(calc(-50% + 24px), -50%);
    color: var(--c-white);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    pointer-events: none;
    white-space: nowrap;
  }
  .hero-card[data-card="1"] .hero-card__label {
    display: none; /* Remplacé par le ::after */
  }

  /* Les autres cartes : label visible sous la frame */
  .hero-card .hero-card__label {
    display: block !important;
    opacity: 1 !important;
    font-size: .625rem;
    letter-spacing: 0.06em;
    margin-top: 6px;
  }

  /* Pour les cartes carrées (non-accent), on les rend un peu plus grandes */
  .hero-card:not([data-card="1"]) {
    max-width: none;
  }
  .hero-card:not([data-card="1"]) .hero-card__frame {
    aspect-ratio: 1;
    border-radius: 16px;
  }
  .hero-card:not([data-card="1"]) .hero-card__inner {
    border-radius: 13px;
  }
  .hero-card:not([data-card="1"]) .hero-card__icon {
    width: 50%;
    height: 50%;
  }

  /* Espace pour les cartes (push le contenu hero vers le haut) */
  .hero__inner {
    padding-bottom: 280px;
    justify-content: flex-start;
    padding-top: clamp(80px, 12vh, 120px);
  }
}

/* ─── PARCOURS MOBILE : focus sur l'étape active ─── */
@media (max-width: 720px) {
  /* Sticky raccourci */
  .parcours {
    min-height: 280vh;
  }
  .parcours__container {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
  }

  .parcours__content {
    text-align: center;
  }
  .parcours__steps {
    margin-block: 0;
    min-height: 180px; /* place stable pour éviter les saccades de hauteur */
    position: relative;
  }

  /* On n'affiche QUE l'étape active sur mobile */
  .parcours__step {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 500ms var(--ease-out),
                transform 500ms var(--ease-out);
  }
  .parcours__step.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .parcours__step h3 {
    text-align: center;
    font-size: 1.35rem;
  }
  .parcours__step p {
    text-align: center;
    max-width: 36ch;
    margin-inline: auto;
    font-size: .9375rem;
  }

  /* Le numéro d'étape en mode "puce" centré au-dessus */
  .parcours__num {
    align-self: center;
    width: auto;
    padding: 6px 14px;
    background: rgba(227, 6, 19, 0.08);
    color: var(--c-red);
    border-radius: 999px;
    font-size: .75rem;
    letter-spacing: 0.18em;
  }
  .parcours__num::after {
    display: none; /* on enlève le tiret, le pill se suffit */
  }

  /* Indicateurs d'étape (dots) à la place de la barre de progress */
  .parcours__progress {
    height: 8px;
    background: transparent;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-md);
    max-width: 200px;
    margin-inline: auto;
  }
  .parcours__progress-bar {
    display: none;
  }
  /* On injectera des dots via ::before sur progress */
  .parcours__progress::before {
    content: '';
    width: 28px;
    height: 4px;
    background: var(--c-red);
    border-radius: 2px;
    transition: width 400ms var(--ease-out);
  }
  /* On ajoute deux pseudo-dots gris fixes pour les autres */
  .parcours__progress::after {
    content: '';
    flex: 1;
    background: linear-gradient(90deg,
                              var(--c-gray-light) 0%, var(--c-gray-light) 32%,
                              transparent 32%, transparent 36%,
                              var(--c-gray-light) 36%, var(--c-gray-light) 68%,
                              transparent 68%, transparent 72%,
                              var(--c-gray-light) 72%, var(--c-gray-light) 100%);
    height: 4px;
    border-radius: 2px;
    max-width: 80px;
  }

  /* Phone plus petit, recentré */
  .parcours .phone {
    width: 220px;
    margin-inline: auto;
  }
}

/* ─── CONSTELLATION MOBILE : nodes resserrés ─── */
@media (max-width: 720px) {
  /* Le centre QR rapetisse */
  .constellation__center {
    width: 64px;
    height: 64px;
    padding: 5px;
  }

  /* On rapproche les nodes du centre (positions plus internes) */
  .constellation__node[style*="--x: 50%"][style*="--y: 7.5%"] { --y: 14% !important; }
  .constellation__node[style*="--x: 80%"][style*="--y: 20%"]  { --x: 76% !important; --y: 24% !important; }
  .constellation__node[style*="--x: 92.5%"]                    { --x: 86% !important; }
  .constellation__node[style*="--x: 80%"][style*="--y: 80%"]   { --x: 76% !important; --y: 76% !important; }
  .constellation__node[style*="--x: 50%"][style*="--y: 92.5%"] { --y: 86% !important; }
  .constellation__node[style*="--x: 20%"][style*="--y: 80%"]   { --x: 24% !important; --y: 76% !important; }
  .constellation__node[style*="--x: 7.5%"]                     { --x: 14% !important; }
  .constellation__node[style*="--x: 20%"][style*="--y: 20%"]   { --x: 24% !important; --y: 24% !important; }

  /* Icônes plus petites */
  .constellation__node-icon {
    width: 36px;
    height: 36px;
    font-size: .95rem;
  }
  .constellation__node-label {
    font-size: .55rem;
    letter-spacing: 0;
    margin-top: 2px;
  }

  /* Lignes plus discrètes */
  .constellation__lines line {
    stroke-width: 0.8;
  }
}

/* ─── HERO MOBILE : reduce motion safe ─── */
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .hero-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ════════════════════════════════════════════════════
   25. MOBILE FIXES — revert hero V2, fix phone, fix stats
   ════════════════════════════════════════════════════ */

@media (max-width: 720px) {

  /* ─── HERO : retour à la rangée scroll-driven (cancel V2 grid) ─── */
  .hero {
    height: 130vh !important;
    min-height: 130vh !important;
  }
  .hero__viewport {
    position: sticky !important;
    top: 0;
  }
  .hero__cards {
    display: flex !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    width: auto !important;
    max-width: none !important;
    bottom: clamp(50px, 9vh, 80px) !important;
    gap: 8px !important;
  }

  /* Reset cascade animation + grid-area */
  .hero-card {
    grid-area: auto !important;
    width: 56px !important;
    max-width: 56px !important;
    animation: none !important;
    /* Les vars JS reprennent la main */
  }

  /* Reset accent banner → carte carrée normale comme les autres */
  .hero-card[data-card="1"] {
    justify-self: auto !important;
  }
  .hero-card[data-card="1"] .hero-card__frame {
    aspect-ratio: 1 !important;
  }
  .hero-card[data-card="1"] .hero-card__inner {
    flex-direction: column !important;
    padding-inline: 0 !important;
    padding: 0 !important;
  }
  .hero-card[data-card="1"]::after {
    display: none !important;
  }
  .hero-card[data-card="1"] .hero-card__icon {
    width: 50% !important;
    height: 50% !important;
  }

  /* Labels masqués en mobile (5 cartes = pas la place) */
  .hero-card .hero-card__label {
    display: none !important;
  }

  /* Inner content centré normalement */
  .hero__inner {
    padding-top: 0 !important;
    padding-bottom: clamp(120px, 22vh, 180px) !important;
    justify-content: center !important;
  }

  /* ─── PARCOURS : padding-top pour éviter que le header
        coupe le téléphone, + phone plus petit ─── */
  .parcours__sticky {
    padding-top: calc(var(--header-h) + var(--space-md));
    padding-bottom: var(--space-md);
    /* L'overflow:hidden reste pour le clipping latéral, mais
       le padding-top assure que le contenu n'est plus sous le header */
    align-items: stretch;
  }
  .parcours__container {
    height: 100%;
    justify-items: center;
  }
  .parcours .phone {
    width: 170px !important;
  }
  .parcours__content {
    width: 100%;
    margin-top: var(--space-sm);
  }
  .parcours .section-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
    margin-bottom: var(--space-sm);
  }
  .parcours__steps {
    min-height: 140px;
  }
  .parcours__step p {
    font-size: .875rem;
    line-height: 1.45;
  }

  /* ─── STATS : on remet d'aplomb les unités ─── */
  .stat {
    padding-top: var(--space-sm);
  }
  .stat__big {
    display: flex !important;
    align-items: flex-end !important;
    gap: 6px !important;
    line-height: 0.9 !important;
    margin-bottom: 0;
  }
  .constat .stat__number {
    font-size: clamp(4rem, 20vw, 6.5rem) !important;
    line-height: 0.9 !important;
    font-weight: 900;
  }
  .constat .stat__unit {
    font-size: clamp(.95rem, 4vw, 1.25rem) !important;
    font-weight: 600 !important;
    color: var(--c-gray) !important;
    line-height: 1 !important;
    margin: 0 0 6px 4px !important;
    align-self: flex-end !important;
    letter-spacing: 0.02em;
  }
  .constat .stat__prefix {
    font-size: clamp(1.4rem, 6vw, 2rem) !important;
    font-weight: 600 !important;
    color: var(--c-gray) !important;
    line-height: 1 !important;
    margin: 0 4px 6px 0 !important;
    align-self: flex-end !important;
  }
  .stat__label {
    margin-top: var(--space-md);
    font-size: .9rem;
    line-height: 1.4;
  }
  .stat__strike {
    bottom: auto !important;
    top: auto;
    left: 0;
    width: 56px;
    height: 2px;
    /* On positionne le strike sous le label, comme un soulignement */
    margin-top: 6px;
    position: relative;
    display: block;
  }
  /* Override : strike statique dans le flux */
  .constat .stat .stat__strike {
    position: absolute;
    top: auto;
    bottom: -6px;
    left: 0;
  }
}

/* ─── Small mobile (≤420px) : encore plus serré ─── */
@media (max-width: 420px) {
  .hero-card {
    width: 50px !important;
    max-width: 50px !important;
  }
  .hero__cards { gap: 6px !important; }
  .parcours .phone { width: 150px !important; }
}

/* ════════════════════════════════════════════════════
   26. MOBILE HERO — la version aux cartes encadrées
   Comme l'image de référence : 4 cartes carrées + accent
   banner en milieu, labels visibles, cascade fade-in
   ════════════════════════════════════════════════════ */

@media (max-width: 720px) {
  /* Hero : on retourne à un layout naturel (pas sticky, pas tall) */
  .hero {
    height: auto !important;
    min-height: 100vh !important;
  }
  .hero__viewport {
    position: relative !important;
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    padding-bottom: var(--space-md);
  }

  /* Inner content : titre + CTAs en haut, place pour cartes en bas */
  .hero__inner {
    position: relative !important;
    padding-top: clamp(80px, 12vh, 110px) !important;
    padding-bottom: var(--space-md) !important;
    justify-content: flex-start !important;
  }

  /* CARTES : grille 2 colonnes avec accent banner au milieu */
  .hero__cards {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "a b"
      "accent accent"
      "d e" !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: var(--space-md) auto var(--space-xl) !important;
    padding-inline: var(--space-sm) !important;
    perspective: none !important;
  }

  .hero-card {
    width: 100% !important;
    max-width: none !important;
    grid-area: auto !important;
    /* Reset transforms du JS desktop */
    transform: none !important;
    opacity: 1 !important;
  }
  .hero-card[data-card="0"] { grid-area: a !important; }
  .hero-card[data-card="1"] { grid-area: accent !important; }
  .hero-card[data-card="2"] { grid-area: b !important; }
  .hero-card[data-card="3"] { grid-area: d !important; }
  .hero-card[data-card="4"] { grid-area: e !important; }

  /* Cartes carrées (cadre style image de ref) */
  .hero-card .hero-card__frame {
    aspect-ratio: 1 !important;
    border-radius: 18px !important;
    padding: 5px !important;
  }
  .hero-card .hero-card__inner {
    border-radius: 14px !important;
  }
  .hero-card .hero-card__icon {
    width: 50% !important;
    height: 50% !important;
  }

  /* L'accent (Garantie 5 ans) = banner paysage entre les rangées */
  .hero-card[data-card="1"] .hero-card__frame {
    aspect-ratio: 3 / 1 !important;
  }
  .hero-card[data-card="1"] .hero-card__inner {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    padding-inline: 16px !important;
    padding-block: 0 !important;
  }
  .hero-card[data-card="1"] .hero-card__icon {
    width: 30px !important;
    height: 30px !important;
    flex-shrink: 0 !important;
  }
  .hero-card[data-card="1"] {
    position: relative;
  }
  .hero-card[data-card="1"]::after {
    content: 'Garantie 5 ans';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 40px;
    color: var(--c-white);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: -0.005em;
    pointer-events: none;
    z-index: 4;
  }
  .hero-card[data-card="1"] .hero-card__label {
    display: none !important;
  }

  /* Labels VISIBLES sur les 4 autres cartes */
  .hero-card:not([data-card="1"]) .hero-card__label {
    display: block !important;
    opacity: 1 !important;
    font-size: .68rem !important;
    margin-top: 8px !important;
    letter-spacing: 0.06em !important;
    text-align: center;
  }

  /* CASCADE FADE-IN au load — pas de scroll-driven sur mobile */
  .hero-card {
    animation: hero-card-mobile-in 800ms var(--ease-out) both !important;
  }
  .hero-card[data-card="1"] { animation-delay: 1.4s !important; }
  .hero-card[data-card="0"] { animation-delay: 1.6s !important; }
  .hero-card[data-card="2"] { animation-delay: 1.75s !important; }
  .hero-card[data-card="3"] { animation-delay: 1.9s !important; }
  .hero-card[data-card="4"] { animation-delay: 2.05s !important; }

  @keyframes hero-card-mobile-in {
    from {
      opacity: 0;
      transform: translateY(24px) scale(0.92);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  /* Le scroll indicator se cache (déjà fait dans section 23) */
  .hero__scroll { display: none !important; }
}

/* Small mobile (≤420px) : ajustements taille */
@media (max-width: 420px) {
  .hero__cards {
    gap: 10px !important;
    padding-inline: 12px !important;
  }
  .hero-card[data-card="1"] .hero-card__icon {
    width: 26px !important;
    height: 26px !important;
  }
  .hero-card[data-card="1"]::after {
    font-size: .85rem;
    padding-left: 36px;
  }
  .hero-card .hero-card__label {
    font-size: .62rem !important;
  }
}

/* Reduced motion : pas de cascade animation */
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .hero-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ════════════════════════════════════════════════════
   27. MOBILE PHONE — refonte du téléphone parcours
   Plus compact + tout le contenu interne mis à l'échelle
   ════════════════════════════════════════════════════ */

@media (max-width: 720px) {
  /* Phone visuellement plus petit */
  .parcours .phone {
    width: 150px !important;
  }
  .parcours .phone__frame {
    padding: 6px !important;
    border-radius: 22px !important;
  }
  .parcours .phone__screen {
    border-radius: 17px !important;
    inset: 6px !important;
  }
  .parcours .phone__notch {
    width: 48px !important;
    height: 12px !important;
    top: 10px !important;
  }

  /* ─ Écran 1 : SCAN ─ */
  .parcours .phone-scan {
    padding: 26px 10px 12px !important;
  }
  .parcours .phone-scan__camera {
    width: 100px !important;
  }
  .parcours .vf {
    width: 14px !important;
    height: 14px !important;
    border-width: 1.5px !important;
  }
  .parcours .phone-scan__hint {
    font-size: .52rem !important;
    margin-top: 12px !important;
    letter-spacing: 0.04em !important;
  }

  /* ─ Écran 2 : SELECT PROFIL ─ */
  .parcours .phone-profile {
    padding: 28px 10px 12px !important;
    gap: 6px !important;
  }
  .parcours .phone-profile__brand {
    font-size: .92rem !important;
  }
  .parcours .phone-profile__welcome {
    font-size: .68rem !important;
    margin-top: 4px !important;
    line-height: 1.2 !important;
  }
  .parcours .phone-profile__sub {
    font-size: .55rem !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
  }
  .parcours .phone-profile__btn {
    padding: 7px 6px !important;
    font-size: .6rem !important;
    border-radius: 7px !important;
    gap: 5px !important;
  }
  .parcours .phone-profile__btn-icon {
    width: 10px !important;
    font-size: .65rem !important;
  }

  /* ─ Écran 3 : DASHBOARD ─ */
  .parcours .phone-dash {
    padding: 28px 9px 10px !important;
    gap: 8px !important;
  }
  .parcours .phone-dash__header {
    font-size: .58rem !important;
    padding-bottom: 6px !important;
    gap: 6px !important;
  }
  .parcours .phone-dash__back {
    font-size: .75rem !important;
  }
  .parcours .phone-dash__title {
    font-size: .54rem !important;
  }
  .parcours .phone-dash__product {
    gap: 8px !important;
  }
  .parcours .phone-dash__product-img {
    width: 32px !important;
    height: 46px !important;
    border-radius: 4px !important;
  }
  .parcours .phone-dash__product-img::after {
    inset: 5px !important;
  }
  .parcours .phone-dash__product-meta {
    font-size: .5rem !important;
  }
  .parcours .phone-dash__meta-line {
    margin-bottom: 1px !important;
    line-height: 1.25 !important;
  }
  .parcours .phone-dash__actions {
    gap: 5px !important;
  }
  .parcours .phone-dash__action {
    padding: 7px 8px !important;
    font-size: .54rem !important;
    border-radius: 6px !important;
  }
}

/* Petits écrans très étroits : phone encore plus petit */
@media (max-width: 380px) {
  .parcours .phone {
    width: 140px !important;
  }
  .parcours .phone-scan__camera { width: 90px !important; }
  .parcours .phone-profile__brand { font-size: .85rem !important; }
  .parcours .phone-profile__welcome { font-size: .62rem !important; }
}

/* ════════════════════════════════════════════════════
   27. MOBILE HERO FINAL — simple et efficace
   5 petites icônes en ligne sous les CTAs
   ════════════════════════════════════════════════════ */

@media (max-width: 720px) {
  /* Hero : auto height, flex column stack vertical */
  .hero {
    height: auto !important;
    min-height: 100vh !important;
  }
  .hero__viewport {
    position: relative !important;
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-top: calc(var(--header-h) + var(--space-md)) !important;
    padding-bottom: var(--space-lg) !important;
    overflow: visible !important;
  }

  /* Titre / sous-titre / CTAs en haut */
  .hero__inner {
    position: relative !important;
    padding-top: var(--space-md) !important;
    padding-bottom: 0 !important;
    justify-content: flex-start !important;
    flex: 0 0 auto !important;
  }

  /* ─── LES CARTES : ligne horizontale simple, sous les CTAs ─── */
  .hero__cards {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: none !important;
    margin: var(--space-lg) auto 0 !important;
    padding: 0 var(--space-sm) !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    perspective: none !important;
  }

  /* Cartes : petites et carrées */
  .hero-card {
    width: 52px !important;
    max-width: 52px !important;
    grid-area: auto !important;
    transform: none !important;
    opacity: 0;
    animation: hero-card-mobile-fade 600ms var(--ease-out) both !important;
  }
  .hero-card[data-card="0"] { animation-delay: 1.5s !important; }
  .hero-card[data-card="1"] { animation-delay: 1.65s !important; }
  .hero-card[data-card="2"] { animation-delay: 1.8s !important; }
  .hero-card[data-card="3"] { animation-delay: 1.95s !important; }
  .hero-card[data-card="4"] { animation-delay: 2.1s !important; }

  @keyframes hero-card-mobile-fade {
    from { opacity: 0; transform: translateY(12px) scale(0.85); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  /* Reset accent banner (qui était paysage) → carré comme les autres */
  .hero-card[data-card="1"] {
    justify-self: auto !important;
  }
  .hero-card[data-card="1"] .hero-card__frame {
    aspect-ratio: 1 !important;
  }
  .hero-card[data-card="1"] .hero-card__inner {
    flex-direction: column !important;
    justify-content: center !important;
    padding: 0 !important;
  }
  .hero-card[data-card="1"]::after {
    display: none !important;
  }
  .hero-card[data-card="1"] .hero-card__icon {
    width: 50% !important;
    height: 50% !important;
  }

  /* Frames compactes */
  .hero-card .hero-card__frame {
    aspect-ratio: 1 !important;
    border-radius: 12px !important;
    padding: 3px !important;
  }
  .hero-card .hero-card__inner {
    border-radius: 9px !important;
  }
  .hero-card .hero-card__icon {
    width: 50% !important;
    height: 50% !important;
  }

  /* Pas de labels (cartes trop petites) */
  .hero-card .hero-card__label {
    display: none !important;
  }

  /* Hero scroll indicator masqué */
  .hero__scroll { display: none !important; }
}

/* Très petits écrans : encore plus serré */
@media (max-width: 380px) {
  .hero-card {
    width: 46px !important;
    max-width: 46px !important;
  }
  .hero__cards {
    gap: 8px !important;
  }
}

/* ════════════════════════════════════════════════════
   28. MOBILE HERO — fix labels overlap + anim plus visible
   ════════════════════════════════════════════════════ */

@media (max-width: 720px) {
  /* Force hide labels — la section 26 les remettait avec
     une spécificité plus haute. On utilise une plus grande
     spécificité ici. */
  .hero__cards .hero-card[data-card] .hero-card__label,
  .hero__cards .hero-card:not(.x) .hero-card__label {
    display: none !important;
  }

  /* ─── ANIMATION D'ENTRÉE : cartes qui convergent
        depuis des directions différentes ─── */
  .hero-card {
    opacity: 0;
    will-change: transform, opacity;
  }

  /* Chaque carte a sa propre direction d'entrée */
  .hero-card[data-card="0"] {
    animation: card-in-tl 850ms var(--ease-out) 1.5s both !important;
  }
  .hero-card[data-card="2"] {
    animation: card-in-t 850ms var(--ease-out) 1.65s both !important;
  }
  .hero-card[data-card="1"] {
    animation: card-in-center 900ms var(--ease-out) 1.8s both !important;
  }
  .hero-card[data-card="3"] {
    animation: card-in-b 850ms var(--ease-out) 1.95s both !important;
  }
  .hero-card[data-card="4"] {
    animation: card-in-tr 850ms var(--ease-out) 2.1s both !important;
  }

  @keyframes card-in-tl {
    from { opacity: 0; transform: translate(-40px, -25px) rotate(-12deg) scale(0.7); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes card-in-t {
    from { opacity: 0; transform: translateY(-35px) rotate(8deg) scale(0.75); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes card-in-center {
    /* L'accent rouge arrive en zoom-in dramatique */
    from { opacity: 0; transform: scale(0.3) rotate(15deg); }
    50%  { opacity: 1; transform: scale(1.08) rotate(-3deg); }
    to   { opacity: 1; transform: scale(1) rotate(0deg); }
  }
  @keyframes card-in-b {
    from { opacity: 0; transform: translateY(35px) rotate(-8deg) scale(0.75); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes card-in-tr {
    from { opacity: 0; transform: translate(40px, -25px) rotate(12deg) scale(0.7); }
    to   { opacity: 1; transform: none; }
  }

  /* Après l'arrivée, l'accent garde un léger glow qui pulse subtilement */
  .hero-card[data-card="1"] {
    position: relative;
  }
  .hero-card[data-card="1"]::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 16px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.25) 0%, transparent 70%);
    z-index: -1;
    opacity: 0;
    animation: accent-glow 3.5s var(--ease-in-out) 3.2s infinite;
    pointer-events: none;
  }
  @keyframes accent-glow {
    0%, 100% { opacity: 0;   transform: scale(1);    }
    50%      { opacity: 1;   transform: scale(1.15); }
  }
}

/* Reduced motion : pas d'animation directionnelle */
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .hero-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-card[data-card="1"]::before {
    animation: none !important;
    opacity: 0 !important;
  }
}

/* ════════════════════════════════════════════════════
   29. MOBILE PARCOURS — centrage vertical du contenu
   ════════════════════════════════════════════════════ */

@media (max-width: 720px) {
  /* Sticky : on garde overflow:hidden mais on centre proprement */
  .parcours__sticky {
    align-items: center !important;
    justify-content: center !important;
    padding-top: calc(var(--header-h) + var(--space-sm)) !important;
    padding-bottom: var(--space-md) !important;
  }

  /* Container : grid avec rows centrées verticalement */
  .parcours__container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    align-content: center !important;
    justify-items: center !important;
    height: auto !important;
    max-height: 100% !important;
    gap: var(--space-md) !important;
    width: 100% !important;
  }

  /* Phone et content : ne dépassent jamais leur ligne grid */
  .parcours__phone {
    width: 100%;
    display: flex !important;
    justify-content: center !important;
  }
  .parcours__content {
    width: 100%;
    max-width: 480px;
    text-align: center;
  }

  /* Description un poil plus compacte pour rentrer */
  .parcours__step p {
    font-size: .85rem !important;
    line-height: 1.4 !important;
    max-width: 32ch !important;
  }
  .parcours__step h3 {
    font-size: 1.2rem !important;
    margin-bottom: 6px !important;
  }

  /* Titre du parcours plus serré */
  .parcours .section-title {
    font-size: clamp(1.4rem, 6.5vw, 2rem) !important;
    margin-bottom: var(--space-sm) !important;
  }
  .parcours .eyebrow {
    margin-bottom: var(--space-sm) !important;
  }

  /* Min-height des steps évite les saccades quand on switch */
  .parcours__steps {
    min-height: 120px !important;
  }

  /* Phone un poil plus petit pour libérer de l'espace */
  .parcours .phone {
    width: 140px !important;
  }
}

/* ════════════════════════════════════════════════════
   30. MOBILE HERO — labels qui apparaissent en séquence
   icone → label → icone suivante → label → ...
   ════════════════════════════════════════════════════ */

@media (max-width: 720px) {
  /* Container : laisse les labels descendre librement */
  .hero__cards {
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .hero-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
  }

  /* ─── LABELS : visibles, petits, sous chaque icône ─── */
  .hero__cards .hero-card[data-card] .hero-card__label,
  .hero__cards .hero-card:not(.x) .hero-card__label {
    display: block !important;
    opacity: 0;
    font-size: 8.5px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    margin-top: 7px !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    max-width: 64px !important;
    color: rgba(255, 255, 255, 0.62) !important;
    font-weight: 600 !important;
    white-space: normal !important;
    text-wrap: balance !important;
    animation: label-fade-in 360ms var(--ease-out) both !important;
  }

  /* L'accent (data-card="1") : retire le ::after, montre le label normal */
  .hero-card[data-card="1"]::after {
    display: none !important;
  }
  .hero-card[data-card="1"] .hero-card__label {
    color: var(--c-red) !important; /* label accent en rouge pour l'emphase */
    font-weight: 700 !important;
  }

  /* ─── ANIMATIONS unifiées (override section 28 directional) ─── */
  .hero-card {
    opacity: 0;
    animation: card-pop-in 480ms var(--ease-out) both !important;
  }
  .hero-card[data-card="1"] {
    animation: card-pop-in-accent 560ms var(--ease-out) both !important;
  }

  @keyframes card-pop-in {
    from { opacity: 0; transform: translateY(18px) scale(0.82); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes card-pop-in-accent {
    from  { opacity: 0; transform: scale(0.4) rotate(6deg); }
    55%   { opacity: 1; transform: scale(1.12) rotate(-2deg); }
    to    { opacity: 1; transform: scale(1) rotate(0); }
  }

  @keyframes label-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ─── SÉQUENCE : icône → label → icône suivante → label → ... ─── */
  /* Pair 1 : Notices */
  .hero-card[data-card="0"] { animation-delay: 1.5s !important; }
  .hero-card[data-card="0"] .hero-card__label { animation-delay: 1.85s !important; }

  /* Pair 2 : Garantie 5 ans (accent) */
  .hero-card[data-card="1"] { animation-delay: 2.15s !important; }
  .hero-card[data-card="1"] .hero-card__label { animation-delay: 2.55s !important; }

  /* Pair 3 : Pièces 24h */
  .hero-card[data-card="2"] { animation-delay: 2.85s !important; }
  .hero-card[data-card="2"] .hero-card__label { animation-delay: 3.2s !important; }

  /* Pair 4 : Extension 10 ans */
  .hero-card[data-card="3"] { animation-delay: 3.5s !important; }
  .hero-card[data-card="3"] .hero-card__label { animation-delay: 3.85s !important; }

  /* Pair 5 : Parc client */
  .hero-card[data-card="4"] { animation-delay: 4.15s !important; }
  .hero-card[data-card="4"] .hero-card__label { animation-delay: 4.5s !important; }

  /* L'accent garde son halo qui pulse une fois tout en place */
  .hero-card[data-card="1"]::before {
    animation-delay: 5s !important; /* après que toute la séquence soit finie */
  }
}

/* Reduced motion : labels visibles immédiatement, pas d'anim */
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .hero__cards .hero-card .hero-card__label {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* ════════════════════════════════════════════════════
   31. MOBILE — section-title centré (le bloc, pas juste le texte)
   ════════════════════════════════════════════════════ */

@media (max-width: 720px) {
  .section-title {
    margin-inline: auto !important;
    text-align: center !important;
  }
  /* L'eyebrow garde son comportement inline-flex centré */
  .section-lede {
    margin-inline: auto !important;
  }
  /* Le constat et services qui ont leur propre layout : centrer aussi */
  .constat .section-title,
  .parcours .section-title,
  .services .section-title,
  .video-demo .section-title,
  .demo-live .section-title,
  .roadmap .section-title,
  .faq .section-title,
  .cta-final .section-title {
    margin-inline: auto !important;
    text-align: center !important;
  }
}

/* ============================================================
   FINAL POLISH — storyboard complet
   ============================================================ */

/* ════════════════════════════════════════════════════
   32. PAIN STATS — visuels métaphoriques SVG
   ════════════════════════════════════════════════════ */

.stat__visual {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-sm);
  color: var(--c-anthracite);
  display: block;
}
.stat__visual svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Horloge : remplissage rouge animé */
.stat.is-revealed .stat-clock__fill {
  animation: clock-fill 1.4s var(--ease-out) 0.3s forwards;
}
@keyframes clock-fill {
  to { stroke-dashoffset: 30; } /* remplit ~85% */
}
.stat.is-revealed .stat-clock__hand-m {
  transform-origin: 32px 32px;
  animation: clock-hand 1.2s var(--ease-out) 0.4s forwards;
}
@keyframes clock-hand {
  from { transform: rotate(0deg); }
  to   { transform: rotate(110deg); }
}

/* Van : trail qui se trace + van qui apparaît */
.stat-van__trail line {
  stroke-dashoffset: 24;
}
.stat.is-revealed .stat-van__trail line {
  animation: trail-trace 600ms var(--ease-out) forwards;
}
.stat.is-revealed .stat-van__trail line:nth-child(1) { animation-delay: 0.3s; }
.stat.is-revealed .stat-van__trail line:nth-child(2) { animation-delay: 0.55s; }
.stat.is-revealed .stat-van__trail line:nth-child(3) { animation-delay: 0.8s; }
@keyframes trail-trace {
  to { stroke-dashoffset: 0; }
}
.stat-van__body {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 500ms var(--ease-out) 1s,
              transform 500ms var(--ease-out) 1s;
}
.stat.is-revealed .stat-van__body {
  opacity: 1;
  transform: translateX(0);
}

/* Dossier : ? pulse */
.stat-folder__q {
  opacity: 0;
  transform-origin: 32px 44px;
  transform: scale(0.5);
  transition: opacity 500ms var(--ease-out) 0.6s,
              transform 500ms var(--ease-out) 0.6s;
}
.stat.is-revealed .stat-folder__q {
  opacity: 1;
  transform: scale(1);
  animation: folder-q-pulse 2.5s var(--ease-in-out) 1.5s infinite;
}
@keyframes folder-q-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

@media (max-width: 720px) {
  .stat__visual {
    width: 44px;
    height: 44px;
    margin-bottom: var(--space-xs);
  }
}

/* ════════════════════════════════════════════════════
   33. CONSTELLATION — drag rotation
   ════════════════════════════════════════════════════ */

.constellation__scene {
  cursor: grab;
  touch-action: pan-y; /* permet le scroll vertical, intercepte le drag horizontal */
  transform: rotate(var(--rotation, 0deg));
  will-change: transform;
  transition: none; /* JS gère */
}
.constellation__scene.is-dragging {
  cursor: grabbing;
}

/* Les icônes et labels contre-rotate pour rester droits */
.constellation__node-icon {
  transform: rotate(var(--counter-rotation, 0deg));
  transition: transform 100ms linear;
}
.constellation__scene.is-dragging .constellation__node-icon {
  transition: none;
}

.constellation__node-label {
  transform: rotate(var(--counter-rotation, 0deg));
  transition: transform 100ms linear;
}
.constellation__scene.is-dragging .constellation__node-label {
  transition: none;
}

/* Petit indicateur subtil que c'est drag-able */
.constellation__scene::after {
  content: 'Glissez pour explorer';
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  opacity: 0;
  animation: drag-hint-in 600ms var(--ease-out) 4s forwards;
}
@keyframes drag-hint-in {
  to { opacity: 1; }
}
.constellation__scene.is-dragging::after,
.constellation__scene.was-dragged::after {
  opacity: 0;
}

@media (max-width: 720px) {
  .constellation__scene::after { display: none; }
}

/* ════════════════════════════════════════════════════
   34. ROADMAP — timeline horizontale (desktop)
   ════════════════════════════════════════════════════ */

.roadmap {
  background: var(--c-white);
  color: var(--c-anthracite);
}

/* Desktop : sticky scene avec frise horizontale */
@media (min-width: 901px) {
  .roadmap {
    min-height: 220vh;
    padding-block: 0;
  }
  .roadmap__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: calc(var(--header-h) + var(--space-xl));
    padding-bottom: var(--space-xl);
  }
  .roadmap__intro {
    text-align: center;
    margin-bottom: var(--space-xl);
  }
  .roadmap__intro .section-title {
    margin-inline: auto;
  }

  .roadmap__mobile { display: none; }

  .roadmap__timeline {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    padding-inline: clamp(2rem, 6vw, 4rem);
    overflow: hidden;
  }

  /* Rail horizontal */
  .roadmap__rail {
    position: absolute;
    top: 50%;
    left: clamp(2rem, 6vw, 4rem);
    right: clamp(2rem, 6vw, 4rem);
    height: 3px;
    background: var(--c-gray-light);
    border-radius: 2px;
    transform: translateY(-50%);
    z-index: 1;
  }
  .roadmap__rail-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    background: linear-gradient(90deg, var(--c-red) 0%, var(--c-red-dark) 100%);
    border-radius: 2px;
    box-shadow: 0 0 16px rgba(227, 6, 19, 0.4);
    transition: width 200ms linear;
  }

  /* Milestones */
  .roadmap__milestones {
    display: flex;
    justify-content: space-between;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
  }

  .roadmap__milestone {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    opacity: 0.35;
    transition: opacity 400ms var(--ease-out);
  }
  .roadmap__milestone.is-active {
    opacity: 1;
  }

  .roadmap__milestone .roadmap__dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--c-white);
    border: 3px solid var(--c-gray-light);
    position: relative;
    z-index: 2;
    transition: background 400ms var(--ease-out),
                border-color 400ms var(--ease-out),
                transform 400ms var(--ease-out);
  }
  .roadmap__milestone.is-active .roadmap__dot {
    background: var(--c-red);
    border-color: var(--c-red);
    transform: scale(1.15);
  }
  .roadmap__milestone.is-active .roadmap__dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid var(--c-red);
    animation: roadmap-ring 2.4s var(--ease-out) infinite;
  }
  @keyframes roadmap-ring {
    0%   { transform: scale(1);   opacity: 0.7; }
    100% { transform: scale(2.5); opacity: 0;   }
  }

  .roadmap__milestone-date {
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-red);
    white-space: nowrap;
  }
  .roadmap__milestone:not(.is-active) .roadmap__milestone-date {
    color: var(--c-gray);
  }

  .roadmap__milestone-card {
    margin-top: 36px;
    padding: var(--space-md);
    background: var(--c-white);
    border: 1px solid var(--c-gray-light);
    border-radius: 8px;
    min-width: 200px;
    max-width: 240px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: box-shadow 400ms var(--ease-out),
                border-color 400ms var(--ease-out);
  }
  .roadmap__milestone.is-active .roadmap__milestone-card {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(227, 6, 19, 0.2);
  }
  .roadmap__milestone-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
  }
  .roadmap__milestone-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .roadmap__milestone-card li {
    font-size: .8125rem;
    color: rgba(26, 26, 26, 0.7);
    padding: 4px 0;
    line-height: 1.4;
  }
}

/* Mobile : on cache la frise horizontale, on garde 2-col vertical */
@media (max-width: 900px) {
  .roadmap__timeline { display: none !important; }
  .roadmap__sticky { padding: 0; }
  .roadmap__mobile {
    display: block;
  }
  .roadmap__intro {
    text-align: center;
    margin-bottom: var(--space-lg);
  }
}

/* ════════════════════════════════════════════════════
   35. VIDÉO DEMO — viseur rouge autour du player
   ════════════════════════════════════════════════════ */

.video-demo__player {
  position: relative;
}

/* 4 coins de viseur rouges */
.video-demo__player::before,
.video-demo__player::after,
.video-demo__player .video-demo__poster::before,
.video-demo__player .video-demo__poster::after {
  display: none; /* on utilise un wrapper séparé pour pas casser les pseudos existants */
}

.video-demo__player {
  isolation: isolate;
}
.video-demo .container {
  position: relative;
}

/* Viseur appliqué via box-shadow inset pour pas ajouter de DOM */
.video-demo__player {
  --viseur-size: 32px;
  --viseur-color: rgba(227, 6, 19, 0.8);
  --viseur-thick: 2px;
}
.video-demo__player {
  background-image:
    /* Top-left */
    linear-gradient(to right, var(--viseur-color) var(--viseur-thick), transparent var(--viseur-thick)),
    linear-gradient(to bottom, var(--viseur-color) var(--viseur-thick), transparent var(--viseur-thick)),
    /* Top-right */
    linear-gradient(to left, var(--viseur-color) var(--viseur-thick), transparent var(--viseur-thick)),
    linear-gradient(to bottom, var(--viseur-color) var(--viseur-thick), transparent var(--viseur-thick)),
    /* Bottom-left */
    linear-gradient(to right, var(--viseur-color) var(--viseur-thick), transparent var(--viseur-thick)),
    linear-gradient(to top, var(--viseur-color) var(--viseur-thick), transparent var(--viseur-thick)),
    /* Bottom-right */
    linear-gradient(to left, var(--viseur-color) var(--viseur-thick), transparent var(--viseur-thick)),
    linear-gradient(to top, var(--viseur-color) var(--viseur-thick), transparent var(--viseur-thick));
  background-position:
    top left, top left,
    top right, top right,
    bottom left, bottom left,
    bottom right, bottom right;
  background-size: var(--viseur-size) var(--viseur-thick), var(--viseur-thick) var(--viseur-size),
                   var(--viseur-size) var(--viseur-thick), var(--viseur-thick) var(--viseur-size),
                   var(--viseur-size) var(--viseur-thick), var(--viseur-thick) var(--viseur-size),
                   var(--viseur-size) var(--viseur-thick), var(--viseur-thick) var(--viseur-size);
  background-repeat: no-repeat;
  background-origin: padding-box;
  background-color: var(--c-black);
  padding: 8px;
  transition: padding 300ms var(--ease-out);
}
.video-demo__player:hover {
  padding: 4px; /* le viseur se referme */
  --viseur-color: var(--c-red);
}

/* ════════════════════════════════════════════════════
   36. BASCULE — onde rouge depuis le "?"
   ════════════════════════════════════════════════════ */

.bascule {
  isolation: isolate;
}
.bascule__phrase {
  position: relative;
  display: inline-block;
}
.bascule__line--accent {
  position: relative;
  display: inline-block;
}
.bascule__line--accent::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-red);
  transform: translateY(-50%);
  opacity: 0;
}
.bascule.is-flashing .bascule__line--accent::after {
  animation: bascule-wave 1.2s var(--ease-out) 200ms forwards;
}
@keyframes bascule-wave {
  0%   { opacity: 1; box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.5); }
  100% { opacity: 0; box-shadow: 0 0 0 800px rgba(227, 6, 19, 0); }
}

/* ════════════════════════════════════════════════════
   37. CTA FINAL — viseur autour du QR card
   ════════════════════════════════════════════════════ */

.cta-final__qr-mini {
  position: relative;
}
.cta-final__qr-mini::after {
  /* Override ancienne ligne de scan : on garde mais on l'allège */
  height: 2px;
}

/* Coins de viseur autour du QR card complet */
.cta-final__qr-card {
  position: relative;
  --vsr-color: rgba(227, 6, 19, 0.5);
  --vsr-size: 14px;
  --vsr-thick: 1.5px;
}
.cta-final__qr-card::before,
.cta-final__qr-card::after {
  content: '';
  position: absolute;
  width: var(--vsr-size);
  height: var(--vsr-size);
  pointer-events: none;
  transition: all 400ms var(--ease-out);
}
.cta-final__qr-card::before {
  top: -8px;
  left: -8px;
  border-top: var(--vsr-thick) solid var(--vsr-color);
  border-left: var(--vsr-thick) solid var(--vsr-color);
}
.cta-final__qr-card::after {
  bottom: -8px;
  right: -8px;
  border-bottom: var(--vsr-thick) solid var(--vsr-color);
  border-right: var(--vsr-thick) solid var(--vsr-color);
}
.cta-final__qr-card:hover::before {
  top: -4px;
  left: -4px;
  --vsr-color: var(--c-red);
}
.cta-final__qr-card:hover::after {
  bottom: -4px;
  right: -4px;
  --vsr-color: var(--c-red);
}

/* ════════════════════════════════════════════════════
   38. PERFORMANCE — content-visibility pour sections
       lointaines (évite le rendu hors-écran)
   ════════════════════════════════════════════════════ */

.services,
.video-demo,
.demo-live,
.roadmap,
.faq,
.cta-final {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px; /* hint navigateur */
}

/* ════════════════════════════════════════════════════
   PHASE NETTOYAGE — overrides post-suppression
   ════════════════════════════════════════════════════ */

/* Démo live : passage en pleine largeur (carte étiquette retirée) */
.demo-live__split--single {
  grid-template-columns: 1fr !important;
  max-width: 760px;
  margin-inline: auto;
}
.demo-live__split--single .demo-live__locations {
  width: 100%;
}

/* Liste "où trouver le QR" : 2 colonnes desktop (plus aéré) */
@media (min-width: 720px) {
  .demo-live__split--single .locations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .demo-live__split--single .locations__hint {
    grid-column: 1 / -1;
    text-align: center;
  }
}

/* Reset des styles inutilisés après suppression du hero cards */
.hero__cards,
.hero-card { display: none !important; }

/* ════════════════════════════════════════════════════
   PHASE PDF — slogan hero + parcours badges
   + constellation pictos hologramme + où scanner enrichi
   + visuel hero pro qui flash (fallback gradient)
   ════════════════════════════════════════════════════ */

/* ─── HERO : slogan officiel sous kicker ─── */
.hero__slogan {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  letter-spacing: -0.005em;
  max-width: 56ch;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 900ms var(--ease-out) 700ms,
              transform 900ms var(--ease-out) 700ms;
}
.hero.is-loaded .hero__slogan {
  opacity: 1;
  transform: none;
}

/* ─── HERO : utilisation du visuel pro qui flash ─── */
.hero__video {
  /* Si la vidéo charge → bien.
     Si elle ne charge pas, on a un poster image en fallback */
}
/* Préparation pour l'image pro qui flash (à drop dans assets/images/) */
.hero::after {
  /* placeholder pour future image bg si besoin */
}

/* ─── PARCOURS : badge "sans app" et "garanties débloquées" ─── */
.parcours__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.parcours__badge::before {
  content: '✓';
  display: inline-flex;
  width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  font-size: .65rem;
}
.parcours__badge--strong {
  background: rgba(227, 6, 19, 0.16);
  border-color: rgba(227, 6, 19, 0.4);
  color: var(--c-red);
}
.parcours__badge--strong::before {
  background: var(--c-red);
  color: #fff;
}

/* Surface light (constat) — adapter le badge */
.constat .parcours__badge {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--c-anthracite);
}

/* ─── PARCOURS LIGHT (avec section 23) : badge bg ajusté ─── */
.parcours .parcours__badge {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--c-anthracite);
}
.parcours .parcours__badge::before {
  background: rgba(0, 0, 0, 0.08);
  color: var(--c-anthracite);
}
.parcours .parcours__badge--strong {
  background: rgba(227, 6, 19, 0.1);
  border-color: rgba(227, 6, 19, 0.32);
  color: var(--c-red);
}
.parcours .parcours__badge--strong::before {
  background: var(--c-red);
  color: #fff;
}

.parcours__step p strong {
  color: var(--c-red);
  font-weight: 700;
}

/* ─── CONSTELLATION : pictos hologramme (SVG outline) ─── */
.constellation__node-icon svg {
  width: 56%;
  height: 56%;
  color: var(--c-white);
  filter: drop-shadow(0 0 6px rgba(227, 6, 19, 0.5));
  transition: filter var(--t) var(--ease-out);
}
.constellation__node.is-active .constellation__node-icon svg {
  filter: drop-shadow(0 0 12px rgba(227, 6, 19, 0.8));
}
.constellation__node:hover .constellation__node-icon svg {
  filter: drop-shadow(0 0 16px rgba(227, 6, 19, 0.9));
}
.constellation__node-icon {
  /* Override : le background reste, mais on aère pour les SVG */
  background: rgba(255, 255, 255, 0.04);
}

/* ─── OÙ SCANNER : grille de 4 tiles enrichies ─── */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: var(--space-md);
}
@media (min-width: 900px) {
  .loc-grid { grid-template-columns: repeat(4, 1fr); }
}

.loc-tile {
  background: var(--c-white);
  border: 1px solid var(--c-gray-light);
  border-radius: 8px;
  padding: var(--space-md) var(--space-sm) var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: border-color var(--t) var(--ease-out),
              transform var(--t) var(--ease-out),
              box-shadow var(--t) var(--ease-out);
}
.loc-tile:hover {
  border-color: rgba(227, 6, 19, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.loc-tile__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-gray-soft);
  border-radius: 6px;
  overflow: hidden;
}

.loc-tile__product {
  width: 50%;
  height: 80%;
  color: var(--c-anthracite);
  opacity: 0.85;
}

.loc-tile__dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.2);
  animation: loc-dot-pulse 1.8s var(--ease-in-out) infinite;
  z-index: 3;
}
@keyframes loc-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.55); }
  50%      { box-shadow: 0 0 0 14px rgba(227, 6, 19, 0); }
}

/* Trait fin rouge qui relie dot ↔ étiquette */
.loc-tile__line {
  position: absolute;
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, var(--c-red), rgba(227, 6, 19, 0.3));
  top: 50%;
  right: 16%;
  transform: rotate(15deg);
  z-index: 2;
  opacity: 0.7;
}
.loc-tile__line--up { top: 22%; left: 50%; transform: rotate(-65deg); height: 22px; }
.loc-tile__line--down { top: 64%; left: 70%; transform: rotate(45deg); height: 22px; }

/* Mini étiquette signalétique reproduite */
.loc-tile__label {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 88px;
  background: #fff;
  border: 1px solid var(--c-gray-light);
  border-radius: 3px;
  padding: 4px 5px;
  font-family: 'Courier New', monospace;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 4;
  transform: rotate(-2deg);
  transition: transform var(--t) var(--ease-out);
}
.loc-tile:hover .loc-tile__label {
  transform: rotate(0deg) scale(1.06);
}
.loc-tile__label-head {
  border-bottom: 1px solid #e5e5e7;
  padding-bottom: 2px;
  margin-bottom: 3px;
}
.loc-tile__label-brand {
  font-family: 'Poppins', sans-serif;
  font-size: .58rem;
  font-weight: 700;
  color: var(--c-red);
  letter-spacing: -0.01em;
}
.loc-tile__label-body {
  display: flex;
  gap: 4px;
  align-items: center;
}
.loc-tile__label-qr {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.loc-tile__label-qr svg { width: 100%; height: 100%; }
.loc-tile__label-text {
  flex: 1;
  font-size: .45rem;
  line-height: 1.3;
  color: var(--c-anthracite);
}
.loc-tile__label-text p { margin: 0; }
.loc-tile__label-text p:first-child {
  font-weight: 700;
  font-size: .5rem;
}

/* Tile "bientôt" : badge */
.loc-tile--soon { opacity: 0.7; }
.loc-tile--soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--c-gray-light);
}
.loc-tile__soon-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 12px;
  background: var(--c-gray-light);
  color: var(--c-gray);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 3;
}

.loc-tile__info {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.loc-tile__info strong {
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-anthracite);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.loc-tile__info span {
  font-size: .78rem;
  color: var(--c-gray);
}

/* Mention légale en bas */
.locations__legal {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: rgba(227, 6, 19, 0.04);
  border: 1px solid rgba(227, 6, 19, 0.15);
  border-radius: 6px;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--c-gray);
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.locations__legal strong {
  color: var(--c-anthracite);
  font-weight: 600;
}

/* Mobile : labels mini plus petites */
@media (max-width: 720px) {
  .loc-tile__label { width: 70px; bottom: 6px; right: 6px; }
  .loc-tile__label-brand { font-size: .52rem; }
  .loc-tile__label-qr { width: 20px; height: 20px; }
  .loc-tile__label-text { font-size: .42rem; }
  .loc-tile__label-text p:first-child { font-size: .46rem; }
  .loc-tile__info strong { font-size: .82rem; }
  .loc-tile__info span { font-size: .72rem; }
}

/* ─── HERO : si l'image pro-flash est dispose, fallback élégant ─── */
.hero.has-pro-image .hero__video { display: none; }
.hero.has-pro-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 15, 16, 0.85) 0%, rgba(15, 15, 16, 0.5) 50%, rgba(15, 15, 16, 0.2) 100%),
    url('assets/images/hero-pro-flash.jpg') center right / cover no-repeat;
  z-index: 0;
}

/* ════════════════════════════════════════════════════
   PATCHES — descender bascule + suppression vide post-roadmap
   ════════════════════════════════════════════════════ */

/* Fix descender "g" qui se faisait clipper par overflow:hidden + line-height 1 */
.bascule__phrase {
  line-height: 1.08;
  padding-bottom: 0.18em;
}
.bascule__line,
.bascule__line--accent {
  display: inline-block;
  padding-bottom: 0.12em;
}

/* Fix grand espace vide après le roadmap → content-visibility a réservé
   trop d'espace via contain-intrinsic-size: 1px 800px. On retire pour
   les sections "short" (roadmap, faq) qui n'en bénéficient pas vraiment. */
.roadmap,
.faq {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

/* Padding-block plus serré entre roadmap et FAQ */
.roadmap { padding-bottom: clamp(3rem, 6vw, 5rem) !important; }
.faq     { padding-top: clamp(3rem, 6vw, 5rem) !important; }

/* Eviter le "dot fantôme" qui traîne — on neutralise les animations
   sur les éléments hors viewport pour ces sections */
@media (prefers-reduced-motion: no-preference) {
  .roadmap__dot--on::after {
    /* on cap la taille du ring pour qu'il ne déborde pas */
    animation-iteration-count: infinite;
    will-change: transform;
  }
}

/* ════════════════════════════════════════════════════
   FIX HERO SCROLL — centrage parfait
   ════════════════════════════════════════════════════ */

.hero__scroll {
  /* On force le centrage via margin auto + bornes left/right */
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  margin-inline: auto !important;
  width: max-content !important;
}

/* Compense le letter-spacing trailing sur "SCROLL" pour que le visuel
   soit aligné avec la ligne verticale au-dessus */
.hero__scroll-label {
  margin-left: 0.2em;
}

/* ════════════════════════════════════════════════════
   FIX MOBILE — CTA header masqué + contenu hero remonté
   ════════════════════════════════════════════════════ */

@media (max-width: 720px) {
  /* On masque le CTA "Tester FlashConnect" du header en mobile,
     il y a déjà le CTA "Voir le parcours" dans le hero */
  .header__cta { display: none !important; }

  /* Le hero __inner sur mobile : on remonte le contenu (moins de padding-top) */
  .hero__inner {
    padding-top: clamp(24px, 6vh, 60px) !important;
    justify-content: flex-start !important;
  }

  /* Le hero garde son centrage mais avec moins de vide en haut */
  .hero {
    min-height: 100svh !important;
    align-items: flex-start !important;
  }
}

/* ════════════════════════════════════════════════════
   FIX MOBILE — encore plus serré entre header et badge
   ════════════════════════════════════════════════════ */

@media (max-width: 720px) {
  /* On serre davantage le padding du hero inner */
  .hero__inner {
    padding-top: calc(var(--header-h) + 8px) !important;
    gap: 16px !important;
    justify-content: flex-start !important;
  }

  /* Le hero démarre tout en haut, le scroll indicator gère le bas */
  .hero {
    align-items: flex-start !important;
  }

  /* Le badge et les premiers éléments du hero arrivent en cascade
     mais sans grand vide */
  .hero__kicker {
    margin-top: 0;
  }
}

/* ════════════════════════════════════════════════════
   FIX MOBILE — la zone des steps du parcours doit
   accueillir le badge sans que la progress bar passe dessus
   ════════════════════════════════════════════════════ */

@media (max-width: 720px) {
  .parcours__steps {
    min-height: 230px !important;
  }
  /* On laisse un peu plus de respiration entre le contenu et la barre */
  .parcours__progress {
    margin-top: var(--space-md) !important;
  }
}

/* Sur petits écrans encore, on accommode si le texte wrap plus */
@media (max-width: 380px) {
  .parcours__steps {
    min-height: 260px !important;
  }
}

/* ════════════════════════════════════════════════════
   FIX MOBILE — centrage du badge "sans app à télécharger"
   ════════════════════════════════════════════════════ */

@media (max-width: 720px) {
  .parcours__badge {
    display: flex !important;
    margin-inline: auto !important;
    width: max-content !important;
    max-width: 100%;
  }
}

/* ════════════════════════════════════════════════════
   FIX où scanner — dot toujours visible au-dessus de l'étiquette
   ════════════════════════════════════════════════════ */

.loc-tile__dot {
  z-index: 5 !important;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5px rgba(227, 6, 19, 0.35) !important;
}
.loc-tile__line { z-index: 5 !important; }

@keyframes loc-dot-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 3px #fff,
      0 0 0 5px rgba(227, 6, 19, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 3px #fff,
      0 0 0 16px rgba(227, 6, 19, 0);
  }
}

/* ════════════════════════════════════════════════════
   FIX où scanner — dot plus sobre, sans ring blanc
   On revient à un point rouge clean, pas un pin de carte
   ════════════════════════════════════════════════════ */

/* Reset des box-shadow ajoutés précédemment */
.loc-tile__dot {
  width: 12px !important;
  height: 12px !important;
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.2) !important;
  z-index: 5 !important;
}

/* Pulse plus discret */
@keyframes loc-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.35); }
  50%      { box-shadow: 0 0 0 10px rgba(227, 6, 19, 0); }
}

/* On masque les traits de liaison — ils faisaient désordre */
.loc-tile__line,
.loc-tile__line--up,
.loc-tile__line--down {
  display: none !important;
}

/* ════════════════════════════════════════════════════
   FIX FINAL — suppression content-visibility (cause des vides)
   ════════════════════════════════════════════════════ */

.services,
.video-demo,
.demo-live,
.roadmap,
.faq,
.cta-final {
  content-visibility: visible !important;
  contain-intrinsic-size: auto !important;
}

/* ════════════════════════════════════════════════════
   FIX FINAL — neutraliser min-height 220vh résiduel
   du roadmap (héritage de la timeline horizontale supprimée)
   ════════════════════════════════════════════════════ */

.roadmap {
  min-height: auto !important;
}
.roadmap__sticky {
  position: static !important;
  height: auto !important;
  overflow: visible !important;
  padding: 0 !important;
  display: block !important;
}
.roadmap__timeline { display: none !important; }
