@keyframes heroScan {
  0%, 12%   { transform: translateY(-100%); opacity: 0; }
  14%       { opacity: 1; }
  88%       { opacity: 1; }
  100%      { transform: translateY(110%); opacity: 0; }
}
.hero-scan {
  background: linear-gradient(180deg, transparent 0%, rgba(249,115,22,0.0) 30%, rgba(249,115,22,0.18) 50%, rgba(249,115,22,0.0) 70%, transparent 100%);
  mix-blend-mode: screen;
  animation: heroScan 7.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes scoreFill {
  0%   { width: 0%; }
  70%  { width: var(--score-target, 80%); }
  100% { width: var(--score-target, 80%); }
}
.hero-mockup .ll-score-bar {
  animation: scoreFill 2.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--score-delay, 0s);
}
@keyframes pulseEnrich {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 2px 8px rgba(249,115,22,0.35), 0 0 0 0 rgba(249,115,22,0); }
  50%      { box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 2px 8px rgba(249,115,22,0.45), 0 0 0 6px rgba(249,115,22,0.15); }
}
.hero-enrich-pulse { animation: pulseEnrich 2.4s ease-in-out infinite; }
@keyframes ledBlink {
  0%, 65%, 100% { opacity: 1; }
  70%, 95%      { opacity: 0.35; }
}
.hero-led { animation: ledBlink 2s ease-in-out infinite; }
/* Onde ambiante — trois anneaux décalés de 4 s sur un cycle de 12 s :
   il y en a toujours un en vol, la cadence devient continue au lieu
   de battre par à-coups. L'enveloppe garde un palier au milieu du
   trajet pour que l'anneau se lise sur toute sa course. */
@keyframes heroAmbientRipple {
  0% {
    transform: scale(0.04);
    opacity: 0;
  }
  13% {
    opacity: 0.62;
  }
  52% {
    opacity: 0.34;
  }
  100% {
    transform: scale(1.02);
    opacity: 0;
  }
}
/* Cœur immobile : évite le vide entre deux ondes et pose la
   chaleur de la marque au centre du hero. */
@keyframes heroAmbientCore {
  0%, 100% { opacity: 0.55; transform: scale(0.98); }
  50%      { opacity: 0.78; transform: scale(1.03); }
}
.hero-ambient {
  --hero-ambient-color: #f97316;
  position: absolute;
  /* Suit le padding-top du hero (+1.5rem au dernier réglage) : le halo
     est calé sur le H1, pas sur le haut de la section. S'il ne bougeait
     pas avec le texte, la lueur remonterait au-dessus du titre. */
  top: clamp(6.5rem, calc(9vw + 1.5rem), 10.3rem);
  left: 50%;
  z-index: 1;
  width: min(74rem, 116vw);
  height: clamp(20rem, 35vw, 32rem);
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
  /* Décor pur, taille fixée par le CSS (pas par le contenu) : une
     fois le hero dépassé, le navigateur peut sauter entièrement le
     rendu des trois anneaux floutés + du cœur. C'est ce qui coûtait
     le plus cher au début du scroll. */
  content-visibility: auto;
  transform: translateX(-50%);
  -webkit-mask: linear-gradient(to bottom, transparent 0%, #000 15%, #000 65%, transparent 100%);
  mask: linear-gradient(to bottom, transparent 0%, #000 15%, #000 65%, transparent 100%);
}
.hero-ambient-dot-mask,
.hero-ambient-circle-wrap,
.hero-ambient-core,
.hero-ambient-overlay {
  position: absolute;
  inset: 0;
}
/* Trame du halo — relevée sur le hero Trendtrack.
   Leur masque est un PNG de 402 px affiché en tuiles de 178,67 px
   (échelle 0,444) : mesuré au pixel, le pas vaut 6,08 px dans
   l'image, soit 2,70 px à l'écran, pour des points de 3,7 px →
   1,64 px. Autrement dit ~29 % de couverture à un pas de moins de
   3 px : à cette finesse l'œil ne distingue plus les points, il lit
   une trame de pixels.
   Le nôtre tournait à 10 px de pas pour 0,8 % de couverture — des
   points isolés, largement espacés, donc lisibles un par un. C'est
   ça qui donnait les « gros points orange », pas leur taille
   absolue. On reprend donc leur densité. */
.hero-ambient-dot-mask {
  --halo-pitch: 3px;
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,0.88) 0.62px, transparent 0.92px);
  mask-image: radial-gradient(circle, rgba(0,0,0,0.88) 0.62px, transparent 0.92px);
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
  -webkit-mask-size: var(--halo-pitch) var(--halo-pitch);
  mask-size: var(--halo-pitch) var(--halo-pitch);
  /* La trame serrée laisse passer ~3× plus de lumière que l'ancienne
     (18,9 % contre 6,3 %). Sans ce rattrapage le halo doublerait de
     puissance et mangerait le H1 : on veut la finesse de la trame,
     pas plus d'orange. */
  opacity: 0.34;
}
.hero-ambient-circle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: blur(14px);
  transform: translateZ(0);
}
.hero-ambient-circle {
  position: absolute;
  aspect-ratio: 1;
  width: min(66rem, 98vw);
  border: clamp(4rem, 10vh, 10rem) solid var(--hero-ambient-color);
  border-radius: 999em;
  opacity: 1;
  transform: scale(0.04);
  animation: heroAmbientRipple 12s cubic-bezier(0.24, 0.6, 0.32, 1) infinite;
  will-change: transform, opacity;
}
/* Trois teintes de la même famille : l'onde la plus jeune est la
   plus chaude, elle refroidit en s'éloignant du centre. */
.hero-ambient-circle:nth-child(2) {
  --hero-ambient-color: #fb923c;
  animation-delay: 4s;
}
.hero-ambient-circle:nth-child(3) {
  --hero-ambient-color: #fdba74;
  animation-delay: 8s;
}
/* Cœur : posé SOUS le masque halftone, donc tramé comme les ondes. */
.hero-ambient-core {
  background:
    radial-gradient(ellipse 26% 42% at 50% 46%, rgba(253,186,116,0.55) 0%, rgba(249,115,22,0.26) 45%, transparent 72%);
  filter: blur(18px);
  animation: heroAmbientCore 9s ease-in-out infinite;
  will-change: opacity, transform;
}
.hero-ambient-overlay {
  z-index: 1;
  background:
    radial-gradient(ellipse 44% 36% at 50% 44%, rgba(255,237,213,0.17) 0%, rgba(249,115,22,0.08) 38%, transparent 72%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.04) 52%, rgba(0,0,0,0.26) 100%);
  mix-blend-mode: screen;
  opacity: 0.9;
}
@media (max-width: 640px) {
  .hero-ambient {
    /* +0.75rem, comme le pt-8 du hero en mobile. */
    top: 7.1rem;
    width: 126vw;
    height: 21.5rem;
    opacity: 0.82;
  }
  /* Le halo est plus petit sur mobile : on resserre le pas d'autant
     pour que la trame garde la même finesse relative. */
  .hero-ambient-dot-mask {
    --halo-pitch: 2.6px;
  }
  .hero-ambient-circle {
    width: 40rem;
    border-width: clamp(3.2rem, 12vw, 5.5rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scan, .hero-mockup .ll-score-bar, .hero-enrich-pulse, .hero-led,
  .hero-ambient-circle, .hero-ambient-core { animation: none !important; }
  .hero-mockup .ll-score-bar { width: var(--score-target, 80%) !important; }
  .hero-ambient-circle { opacity: 0.3 !important; transform: scale(0.55) !important; }
  .hero-ambient-circle:nth-child(2) { opacity: 0.2 !important; transform: scale(0.8) !important; }
  .hero-ambient-circle:nth-child(3) { display: none; }
  .hero-ambient-core { opacity: 0.7 !important; transform: none !important; }
}

/* Le mot-clé du H1 reprend uniquement l'orange SprintLead. La
   lumière reste courte : elle met l'accent sur la promesse sans
   donner un effet néon ou ajouter une nouvelle couleur de marque. */
.hero-title-highlight {
  background: linear-gradient(108deg, #fed7aa 0%, #fdba74 24%, #fb923c 56%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 0.22em rgba(249,115,22,0.28));
}
.hero-title-punctuation { color: var(--ll-text); }
#landing-root.dark-landing .hero-title-punctuation { color: #ffffff; }

/* ── Fenêtre commerciale : frise sans chiffres ────────────
   Le parcours se révèle à l’écran sans représenter une durée. */
.window-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: var(--ll-border);
}
.window-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316 0%, #fb923c 70%, rgba(249,115,22,0.45) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(.16,1,.3,1) .15s;
}
.window-cursor {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 3px solid #f97316;
  box-shadow: 0 0 0 4px rgba(249,115,22,0.18);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .4s cubic-bezier(.16,1,.3,1) 1.05s;
}
.window-timeline[data-revealed="true"] .window-fill { transform: scaleX(1); }
.window-timeline[data-revealed="true"] .window-cursor { transform: translate(-50%, -50%) scale(1); }
.window-bracket {
  height: 9px;
  margin-bottom: 7px;
  border: 1px solid rgba(249,115,22,0.5);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.window-tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}
.window-tick:first-child { transform: none; }
.window-tick:last-child { transform: translateX(-100%); }
@media (prefers-reduced-motion: reduce) {
  .window-fill { transition: none; transform: scaleX(1); }
  .window-cursor { transition: none; transform: translate(-50%, -50%) scale(1); }
}


/* ── TEXT REVEAL — masque clip + montée depuis le bas ──────────
   Utilisé par le hero (animation CSS) et <RevealText> (React state).
   Le keyframe est référencé via animation inline-style sur le hero. */
@keyframes lineUp {
  from { transform: translateY(115%); }
  to   { transform: translateY(0%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-reveal-line { animation: none !important; transform: translateY(0) !important; }
}
.audience-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  min-height: 326px;
  border-radius: 20px;
  background:
    radial-gradient(120% 110% at 100% 0%, color-mix(in srgb, var(--audience-accent, #f97316) 18%, transparent) 0%, transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0.025) 46%, rgba(255,255,255,0.045) 100%),
    #090d18;
  border: 1px solid rgba(255,255,255,0.115);
  box-shadow:
    0 18px 48px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.085);
  transition: transform 0.24s cubic-bezier(.16,1,.3,1),
              border-color 0.24s ease,
              box-shadow 0.24s ease;
}
.audience-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, var(--audience-accent, #f97316) 35%, rgba(255,255,255,0.28) 58%, transparent 96%);
  opacity: 0.82;
}
.audience-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 34%);
  opacity: 0.72;
  pointer-events: none;
  z-index: 0;
}
.audience-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--audience-accent, #f97316) 34%, rgba(255,255,255,0.12));
  box-shadow:
    0 24px 58px rgba(0,0,0,0.38),
    0 0 0 1px color-mix(in srgb, var(--audience-accent, #f97316) 13%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.11);
}
.audience-icon {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.13),
    0 12px 24px color-mix(in srgb, var(--audience-accent, #f97316) 14%, transparent);
}
.audience-number {
  color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.052);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.audience-points {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.085);
}
.audience-point {
  color: rgba(255,255,255,0.77);
}
.audience-check {
  color: var(--audience-accent, #f97316);
}

/* ─── Cursor spotlight — halo qui suit la souris sur les cartes
   sombres. --mx/--my sont mises à jour par <SpotlightTracker>
   (un seul listener document pour toutes les cartes). ───────── */
.audience-spot {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    460px circle at var(--mx, 50%) var(--my, 50%),
    rgba(249,115,22,0.13),
    rgba(255,255,255,0.045) 38%,
    transparent 64%
  );
  pointer-events: none;
  z-index: 0;
}
.audience-card:hover .audience-spot { opacity: 1; }

/* Le rideau de flou laisse passer la couleur du contenu. Le contraste
   au-dessus de la vidéo et aux jonctions suit les glyphes du menu. */
#landing-root .ll-nav::before { content: none; }
#landing-root .ll-nav > nav :is(a, button, svg, .ll-nav-logo-text) {
  transition: color .24s ease, text-shadow .24s ease, fill .24s ease,
              stroke .24s ease, background-color .2s ease, border-color .2s ease !important;
}
@media (prefers-reduced-motion: reduce) {
  #landing-root .ll-nav > nav :is(a, button, svg, .ll-nav-logo-text) { transition: none !important; }
}
.ll-nav.ll-nav-seam {
  --ll-nav-ink-edge: rgba(0,0,0,.9);
}
.ll-nav.ll-nav-seam.ll-nav-over-light {
  --ll-nav-ink-edge: rgba(255,255,255,.95);
}
.ll-nav.ll-nav-seam > nav
  :is(.ll-nav-logo-text, .ll-nav-pill, .ll-nav-cta--ghost) {
  text-shadow: 0 0 2px var(--ll-nav-ink-edge), 0 0 4px var(--ll-nav-ink-edge);
}
.ll-nav.ll-nav-seam > nav > div > button > svg {
  filter: drop-shadow(0 0 1px var(--ll-nav-ink-edge));
}
#landing-root .ll-nav > nav [data-video-tone="light"] {
  color: #0f0f10 !important;
  text-shadow: none;
  --ll-nav-pill-tint: rgba(10,15,30,.08);
}
#landing-root .ll-nav .ll-nav-cta.btn-roller:not(.ll-nav-cta--ghost)[data-video-tone="light"] {
  background-color: rgba(10,15,30,.08);
  border-color: rgba(10,15,30,.17);
}

/* Cadre : une seule ligne de lumière en haut, un liseré discret, et la
   chaleur orange reportée sous le cadre. */
.hero-video-frame {
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(20,22,28,0.92) 0%, rgba(8,9,12,0.96) 100%) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 42%, rgba(249,115,22,0.20) 100%) border-box;
  border: 1px solid transparent;
  box-shadow:
    0 40px 100px -36px rgba(0,0,0,0.80),
    0 24px 60px -40px rgba(249,115,22,0.50),
    inset 0 1px 0 rgba(255,255,255,0.10);
}
.hero-video-frame::before {
  content: "";
  position: absolute;
  inset: -14px 14% auto;
  height: 38px;
  border-radius: 999px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(255,255,255,0.18), transparent 72%);
  filter: blur(14px);
  opacity: 0.4;
  pointer-events: none;
}
.hero-video-frame::after {
  content: "";
  position: absolute;
  inset: auto 10% -24px;
  height: 58px;
  border-radius: 999px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(249,115,22,0.34), transparent 74%);
  filter: blur(22px);
  opacity: 0.72;
  pointer-events: none;
  z-index: -1;
}
.hero-video-inner {
  overflow: hidden;
  border-radius: 20px;
  clip-path: inset(0 round 20px);
  isolation: isolate;
  background: #050506;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.hero-video-media {
  display: block;
  height: auto;
  object-fit: cover;
  border-radius: inherit;
  clip-path: inset(0 round 19px);
  transform: translateZ(0);
  background: #050711;
  cursor: pointer;
}
/* Vignette : uniquement un dégradé bas, pour que la barre flottante et
   le filet de progression restent lisibles sur une image claire. Le
   voile « reflet » en mix-blend-mode a sauté — il laitait l'image. */
.hero-video-vignette {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  clip-path: inset(0 round 19px);
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.42) 0%,
    rgba(0,0,0,0.16) 12%,
    transparent 30%
  );
  opacity: 0;
  transition: opacity 260ms ease;
}
.hero-video-inner:hover .hero-video-vignette,
.hero-video-inner:focus-within .hero-video-vignette,
.hero-video-inner[data-playing="false"] .hero-video-vignette,
.hero-video-inner[data-scrubbing="true"] .hero-video-vignette {
  opacity: 1;
}
/* ── Bouton central : seulement à l'arrêt ─────────────────────── */
.hero-video-center-toggle {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(12,12,14,0.42);
  color: #fff;
  box-shadow: 0 18px 44px rgba(0,0,0,0.36);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 220ms cubic-bezier(.16,1,.3,1),
              transform 220ms cubic-bezier(.16,1,.3,1),
              background 200ms ease, border-color 200ms ease;
}
.hero-video-inner[data-playing="false"] .hero-video-center-toggle {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.hero-video-center-toggle:hover {
  background: rgba(249,115,22,0.92);
  border-color: rgba(255,255,255,0.28);
  transform: translate(-50%, -50%) scale(1.06);
}
.hero-video-center-toggle:focus-visible {
  outline: 2px solid rgba(249,115,22,0.92);
  outline-offset: 4px;
}
.hero-video-center-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateX(2px);
}

/* ── Pastille son ─────────────────────────────────────────────── */
.hero-video-sound-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: inline-flex;
  height: 32px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  background: rgba(12,12,14,0.34);
  color: rgba(255,255,255,0.92);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.006em;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(0,0,0,0.24);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.hero-video-sound-toggle:hover {
  transform: translateY(-1px);
  background: rgba(20,20,24,0.58);
  border-color: rgba(255,255,255,0.18);
}
.hero-video-sound-toggle:focus-visible {
  outline: 2px solid rgba(249,115,22,0.88);
  outline-offset: 3px;
}
.hero-video-sound-toggle span { white-space: nowrap; }

/* ── Filet ambiant : progression toujours lisible, sans chrome ── */
.hero-video-ambient {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 2px;
  background: rgba(255,255,255,0.10);
  pointer-events: none;
  opacity: 1;
  transition: opacity 220ms ease;
}
.hero-video-ambient > span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(var(--video-progress, 0));
  background: linear-gradient(90deg, #fb923c, #f97316);
}
/* Il s'efface dès que la vraie barre apparaît : un seul repère à la fois. */
.hero-video-inner:hover .hero-video-ambient,
.hero-video-inner:focus-within .hero-video-ambient,
.hero-video-inner[data-playing="false"] .hero-video-ambient,
.hero-video-inner[data-scrubbing="true"] .hero-video-ambient {
  opacity: 0;
}

/* ── Barre flottante en verre ─────────────────────────────────── */
.hero-video-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 4;
  display: grid;
  grid-template-columns: auto auto minmax(80px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 999px;
  background: rgba(12,12,14,0.44);
  padding: 0 8px 0 6px;
  box-shadow:
    0 16px 40px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.07);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.985);
  transform-origin: bottom center;
  transition: opacity 240ms cubic-bezier(.16,1,.3,1),
              transform 240ms cubic-bezier(.16,1,.3,1);
}
.hero-video-inner:hover .hero-video-controls,
.hero-video-inner:focus-within .hero-video-controls,
.hero-video-inner[data-playing="false"] .hero-video-controls,
.hero-video-inner[data-scrubbing="true"] .hero-video-controls {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ── Boutons de la barre ──────────────────────────────────────── */
.hero-video-ctl {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,0.92);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.hero-video-ctl:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.hero-video-ctl:active { transform: scale(0.94); }
.hero-video-ctl:focus-visible {
  outline: 2px solid rgba(249,115,22,0.88);
  outline-offset: 2px;
}

.hero-video-time {
  color: rgba(255,255,255,0.62);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.004em;
  line-height: 1;
}
.hero-video-time--total { color: rgba(255,255,255,0.40); }

/* ── Piste de lecture ─────────────────────────────────────────── */
.hero-video-scrubber {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  height: 34px;
  cursor: pointer;
  touch-action: none;
}
.hero-video-track {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  overflow: hidden;
  transition: height 180ms cubic-bezier(.16,1,.3,1);
}
.hero-video-scrubber:hover .hero-video-track,
.hero-video-scrubber:has(.hero-video-range:focus-visible) .hero-video-track {
  height: 6px;
}
.hero-video-buffered,
.hero-video-ghost,
.hero-video-played {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  border-radius: inherit;
}
/* Portion téléchargée — repère discret, comme sur un lecteur natif. */
.hero-video-buffered {
  background: rgba(255,255,255,0.16);
  transform: scaleX(var(--video-buffered, 0));
}
/* Remplissage fantôme jusqu'au pointeur : indique où le clic mènera. */
.hero-video-ghost {
  background: rgba(255,255,255,0.22);
  transform: scaleX(0);
  transition: opacity 160ms ease;
  opacity: 0;
}
.hero-video-scrubber[data-hovering="true"] .hero-video-ghost {
  transform: scaleX(var(--video-hover, 0));
  opacity: 1;
}
.hero-video-played {
  background: linear-gradient(90deg, #fb923c, #f97316);
  transform: scaleX(var(--video-progress, 0));
}
/* Tête de lecture : masquée au repos, elle sort au survol. */
.hero-video-head {
  position: absolute;
  top: 50%;
  left: calc(var(--video-progress, 0) * 100%);
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.45);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 180ms cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.hero-video-scrubber:hover .hero-video-head,
.hero-video-scrubber:has(.hero-video-range:focus-visible) .hero-video-head {
  transform: translate(-50%, -50%) scale(1);
}
/* Infobulle de timecode au survol de la piste. */
.hero-video-tooltip {
  position: absolute;
  bottom: calc(100% - 2px);
  left: calc(var(--video-hover, 0) * 100%);
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(10,10,12,0.86);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
/* Input natif : superposé, invisible — il ne sert plus qu'à porter le
   clavier, le drag et la sémantique slider. */
.hero-video-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  opacity: 0;
  cursor: pointer;
}
.hero-video-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 34px;
}
.hero-video-range::-moz-range-thumb {
  width: 16px;
  height: 34px;
  border: 0;
}
.hero-video-range:focus { outline: none; }

@media (max-width: 640px) {
  /* Le total est masqué plus bas : 4 colonnes restent — lecture,
     temps courant, piste (elle prend tout l'espace), plein écran. */
  .hero-video-controls {
    grid-template-columns: auto auto minmax(60px, 1fr) auto;
    gap: 8px;
    height: 42px;
    right: 8px;
    bottom: 8px;
    left: 8px;
  }
  /* Le temps courant seul suffit sur petit écran. */
  .hero-video-time--total { display: none; }
  .hero-video-sound-toggle span { display: none; }
  .hero-video-sound-toggle { padding: 0; width: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-controls,
  .hero-video-center-toggle,
  .hero-video-track,
  .hero-video-head,
  .hero-video-vignette,
  .hero-video-ambient { transition: none !important; }
}
.hero-video-frame:fullscreen .hero-video-sound-toggle,
.hero-video-frame[data-expanded="true"] .hero-video-sound-toggle {
  top: clamp(16px, 3vw, 34px);
  right: clamp(16px, 3vw, 42px);
}
.hero-video-frame:fullscreen,
.hero-video-frame[data-expanded="true"] {
  display: grid;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  place-items: center;
  border-radius: 0;
  background: #000;
  padding: 0;
}
.hero-video-frame[data-expanded="true"] {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  max-width: none;
  transform: none !important;
  animation: none !important;
}
.hero-video-frame:fullscreen .hero-video-inner,
.hero-video-frame[data-expanded="true"] .hero-video-inner {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  border: 0;
  border-radius: 0;
  clip-path: none;
}
.hero-video-frame:fullscreen .hero-video-media,
.hero-video-frame[data-expanded="true"] .hero-video-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  clip-path: none;
}
.hero-video-frame:fullscreen .hero-video-vignette,
.hero-video-frame[data-expanded="true"] .hero-video-vignette {
  border-radius: 0;
  clip-path: none;
}
.hero-video-frame:fullscreen .hero-video-controls,
.hero-video-frame[data-expanded="true"] .hero-video-controls {
  right: clamp(16px, 4vw, 64px);
  bottom: clamp(16px, 3vw, 40px);
  left: clamp(16px, 4vw, 64px);
}
/* Tactile : pas de survol possible, la barre reste posée. Le filet
   ambiant ferait doublon, on le retire. */
@media (hover: none) {
  .hero-video-controls {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .hero-video-ambient { opacity: 0; }
  .hero-video-vignette { opacity: 1; }
  /* La tête de lecture est le seul repère de position au doigt. */
  .hero-video-head { transform: translate(-50%, -50%) scale(1); }
}
@media (max-width: 480px) {
  .hero-video-frame {
    border-radius: 20px;
    padding: 5px;
  }
  .hero-video-inner {
    border-radius: 15px;
    clip-path: inset(0 round 15px);
  }
  .hero-video-media,
  .hero-video-vignette {
    clip-path: inset(0 round 14px);
  }
  /* Trois éléments seulement : lecture · piste · plein écran. */
  .hero-video-controls {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px;
    height: 40px;
    padding: 0 6px;
  }
  .hero-video-time { display: none; }
  .hero-video-ctl {
    position: relative;
    width: 30px;
    height: 30px;
  }
  /* The 40px bar cannot hold a 44px button, so the touch area grows
     past it instead. The two buttons sit at opposite ends of a 1fr
     track, so nothing here can overlap. */
  .hero-video-ctl::after {
    position: absolute;
    content: "";
    inset: -7px;
  }
  .hero-video-sound-toggle {
    top: 10px;
    right: 10px;
  }
  .hero-video-sound-toggle::after {
    position: absolute;
    content: "";
    inset: -6px;
  }
  .hero-video-center-toggle {
    width: 58px;
    height: 58px;
  }
}

/* ─── Hero mockup : posé en perspective, se redresse au scroll.
   CSS scroll-driven animation native (Chrome/Edge) ; les autres
   navigateurs gardent le mockup à plat via @supports. ────────── */
@supports (animation-timeline: view()) {
  .hero-mockup-wrap { perspective: 1100px; }
  .hero-mockup {
    transform-origin: 50% 10%;
    animation: heroMockupTilt cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-timeline: view();
    animation-range: entry 0% cover 45%;
  }
  @keyframes heroMockupTilt {
    from { transform: rotateX(13deg) scale(0.96); }
    to   { transform: rotateX(0deg)  scale(1); }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-mockup { animation: none; }
  }
}
body:has(.hero-video-frame[data-expanded="true"]) .hero-mockup-wrap {
  animation: none !important;
  perspective: none !important;
  transform: none !important;
}
body:has(.hero-video-frame[data-expanded="true"]) .ll-dot-bg {
  overflow: visible !important;
  z-index: 2147482999 !important;
}
body:has(.hero-video-frame[data-expanded="true"]) .fixed.z-50 {
  opacity: 0 !important;
  pointer-events: none !important;
}
body:has(.hero-video-frame[data-expanded="true"]) [class*="2147483647"] {
  opacity: 0 !important;
  pointer-events: none !important;
}
.hero-metric {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding-inline: clamp(.65rem, 1.3vw, 1.15rem);
  color: var(--ll-text-soft);
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.4;
  text-wrap: balance;
}
.hero-metric + .hero-metric { border-inline-start: 1px solid var(--ll-border-strong); }
.hero-metric > span { flex: none; color: var(--ll-brand-400); }
.coverage-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.45fr) minmax(0, 1fr);
  column-gap: 1rem;
  align-items: center;
}
.home-faq-item {
  border-block-end: 1px solid var(--ll-border-strong);
}
.home-faq-item summary {
  color: var(--ll-text);
}
.home-faq-item summary:focus-visible {
  outline: 2px solid var(--ll-accent-text);
  outline-offset: 3px;
  border-radius: .375rem;
}
.home-faq-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.875rem;
  height: 1.875rem;
  border: 1px solid var(--ll-border-strong);
  border-radius: 50%;
  color: var(--ll-muted);
}
.home-faq-item[open] .home-faq-toggle,
.home-faq-item summary:hover .home-faq-toggle {
  color: var(--ll-accent-text);
  background: var(--ll-badge-bg);
  border-color: var(--ll-badge-border);
}
@media (max-width: 639px) {
  .hero-metric {
    flex: 1 1 0;
    flex-direction: column;
    min-width: 0;
    justify-content: flex-start;
    padding-inline: .5rem;
    font-size: .75rem;
  }
  .coverage-row {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    column-gap: .75rem;
  }
}
