/*
 * Kelassu — page d'accueil (vitrine). Une seule feuille, sans dépendance.
 * Charte : marine #031044, bleu ciel #4DC3F3, police Inter.
 * Mobile d'abord ; repères : 600, 768, 960 et 1200 px.
 */

/* ---------- Polices (Inter, licence OFL, fichiers repris du comparateur) ---------- */
@font-face { font-family: "Inter Kelassu"; font-weight: 400; font-style: normal; font-display: swap; src: url("../polices/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter Kelassu"; font-weight: 600; font-style: normal; font-display: swap; src: url("../polices/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter Display Kelassu"; font-weight: 700; font-style: normal; font-display: swap; src: url("../polices/inter-display-700.woff") format("woff"); }

/* ---------- Réglages ---------- */
:root {
  --marine: #031044;
  --marine-survol: #0b1d63;
  --ciel: #4dc3f3;
  --ciel-fonce: #0b6fa8;     /* bleu lisible sur blanc (liens, icônes) */
  --teinte: #eff8fd;         /* fond bleuté du haut de page */
  --ciel-pale: #e3f4fc;      /* fond des blocs bleu clair */
  --brume: #f4f7fb;          /* fond gris-bleu très léger */
  --ardoise: #4a5578;        /* texte secondaire */
  --trait: #dde5ef;
  --etoile: #4dc3f3;
  --etoile-vide: #d3dfea;
  --blanc: #ffffff;

  --police: "Inter Kelassu", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --police-titre: "Inter Display Kelassu", "Inter Kelassu", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --marge: 20px;                 /* marge latérale */
  --rythme: 40px;                /* respiration verticale d'une section */
  --contenu: 1120px;             /* largeur maximale du contenu */
  --retrait: 8px;                /* écart entre un bloc arrondi et le bord de l'écran */
  --rythme-bloc: 44px;           /* respiration intérieure d'un bloc arrondi */
  --rayon-bloc: 28px;
  --ombre-douce: 0 1px 2px rgba(3, 16, 68, .05), 0 10px 30px -14px rgba(3, 16, 68, .22);
  --ombre-bouton: 0 8px 18px -8px rgba(3, 16, 68, .55);
  --sortie: cubic-bezier(.22, .8, .24, 1); /* décélération sans rebond */
}
@media (min-width: 768px) { :root { --marge: 32px; --rythme: 64px; --retrait: 16px; --rythme-bloc: 72px; --rayon-bloc: 36px; } }
@media (min-width: 1200px) { :root { --marge: 40px; --rythme: 88px; --retrait: 24px; --rythme-bloc: 96px; --rayon-bloc: 44px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--police);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--marine);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; } /* :where = sans priorité sur les classes */
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ciel); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.defs-svg { position: absolute; width: 0; height: 0; overflow: hidden; }

.lien-evitement {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 10px; background: var(--marine); color: var(--blanc);
  font-weight: 600; text-decoration: none;
}
.lien-evitement:focus { top: 12px; }

.conteneur {
  width: 100%;
  max-width: calc(var(--contenu) + 2 * var(--marge));
  margin-inline: auto;
  padding-inline: var(--marge);
}

.titre-section {
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.1rem + 2.7vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.entete-section { display: grid; justify-items: start; gap: 14px; max-width: 42rem; margin-bottom: 28px; }
.entete-section--centre { justify-items: center; max-width: 56rem; margin-inline: auto; text-align: center; }
.surtitre {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--ciel-pale);
  font-size: .75rem; font-weight: 600; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase;
}
.surtitre::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ciel); }
@media (min-width: 768px) { .entete-section { margin-bottom: 40px; } }

/* Enchaînement des sections : sections blanches (padding) et blocs arrondis (fond, coins, petit retrait).
   Deux blocs qui se suivent sont séparés par le seul retrait ; deux sections blanches ne cumulent pas leur respiration. */
.comparateur, .bloc { padding-block: var(--rythme); }
.bloc + .bloc { padding-top: 0; }
.panneau {
  position: relative;
  margin-inline: max(var(--retrait), calc((100% - 1440px) / 2));
  padding-block: var(--rythme-bloc);
  border-radius: var(--rayon-bloc);
}
.panneau + .panneau { margin-top: var(--retrait); }
.panneau:last-child { margin-bottom: var(--retrait); }
.panneau--ciel { background: var(--ciel-pale); }
.panneau--ciel .surtitre { background: var(--blanc); }
.panneau--marine { background: var(--marine); color: var(--blanc); }
.panneau--marine .surtitre { background: rgba(255, 255, 255, .1); color: var(--blanc); }
.panneau--vif { background: var(--ciel); color: var(--marine); }
.panneau--vif .surtitre { background: rgba(255, 255, 255, .45); }
.panneau--vif .surtitre::before { background: var(--marine); }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--police);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--sortie), box-shadow .2s var(--sortie), background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.bouton--principal { background: var(--marine); color: var(--blanc); box-shadow: var(--ombre-bouton); }
.bouton--principal:hover { background: var(--marine-survol); transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(3, 16, 68, .6); }
.bouton--principal:active { transform: translateY(0) scale(.98); box-shadow: 0 4px 10px -6px rgba(3, 16, 68, .5); }
.bouton--secondaire { background: var(--blanc); color: var(--marine); box-shadow: inset 0 0 0 1.5px var(--marine); }
.bouton--secondaire:hover { background: var(--teinte); }
.bouton--secondaire:active { transform: scale(.98); }
.bouton--grand { min-height: 56px; padding: 0 32px; font-size: 1.0625rem; }
.bouton--compact { min-height: 40px; padding: 0 18px; font-size: .9375rem; box-shadow: none; }
.bouton--fleche { gap: 14px; padding-right: 10px; }
.bouton--grand.bouton--fleche { padding-left: 28px; }
.bouton__fleche {
  flex: none;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ciel); color: var(--marine);
  transition: transform .3s var(--sortie);
}
.bouton__fleche svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--sortie); }
.bouton--fleche:hover .bouton__fleche svg { transform: translateX(3px); }
.panneau--vif .bouton__fleche { background: var(--blanc); }

.bouton-rond {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: var(--blanc); color: var(--marine);
  box-shadow: inset 0 0 0 1px var(--trait), 0 2px 6px -3px rgba(3, 16, 68, .2);
  cursor: pointer;
  transition: background-color .2s, transform .2s var(--sortie);
}
.bouton-rond:hover { background: var(--brume); }
.bouton-rond:active { transform: scale(.94); }
.bouton-rond svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bouton-rond .icone-lecture { fill: currentColor; stroke-width: 1.5; }
.bouton-rond--petit { width: 36px; height: 36px; }
.bouton-rond--petit svg { width: 16px; height: 16px; }
.bouton-rond .icone-lecture, .bouton-rond.est-en-pause .icone-pause { display: none; }
.bouton-rond.est-en-pause .icone-lecture { display: block; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 30;
  background: var(--teinte);
  transition: transform .35s var(--sortie), background-color .3s, box-shadow .3s;
}
/* Une fois la page défilée : fond clair translucide ; il se cache quand on descend et revient quand on remonte. */
.entete.est-detache {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(3, 16, 68, .06), 0 12px 30px -22px rgba(3, 16, 68, .3);
}
.entete.est-cache { transform: translateY(-100%); }
/* Accueil : le bouton n'apparaît qu'une fois l'accroche dépassée, et s'efface devant le comparateur. */
.entete--accueil .entete__bouton { visibility: hidden; opacity: 0; translate: 0 -6px; transition: opacity .25s, translate .3s var(--sortie), visibility .25s; }
.entete--accueil.montre-bouton .entete__bouton { visibility: visible; opacity: 1; translate: 0 0; }
.entete__ligne { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.logo {
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--marine);
  text-decoration: none;
}
.logo--clair { color: var(--blanc); }
/* Logo officiel (image) : hauteur fixe, largeur proportionnelle ; version blanche dans le pied de page. */
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; width: auto; height: 34px; }
.pied .logo img { height: 40px; }
@media (min-width: 768px) { .entete .logo img { height: 40px; } }
@media (min-width: 768px) { .entete__ligne { min-height: 72px; } }

/* ---------- 1. Accroche ---------- */
.hero { background: var(--teinte); overflow: clip; padding: 20px 0 32px; }
.hero__grille { display: grid; }
.hero__texte { max-width: 38rem; }
.hero__titre {
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: clamp(2rem, 1.2rem + 3.6vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.hero__intro {
  margin-top: 16px;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ardoise);
  max-width: 34em;
}
.hero__bouton { margin-top: 24px; }
@media (max-width: 479px) { .hero__bouton { width: 100%; } }
.hero__visuel { display: none; }   /* mobile et tablette : aucune illustration, aucun espace réservé */

@media (min-width: 768px) {
  .hero { padding: 32px 0 48px; }
  .hero__intro { font-size: 1.125rem; }
}

@media (min-width: 960px) {
  .hero { padding: 40px 0 72px; }
  .hero__grille {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    column-gap: clamp(24px, 4vw, 64px);
  }
  .hero__texte { max-width: none; }
  .hero__titre { font-size: clamp(2.5rem, .4rem + 3.5vw, 3.3rem); line-height: 1.06; text-wrap: initial; }
  .hero__ligne { display: block; white-space: nowrap; }
  .hero__intro { margin-top: 22px; font-size: 1.1875rem; max-width: 30em; }
  .hero__bouton { margin-top: 32px; }
  .hero__visuel { display: block; }
}

/* Illustration : un contrat, des offres en cartes superposées, des cercles bleus.
   Toutes les mesures suivent la largeur de l'illustration (unités cqw). */
.illu { position: relative; container-type: inline-size; aspect-ratio: 1 / 1.02; width: 100%; max-width: 500px; margin-left: auto; }
.illu > * { position: absolute; }
.illu__cercle { border-radius: 50%; }
.illu__cercle--grand { width: 78cqw; aspect-ratio: 1; left: 21cqw; top: 3cqw; background: var(--ciel); }
.illu__cercle--anneau { width: 24cqw; aspect-ratio: 1; right: 0; bottom: 12cqw; border: 2px solid var(--ciel); }
.illu__cercle--marine { width: 6.5cqw; aspect-ratio: 1; left: 8cqw; top: 6cqw; background: var(--marine); }
.illu__cercle--point { width: 3.2cqw; aspect-ratio: 1; left: 3cqw; top: 58cqw; background: var(--ciel); }

.illu__carte {
  width: 54cqw; height: 36cqw;
  padding: 5cqw;
  border-radius: 4.5cqw;
  background: var(--blanc);
  box-shadow: 0 2px 4px rgba(3, 16, 68, .05), 0 18px 40px -18px rgba(3, 16, 68, .35);
  display: flex; flex-direction: column; gap: 2.6cqw;
}
.illu__carte--fond { right: 3cqw; top: 15cqw; rotate: 8deg; }
.illu__carte--milieu { left: 8cqw; top: 15cqw; rotate: -7deg; }
.carte__pastille { width: 9cqw; aspect-ratio: 1; border-radius: 2.6cqw; background: var(--marine); opacity: .9; }
.carte__pastille--ciel { background: var(--ciel); opacity: 1; }

.ligne { display: block; height: 1.7cqw; border-radius: 1cqw; background: #e3eaf3; width: 100%; }
.ligne--40 { width: 40%; } .ligne--45 { width: 45%; } .ligne--55 { width: 55%; } .ligne--60 { width: 60%; }
.ligne--65 { width: 65%; } .ligne--70 { width: 70%; } .ligne--85 { width: 85%; }

.illu__contrat {
  left: 14cqw; top: 21cqw;
  width: 70cqw;
  padding: 5.5cqw;
  border-radius: 5cqw;
  background: var(--blanc);
  /* ombre assez courte pour s'éteindre avant le bas de l'accroche (sinon elle y serait coupée net) */
  box-shadow: 0 2px 6px rgba(3, 16, 68, .06), 0 24px 40px -22px rgba(3, 16, 68, .42);
  display: flex; flex-direction: column; gap: 2.8cqw;
  rotate: -1.5deg;
}
.contrat__entete { display: flex; align-items: center; gap: 3cqw; margin-bottom: 1cqw; }
.contrat__sceau { flex: none; display: grid; place-items: center; width: 10cqw; aspect-ratio: 1; border-radius: 50%; background: var(--marine); }
.contrat__sceau svg, .vignette__icone svg { width: 60%; fill: none; stroke: var(--blanc); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.contrat__titres { flex: 1; display: flex; flex-direction: column; gap: .8cqw; }
.contrat__titre { font-family: var(--police-titre); font-weight: 700; font-size: clamp(12px, 3.6cqw, 17px); line-height: 1.1; letter-spacing: -.01em; }

.contrat__soustitre { font-size: clamp(10.5px, 2.85cqw, 13.5px); line-height: 1.25; color: var(--ardoise); }
.contrat__ligne { display: flex; align-items: center; gap: 3cqw; padding: 3cqw; border-radius: 3.6cqw; background: var(--brume); }
.contrat__icone { flex: none; display: grid; place-items: center; width: 9.5cqw; aspect-ratio: 1; border-radius: 2.8cqw; background: var(--blanc); }
.contrat__icone--ciel { background: var(--ciel); }
.contrat__icone svg { width: 62%; fill: none; stroke: var(--marine); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contrat__textes { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .6cqw; }
.contrat__libelle { font-weight: 600; font-size: clamp(11px, 3.15cqw, 14.5px); line-height: 1.15; }
.contrat__detail { font-size: clamp(10px, 2.7cqw, 12.5px); line-height: 1.2; color: var(--ardoise); }
.contrat__coche { flex: none; display: grid; place-items: center; width: 5.8cqw; aspect-ratio: 1; border-radius: 50%; background: var(--marine); }
.contrat__coche svg { width: 62%; fill: none; stroke: var(--blanc); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.contrat__signature { margin-top: 1.5cqw; display: flex; flex-direction: column; align-items: flex-end; gap: .8cqw; }
.contrat__signature svg { width: 30cqw; height: auto; fill: none; stroke: var(--marine); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.contrat__trait { display: block; width: 60%; height: 2px; border-radius: 2px; background: var(--trait); }
.contrat__mention { font-size: clamp(10px, 2.75cqw, 12.5px); font-weight: 600; line-height: 1.2; color: var(--marine); }

.illu__vignette {
  right: 0; top: 3cqw;
  display: flex; align-items: center; gap: 2.6cqw;
  padding: 2.6cqw 4cqw 2.6cqw 2.6cqw;
  border-radius: 999px;
  background: var(--blanc);
  box-shadow: 0 2px 4px rgba(3, 16, 68, .05), 0 16px 36px -16px rgba(3, 16, 68, .4);
}
.vignette__icone { flex: none; display: grid; place-items: center; width: clamp(28px, 8.4cqw, 40px); aspect-ratio: 1; border-radius: 50%; background: var(--ciel); }
.vignette__texte { font-weight: 600; font-size: clamp(12px, 3.15cqw, 15px); line-height: 1.3; white-space: nowrap; }

/* ---------- 2. Réassurance : trois pastilles sous l'accroche ----------
   Sur mobile, avec le script et sans « animations réduites », un seul argument à la fois (classe .tourne). */
.preuves__liste { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.preuve { display: flex; align-items: center; gap: 12px; min-width: 0; }
.preuve__icone { flex: none; display: grid; place-items: center; border-radius: 50%; }
.preuve__icone svg { width: 52%; height: 52%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.preuve__texte { display: flex; flex-direction: column; min-width: 0; }
.preuve__valeur {
  display: inline-flex; align-items: center; gap: .3em;
  font-family: var(--police-titre); font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.preuve__prefixe { font-family: var(--police); font-weight: 600; font-size: .62em; letter-spacing: 0; }
.preuve__libelle { line-height: 1.3; }
.preuves__points { display: none; }

.compteur { display: inline-grid; }
.compteur > * { grid-area: 1 / 1; }
.compteur__fantome { visibility: hidden; }
/* En attendant le script : valeurs finales cachées puis réaffichées seules au bout de 2,5 s si le script échoue. */
.compteurs-en-attente .compteur__valeur,
.compteurs-en-attente .chiffre__etoiles { visibility: hidden; animation: compteur-secours 0s 2.5s forwards; }
@keyframes compteur-secours { to { visibility: visible; } }

.etoiles { display: inline-flex; gap: 2px; color: var(--etoile); }
.etoile { width: 14px; height: 14px; flex: none; fill: currentColor; }
.etoile--vide { fill: var(--etoile-vide); }
.etoile--80 { fill: url(#g-etoile-80); }
.stop-plein { stop-color: var(--etoile); }
.stop-vide { stop-color: var(--etoile-vide); }

/* Rotation sur mobile : les trois arguments occupent la même place ; un seul est visible. */
@media (max-width: 767px) {
  .reassurance .tourne .preuves__liste { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .tourne .preuve { grid-area: 1 / 1; opacity: 0; visibility: hidden; translate: 0 14px; transition: opacity .45s var(--sortie), translate .55s var(--sortie), visibility .45s; }
  .tourne .preuve.est-active { opacity: 1; visibility: visible; translate: 0 0; }
  .tourne .preuves__points { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  .preuves__points span { position: relative; overflow: hidden; width: 6px; height: 6px; border-radius: 999px; background: var(--trait); transition: width .35s var(--sortie); }
  .preuves__points span.est-active { width: 28px; }
  .preuves__points i { position: absolute; inset: 0; width: 0; border-radius: inherit; background: var(--marine); }
  .preuves__points span.est-passe i { width: 100%; }
  .preuves__points span.est-active i { animation: minuteur 3s linear forwards; }
  .preuves.est-en-pause .preuves__points i { animation-play-state: paused; }
}
@keyframes minuteur { from { width: 0; } to { width: 100%; } }

/* --- A. Pastilles : à cheval entre l'accroche (fond bleuté) et le comparateur (fond blanc) ---
   Le fond bleuté de l'accroche descend jusqu'au milieu de la rangée de pastilles : un pseudo-élément couvre
   la moitié haute de la liste, élargi à toute la largeur de l'écran par border-image (ce débordement est
   seulement peint : il ne crée pas de défilement horizontal). */
.reassurance--pastilles { padding-bottom: 8px; }
.hero:has(+ .reassurance--pastilles) { padding-bottom: 24px; }
.reassurance--pastilles .preuves__liste { position: relative; isolation: isolate; }
.reassurance--pastilles .preuves__liste::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 50% 0;
  border-image: conic-gradient(var(--teinte) 0 0) fill 0 // 0 100vw;
}
.reassurance--pastilles .preuve {
  padding: 7px 18px 7px 7px;
  border-radius: 999px;
  background: var(--blanc);
  box-shadow: inset 0 0 0 1px rgba(3, 16, 68, .07), 0 2px 4px rgba(3, 16, 68, .04), 0 18px 34px -18px rgba(3, 16, 68, .38);
}
.reassurance--pastilles .preuve__icone { width: 38px; height: 38px; background: var(--ciel-pale); color: var(--marine); }
.reassurance--pastilles .preuve--forte .preuve__icone { background: var(--ciel); }
.reassurance--pastilles .preuve__texte { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 7px; row-gap: 2px; }
.reassurance--pastilles .preuve__valeur { font-size: 1.125rem; }
.reassurance--pastilles .preuve__libelle { font-size: .875rem; color: var(--ardoise); }
.reassurance--pastilles .etoile { width: 13px; height: 13px; }
@media (min-width: 768px) {
  .reassurance--pastilles { padding-bottom: 0; }
  .reassurance--pastilles .preuves__liste { justify-content: flex-start; gap: 12px; }
  .reassurance--pastilles .preuve { padding: 8px 22px 8px 8px; }
  .reassurance--pastilles .preuve__icone { width: 44px; height: 44px; }
  .reassurance--pastilles .preuve__valeur { font-size: 1.25rem; }
  .reassurance--pastilles .preuve__libelle { font-size: .9375rem; }
}
/* Tablette et petit ordinateur : pour rester à cheval, les trois pastilles tiennent sur une seule rangée ;
   le chiffre passe au-dessus du libellé. */
@media (min-width: 768px) and (max-width: 1199px) {
  .reassurance--pastilles .preuves__liste { flex-wrap: nowrap; gap: 10px; }
  .reassurance--pastilles .preuve { gap: 10px; padding: 8px 20px 8px 8px; }
  .reassurance--pastilles .preuve__texte { flex-direction: column; align-items: flex-start; row-gap: 1px; }
  .reassurance--pastilles .preuve__valeur { font-size: 1.125rem; }
  .reassurance--pastilles .preuve__libelle { font-size: .8125rem; line-height: 1.25; white-space: nowrap; }
}
@media (min-width: 960px) { .hero:has(+ .reassurance--pastilles) { padding-bottom: 36px; } }
@media (min-width: 768px) { .reassurance--pastilles .etoile { width: 14px; height: 14px; } }

/* ---------- 3. Comparateur ---------- */
.comparateur { scroll-margin-top: 8px; }
#qui-sommes-nous { scroll-margin-top: 84px; }
.comparateur__titre { text-align: center; }
/* phrase sous le titre (décision du 30/10/2026 : l'accroche du comparateur, sortie de l'outil) */
.comparateur__intro { max-width: 36rem; margin: 12px auto 20px; text-align: center; color: var(--ardoise); font-size: 1.0625rem; line-height: 1.55; text-wrap: balance; }
.comparateur__zone { max-width: 1000px; margin-inline: auto; padding-inline: 8px; }
@media (min-width: 768px) {
  .comparateur__intro { margin-bottom: 32px; font-size: 1.125rem; }
  .comparateur__zone { padding-inline: var(--marge); }
}
.apercu {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  min-height: 420px;
  padding: 32px 20px;
  border: 2px dashed #a9bad2;
  border-radius: 20px;
  background: var(--brume);
  text-align: center;
}
.apercu--secours { min-height: 0; border-style: solid; border-width: 1px; border-color: var(--trait); }
.apercu__etiquette {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blanc);
  box-shadow: inset 0 0 0 1px var(--trait);
  font-size: .8125rem; font-weight: 600;
}
.apercu__texte { max-width: 30rem; color: var(--ardoise); }
@media (min-width: 768px) { .apercu { min-height: 560px; } }

/* ---------- 4. Comment ça marche ---------- */
.etapes__liste { display: grid; gap: 10px; }
.etape {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; row-gap: 10px; align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: var(--blanc);
}
.etape__visuel {
  position: relative;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 18px;
  background: var(--teinte);
  color: var(--marine);
}
.etape:nth-child(2) .etape__visuel { background: var(--ciel); }
.etape:nth-child(3) .etape__visuel { background: var(--marine); color: var(--blanc); }
.etape__icone { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.etape__numero {
  position: absolute; top: -6px; right: -6px;
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--blanc);
  background: var(--marine); color: var(--blanc);
  font-family: var(--police-titre); font-weight: 700; font-size: .75rem;
}
.etape:nth-child(3) .etape__numero { background: var(--ciel); color: var(--marine); }
.etape__titre { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.etape__texte { grid-column: 1 / -1; font-size: .9375rem; line-height: 1.5; color: var(--ardoise); }
@media (min-width: 768px) and (max-width: 959px) {
  .etape { padding: 24px; grid-template-columns: 60px minmax(0, 1fr); column-gap: 18px; }
  .etape__visuel { width: 60px; height: 60px; }
  .etape__texte { grid-column: 2; }
}
@media (min-width: 960px) {
  .etapes__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .etape { grid-template-columns: 1fr; row-gap: 10px; align-items: start; align-content: start; padding: 28px; border-radius: 28px; }
  .etape__visuel { width: 76px; height: 76px; border-radius: 24px; margin-bottom: 14px; }
  .etape__icone { width: 40px; height: 40px; }
  .etape__numero { width: 30px; height: 30px; font-size: .875rem; top: -8px; right: -8px; }
  .etape__titre { font-size: 1.25rem; }
  .etape__texte { font-size: 1rem; }
}

/* ---------- 5. L'esprit Kelassu ---------- */
.equipe { overflow: hidden; isolation: isolate; }
.equipe__grille { display: grid; gap: 40px; align-items: center; }
.equipe__texte .entete-section { margin-bottom: 22px; }
.equipe__recit { display: grid; gap: 14px; max-width: 36rem; color: rgba(255, 255, 255, .8); }
.equipe__recit p:first-child { font-size: 1.0625rem; color: var(--blanc); }

/* Titre qui s'allume mot après mot pendant le défilement (script ; sans script ou animations réduites : texte plein). */
.mot { transition: opacity .35s ease-out; }
.mots-actifs .mot:not(.est-allume) { opacity: .26; }

/* Photo des fondateurs : cadre à grand arrondi, cercles de la charte derrière, légende posée sur la photo. */
.photo-fondateurs { position: relative; margin: 0; width: min(100%, 440px); justify-self: center; }
.photo-fondateurs__cadre {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 28px 120px 28px 28px;
  background: linear-gradient(160deg, #13246d 0%, #0b1a57 100%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
@media (max-width: 599px) { .photo-fondateurs__cadre { aspect-ratio: 1; border-radius: 26px 96px 26px 26px; } }
/* La zone a les proportions exactes de la photo : les prénoms et les flèches restent calés sur les visages.
   Sur téléphone, le cadre est carré : la photo y est calée en haut et seul le bas (la table) est coupé. */
.photo-fondateurs__zone { position: absolute; inset: 0; container-type: inline-size; }
@media (max-width: 599px) { .photo-fondateurs__zone { bottom: auto; aspect-ratio: 1122 / 1402; } }
.photo-fondateurs__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-fondateurs.est-sans-photo .photo-fondateurs__zone { display: none; }

/* Prénoms reliés à chacun par une flèche en pointillés (positions en % de la photo 1122 × 1402). */
.reperes__fleches { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.reperes__fleches path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.reperes__halo { stroke: rgba(255, 255, 255, .85); stroke-width: 17; }        /* liseré clair : lisible sur fond sombre */
.reperes__trait { stroke: var(--marine); stroke-width: 7; }
.reperes__pointilles { stroke-dasharray: 14 15; }
.repere {
  position: absolute; translate: 0 -50%;
  padding: .42em .95em;
  border-radius: 999px;
  background: var(--ciel); color: var(--marine);
  font-size: clamp(11.5px, 3.3cqw, 14.5px); font-weight: 600; line-height: 1.2; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(3, 16, 68, .12), 0 10px 22px -12px rgba(3, 16, 68, .55);
}
.repere--matthieu { right: 70.6%; top: 5%; }     /* à gauche sur la photo : bord droit à x ≈ 330, milieu à y ≈ 70 */
.repere--benjamin { right: 38.5%; top: 4.7%; }   /* à droite sur la photo : bord droit à x ≈ 690, milieu à y ≈ 66 */
.photo-fondateurs__attente {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 10px;
  color: rgba(255, 255, 255, .55);
  font-size: .875rem; font-weight: 600;
}
.photo-fondateurs__attente svg { width: 64px; height: 64px; fill: none; stroke: var(--ciel); stroke-width: 2; stroke-linecap: round; }
.photo-fondateurs__cercle { position: absolute; z-index: -1; width: 58%; aspect-ratio: 1; right: -14%; top: -10%; border-radius: 50%; background: var(--ciel); }
.photo-fondateurs__anneau { position: absolute; z-index: -1; width: 34%; aspect-ratio: 1; left: -12%; bottom: 8%; border-radius: 50%; border: 2px solid rgba(77, 195, 243, .7); }
.photo-fondateurs__legende {
  position: absolute; left: 14px; bottom: 14px;
  display: grid; gap: 2px;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--blanc); color: var(--marine);
  box-shadow: 0 16px 32px -18px rgba(0, 0, 0, .6);
}
.photo-fondateurs__noms { font-weight: 600; line-height: 1.25; }
.photo-fondateurs__role { font-size: .8125rem; line-height: 1.3; color: var(--ardoise); }
@media (max-width: 599px) {   /* légende plus compacte sur téléphone, pour laisser voir la photo */
  .photo-fondateurs__legende { left: 10px; bottom: 10px; padding: 9px 13px; border-radius: 14px; }
  .photo-fondateurs__noms { font-size: .875rem; }
  .photo-fondateurs__role { font-size: .75rem; }
}
@media (min-width: 960px) {
  .equipe__grille { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; }
  .equipe__recit { font-size: 1.0625rem; }
  .equipe__recit p:first-child { font-size: 1.1875rem; }
  .photo-fondateurs { justify-self: end; }
  /* grand arrondi proportionnel au cadre (170 px quand il mesure 440 px) : il ne mange pas la photo sur les petits ordinateurs */
  .photo-fondateurs__cadre { border-radius: 36px 38.6% 36px 36px / 36px 30.9% 36px 36px; }
  .photo-fondateurs__legende { left: -28px; bottom: 36px; padding: 14px 20px; }
}

/* ---------- 6. Avis clients ---------- */
.avis__haut { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.avis__haut .entete-section { margin-bottom: 0; }
.avis__commandes { display: none; gap: 10px; flex: none; }
.avis__piste {
  --ecart: 12px;
  display: flex; gap: var(--ecart);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* Le premier avis s'aligne sur le contenu, les suivants dépassent jusqu'au bord de l'écran. */
  padding: 4px max(var(--marge), calc((100% - var(--contenu)) / 2)) 4px;
  scroll-padding-inline: max(var(--marge), calc((100% - var(--contenu)) / 2));
}
.avis__piste::-webkit-scrollbar { display: none; }
.avis__piste:focus-visible { outline-offset: -3px; border-radius: 0; }
.avis__carte {
  flex: 0 0 86%;
  scroll-snap-align: start;
  display: flex;
  padding: 22px;
  border-radius: 26px;
  background: var(--teinte);
}
.avis__figure { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.avis__guillemet { height: 30px; font-family: var(--police-titre); font-weight: 700; font-size: 4rem; line-height: 1; color: var(--ciel); }
.avis__texte { flex: 1; font-size: 1.0625rem; line-height: 1.55; }
.avis__auteur {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center;
  margin-top: 6px; padding-top: 16px;
  border-top: 1px solid rgba(3, 16, 68, .08);
}
.avis__initiales {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blanc);
  font-family: var(--police-titre); font-weight: 700; font-size: .8125rem;
}
.avis__nom { font-weight: 600; line-height: 1.25; }
.avis__note { display: inline-flex; align-items: center; gap: 8px; }
.avis__chiffre { font-size: .8125rem; font-weight: 600; color: var(--ardoise); font-variant-numeric: tabular-nums; }
.avis__points { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.avis__points span { width: 6px; height: 6px; border-radius: 999px; background: var(--trait); transition: width .3s var(--sortie), background-color .3s; }
.avis__points span.est-actif { width: 22px; background: var(--marine); }
@media (min-width: 600px) {
  .avis__piste { --ecart: 16px; }
  .avis__carte { flex-basis: calc((100% - var(--ecart)) / 2); padding: 28px; }
}
@media (min-width: 768px) { .avis__commandes { display: flex; } .avis__haut { margin-bottom: 40px; } }
@media (min-width: 1024px) { .avis__carte { flex-basis: calc((100% - 2 * var(--ecart)) / 3); } }

/* ---------- 7. FAQ ---------- */
.faq__grille { display: grid; }
.faq__liste { display: grid; gap: 10px; }
.question { border-radius: 20px; background: var(--brume); transition: background-color .25s; }
.question[open] { background: var(--teinte); }
.question summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px;
  padding: 16px 18px 16px 20px;
  border-radius: 20px;
  font-weight: 600; font-size: 1rem; line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.question summary::-webkit-details-marker { display: none; }
.question summary::after {
  content: "";
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--marine), var(--marine)) center / 12px 2px no-repeat,
    linear-gradient(var(--marine), var(--marine)) center / 2px 12px no-repeat,
    var(--blanc);
  transition: rotate .3s var(--sortie);
}
.question[open] summary::after { rotate: 45deg; }
.question summary:focus-visible { outline-offset: 2px; }
.question__reponse { padding: 0 20px 20px; color: var(--ardoise); max-width: 42rem; }
.question__reponse p + p { margin-top: 10px; }
.question__accroche { color: var(--marine); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .question[open] .question__reponse { animation: reponse-ouverte .35s var(--sortie); }
}
@keyframes reponse-ouverte { from { opacity: 0; translate: 0 -4px; } }
@media (prefers-reduced-motion: no-preference) {
  :root { interpolate-size: allow-keywords; }
  .question::details-content { block-size: 0; overflow-y: clip; transition: block-size .4s var(--sortie), content-visibility .4s allow-discrete; }
  .question[open]::details-content { block-size: auto; }
}
@media (min-width: 960px) {
  .faq__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; align-items: start; }
  .faq__grille .entete-section { position: sticky; top: 32px; margin-bottom: 0; }
  .question summary { font-size: 1.0625rem; min-height: 68px; padding-inline: 24px 20px; }
  .question__reponse { padding: 0 24px 22px; }
}

/* ---------- 8. Assureurs partenaires ---------- */
.partenaires .entete-section { margin-bottom: 16px; }
.defilant {
  max-width: 1440px;
  margin-inline: auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-tap-highlight-color: transparent;
}
.defilant__piste { display: flex; width: max-content; }
.defilant__groupe { display: flex; align-items: center; margin: 0; padding: 0; }
.logo-partenaire { --echelle: .78; flex: none; display: flex; align-items: center; justify-content: center; height: 72px; padding-inline: 22px; }
.logo-partenaire img { width: auto; height: calc(var(--h) * var(--echelle) * 1px); max-width: none; }
/* Hauteurs calculées pour un poids visuel égal (surface constante, logos pleins un peu plus petits). */
.logo-partenaire--axa { --h: 51.2; }
.logo-partenaire--mutlog { --h: 38.8; }
.logo-partenaire--generali { --h: 50.8; }
.logo-partenaire--prepar { --h: 28.6; }
.logo-partenaire--mncap { --h: 37.1; }
.logo-partenaire--malakoff-humanis { --h: 32.1; }
@media (min-width: 768px) { .logo-partenaire { --echelle: 1; height: 96px; padding-inline: 40px; } }

@media (prefers-reduced-motion: no-preference) {
  .defilant__piste { animation: defiler 55s linear infinite; }
  .defilant:hover .defilant__piste,
  .defilant.est-en-pause .defilant__piste { animation-play-state: paused; }
}
@keyframes defiler { to { transform: translateX(-50%); } }
/* Mouvement réduit : les six logos, fixes et centrés. */
@media (prefers-reduced-motion: reduce) {
  .defilant { -webkit-mask-image: none; mask-image: none; }
  .defilant__piste { width: auto; justify-content: center; padding-inline: var(--marge); }
  .defilant__piste > .defilant__groupe:first-child { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 760px; }
  .defilant__copie { display: none; }
  .logo-partenaire { height: 64px; padding-inline: 8px; }
  .logo-partenaire img { max-width: 100%; object-fit: contain; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 960px) {
  .defilant__piste > .defilant__groupe:first-child { grid-template-columns: repeat(6, auto); justify-content: space-between; max-width: var(--contenu); }
}

/* ---------- 9. Retour au comparateur ---------- */
.final.panneau {
  overflow: hidden; isolation: isolate; text-align: center;
  margin-inline: max(var(--retrait), calc((100% - var(--contenu)) / 2));
  padding: 40px 0;
}
.final__contenu { display: grid; justify-items: center; gap: 12px; max-width: calc(40rem + 2 * var(--marge)); }
.final__titre { max-width: 20em; margin-bottom: 8px; font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); }
.final .bouton--principal { box-shadow: 0 10px 24px -12px rgba(3, 16, 68, .7); }
.final__cercle { position: absolute; z-index: -1; border-radius: 50%; }
.final__cercle--grand { width: 130px; aspect-ratio: 1; right: -56px; top: -64px; background: rgba(255, 255, 255, .28); }
.final__cercle--anneau { width: 90px; aspect-ratio: 1; left: -40px; bottom: -46px; border: 2px solid rgba(255, 255, 255, .7); }
.final__cercle--point { width: 10px; aspect-ratio: 1; right: 22px; bottom: 22px; background: var(--marine); }
@media (min-width: 768px) {
  .final.panneau { padding: 56px 0; }
  .final__contenu { gap: 14px; }
  .final__cercle--grand { width: 220px; right: -60px; top: -110px; }
  .final__cercle--anneau { width: 150px; left: -60px; bottom: -80px; }
  .final__cercle--point { width: 14px; right: 16%; bottom: 24%; }
}

/* ---------- 10. Pied de page ---------- */
.pied { background: var(--marine); color: rgba(255, 255, 255, .86); font-size: .9375rem; padding: 36px 0 20px; }
.pied a { color: inherit; text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; text-underline-offset: 3px; }
.pied__grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.pied__marque { grid-column: 1 / -1; }
.pied__texte { margin-top: 8px; max-width: 22rem; line-height: 1.45; }
.pied__texte a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.pied__texte a:hover { text-decoration-color: currentColor; }
.pied__titre { margin-bottom: 10px; font-size: .8125rem; font-weight: 600; line-height: 1.3; color: rgba(255, 255, 255, .6); }
.pied__liste { display: grid; align-content: start; gap: 8px; line-height: 1.4; }
@media (max-width: 767px) {
  .pied__reseaux { grid-column: 1 / -1; }
  .pied__liste--reseaux { display: flex; flex-wrap: wrap; gap: 8px 20px; }
}
.pied__bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 28px; padding-top: 16px;
  /* filet aligné sur le contenu, pas sur la marge */
  background: linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, .14)) var(--marge) 0 / calc(100% - 2 * var(--marge)) 1px no-repeat;
  font-size: .8125rem; color: rgba(255, 255, 255, .7);
}
@media (min-width: 768px) {
  .pied { padding: 56px 0 28px; }
  .pied__grille { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
  .pied__marque { grid-column: auto; }
}

/* ---------- Pages légales ---------- */
.legal { padding: 32px 0 var(--rythme); }
.legal__conteneur { max-width: calc(46rem + 2 * var(--marge)); }
.legal__titre {
  font-family: var(--police-titre); font-weight: 700;
  font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem); line-height: 1.12; letter-spacing: -.025em;
}
.legal__maj { margin-top: 10px; font-size: .875rem; color: var(--ardoise); }
.legal__intro { margin-top: 20px; font-size: 1.0625rem; color: var(--ardoise); }
.legal h2 { margin-top: 36px; font-size: 1.1875rem; font-weight: 600; line-height: 1.35; }
.legal p, .legal ul { margin-top: 10px; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--ciel-fonce); text-underline-offset: 3px; }
.legal a:hover { color: var(--marine); }
.legal strong { font-weight: 600; }
/* Éléments à compléter avant la mise en ligne : bien visibles, pour ne rien publier par erreur. */
.a-completer { padding: 1px 5px; border-radius: 5px; background: #fff1c2; color: #5c4400; box-shadow: inset 0 0 0 1px #f0d27a; }
@media (min-width: 768px) { .legal { padding-top: 48px; } .legal h2 { margin-top: 44px; } }

.page-introuvable { padding: 56px 0 var(--rythme); text-align: center; }
.page-introuvable .legal__intro { max-width: 30rem; margin-inline: auto; }
.page-introuvable__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- Animations (uniquement si le visiteur n'a pas demandé à les réduire) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Accroche : apparition rapide du titre, du texte et du bouton (tout est lisible en moins de 0,8 s). */
  .hero__ligne, .hero__intro, .hero__bouton { animation: monter .55s var(--sortie) both; }
  .hero__ligne:nth-child(2) { animation-delay: .06s; }
  .hero__ligne:nth-child(3) { animation-delay: .12s; }
  .hero__intro { animation-delay: .16s; }
  .hero__bouton { animation-delay: .22s; }
  @media (max-width: 959px) { .hero__ligne { animation: none; } .hero__titre { animation: monter .55s var(--sortie) both; } }

  /* Bandeau de chiffres : il arrive juste après l'accroche, puis les étoiles s'allument une à une. */
  @media (min-width: 768px) {
    .preuve { animation: monter .6s var(--sortie) both; }
    .preuve:nth-child(1) { animation-delay: .3s; }
    .preuve:nth-child(2) { animation-delay: .38s; }
    .preuve:nth-child(3) { animation-delay: .46s; }
  }
  @media (max-width: 767px) { .preuves { animation: monter .6s var(--sortie) .26s both; } }
  .etoiles-animees .etoile { animation: etoile .5s var(--sortie) 1.05s both paused; }
  .etoiles-animees.est-lance .etoile { animation-play-state: running; }
  .etoiles-animees .etoile:nth-child(2) { animation-delay: 1.14s; }
  .etoiles-animees .etoile:nth-child(3) { animation-delay: 1.23s; }
  .etoiles-animees .etoile:nth-child(4) { animation-delay: 1.32s; }
  .etoiles-animees .etoile:nth-child(5) { animation-delay: 1.41s; }

  /* Comment ça marche : l'icône de chaque étape se dessine quand la carte apparaît. */
  .anim-defilement .etape .etape__icone > * { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .anim-defilement .etape.est-revele .etape__icone > * { animation: signer 1s ease-out .3s forwards; }
  .anim-defilement .etape.est-revele:nth-child(2) .etape__icone > * { animation-delay: .4s; }
  .anim-defilement .etape.est-revele:nth-child(3) .etape__icone > * { animation-delay: .5s; }

  /* Illustration : elle se compose une fois, puis flotte doucement. */
  .illu__cercle--grand { animation: grandir .8s var(--sortie) .05s both; }
  .illu__cercle--anneau { animation: apparaitre .8s ease-out .35s both, tourner 40s linear 1s infinite; }
  .illu__cercle--marine, .illu__cercle--point { animation: apparaitre .6s ease-out .7s both; }
  .illu__carte--fond { animation: monter .7s var(--sortie) .2s both, flotter 9s ease-in-out 1.2s infinite; }
  .illu__carte--milieu { animation: monter .7s var(--sortie) .3s both, flotter 8s ease-in-out 1.6s infinite reverse; }
  .illu__contrat { animation: monter .75s var(--sortie) .4s both, flotter 7s ease-in-out 1.3s infinite; }
  .contrat__ligne { animation: monter .6s var(--sortie) .75s both; }
  .contrat__ligne + .contrat__ligne { animation-delay: .9s; }
  .contrat__coche { animation: cocher .45s var(--sortie) 1.05s both; }
  .contrat__ligne + .contrat__ligne .contrat__coche { animation-delay: 1.25s; }
  .contrat__mention { animation: apparaitre .6s ease-out 1.9s both; }
  .contrat__signature path { stroke-dasharray: 1; animation: signer 1.1s ease-in-out 1.25s both; }
  .illu__vignette { animation: monter .6s var(--sortie) 1.1s both, flotter 6s ease-in-out 1.8s infinite reverse; }

  /* Révélation légère au défilement (activée par le script, jamais pour le contenu déjà visible). */
  .anim-defilement [data-reveal] { transition: opacity .7s var(--sortie), translate .7s var(--sortie); }
  .anim-defilement [data-reveal]:not(.est-revele) { opacity: 0; translate: 0 18px; }
  /* Les cartes d'une même rangée arrivent l'une après l'autre. */
  .anim-defilement .etape:nth-child(2) { transition-delay: .08s; }
  .anim-defilement .etape:nth-child(3) { transition-delay: .16s; }
  .anim-defilement .photo-fondateurs { transition-delay: .12s; }
  .anim-defilement .equipe__recit { transition-delay: .06s; }
  /* Photo : les prénoms apparaissent, puis les flèches. */
  .anim-defilement .photo-fondateurs:not(.est-revele) .repere,
  .anim-defilement .photo-fondateurs:not(.est-revele) .reperes__fleche { opacity: 0; }
  .anim-defilement .photo-fondateurs.est-revele .repere { animation: grandir .5s var(--sortie) .6s both; }
  .anim-defilement .photo-fondateurs.est-revele .repere--benjamin { animation-delay: .8s; }
  .anim-defilement .photo-fondateurs.est-revele .reperes__fleche { animation: apparaitre .6s ease-out .85s both; }
  .anim-defilement .photo-fondateurs.est-revele .reperes__fleche--benjamin { animation-delay: 1.05s; }
  /* Survol des cartes : léger soulèvement. */
  .avis__carte { transition: translate .3s var(--sortie), box-shadow .3s var(--sortie); }
  @media (hover: hover) {
    .avis__carte:hover { translate: 0 -3px; box-shadow: 0 14px 30px -18px rgba(3, 16, 68, .35); }
  }
}
@keyframes monter { from { opacity: 0; translate: 0 14px; } }
@keyframes apparaitre { from { opacity: 0; } }
@keyframes grandir { from { opacity: 0; scale: .88; } }
@keyframes flotter { 50% { translate: 0 -7px; } }
@keyframes tourner { to { rotate: 1turn; } }
@keyframes cocher { from { opacity: 0; scale: .4; } }
@keyframes etoile { from { opacity: 0; scale: .3; rotate: -40deg; } }
@keyframes signer { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* En-tête des pages secondaires : le bouton disparaît sur les très petits écrans plutôt que de passer à la ligne. */
.entete__bouton { white-space: nowrap; }
@media (max-width: 359px) { .entete__bouton { display: none; } }
