/* =========================================================================
   Radar de vitesse — page produit
   Nuit, menthe pour le faisceau, ambre et rouge pour les excès.
   ========================================================================= */

@font-face { font-family: 'Inter'; src: url('../fonts/inter-variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('../fonts/space-grotesk-variable.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono-variable.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --fond: #05070b;
  --fond-2: #080b11;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.065);
  --bord: rgba(255, 255, 255, 0.09);
  --bord-fort: rgba(255, 255, 255, 0.17);
  --texte: #eef1f6;
  --texte-2: #c2c9d5;
  --doux: #8f99ab;
  --menthe: #3cf0c5;
  --menthe-pale: #bff8ea;
  --ambre: #ffb547;
  --rouge: #ff4f6d;
  --violet: #7b6cff;
  --rayon: 18px;
  --police-titre: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --police: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --police-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gouttiere: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); /* iPhone en paysage : hors de l'encoche */
  --largeur: 1200px;
  --bord-page: max(var(--gouttiere), calc((100vw - var(--largeur)) / 2));
  --entete: 64px;
  --sortie: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 16px); background: var(--fond); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 400 17px/1.6 var(--police);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--police-titre); font-weight: 600; letter-spacing: -0.028em; line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0; }
p, li, dd { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: fixed; left: 12px; top: -64px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--menthe); color: #03140f; font-weight: 600; text-decoration: none; transition: top 0.2s; }
.evitement:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--menthe); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(60, 240, 197, 0.3); color: #fff; }
.conteneur { width: 100%; max-width: calc(var(--largeur) + var(--gouttiere) * 2); margin-inline: auto; padding-inline: var(--gouttiere); }

/* ---------- textes communs ---------- */
.surtitre {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
  font: 500 12px/1.2 var(--police-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--menthe);
}
.pastille {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--menthe);
  box-shadow: 0 0 0 4px rgba(60, 240, 197, 0.14), 0 0 14px var(--menthe);
  animation: battement 2s ease-in-out infinite;
}
.chapeau { margin-top: 20px; max-width: 54ch; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--texte-2); }
.coches { list-style: none; display: grid; gap: 12px; margin: 26px 0 0; padding: 0; }
.coches li { position: relative; padding-left: 32px; color: var(--texte-2); }
.coches li::before {
  content: ''; position: absolute; left: 0; top: 0.18em;
  width: 20px; height: 20px; border-radius: 7px;
  background: rgba(60, 240, 197, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5' fill='none' stroke='%233cf0c5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(60, 240, 197, 0.32);
}
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--menthe); font-weight: 600; text-decoration: none; }
.lien-fleche::after { content: '→'; transition: transform 0.25s var(--sortie); }
.lien-fleche:hover::after { transform: translateX(5px); }

/* ---------- boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 0; border-radius: 999px;
  background: var(--menthe); color: #03140f;
  font: 600 15.5px/1 var(--police);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(60, 240, 197, 0.45), 0 12px 32px -12px rgba(60, 240, 197, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.25s var(--sortie), box-shadow 0.25s, background 0.25s, opacity 0.2s;
}
.bouton:hover { transform: translateY(-2px); background: #5ff5d2; box-shadow: 0 0 0 1px rgba(60, 240, 197, 0.6), 0 18px 40px -12px rgba(60, 240, 197, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.bouton:active { transform: translateY(0); }
.bouton--fantome { background: rgba(255, 255, 255, 0.04); color: var(--texte); box-shadow: inset 0 0 0 1px var(--bord-fort); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bouton--fantome:hover { background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.bouton--petit { min-height: 38px; padding: 0 16px; font-size: 14px; }
.bouton--large { width: 100%; min-height: 56px; font-size: 16.5px; }

/* ---------- en-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--entete);
  display: flex; align-items: center; gap: 20px;
  padding-inline: var(--bord-page);
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.entete.defile { background: rgba(5, 7, 11, 0.74); border-bottom-color: var(--bord); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.marque { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.marque__logo { width: 32px; height: 32px; flex: none; }
.logo-fond { fill: #0b1219; stroke: rgba(60, 240, 197, 0.38); stroke-width: 1; }
.logo-faisceau { fill: rgba(60, 240, 197, 0.2); }
.logo-arc { fill: none; stroke: var(--menthe); stroke-width: 1.6; stroke-linecap: round; opacity: 0.85; }
.logo-point { fill: var(--menthe); }
.logo-cible { fill: var(--ambre); }
.marque__nom { font: 600 16px/1 var(--police-titre); letter-spacing: -0.01em; white-space: nowrap; }
.marque__par { padding-left: 11px; border-left: 1px solid var(--bord-fort); font: 500 10.5px/1 var(--police-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--doux); white-space: nowrap; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 9px 13px; border-radius: 999px; color: var(--texte-2); font-size: 14px; font-weight: 500; text-decoration: none; transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--texte); background: var(--surface-2); }
.entete__menu { display: none; }

/* =========================================================================
   L'expérience 3D
   ========================================================================= */
.experience { position: relative; }
.scene {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100svh;
  margin-bottom: -100vh; margin-bottom: -100svh;
  overflow: hidden;
  background: #05070b;
}
.scene__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease; } /* 0,8 s : la rue est là pendant le 1er excès (rouge de 0,25 à 2,25 s) */
.scene-prete .scene__canvas { opacity: 1; }
.scene__repli {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 72% 58%, rgba(60, 240, 197, 0.14), transparent 62%),
    radial-gradient(40% 40% at 86% 82%, rgba(255, 181, 71, 0.07), transparent 70%),
    linear-gradient(180deg, #0a0f19 0%, #05070b 70%);
  transition: opacity 1.4s ease;
}
.scene__repli::after {
  content: ''; position: absolute; right: 4%; top: 52%;
  width: min(62vw, 760px); aspect-ratio: 1.6;
  transform: translateY(-50%);
  background: conic-gradient(from 250deg at 100% 50%, transparent 0deg, rgba(60, 240, 197, 0.25) 0deg 40deg, transparent 40deg);
  -webkit-mask: repeating-radial-gradient(circle at 100% 50%, #000 0 1.5px, transparent 1.5px 34px);
          mask: repeating-radial-gradient(circle at 100% 50%, #000 0 1.5px, transparent 1.5px 34px);
  opacity: 0.75;
}
.scene-prete .scene__repli { opacity: 0; }
.scene__voile {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.94) 0%, rgba(5, 7, 11, 0.72) 26%, rgba(5, 7, 11, 0.18) 48%, rgba(5, 7, 11, 0) 62%),
    linear-gradient(0deg, rgba(5, 7, 11, 0.9) 0%, rgba(5, 7, 11, 0) 26%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.7) 0%, rgba(5, 7, 11, 0) 16%);
}
.scene__calque { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* les panneaux de texte qui défilent par-dessus */
.panneau {
  position: relative; z-index: 1;
  pointer-events: none;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--entete) + 32px) var(--bord-page) 56px;
}
.panneau__contenu, .defiler { pointer-events: auto; }
.panneau__contenu {
  width: min(540px, 100%);
  opacity: var(--o, 1);
  transform: translate3d(0, var(--y, 0px), 0);
  will-change: opacity, transform;
}
.panneau--hero .panneau__contenu { width: min(680px, 100%); }
/* le chapeau reste lisible quand des phares passent derrière (écran large) */
.panneau--hero .chapeau { text-shadow: 0 1px 2px rgba(5, 7, 11, 0.9), 0 0 18px rgba(5, 7, 11, 0.85); }
@media (min-width: 761px) { .panneau--hero .chapeau { max-width: 34ch; } }
.panneau h1 { font-size: clamp(44px, 6.6vw, 96px); line-height: 0.97; letter-spacing: -0.04em; font-weight: 600; }
/* accroche à deux niveaux : la question du visiteur, puis la promesse en gros */
.panneau--hero h1 .h1__question { display: block; font-size: 0.6em; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.panneau--hero h1 em { display: block; margin-top: 0.04em; }
.panneau h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--menthe) 10%, #a8fbe6 55%, var(--ambre) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.panneau h2 { font-size: clamp(34px, 4.4vw, 62px); }
.panneau .numero { margin-bottom: 20px; font: 500 12px/1 var(--police-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--menthe); }
.panneau .panneau__contenu > p:not(.numero):not(.surtitre):not(.chapeau) { margin-top: 20px; max-width: 46ch; font-size: 18px; color: var(--texte-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.puces-hero { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; font: 500 12.5px var(--police-mono); color: var(--doux); }
.puces-hero li { display: inline-flex; align-items: center; gap: 9px; }
.puces-hero li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--menthe); box-shadow: 0 0 8px var(--menthe); }
.jetons { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; }
.jetons li { padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(60, 240, 197, 0.3); background: rgba(60, 240, 197, 0.07); color: var(--menthe-pale); font: 500 13px var(--police-mono); }
.defiler {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--doux); text-decoration: none;
  font: 500 10.5px var(--police-mono); letter-spacing: 0.18em; text-transform: uppercase;
  opacity: var(--o, 1);
}
.defiler i { position: relative; width: 22px; height: 34px; border: 1.5px solid var(--bord-fort); border-radius: 12px; }
.defiler i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--menthe); animation: molette 1.8s var(--sortie) infinite; }

/* le panneau « dernier passage » */
.hud {
  --c: var(--menthe);
  position: absolute; right: var(--bord-page); top: calc(var(--entete) + 28px); z-index: 2;
  width: 252px; padding: 15px 18px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15, 19, 27, 0.8), rgba(8, 10, 15, 0.82));
  border: 1px solid var(--bord);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: var(--hud-o, 1);
  transition: border-color 0.4s;
}
.hud[data-etat='hausse'] { --c: var(--ambre); }
.hud[data-etat='exces'] { --c: var(--rouge); }
.hud__sim { display: inline-flex; align-items: center; gap: 7px; font: 500 10px var(--police-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--doux); }
.hud__sim i { width: 6px; height: 6px; border-radius: 50%; background: var(--rouge); box-shadow: 0 0 8px var(--rouge); animation: battement 1.4s ease-in-out infinite; }
.hud__titre { margin-top: 12px; font: 500 10.5px var(--police-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--texte-2); }
.hud__vitesse { display: flex; align-items: flex-end; gap: 10px; margin-top: 8px; }
.hud__afficheur { width: 118px; color: var(--c); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 65%, transparent)); transition: color 0.3s; }
.hud__unite { padding-bottom: 6px; font: 600 14px var(--police-mono); color: var(--texte-2); }
.hud__sens { margin-top: 8px; font: 500 12.5px var(--police-mono); color: var(--c); transition: color 0.3s; }
.hud__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--bord); }
.hud__stats dt { font: 500 9.5px var(--police-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--doux); }
.hud__stats dd { margin: 4px 0 0; font: 600 19px/1 var(--police-titre); font-variant-numeric: tabular-nums; }
.hud.flash .hud__afficheur { animation: eclat 0.6s ease-out; }

/* rail des 4 étapes */
.rail { position: absolute; right: var(--bord-page); bottom: 40px; z-index: 2; display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.rail li { display: flex; align-items: center; justify-content: flex-end; gap: 12px; cursor: pointer; pointer-events: auto; font: 500 10.5px var(--police-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--doux); }
.rail li::after { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--bord-fort); transition: width 0.35s var(--sortie), background 0.35s; }
.rail li span { opacity: 0; transform: translateX(6px); transition: opacity 0.35s, transform 0.35s var(--sortie); }
.rail li.actif::after { width: 34px; background: var(--menthe); box-shadow: 0 0 10px var(--menthe); }
.rail li.actif span, .rail li:hover span { opacity: 1; transform: none; color: var(--texte); }

/* étiquettes posées sur les autos */
.tag { --c: var(--menthe); position: absolute; left: 0; top: 0; width: 0; height: 0; visibility: hidden; will-change: transform; }
.tag.est-visible { visibility: visible; }
.tag[data-etat='hausse'] { --c: var(--ambre); }
.tag[data-etat='exces'] { --c: var(--rouge); }
.tag__boite {
  position: absolute; left: 0; bottom: 34px; transform: translateX(-50%);
  padding: 7px 13px 8px; border-radius: 13px;
  background: rgba(6, 9, 14, 0.86);
  border: 1px solid color-mix(in srgb, var(--c) 65%, transparent);
  box-shadow: 0 0 30px -8px var(--c), inset 0 0 16px -10px var(--c);
  text-align: center; white-space: nowrap;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.tag__vitesse { display: flex; align-items: baseline; justify-content: center; gap: 5px; }
.tag__nombre { font: 700 27px/1 var(--police-mono); font-variant-numeric: tabular-nums; color: var(--c); text-shadow: 0 0 16px color-mix(in srgb, var(--c) 70%, transparent); }
.tag__unite { font: 600 11px var(--police-mono); color: var(--texte-2); }
.tag__meta { display: flex; justify-content: center; gap: 9px; margin-top: 5px; font: 500 10.5px var(--police-mono); color: var(--texte-2); }
.tag__sens { color: var(--c); }
.tag__tige { position: absolute; left: -0.5px; bottom: 0; width: 1px; height: 34px; background: linear-gradient(to top, color-mix(in srgb, var(--c) 30%, transparent), var(--c)); }
.tag__tige::after { content: ''; position: absolute; left: -3px; bottom: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.tag--final .tag__boite { border-style: dashed; }
.tag--final .tag__sens { color: var(--texte); }

.annot {
  position: absolute; left: 0; top: 0; opacity: 0;
  margin: -60px 0 0 14px;
  padding: 8px 12px 9px;
  border-left: 1.5px solid var(--menthe);
  background: linear-gradient(90deg, rgba(60, 240, 197, 0.13), rgba(60, 240, 197, 0));
  white-space: nowrap; pointer-events: none;
  transform: translate3d(-999px, -999px, 0);
}
.annot b { display: block; font: 600 16px/1.2 var(--police-titre); color: #e3fdf6; }
.annot span { font: 500 11px var(--police-mono); color: var(--texte-2); }
.annot--appareil { margin: -86px 0 0 18px; }
.annot--anneau { margin: -8px 0 0 -14px; padding: 0; border: 0; background: none; }
.annot--anneau b { font: 500 11px var(--police-mono); color: #9ff3dd; text-shadow: 0 0 8px rgba(0, 0, 0, 0.9); }

/* =========================================================================
   Sections
   ========================================================================= */
.section { position: relative; z-index: 2; padding-block: clamp(76px, 9.5vw, 132px); background: var(--fond); }
.section__entete { max-width: 740px; }
.section__entete--centre { margin-inline: auto; text-align: center; }
.section__entete--centre .chapeau { margin-inline: auto; }
.section h2 { font-size: clamp(36px, 4.6vw, 64px); }

/* cartes « pourquoi » */
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; }
.carte { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--bord); transition: border-color 0.3s, transform 0.4s var(--sortie); }
.carte { padding: 28px 24px 28px; }
.carte::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, -30%), rgba(60, 240, 197, 0.13), transparent 60%); opacity: 0; transition: opacity 0.35s; }
.carte:hover { border-color: rgba(60, 240, 197, 0.28); }
.carte:hover::before { opacity: 1; }
.carte__icone { width: 42px; height: 42px; fill: none; stroke: var(--menthe); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.carte__icone .fin { stroke: var(--ambre); }
.carte h3 { margin-top: 24px; font-size: 21px; }
.carte p { margin-top: 10px; color: var(--texte-2); font-size: 15.5px; }

/* mise en route */
.section--mise { background: linear-gradient(180deg, var(--fond) 0%, #070a10 50%, var(--fond) 100%); }
.grille-2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.grille-2--inverse > :first-child { order: 2; }
.etapes { display: grid; list-style: none; margin: 44px 0 0; padding: 0; }
.etapes li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--bord); }
.etapes li:last-child { border-bottom: 1px solid var(--bord); }
.etapes__n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(60, 240, 197, 0.08); box-shadow: inset 0 0 0 1px rgba(60, 240, 197, 0.3); color: var(--menthe); font: 600 16px var(--police-mono); }
.etapes h3 { font-size: 20px; }
.etapes p { margin-top: 6px; color: var(--texte-2); font-size: 15.5px; }

.mise__visuel { position: relative; min-height: 600px; }
.mise__visuel::before { content: ''; position: absolute; inset: 10% 0 0 10%; background: radial-gradient(50% 50% at 60% 50%, rgba(60, 240, 197, 0.16), transparent 70%); filter: blur(20px); }
.etiquette {
  position: absolute; left: -12px; top: 30px; z-index: 1;
  width: 268px; padding: 16px 16px 14px;
  border-radius: 14px;
  background: #f4f2eb; color: #111;
  box-shadow: 0 44px 80px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.1);
  transform: rotate(-7deg);
}
.etiquette__haut { display: flex; align-items: center; gap: 11px; }
.etiquette__logo { width: 34px; height: 34px; }
.etiquette__haut b { display: block; font: 700 18px/1.1 var(--police-mono); letter-spacing: -0.02em; }
.etiquette__haut span { font-size: 12px; color: #555; }
.etiquette__qr { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.etiquette__qr figure { margin: 0; }
.qr { width: 100%; height: auto; aspect-ratio: 1; border-radius: 4px; }
.etiquette__qr figcaption { margin-top: 7px; text-align: center; font: 600 11px var(--police-mono); color: #222; }
.etiquette__mdp { margin-top: 14px; padding-top: 10px; border-top: 1px dashed #c9c5b8; font: 500 12px var(--police-mono); color: #333; }
.etiquette__mdp span { letter-spacing: 0.1em; }

.tel {
  position: relative;
  aspect-ratio: 9 / 19.2;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(150deg, #30353f, #0d0f13 38%, #1c1f25 70%, #0a0b0e);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 70px 120px -50px rgba(0, 0, 0, 0.95), 0 0 90px -30px rgba(60, 240, 197, 0.28);
}
.tel::before { content: ''; position: absolute; top: 21px; left: 50%; z-index: 3; width: 86px; height: 25px; margin-left: -43px; border-radius: 20px; background: #000; }
.tel__ecran { position: relative; height: 100%; overflow: hidden; border-radius: 37px; background: #0b0d11; }
.tel--petit { position: absolute; right: 0; bottom: 0; z-index: 2; width: 252px; transform: rotate(4deg); }
.tel--grand { width: min(372px, 100%); }

/* écran de mise en route */
.config { height: 100%; padding: 58px 18px 18px; font-size: 13px; background: radial-gradient(110% 50% at 50% 0%, #121a24, #0b0d11 60%); }
.config__titre { font: 600 15px var(--police-titre); text-align: center; }
.config__vue { position: absolute; inset: 92px 18px 18px; transition: opacity 0.6s, transform 0.6s var(--sortie); }
.config__vue--ok { opacity: 0; transform: translateY(14px); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.config--ok .config__vue--choix { opacity: 0; transform: translateY(-14px); }
.config--ok .config__vue--ok { opacity: 1; transform: none; }
.config__etape { font: 500 10.5px var(--police-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--doux); }
.config__reseaux { list-style: none; margin: 10px 0 0; padding: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); }
.config__reseaux li { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.config__reseaux li:first-child { border-top: 0; }
.config__reseaux li.choisi { color: var(--menthe); }
.config__reseaux li.choisi span::before { content: '● '; font-size: 9px; vertical-align: 2px; }
.signal { display: inline-block; width: 18px; height: 12px; background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 7px, currentColor 7px 11px, transparent 11px 14px, currentColor 14px 18px); -webkit-mask: linear-gradient(to top right, #000 50%, transparent 50%); mask: linear-gradient(to top right, #000 50%, transparent 50%); opacity: 0.9; }
.signal--2 { opacity: 0.55; }
.signal--1 { opacity: 0.3; }
.config__champ { display: grid; gap: 6px; margin-top: 14px; color: var(--doux); font-size: 11.5px; }
.config__champ span { padding: 11px 12px; border-radius: 10px; border: 1px solid rgba(60, 240, 197, 0.45); background: rgba(255, 255, 255, 0.04); color: var(--texte); letter-spacing: 0.15em; }
.config__bouton { margin-top: 14px; padding: 13px; border-radius: 12px; background: var(--menthe); color: #03140f; font-weight: 600; text-align: center; font-size: 12.5px; }
.config__ou { margin-top: 14px; color: var(--doux); font-size: 11.5px; text-align: center; }
.config__ou u { color: var(--texte-2); }
.config__succes { padding: 14px; border-radius: 14px; background: rgba(60, 240, 197, 0.1); border: 1px solid rgba(60, 240, 197, 0.35); color: var(--menthe-pale); }
.config__succes b { display: block; margin-bottom: 4px; color: var(--menthe); font: 600 17px var(--police-titre); }
.config__adresse { margin-top: 16px; font: 600 19px var(--police-mono); color: var(--texte); }
.config__conseil { margin-top: 14px; color: var(--doux); font-size: 12px; }

/* tableau de bord */
.section--tableau { background: radial-gradient(60% 50% at 25% 50%, rgba(60, 240, 197, 0.07), transparent 70%), var(--fond); }
.tableau__visuel { display: flex; flex-direction: column; align-items: center; }
.mention-demo { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255, 181, 71, 0.32); background: rgba(255, 181, 71, 0.07); color: var(--ambre); font: 500 11px var(--police-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.mention-demo i { width: 6px; height: 6px; border-radius: 50%; background: var(--ambre); }
.tb { display: flex; flex-direction: column; gap: 9px; height: 100%; padding: 52px 13px 14px; background: radial-gradient(120% 55% at 50% 0%, #111821, #0a0c10 62%); color: #e9edf3; font-size: 12px; }
.tb__entete { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
.tb__titre { font: 600 13.5px var(--police-titre); }
.tb__direct { display: inline-flex; align-items: center; gap: 6px; color: var(--menthe); font: 500 9.5px var(--police-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.tb__direct i { width: 6px; height: 6px; border-radius: 50%; background: var(--menthe); box-shadow: 0 0 8px var(--menthe); animation: battement 1.6s ease-in-out infinite; }
.tb__derniere { --c: var(--menthe); padding: 12px 12px 11px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); text-align: center; transition: border-color 0.4s; }
.tb__derniere[data-etat='hausse'] { --c: var(--ambre); }
.tb__derniere[data-etat='exces'] { --c: var(--rouge); }
.tb__derniere.flash { animation: carteEclat 0.9s ease-out; }
.tb__etiquette { font: 500 9.5px var(--police-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--doux); }
.tb__vitesse { display: flex; align-items: flex-end; justify-content: center; gap: 8px; margin-top: 7px; }
.tb__afficheur { width: 100px; aspect-ratio: 128 / 108; color: var(--c); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 60%, transparent)); transition: color 0.3s; }
.tb__vitesse > span { padding-bottom: 6px; font: 600 12.5px var(--police-mono); color: var(--texte-2); }
.tb__info { margin-top: 7px; font: 500 10px var(--police-mono); color: var(--texte-2); }
.tb__sens { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tb__carte, .tb__bloc { padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.06); }
.tb__nom { margin-bottom: 7px; overflow: hidden; font: 600 11px var(--police-titre); white-space: nowrap; text-overflow: ellipsis; }
.tb__carte dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; margin: 0; }
.tb__carte dt { font: 500 8.5px var(--police-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--doux); }
.tb__carte dd { margin: 2px 0 0; font: 600 15px/1.1 var(--police-titre); font-variant-numeric: tabular-nums; }
.tb__soustitre { margin-bottom: 7px; font: 600 11px var(--police-titre); }
.tb__svg { width: 100%; height: auto; overflow: visible; }
.tb-barre, .tb-col { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 0.7s var(--sortie); }
.tb-barre { fill: rgba(60, 240, 197, 0.34); }
.tb-barre--maintenant { fill: var(--menthe); }
.tb-col--ok { fill: rgba(60, 240, 197, 0.55); }
.tb-col--hausse { fill: rgba(255, 181, 71, 0.78); }
.tb-col--exces { fill: rgba(255, 79, 109, 0.82); }
.tb-axe { font: 500 8px var(--police-mono); fill: var(--doux); }
.tb-limite { stroke: #fff; stroke-width: 1; stroke-dasharray: 3 3; opacity: 0.5; }
.tb-limite-txt { font: 500 8px var(--police-mono); fill: var(--texte-2); }
.tb__liste { display: grid; align-content: start; min-height: 119px; list-style: none; margin: 0; padding: 0; }
.tb__liste li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; padding: 6px 2px; border-top: 1px solid rgba(255, 255, 255, 0.05); font: 500 10px var(--police-mono); }
.tb__liste li:first-child { border-top: 0; }
.tb__liste time { color: var(--doux); }
.tb__liste b { color: var(--menthe); font-size: 12.5px; }
.tb__liste b[data-etat='hausse'] { color: var(--ambre); }
.tb__liste b[data-etat='exces'] { color: var(--rouge); }
.tb__liste small { color: var(--doux); font-size: 8.5px; }
.tb__liste span { color: var(--texte-2); text-align: right; }
.tb__liste li.nouveau { animation: entree 0.6s var(--sortie); }

/* pour qui */
.usages { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 52px; border-top: 1px solid var(--bord); }
.usage { padding: 30px 24px 6px; border-left: 1px solid var(--bord); }
.usage:first-child { padding-left: 0; border-left: 0; }
.usage__n { color: var(--menthe); font: 500 12px var(--police-mono); }
.usage h3 { margin-top: 18px; font-size: 22px; }
.usage p { margin-top: 10px; color: var(--texte-2); font-size: 15.5px; }

/* FAQ */
.section--faq { background: linear-gradient(180deg, var(--fond), #070a10); }
.grille-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq details { border-top: 1px solid var(--bord); }
.faq details:last-child { border-bottom: 1px solid var(--bord); }
.faq summary { position: relative; padding: 22px 52px 22px 0; cursor: pointer; list-style: none; font: 600 18.5px/1.35 var(--police-titre); letter-spacing: -0.012em; transition: color 0.2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--menthe-pale); }
.faq summary::after {
  content: ''; position: absolute; right: 4px; top: 50%;
  width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  border: 1px solid var(--bord-fort);
  background: linear-gradient(var(--texte), var(--texte)) center / 10px 1.5px no-repeat, linear-gradient(var(--texte), var(--texte)) center / 1.5px 10px no-repeat;
  transition: transform 0.3s var(--sortie), border-color 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); border-color: var(--menthe); }
.faq details p { max-width: 66ch; padding: 0 52px 24px 0; color: var(--texte-2); }
/* la fiche technique (PDF), sous le titre de la FAQ */
.doc { margin-top: 40px; padding: 24px; border-radius: var(--rayon); border: 1px solid var(--bord); background: var(--surface); }
.doc__titre { color: var(--menthe); font: 500 12px/1.2 var(--police-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.doc > p:not(.doc__titre) { margin-top: 10px; color: var(--texte-2); font-size: 15.5px; }
.doc .jetons { margin-top: 18px; }
.doc .jetons li { padding: 6px 11px; font-size: 12px; }
.doc__bouton { margin-top: 22px; }
.doc__bouton--guide { display: flex; width: fit-content; margin-top: 10px; } /* sous la fiche PDF : mène à /installation/ */
.doc__format {padding: 4px 7px; border-radius: 6px; background: rgba(60, 240, 197, 0.12); color: var(--menthe); font: 600 11px/1 var(--police-mono); letter-spacing: 0.06em; }

/* pied de page */
.pied { position: relative; z-index: 2; padding-block: 52px 40px; border-top: 1px solid var(--bord); background: #040509; }
.pied__grille { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: start; }
.pied__par { margin-top: 12px; color: var(--doux); font-size: 14px; }
.pied__par a { color: var(--texte); text-underline-offset: 3px; }
.pied__liens { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pied__liens a { color: var(--texte-2); font-size: 14px; text-decoration: none; }
.pied__liens a:hover { color: var(--texte); }
.pied__legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--bord); color: var(--doux); font-size: 13px; line-height: 1.7; }

/* afficheur 7 segments */
.segments { width: 100%; height: auto; overflow: visible; }
.seg { fill: currentColor; opacity: 0.07; transition: opacity 0.12s; }
.seg.on { opacity: 1; }

/* ---------- apparitions ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--sortie), transform 0.9s var(--sortie); transition-delay: var(--delai, 0s); }
.js [data-reveal].vu { opacity: 1; transform: none; }

/* ---------- sans WebGL ---------- */
.sans-3d .hud, .sans-3d .rail { display: none; }

/* ---------- capture de l'image de partage ---------- */
.capture .entete__menu, .capture .defiler, .capture .rail, .capture body::after { display: none; }
.capture .scene__canvas { transition: none; }

/* ---------- animations ---------- */
/* hors de l'écran, les animations sans fin s'arrêtent (app.js) */
.hors-ecran, .hors-ecran *, .hors-ecran::before, .hors-ecran *::after { animation-play-state: paused !important; }
@keyframes battement { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes molette { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes eclat { 0% { filter: drop-shadow(0 0 22px var(--c)) brightness(1.6); } 100% { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 65%, transparent)); } }
@keyframes carteEclat { 0% { border-color: var(--c); box-shadow: 0 0 30px -6px var(--c); } 100% { border-color: rgba(255, 255, 255, 0.07); box-shadow: none; } }
@keyframes entree { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =========================================================================
   Écrans plus petits
   ========================================================================= */
@media (max-width: 1080px) {
  .cartes { grid-template-columns: repeat(3, 1fr); }
  .usages { grid-template-columns: repeat(2, 1fr); }
  .usage:nth-child(3) { padding-left: 0; border-left: 0; }
  .usage:nth-child(n + 3) { border-top: 1px solid var(--bord); }
}

@media (max-width: 960px) {
  .nav {
    position: fixed; inset: var(--entete) 0 0 0;
    flex-direction: column; gap: 0;
    padding: 8px var(--gouttiere) 26px;
    overflow-y: auto; overscroll-behavior: contain;
    background: #05070b;
    border-bottom: 1px solid var(--bord);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--sortie), visibility 0.25s;
  }
  .menu-ouvert .nav { opacity: 1; visibility: visible; transform: none; transition-property: opacity, transform; } /* visible tout de suite : le focus peut y entrer */
  .menu-ouvert .entete { background: #05070b; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-ouvert { overflow: hidden; }
  .nav a { padding: 15px 2px; border-radius: 0; border-bottom: 1px solid var(--bord); font-size: 18px; }
  .nav a:hover { background: none; }
  .entete__menu { margin-left: auto; display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; border-radius: 12px; border: 1px solid var(--bord-fort); background: rgba(255, 255, 255, 0.04); cursor: pointer; }
  .entete__menu i { display: block; width: 18px; height: 1.5px; background: var(--texte); transition: transform 0.25s var(--sortie); }
  .entete__menu[aria-expanded='true'] i:first-of-type { transform: translateY(3.25px) rotate(45deg); }
  .entete__menu[aria-expanded='true'] i:last-of-type { transform: translateY(-3.25px) rotate(-45deg); }
  .marque__par { display: none; }
  .rail { display: none; }
  .grille-2, .grille-faq { grid-template-columns: 1fr; }
  /* cellulaire : la fiche PDF passe sous les questions */
  .grille-faq__cote { display: contents; }
  .doc { order: 2; margin-top: 0; }
  .grille-2--inverse > :first-child { order: 0; }
  .mise__visuel { min-height: 560px; max-width: 520px; width: 100%; margin-inline: auto; }
}

@media (max-width: 760px) {
  .scene__voile {
    background:
      linear-gradient(0deg, rgba(5, 7, 11, 0.97) 0%, rgba(5, 7, 11, 0.9) 46%, rgba(5, 7, 11, 0.55) 62%, rgba(5, 7, 11, 0) 76%),
      linear-gradient(180deg, rgba(5, 7, 11, 0.6) 0%, rgba(5, 7, 11, 0) 18%);
  }
  .panneau--hero .surtitre { margin-bottom: 14px; }
  .panneau { align-items: flex-end; padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
  .panneau h1 { font-size: clamp(38px, 10.6vw, 54px); }
  .panneau--hero h1 { font-size: clamp(46px, 14vw, 64px); }
  .panneau--hero h1 .h1__question { font-size: 0.58em; }
  .panneau h2 { font-size: clamp(30px, 8.4vw, 42px); }
  .panneau .panneau__contenu > p:not(.numero):not(.surtitre):not(.chapeau) { font-size: 16.5px; }
  .chapeau { font-size: 16.5px; }
  .actions .bouton { flex: 1 1 auto; }
  /* sur cell, les 3 garanties prennent la place du 2e bouton, qui ne faisait que descendre d'un écran */
  .actions .bouton--fantome { display: none; }
  .puces-hero { gap: 6px 14px; margin-top: 18px; font-size: 11.5px; color: var(--texte-2); }
  .defiler { display: none; }
  /* sur cellulaire, le panneau se réduit à une pastille : les étiquettes portent les vitesses */
  .hud { top: calc(var(--entete) + 10px); left: var(--gouttiere); right: auto; bottom: auto; width: auto; padding: 7px 11px; border-radius: 999px; }
  .hud__titre, .hud__vitesse, .hud__sens, .hud__stats { display: none; }
  .annot:not(.annot--appareil):not(.annot--anneau) { display: none; }
  .tag__nombre { font-size: 22px; }
  .tag__boite { padding: 6px 10px 7px; }
  .annot b { font-size: 14px; }
  .cartes { grid-template-columns: 1fr; }
  .pied__grille { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .usages { grid-template-columns: 1fr; }
  .usage { padding-left: 0 !important; border-left: 0 !important; border-top: 1px solid var(--bord); }
  .usage:first-child { border-top: 0; }
  .mise__visuel { min-height: 0; display: grid; gap: 28px; justify-items: center; }
  .etiquette, .tel--petit { position: relative; left: auto; top: auto; right: auto; bottom: auto; }
  .etiquette { width: min(300px, 100%); transform: rotate(-3deg); }
  .tel--petit { width: min(272px, 86%); transform: rotate(2deg); }
  .faq summary { font-size: 17px; }
}

@media (max-width: 400px) {
  .entete { gap: 10px; }
  .marque { gap: 8px; }
  .marque__nom { font-size: 14px; }
}
@media (max-width: 340px) {
  .marque__nom { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .pastille, .hud__sim i, .tb__direct i, .defiler i::after { animation: none; }
}

/* =========================================================================
   Sélecteur de langue FR | EN : dans l'en-tête, et sous les liens du menu
   sur cellulaire. La langue active porte aria-current.
   ========================================================================= */
.langues { display: flex; align-items: center; align-self: center; gap: 2px; margin-left: 10px; padding: 3px; border: 1px solid var(--bord); border-radius: 999px; }
.nav .langues a { min-width: 34px; padding: 6px 8px; border: 0; border-radius: 999px; color: var(--doux); font: 500 11px/1 var(--police-mono); letter-spacing: 0.08em; text-align: center; }
.nav .langues a:hover { color: var(--texte); background: var(--surface-2); }
.nav .langues a[aria-current] { color: var(--texte); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--bord-fort); }

/* écran moyen : la nav française, plus longue, manque de place ; le « par ConceptionJFG » cède la sienne */
@media (min-width: 961px) and (max-width: 1150px) {
  html[lang^="fr"] .marque__par { display: none; }
}
@media (min-width: 961px) and (max-width: 1020px) {
  .nav a { padding-inline: 10px; }
}

/* menu cellulaire : le sélecteur sous les liens, avec des cibles faites pour le doigt */
@media (max-width: 960px) {
  .langues { align-self: flex-start; margin: 22px 0 0; padding: 4px; }
  .nav .langues a { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; min-height: 44px; padding: 0 14px; font-size: 13px; }
}

/* QT-01 : ordi et tablette en paysage (761 px et plus) : la question sur deux lignes, pour laisser la rue (et ses étiquettes) à droite */
@media (min-width: 761px) { .panneau--hero h1 .h1__question { max-width: 9.5em; } }

/* QT-05 : écran bas (cell en paysage, portable zoomé à 200 %) : le texte des panneaux prend presque tout l'écran.
   La pastille et les annotations (radar, anneaux) n'y tiennent pas ; les étiquettes de vitesse restent, sauf à l'accueil. */
@media (max-height: 500px) {
  .hud, .annot { display: none; }
  .scene__calque { opacity: clamp(0, (var(--p, 0) - 0.12) * 12, 1); }
}

/* QT-07 : les puces de l'accueil (petit texte gris) restent lisibles quand des phares passent derrière */
.puces-hero { text-shadow: 0 0 10px rgba(5, 7, 11, 0.95), 0 0 3px rgba(5, 7, 11, 0.9); }

/* QT-11 : au doigt, les liens du pied de page font 44 px de haut (ils en faisaient 22, à 8 px les uns des autres) */
@media (pointer: coarse) {
  .pied__liens { row-gap: 0; }
  .pied__liens a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Cell : la pastille « Simulation en direct » est là où passent les étiquettes (iPhone dans Safari : 390 × 664).
   L'étiquette de vitesse passe devant, et la pastille s'efface tant qu'elle est couverte (scene.js). */
@media (max-width: 760px) {
  .scene__calque { z-index: 3; }
  .hud.hud--recule { opacity: calc(var(--hud-o, 1) * 0.25); }
}
/* l'étiquette finale n'affiche plus de nombre de lectures */
.tag__dist:empty { display: none; }
