/* ---------------------------------------------------------------------------
   TrackAuto — feuille de style partagée par les 5 pages de la landing.
   ---------------------------------------------------------------------------
   Le bloc above-the-fold (reset, jetons, navbar, hero) est DUPLIQUÉ en ligne
   dans le <head> de chaque page : c'est ce qui permet au premier rendu de ne
   dépendre d'aucune requête réseau. Une modification portant sur ces
   sélecteurs doit donc être reportée dans les 5 <style> critiques, sinon le
   rendu initial et le rendu final divergeront le temps d'un flash.

   Toutes les animations ne touchent que `transform` et `opacity` : ce sont les
   deux seules propriétés que le navigateur compose sans recalculer la mise en
   page (règle Core Web Vitals du chantier).
   --------------------------------------------------------------------------- */

:root {
  --bg: #0A0A0F;
  --bg-2: #111118;
  --accent: #6C63FF;
  --accent-hover: #8B85FF;
  --text: #F0F0F8;
  --muted: #9090A8;
  --border: #222230;
  --badge-bg: #1A2A1A;
  --badge-fg: #4ADE80;
  --radius-card: 16px;
  --radius-btn: 10px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; }

h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 { font-size: 20px; font-weight: 600; line-height: 1.4; }

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Barre de menu, hero et section « surveillance » : conteneur plus large,
   marges proportionnelles à l'écran (moins de vide sur les grands écrans
   et avec la mise à l'échelle Windows à 150-175 %). */
.container.container-wide {
  max-width: 1440px;
  padding: 0 clamp(24px, 4vw, 64px);
}

/* -- Navbar -------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(10, 10, 15, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

/* Logo à gauche, langue + boutons à droite ; la zone des liens prend TOUT
   l'espace restant entre les deux et les centre dedans : ils sont donc à
   égale distance du logo et du choix de langue, quelle que soit la largeur
   des boutons dans chaque langue. */
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-text { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.logo-img { display: block; height: 30px; width: auto; }
.logo-stack { display: inline-flex; align-items: center; gap: 8px; }
/* tête du caméléon centrée sur la hauteur des deux lignes (nom + slogan) */
.logo-sym { display: block; height: 54px; width: auto; }
.logo-words { display: flex; flex-direction: column; align-items: flex-start; }
.logo-name { display: block; height: 17px; width: auto; }
.logo-slogan { display: block; margin-top: 5px; font-size: 11px; line-height: 1;
  font-weight: 500; color: rgba(255,255,255,.72); white-space: nowrap; letter-spacing: .01em; }

.nav-links {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  gap: 40px;
  font-size: 16px;
  font-weight: 500;
  color: #C4C4D6;
}

/* Survol : le texte s'éclaire et un trait violet se déploie depuis le
   centre (transform seul, aucun recalcul de mise en page). */
.nav-links a { position: relative; padding: 6px 0; transition: color 0.2s; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

/* -- Sélecteur de langue ------------------------------------------------- */
/* <details> plutôt qu'un menu piloté en JavaScript : l'ouverture/fermeture,
   le clavier et le focus sont pris en charge par le navigateur, et le menu
   fonctionne donc même si aucun script ne s'exécute. */

.lang { position: relative; }

.lang > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  font-size: 14px;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary:hover, .lang[open] > summary { border-color: var(--accent); color: var(--text); }

/* Drapeaux dessinés en SVG : les emoji drapeaux ne s'affichent pas sous
   Windows (Chrome y écrit « FR », « DE »…). Le drapeau du bouton est celui
   de la langue de la page affichée. */
.flag {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 16px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.lang-chevron { transition: transform 0.2s; }
.lang[open] .lang-chevron { transform: rotate(180deg); }

/* Menu centré sous le drapeau (il ne recouvre plus les liens du menu) et
   compact : juste la largeur des noms de langue. */
.lang-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 6px);
  z-index: 10;
  width: max-content;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
  transition: background-color 0.2s, color 0.2s;
}
.lang-menu .flag { width: 20px; height: 13px; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: rgba(108, 99, 255, 0.12); color: var(--text); }
/* Langue affichée : surlignée, en gras, coche à droite. */
.lang-menu a[aria-current="true"] {
  background: rgba(108, 99, 255, 0.16);
  color: var(--text);
  font-weight: 600;
}
.lang-check { margin-left: auto; padding-left: 4px; color: var(--accent-hover); }

/* -- Boutons ------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s,
              box-shadow 0.2s, color 0.2s;
}

.btn-primary { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.35);
}

.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--accent); }
.btn-secondary:hover {
  background: rgba(108, 99, 255, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.2);
}

.btn-sm { padding: 9px 18px; font-size: 14px; }

/* -- Badge --------------------------------------------------------------- */

.badge {
  display: inline-block;
  background: var(--badge-bg);
  color: var(--badge-fg);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

/* -- Hero ---------------------------------------------------------------- */

/* 80px en haut, et non 96px : le titre ouvre désormais le hero (le badge est
   passé sous lui), il n'y a plus de pastille pour absorber la hauteur. C'est
   assez pour que la navbar collante ne vienne jamais le recouvrir. */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 64px;
  text-align: center;
}

/* Halo violet derrière le titre. En pseudo-élément et non en image : aucune
   requête, aucun décalage de mise en page possible. */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  width: 1200px;
  height: 1200px;
  margin-left: -600px;
  pointer-events: none;
  background: radial-gradient(circle 600px at center,
              rgba(108, 99, 255, 0.08), rgba(108, 99, 255, 0) 70%);
}

.hero > .container { position: relative; }

/* Marge haute nulle : le titre est le premier élément du hero, sa marge
   s'ajouterait au padding de la section. C'est le badge, désormais en
   dessous, qui porte l'écart. */
.hero h1 { margin: 0 auto; max-width: 860px; }
.hero .badge { margin-top: 20px; }

.hero-sub {
  margin: 24px auto 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* -- Hero vidéo (plein écran) -------------------------------------------- */
/* Remplit exactement la fenêtre sous la barre de navigation (77 px avec sa
   bordure, 69 px sous 1024 px). Tailles de texte et espacements suivent
   AUSSI la hauteur de l'écran (vh) : sur un portable zoomé à 125 %, le
   bouton doit rester visible sans défiler. Sélecteurs `.hero.hero-video`
   (deux classes) : ils l'emportent sur les anciennes règles `.hero` du bloc
   mobile, quel que soit leur ordre. */

.hero.hero-video {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  padding: 4vh 0;
  background: #07070B;
}
.hero-video::before { display: none; }

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* La voiture roule sur la droite de l'image : sur un écran étroit, le
     recadrage la garde dans le champ. */
  object-position: 72% center;
}

/* Voile sombre : garde le texte lisible et fond le bas de la vidéo dans la
   couleur de la page. */
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 11, 0.6) 0%,
              rgba(7, 7, 11, 0.45) 45%, rgba(7, 7, 11, 0.7) 88%, var(--bg) 100%);
}

.hero-video > .container { position: relative; z-index: 1; }

/* Hero sur ordinateur : texte rapproché du bord gauche (sans le coller) et
   titre limité à la moitié gauche, pour ne plus mordre sur la voiture. */
@media (min-width: 1024px) {
  .hero-video > .container.container-wide { max-width: none; padding-left: clamp(24px, 3vw, 56px); }
  .hero.hero-video .hero-copy h1 { max-width: 58vw; }
}

/* Titre sur DEUX lignes exactement : chaque ligne ne se coupe jamais, et la
   taille se règle sur la place disponible (largeur ET hauteur). */
.hero.hero-video h1 {
  max-width: none;
  margin: 0;
  font-size: min(64px, calc((100vw - 48px) / 12.4), 8vh);
  line-height: 1.12;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.hero-line { display: block; white-space: nowrap; }

.hero-accent {
  background: linear-gradient(90deg, #8B85FF, #B9B4FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-video .hero-sub {
  max-width: 620px;
  margin: min(24px, 3vh) auto 0;
  color: #D6D6E4;
  font-size: clamp(15px, min(1.45vw, 2.7vh), 20px);
  line-height: 1.6;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero-reassure {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: min(22px, 2.6vh) auto 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #B9B9CC;
}
.hero-reassure span + span::before {
  content: '·';
  margin: 0 12px;
  color: var(--accent-hover);
}

/* Un seul bouton, mis en avant, et sa phrase dessous. */
.hero-video .hero-cta {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: min(32px, 4vh);
}
.btn-hero {
  padding: min(17px, 2.2vh) 36px;
  font-size: 17px;
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.45);
}
.hero-note { font-size: 13px; color: #A8A8BC; }

/* Le bloc bouton + phrase prend la largeur du bouton : la phrase est
   centrée sous lui (tablette, téléphone), ou alignée sur son bord gauche
   sur ordinateur, comme tout le reste du texte (voir plus bas). */
.hero-video .hero-cta { display: inline-flex; }
.hero-video .hero-note { align-self: center; }

/* Ordinateur : texte en bas à gauche. La voiture roule à droite et les
   annonces apparaissent au centre de la vidéo ; un texte centré les
   cacherait. Le voile s'assombrit vers la gauche, derrière le texte. */
@media (min-width: 1024px) {
  .hero.hero-video { align-items: flex-end; padding: 4vh 0 8vh; text-align: left; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 7, 11, 0.88) 0%, rgba(7, 7, 11, 0.62) 38%,
                      rgba(7, 7, 11, 0.1) 68%, rgba(7, 7, 11, 0) 100%),
      linear-gradient(180deg, rgba(7, 7, 11, 0.35) 0%, rgba(7, 7, 11, 0) 30%,
                      rgba(7, 7, 11, 0) 80%, var(--bg) 100%);
  }
  .hero-video .hero-sub { margin-left: 0; }
  .hero-reassure { justify-content: flex-start; margin-left: 0; }
  .hero-video .hero-cta { align-items: flex-start; }
  .hero-video .hero-note { align-self: flex-start; }
}

@media (max-width: 1023px) {
  .hero.hero-video { min-height: calc(100vh - 69px); min-height: calc(100svh - 69px); }
}

/* Téléphone : garanties l'une sous l'autre (le point séparateur se
   retrouvait seul en début de ligne), bouton sur toute la largeur. */
@media (max-width: 767px) {
  .hero.hero-video { padding: 5vh 0; }
  .hero-reassure { flex-direction: column; align-items: center; gap: 2px; }
  .hero-reassure span + span::before { content: none; }
  .hero-video .hero-cta { display: flex; align-items: stretch; }
}

/* -- Surveillance (démo, juste sous le hero) ----------------------------- */
/* Section autonome « au-dessus de la ligne de flottaison » : sur ordinateur
   elle remplit exactement la fenêtre sous la barre de menu (77 px), texte à
   gauche, démo à droite. Tailles et marges suivent aussi la hauteur (vh)
   pour qu'un portable zoomé voie tout sans défiler. Aucun prix affiché :
   une démo ne doit pas vieillir avec la cote. */

.watch { padding: 72px 0; }

.watch-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.watch-copy { min-width: 0; text-align: center; }

/* Titre sur DEUX lignes exactement, jamais coupées (taille ajustée par
   fitTitles() si une ligne dépasse). */
.watch-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.watch-title-line { display: block; white-space: nowrap; }
.watch-accent {
  background: linear-gradient(90deg, #8B85FF, #B9B4FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.watch-sub {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

/* Les trois promesses, une par ligne, chacune précédée d'une coche. */
.watch-facts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 26px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: #D6D6E4;
}
/* Coche posée en position absolue : le texte reste d'un seul tenant (le nom
   du pays est un élément à part, une grille flex l'aurait écarté). */
.watch-facts > span { position: relative; padding-left: 32px; line-height: 22px; }
.watch-facts > span::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.18);
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 800;
}

/* Démo : fenêtre d'application + notification posée par-dessus. */
.watch-demo { position: relative; width: 100%; max-width: 760px; margin: 0 auto; }

.watch-window {
  container-type: inline-size;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  text-align: left;
}

.watch-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.dot-r { background: #FF5F57; }
.dot-y { background: #FEBC2E; }
.dot-g { background: #28C840; }
.watch-bar-title {
  flex: 0 1 auto;
  min-width: 0;
  margin-left: 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.watch-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  color: var(--badge-fg);
  font-size: 12px;
  font-weight: 600;
}
.live-dot, .card-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--badge-fg);
}
.live-dot, .watch-card.is-new .card-dot { animation: watch-ping 2s ease-out infinite; }

.watch-body { display: grid; gap: 10px; padding: 14px; }

/* Critères et sites surveillés : une ligne chacun, libellé dans une colonne
   fixe (sur deux lignes au besoin). */
.watch-line {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.watch-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.watch-label {
  line-height: 1.3;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.watch-chip {
  padding: 3px 10px;
  border: 1px solid rgba(108, 99, 255, 0.35);
  border-radius: 20px;
  background: rgba(108, 99, 255, 0.12);
  color: #CFCBFF;
  font-size: 12px;
  font-weight: 500;
}
/* Sites : tous ceux qui sont ramassés sont cochés. */
.watch-site {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 20px;
  background: rgba(74, 222, 128, 0.07);
  color: var(--badge-fg);
  font-size: 11.5px;
}
.watch-site.is-soon { border-color: var(--border); background: none; color: var(--muted); }

/* Annonces détectées. */
.watch-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}
.watch-card.is-new {
  border-color: rgba(108, 99, 255, 0.6);
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.16), rgba(108, 99, 255, 0.04));
}
.card-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 300 / 189;
  object-fit: cover;
  border-radius: 8px;
  background: #1B1B28;
}
.card-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card-flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 600;
}
.card-flag .card-dot { background: var(--accent-hover); }
.watch-card.is-new .card-flag { color: var(--badge-fg); }
.watch-card.is-new .card-flag .card-dot { background: var(--badge-fg); }
.card-title { overflow: hidden; font-size: 15px; font-weight: 700; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.card-meta { color: var(--muted); font-size: 13px; }
.card-source { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; color: var(--muted); font-size: 12px; }
.src-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.src-lbc { background: #F56B2A; color: #fff; }
.src-2m { background: #FFD200; color: #111; }
.src-as24 { background: #F5F200; color: #111; }

.card-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.match-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.match-badge.is-full { background: #4ADE80; color: #062612; }
.match-badge.is-part { background: #A7F0C2; color: #062612; }
.match-badge.is-low { background: #D9D9E3; color: #1B1B28; }
/* 02/11/2026 (demande d'Abdul) : bonne affaire / sous la cote / à ne pas rater. */
.match-badge.is-hot {
  background: #EF4444; color: #fff; font-size: 12.5px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 6px 18px rgba(239, 68, 68, 0.45);
}
.match-badge.is-must { background: #FBBF24; color: #2A1A00; }
.crit-grid { display: grid; grid-template-columns: repeat(2, max-content); gap: 5px; }
.crit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 20px;
  background: var(--badge-bg);
  color: var(--badge-fg);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}
.crit.is-off { border-color: var(--border); background: none; color: #5C5C74; }

/* L'alerte envoyée : « TRACKAUTO vous prévient ». */
.watch-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 14px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(108, 99, 255, 0.45);
  border-radius: 14px;
  background: #1A1A26;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  text-align: left;
}
.watch-bell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
}
.watch-toast-text { display: flex; flex-direction: column; min-width: 0; }
.watch-toast-text strong { font-size: 13px; }
.watch-toast-text span { color: var(--muted); font-size: 12px; }

/* Animations discrètes, déclenchées une fois à l'arrivée sur la section
   (classes posées par le script ; sans lui, tout reste visible). */
@keyframes watch-ping {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  80%, 100% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}
@keyframes watch-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}
@keyframes watch-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(108, 99, 255, 0); }
  50% { box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.14); }
}
@keyframes watch-ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(14deg); }
  40% { transform: rotate(-12deg); }
  60% { transform: rotate(8deg); }
  80% { transform: rotate(-4deg); }
}
@keyframes watch-scan {
  0%, 7% { border-color: rgba(74, 222, 128, 0.9); color: #fff; }
  10%, 100% { border-color: rgba(74, 222, 128, 0.35); color: var(--badge-fg); }
}
/* 12 pastilles (02/11/2026) : un passage par seconde, boucle de 12 s. */
.watch-sites .watch-site:not(.is-soon) { animation: watch-scan 12s linear infinite; }
.watch-sites .watch-site:nth-child(2) { animation-delay: 1s; }
.watch-sites .watch-site:nth-child(3) { animation-delay: 2s; }
.watch-sites .watch-site:nth-child(4) { animation-delay: 3s; }
.watch-sites .watch-site:nth-child(5) { animation-delay: 4s; }
.watch-sites .watch-site:nth-child(6) { animation-delay: 5s; }
.watch-sites .watch-site:nth-child(7) { animation-delay: 6s; }
.watch-sites .watch-site:nth-child(8) { animation-delay: 7s; }
.watch-sites .watch-site:nth-child(9) { animation-delay: 8s; }
.watch-sites .watch-site:nth-child(10) { animation-delay: 9s; }
.watch-sites .watch-site:nth-child(11) { animation-delay: 10s; }
.watch-sites .watch-site:nth-child(12) { animation-delay: 11s; }

.watch-demo.will-animate .watch-card.is-new,
.watch-demo.will-animate .watch-toast { opacity: 0; }
.watch-demo.is-live .watch-card.is-new {
  animation: watch-in 0.6s 0.3s ease-out both, watch-glow 3s 1.2s ease-in-out infinite;
}
.watch-demo.is-live .watch-toast { animation: watch-in 0.5s 1.1s ease-out both; }
.watch-demo.is-live .watch-bell svg { animation: watch-ring 0.9s 1.5s ease-in-out; }

/* Cloche de l'alerte (02/11/2026, demande d'Abdul) : clignote, puis remue,
   en boucle. Volontairement JAMAIS coupée, même avec « moins d'animations »
   (même choix que la vidéo du hero : le réglage Windows d'Abdul la figeait). */
@keyframes bell-blink {
  0%, 30%, 100% { background: var(--accent); box-shadow: 0 0 0 0 rgba(139, 131, 255, 0.7); }
  5%, 15%, 25% { background: #B3ADFF; box-shadow: 0 0 0 6px rgba(139, 131, 255, 0.35); }
  10%, 20% { background: var(--accent); box-shadow: 0 0 0 10px rgba(139, 131, 255, 0); }
}
@keyframes bell-shake {
  0%, 32%, 70%, 100% { transform: rotate(0); }
  36% { transform: rotate(22deg); }
  41% { transform: rotate(-20deg); }
  46% { transform: rotate(16deg); }
  51% { transform: rotate(-12deg); }
  56% { transform: rotate(7deg); }
  62% { transform: rotate(-3deg); }
}
@keyframes toast-pulse {
  0%, 100% { border-color: rgba(108, 99, 255, 0.45); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(139, 131, 255, 0); }
  8% { border-color: rgba(179, 173, 255, 0.95); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(139, 131, 255, 0.22); }
  30% { border-color: rgba(108, 99, 255, 0.6); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 22px 2px rgba(139, 131, 255, 0.28); }
}
.watch-bell { animation: bell-blink 3.6s ease-in-out infinite; }
.watch-bell svg { transform-origin: 50% 12%; animation: bell-shake 3.6s ease-in-out infinite !important; }
.watch-toast { animation: toast-pulse 3.6s ease-in-out infinite; }
.watch-demo.is-live .watch-toast { animation: watch-in 0.5s 1.1s ease-out both, toast-pulse 3.6s 1.6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .live-dot, .card-dot, .watch-sites .watch-site { animation: none !important; }
}

/* Ordinateur : une fenêtre pleine, texte à gauche, démo à droite. */
@media (min-width: 1024px) {
  .watch {
    display: flex;
    align-items: center;
    padding: 48px 0;
  }
  .watch-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: min(56px, 4vw); }
  .watch-copy { text-align: left; }
  .watch-title { font-size: min(46px, 3.3vw); }
  .watch-sub { margin: 26px 0 0; font-size: clamp(15px, 1.3vw, 18px); }
  .watch-facts { align-items: flex-start; gap: 14px; margin-top: 34px; font-size: 17px; }
  .watch-demo { max-width: none; margin-top: 26px; }
  /* La notification déborde du coin de la fenêtre, comme une vraie alerte. */
  .watch-toast { position: absolute; z-index: 2; top: -26px; right: -14px; margin: 0; }
  .watch-body { gap: 10px; padding: 14px 14px; }
  .watch-card { padding: 10px 12px; }
  .watch-card { grid-template-columns: 120px minmax(0, 1fr) auto; }
}

/* Écran d'ordinateur peu haut (portable zoomé, mise à l'échelle 150-175 %) :
   cartes plus compactes pour garder les trois annonces. Si elles ne tiennent
   toujours pas, le script pose `.is-tight` et seule la 3e est retirée. */
@media (min-width: 1024px) and (max-height: 780px) {
  .watch { padding: 12px 0; }
  .watch-demo { margin-top: 30px; }
  .watch-bar { height: 34px; }
  .watch-body { gap: 7px; padding: 10px 12px; }
  .watch-chip { padding: 2px 9px; font-size: 11.5px; }
  .watch-site { padding: 1px 7px; font-size: 11px; }
  .watch-card { grid-template-columns: 104px minmax(0, 1fr) auto; gap: 12px; padding: 7px 10px; }
  .card-main { gap: 1px; }
  .card-title { font-size: 14px; }
  .card-meta, .card-source { font-size: 12px; }
  .card-source { margin-top: 1px; }
  .card-side { gap: 4px; }
  .match-badge { padding: 3px 9px; font-size: 11.5px; }
  .crit-grid { gap: 4px; }
  .crit { padding: 1px 8px; font-size: 11px; }
}
.watch.is-tight .watch-card:last-child { display: none; }

/* Grand écran : la démo grandit avec la place disponible. */
@media (min-width: 1600px) and (min-height: 900px) {
  .watch-title { font-size: 52px; }
  .watch-sub { font-size: 19px; }
  .watch-facts { font-size: 15px; }
  .watch-card { grid-template-columns: 140px minmax(0, 1fr) auto; }
  .card-title { font-size: 16.5px; }
  .card-meta { font-size: 14px; }
  .watch-body { gap: 12px; padding: 18px; }
}

/* Téléphone : texte empilé, deux annonces. */
@media (max-width: 600px) {
  .watch { padding: 56px 0; }
  .watch-title { font-size: 30px; }
  .watch-sub { font-size: 16px; }
  .watch-card:last-child { display: none; }
}

/* Fenêtre étroite (tablette, téléphone) : la pastille et les critères
   passent sous le texte de l'annonce. */
@container (max-width: 640px) {
  .watch-card { grid-template-columns: 104px minmax(0, 1fr); align-items: start; }
  .card-side { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .crit-grid { display: flex; flex-wrap: wrap; }
}
@container (max-width: 520px) {
  .watch-line { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .watch-card { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .card-title { white-space: normal; }
  .card-flag { align-items: baseline; font-size: 11.5px; }
  .card-side { grid-column: 1 / -1; align-items: flex-start; }
}

/* -- Sections ------------------------------------------------------------ */

.section { padding: 96px 0; border-top: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 19px; }
.section-lead { margin-top: 20px; color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(108, 99, 255, 0.15);
}

.card p { margin-top: 12px; color: var(--muted); font-size: 15px; }

.icon { color: var(--accent); display: block; }
.card .icon { margin-bottom: 20px; }
/* Section « Prenez le contrôle » (#features) — décisions d'Abdul : titres
   sur UNE ligne, textes justifiés sur QUATRE lignes dans les six cartes.
   Les tailles de texte suivent la largeur de la carte (unités cqi) : le
   découpage en lignes reste donc le même à toutes les tailles d'écran. Les
   textes sont calés pour 4 lignes à la largeur de référence (302 px de texte,
   titre 20 px, texte 15 px) ; une carte n'est jamais plus large que cette
   référence (colonnes plafonnées), seulement plus étroite. */
#features .grid-3 { grid-template-columns: minmax(0, 350px); justify-content: center; }
#features .card { container-type: inline-size; }
#features .card .icon { margin-bottom: 24px; }
#features .card h3 { font-size: min(20px, 6.62cqi); white-space: nowrap; }
#features .card p { margin-top: 15px; font-size: min(15px, 4.967cqi); text-align: justify; }
@media (min-width: 768px) {
  #features .grid-3 { grid-template-columns: repeat(2, minmax(0, 366px)); }
}
/* Trois colonnes quand chaque carte garde sa largeur de référence ;
   icônes, titres et textes alignés d'une carte à l'autre. */
/* Ordinateur (≥ 1200 px) : la section tient dans un écran (portable récent
   et plus grand). Pour gagner la hauteur, l'icône passe à gauche du titre
   (le titre, plus étroit de 42 px, est réduit en proportion pour rester sur
   une ligne) ; marges en vh. Les textes gardent leur largeur et leur
   taille : toujours 4 lignes. */
@media (min-width: 1200px) {
  #features {
    display: flex;
    align-items: center;
    padding: 40px 0;
  }
  #features .section-head { max-width: none; margin-bottom: 40px; }
  #features h2 { font-size: 36px; }
  #features .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 366px));
    grid-template-rows: repeat(2, auto auto);
    gap: 24px 24px;
  }
  #features .card {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 0;
    align-content: start;
    padding: 26px 32px;
  }
  #features .card .icon { margin: 0; align-self: center; }
  #features .card h3 { align-self: center; font-size: min(17.5px, 5.79cqi); }
  #features .card p { grid-column: 1 / -1; margin-top: 12px; }
}
/* « Elles viennent à vous ! » sur la même ligne que le début de la phrase
   (demande d'Abdul) dès que la place le permet. */
@media (min-width: 1024px) { #problem .problem-punch { white-space: nowrap; } }

/* -- Problème ------------------------------------------------------------ */

.problem-text {
  max-width: 760px;
  margin: 0 auto 48px;
  color: var(--muted);
  text-align: center;
}

.pain { text-align: center; }
.pain .icon { margin: 0 auto 16px; }
.pain h3 { font-size: 17px; }

/* -- Étapes -------------------------------------------------------------- */

/* Section « cockpit » (#solution) : trois étapes reliées par un fin
   connecteur. Chaque <li> porte le connecteur et l'apparition ; la carte
   qu'il contient porte le survol (le connecteur ne bouge donc jamais).
   Le cyan n'apparaît qu'en touche : pastille de la cloche et bout du
   connecteur. */
.steps-section { --accent-cyan: #22D3EE; --step-gap: 28px; --step-pad-x: 26px; --step-pad-top: 28px; --step-icon: 44px; }
.steps-title-line { display: block; white-space: nowrap; }

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--step-gap);
  max-width: 620px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.step { position: relative; min-width: 0; }

.step-card {
  position: relative;
  height: 100%;
  padding: var(--step-pad-top) var(--step-pad-x) calc(var(--step-pad-top) + 2px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
/* Fin liseré supérieur violet -> cyan, à peine visible au repos. */
.step-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 133, 255, 0.55), rgba(34, 211, 238, 0.35), transparent);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.step-icon-box {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: var(--step-icon);
  height: var(--step-icon);
  border-radius: 12px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.22);
  color: var(--accent-hover);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.step-icon { display: block; }
.step-icon-dot { fill: var(--accent-cyan); }

.step-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.step-num { color: var(--accent-hover); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; }
.step-sep { flex: none; width: 14px; height: 1px; background: currentColor; opacity: 0.5; }

.step-card h3 { font-size: 21px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.step-card p { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* Connecteur entre deux étapes empilées (téléphone, tablette) : trait
   vertical dans l'intervalle, aligné sur le centre des icônes, avec un
   repère. */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 100%;
  left: calc(var(--step-pad-x) + var(--step-icon) / 2 - 3.5px);
  width: 7px;
  height: var(--step-gap);
  background:
    radial-gradient(circle, rgba(34, 211, 238, 0.75) 2px, transparent 2.5px) center / 7px 7px no-repeat,
    linear-gradient(180deg, rgba(108, 99, 255, 0.15), rgba(108, 99, 255, 0.5)) center / 1px 100% no-repeat;
  pointer-events: none;
}

/* Apparition à l'arrivée (classe posée par le script, jamais sans lui). */
.steps.will-animate .step { opacity: 0; transform: translateY(12px); }
.steps.will-animate.is-in .step {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.steps.will-animate.is-in .step:nth-child(2) { transition-delay: 90ms; }
.steps.will-animate.is-in .step:nth-child(3) { transition-delay: 180ms; }

/* Survol : souris seulement. Léger, et sans curseur de lien : les cartes
   ne sont pas cliquables. */
@media (hover: hover) {
  .step-card:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 133, 255, 0.4);
    background-color: #14141D;
  }
  .step-card:hover::before { opacity: 1; }
  .step-card:hover .step-icon-box {
    background: rgba(108, 99, 255, 0.16);
    border-color: rgba(139, 133, 255, 0.45);
    color: var(--text);
  }
}

/* Ordinateur : trois cartes côte à côte, section = une fenêtre. Titres et
   textes alignés d'une carte à l'autre (rangées partagées). Le connecteur
   devient horizontal, dans l'intervalle, à hauteur des icônes. */
@media (min-width: 1024px) {
  .steps-section {
    --step-gap: clamp(40px, 4vw, 64px);
    --step-pad-x: 28px;
    --step-pad-top: 30px;
    display: flex;
    align-items: center;
    padding: 48px 0;
  }
  .steps-section .section-head { max-width: 900px; margin-bottom: 56px; }
  .steps-section h2 { font-size: 40px; }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    column-gap: var(--step-gap);
    row-gap: 0;
    max-width: none;
  }
  .step, .step-card {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }
  .step-head { padding-bottom: 20px; margin-bottom: 20px; }
  .step:not(:last-child)::after {
    top: calc(var(--step-pad-top) + var(--step-icon) / 2 - 3.5px);
    left: 100%;
    width: var(--step-gap);
    height: 7px;
    background:
      radial-gradient(circle, rgba(34, 211, 238, 0.75) 2px, transparent 2.5px) center / 7px 7px no-repeat,
      linear-gradient(90deg, rgba(108, 99, 255, 0.12), rgba(108, 99, 255, 0.5), rgba(108, 99, 255, 0.12)) center / calc(100% - 12px) 1px no-repeat;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .steps-section { --step-pad-x: 22px; }
  .step-card h3 { font-size: 19px; }
  .step-card p { font-size: 15px; }
}

/* Écrans peu hauts (portables zoomés) : tout se resserre pour que la
   section tienne dans la fenêtre. */
@media (min-width: 1024px) and (max-height: 720px) {
  .steps-section { --step-pad-top: 18px; --step-icon: 40px; padding: 24px 0; }
  .steps-section .section-head { margin-bottom: 28px; }
  .steps-section h2 { font-size: 40px; }
  .steps-section .section-head p { margin-top: 10px; font-size: 17px; line-height: 1.55; }
  .step-head { padding-bottom: 12px; margin-bottom: 12px; }
  .step-card h3 { font-size: 19px; }
  .step-card p { margin-top: 6px; font-size: 15px; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  .steps.will-animate .step { opacity: 1; transform: none; }
  .step-card:hover { transform: none; }
}

@media (max-width: 767px) {
  .steps-section { --step-gap: 22px; --step-pad-x: 20px; --step-pad-top: 22px; }
  .step-head { gap: 12px; }
  .step-label { gap: 8px; font-size: 11.5px; letter-spacing: 0.06em; }
  .step-head { padding-bottom: 14px; margin-bottom: 14px; }
  .step-card h3 { font-size: 19px; }
  .step-card p { font-size: 15.5px; }
}

/* -- Tarifs -------------------------------------------------------------- */

.plan { display: flex; flex-direction: column; position: relative; }

/* Carte mise en avant : bordure de 2px et non 1px comme les autres cartes.
   Le décalage d'un pixel du contenu est assumé — c'est le prix d'une bordure
   plus épaisse sans réserver de place ailleurs. */
.plan-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 1px rgba(108, 99, 255, 0.2);
}
@media (min-width: 768px) {
  .plan-featured { transform: scale(1.03); }
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
}

.plan-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* display:block : le prix est porté par un <span> depuis que chaque carte en
   contient deux (mensuel et annuel), et une marge haute n'a aucun effet sur
   un élément resté en ligne. */
.plan-price {
  display: block;
  margin-top: 14px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
}
.plan-period { color: var(--muted); font-size: 15px; font-weight: 500; }

.plan ul {
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
}

.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .icon { flex: 0 0 auto; margin-top: 5px; }
.plan .btn { margin-top: auto; }

/* -- Tarifs : bascule mensuel/annuel ------------------------------------ */


.billing-toggle {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.billing-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.billing-btn:hover { color: var(--text); border-color: var(--accent); }

.save-badge {
  background: var(--badge-bg);
  color: var(--badge-fg);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
}


.price-monthly, .price-annual { display: block; }

/* Tout l'état de la bascule tient dans l'attribut data-billing porté par la
   section : le CSS décide quoi montrer, le script se contente de changer
   l'attribut. Conséquence utile — sans JavaScript la page reste en
   facturation annuelle, l'état par défaut, au lieu d'afficher les deux prix
   l'un sous l'autre. Aucune transition non plus : une bascule animée
   déplacerait la mise en page (layout shift). */
[data-billing="annual"] .billing-btn[data-billing-set="annual"],
[data-billing="monthly"] .billing-btn[data-billing-set="monthly"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

[data-billing="annual"] .price-monthly,
[data-billing="monthly"] .price-annual { display: none; }

.plan-billing {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

/* Deux classes, pour passer devant `.card p` qui vise la même balise. */
.plan .plan-pitch {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
}

.pricing-note {
  margin: 48px auto 0;
  max-width: 820px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* -- Sources ------------------------------------------------------------- */
/* Une fenêtre = une information : sur ordinateur la section remplit
   exactement l'écran sous la barre de menu, tailles suivant la hauteur. */

.sources-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 64px;
  margin: 0 auto 36px;
  text-align: center;
}
.sources-stats > div { display: flex; flex-direction: column; }
.sources-stat-value {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(90deg, #8B85FF, #B9B4FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.sources-stat-label { margin-top: 4px; font-size: 14px; color: var(--muted); }

.sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.source-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.source-item:hover {
  border-color: rgba(108, 99, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.source-flag { display: flex; flex: 0 0 auto; }
.source-name { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.source-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--badge-bg);
  color: var(--badge-fg);
  font-size: 11.5px;
  font-weight: 600;
}
.source-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--badge-fg);
}

/* Arrivée des cartes en serpentin (ordre et sens posés par le script). */
/* Les blocs partent décalés : sans ce rognage, la page défilerait
   de côté sur téléphone le temps de leur arrivée. */
#sources { overflow-x: clip; }
.sources-grid.is-ready .source-item {
  opacity: 0;
  transform: translateX(var(--from, 48px));
}
.sources-grid.is-ready.is-in .source-item {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease var(--d, 0ms), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms),
              border-color 0.25s, box-shadow 0.25s;
}
.sources-grid.is-ready.is-in.is-done .source-item { transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; }
.sources-grid.is-ready.is-in.is-done .source-item:hover { transform: translateY(-2px); }

@media (min-width: 1024px) {
  .sources-section {
    display: flex;
    align-items: center;
    padding: 32px 0;
  }
  .sources-section .section-head { margin-bottom: 28px; }
  .sources-section h2 { font-size: 40px; }
  .sources-stats { margin-bottom: 36px; }
  .sources-stat-value { font-size: 42px; }
  .sources-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .source-item { padding: 12px 14px; }
}
/* Cinq colonnes au plus : au-delà, les noms se coupaient. */
@media (min-width: 1200px) {
  .sources-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .sources-stats { gap: 16px 28px; }
  .sources-stat-value { font-size: 32px; }
  .sources-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  /* Téléphone : la pastille passe sous le nom, le nom garde toute la
     largeur de la carte. */
  .source-item { flex-wrap: wrap; row-gap: 6px; padding: 11px 12px; font-size: 13.5px; }
  .source-name { flex-basis: calc(100% - 34px); }
  .source-status { margin-left: 34px; }
}

/* -- Packs crédits ------------------------------------------------------- */

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Tablette : deux colonnes. Déclaré ici, donc avant le bloc « Mobile » qui
   ramènera à une seule colonne sous 768px. */
@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  /* Tablette (768-1023 px) : trois cartes côte à côte dépassaient l'écran
     (vérification du 07/10/2026) ; deux par rangée. */
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

}
/* Une carte de grille ne s'élargit jamais au-delà de sa colonne. */
.grid-3 > *, .grid-4 > * { min-width: 0; }




/* -- Témoignages --------------------------------------------------------- */

/* Avis alignés à gauche, signatures à droite, en bas de chaque carte
   (demande d'Abdul, 23/10/2026). */
.quote { display: flex; flex-direction: column; }
.quote p { margin: 0; font-size: 16px; text-align: left; }
.quote footer { margin-top: auto; padding-top: 20px; display: flex;
  align-items: center; justify-content: flex-end; gap: 12px; text-align: right; }

.avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.15);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-name { font-size: 14px; font-weight: 600; }
.quote-role { color: var(--muted); font-size: 13px; }

/* -- CTA final ----------------------------------------------------------- */

.cta { text-align: center; }
.cta p { margin: 16px auto 32px; max-width: 560px; color: var(--muted); font-size: 19px; }

/* -- Footer -------------------------------------------------------------- */

.footer { border-top: 1px solid var(--border); padding: 64px 0 40px; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-tagline { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 300px; }

.footer h4 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer li { color: var(--muted); font-size: 15px; }
.footer li a { transition: color 0.2s; }
.footer li a:hover { color: var(--text); }

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.footer-langs { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-langs a { transition: color 0.2s; }
.footer-langs a:hover { color: var(--text); }
.footer-langs a[aria-current="true"] { color: var(--text); font-weight: 600; }

/* -- Hamburger ----------------------------------------------------------- */

.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: var(--text);
  cursor: pointer;
}
.burger:hover { border-color: var(--accent); }

/* Placé APRÈS `.burger { display: none }` : sinon cette règle, déclarée
   plus bas, cacherait le bouton du menu sur tablette et téléphone. */
@media (max-width: 1023px) {
  /* Sous 1024 px, menu et boutons passent dans le menu repliable : sur une
     ligne ils ne tiennent plus à côté du logo. */
  .nav-inner { display: flex; height: 68px; }
  .burger { display: flex; align-items: center; justify-content: center; margin-left: auto; }
  .nav-links,
  .nav-actions { display: none; }

  .nav-inner[data-open="true"] { height: auto; flex-wrap: wrap; padding-bottom: 20px; }
  .nav-inner[data-open="true"] .nav-links,
  .nav-inner[data-open="true"] .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0;
    gap: 14px;
  }
  .nav-inner[data-open="true"] .nav-links { padding-top: 8px; }
  .nav-inner[data-open="true"] .nav-links a { align-self: flex-start; }
  .nav-inner[data-open="true"] .lang { width: 100%; }
  .nav-inner[data-open="true"] .lang-menu { position: static; width: 100%; transform: none; }

}

/* -- Mobile -------------------------------------------------------------- */

@media (max-width: 767px) {
  h1, .hero h1 { font-size: 36px; }
  h2 { font-size: 27px; }

  .hero { padding: 56px 0 48px; }
  .hero-sub, .section-head p, .cta p { font-size: 17px; }
  .hero-cta .btn { width: 100%; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }

  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 24px; }

  /* La carte mise en avant ne s'agrandit pas sur mobile : en pile, un
     agrandissement ne hiérarchise rien et déborde du conteneur. */
  .plan-featured { transform: none; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Respect du réglage système : plus aucune animation ni défilement animé. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}


/* -- Barre de menu agrandie, posée sur la vidéo du hero ------------------ */
/* Hauteur et contenu ×1,5 sur grand écran, dès 1700 px (×1,25 entre 1280
   et 1699 px : à 1440-1699 px, ×1,5 paraissait énorme aux yeux d'Abdul ; les liens grossissent un peu moins, faute de place,
   taille d'origine en dessous, sinon le bouton allemand déborde). La barre
   est transparente tant qu'on est en haut de page : la vidéo du hero passe
   dessous. Dès qu'on défile (classe posée par le script), elle redevient
   sombre pour rester lisible sur les autres sections. */
:root { --nav-h: 77px; --nk: 1; --nlk: 1; }
@media (max-width: 1023px) { :root { --nav-h: 69px; } }
@media (min-width: 1280px) { :root { --nav-h: 96px; --nk: 1.25; --nlk: 1.1; } }
@media (min-width: 1700px) { :root { --nav-h: 115px; --nk: 1.5; --nlk: 1.25; } }
html { scroll-padding-top: var(--nav-h); }

.nav { transition: background-color 0.3s, border-color 0.3s; }
.nav.is-top:not(:has([data-open="true"])) {
  background: linear-gradient(180deg, rgba(7, 7, 11, 0.55) 0%, rgba(7, 7, 11, 0) 100%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  /* Sans ces deux lignes, le dégradé se répète sur le bord transparent et
     dessine un trait sombre sous la barre. */
  background-origin: border-box;
  background-repeat: no-repeat;
}

/* Le hero remonte sous la barre et occupe toute la fenêtre. */
.hero.hero-video {
  margin-top: calc(-1 * var(--nav-h));
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 3vh);
  padding-bottom: calc(var(--nav-h) + 3vh);
}
/* Ordinateur : texte centré à mi-hauteur de la vidéo (marges haute et basse
   égales, la barre de menu comprise). */
@media (min-width: 1024px) {
  .hero.hero-video { align-items: center; }
}

@media (min-width: 1024px) {
  /* Logo au même bord que le texte du hero, bouton au bord droit. */
  .nav > .container.container-wide {
    max-width: none;
    padding: 0 clamp(24px, 3vw, 56px);
  }
  .nav-inner { height: calc(var(--nav-h) - 1px); gap: calc(24px * var(--nk)); }
  .logo { gap: calc(10px * var(--nk)); }
  .logo > svg { width: calc(32px * var(--nk)); height: calc(32px * var(--nk)); }
  .logo-img { height: calc(30px * var(--nk)); }
  .logo-slogan { font-size: calc(11px * var(--nk)); }
  .logo-sym { height: calc(54px * var(--nk)); }
  .logo-name { height: calc(17px * var(--nk)); }
  .logo-stack { gap: calc(8px * var(--nk)); }
  .logo-text { font-size: calc(18px * var(--nk)); }
  .nav-links { gap: calc(clamp(16px, 2.4vw, 40px) * var(--nlk)); white-space: nowrap; font-size: calc(16px * var(--nlk)); }
  .nav-actions { gap: calc(12px * var(--nk)); }
  .nav-actions .btn-sm { padding: calc(9px * var(--nk)) calc(18px * var(--nk)); font-size: calc(14px * var(--nk)); }
  .lang > summary { gap: calc(6px * var(--nk)); padding: calc(8px * var(--nk)) calc(10px * var(--nk)); }
  .lang > summary .flag { width: calc(24px * var(--nk)); height: calc(16px * var(--nk)); }
  .lang > summary .lang-chevron { width: calc(12px * var(--nk)); height: calc(12px * var(--nk)); }
}

/* Bouton du hero : c'est LUI l'action principale de la page, plus gros et
   plus lumineux que celui de la barre de menu. */
.hero.hero-video .btn-hero {
  padding: min(19px, 2.5vh) 40px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 12px 36px rgba(108, 99, 255, 0.55);
}
.hero.hero-video .btn-hero:hover { box-shadow: 0 14px 42px rgba(108, 99, 255, 0.7); }
@media (min-width: 1024px) {
  .hero.hero-video .btn-hero {
    padding: min(22px, 2.9vh) clamp(40px, 3.2vw, 56px);
    font-size: clamp(18px, 1.45vw, 23px);
  }
}

/* Hero : une ligne vide avant et après « France & Europe · … » pour aérer
   (en vh aussi, pour tenir sur les écrans peu hauts). */
.hero.hero-video .hero-reassure { margin-top: min(48px, 5.5vh); }
.hero.hero-video .hero-cta { margin-top: min(56px, 6.5vh); }
/* Écrans peu hauts (portable zoomé) : moins de marge sous le texte, sinon
   le hero dépasse la fenêtre. Le texte n'est alors plus exactement centré. */
@media (min-width: 1024px) and (max-height: 700px) {
  .hero.hero-video { padding-top: calc(var(--nav-h) + 2vh); padding-bottom: 3vh; }
}
/* Grands écrans (≥ 1700 px de large, ≥ 740 px de haut) : texte du hero
   descendu d'environ une ligne (≈ 40 px) — il laissait un grand vide en bas
   (demande d'Abdul, vue « grand écran »). */
@media (min-width: 1700px) and (min-height: 740px) {
  .hero.hero-video { padding-bottom: calc(3vh + 35px); }
}

/* -- Section « Libérez votre temps » (#problem) ------------------------- */
#problem .problem-text { margin-bottom: 18px; }
/* Les deux paragraphes du sous-titre : même taille, même couleur (décision
   d'Abdul, 10/10) ; seule la marge sous le second change. */
#problem .problem-text.problem-punch { margin-bottom: 48px; }
#problem .problem-text strong { color: var(--text); font-weight: 700; }
/* Retours à la ligne voulus par Abdul : tablette et ordinateur seulement ;
   sur téléphone le texte coule naturellement. */
@media (max-width: 767px) { .br-wide { display: none; } }
@media (min-width: 1024px) { #problem .problem-text { max-width: 900px; } }
.pain .icon.icon-lg { width: 64px; height: 64px; color: var(--accent-hover); margin-bottom: 18px; }
/* Ordinateur : la section occupe une fenêtre, tailles en vh pour tenir. */
@media (min-width: 1024px) {
  #problem { display: flex; align-items: center; padding: 48px 0; }
  #problem .section-head { margin-bottom: 28px; }
  #problem .problem-text.problem-punch { margin-bottom: 48px; }
}
@media (min-width: 1024px) and (max-height: 700px) {
  #problem .card.pain { padding: 22px 26px; }
  .pain .icon.icon-lg { width: 52px; height: 52px; margin-bottom: 12px; }
}
/* Les trois cartes partagent les mêmes rangées (icône / titre / texte) :
   titres et textes alignés d'une carte à l'autre. Titres sur une ligne. */
@media (min-width: 1024px) {
  #problem .grid-3 { grid-template-rows: auto auto auto; }
  #problem .card.pain { display: grid; grid-row: span 3; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  #problem .pain h3 { white-space: nowrap; }
  #problem.pain-wrap .pain h3 { white-space: normal; }
}

/* -- Tarifs : 4 formules (12/10/2026) -------------------------------------
   Essentiel / Essentiel + / Pro (mise en avant) / Business. Mensuel par
   défaut (data-billing="monthly" dans le HTML). Ordinateur (≥ 1200 px) :
   les 4 cartes côte à côte, section = un écran sous la barre de menu,
   tailles en vh ; rangées partagées (subgrid) pour aligner prix, « Tout X,
   plus », listes et boutons d'une carte à l'autre. */

/* Bascule Mensuel / Annuel bien visible (demande d'Abdul : on ne doit pas
   pouvoir passer à côté) : interrupteur en pilule, bordé de violet, gros
   texte, l'option choisie pleine ; badge « 2 mois offerts » vert vif. */
#pricing .billing-toggle {
  display: flex;
  width: fit-content;
  margin: 0 auto 40px;
  padding: 5px;
  gap: 4px;
  flex-wrap: nowrap;
  background: var(--bg-2);
  border: 2px solid var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(108, 99, 255, 0.25);
}
#pricing .billing-btn {
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  color: #D4D4E2;
  font-size: 17px;
  font-weight: 700;
}
#pricing .billing-btn:hover { color: #fff; background: rgba(108, 99, 255, 0.15); }
#pricing[data-billing="annual"] .billing-btn[data-billing-set="annual"],
#pricing[data-billing="monthly"] .billing-btn[data-billing-set="monthly"] {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 18px rgba(108, 99, 255, 0.5);
}
#pricing .save-badge {
  background: #22C55E;
  color: #052E16;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 10px;
}
@media (max-width: 420px) {
  #pricing .billing-btn { padding: 10px 14px; font-size: 15px; }
  #pricing .save-badge { font-size: 11px; padding: 2px 7px; }
}

/* Chaque carte reprend les 6 lignes de l'Essentiel ; ce qu'elle apporte EN
   PLUS est écrit en clair et en gras. */
#pricing .plan li.plan-extra { color: var(--text); font-weight: 600; }
#pricing .plan-star { color: var(--accent-hover); font-weight: 700; margin-left: 1px; }
/* renvoi « * » de la ligne « Écart à la cote » : de quelle cote il s'agit */
#pricing .plans-note { max-width: 860px; margin: 28px auto 0; text-align: center; font-size: 13px;
  line-height: 1.55; color: var(--muted); text-wrap: balance; }
#pricing .plans-more { margin-top: 14px; }
#pricing .plans-more a { color: var(--accent-hover); text-decoration: underline;
  text-underline-offset: 2px; }
#pricing .plans-note sup { color: var(--accent-hover); font-weight: 700; margin-right: 2px; }

.plans {
  display: grid;
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
  gap: 20px;
}
@media (min-width: 768px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 360px)); gap: 28px 20px; }
}

#pricing .plan { padding: 24px; }
#pricing .plan-featured { transform: none; }
#pricing .plan-badge { left: 50%; transform: translateX(-50%); white-space: nowrap; }

.plan-top {
  display: flex;
  flex-direction: column;   /* sous-titre sous le nom (12/11/2026) */
  align-items: flex-start;
  gap: 2px;
}
#pricing .plan-name {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}
.plan-tag { color: var(--muted); font-size: 13px; text-align: left; }

#pricing .plan-price { margin-top: 12px; font-size: 38px; }
#pricing .plan-billing { margin-top: 4px; font-size: 13px; }

#pricing .plan-includes {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
#pricing .plan ul { margin: 12px 0 24px; gap: 9px; font-size: 14.5px; line-height: 1.4; }
#pricing .plan li .icon { margin: 3px 0 0; color: var(--accent); }
#pricing .plan .btn { width: 100%; }

#pricing .plan-featured {
  border-width: 1px;
  box-shadow: 0 0 0 1px var(--accent), 0 0 36px rgba(108, 99, 255, 0.22);
}

@media (min-width: 1200px) {
  #pricing {
    display: flex;
    align-items: center;
    padding: 36px 0;
  }
  #pricing > .container { width: 100%; }
  #pricing .section-head { max-width: none; margin-bottom: 20px; }
  #pricing h2 { font-size: 36px; }
  #pricing .section-head p { margin-top: 10px; font-size: 17px; }
  #pricing .billing-toggle { margin-bottom: 30px; }
  #pricing .billing-btn { padding: 12px 28px; font-size: 18px; }
  .plans {
    grid-template-columns: repeat(4, minmax(0, 330px));
    grid-template-rows: repeat(5, auto);
    gap: 0 20px;
  }
  #pricing .plan {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 0;
    padding: 22px 22px;
  }
  #pricing .plan-name { font-size: 20px; }
  #pricing .plan-price { margin-top: 10px; font-size: 36px; }
  #pricing .plan-billing { font-size: 13px; }
  #pricing .plan-includes { margin-top: 14px; padding-top: 12px; font-size: 14px; }
  #pricing .plan ul {
    margin: 10px 0 18px;
    gap: 8px;
    font-size: 14.5px;
    line-height: 1.35;
    align-content: start;
  }
  #pricing .plan .btn { align-self: end; padding-top: 12px; padding-bottom: 12px; font-size: 16px; }
}
/* Portables plus étroits (1200–1439 px) : cartes plus serrées pour que les
   avantages restent sur une ligne. */
@media (min-width: 1200px) and (max-width: 1439px) {
  .plans { gap: 0 14px; }
  #pricing .plan { padding-left: 16px; padding-right: 16px; }
  #pricing .plan ul { font-size: 14px; }
}
/* Grands écrans : cartes plus larges, les options en plus restent sur une
   ligne. */
@media (min-width: 1600px) {
  #pricing > .container.container-wide { max-width: 1680px; }
  .plans { grid-template-columns: repeat(4, minmax(0, 380px)); }
}

/* ===================================================================
   Rythme vertical commun (12/10/2026, demande d'Abdul) : les mêmes
   écarts partout — entre deux sections, entre un titre et son
   sous-titre, entre l'en-tête d'une section et son contenu. Les
   sections ne remplissent plus tout l'écran (le contenu centré dans
   une hauteur d'écran laissait des vides de 65 à 340 px selon la
   section) et les traits entre sections sont retirés.
   Bloc placé en FIN de fichier et en !important : il remplace les
   réglages propres à chaque section, éparpillés plus haut.
   =================================================================== */
:root { --sec-pad: 64px; --gap-sub: 16px; --gap-head: 40px; }
@media (min-width: 1024px) {
  :root { --sec-pad: 96px; --gap-head: 56px; }
}
.section, .watch {
  border-top: 0 !important;
  min-height: 0 !important;
  padding-top: var(--sec-pad) !important;
  padding-bottom: var(--sec-pad) !important;
}
.footer { border-top: 0 !important; }
.section-head { margin-bottom: var(--gap-head) !important; }
.section-head h2 + p,
.watch-title + .watch-sub,
.cta h2 + p { margin-top: var(--gap-sub) !important; }
/* Sous-titres placés hors de .section-head (#problem) : l'en-tête ne
   garde que l'écart titre -> sous-titre, le dernier paragraphe porte
   l'écart vers le contenu. */
#problem .section-head { margin-bottom: var(--gap-sub) !important; }
#problem .problem-text.problem-punch { margin-bottom: var(--gap-head) !important; }
.sources-stats { margin-bottom: var(--gap-head) !important; }
#pricing .billing-toggle { margin-bottom: var(--gap-head) !important; }
#features .section-head .features-sub { max-width: 820px; margin-left: auto; margin-right: auto; }
/* Sous-titres : lignes de longueur égale, jamais un mot seul en fin. */
.section-head p, .problem-text, .cta p, .watch-sub { text-wrap: balance; }
/* Boutons des formules : toujours sur une ligne (« Essayer 14 jours
   gratuits » dépassait sur les cartes étroites et décalait la rangée). */
#pricing .plan .btn { white-space: nowrap; padding-left: 12px; padding-right: 12px; }
@media (min-width: 1200px) and (max-width: 1439px) { #pricing .plan .btn { font-size: 15px; } }

/* -- CTA final : bouton imposant, respiration avant le pied de page ------ */
.btn-cta-final {
  padding: 20px 48px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(108, 99, 255, 0.5);
}
.btn-cta-final:hover { box-shadow: 0 18px 48px rgba(108, 99, 255, 0.65); }
.section.cta { padding-bottom: calc(var(--sec-pad) * 1.8) !important; }
@media (max-width: 767px) {
  .btn-cta-final { padding: 18px 32px; font-size: 18px; }
}

/* Exception voulue (02/11/2026) : la cloche de l'alerte de démonstration
   garde son animation même avec « moins d'animations » (voir bell-blink). */
@media (prefers-reduced-motion: reduce) {
  .watch-bell, .watch-bell svg, .watch-toast { animation-duration: 3.6s !important; }
}

/* Dernière carte de « Sources » : d'autres sites arrivent (12/11/2026). */
.source-item.source-more { border-style: dashed; color: var(--muted); font-weight: 500; }
.source-item.source-more .source-flag { display: inline-flex; color: var(--accent); }

/* Menu : 4 liens + « Estimer ma voiture » (pastille menthe, gratuit mis en avant sans
   concurrencer le bouton violet « Créer mon alerte »). Mesuré en 7 langues de 1280 à 2400 px ;
   en dessous de 1280 px le menu passe dans le bouton repliable (la pastille y tient sur une ligne). */
.nav-links a.nav-estimate { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(93,224,180,.34); background: rgba(93,224,180,.07); color: #5DE0B4; font-weight: 600; white-space: nowrap;
  transition: background .25s ease, border-color .25s ease, color .25s ease; }
.nav-links a.nav-estimate::after { display: none; }
.nav-links a.nav-estimate svg { flex: 0 0 auto; transition: transform .3s ease; }
.nav-links a.nav-estimate .ne-badge { font-size: .68em; font-weight: 800; letter-spacing: .06em; line-height: 1; padding: 3px 6px; border-radius: 6px;
  background: rgba(93,224,180,.16); color: #5DE0B4; }
.nav-links a.nav-estimate:hover, .nav-links a.nav-estimate:focus-visible { background: rgba(93,224,180,.14); border-color: rgba(93,224,180,.6); color: #8DF0CF; }
.nav-links a.nav-estimate:hover svg, .nav-links a.nav-estimate:focus-visible svg { transform: rotate(12deg); }
@media (min-width: 1280px) { .nav-links { gap: clamp(18px, 1.55vw, 34px); font-size: clamp(13px, 0.93vw, 17px); } }
@media (min-width: 1280px) and (max-width: 1899px) { .nav-actions .btn-sm { font-size: 12.5px; padding: 8px 12px; } .nav-actions { gap: 8px; } .nav-inner { gap: 14px; } .lang > summary { padding: 6px 8px; } .logo-sym { height: 44px; } .logo-name { height: 14px; } }
/* 1024-1279 px : menu repliable (la barre complète n'y tient pas avec la pastille). */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-inner { display: flex; height: 68px; }
  .burger { display: flex; align-items: center; justify-content: center; margin-left: auto; }
  .nav-links, .nav-actions { display: none; }
  .nav-inner[data-open="true"] { height: auto; flex-wrap: wrap; padding-bottom: 20px; }
  .nav-inner[data-open="true"] .nav-links, .nav-inner[data-open="true"] .nav-actions { display: flex; flex-direction: column; align-items: stretch; width: 100%; margin: 0; gap: 14px; }
  .nav-inner[data-open="true"] .nav-links { padding-top: 8px; }
  .nav-inner[data-open="true"] .nav-links a { align-self: flex-start; }
  .nav-inner[data-open="true"] .lang { width: 100%; }
  .nav-inner[data-open="true"] .lang-menu { position: static; width: 100%; transform: none; }
}

/* « Estimer ma voiture » : caché tant que la cote du pays du visiteur n'est pas jugée fiable (lang-detect.js). */
[data-cote-link][hidden] { display: none !important; }

/* Tarifs : la 1re ligne de chaque carte (nombre de recherches surveillées) est l'avantage principal -> plus grande, en gras. */
/* (1re ligne en gras retirée le 16/11/2026 : nouveau design des cartes, voir fin de fichier) */

/* ===========================================================================
   Section « Sources » en RÉSEAU EUROPÉEN (13/11/2026)
   Une carte par pays (drapeau + sites), posées sur une carte lumineuse de
   l'Europe ; points aux pays couverts, liaisons depuis la France.
   Sans JS ou avec « moins d'animations » : tout est visible, immobile.
   =========================================================================== */
.sources-net { position: relative; overflow: hidden; display: block !important; }
.sources-net::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 420px at 50% 38%, rgba(108, 99, 255, 0.16), transparent 70%);
}
.sources-net .container { position: relative; }
.net-head { text-align: center; }
.net-head h2 { margin: 0; font-size: clamp(30px, 4.6vw, 62px); line-height: 1.08; letter-spacing: -0.02em; text-transform: none; }
.net-t1 { display: block; }
.net-t2 { display: block; background: linear-gradient(90deg, #8B85FF 0%, #5DE0B4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.net-sub { max-width: 760px; margin: var(--gap-sub, 16px) auto 0; color: var(--muted); font-size: clamp(15px, 1.4vw, 19px); text-wrap: balance; }
.sources-net .sources-stats { margin: clamp(24px, 4vh, 44px) auto clamp(20px, 3vh, 36px); }
.sources-net .sources-stat-value { font-size: clamp(38px, 5vw, 64px); background: linear-gradient(90deg, #8B85FF, #5DE0B4); -webkit-background-clip: text; background-clip: text; color: transparent; }

.net-stage { position: relative; }
.net-map {
  position: absolute; left: 50%; top: 50%; width: min(1560px, 150%); aspect-ratio: 2000 / 1121;
  transform: translate(-50%, -50%); pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}
.net-map img { display: block; width: 100%; height: 100%; opacity: 0.9; filter: saturate(1.1) hue-rotate(8deg); }
.net-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.net-lines line { stroke: rgba(139, 133, 255, 0.55); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.net-pin {
  position: absolute; left: var(--x); top: var(--y); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: #5DE0B4; box-shadow: 0 0 0 4px rgba(93, 224, 180, 0.18), 0 0 18px 4px rgba(93, 224, 180, 0.55);
}
.net-grid {
  position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.net-card {
  position: relative; padding: 16px 16px 14px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(22, 22, 36, 0.62), rgba(10, 10, 18, 0.58));
  border: 1px solid rgba(139, 133, 255, 0.24);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.net-card::before {   /* bordure dégradée violet / turquoise au survol */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0;
  background: linear-gradient(135deg, #8B85FF, #5DE0B4);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity 0.28s ease;
}
.net-card::after {    /* balayage lumineux discret, une fois au survol */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(139, 133, 255, 0.16) 50%, transparent 65%);
  transform: translateX(-60%);
}
@media (hover: hover) {
  .net-card:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45), 0 0 30px rgba(108, 99, 255, 0.28); }
  .net-card:hover::before { opacity: 1; }
  .net-card:hover::after { opacity: 1; transform: translateX(60%); transition: transform 0.9s ease; }
  .net-card:hover .net-mono { transform: scale(1.07); }
  .net-card:hover .net-dot-live { box-shadow: 0 0 0 3px rgba(93, 224, 180, 0.25), 0 0 12px 2px rgba(93, 224, 180, 0.7); }
}
.net-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.net-card-head h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.net-flag { display: inline-flex; line-height: 0; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.net-flag svg { width: 24px; height: 16px; }
.net-sites { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.net-sites li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text); }
.net-mono {
  flex: 0 0 auto; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.02em; color: #fff;
  background: linear-gradient(135deg, hsl(var(--h) 70% 58%), hsl(calc(var(--h) + 28) 65% 40%));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); transition: transform 0.28s ease;
}
.net-site { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.net-dot-live { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #5DE0B4; box-shadow: 0 0 8px 1px rgba(93, 224, 180, 0.55); transition: box-shadow 0.28s ease; }
.net-more { display: flex; align-items: center; }
.net-more .net-card-head { margin: 0; }
.net-plus { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 18px; line-height: 1; color: #5DE0B4; border: 1px dashed rgba(93, 224, 180, 0.6); }
.net-more h3 { color: var(--muted); font-weight: 600; }

.net-foot { text-align: center; margin-top: clamp(26px, 4vh, 46px); }
.net-tagline { margin: 0; font-size: clamp(20px, 2.5vw, 32px); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.net-sub2 { margin: 12px auto 22px; max-width: 700px; color: var(--muted); text-wrap: balance; }
.net-cta { display: inline-flex; }

/* Arrivée : les cartes partent du centre de la carte, les points s'allument,
   les liaisons se tracent. Armé seulement par le script (classe net-anim). */
.net-stage.net-anim .net-card { opacity: 0; transform: translate(var(--ox, 0), var(--oy, 0)) scale(0.9); }
.net-stage.net-anim .net-pin { opacity: 0; transform: scale(0.2); }
.net-stage.net-anim .net-lines line { stroke-dashoffset: 1; }
.net-stage.net-anim.is-in .net-card {
  opacity: 1; transform: none;
  transition: opacity 0.6s ease var(--d, 0ms), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms), box-shadow 0.28s ease, border-color 0.28s ease;
}
.net-stage.net-anim.is-in .net-pin { opacity: 1; transform: scale(1); transition: opacity 0.5s ease var(--d), transform 0.6s cubic-bezier(0.3, 1.5, 0.5, 1) var(--d); }
.net-stage.net-anim.is-in .net-lines line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s ease var(--d); }
.net-stage.net-anim.is-in.is-done .net-card { transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease; }

@media (max-width: 1099px) { .net-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .net-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .net-map { position: relative; left: auto; top: auto; transform: none; width: 100%; margin: 0 0 20px; } .net-card { padding: 12px; } .net-sites li { font-size: 13px; } }
@media (max-width: 460px)  { .net-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .net-stage .net-card, .net-stage .net-pin, .net-stage .net-lines line { opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; transition: none !important; }
}
.net-foot, .sources-net .sources-stats, .net-head { position: relative; z-index: 1; }
.net-tagline, .net-sub2, .sources-net .sources-stat-label { text-shadow: 0 2px 14px #05050a, 0 0 4px #05050a; }

/* ===== Réseau : cartes de pays centrées (drapeau puis sites), sans pastilles ni points ===== */
.net-name { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.net-card { text-align: center; }
.net-card-head { justify-content: center; margin-bottom: 12px; }
.net-flag svg { width: 34px; height: 23px; }
.net-sites { justify-items: center; gap: 8px; }
.net-sites li.net-site { display: block; text-align: center; font-size: 15px; }
.net-more { display: flex; align-items: center; justify-content: center; }
.net-more .net-card-head { margin-bottom: 0; }
.net-more h3 { position: static; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; }

/* ===== Menu : « Estimer ma voiture » (nouveau dessin) ===== */
.nav-links a.nav-estimate { display: inline-flex; flex-direction: row; align-items: center; gap: 9px; padding: 8px 16px 8px 12px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(93,224,180,.16), rgba(108,99,255,.22)); border: 1px solid rgba(139,133,255,.5); color: #fff; position: relative; }
.nav-links a.nav-estimate::after { display: none; }
.nav-links a.nav-estimate .ne-t { font-weight: 700; }
.nav-links a.nav-estimate .ne-badge { position: absolute; top: -9px; right: -8px; margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .08em; line-height: 1;
  padding: 4px 7px; border-radius: 999px; background: #5DE0B4; color: #06281d; box-shadow: 0 2px 10px rgba(93,224,180,.45); }
.nav-links a.nav-estimate:hover, .nav-links a.nav-estimate:focus-visible { background: linear-gradient(135deg, rgba(93,224,180,.28), rgba(108,99,255,.38)); border-color: #8DF0CF; }
@media (max-width: 1023px) { .nav-links a.nav-estimate { justify-self: start; } }

/* Phrase sous la carte : 2 lignes sur ordinateur (chacune sur une seule ligne), 3 lignes sur écran étroit */
.net-foot { container-type: inline-size; }
.net-tagline { text-wrap: initial; }
.net-tagline .br-narrow { display: inline; }
@media (min-width: 1024px) {
  .net-tagline { white-space: nowrap; font-size: clamp(17px, 1.75vw, 27px); }
  .net-tagline .br-m { display: none; }
  .net-tagline .br-narrow { display: none; }
}
@media (max-width: 1023px) { .net-tagline { font-size: clamp(17px, 4.2vw, 26px); } }
@media (max-width: 600px) { .net-tagline { font-size: 14.5px; line-height: 1.3; } }

/* Tarifs : mentions sous les prix soulignées (15/11/2026) */
#pricing .plan-billing u { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ===== Tarifs : design « fiche » (16/11/2026, maquette d'Abdul) =====
   Cartes sombres, nom en gros, prix, « Sans engagement » souligné, liste
   « Inclus » à lignes séparées par un filet, coches vertes ; une ligne
   non incluse = petit trait violet, ce qui garde les 13 lignes alignées
   d'une carte à l'autre. */
#pricing .plan {
  background: linear-gradient(180deg, #0e0d1f 0%, #090912 100%);
  border: 1px solid rgba(124, 116, 255, .2);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
#pricing .plan-featured {
  border: 2px solid #8f80ff;
  box-shadow: 0 0 0 1px rgba(143, 128, 255, .35), 0 0 46px rgba(124, 106, 255, .38), 0 18px 50px rgba(0, 0, 0, .4);
}
#pricing .plan-name { font-size: clamp(26px, 2.3vw, 34px); font-weight: 800; letter-spacing: -.01em; }
#pricing .plan-tag { color: #a99eff; font-size: 15px; }
#pricing .plan-price { font-size: clamp(34px, 3vw, 46px); font-weight: 800; letter-spacing: -.02em; }
#pricing .plan-period { font-size: 18px; color: #c9c9e0; }
#pricing .plan-billing { margin-top: 8px; font-size: 15px; }
#pricing .plan-billing u { color: #93a2ff; text-decoration-thickness: 1px; text-underline-offset: 3px; }
#pricing .plan-includes { font-size: 17px; font-weight: 800; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 18px; padding-top: 16px; }
#pricing .plan ul { margin: 8px 0 22px; gap: 0; font-size: 15.5px; line-height: 1.3; }
#pricing .plan li {
  display: flex; align-items: center; gap: 12px;
  min-height: 38px; padding: 6px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #f1f1fa; font-weight: 500;
}
#pricing .plan li:first-child { border-top: 1px solid rgba(255, 255, 255, .08); }
#pricing .plan li .icon { width: 20px; height: 20px; margin: 0; flex: none; color: #26e064; }
#pricing .plan li.plan-off { justify-content: flex-start; }
#pricing .icon-off { display: block; width: 20px; flex: none; position: relative; height: 3px; }
#pricing .icon-off::after {
  content: ""; position: absolute; left: 3px; top: 0; width: 14px; height: 3px; border-radius: 3px;
  background: #8f6bff;
}
#pricing .plan li .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#pricing .plan .btn { border-radius: 12px; font-weight: 800; font-size: 17px; }
#pricing .plan .btn-secondary { background: #0a0a18; border: 1.5px solid rgba(143, 128, 255, .55); color: #fff; }
#pricing .plan .btn-secondary:hover { border-color: #b0a4ff; }
#pricing .plan .btn-primary { background: linear-gradient(180deg, #7a66ff, #5b46f0); box-shadow: 0 6px 24px rgba(110, 90, 255, .45); }
@media (min-width: 1200px) {
  #pricing .plan { padding: 26px 22px 22px; }
  #pricing .plan ul { font-size: 14.5px; }
  #pricing .plan li { gap: 10px; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  #pricing .plan ul { font-size: 13.5px; }
  #pricing .plan li { gap: 8px; letter-spacing: -.01em; }
}

/* 4 cartes côte à côte à partir de 1360 px, lignes sur UNE ligne (alignées
   d'une carte à l'autre). En dessous : 2 × 2, les lignes peuvent passer à la
   ligne sans gêner. */
@media (min-width: 1360px) {
  #pricing .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1560px; margin-left: auto; margin-right: auto; container-type: inline-size; }
  #pricing .plan ul { font-size: clamp(11.5px, .83cqi, 15px); }
  #pricing .plan li > span:not(.sr-only):not(.icon-off) { white-space: nowrap; }
}
@media (min-width: 1200px) and (max-width: 1359px) {
  #pricing .plans { grid-template-columns: repeat(2, minmax(0, 380px)); grid-template-rows: none; gap: 24px 20px; }
  #pricing .plan { display: flex; grid-row: auto; grid-template-rows: none; }
  #pricing .plan ul { font-size: 15px; }
}
html[lang="nl"] #pricing .plan ul { letter-spacing: -.02em; }

/* Point lumineux qui voyage de pays en pays sur la carte (net-spark.js). */
.net-spark {
  position: absolute; left: 0; top: 0; z-index: 5; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, #fff 0%, #B9FFE6 35%, #5DE0B4 70%);
  box-shadow: 0 0 22px 8px rgba(93, 224, 180, .85), 0 0 60px 16px rgba(139, 133, 255, .55);
}
.net-spark::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(185, 255, 230, .9); opacity: 0;
}
.net-spark.is-on { animation: net-spark-pop 1.6s ease-out both; }
.net-spark.is-on::after { animation: net-spark-ring 1.6s ease-out both; }
@keyframes net-spark-pop {
  0% { opacity: 0; transform: scale(.3); }
  18% { opacity: 1; transform: scale(1.15); }
  60% { opacity: .9; transform: scale(1); }
  100% { opacity: 0; transform: scale(.6); }
}
@keyframes net-spark-ring {
  0% { opacity: .9; transform: scale(.8); }
  100% { opacity: 0; transform: scale(4.2); }
}
/* Première ligne des cartes de tarifs : l'argument phare, plus grosse et en gras. */
#pricing .plan ul > li:first-child > span { font-size: 1.16em; font-weight: 800; color: #fff; }

/* -- Menu repliable : tous les choix centrés (17/11/2026) ----------------- */
@media (max-width: 1279px) {
  .nav-inner[data-open="true"] .nav-links { align-items: center; text-align: center; }
  .nav-inner[data-open="true"] .nav-links a { align-self: center; text-align: center; }
  .nav-inner[data-open="true"] .nav-actions { align-items: center; text-align: center; }
  .nav-inner[data-open="true"] .nav-actions .btn { width: 100%; text-align: center; justify-content: center; }
  /* Choix de langue : un menu déroulant de la largeur de son contenu. */
  .nav-inner[data-open="true"] .lang { width: auto; align-self: center; }
  .nav-inner[data-open="true"] .lang-menu { position: static; width: max-content; min-width: 0; margin: 6px auto 0; transform: none; }
}

/* -- Menu ouvert compact, logo centré (17/11/2026, retour d'Abdul) -------- */
@media (max-width: 1279px) {
  .nav-inner[data-open="true"] { position: relative; justify-content: center; row-gap: 4px; padding-bottom: 14px; }
  .nav-inner[data-open="true"] .logo { margin: 0 auto; }
  .nav-inner[data-open="true"] .logo-stack { justify-content: center; }
  .nav-inner[data-open="true"] .burger { position: absolute; right: 0; top: 14px; margin: 0; }
  .nav-inner[data-open="true"] .nav-links { gap: 0; padding-top: 0; }
  .nav-inner[data-open="true"] .nav-links a { padding: 9px 0; font-size: 16px; }
  .nav-inner[data-open="true"] .nav-links .nav-estimate { margin: 2px 0; padding: 7px 12px; }
  .nav-inner[data-open="true"] .nav-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; width: 100%; align-items: stretch; }
  .nav-inner[data-open="true"] .nav-actions .nav-cta { grid-column: 1 / -1; }
  .nav-inner[data-open="true"] .lang { width: auto; align-self: stretch; position: relative; }
  .nav-inner[data-open="true"] .lang > summary { height: 100%; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
  .nav-inner[data-open="true"] .lang-menu { position: absolute; left: 0; top: calc(100% + 6px); margin: 0; z-index: 10; width: max-content; }
  .nav-inner[data-open="true"] .nav-actions .btn { padding-top: 10px; padding-bottom: 10px; }
}
@media (max-width: 1279px) { .nav-inner[data-open="true"] .logo-slogan { display: none; } }

/* -- Menu ouvert : ordre voulu par Abdul (17/11/2026) --------------------
   tête de caméléon seule, Fonctionnement, Sources, Tarifs, Estimer ma
   voiture, Créer mon alerte, puis drapeau + Se connecter sur toute la largeur. */
@media (max-width: 1279px) {
  .nav-inner[data-open="true"] .logo-words { display: none; }
  .nav-inner[data-open="true"] .nav-links { display: flex; flex-direction: column; }
  .nav-inner[data-open="true"] .nav-links .nav-estimate { order: 5; }
  .nav-inner[data-open="true"] .nav-actions .nav-cta { order: -1; }
}

/* ==========================================================================
   Smartphone (25/11/2026, retours d'Abdul) : en-tête empilé et centré,
   menu qui fonctionne, contenus centrés, pied de page centré.
   ========================================================================== */
@media (max-width: 767px) {
  :root { --nav-h: 92px; }

  /* Tête du caméléon, « TrackAuto » dessous, slogan dessous : tout centré.
     Le bouton du menu est posé à droite et ne rétrécit jamais, quelle que
     soit la langue (le slogan allemand est le plus long). */
  .nav-inner { position: relative; justify-content: center; height: calc(var(--nav-h) - 1px); }
  .nav-inner .logo { margin: 0 auto; max-width: calc(100% - 112px); }
  .logo-stack { flex-direction: column; align-items: center; gap: 4px; }
  .logo-sym { height: 38px; }
  .logo-words { align-items: center; }
  .logo-name { height: 15px; }
  .logo-slogan { margin-top: 4px; font-size: clamp(8.5px, 2.9vw, 10.5px); text-align: center; white-space: nowrap; line-height: 1.15; }
  .burger { position: absolute; right: 0; top: 50%; margin: 0; transform: translateY(-50%);
    flex: 0 0 40px; width: 40px; min-width: 40px; height: 40px; min-height: 40px; }

  /* Menu ouvert : on garde le même en-tête, les liens sont bien espacés. */
  .nav-inner[data-open="true"] { height: auto; padding-top: 8px; padding-bottom: 18px; row-gap: 10px; }
  .nav-inner[data-open="true"] .logo-words { display: flex; }
  .nav-inner[data-open="true"] .logo-slogan { display: block; }
  .nav-inner[data-open="true"] .burger { top: 26px; transform: none; }
  .nav-inner[data-open="true"] .nav-links { gap: 6px; padding-top: 10px; }
  .nav-inner[data-open="true"] .nav-links a { padding: 11px 0; }
  .nav-inner[data-open="true"] .nav-links .nav-estimate { margin: 6px 0 10px; padding: 9px 16px; }
  .nav-inner[data-open="true"] .nav-actions { gap: 12px; }
}

/* -- Smartphone : contenus centrés (25/11/2026) ---------------------------- */
@media (max-width: 767px) {
  /* « 01 Votre configuration » … « 03 Alertes ciblées » */
  .step-card { text-align: center; }
  .step-head { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
  .step-label { justify-content: center; text-align: center; }
  .step-card h3, .step-card p { text-align: center; margin-left: auto; margin-right: auto; }

  /* « Explorez le marché européen » … « Soyez alerté au bon moment » */
  #features .card { text-align: center; }
  #features .card > .icon, #features .card > svg { margin-left: auto; margin-right: auto; display: block; }
  #features .card h3, #features .card p { text-align: center; text-align-last: center; margin-left: auto; margin-right: auto; }

  /* Cartes de tarifs : tout centré SAUF les listes « Inclus » (coches vertes
     et tirets violets), qui restent alignées à gauche. */
  #pricing .plan { text-align: center; }
  #pricing .plan-top { align-items: center; text-align: center; }
  #pricing .plan-top .plan-name, #pricing .plan-tag { text-align: center; }
  #pricing .plan-price, #pricing .plan-billing { text-align: center; }
  #pricing .plan .price-monthly, #pricing .plan .price-annual { align-items: center; text-align: center; }
  #pricing .plan-includes { text-align: center; }
  #pricing .plan ul, #pricing .plan ul li { text-align: left; }
  #pricing .plan .btn { justify-content: center; text-align: center; }

  /* Pied de page : tout centré, copyright compris. */
  .footer { text-align: center; }
  .footer-top { justify-items: center; text-align: center; }
  .footer .logo { justify-content: center; }
  .footer-tagline { margin-left: auto; margin-right: auto; text-align: center; }
  .footer ul { justify-items: center; }
  .footer-bottom { align-items: center; text-align: center; }
  .footer-langs { justify-content: center; }
}

/* -- Horaires et WhatsApp (pied de page, 25/11/2026) ----------------------- */
.footer li.ct-hours { font-size: 14px; line-height: 1.45; }
.footer li.ct-hours .ct-local { display: block; margin-top: 2px; font-size: 13px; opacity: .8; }
.footer li.ct-wa { display: grid; gap: 8px; justify-items: start; }
.footer li.ct-wa .ct-wa-label { font-size: 14px; line-height: 1.4; }
.wa-btn { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(37,211,102,.55); background: rgba(37,211,102,.1); color: var(--text); font-weight: 700; font-size: 15px;
  white-space: nowrap; text-decoration: none; transition: background .2s, border-color .2s; }
.wa-btn:hover, .wa-btn:focus-visible { background: rgba(37,211,102,.2); border-color: #25D366; }
.wa-btn .wa-ico { flex: 0 0 auto; }
.wa-btn .wa-num { -webkit-user-select: text; user-select: text; }
@media (max-width: 767px) {
  .footer li.ct-wa { justify-items: center; }
}
/* Titres de colonnes du pied de page soulignés : on les distingue des liens dessous. */
.footer h4 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }

/* ==========================================================================
   Menu smartphone (25/11/2026, suite) : sur la ligne du haut, DRAPEAU à
   gauche, LOGO au centre, BOUTON DU MENU à droite. Menu ouvert, dans l'ordre :
   Créer mon alerte / Se connecter / Estimer ma voiture / Fonctionnement /
   Sources / Tarifs. Les conteneurs .nav-links et .nav-actions « disparaissent »
   (display: contents) pour que chaque élément puisse prendre sa place.
   ========================================================================== */
@media (max-width: 767px) {
  .nav .nav-inner .nav-links, .nav .nav-inner .nav-actions { display: contents !important; }
  /* Fermé : seuls le drapeau, le logo et le bouton du menu se voient. */
  .nav .nav-inner .nav-links a, .nav .nav-inner .nav-actions .btn { display: none !important; }

  .nav .nav-inner .lang { display: block; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: auto; margin: 0; z-index: 6; }
  .nav .nav-inner .lang > summary { box-sizing: border-box; height: 40px; padding: 0 8px; gap: 4px; justify-content: center; }
  .nav .nav-inner .lang-menu { position: absolute; left: 0; right: auto; top: calc(100% + 6px); transform: none; width: max-content; margin: 0; z-index: 10; }

  .nav .nav-inner[data-open="true"] { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 0; padding-bottom: 18px; }
  .nav .nav-inner[data-open="true"] .logo { flex: 0 0 100%; order: 0; margin: 0 0 16px; justify-content: center; }
  .nav .nav-inner[data-open="true"] .lang { top: 26px; transform: none; }
  .nav .nav-inner[data-open="true"] .burger { top: 26px; transform: none; }

  /* 1. Créer mon alerte gratuite, 2. Se connecter : une ligne chacun, centrés. */
  .nav .nav-inner[data-open="true"] .nav-actions .btn { display: flex !important; flex: 0 0 100%; width: 100%; box-sizing: border-box;
    justify-content: center; text-align: center; margin: 0 0 14px; }
  .nav .nav-inner[data-open="true"] .nav-actions .nav-cta { order: 1; }
  .nav .nav-inner[data-open="true"] .nav-actions .btn-secondary { order: 2; }

  /* 3. Estimer ma voiture, puis 4-6. Fonctionnement, Sources, Tarifs (sans espace entre eux). */
  .nav .nav-inner[data-open="true"] .nav-links a { display: block !important; flex: 0 0 100%; text-align: center; margin: 0; padding: 9px 0; font-size: 16px; }
  .nav .nav-inner[data-open="true"] .nav-links a[hidden] { display: none !important; }
  .nav .nav-inner[data-open="true"] .nav-links a.nav-estimate:not([hidden]) { display: inline-flex !important; flex: 0 0 auto; order: 3; margin: 0 0 14px; padding: 9px 16px; }
  .nav .nav-inner[data-open="true"] .nav-links a[href="#solution"] { order: 4; }
  .nav .nav-inner[data-open="true"] .nav-links a[href="#sources"] { order: 5; }
  .nav .nav-inner[data-open="true"] .nav-links a[href="#pricing"] { order: 6; margin-bottom: 6px; }
}

/* Pied de page « Nous contacter » : formulaire et téléphone avec icône (25/11/2026). */
.footer li.ct-line a { display: inline-flex; align-items: center; gap: 9px; }
.footer li.ct-line .ct-ico { flex: 0 0 auto; color: var(--accent); }
.footer li.ct-line .ct-tel { color: var(--text); font-weight: 600; white-space: nowrap; }
@media (max-width: 767px) { .footer li.ct-line a { justify-content: center; } }

/* Compteur d'annonces analysées et ligne de chiffres sous le bouton final (01/12/2026). */
.sources-stat-live[hidden], .cta-facts .cta-live[hidden] { display: none; }
.cta-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin: 22px auto 0; color: var(--muted); font-size: 15px; }
.cta-facts span { padding: 0 14px; }
.cta-facts span + span:not([hidden]) { border-left: 1px solid rgba(255,255,255,.22); }
.cta-facts b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .cta-facts { flex-direction: column; align-items: center; } .cta-facts span + span:not([hidden]) { border-left: 0; } }
.section.cta .cta-facts { max-width: 920px; width: 100%; }
.cta-facts span { white-space: nowrap; }

@media (max-width: 1023px) { .net-tagline { white-space: normal; } }
