/* =============================================================================
   MaâtLens · V1 vitrine institutionnelle : feuille de style unique, sans framework.

   Codes repris de l'application BI (maatlens/bi/render.py) : volet navy de l'écran
   d'accueil (dégradé, halos ; sans quadrillage depuis le 2026-10-01), surtitres en capitales espacées,
   cartes d'indicateurs, tuiles d'icônes, bouton en dégradé cyan vers teal.

   AUCUN style en ligne dans les pages : la CSP de _headers (style-src 'self') les
   bloquerait, et c'est voulu.
   ============================================================================= */

:root {
  --navy: #061A35; --ocean: #0C3565; --teal: #0088A0; --cyan: #00BCD4;
  --cyan-light: #4DD8E8; --cyan-pale: #80E8F0;
  --cyan-vif: #67E8F9; --cyan-brume: #CFFAFE; --surtitre: #0891B2;
  --ink: #1E293B; --mute: #64748B; --line: #E2E8F0; --bg: #F8FAFC; --surface: #FFFFFF;
  --ok: #10B981;

  /* Teintes des courbes de l'application (palette validée daltonisme, bi/render.py) */
  --serie-votre: #C25E00; --serie-a: #0088A0; --serie-b: #3949AB; --serie-c: #D81B60;

  --grad-cta: linear-gradient(135deg, #00BCD4 0%, #0088A0 100%);
  --grad-nuit: linear-gradient(135deg, #061A35 0%, #0C3565 55%, #0A4A6B 130%);

  --r-md: 12px; --r-lg: 16px; --r-xl: 24px;
  --ombre-sm: 0 1px 2px rgba(6, 26, 53, 0.05);
  --ombre-md: 0 4px 12px -2px rgba(6, 26, 53, 0.10);
  --ombre-lg: 0 30px 60px -20px rgba(2, 10, 24, 0.55);
  --anneau: 0 0 0 3px rgba(0, 188, 212, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: none; box-shadow: var(--anneau); border-radius: 8px; }
.conteneur { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.evitement {
  position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 14px;
  background: var(--navy); color: #fff; border-radius: 8px; text-decoration: none;
}
.evitement:focus { top: 12px; }

/* --- En-tête ---------------------------------------------------------------- */
.tete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.tete-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marque img { width: 40px; height: 40px; }
.marque .nom { font-size: 19px; font-weight: 600; letter-spacing: 0.06em; color: var(--navy); line-height: 1; }
.marque .nom i { font-style: normal; font-weight: 300; color: var(--teal); }
/* « Veille tarifaire e-commerce » (2026-10-12, à la place de « Business intelligence ») :
   en minuscules, comme dans le logo Calendly et la signature ; des capitales espacées
   seraient deux fois plus larges que le nom. */
.marque .nom small {
  display: block; margin-top: 6px; font-size: 10px; font-weight: 500;
  letter-spacing: 0.01em; color: var(--teal);
}
.nav { display: flex; gap: 2px; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--mute); text-decoration: none;
  padding: 8px 13px; border-radius: 999px; transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--navy); background: var(--bg); }

/* --- Boutons ---------------------------------------------------------------- */
.bouton {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--grad-cta); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 15px 22px; border-radius: var(--r-md);
  box-shadow: 0 10px 24px -10px rgba(0, 188, 212, 0.65);
  transition: transform .12s ease, box-shadow .12s ease;
}
.bouton:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(0, 188, 212, 0.8); }
.bouton svg { width: 18px; height: 18px; }
.bouton-petit { padding: 11px 16px; font-size: 14px; }
.bouton-fantome {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 20px; border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, 0.24);
  transition: background .15s ease;
}
.bouton-fantome:hover { background: rgba(255, 255, 255, 0.08); }

/* --- Hero : le volet navy de l'écran d'accueil de l'application -------------- */
.hero { position: relative; overflow: hidden; background: var(--grad-nuit); color: #fff; padding: 88px 0 104px; }
.decor { position: absolute; inset: 0; pointer-events: none; }
.decor .halo { position: absolute; border-radius: 50%; animation: ml-pulse 7s ease-in-out infinite; }
.decor .halo.h1 { top: -160px; left: -140px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.25) 0%, transparent 65%); }
.decor .halo.h2 { bottom: -200px; right: -100px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(0, 136, 160, 0.22) 0%, transparent 65%); animation-delay: -3s; }
@keyframes ml-pulse { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.08); opacity: .85; } }
@keyframes ml-ping { 50% { opacity: .45; } }

.hero-grille { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; }
.surtitre {
  font-size: 11px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--surtitre); margin: 0 0 14px;
}
.surtitre.clair { color: rgba(103, 232, 249, 0.9); }
.hero h1 {
  font-size: clamp(34px, 4vw, 50px); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; margin: 0 0 22px; text-wrap: balance;
}
.degrade {
  background: linear-gradient(90deg, var(--cyan-vif), var(--cyan-brume));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-chapo { font-size: 18px; line-height: 1.65; color: rgba(207, 250, 254, 0.78); max-width: 34rem; margin: 0 0 32px; }
.hero-chapo strong { color: #fff; font-weight: 600; }   /* mots-clés, comme la v0 */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 44px; }


/* --- Hero CLAIR (2026-10-01) ----------------------------------------------------
   Le texte clair sur le navy se lisait mal. Le hero reprend le VOLET CLAIR de l'écran
   d'accueil de la démo : navy sur fond très clair, dégradé teal sur la fin du titre,
   mots-clés en navy appuyé. Le navy plein reste réservé à l'appel final et au pied. */
.hero { background: linear-gradient(180deg, #EEF8FB 0%, #F8FAFC 100%); color: var(--ink);
        border-bottom: 1px solid rgba(226, 232, 240, 0.8); }
.hero .decor .halo.h1 { background: radial-gradient(circle, rgba(0, 188, 212, 0.16) 0%, transparent 65%); }
.hero .decor .halo.h2 { background: radial-gradient(circle, rgba(0, 136, 160, 0.10) 0%, transparent 65%); }
.hero h1 { color: var(--navy); }
.hero .degrade { background: linear-gradient(90deg, #0088A0, #00A9C2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .surtitre { color: var(--surtitre); }
.hero .hero-chapo { color: #475569; }
.hero .hero-chapo strong { color: var(--navy); }
.hero .bouton-fantome { color: var(--navy); border-color: #CBD5E1; background: #fff; }
.hero .bouton-fantome:hover { background: var(--bg); border-color: var(--cyan); }

/* --- Hero PRODUIT (proposition du 2026-10-13) ------------------------------------
   Ce que font les éditeurs du secteur (Minderest, Price Observatory, Skuuudle) : un message
   court à gauche, un seul bouton, et à droite le produit lui-même, une fenêtre de tableau
   de bord aux codes de la démo (menu, indicateurs, courbe). La fenêtre est une IMAGE faite
   en HTML : toutes ses mesures sont en em d'une taille de police en cqi, elle se réduit
   d'un bloc avec sa largeur, comme une capture. Valeurs fictives, et la légende le dit. */
.hero-produit { padding: 80px 0 104px; }
.hero-produit .hero-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.hero-produit h1 { font-size: clamp(34px, 3.6vw, 46px); }
.hero-produit h1 .degrade { display: block; }   /* « Pilotez vos prix » / « face à vos concurrents. » */
.hero-produit .hero-chapo { max-width: 31rem; margin-bottom: 30px; }
.hero-produit .hero-actions { margin-bottom: 20px; }
.rassurance { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13.5px; color: var(--mute); }
.rassurance li { display: flex; align-items: center; gap: 7px; }
.rassurance li::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230088A0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM8 12l3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.produit { position: relative; margin: 0; }
/* L'écran (la fenêtre et sa carte flottante) est le CONTENEUR des cqi. Au-delà de 1200 px,
   il déborde de sa colonne vers la droite, jusqu'à 16 px du bord. */
.ecran { position: relative; container-type: inline-size; }
@media (min-width: 1200px) { .ecran { width: min(125%, calc(100% + (100vw - 1160px) / 2 - 16px)); } }
.fenetre {
  position: relative; overflow: hidden;
  background: #fff; border-radius: 14px;
  box-shadow: 0 50px 90px -40px rgba(6, 26, 53, 0.45), 0 0 0 1px rgba(203, 213, 225, 0.8);
}
.fenetre-barre { display: flex; align-items: center; gap: 1.1cqi; height: 5cqi; padding: 0 2cqi; background: #F1F5F9; border-bottom: 1px solid var(--line); }
.fenetre-barre i { width: 1.25cqi; height: 1.25cqi; border-radius: 50%; background: #CBD5E1; }
.fenetre-barre span { flex: 1; margin-right: 6cqi; text-align: center; font-size: 1.45cqi; color: var(--mute); }
.app { display: grid; grid-template-columns: 13.4em minmax(0, 1fr); font-size: 1.5cqi; line-height: 1.4; color: var(--ink); }
.app :where(p) { margin: 0; }   /* spécificité nulle : les marges propres l'emportent */
.app-nav { padding: 1.5em 0.8em; border-right: 1px solid var(--line); background: #fff; }
.app-nav img { width: 2.6em; height: 2.6em; margin: 0 0 1.6em 0.6em; }
.app-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3em; }
.app-nav li {
  display: flex; align-items: center; gap: 0.7em; padding: 0.75em 0.7em; border-radius: 0.6em; white-space: nowrap;
  font-size: 0.74em; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #475569;
}
.app-nav li svg { width: 1.45em; height: 1.45em; flex-shrink: 0; color: var(--mute); }
.app-nav li.actif { background: #E0F7FA; color: var(--navy); box-shadow: inset 0.25em 0 0 var(--cyan); }
.app-nav li.actif svg { color: var(--teal); }
.app-nav li b {
  margin-left: auto; width: 1.7em; height: 1.7em; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--teal); color: #fff; font-size: 0.95em; letter-spacing: 0;
}
.app-corps { min-width: 0; padding: 1.6em 1.7em 1.5em; background: var(--bg); }
.app-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 1em; margin: 0 0 1.1em; }
.app-h { font-size: 1.85em; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--navy); }
.app-s { margin-top: 0.3em; font-size: 0.95em; color: var(--mute); }
.app-releve {
  display: inline-flex; align-items: center; gap: 0.5em; white-space: nowrap; padding: 0.45em 0.9em;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85em; color: var(--mute);
}
.app-releve i { width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--ok); }
.app-alerte {
  display: flex; align-items: center; gap: 0.7em; margin: 0 0 1.1em; padding: 0.75em 1em;
  background: #ECFEFF; border: 1px solid #A5F3FC; border-radius: 0.7em; box-shadow: inset 0.25em 0 0 var(--teal);
  font-size: 0.95em; font-weight: 600; color: var(--navy);
}
.app-badge {
  flex-shrink: 0; padding: 0.2em 0.65em; border-radius: 999px; background: var(--teal); color: #fff;
  font-size: 0.75em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4;
}
.app-lien { margin-left: auto; white-space: nowrap; color: var(--teal); }
.app-lien::after { content: "\00a0\2192"; }
.app-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9em; margin: 0 0 1.1em; }
.app-kpis > div { padding: 1em 1.1em; background: #fff; border: 1px solid var(--line); border-radius: 0.8em; }
.app-kpis .k { font-size: 0.72em; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #475569; }
.app-kpis .v { margin: 0.3em 0 0.15em; font-size: 2.35em; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--navy); }
.app-kpis .v small { font-size: 0.5em; font-weight: 600; color: var(--mute); }
.app-kpis .n { font-size: 0.8em; color: var(--mute); }
.app-graphe { padding: 1em 1.1em 0.5em; background: #fff; border: 1px solid var(--line); border-radius: 0.8em; }
.app-graphe-tete { display: flex; justify-content: space-between; align-items: center; gap: 1em; margin: 0 0 0.6em; }
.app-titre { font-size: 1.05em; font-weight: 700; color: var(--navy); }
.app .segments { font-size: 0.8em; padding: 0.18em; border-radius: 0.7em; }
.app .segments span { padding: 0.3em 0.8em; border-radius: 0.55em; }
.app .legende { gap: 1.1em; font-size: 0.82em; }
.app .legende li { gap: 0.45em; }
.app .legende li::before { width: 1.1em; height: 0.28em; }

/* La carte flottante se pose sur la marge vide du menu, sous « Repricing » : tout en cqi,
   elle garde sa place par rapport à la fenêtre et ne masque jamais la courbe. */
.flottant {
  position: absolute; left: -5.5cqi; top: 47cqi; display: flex; align-items: center; gap: 1.4cqi;
  padding: 1.7cqi 2.4cqi 1.7cqi 1.7cqi; background: #fff; border-radius: 1.9cqi;
  box-shadow: 0 24px 48px -18px rgba(6, 26, 53, 0.35), 0 0 0 1px rgba(226, 232, 240, 0.9);
}
.flottant-ic { width: 5.2cqi; height: 5.2cqi; border-radius: 1.4cqi; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--grad-cta); color: #fff; }
.flottant-ic svg { width: 2.8cqi; height: 2.8cqi; }
.flottant-sur { display: block; font-size: 1.35cqi; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--surtitre); }
.flottant-t { display: block; margin-top: 0.3cqi; font-size: 1.95cqi; font-weight: 700; white-space: nowrap; color: var(--navy); }
.produit figcaption, .rang-visuel figcaption { margin-top: 14px; font-size: 12px; color: var(--mute); text-align: right; }

/* --- Bande de faits sous le premier écran ---------------------------------------
   À la place des logos clients du secteur, que MaâtLens n'a pas encore : trois faits que
   le service tient, sans chiffre qu'on ne saurait prouver. */
.preuves { background: #fff; border-bottom: 1px solid var(--line); }
.preuves-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.preuve { display: flex; align-items: flex-start; gap: 14px; padding: 30px 28px 30px 0; }
.preuve + .preuve { padding-left: 28px; border-left: 1px solid var(--line); }
.preuve .tuile { width: 40px; height: 40px; margin: 0; flex-shrink: 0; }
.preuve .tuile svg { width: 20px; height: 20px; }
.preuve .t { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--navy); }
.preuve .d { margin: 3px 0 0; font-size: 14px; line-height: 1.5; color: var(--mute); }

/* --- Ce que vous recevez : un livrable par rang, le texte d'un côté, sa vue de l'autre */
.entete-centre { text-align: center; }
.entete-centre h2, .entete-centre .chapo { margin-left: auto; margin-right: auto; }
.rangs { display: grid; gap: 104px; }
.rang { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.rang.inverse .rang-texte { order: 2; }
.rang-num { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--surtitre); }
.rang h3 { margin: 0 0 14px; font-size: clamp(23px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--navy); text-wrap: balance; }
.rang-texte > p { margin: 0 0 22px; font-size: 16.5px; line-height: 1.65; color: var(--mute); }
.coches { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.coches li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.coches li::before {
  content: ""; width: 20px; height: 20px; margin-top: 1px; flex-shrink: 0; border-radius: 50%;
  background: rgba(0, 188, 212, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230088A0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.rang-visuel { margin: 0; padding: 40px; border-radius: var(--r-xl); background: linear-gradient(160deg, #EEF8FB 0%, #F1F5F9 100%); border: 1px solid rgba(226, 232, 240, 0.8); }
.panneau { padding: 22px; background: #fff; border-radius: 16px; box-shadow: 0 28px 56px -28px rgba(6, 26, 53, 0.30), 0 0 0 1px rgba(226, 232, 240, 0.9); }
.panneau .point-liste { margin: 0; }
.panneau-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 14px; }
.panneau-titre { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.panneau-tete .app-badge { font-size: 9.5px; }
.alertes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.alertes li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.alertes li.nouvelle { background: #F5FDFE; border-color: #CFFAFE; box-shadow: inset 3px 0 0 var(--teal); }
.alertes .at { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--navy); }
.alertes .ad { margin: 3px 0 0; font-size: 12.5px; color: var(--mute); }
.alertes .am { margin: 0; flex-shrink: 0; text-align: right; }
.alertes .am b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--mute); }
.alertes .am span { display: block; max-width: 92px; margin-left: auto; font-size: 11px; line-height: 1.3; color: var(--mute); }
.alertes .am.hausse b { color: #047857; }
.alertes .am.baisse b { color: #B45309; }
/* « Vos marques face au panel », la table de l'onglet Tendances marques de la démo (2026-10-14) :
   mêmes colonnes, mêmes couleurs de rang (premier en vert, dernier en rouge, en mots aussi). */
.marques { width: 100%; border-collapse: collapse; font-size: 13px; }
.marques th { padding: 0 6px 10px; text-align: left; white-space: nowrap; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--line); }
.marques td { padding: 10px 6px; white-space: nowrap; color: var(--navy); border-bottom: 1px solid #F1F5F9; }
.marques tr:last-child td { border-bottom: 0; }
.marques td:first-child { font-weight: 600; }
.marques td:nth-child(2) { color: var(--mute); }
.marques td:nth-child(4) { font-weight: 600; }
.marques td:last-child { color: var(--mute); }
.marques .jauge { display: inline-block; width: 60px; margin-right: 8px; vertical-align: middle; }
.marques td.var-hausse { color: #DC2626; font-weight: 700; }
.marques td.var-baisse { color: #0F9D6E; font-weight: 700; }
.place { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #475569; background: #EEF2F6; }
.place.premier { color: #0F9D6E; background: rgba(15, 157, 110, 0.10); }
.place.dernier { color: #DC2626; background: rgba(220, 38, 38, 0.08); }
.jauge { width: 100%; height: 7px; border-radius: 999px; background: #EEF2F6; overflow: hidden; }
.jauge i { display: block; height: 100%; border-radius: 999px; background: var(--serie-votre); }
.jauge .w06 { width: 6%; } .jauge .w21 { width: 21%; } .jauge .w33 { width: 33%; } .jauge .w55 { width: 55%; } .jauge .w100 { width: 100%; }
.section h2 + .schema { margin-top: 44px; }

/* --- Maquette du point du matin (valeurs fictives) ----------------------------
   Reprend l'onglet Repricing de la démo (« Le point du matin », « À retenir en 10
   secondes », pastilles Nouveau / En cours) : le prospect retrouve en démonstration ce
   qu'il a vu sur le site. Une décision, pas un indice (2026-10-12). */
.maquette-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 14px; }
.maquette-titre { font-weight: 700; color: var(--navy); font-size: 15px; }
.pastille {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 11.5px; color: var(--mute); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}
.pastille i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: ml-ping 2s cubic-bezier(.4, 0, .6, 1) infinite; }
.point-titre { margin: 0 0 14px; font-size: 16px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; color: var(--navy); }
.point-sur { margin: 0 0 8px; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.point-liste { list-style: none; margin: 0 0 12px; padding: 0; border: 1px solid var(--line); border-radius: 12px; }
.point-liste li { padding: 10px 12px; }
.point-liste li + li { border-top: 1px solid var(--line); }
.point-liste .pt { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--navy); }
.point-liste .pa { margin: 3px 0 0; font-size: 12px; line-height: 1.45; color: var(--teal); }
.point-liste .pa::before { content: "\2192\00a0"; }
.badge {
  display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 999px; vertical-align: 1px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.badge.nouveau { color: var(--teal); background: rgba(0, 188, 212, 0.12); }
.badge.suite { color: #475569; background: #EEF2F6; }
/* La courbe, revenue le 2026-10-12 à la demande de l'utilisateur (« ça donne du dynamisme »),
   sous les décisions. Mêmes tracés monotones qu'avant, axe en écart au meilleur prix (%)
   plutôt qu'en indice : même calcul, sans « base 100 ». */
.legende { display: flex; gap: 12px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-size: 11px; color: var(--mute); }
.legende li { display: flex; align-items: center; gap: 5px; }
.legende li::before { content: ""; width: 12px; height: 3px; border-radius: 2px; background: var(--c); }
.legende .votre { color: var(--ink); font-weight: 600; }
.l-votre { --c: var(--serie-votre); } .l-a { --c: var(--serie-a); } .l-b { --c: var(--serie-b); } .l-c { --c: var(--serie-c); }
.segments { display: flex; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 2px; font-size: 11px; }
.segments span { padding: 3px 9px; border-radius: 7px; color: var(--mute); }
.segments .actif { background: #fff; color: var(--navy); font-weight: 600; box-shadow: var(--ombre-sm); }
.courbe { width: 100%; height: auto; }
.courbe .axe { font-size: 9.5px; fill: var(--mute); font-family: inherit; }
.courbe .fin { font-size: 10px; font-weight: 600; font-family: inherit; }

/* --- Sections ----------------------------------------------------------------- */
.section { padding: 104px 0; }
.section-alt { background: var(--bg); }
.section h2, .cta-bloc h2 {
  font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12;
  color: var(--navy); margin: 0 0 16px; text-wrap: balance; max-width: 24ch;
}
.chapo { font-size: 17px; color: var(--mute); max-width: 42rem; margin: 0 0 52px; }
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.section h2 + .grille-3 { margin-top: 44px; }   /* titre sans sous-titre */
.grille-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.carte {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--ombre-sm); transition: border-color .15s ease, box-shadow .15s ease;
}
.carte:hover { border-color: rgba(0, 188, 212, 0.4); box-shadow: var(--ombre-md); }
.carte h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 0 0 8px; letter-spacing: -0.01em; line-height: 1.3; }
.carte p { margin: 0; color: var(--mute); font-size: 15px; line-height: 1.62; }
.tuile {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--teal); background: rgba(0, 188, 212, 0.10); border: 1px solid rgba(0, 188, 212, 0.25); margin: 0 0 18px;
}
.tuile svg { width: 22px; height: 22px; }
.carte-tete { display: flex; justify-content: space-between; align-items: flex-start; }
.numero { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; color: var(--surtitre); }

/* Schéma Sources -> Moteur -> Livrables, repris de la v0 (sans Tailwind).
   Hauteurs FIXES (encart 52 px, écart 10 px) : les connecteurs se calent dessus au pixel,
   là où la v0 ajustait des pourcentages à la main. Hauteur du schéma = 4 livrables = 238 px.
   Centres : sources 57 / 119 / 181, moteur 119, livrables 26 / 88 / 150 / 212. */
.schema {
  position: relative; overflow: hidden; margin: 0 0 56px; padding: 64px 48px 88px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
  border: 1px solid rgba(226, 232, 240, 0.7); border-radius: var(--r-xl); box-shadow: var(--ombre-sm);
}
.schema .lueur { position: absolute; top: -64px; right: -40px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.10) 0%, transparent 65%); pointer-events: none; }
.schema-grille { position: relative; display: grid; grid-template-columns: 230px 1fr 96px 1fr 230px; align-items: center; height: 238px; }
.schema-col { position: relative; display: grid; gap: 10px; }
.schema-col .titre-col {
  position: absolute; bottom: 100%; left: 0; right: 0; margin: 0 0 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute);
}
.schema-col.droite .titre-col { text-align: right; }
.encart {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.encart:hover { border-color: rgba(0, 188, 212, 0.5); box-shadow: 0 8px 24px -12px rgba(6, 26, 53, 0.25); transform: translateY(-1px); }
.encart .ic { width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: var(--cyan); background: rgba(0, 188, 212, 0.10); }
.encart .ic svg { width: 17px; height: 17px; }
.encart .t { margin: 0; font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.encart .s { margin: 1px 0 0; font-size: 10.5px; color: var(--mute); line-height: 1.2; }

.connecteur { position: relative; height: 238px; }
.trait { position: absolute; height: 2px; margin-top: -1px;
  background-image: repeating-linear-gradient(to right, rgba(0, 188, 212, 0.6) 0 6px, transparent 6px 12px);
  background-size: 12px 2px; animation: flux-h .55s linear infinite; }
.trait-v { position: absolute; width: 2px; margin-left: -1px;
  background-image: repeating-linear-gradient(to bottom, rgba(0, 188, 212, 0.6) 0 6px, transparent 6px 12px);
  background-size: 2px 12px; animation: flux-v .55s linear infinite; }
.trait.g { left: 0; width: 50%; } .trait.d { left: 50%; width: 50%; }
.y26 { top: 26px; } .y57 { top: 57px; } .y88 { top: 88px; } .y119 { top: 119px; }
.y150 { top: 150px; } .y181 { top: 181px; } .y212 { top: 212px; }
.trait-v.bus-g { left: 50%; top: 57px; height: 124px; }
.trait-v.bus-d { left: 50%; top: 26px; height: 186px; }
.trait.paquet::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px 2px rgba(0, 188, 212, 0.75); animation: flux-paquet 1.8s ease-in-out infinite;
}
@keyframes flux-h { to { background-position-x: 12px; } }
@keyframes flux-v { to { background-position-y: 12px; } }
@keyframes flux-paquet { 0% { left: -4px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 4px); opacity: 0; } }

.moteur { position: relative; display: flex; flex-direction: column; align-items: center; }
.moteur .halo-moteur { position: absolute; inset: -12px; border-radius: 22px;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.22) 0%, transparent 65%); }
.moteur .boite {
  position: relative; width: 96px; height: 96px; border-radius: 18px; background: var(--grad-cta); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-shadow: 0 20px 36px -14px rgba(0, 188, 212, 0.55);
}
.moteur .boite svg { width: 30px; height: 30px; animation: tourne 9s linear infinite; }
.moteur .boite span { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
@keyframes tourne { to { transform: rotate(360deg); } }
.moteur .legende-moteur { position: absolute; top: 100%; left: 50%; width: 200px; margin-left: -100px; margin-top: 14px; text-align: center; }
.moteur .legende-moteur strong { display: block; font-size: 14px; color: var(--navy); }
.moteur .legende-moteur span { display: block; font-size: 11.5px; color: var(--mute); line-height: 1.45; margin-top: 4px; }
.fleche-mobile { display: none; }

/* Le parcours, repris de la v0 : tuiles numérotées, l'étape 3 en dégradé, ligne pointillée */
.parcours { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.parcours::before {
  content: ""; position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px;
  background-image: radial-gradient(circle, #CBD5E1 1px, transparent 1px);
  background-size: 8px 2px; background-repeat: repeat-x; background-position: center;
}
.parcours li { position: relative; }
.parcours .num {
  position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 0 16px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid rgba(226, 232, 240, 0.7); box-shadow: var(--ombre-sm);
  color: var(--cyan); font-weight: 800; font-size: 20px;
}
.parcours .num.fort { background: var(--grad-cta); border-color: transparent; color: #fff; box-shadow: 0 6px 16px -4px rgba(0, 188, 212, 0.4); }
.parcours h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.parcours p { margin: 0; font-size: 14px; color: var(--mute); line-height: 1.6; }

/* Appel final */
.cta-final { padding: 0 0 104px; }
.cta-bloc {
  position: relative; overflow: hidden; background: var(--grad-nuit); color: #fff;
  border-radius: 28px; padding: 72px 48px; text-align: center;
}
.cta-bloc .contenu { position: relative; z-index: 1; }
.cta-bloc h2 { color: #fff; margin: 0 auto 16px; }
.cta-bloc p { color: rgba(207, 250, 254, 0.75); max-width: 36rem; margin: 0 auto 32px; font-size: 17px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.garanties { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 24px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.garanties li { display: flex; align-items: center; gap: 6px; }
.garanties svg { width: 16px; height: 16px; color: var(--cyan-light); }

/* --- Pied de page CLAIR (2026-10-01) -----------------------------------------------
   Le pied navy faisait lourd sous l'appel final, lui-même navy : fond clair, logo foncé,
   un filet fin en haut, des liens discrets. */
.pied { background: var(--bg); color: var(--mute); padding: 48px 0 28px; font-size: 14px; border-top: 1px solid var(--line); }
.pied-grille { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.pied .baseline { margin: 14px 0 0; max-width: 24rem; color: var(--mute); }
.pied-liens { display: flex; flex-direction: column; gap: 10px; }
.pied-liens a, .lien-bouton {
  color: #475569; text-decoration: none; font: inherit;
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
}
.pied-liens a:hover, .lien-bouton:hover { color: var(--teal); }
.pied-bas {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--mute);
  border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; font-size: 12.5px;
}

/* --- Consentement (bandeau + préférences) ----------------------------------- */
.cc {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 440px;
  background: rgba(6, 26, 53, 0.97); color: #fff; border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px; padding: 20px 20px 18px; box-shadow: 0 24px 48px -12px rgba(6, 26, 53, 0.5);
}
.cc[hidden], .prefs[hidden] { display: none; }
.cc .titre { font-weight: 700; margin: 0 0 6px; }
.cc p { font-size: 14px; color: rgba(255, 255, 255, 0.72); margin: 0 0 16px; line-height: 1.55; }
.cc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-cc {
  flex: 1 1 auto; padding: 11px 14px; border-radius: 10px; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.25); background: transparent; color: #fff;
}
.btn-cc:hover { background: rgba(255, 255, 255, 0.08); }
.btn-cc.plein { background: var(--grad-cta); border-color: transparent; }
.btn-cc.discret { border-color: transparent; color: rgba(255, 255, 255, 0.7); }
.prefs { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 16px; }
.prefs .voile { position: absolute; inset: 0; background: rgba(6, 26, 53, 0.6); }
.prefs .panneau {
  position: relative; width: 100%; max-width: 480px; background: #fff; color: var(--ink);
  border-radius: 18px; padding: 24px; box-shadow: 0 30px 60px -20px rgba(6, 26, 53, 0.5);
}
.prefs h2 { font-size: 18px; color: var(--navy); margin: 0 0 16px; }
.choix { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; margin: 0 0 10px; }
.choix p { margin: 0; font-size: 13px; color: var(--mute); }
.choix strong { display: block; font-size: 14px; color: var(--navy); margin: 0 0 2px; }
.interrupteur {
  position: relative; width: 42px; height: 24px; flex-shrink: 0; border-radius: 999px; cursor: pointer;
  background: #CBD5E1; border: 0; padding: 0; transition: background .15s ease;
}
.interrupteur::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: var(--ombre-sm); transition: transform .15s ease;
}
.interrupteur[aria-checked="true"] { background: var(--teal); }
.interrupteur[aria-checked="true"]::after { transform: translateX(18px); }
.interrupteur[aria-disabled="true"] { opacity: 0.6; cursor: default; }
.prefs .cc-actions { margin-top: 16px; }
.prefs .btn-cc { color: var(--navy); border-color: var(--line); }
.prefs .btn-cc.plein { color: #fff; }

/* --- Page de texte (confidentialité) -------------------------------------------- */
.texte-page { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.texte-page h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -0.025em; color: var(--navy); margin: 0 0 6px; }
.texte-page .maj { color: var(--mute); font-size: 14px; margin: 0 0 32px; }
.texte-page h2 { font-size: 20px; color: var(--navy); margin: 40px 0 10px; letter-spacing: -0.01em; }
.texte-page p, .texte-page li { color: #475569; font-size: 15.5px; line-height: 1.7; }
.texte-page a { color: var(--teal); }
.tableau { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14.5px; }
.tableau th, .tableau td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.tableau th { background: var(--bg); color: var(--navy); }
.defile { overflow-x: auto; }
.retour { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); text-decoration: none; font-weight: 600; font-size: 14px; margin: 0 0 28px; }

/* --- Adaptations --------------------------------------------------------------- */
@media (max-width: 1020px) {
  .hero-grille, .hero-produit .hero-grille { grid-template-columns: 1fr; gap: 52px; }
  .produit { max-width: 760px; }
  .flottant { left: 2cqi; }
  .rang { grid-template-columns: 1fr; gap: 36px; }
  .rang.inverse .rang-texte { order: 0; }
  .rang-visuel { max-width: 680px; }
  .grille-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .schema { padding: 36px 20px 40px; }
  .schema-grille { grid-template-columns: 1fr; height: auto; gap: 0; justify-items: center; }
  .schema-col { width: 100%; max-width: 280px; }
  .schema-col .titre-col, .schema-col.droite .titre-col { position: static; text-align: center; }
  .connecteur { display: none; }
  .fleche-mobile { display: block; width: 2px; height: 32px; margin: 10px auto;
    background-image: repeating-linear-gradient(to bottom, rgba(0, 188, 212, 0.6) 0 6px, transparent 6px 12px); }
  .moteur .legende-moteur { position: static; margin: 12px 0 0; width: 220px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .preuves-grille { grid-template-columns: 1fr; }
  .preuve, .preuve + .preuve { padding: 20px 0; border-left: 0; }
  .preuve + .preuve { border-top: 1px solid var(--line); }
  .grille-3 { grid-template-columns: 1fr; }
  .parcours { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .parcours::before { display: none; }
}
@media (max-width: 640px) {
  .conteneur { padding: 0 16px; }
  .hero { padding: 56px 0 72px; }
  /* Bandeau cookies compact : il masquait un tiers du premier écran. Refuser et accepter
     restent au même niveau (CNIL). */
  .cc { left: 8px; right: 8px; bottom: 8px; padding: 12px 14px; border-radius: 14px; }
  .cc .titre { display: none; }
  .cc p { font-size: 12.5px; line-height: 1.45; margin: 0 0 10px; }
  .cc-actions { flex-wrap: nowrap; gap: 6px; }
  .btn-cc { padding: 9px 8px; font-size: 13px; }
  .btn-cc.discret { flex: 0 0 auto; padding: 9px 4px; font-weight: 500; }
  .hero-chapo { font-size: 16.5px; }
  .section { padding: 72px 0; }
  .cta-final { padding-bottom: 72px; }
  .chapo { margin-bottom: 36px; }
  .grille-4 { grid-template-columns: 1fr; }
  .parcours { grid-template-columns: 1fr; }
  .carte { padding: 22px; }
  .cta-bloc { padding: 44px 22px; border-radius: 20px; }
  .tete .bouton-petit { padding: 10px 12px; font-size: 13px; }
  .marque .nom small { display: none; }
  .hero-actions .bouton, .hero-actions .bouton-fantome { flex: 1 1 auto; justify-content: center; }
  /* La fenêtre sans son menu, à une taille lisible ; la carte flottante se pose dessous. */
  .app { grid-template-columns: 1fr; font-size: 2.7cqi; }
  .app-nav, .app-lien, .app .legende { display: none; }
  .flottant { position: relative; left: auto; top: auto; margin: -22px 12px 0; padding: 12px 16px 12px 12px; gap: 12px; border-radius: 14px; }
  .flottant-ic { width: 36px; height: 36px; border-radius: 10px; }
  .flottant-ic svg { width: 19px; height: 19px; }
  .flottant-sur { font-size: 10px; }
  .flottant-t { margin-top: 2px; font-size: 14px; }
  .rangs { gap: 72px; }
  .rang-visuel { padding: 14px; border-radius: 18px; }
  .panneau { padding: 14px; }
  .marques { font-size: 12px; }
  .marques th:nth-child(2), .marques td:nth-child(2) { display: none; }
  .marques th, .marques td { padding-left: 4px; padding-right: 4px; }
  .marques th { white-space: normal; }
  .marques .jauge { width: 30px; margin-right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .decor .halo, .pastille i, .trait, .trait-v, .moteur .boite svg { animation: none; }
  .trait.paquet::after { display: none; }
  .bouton, .carte { transition: none; }
}
