/* Site NOVE Intelligence, V1. HTML, CSS et JavaScript simples, sans compilation. */

@font-face {
  font-family: "Spectral";
  src: url("../fonts/spectral-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --marine: #0E2A3F;
  --acier: #3C5A72;
  --ardoise: #7A8FA2;
  --gris-bleu: #8EA1B2;
  --clair: #F8FAFC;
  --gris-chaud: #E6E0DA;
  --ardoise-douce: #D9E1E8;
  --blanc: #FFFFFF;

  --titre: "Spectral", Georgia, serif;
  --texte: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --doux: cubic-bezier(0.22, 1, 0.36, 1);
  --aller-retour: cubic-bezier(0.65, 0, 0.2, 1);

  --marge: clamp(16px, 4vw, 40px);
  --menu-h: 72px;
}

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

html, body {
  overflow-x: hidden;
  overflow-x: clip;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--clair);
  color: var(--marine);
  font-family: var(--texte);
  font-size: 16px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--acier);
  outline-offset: 3px;
  border-radius: 6px;
}

.lien-contenu {
  position: absolute;
  left: var(--marge);
  top: 8px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--marine);
  color: var(--blanc);
  border-radius: 8px;
  text-decoration: none;
  transform: translateY(-200%);
}
.lien-contenu:focus { transform: none; }

/* ---------- Menu : logo et bouton principal ---------- */

.menu {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--menu-h);
  padding: 0 var(--marge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Un voile clair derrière le menu : le contenu qui défile ne passe jamais sur le logo. */
.menu::before {
  content: "";
  position: absolute;
  inset: 0 0 -18px 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(248, 250, 252, 0.96) 0%, rgba(248, 250, 252, 0.9) 70%, rgba(248, 250, 252, 0) 100%);
  pointer-events: none;
}
.intro .menu::before { opacity: 0; }

.logo {
  display: block;
  flex: none;
  width: 140px;
  /* la place du logo reste réservée pendant l'intro, quand il est agrandi */
  aspect-ratio: 1220.5 / 287.25;
  /* zone de respiration du logo : rien n'entre dedans */
  padding: 0;
  line-height: 0;
}
.logo-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  transform-origin: 0 0;
}

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--marine);
  color: var(--blanc);
  font: 500 14px/1 var(--texte);
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.35s var(--doux), opacity 0.35s var(--doux);
}
.bouton:hover { transform: translateY(-1px); opacity: 0.9; }
.bouton:active { transform: translateY(0); opacity: 1; }

/* Sur téléphone, le menu ne garde que le logo : le bouton principal est dans la page. */
.menu .bouton { display: none; }

@media (min-width: 640px) {
  .logo { width: 156px; }
  .menu .bouton { display: inline-flex; }
}

main { display: block; position: relative; z-index: 1; }

/* Fond de tout le site : les lignes lumineuses, fixes derrière le contenu. */
.fond-lignes {
  position: fixed;
  inset: 0;
  inset: 0 0 auto 0;
  z-index: 0;
  width: 100%;
  /* la plus grande hauteur d'écran : la toile ne change pas de taille quand la barre du navigateur se replie */
  height: 100vh;
  height: 100lvh;
  pointer-events: none;
}
main:focus { outline: none; }

/* ---------- Section 1 : intro au chargement (barres du E) ----------
   La classe .intro est posée sur <html> par le petit script de l'en-tête,
   seulement à la première page de la visite et jamais en mouvement réduit.
   Le logo animé est le logo officiel du menu lui-même : on n'anime que
   transform et opacity, et il finit exactement à sa place. */

.voile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--clair);
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.intro .voile { display: block; }
.intro .logo-svg path { opacity: 0; }
.intro .menu .bouton { opacity: 0; }

/* ---------- Section 2 : hero ---------- */

.hors-ecran {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  list-style: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--menu-h) + 24px) var(--marge) 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-contenu {
  position: relative;
  width: 100%;
  max-width: 760px;
  text-align: center;
}
.hero-titre {
  margin: 0 auto;
  max-width: 12.5em;
  font: 600 clamp(34px, 5.2vw, 60px)/1.08 var(--titre);
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--marine);
}
.hero-sous-titre {
  margin: 20px auto 0;
  max-width: 40em;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
  color: var(--acier);
  text-wrap: balance;
}

.barre {
  margin: clamp(32px, 5vh, 48px) auto 0;
  max-width: 700px;
  padding: 20px 20px 14px 24px;
  text-align: left;
  background: var(--blanc);
  border: 1px solid rgba(14, 42, 63, 0.08);
  border-radius: 28px;
  box-shadow: 0 1px 2px rgba(14, 42, 63, 0.04), 0 18px 48px -18px rgba(14, 42, 63, 0.22);
}
.barre-texte {
  margin: 0;
  /* deux lignes réservées : la barre ne change jamais de hauteur pendant la frappe */
  min-height: 3.1em;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
  color: var(--acier);
}
.curseur {
  display: inline-block;
  width: 1.5px;
  height: 1.15em;
  margin-left: 2px;
  vertical-align: -0.2em;
  background: var(--marine);
  opacity: 0;
}
.pret .hero.actif .curseur { animation: clignote 1.1s steps(1) infinite; }
@keyframes clignote { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }

.barre-bas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}
.barre-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: -8px;
  border-radius: 50%;
  color: var(--ardoise);
}

/* La barre arrive comme une image qui fait sa mise au point : elle sort d'un léger flou,
   en montant et en se posant. Jouée une seule fois, à l'arrivée. Sans JavaScript, elle est simplement visible. */
.js .barre {
  opacity: 0;
  transform: translateY(34px) scale(1.05);
  filter: blur(16px);
}
.js.pret .barre {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 1.1s var(--doux) 0.25s, transform 1.4s var(--doux) 0.25s, filter 1.2s var(--doux) 0.25s;
}
.js .fond-lignes { opacity: 0; }
.js.pret .fond-lignes { opacity: 1; transition: opacity 1.4s ease-out 0.2s; }

/* La flèche d'envoi, comme dans un assistant IA. */
.envoyer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--marine);
  color: var(--blanc);
  transition: transform 0.35s var(--doux), opacity 0.35s var(--doux);
}
.envoyer:hover { transform: translateY(-2px); opacity: 0.9; }
.envoyer:active { transform: none; opacity: 1; }

/* Sur téléphone, la barre arrive sans flou (plus léger à dessiner). */
@media (max-width: 699px) {
  .js .barre { filter: none; transform: translateY(24px); }
}
@media (max-width: 479px) {
  .barre { padding: 18px 14px 12px 18px; border-radius: 24px; }
  /* trois lignes réservées sur téléphone : la demande la plus longue en a besoin */
  .hero .barre-texte { min-height: 4.65em; }
}

/* ---------- Section 3 : titre qui se remplit au scroll ---------- */

.raison { position: relative; }
.raison-scene {
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--menu-h) + 8px) var(--marge) 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* les cartes se tiennent à bonne distance du titre : ni collées, ni perdues */
  gap: clamp(30px, 6.5vh, 68px);
}
/* Avec JavaScript, la scène reste collée à l'écran pendant que le titre se remplit. */
.js .raison { height: 230vh; }
.js .raison-scene { position: sticky; top: 0; height: 100vh; height: 100svh; }
@media (max-width: 699px) {
  .js .raison { height: 175vh; }
  /* Sur téléphone, le hero ne remplit plus tout l'écran et le titre suivant remonte :
     moins de vide entre les deux sections. */
  .hero { min-height: 0; padding-top: calc(var(--menu-h) + 40px); padding-bottom: 56px; }
}

.raison-titre {
  margin: 0;
  max-width: 17em;
  text-align: center;
  font: 600 clamp(31px, 4.5vw, 56px)/1.12 var(--titre);
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--marine);
}
/* Chaque mot passe du gris clair au marine : on n'anime que son opacité. */
.raison-titre .mot { transition: opacity 0.35s ease-out; }
.js .raison-titre .mot { opacity: 0.2; }
.js .raison-titre .mot.plein { opacity: 1; }
/* Sur grand écran, chaque phrase du titre tient sur sa ligne. */
.raison-titre br { display: none; }
@media (min-width: 900px) { .raison-titre br { display: inline; } }

.raison-rang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.4vw, 28px);
  width: 100%;
  max-width: 760px;
}
.carte {
  flex: none;
  margin: 0;
  background: var(--blanc);
  border: 1px solid rgba(14, 42, 63, 0.08);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(14, 42, 63, 0.04), 0 10px 28px -14px rgba(14, 42, 63, 0.2);
  color: var(--marine);
  font-size: 12px;
  line-height: 1.35;
  transform: translateY(var(--dy, 0));
}
.js .carte {
  opacity: 0;
  transform: translateY(calc(var(--dy, 0px) + 14px)) scale(0.96);
  transition: opacity 0.6s var(--doux), transform 0.6s var(--doux);
}
.js .carte.vue { opacity: 1; transform: translateY(var(--dy, 0)); }
.carte p { margin: 0; }

.puce {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
}
.puce-logo { display: inline-flex; align-items: center; gap: 8px; padding-left: 11px; }
.puce-logo svg { width: 18px; height: 18px; flex: none; }
.logo-chatgpt { fill: #0D0D0D; }
.logo-claude { fill: #D97757; }
.exemple {
  display: block;
  margin-bottom: 6px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ardoise);
}
.carte-reponse { width: clamp(150px, 16vw, 190px); padding: 10px 13px 12px; }
.carte-question { color: var(--acier); }

/* Rouge d'alerte, demandé par Ziyad (15/11/2026) : hors palette, réservé aux scores faibles. */
:root { --alerte: #B42318; }
.carte-rapport { width: clamp(132px, 17vw, 176px); padding: 12px 14px 14px; }
.carte-score { display: flex; align-items: baseline; gap: 3px; }
.carte-score b { font: 600 28px/1 var(--texte); letter-spacing: -0.02em; color: var(--alerte); }
.carte-score span { font-size: 12px; color: var(--ardoise); }
.carte-legende { margin-top: 2px !important; color: var(--acier); font-size: 11px; }
.carte-jauge { display: block; margin-top: 10px; height: 5px; border-radius: 3px; background: var(--ardoise-douce); overflow: hidden; }
.carte-jauge i { display: block; width: 27%; height: 100%; border-radius: 3px; background: var(--alerte); }

.carte-indice { width: clamp(190px, 18vw, 232px); padding: 12px 14px 10px; }
.indice-titre { font-size: 9.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ardoise); }
.carte-indice ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; }
.carte-indice li { display: grid; grid-template-columns: 7.4em 1fr 1.6em; align-items: center; gap: 8px; white-space: nowrap; color: var(--acier); }
.carte-indice i { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--ardoise-douce); overflow: hidden; }
.carte-indice i::after { content: ""; position: absolute; inset: 0; width: var(--v); border-radius: 3px; background: var(--acier); }
.carte-indice b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; color: var(--marine); }
.carte-indice .vous, .carte-indice .vous b { color: var(--alerte); font-weight: 600; }
.carte-indice .vous i::after { background: var(--alerte); }

/* Cartes photo, de part et d'autre du titre. Elles n'existent que sur grand écran. */
.carte-photo {
  display: none;
  position: absolute;
  top: 50%;
  width: clamp(170px, 15vw, 220px);
  padding: 8px 8px 10px;
}
.carte-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--ardoise-douce);
}
.carte-photo figcaption { margin: 8px 4px 0; font-size: 12px; color: var(--acier); }
.cote-gauche { left: max(var(--marge), calc(50% - 680px)); --dy: -172%; }
.cote-droit { right: max(var(--marge), calc(50% - 680px)); --dy: 72%; }
@media (min-width: 1180px) and (min-height: 700px) { .carte-photo { display: block; } }

@media (max-width: 479px) {
  .raison-rang { gap: 8px; }
  .puce { padding: 7px 10px; font-size: 12px; }
  .carte-reponse { width: 148px; padding: 9px 11px 10px; }
  .carte-rapport { width: 140px; padding: 10px 11px 12px; }
  .carte-indice { width: 190px; padding: 10px 11px 8px; }
  .carte-indice li { grid-template-columns: 8.6em 1fr 1.5em; gap: 6px; }
  /* En bas, les deux cartes côte à côte et la pastille dessous. */
  .raison-rang:last-child { flex-wrap: wrap; row-gap: 12px; column-gap: 12px; }
  .raison-rang:last-child .puce { order: 3; --dy: 0px !important; }
  .raison-rang:last-child .carte { --dy: 0px !important; }
  .raison-scene { gap: 30px; }
  .carte { font-size: 11px; }
  .carte-score b { font-size: 24px; }
}
/* Écrans très bas : le titre garde la priorité, les cartes du bas s'effacent. */
@media (max-height: 560px) {
  .raison-rang:last-child { display: none; }
}

/* Le réseau derrière le titre : les endroits où une entreprise est présente (IA, moteurs, avis, réseaux),
   reliés par de fines lignes bleues, comme la lumière du fond. Tout apparaît au fil du scroll. */
.raison-titre { position: relative; z-index: 1; }
.reseau { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.reseau-liens { position: absolute; inset: 0; width: 100%; height: 100%; }
.lien { stroke: rgb(47, 128, 237); stroke-width: 1; stroke-opacity: 0.3; vector-effect: non-scaling-stroke; }
.noeud {
  position: absolute;
  width: var(--t, 36px);
  height: var(--t, 36px);
  margin: calc(var(--t, 36px) / -2) 0 0 calc(var(--t, 36px) / -2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28%;
  background: var(--blanc);
  border: 1px solid rgba(14, 42, 63, 0.07);
  box-shadow: 0 1px 2px rgba(14, 42, 63, 0.05), 0 8px 20px -10px rgba(14, 42, 63, 0.3);
}
.noeud svg { display: block; width: 52%; height: 52%; }
.noeud.t1 { --t: 42px; }
.noeud.t2 { --t: 36px; }
.noeud.t3 { --t: 30px; }
.noeud.point { --t: 7px; border: 0; border-radius: 50%; background: rgb(47, 128, 237); box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.12); }
.js .noeud { opacity: 0; transform: scale(0.5); transition: opacity 0.7s var(--doux), transform 0.9s var(--doux); }
.js .noeud.vue { opacity: 1; transform: none; }
.js .lien { opacity: 0; transition: opacity 1.1s ease-out; }
.js .lien.vue { opacity: 1; }
/* Une ligne sur trois respire doucement, comme un courant qui passe. */
.js .lien.vue.souffle { animation: souffle 4.5s ease-in-out var(--d, 0s) infinite; }
@keyframes souffle { 0%, 100% { stroke-opacity: 0.22; } 50% { stroke-opacity: 0.85; } }
/* Version vivante : une toile dessine le réseau en mouvement, la version fixe lui laisse la place. */
.reseau-toile { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.reseau-vif .reseau-toile { display: block; }
.reseau-vif .noeud, .reseau-vif .reseau-liens { visibility: hidden; }
@media (max-width: 699px) {
  .noeud.t1 { --t: 32px; }
  .noeud.t2 { --t: 28px; }
  .noeud.t3 { --t: 24px; }
  .noeud.point { --t: 5px; }
  /* à la hauteur du titre, qui prend presque toute la largeur : rien ne passe derrière lui */
  .cote { display: none; }
}

/* ---------- Section 4 : chiffres et courbe ---------- */

.chiffres {
  position: relative;
  padding: clamp(72px, 12vh, 140px) var(--marge) clamp(96px, 16vh, 180px);
  overflow: hidden;
}
.chiffres-contenu {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}
.chiffres-titre {
  margin: 0;
  max-width: 12em;
  font: 600 clamp(30px, 4vw, 48px)/1.12 var(--titre);
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.chiffres-texte {
  margin: 18px 0 0;
  max-width: 30em;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--acier);
  text-wrap: pretty;
}
.chiffres-liste { margin: clamp(40px, 7vh, 72px) 0 0; display: grid; gap: clamp(24px, 4vh, 40px); }
.chiffre dt {
  max-width: 28em;
  font-size: 14px;
  line-height: 1.4;
  color: var(--acier);
}
.chiffre dd { margin: 6px 0 0; }
.nombre {
  display: block;
  font: 600 clamp(40px, 5.4vw, 68px)/1.06 var(--texte);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: var(--marine);
}
.nombre .vert { color: var(--oui); }
.chiffre small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ardoise);
}
/* Les chiffres arrivent en douceur quand ils entrent à l'écran. */
.js .chiffre { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--doux), transform 0.8s var(--doux); }
.js .chiffre.vu { opacity: 1; transform: none; }

/* La courbe : une ligne brisée, comme un relevé, du gris-bleu clair au marine,
   avec une teinte très douce dessous qui s'efface vers le bas. Elle se dessine au scroll. */
.courbe {
  position: absolute;
  right: max(0px, calc(50% - 640px));
  bottom: clamp(24px, 6vh, 72px);
  width: min(74%, 980px);
  height: auto;
  overflow: visible;
  pointer-events: none;
}
.courbe-ligne { stroke-dasharray: 1; stroke-dashoffset: 0; }
.courbe-aire { opacity: 1; filter: blur(14px); }
@media (max-width: 699px) {
  /* sur téléphone, pas de flou : il se recalcule à chaque image et freine le défilement */
  .courbe-aire { filter: none; }
  .courbe { width: 96%; right: 0; bottom: 20px; }
  .courbe-ligne { stroke-width: 5; }
}

/* ---------- Section 5 : ce que vous obtenez ---------- */

.obtenez { position: relative; }
.obtenez-scene {
  position: relative;
  padding: clamp(64px, 10vh, 120px) var(--marge);
}
.obtenez-titre {
  margin: 0 auto;
  max-width: 14.5em;
  text-align: center;
  font: 600 clamp(32px, 4.2vw, 58px)/1.08 var(--titre);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.obtenez-rail { display: none; }
.etapes { list-style: none; margin: clamp(36px, 6vh, 64px) 0 0; padding: 0; display: grid; gap: 52px; }
.etape-tete {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  font: 600 12px/1 var(--texte);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marine);
  cursor: default;
}
.etape-marque {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 6px;
  background: var(--marine);
  color: var(--blanc);
}
.etape-marque svg { position: relative; z-index: 1; }
.etape-texte { margin-top: 18px; }
.etape-texte h3 {
  margin: 0;
  max-width: 15em;
  font: 600 clamp(25px, 2.5vw, 34px)/1.14 var(--titre);
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.etape-texte p { margin: 14px 0 0; max-width: 33em; font-size: 15.5px; line-height: 1.5; color: var(--acier); text-wrap: pretty; }
/* Le grand panneau de droite : un aplat marine (pas d'image pour l'instant), le livrable posé dessus. */
.etape-visuel {
  margin-top: 26px;
  border-radius: 12px;
  background: linear-gradient(165deg, #0E2A3F 0%, #153146 48%, #3C5A72 130%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(22px, 6vw, 40px) clamp(18px, 5vw, 40px);
}
.panneau { width: 100%; max-width: 340px; color: var(--blanc); font-size: 12px; line-height: 1.35; }
.panneau p { margin: 0; }
.panneau-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panneau-titre { font: 600 22px/1.15 var(--titre); letter-spacing: -0.005em; }
.panneau-exemple {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.panneau-date { margin-top: 5px !important; color: rgba(255, 255, 255, 0.62); }
.panneau-nombre { margin-top: 16px !important; font: 600 40px/1 var(--texte); letter-spacing: -0.03em; }
.panneau-nombre span { font-size: 18px; font-weight: 500; color: rgba(255, 255, 255, 0.62); letter-spacing: 0; }
.panneau-legende { margin-top: 4px !important; color: rgba(255, 255, 255, 0.72); }
.panneau-trace { display: block; width: 100%; height: 84px; margin-top: 10px; }

.fiche {
  list-style: none;
  margin: 14px 0 0;
  padding: 4px 14px;
  border-radius: 6px;
  background: var(--blanc);
  color: var(--marine);
  box-shadow: 0 16px 36px -18px rgba(0, 0, 0, 0.5);
}
.fiche + .fiche { margin-top: 8px; }
.fiche li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(14, 42, 63, 0.08); }
.fiche li:first-child { border-top: 0; }
.fiche li > span { flex: 1; min-width: 0; font-weight: 500; }
.fiche small { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 400; color: var(--ardoise); }
.fiche em { flex: none; font-style: normal; font-size: 11px; color: var(--acier); font-variant-numeric: tabular-nums; }
.fiche-rangs b { flex: none; width: 1em; font-weight: 500; font-size: 11px; color: var(--ardoise); }
.fiche-rangs i { flex: none; width: 30px; height: 30px; border-radius: 6px; background: var(--ardoise-douce); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; font-style: normal; color: var(--acier); }
.fiche-table .avec-logo { display: flex; align-items: center; gap: 8px; }
.logo-ia { width: 15px; height: 15px; flex: none; }
/* Logos des marques réelles, dans leurs couleurs, sur une pastille blanche. */
.fiche-rangs .marque { width: 62px; padding: 3px 5px; background: var(--blanc); border: 1px solid rgba(14, 42, 63, 0.1); }
.fiche-rangs .marque img { display: block; width: 100%; height: 100%; object-fit: contain; }
.fiche-rangs .vous i { width: 62px; }
.fiche-rangs .vous i { background: var(--marine); }
.fiche-rangs .vous em { color: var(--marine); font-weight: 600; }
.fiche-ecarts li { padding: 9px 0; }
.fiche-ecarts em { padding: 4px 8px; border-radius: 5px; background: var(--clair); border: 1px solid rgba(14, 42, 63, 0.08); font-weight: 500; white-space: nowrap; }
.fiche-ecarts em.fort { background: var(--marine); border-color: var(--marine); color: var(--blanc); }
.fiche-table li { padding: 8px 0; font-size: 11.5px; }
.fiche-table li > span:last-child { flex: none; width: 5.2em; font-weight: 400; }
.fiche-table .entete { font-size: 10px; color: var(--ardoise); }
.fiche-table .entete > span { font-weight: 400; }
/* Oui en vert, non en rouge (demande de Ziyad, 15/11/2026). */
:root { --oui: #1F8A4C; }
.fiche-table .oui { color: var(--oui); font-weight: 600 !important; }
.fiche-table .non { color: var(--alerte); font-weight: 600 !important; }
.fiche-table .oui::before, .fiche-table .non::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }

/* Le tableau de bord : un écran de logiciel en petit. */
.tdb {
  display: flex;
  margin-top: 14px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--blanc);
  color: var(--marine);
  box-shadow: 0 16px 36px -18px rgba(0, 0, 0, 0.5);
  font-size: 10.5px;
  line-height: 1.3;
}
.tdb-cote { flex: none; width: 38px; padding: 10px 0; display: flex; flex-direction: column; align-items: center; gap: 9px; background: #0A2233; }
.tdb-cote img { width: 18px; height: auto; margin-bottom: 6px; }
.tdb-cote span { width: 16px; height: 16px; border-radius: 5px; background: rgba(255, 255, 255, 0.14); }
.tdb-cote span.actif { background: rgba(255, 255, 255, 0.9); }
.tdb-corps { flex: 1; min-width: 0; padding: 11px 12px 6px; background: var(--clair); }
.tdb-tete { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tdb-tete b { font-size: 12.5px; font-weight: 600; }
.tdb-tete span { padding: 3px 7px; border-radius: 5px; background: var(--blanc); border: 1px solid rgba(14, 42, 63, 0.1); color: var(--acier); font-size: 9.5px; }
.tdb ul { list-style: none; margin: 0; padding: 0; }
.tdb small { display: block; font-size: 9px; color: var(--ardoise); }
.tdb-indics { margin-top: 9px !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tdb-indics li { padding: 7px 8px 8px; border-radius: 6px; background: var(--blanc); border: 1px solid rgba(14, 42, 63, 0.07); }
.tdb-indics b { display: block; margin-top: 3px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tdb-indics i { font-style: normal; font-size: 10px; font-weight: 500; letter-spacing: 0; color: var(--ardoise); }
.tdb-courbe { margin-top: 6px; padding: 7px 8px 0; border-radius: 6px; background: var(--blanc); border: 1px solid rgba(14, 42, 63, 0.07); overflow: hidden; }
.tdb-courbe svg { display: block; width: calc(100% + 16px); height: 46px; margin: 4px -8px 0; }
.tdb-actions { margin-top: 6px !important; padding: 2px 10px; border-radius: 6px; background: var(--blanc); border: 1px solid rgba(14, 42, 63, 0.07); }
.tdb-actions li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid rgba(14, 42, 63, 0.07); font-weight: 500; }
.tdb-actions li:first-child { border-top: 0; }
.tdb-actions .entete { font-size: 9px; font-weight: 400; color: var(--ardoise); }
.tdb-actions em { flex: none; font-style: normal; font-weight: 600; color: var(--ardoise); white-space: nowrap; }
.tdb-actions em.plus { color: var(--oui); }
/* Le panneau du tableau de bord est un peu plus large que les autres. */
.panneau:has(.tdb) { max-width: 400px; }

/* Grand écran, mouvement autorisé : la scène reste collée et l'étape active change au scroll.
   Seuls transform et opacity bougent : les intitulés glissent, les textes et les panneaux se fondent. */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .obtenez { height: 235vh; }
  .js .obtenez-scene {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: calc(var(--menu-h) + 4px) 12px 0 11.4vw;
    display: flex;
    flex-direction: column;
  }
  .js .obtenez-titre { margin-left: calc(50vw - 11.4vw - 7.25em); margin-right: 0; flex: none; }
  /* Le repère de progression, tout à gauche. */
  .js .obtenez-rail {
    display: grid;
    gap: 8px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-10%);
  }
  .js .obtenez-rail i { position: relative; display: block; width: 2px; height: 60px; border-radius: 1px; background: var(--ardoise-douce); }
  /* Chaque trait se remplit de haut en bas au fil du défilement : quand il est plein, on passe à l'étape suivante. */
  .js .obtenez-rail i { overflow: hidden; }
  .js .obtenez-rail i::after { content: ""; position: absolute; inset: 0; border-radius: 1px; background: var(--marine); transform-origin: 50% 0; transform: scaleY(var(--r, 0)); }

  .js .etapes {
    --lh: 60px;
    position: relative;
    display: block;
    flex: none;
    height: min(66vh, calc(100vh - 276px));
    min-height: 420px;
    margin-top: clamp(28px, 6vh, 72px);
  }
  .js .etape { height: var(--lh); }
  .js .etape:first-child { padding-top: 26px; height: calc(var(--lh) + 26px); }
  .js .etape-tete {
    color: var(--acier);
    cursor: pointer;
    transition: transform 0.75s var(--doux), color 0.4s;
  }
  .js .etape-marque { background: #EAEEF2; color: var(--marine); transition: color 0.4s; }
  .js .etape-marque::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--marine); opacity: 0; transition: opacity 0.5s var(--doux); }
  .js .etape.active .etape-marque::before { opacity: 1; }
  .js .etape.active .etape-marque { color: var(--blanc); }
  .js .etape.active .etape-tete { color: var(--marine); }
  .js .etape-texte {
    position: absolute;
    left: 0;
    top: calc(26px + var(--i) * var(--lh) + 36px + 18px);
    width: min(520px, 44%);
    margin: 0;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.4s var(--doux), transform 0.6s var(--doux);
  }
  .js .etape.active .etape-texte { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.18s; }
  .js .etape-visuel {
    position: absolute;
    right: 0;
    top: 0;
    width: min(46%, 41.5vw);
    height: 100%;
    margin: 0;
    opacity: 0;
    transition: opacity 0.7s var(--doux);
  }
  .js .etape-visuel .panneau { transform: translateY(20px) scale(0.97); transition: transform 0.9s var(--doux); }
  .js .etape.active .etape-visuel { opacity: 1; }
  .js .etape.active .etape-visuel .panneau { transform: none; }
}

/* ---------- Section 6 : comparaison à glisser ---------- */

.comparer { position: relative; padding: clamp(72px, 12vh, 140px) var(--marge); }
.comparer-contenu { max-width: 1120px; margin: 0 auto; }
.comparer-sur { margin: 0; font-size: clamp(16px, 1.6vw, 21px); color: var(--acier); }
.comparer-titre {
  margin: 14px 0 0;
  max-width: 18em;
  font: 600 clamp(32px, 4.6vw, 60px)/1.08 var(--titre);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.comparer-texte { margin: 22px 0 0; max-width: 36em; font-size: clamp(16px, 1.6vw, 21px); line-height: 1.45; color: var(--acier); text-wrap: pretty; }

/* --p : position de la poignée, de 0 (tout « après ») à 100 (tout « avant »).
   Le volet et son contenu se déplacent en sens inverse : seuls des transform bougent. */
.glisse {
  position: relative;
  margin-top: clamp(32px, 6vh, 60px);
  aspect-ratio: 16 / 9.3;
  border-radius: 8px;
  border: 1px solid rgba(14, 42, 63, 0.08);
  overflow: hidden;
  container-type: inline-size;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
.glisse-face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
/* Avant : un fond sombre et dense. Après : un fond clair et doux. (Pas d'image pour l'instant.) */
.glisse-avant { background: linear-gradient(150deg, #0E2A3F 0%, #1D3A50 60%, #3C5A72 130%); }
.glisse-apres { background: linear-gradient(120deg, #EEF1F4 0%, #E6E0DA 100%); }
.glisse-volet {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: translateX(calc((var(--p) - 100) * 1%));
}
.glisse-volet .glisse-face { transform: translateX(calc((100 - var(--p)) * 1%)); }

/* Les deux cartes ont exactement la même taille et la même place : la poignée passe de l'une à l'autre. */
.glisse-carte {
  position: relative;
  width: 75.5%;
  aspect-ratio: 16 / 9;
  border-radius: 0.3cqw;
  background: var(--blanc);
  box-shadow: 0 1.6cqw 4cqw -1.6cqw rgba(14, 42, 63, 0.35);
  font-size: clamp(5px, 1.05cqw, 12px);
  line-height: 1.3;
  color: var(--marine);
  overflow: hidden;
}
.glisse-carte p { margin: 0; }
.glisse-carte ul { list-style: none; margin: 0; padding: 0; }
.glisse-carte i, .glisse-carte b { font-style: normal; }

/* Avant : une carte de positionnement surchargée, des étiquettes partout. */
.eparse-tete {
  position: absolute; left: 4%; right: 4%; top: 0; height: 11%;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(14, 42, 63, 0.12);
  font-size: 0.72em; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ardoise);
}
.eparse-tete b { font-size: 1.25em; letter-spacing: 0; text-transform: none; color: var(--marine); }
.eparse-carte {
  position: absolute; left: 6%; top: 18%; width: 46%; height: 72%;
  border: 1px solid rgba(14, 42, 63, 0.1);
  background:
    linear-gradient(rgba(14, 42, 63, 0.28), rgba(14, 42, 63, 0.28)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(rgba(14, 42, 63, 0.28), rgba(14, 42, 63, 0.28)) 0 50% / 100% 1px no-repeat,
    repeating-linear-gradient(to right, rgba(14, 42, 63, 0.09) 0 1px, transparent 1px 16.666%),
    repeating-linear-gradient(to bottom, rgba(14, 42, 63, 0.09) 0 1px, transparent 1px 16.666%);
}
.eparse-axe { position: absolute; font-size: 0.62em; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; color: var(--acier); }
.eparse-axe.haut { left: 50%; bottom: 100%; transform: translate(-50%, -40%); }
.eparse-axe.bas { left: 50%; top: 100%; transform: translate(-50%, 40%); }
.eparse-axe.gauche { right: 100%; top: 50%; transform: translate(40%, -50%) rotate(-90deg); transform-origin: center; }
.eparse-axe.droite { left: 100%; top: 50%; transform: translate(-40%, -50%) rotate(90deg); transform-origin: center; }
.eparse-liste li {
  position: absolute;
  display: flex; align-items: center; gap: 0.5em;
  font-size: 0.68em; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  transform: translateY(-50%);
}
.eparse-liste li::before { content: ""; width: 1.25em; height: 1.25em; border-radius: 0.25em; background: var(--marine); }
.eparse-liste li.b::before { background: var(--acier); }
.eparse-liste li.c::before { background: var(--gris-bleu); }
.eparse-liste li.d::before { background: var(--gris-chaud); box-shadow: inset 0 0 0 1px rgba(14, 42, 63, 0.25); }
.eparse-phrase {
  position: absolute; right: 4.5%; top: 21%; width: 30%;
  text-align: right;
  font: 600 2.15em/1.14 var(--titre);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Après : la même carte, réduite à l'essentiel, sur un fond très doux. */
.carte-claire {
  background:
    radial-gradient(60% 70% at 72% 26%, rgba(142, 161, 178, 0.38), rgba(142, 161, 178, 0) 70%),
    radial-gradient(55% 60% at 30% 82%, rgba(230, 224, 218, 0.75), rgba(230, 224, 218, 0) 70%),
    #FDFDFE;
}
.claire-titre { position: absolute; left: 3.6%; top: 5%; font: 600 1.7em/1.2 var(--titre); color: var(--acier); }
.claire-carte { position: absolute; left: 22%; top: 16%; width: 56%; height: 72%; }
.claire-axes { position: absolute; inset: 9% 0; width: 100%; height: 82%; }
.claire-axe { position: absolute; font: 600 1.25em/1 var(--titre); white-space: nowrap; color: var(--acier); }
.claire-axe.haut { left: 50%; top: 0; transform: translateX(-50%); }
.claire-axe.bas { left: 50%; bottom: 0; transform: translateX(-50%); }
.claire-axe.gauche { right: 102%; top: 50%; transform: translateY(-50%); }
.claire-axe.droite { left: 102%; top: 50%; transform: translateY(-50%); }
.claire-point { position: absolute; width: 34%; text-align: center; font-size: 0.98em; line-height: 1.25; color: var(--ardoise); transform: translate(-50%, 0); }
.claire-point i { display: block; width: 2.6em; height: 2.6em; margin: 0 auto 0.9em; border-radius: 50%; background: var(--ardoise-douce); }
.claire-point.vous { color: var(--marine); font-weight: 500; }
.claire-point.vous i { background: radial-gradient(circle at 35% 30%, #7A8FA2, #0E2A3F 75%); box-shadow: 0 0.5em 1.2em -0.3em rgba(14, 42, 63, 0.5); }
.claire-point.p1 { left: 26%; top: 17%; }
.claire-point.p2 { left: 74%; top: 17%; }
.claire-point.p3 { left: 26%; top: 60%; }
.claire-point.p4 { left: 74%; top: 60%; }
.claire-note { position: absolute; left: 3.6%; right: 3.6%; bottom: 3.4%; font-size: 0.74em; color: var(--acier); }

/* La poignée : un grand rond blanc à double flèche, sans trait vertical, comme dans le modèle. */
.glisse-poignee {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  transform: translateX(calc(var(--p) * 1%));
}
.glisse-bouton {
  --d: clamp(44px, 7cqw, 76px);
  position: absolute;
  left: calc(var(--d) / -2);
  top: 50%;
  width: var(--d);
  height: var(--d);
  margin-top: calc(var(--d) / -2);
  border-radius: 50%;
  background: var(--blanc);
  color: var(--marine);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px -8px rgba(14, 42, 63, 0.45), 0 0 0 1px rgba(14, 42, 63, 0.04);
  pointer-events: auto;
  cursor: grab;
  transition: transform 0.3s var(--doux);
}
.glisse-bouton svg { width: 46%; height: 46%; }
.glisse.saisie .glisse-bouton { cursor: grabbing; transform: scale(1.06); }
.glisse-poignee:focus-visible { outline: none; }
.glisse-poignee:focus-visible .glisse-bouton { outline: 2px solid var(--acier); outline-offset: 3px; }

@media (max-width: 699px) {
  .glisse { aspect-ratio: 16 / 11; }
  .glisse-carte { width: 88%; font-size: 1.32cqw; }
}

/* ---------- Section 7 : manifeste et fondateurs ---------- */

.equipe { position: relative; padding: clamp(72px, 12vh, 140px) var(--marge); }
.equipe-contenu { max-width: 1360px; margin: 0 auto; display: grid; gap: 40px; }
.equipe-sur { margin: 0; font: 500 13px/1 var(--texte); letter-spacing: 0.08em; text-transform: uppercase; color: var(--acier); }
.equipe-titre {
  margin: 28px 0 0;
  max-width: 17em;
  font: 600 clamp(26px, 2.9vw, 38px)/1.2 var(--titre);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.fondateurs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 3vw, 36px); }
.fondateur-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: clamp(18px, 2.4vw, 30px);
  overflow: hidden;
  background: var(--ardoise-douce);
}
.fondateur-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
/* Les portraits ne s'enregistrent pas d'un appui long, d'un clic droit ou d'un glisser. */
.fondateur-photo { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.fondateur-photo img { pointer-events: none; -webkit-touch-callout: none; -webkit-user-drag: none; }
.fondateur-nom { margin: clamp(16px, 2.4vw, 30px) 0 0; text-align: center; font: 500 clamp(17px, 1.8vw, 24px)/1.2 var(--texte); letter-spacing: -0.01em; }
.fondateur-lien {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blanc);
  color: var(--marine);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -8px rgba(14, 42, 63, 0.5);
  transition: opacity 0.4s var(--doux), transform 0.4s var(--doux);
}
.fondateur-lien:hover { transform: scale(1.08); }
.fondateur { transition: opacity 0.45s var(--doux), filter 0.45s var(--doux); }

/* Avec une souris : la pastille LinkedIn n'apparaît qu'au survol, et l'autre portrait se floute. */
@media (hover: hover) and (pointer: fine) {
  .fondateur-lien { opacity: 0; transform: translateY(8px) scale(0.9); }
  .fondateur:hover .fondateur-lien, .fondateur:focus-within .fondateur-lien { opacity: 1; transform: none; }
  .fondateur:hover .fondateur-lien:hover { transform: scale(1.08); }
  .fondateurs:hover .fondateur:not(:hover), .fondateurs:focus-within .fondateur:not(:focus-within):not(:hover) { filter: blur(7px); opacity: 0.55; }
  .fondateurs:hover .fondateur:hover { filter: none; opacity: 1; }
}

@media (min-width: 900px) {
  .equipe-contenu { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
}

/* ---------- Section 8 : appel final et pied de page ---------- */

.final {
  position: relative;
  min-height: 78vh;
  min-height: 78svh;
  padding: clamp(96px, 16vh, 180px) var(--marge);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.final-titre {
  position: relative;
  margin: 0;
  max-width: 15em;
  font: 600 clamp(30px, 4.4vw, 56px)/1.1 var(--titre);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
/* La barre du premier écran revient, cette fois pour de vrai : on y tape sa question. */
.final-barre {
  position: relative;
  display: block;
  width: 100%;
  max-width: 620px;
  margin-top: clamp(28px, 5vh, 44px);
}
.final-barre:focus-within { border-color: rgba(14, 42, 63, 0.35); }
.final-champ {
  display: block;
  width: 100%;
  min-height: 2.4em;
  padding: 0;
  border: 0;
  outline: none;
  background: none;
  font: 400 clamp(16px, 1.5vw, 18px)/1.55 var(--texte);
  color: var(--marine);
}
.final-champ::placeholder { color: var(--ardoise); opacity: 1; }
.final-barre .barre-bas { display: flex; }
.final-barre .envoyer { border: 0; padding: 0; cursor: pointer; }
.final-note { position: relative; margin: 14px 0 0; font-size: 13px; color: var(--ardoise); }

.pied {
  position: relative;
  z-index: 1;
  padding: 0 var(--marge);
  text-align: center;
  --bande: clamp(180px, 34vw, 380px);
}
.pied-ligne {
  margin: 0;
  padding-bottom: clamp(36px, 7vh, 72px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  font-size: 13px;
  color: var(--acier);
}
.pied-ligne a { color: inherit; text-decoration: none; }
.pied-ligne a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* La page du dessous : une fenêtre dans le site. Le logo y est fixé au bas de l'écran,
   il ne bouge pas : c'est le site qui remonte et le découvre. */
.pied-dessous {
  position: relative;
  height: var(--bande);
  margin: 0 calc(-1 * var(--marge));
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
}
/* L'ombre que le site pose sur la page du dessous. */
.pied-dessous::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 18px;
  background: linear-gradient(rgba(14, 42, 63, 0.1), rgba(14, 42, 63, 0));
  pointer-events: none;
}
.pied-fond {
  position: fixed;
  inset: auto 0 0 0;
  height: var(--bande);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--marge);
  background: #F1F4F7;
}
.pied-logo {
  position: relative;
  width: min(78%, 860px);
  --x: 50%;
  --y: 50%;
}
/* Le logo gravé, ton sur ton : un liseré clair dessous, une ombre fine dessus. */
.pied-logo-grave {
  display: block;
  aspect-ratio: 1220.5 / 287.25;
  background: #E9EEF3;
  -webkit-mask: url("../logo/nove-lockup-navy.svg") center / contain no-repeat;
  mask: url("../logo/nove-lockup-navy.svg") center / contain no-repeat;
}
.pied-logo-grave { filter: drop-shadow(0 1.5px 0 rgba(255, 255, 255, 0.95)) drop-shadow(0 -1px 0.5px rgba(14, 42, 63, 0.2)); }
/* Le logo officiel en couleurs, visible seulement dans un rond autour du curseur. */
.pied-logo-couleur {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s var(--doux);
  -webkit-mask: radial-gradient(circle 9.5em at var(--x) var(--y), #000 0%, #000 42%, transparent 100%);
  mask: radial-gradient(circle 9.5em at var(--x) var(--y), #000 0%, #000 42%, transparent 100%);
  pointer-events: none;
}
.pied-logo.eclaire .pied-logo-couleur { opacity: 1; }
@media (max-width: 699px) {
  .pied-logo-couleur { -webkit-mask-image: radial-gradient(circle 5.5em at var(--x) var(--y), #000 0%, #000 42%, transparent 100%); mask-image: radial-gradient(circle 5.5em at var(--x) var(--y), #000 0%, #000 42%, transparent 100%); }
}
/* Le logo et la phrase arrivent en douceur quand ils entrent à l'écran. */
.js .arrive { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--doux), transform 1.1s var(--doux); }
.js .arrive.vu { opacity: 1; transform: none; }

/* ---------- Page de texte (confidentialité) ---------- */

.page-texte {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--menu-h) + clamp(32px, 8vh, 80px)) var(--marge) clamp(64px, 10vh, 120px);
}
.page-sur { margin: 0; font: 500 13px/1 var(--texte); letter-spacing: 0.08em; text-transform: uppercase; color: var(--acier); }
.page-texte h1 { margin: 18px 0 0; font: 600 clamp(30px, 4vw, 46px)/1.12 var(--titre); letter-spacing: -0.012em; text-wrap: balance; }
.page-date { margin: 14px 0 0; font-size: 14px; color: var(--ardoise); }
.page-texte h2 { margin: 44px 0 0; font: 600 22px/1.25 var(--titre); }
.page-texte p, .page-texte ul { margin: 12px 0 0; color: var(--acier); }
.page-texte ul { padding-left: 1.2em; display: grid; gap: 10px; }
.page-texte strong { color: var(--marine); font-weight: 600; }
.page-texte a { color: var(--marine); text-underline-offset: 3px; }
.page-texte mark { padding: 1px 6px; border-radius: 4px; background: #FBE9E7; color: var(--alerte); }
.page-retour { margin-top: 48px !important; }

/* ---------- Formulaire d'audit (fenêtre) ---------- */

.audit {
  width: min(560px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--blanc);
  color: var(--marine);
  box-shadow: 0 30px 80px -20px rgba(14, 42, 63, 0.45);
  overflow: auto;
  overscroll-behavior: contain;
}
.audit::backdrop { background: rgba(14, 42, 63, 0.5); }
.audit[open] { animation: audit-arrive 0.45s var(--doux); }
.audit[open]::backdrop { animation: audit-voile 0.3s ease-out; }
@keyframes audit-arrive { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
@keyframes audit-voile { from { opacity: 0; } }
.audit-boite { position: relative; padding: clamp(24px, 5vw, 40px); }
.audit-fermer {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--acier);
  cursor: pointer;
}
.audit-fermer:hover { background: var(--clair); }
.audit-sur { margin: 0; font: 500 13px/1 var(--texte); letter-spacing: 0.08em; text-transform: uppercase; color: var(--acier); }
.audit-titre { margin: 14px 0 0; padding-right: 28px; font: 600 clamp(24px, 3.4vw, 30px)/1.15 var(--titre); letter-spacing: -0.01em; text-wrap: balance; }
.audit-titre:focus { outline: none; }
.audit-texte { margin: 10px 0 0; font-size: 15px; color: var(--acier); text-wrap: pretty; }
.audit-form { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.champ { display: grid; gap: 6px; min-width: 0; font-size: 13px; font-weight: 500; color: var(--marine); }
.champ i { font-style: normal; font-weight: 400; color: var(--ardoise); }
.champ .requis { font-weight: 600; color: var(--alerte); }
.champ input[aria-invalid="true"] { border-color: var(--alerte); }
.champ-large, .audit-erreur, .audit-envoyer, .audit-note { grid-column: 1 / -1; }
.champ input, .champ select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(14, 42, 63, 0.16);
  border-radius: 12px;
  background: var(--blanc);
  color: var(--marine);
  /* 16 px : l'iPhone ne zoome pas dans le champ */
  font: 400 16px/1.2 var(--texte);
  -webkit-appearance: none;
  appearance: none;
}
.champ select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233C5A72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.champ select:has(option[value=""]:checked) { color: var(--ardoise); }
.champ input::placeholder { color: var(--ardoise); opacity: 1; }
.champ input:focus, .champ select:focus { outline: none; border-color: var(--acier); box-shadow: 0 0 0 3px rgba(60, 90, 114, 0.16); }
.audit-piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.audit-erreur { margin: 0; font-size: 14px; color: var(--alerte); }
.audit-erreur a { color: inherit; }
.audit-envoyer, .audit-retour { border: 0; min-height: 50px; font-size: 15px; cursor: pointer; }
.audit-envoyer { margin-top: 4px; }
.audit-envoyer[disabled] { opacity: 0.6; cursor: default; transform: none; }
.audit-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ardoise); }
.audit-note a { color: var(--acier); text-underline-offset: 2px; }
.audit-merci { padding: 12px 0 4px; }
.audit-merci .audit-titre { margin-top: 0; }
.audit-retour { margin-top: 24px; padding: 0 28px; }
html.fenetre-ouverte, html.fenetre-ouverte body { overflow: hidden; }
@media (max-width: 479px) {
  .audit { border-radius: 22px; }
  .audit-form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }
  .voile { display: none !important; }
  .logo-svg path, .menu .bouton, .js .barre, .js .fond-lignes { opacity: 1 !important; }
  .logo-svg, .js .barre { transform: none !important; }
  .js .barre { filter: none !important; }
  .curseur { opacity: 0 !important; }
  .js .chiffre { opacity: 1 !important; transform: none !important; }
  .js .arrive { opacity: 1 !important; transform: none !important; }
  .js .raison { height: auto !important; }
  .js .raison-scene { position: static !important; height: auto !important; }
  .js .raison-titre .mot, .js .carte, .js .noeud, .js .lien { opacity: 1 !important; }
  .js .noeud { transform: none !important; }
  .js .carte { transform: translateY(var(--dy, 0)) !important; }
}
