/* =========================================================
   NEW Life Santé — feuille de style unique
   Un seul vert, aplats uniquement, sections plein écran sur ordinateur.
   ========================================================= */

/* ---------- Polices auto-hébergées ---------- */
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Jetons (seules couleurs du site) ---------- */
:root {
  --vert: #1E5B35;
  --anthracite: #2B3235;
  --fond-teinte: #EEF4EF;
  --bordure: #DCE6DE;
  --texte-secondaire: #4E5A5E;          /* sur fond clair */
  --texte-secondaire-sombre: #C9D1D3;   /* sur fond sombre */
  --blanc: #FFFFFF;
  --anthracite-2: #353D40;              /* cartes posées sur fond sombre */
  --anthracite-3: #4A5457;              /* bordures et aplats intermédiaires sur fond sombre */
  --vert-clair: #74C043;                /* second vert : accents décoratifs, fonds sombres */
  --vert-fonce: #163F27;                /* texte posé sur le vert clair */
  /* Réalité du terrain (fond uni, ancienne couleur) */
  --terrain: #1C2426;
  --terrain-carte: #262E30;
  --terrain-ligne: #313A3C;
  --terrain-bordure: #3A4446;
  --terrain-vert: #234029;
  --terrain-vert-2: #23382A;
  --rouge: #F0625A;
  /* Petits carreaux de fond (fonds clairs uniquement) */
  --carreaux: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M32 .5H.5V32' fill='none' stroke='%23E4ECE6'/%3E%3C/svg%3E");

  --r-pill: 9999px;
  --r-card: 1.25rem;
  --r-sm: .75rem;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 84rem;
  --gutter: 1.25rem;
  --header-h: 4.5rem;
  --section-y: 4rem;
  --gap: 1.25rem;
}
@media (min-width: 640px) { :root { --gutter: 2rem; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-sans); font-size: 1rem; line-height: 1.6;
  color: var(--anthracite); background: var(--blanc) var(--carreaux); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
main { padding-top: var(--header-h); }

:focus-visible { outline: 3px solid var(--vert); outline-offset: 3px; border-radius: 4px; }
.bg-sombre :focus-visible, .site-footer :focus-visible { outline-color: var(--blanc); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--anthracite); color: var(--blanc); padding: .75rem 1.25rem; border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: .875rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.muted { color: var(--texte-secondaire); }

/* ---------- Sections et fonds ---------- */
.screen { padding-block: var(--section-y); }
.bg-blanc { background: transparent; }   /* laisse voir les petits carreaux du fond */
.bg-teinte { background: var(--fond-teinte); }
.bg-sombre { background: var(--anthracite); color: var(--blanc); }
section[id], #audit { scroll-margin-top: var(--header-h); }

/* Ordinateur : sur l'accueil (.full), chaque section occupe un écran ; ailleurs, hauteur selon le contenu */
@media (min-width: 1024px) {
  :root { --section-y: clamp(2.5rem, 6vh, 4rem); --gap: clamp(.75rem, 2.2vh, 1.5rem); }
  .screen.full {
    min-height: calc(100svh - var(--header-h));
    display: flex; flex-direction: column; justify-content: center;
    padding-block: var(--section-y-full, clamp(1.5rem, 6vh, 4.5rem));
  }
}

/* ---------- Typographie ---------- */
.eyebrow {
  font-family: var(--font-display); font-size: .8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; color: var(--vert);
}
.eyebrow .num { margin-right: .5rem; }
.h1 { font-size: 2.25rem; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.h2 { font-size: 1.75rem; font-weight: 700; }
.h3 { font-size: 1.1875rem; font-weight: 700; }
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--texte-secondaire); }
.accent-leaf { color: var(--vert); }
.section-head { max-width: 44rem; }
.section-head.center { margin-inline: auto; }
.section-head .h2 { margin-top: .6rem; }
.section-head .lead { margin-top: .9rem; }
@media (min-width: 640px) {
  .h1 { font-size: 3rem; }
  .h2 { font-size: 2.125rem; }
  .lead { font-size: 1.1875rem; }
}
@media (min-width: 1024px) {
  .h1 { font-size: clamp(2.25rem, min(7vh, 4.4vw), 4.25rem); }
  .h2 { font-size: clamp(1.625rem, min(5.2vh, 3vw), 2.75rem); }
  .h3 { font-size: clamp(1.0625rem, 2.6vh, 1.25rem); }
  .lead { font-size: clamp(1.0625rem, 2.6vh, 1.25rem); }
  .section-head .lead { margin-top: clamp(.5rem, 1.8vh, 1rem); }
}

/* Fond sombre : aucun vert, tout en blanc ou gris clair */
.bg-sombre .eyebrow, .bg-sombre .accent-leaf { color: var(--vert-clair); }
.bg-sombre .subhead { color: var(--blanc); }
.bg-sombre .lead, .bg-sombre .split-body { color: var(--texte-secondaire-sombre); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 44px; padding: .9rem 1.6rem; border: 0; border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.2;
  cursor: pointer; text-align: center; transition: transform .2s, background-color .2s, color .2s;
}
.btn svg { width: 1.15rem; height: 1.15rem; flex-shrink: 0; transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--vert); color: var(--blanc); }
.btn-primary:hover { background: var(--anthracite); transform: translateY(-2px); }
.btn-ink { background: var(--anthracite); color: var(--blanc); }
.btn-ink:hover { background: var(--vert); transform: translateY(-2px); }
.btn-white, .bg-sombre .btn-primary { background: var(--blanc); color: var(--anthracite); }
.btn-white:hover, .bg-sombre .btn-primary:hover { background: var(--fond-teinte); color: var(--anthracite); }
.btn-outline-light { background: transparent; color: var(--blanc); box-shadow: inset 0 0 0 1.5px var(--blanc); }
.btn-outline-light:hover { background: var(--blanc); color: var(--anthracite); }
.btn-link {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--vert);
  text-underline-offset: 4px;
}
.btn-link svg { width: 1rem; height: 1rem; transition: transform .2s; }
.btn-link:hover { text-decoration: underline; }
.btn-link:hover svg { transform: translateX(4px); }
.bg-sombre .btn-link { color: var(--blanc); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}
/* Tout en haut : pas de bandeau blanc. Il apparaît dès qu'on défile ou qu'on ouvre le menu. */
.site-header.is-scrolled, .site-header.menu-open {
  background: var(--blanc); border-bottom-color: var(--bordure); box-shadow: 0 2px 12px rgba(43, 50, 53, .06);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand img { width: 36px; height: auto; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.brand-name .new { color: var(--anthracite); }
.brand-name .life { color: var(--vert); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
@media (max-width: 1023px) { .nav-actions { margin-left: auto; } }
.nav-links { display: none; }
.nav-audit { min-height: 40px; padding: .6rem 1rem; font-size: .875rem; gap: .4rem; white-space: nowrap; }
.nav-audit svg { width: 1rem; height: 1rem; }
.brand { flex-shrink: 0; }
/* Ordinateur, tout en haut de la page : logo bien plus grand, qui déborde sous l'en-tête transparent.
   Il reprend sa taille normale dès qu'on défile (bandeau blanc). La taille dépend de la place laissée par le menu. */
/* La place du logo reste la même quand il rétrécit, pour que le menu ne bouge pas. */
@media (min-width: 1280px) {
  .site-header:not(.is-scrolled) { --logo-img: 76px; --logo-txt: 2.6rem; --logo-y: 14px; }
  .brand { min-width: 320px; }
}
@media (min-width: 1366px) {
  .site-header:not(.is-scrolled) { --logo-img: 96px; --logo-txt: 3.4rem; --logo-y: 26px; }
  .brand { min-width: 412px; }
}
@media (min-width: 1366px) and (max-height: 700px) {
  .site-header:not(.is-scrolled) { --logo-img: 80px; --logo-txt: 2.8rem; --logo-y: 16px; }
}
/* Place pour le grand logo au-dessus du début de la page */
@media (min-width: 1280px) {
  main > section.screen:first-child { padding-top: calc(var(--section-y) + 2.25rem); }
  main > section.screen.full:first-child { padding-top: calc(var(--section-y-full, clamp(1.5rem, 6vh, 4.5rem)) + 2.25rem); }
}
@media (min-width: 1280px) and (max-height: 700px) {
  main > section.screen.full:first-child { padding-top: calc(var(--section-y-full, 1rem) + 1rem); }
}

/* Téléphone et tablette, tout en haut de la page : logo découpé en deux, en haut à gauche
   (la pousse au-dessus, « NEW Life » en dessous, plus grands). Dès qu'on défile ou qu'on ouvre
   le menu, le petit logo habituel revient dans le bandeau blanc. */
@keyframes logo-apparait { from { opacity: 0; } to { opacity: 1; } }
@keyframes logo-apparait-grand { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1023px) {
  :root { --logo-empile-img: 54px; --logo-empile-txt: 1.55rem; --logo-empile-place: 0rem; }
  .site-header.is-scrolled .brand, .site-header.menu-open .brand { animation: logo-apparait .3s ease; }
  .site-header:not(.is-scrolled):not(.menu-open) .brand {
    flex-direction: column; align-items: center; gap: .3rem;
    align-self: flex-start; margin-top: .55rem; animation: logo-apparait-grand .3s ease;
  }
  .site-header:not(.is-scrolled):not(.menu-open) .brand img { width: var(--logo-empile-img); }
  .site-header:not(.is-scrolled):not(.menu-open) .brand-name { font-size: var(--logo-empile-txt); }
  main > section.screen:first-child { padding-top: calc(var(--section-y) + var(--logo-empile-place)); }
}
@media (max-width: 380px) {
  :root { --logo-empile-img: 48px; --logo-empile-txt: 1.35rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  :root { --logo-empile-img: 72px; --logo-empile-txt: 2.25rem; --logo-empile-place: 2.5rem; }
}
@media (max-width: 440px) {
  .nav { gap: .5rem; }
  .nav-actions { gap: .45rem; }
  .nav-audit { padding: .6rem .85rem; }
  .nav-audit svg { display: none; }
  .brand { gap: .4rem; }
  .brand img { width: 32px; }
  .brand-name { font-size: 1.125rem; }
}
@media (max-width: 360px) { .brand-name { font-size: 1rem; } .brand img { width: 28px; } }

/* Bouton menu (téléphone) : carré arrondi, trois barres qui deviennent une flèche « > » à l'ouverture */
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--bordure); border-radius: .85rem;
  background: var(--blanc); color: var(--anthracite); cursor: pointer;
  transition: border-color .2s, color .2s;
}
@media (hover: hover) { .menu-toggle:hover { color: var(--vert); border-color: var(--vert); } }
.menu-toggle .label { display: none; }
.burger { position: relative; display: block; width: 20px; height: 14px; }
.burger span {
  position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), width .3s cubic-bezier(.4, 0, .2, 1), opacity .2s;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 6px; }
.burger span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { width: 11.6px; transform: translate(4.6px, 2.6px) rotate(42deg); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { width: 11.6px; transform: translate(4.6px, -2.6px) rotate(-42deg); }
.menu-panel {
  display: none; background: var(--blanc); border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure);
  padding: .5rem var(--gutter) 1.25rem; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.menu-panel.is-open { display: block; }
.menu-group-title {
  margin-top: 1rem; font-family: var(--font-display); font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; color: var(--texte-secondaire);
}
.menu-link {
  display: block; padding: .85rem .25rem; border-bottom: 1px solid var(--bordure);
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--anthracite);
}
.menu-link:hover, .menu-link[aria-current="page"] { color: var(--vert); }
@media (min-width: 640px) { .brand img { width: 48px; } .brand-name { font-size: 1.75rem; } }
@media (min-width: 1024px) {
  :root { --header-h: 5.25rem; }
  .brand { gap: .65rem; transform: translateY(var(--logo-y, 0)); transition: transform .35s ease; }
  .brand img { width: var(--logo-img, 56px); transition: width .35s ease; }
  .brand-name { font-size: var(--logo-txt, 2rem); transition: font-size .35s ease; }
  .menu-toggle, .menu-panel, .menu-panel.is-open { display: none; }
  .nav-links {
    display: flex; align-items: center; gap: .25rem; padding: .3rem;
    background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--r-pill);
  }
  .nav-links a {
    padding: .55rem 1rem; border-radius: var(--r-pill);
    font-family: var(--font-display); font-size: .9375rem; font-weight: 600; color: var(--anthracite);
    transition: background-color .2s, color .2s; white-space: nowrap;
  }
  .nav-links a:hover { color: var(--vert); }
  .nav-links a[aria-current="page"] { color: var(--vert); background: var(--fond-teinte); }
  .nav-audit { padding: .7rem 1.2rem; font-size: .9375rem; }
}

/* ---------- Coches ---------- */
.check {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--vert); color: var(--blanc);
}
.check svg { width: .875rem; height: .875rem; }
.bg-sombre .check { background: var(--vert-clair); color: var(--vert-fonce); }

/* ---------- Accueil : haut de page ---------- */
.hero-inner { display: grid; gap: 2.5rem; align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: .6rem; padding: .4rem 1rem;
  border-radius: var(--r-pill); background: var(--blanc); border: 1px solid var(--bordure);
  font-size: .875rem; color: var(--texte-secondaire);
}
.hero .h1 { margin-top: 1rem; }
.hero .lead { margin-top: 1rem; max-width: 36rem; }
.hero-checks { margin-top: 1.25rem; display: grid; gap: .5rem; font-weight: 500; }
.hero-checks li { display: flex; align-items: center; gap: .65rem; }
.hero-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.label-badge {
  display: inline-flex; align-items: center; gap: .85rem; margin-top: 1.25rem;
  padding: .5rem 1rem .5rem .85rem; border-radius: var(--r-sm); background: var(--blanc); border: 1px solid var(--bordure);
  font-size: .875rem; color: var(--texte-secondaire); line-height: 1.3;
}
.label-badge img { width: auto; height: 22px; flex-shrink: 0; }
.label-badge a { display: inline-flex; flex-shrink: 0; border-radius: 4px; transition: opacity .2s; }
.label-badge a:hover { opacity: .75; }
.label-badge span { padding-left: .85rem; border-left: 1px solid var(--bordure); }
.label-badge strong { display: block; color: var(--anthracite); font-weight: 600; }
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 4rem); }
  .hero .h1 { margin-top: clamp(.5rem, 2vh, 1.25rem); }
  .hero .lead { margin-top: clamp(.5rem, 2vh, 1.25rem); }
  .hero-checks { margin-top: clamp(.75rem, 2.4vh, 1.5rem); gap: clamp(.25rem, 1vh, .6rem); }
  .label-badge { margin-top: clamp(.75rem, 2.4vh, 1.5rem); }
  .hero-actions { margin-top: clamp(.25rem, 1.5vh, 1rem); }
}

/* ---------- Cartes ---------- */
.cards { display: grid; gap: var(--gap); margin-top: 2rem; }
@media (min-width: 768px) { .cards-2, .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .cards { margin-top: clamp(1rem, 3.5vh, 2.5rem); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--r-card);
  padding: 1.5rem; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--vert); transform: translateY(-3px); }
.card-static:hover { border-color: var(--bordure); transform: none; }
.card .h3 { margin-top: 1rem; }
.card > p { margin-top: .4rem; color: var(--texte-secondaire); }
.card .btn-link { margin-top: auto; padding-top: 1rem; }
.card-list { margin-top: .75rem; display: grid; gap: .4rem; }
.card-list li { display: flex; align-items: flex-start; gap: .65rem; }
.card-list .check { margin-top: .05rem; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.icon-tile {
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: var(--r-sm); background: var(--fond-teinte); color: var(--vert);
}
.icon-tile svg { width: 1.5rem; height: 1.5rem; }
.offer-sub { margin-top: 1rem; font-family: var(--font-display); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--vert); }
.offer-sub + .card-list { margin-top: .5rem; }
@media (min-width: 1024px) {
  .card { padding: clamp(1rem, 3vh, 1.75rem); }
  .card .h3 { margin-top: clamp(.5rem, 1.6vh, 1rem); }
  .icon-tile { width: clamp(2.5rem, 6vh, 3rem); height: clamp(2.5rem, 6vh, 3rem); }
  .offer-sub { margin-top: clamp(.5rem, 1.8vh, 1rem); }
  .card-list { gap: clamp(.2rem, .8vh, .45rem); }
}

/* Accueil : offres côte à côte, en-tête de section sur une ligne */
.offers-head { display: grid; gap: .75rem; }
@media (min-width: 1024px) {
  .offers-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; }
  .offers-head .lead { margin-top: 0; }
  .offer-card-top { display: flex; align-items: center; gap: 1rem; }
  .offer-card-top .h3 { margin-top: 0; }
}

/* ---------- Pourquoi nous (fond teinté, cartes blanches) ---------- */
.peers { display: grid; gap: 2rem; align-items: center; }
.peers .lead { margin-top: 1rem; }
.peers .btn-link { margin-top: 1rem; }
.peers-list { display: grid; gap: var(--gap); }
.peers-list li {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem;
  border-radius: var(--r-card); background: var(--blanc); border: 1px solid var(--bordure); color: var(--anthracite);
}
.peers-list strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.peers-list .txt { display: block; margin-top: .2rem; color: var(--texte-secondaire); }
@media (min-width: 1024px) {
  .peers { grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); }
  .peers-list li { padding: clamp(.9rem, 2.6vh, 1.5rem); }
}

/* « − de friction commerciale, + de signatures. » : carte façon bas de contrat, signature tracée en direct */
.sign-card {
  margin-top: 1.5rem; max-width: 30rem; padding: 1.25rem 1.5rem 1rem;
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--r-card);
}
.sign-claim { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1.1rem + .5vw, 1.45rem); line-height: 1.3; letter-spacing: -.02em; color: var(--anthracite); }
.sign-signe { display: inline-block; width: 1.05em; color: var(--vert); }
.sign-zone { margin-top: .5rem; }
/* Signature manuscrite « NEW Life », encre noire */
.sign-trace { display: block; width: 100%; max-width: 20rem; height: auto; margin: .1rem 0 0 -.25rem; color: #111418; }
.sign-trace path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sign-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .35rem; color: var(--texte-secondaire); }
.sign-ok { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .7rem; border-radius: var(--r-pill); background: var(--fond-teinte); color: var(--vert); font-family: var(--font-display); font-weight: 700; }
.sign-ok svg { width: .95rem; height: .95rem; }
/* Animation (préparée par le script, sauf si les animations sont réduites) */
.sign-card.is-anim .sign-trace path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.sign-card.is-anim .sign-ok { opacity: 0; transform: scale(.85); transition: opacity .4s ease, transform .4s cubic-bezier(.2,.8,.2,1.4); }
/* Tracé à vitesse d'écriture : « NEW », levée du stylo, « Life » et l'envolée, puis le point du i */
.sign-card.is-anim.is-signing .sign-trace .s1 { animation: signer 1.05s cubic-bezier(.35,.05,.65,.95) .3s forwards; }
.sign-card.is-anim.is-signing .sign-trace .s2 { animation: signer 1.45s cubic-bezier(.35,.05,.45,1) 1.5s forwards; }
.sign-card.is-anim.is-signing .sign-trace .s3 { animation: signer .1s linear 3.05s forwards; }
.sign-card.is-anim.is-signing .sign-ok { opacity: 1; transform: none; transition-delay: 3.35s; }
@keyframes signer { to { stroke-dashoffset: 0; } }
@media (min-width: 1024px) and (max-height: 800px) {
  .sign-card { margin-top: 1rem; padding: .9rem 1.25rem .8rem; }
  .sign-trace { max-width: 15rem; }
}

/* ---------- Étapes ---------- */
.steps { margin-top: 2rem; display: grid; gap: var(--gap); }
.step { position: relative; padding: 1.5rem; border-radius: var(--r-card); background: var(--blanc); border: 1px solid var(--bordure); }
.step-num {
  display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  border-radius: 50%; background: var(--vert); color: var(--blanc);
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 800;
}
.step .h3 { margin-top: 1rem; }
.step p { margin-top: .4rem; color: var(--texte-secondaire); }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 2.85rem; right: calc(-1 * var(--gap)); width: var(--gap); height: 2px; background: var(--bordure); }
}
@media (min-width: 1024px) {
  .steps { margin-top: clamp(1rem, 3.5vh, 2.5rem); }
  .step { padding: clamp(1rem, 3vh, 1.75rem); }
}

/* ---------- Appel à l'action ---------- */
.cta-box { text-align: center; max-width: 46rem; margin-inline: auto; }
.cta-box .h2 { margin-inline: auto; }
.cta-box .lead { max-width: 36rem; margin: 1rem auto 0; }
.cta-actions { margin-top: 1.75rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .cta-actions { flex-direction: row; justify-content: center; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--anthracite); color: var(--texte-secondaire-sombre); font-size: 1rem; }
.footer-grid { display: grid; gap: 2rem; padding-block: 2.5rem 1.75rem; }
.footer-title { font-family: var(--font-display); font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--blanc); }
.footer-grid ul { margin-top: .9rem; display: grid; gap: .4rem; }
.footer-grid a { display: inline-block; padding-block: .15rem; }
.footer-grid a:hover { color: var(--blanc); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--blanc); }
.footer-brand .life { color: var(--vert-clair); }
.footer-bottom { border-top: 1px solid var(--anthracite-3); }
.footer-bottom p { padding-block: 1rem; font-size: 1rem; color: var(--texte-secondaire-sombre); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; padding-block: 3rem 2rem; } }
.footer-grid > div:first-child { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "brand socials" "desc desc"; align-items: center; column-gap: 1rem; align-self: start; }
.footer-grid > div:first-child > .footer-brand { grid-area: brand; }
.footer-grid > div:first-child > .socials { grid-area: socials; }
.footer-grid > div:first-child > p:not(.footer-brand) { grid-area: desc; }
.socials { display: flex; gap: .5rem; }
.footer-grid .socials .social-link {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0;
  border-radius: 50%; color: var(--blanc); border: 1px solid var(--anthracite-3);
  position: relative; isolation: isolate; transition: border-color .25s;
}
.footer-grid .socials .social-link svg { width: 16px; height: 16px; transition: transform .25s; }
/* Survol aux couleurs de chaque réseau : un calque rond qui recouvre aussi la bordure
   (évite le liseré en bas du rond), et seule l'icône bouge pour que le survol ne clignote pas. */
.footer-grid .socials .social-link::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 50%;
  background: var(--couleur-reseau, var(--anthracite-3)); opacity: 0; transition: opacity .25s;
}
.footer-grid .socials a[href*="linkedin"] { --couleur-reseau: #0A66C2; }
.footer-grid .socials a[href*="instagram"] { --couleur-reseau: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.footer-grid .socials .social-link:hover { color: var(--blanc); border-color: transparent; text-decoration: none; }
.footer-grid .socials .social-link:hover::before { opacity: 1; }
.footer-grid .socials .social-link:hover svg { transform: scale(1.12); }
.footer-grid .socials .social-link:focus-visible { outline: 2px solid var(--vert-clair); outline-offset: 3px; }

/* ---------- Pages intérieures ---------- */
.page-hero .h1 { margin-top: .75rem; max-width: 52rem; }
.page-hero .lead { margin-top: 1rem; max-width: 44rem; }
@media (min-width: 1024px) { .page-hero .h1 { font-size: clamp(2.25rem, min(7vh, 4.2vw), 3.75rem); max-width: none; } }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .875rem; color: var(--texte-secondaire); margin-bottom: 1rem; }
.breadcrumb a { color: var(--vert); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; }

.offer-anchors { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.offer-anchors a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1.25rem; border-radius: var(--r-pill);
  background: var(--blanc); border: 1px solid var(--bordure); font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--vert);
}
.offer-anchors a:hover { background: var(--vert); border-color: var(--vert); color: var(--blanc); }

.subhead { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; color: var(--vert); }
.split { display: grid; gap: 1rem; margin-top: 2rem; }
.split-body p + p { margin-top: .9rem; }
.split-body { font-size: 1.0625rem; color: var(--texte-secondaire); }
@media (min-width: 1024px) {
  .split { grid-template-columns: 16rem 1fr; gap: 3rem; margin-top: clamp(1.25rem, 5vh, 3rem); padding-top: clamp(1.25rem, 4vh, 2.5rem); border-top: 1px solid var(--bordure); }
  .bg-sombre .split { border-top-color: var(--anthracite-3); }
  .split-body { font-size: clamp(1rem, 2.4vh, 1.125rem); }
}

.notice {
  display: flex; gap: 1rem; align-items: flex-start; margin-top: var(--gap); padding: 1.25rem 1.5rem;
  border-radius: var(--r-card); background: var(--fond-teinte); border: 1px solid var(--bordure);
}
.notice strong { font-family: var(--font-display); font-size: 1rem; display: block; color: var(--vert); }
.notice p { margin-top: .3rem; }
.notice ul { margin-top: .6rem; display: grid; gap: .35rem; }
.notice li { display: flex; gap: .6rem; align-items: center; }
.notice .ico { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--vert); color: var(--blanc); }
.notice .ico svg { width: 1.25rem; height: 1.25rem; }
@media (min-width: 1024px) { .notice ul { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.fine { margin-top: var(--gap); color: var(--texte-secondaire); }

.service-nav { margin-top: 2rem; display: grid; gap: .75rem; }
.service-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px;
  padding: 1.1rem 1.4rem; border-radius: var(--r-card); background: var(--blanc); border: 1px solid var(--bordure);
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; transition: border-color .2s, color .2s;
}
.service-nav a:hover { color: var(--vert); border-color: var(--vert); }
.service-nav svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
@media (min-width: 768px) { .service-nav { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Présentation ---------- */
.about { display: grid; gap: var(--gap); align-items: stretch; margin-top: 2rem; }
.about-facts { border-radius: var(--r-card); padding: 1.5rem; background: var(--anthracite); color: var(--blanc); }
.about-facts .footer-brand .life { color: var(--vert-clair); }
.about-facts dl { margin: 1rem 0 0; display: grid; gap: .75rem; }
.about-facts dt { font-family: var(--font-display); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--texte-secondaire-sombre); }
.about-facts dd { margin: .15rem 0 0; color: var(--blanc); }
.about-facts .label-badge { margin-top: 1rem; }
.about-text { display: flex; align-items: center; padding: 1.5rem; border-radius: var(--r-card); background: var(--fond-teinte); border: 1px solid var(--bordure); font-size: 1.125rem; line-height: 1.7; }
@media (min-width: 1024px) {
  .about { grid-template-columns: 20rem 1fr; margin-top: clamp(1rem, 4vh, 2.5rem); }
  .about-text { padding: clamp(1.25rem, 4vh, 2.5rem) 3rem; font-size: clamp(1.0625rem, 2.6vh, 1.1875rem); }
}

.members { margin-top: 2rem; display: grid; gap: var(--gap); }
.member { display: grid; grid-template-columns: 88px 1fr; gap: 1.1rem; align-items: start; padding: 1.25rem; border-radius: var(--r-card); background: var(--blanc); border: 1px solid var(--bordure); }
.member-photo { width: 88px; height: 88px; border-radius: 1rem; object-fit: cover; border: 1px solid var(--bordure); }
.member-name { font-size: 1.125rem; font-weight: 700; }
/* N, E, W : les initiales qui forment « NEW ». Vert feuille un peu assombri pour rester lisible sur blanc (contraste 4,6:1). */
.member-name .initiale { color: #3A8526; }
.member-role {
  display: inline-block; margin-top: .4rem; padding: .25rem .7rem; border-radius: var(--r-pill);
  background: var(--fond-teinte); color: var(--vert); font-family: var(--font-display); font-size: .8125rem; font-weight: 600;
}
.member-bio { margin-top: .5rem; color: var(--texte-secondaire); }
.member-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; margin-top: .25rem; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--vert); }
.member-link svg { width: 1.05rem; height: 1.05rem; }
.member-link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .members { grid-template-columns: repeat(3, 1fr); }
  .member { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 1.75rem 1.5rem; }
  .member-photo { width: 120px; height: 120px; }
  .member-body { display: flex; flex-direction: column; align-items: center; }
  .member-name { margin-top: .25rem; }
}
@media (min-width: 1024px) {
  .members { margin-top: clamp(1rem, 4vh, 2.5rem); }
  .member { padding: clamp(1rem, 3vh, 1.75rem) 1.5rem; }
  .member-photo { width: clamp(88px, 15vh, 128px); height: clamp(88px, 15vh, 128px); }
}

/* ---------- Réalité du terrain (accueil) : mise en page d'origine, fond uni ---------- */
.reality { background: var(--terrain); color: var(--blanc); }
.reality .h2 { color: var(--blanc); }
.reality .eyebrow { color: var(--vert-clair); }
.reality .lead { color: var(--texte-secondaire-sombre); }
.reality-grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 900px) {
  .reality-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 2.25rem; align-items: start; }
  .r-card-2 { grid-column: 1; grid-row: 1; }
  .r-card-1 { grid-column: 2; grid-row: 1; margin-top: 2.25rem; }
  .r-card-4 { grid-column: 1; grid-row: 2; width: 92%; margin-left: 8%; }
  .r-card-3 { grid-column: 2; grid-row: 2; }
}
@media (min-width: 1024px) { .reality-grid { margin-top: clamp(1.25rem, 4vh, 2.5rem); } }
.r-card { padding: 1.5rem; border-radius: 1.25rem; background: var(--terrain-carte); border: 1px solid var(--terrain-bordure); }
@media (min-width: 640px) { .r-card { padding: 1.6rem 1.75rem; } }
.r-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: var(--blanc); }
@media (min-width: 640px) { .r-title { font-size: 1.375rem; } }

.r-funnel { margin-top: 1.1rem; display: grid; gap: .55rem; }
.r-bar { display: flex; align-items: baseline; gap: .5rem; padding: .75rem 1rem; border-radius: .75rem; white-space: nowrap; color: var(--blanc); }
.r-bar b { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.r-bar-1 { width: 100%; background: var(--terrain-vert); }
.r-bar-1 b { font-size: 1.375rem; }
.r-bar-2 { width: 66%; min-width: 13rem; background: var(--terrain-vert-2); }
.r-bar-3 { width: max-content; min-width: 40%; padding-right: 1.25rem; background: var(--vert-clair); color: var(--vert-fonce); font-weight: 600; }

.r-timeline { margin-top: 1.1rem; display: grid; gap: .45rem; }
.r-timeline li {
  display: grid; grid-template-columns: 3.25rem 1fr auto; align-items: center; gap: .5rem;
  padding: .6rem .9rem; border-radius: .65rem; background: var(--terrain-ligne); color: var(--blanc);
}
.r-timeline time { font-size: .875rem; color: var(--texte-secondaire-sombre); font-variant-numeric: tabular-nums; }
.r-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rouge); }
.r-timeline .is-ok { background: var(--terrain-vert); border: 1px solid var(--vert-clair); }
.r-ok { color: var(--vert-clair); font-weight: 800; }

.r-chips { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.r-chips li { padding: .4rem .85rem; border-radius: var(--r-pill); border: 1px solid var(--terrain-bordure); background: var(--terrain-ligne); color: var(--blanc); }

.r-sub { margin-top: .5rem; color: var(--texte-secondaire-sombre); }
.r-rdv { margin-top: .9rem; }
.r-ticks { display: grid; gap: .45rem; color: var(--blanc); }
.r-ticks li { display: flex; align-items: flex-start; gap: .6rem; line-height: 1.45; }
.r-ticks li::before {
  content: "✓"; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; margin-top: .1rem;
  width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--vert-clair); color: var(--vert-fonce); font-size: .7rem; font-weight: 800;
}
.reality-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
@media (min-width: 1024px) { .reality-actions { margin-top: clamp(1.25rem, 4vh, 2.5rem); } }

/* Animation à l'apparition (seulement si le script l'a préparée) */
.reality.is-animated .r-card { opacity: 0; transform: translateY(30px) rotate(var(--tilt, -2deg)); transition: opacity .7s ease, transform 1.1s cubic-bezier(.2,.8,.2,1); }
.reality.is-animated .r-card-2 { --tilt: -2.5deg; }
.reality.is-animated .r-card-1 { --tilt: 2deg; transition-delay: .12s; }
.reality.is-animated .r-card-3 { --tilt: -1.5deg; transition-delay: .24s; }
.reality.is-animated .r-card-4 { --tilt: 1.5deg; transition-delay: .36s; }
.reality.is-animated .r-card.is-in { opacity: 1; transform: none; }
.reality.is-animated .r-bar { transform-origin: left; transform: scaleX(.15); opacity: .4; transition: transform 1.2s cubic-bezier(.2,.8,.2,1), opacity .6s; }
.reality.is-animated .is-in .r-bar { transform: none; opacity: 1; }
.reality.is-animated .is-in .r-bar-2 { transition-delay: .25s; }
.reality.is-animated .is-in .r-bar-3 { transition-delay: .5s; }
.reality.is-animated .r-timeline li, .reality.is-animated .r-chips li, .reality.is-animated .r-ticks li { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.reality.is-animated .is-in .r-timeline li, .reality.is-animated .is-in .r-chips li, .reality.is-animated .is-in .r-ticks li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 120ms + 300ms); }

/* ---------- Audit offert (formulaire en étapes) ---------- */
.audit-card { position: relative; padding: 1.25rem; border-radius: var(--r-card); background: var(--blanc); border: 1.5px solid var(--vert); }
@media (min-width: 640px) { .audit-card { padding: 1.5rem 1.75rem; } }
.audit-head { display: flex; align-items: center; gap: .9rem; padding-bottom: 1rem; border-bottom: 1px solid var(--bordure); }
.audit-logo { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--fond-teinte); border: 1px solid var(--bordure); }
.audit-logo img { width: 28px; height: auto; }
.audit-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; }
.audit-sub { margin-top: .15rem; line-height: 1.45; color: var(--texte-secondaire); }
.audit-progress { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; font-size: .875rem; font-weight: 500; color: var(--texte-secondaire); }
.audit-back { border: 0; background: none; padding: .25rem 0; color: var(--texte-secondaire); font-size: .875rem; cursor: pointer; }
.audit-back:hover { color: var(--vert); }
.audit-bar { margin-top: .5rem; height: 4px; border-radius: 4px; background: var(--fond-teinte); overflow: hidden; }
.audit-bar span { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--vert); transition: width .35s ease; }
.audit-step { margin: 1.1rem 0 0; padding: 0; border: 0; min-width: 0; }
.audit-step[hidden] { display: none; }
.audit-step legend { padding: 0; margin-bottom: .75rem; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; }
.audit-choices { display: grid; gap: .5rem; }
.audit-choice {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem 1rem; border-radius: var(--r-sm); border: 1.5px solid var(--bordure);
  font-weight: 600; line-height: 1.35; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s;
}
.audit-choice::after { content: "→"; flex-shrink: 0; color: var(--texte-secondaire); transition: transform .15s; }
.audit-choice small { display: block; margin-top: .1rem; font-size: 1rem; font-weight: 400; color: var(--texte-secondaire); }
.audit-choice input { position: absolute; opacity: 0; pointer-events: none; }
.audit-choice:hover { border-color: var(--vert); background: var(--fond-teinte); }
.audit-choice:hover::after { transform: translateX(3px); color: var(--vert); }
.audit-choice:has(input:checked) { border-color: var(--anthracite); background: var(--anthracite); color: var(--blanc); }
.audit-choice:has(input:checked) small, .audit-choice:has(input:checked)::after { color: var(--texte-secondaire-sombre); }
.audit-choice:has(input:focus-visible) { outline: 3px solid var(--vert); outline-offset: 2px; }
.audit-step.is-stopped .audit-choices { display: none; }
.audit-stop { padding: 1rem 1.25rem; border-radius: var(--r-sm); background: var(--fond-teinte); border-left: 4px solid var(--anthracite); color: var(--anthracite); font-weight: 600; line-height: 1.5; }
.audit-stop button { margin-top: .6rem; border: 0; background: none; padding: 0; color: var(--vert); font-weight: 600; cursor: pointer; }
.audit-stop button:hover { text-decoration: underline; }
.audit-step .field .optional { font-family: var(--font-sans); font-weight: 400; color: var(--texte-secondaire); }
.audit-step .field textarea { min-height: 46px; height: 46px; }
.audit-step > .hint { margin-top: .4rem; font-size: 1rem; color: var(--texte-secondaire); }
/* Dernière étape sur ordinateur : on retire le sous-titre et la mention du bas pour tenir dans l'écran */
@media (min-width: 1024px) {
  .audit-card.is-final .audit-sub, .audit-card.is-final .audit-foot { display: none; }
}
.audit-submit { width: 100%; margin-top: 1rem; }
.audit-foot { margin-top: 1rem; text-align: center; font-size: 1rem; font-weight: 600; color: var(--texte-secondaire); }

/* Champs */
.form-row { display: grid; gap: .8rem; }
@media (min-width: 640px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.field + .field, .form-row + .field, .field + .form-row, .form-row + .form-row { margin-top: .8rem; }
.form-row > .field + .field { margin-top: 0; }
.field label { display: block; font-family: var(--font-display); font-size: .875rem; font-weight: 600; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: .65rem .9rem; border: 1.5px solid var(--bordure); border-radius: var(--r-sm);
  background: var(--blanc); color: var(--anthracite); font: inherit; font-size: 1rem;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--fond-teinte); outline-offset: 0; border-color: var(--vert); }
.field .hint { margin-top: .3rem; font-size: 1rem; color: var(--texte-secondaire); }
.form-error { margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--r-sm); background: var(--fond-teinte); border-left: 4px solid var(--anthracite); color: var(--anthracite); font-weight: 600; line-height: 1.5; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { margin-top: .8rem; font-size: 1rem; line-height: 1.5; color: var(--texte-secondaire); }
.form-legal a { color: var(--vert); text-decoration: underline; }

/* Fenêtre « Audit offert » (pages autres que l'accueil) */
.audit-modal { width: min(34rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 0; background: transparent; overflow: visible; }
.audit-modal::backdrop { background: var(--anthracite); opacity: .7; }
.audit-modal[open] { animation: audit-in .25s ease-out; }
.audit-modal .audit-card { max-height: calc(100dvh - 2rem); overflow-y: auto; }
.audit-close {
  position: absolute; top: .8rem; right: .8rem; z-index: 2; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--bordure); border-radius: 50%; background: var(--blanc); color: var(--anthracite); font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.audit-close:hover { background: var(--fond-teinte); }
.audit-modal .audit-head { padding-right: 2.5rem; }
@keyframes audit-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Textes légaux ---------- */
.prose { max-width: 48rem; }
.prose h2 { font-size: 1.25rem; margin-top: 1.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: .6rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose li + li { margin-top: .25rem; }
.prose a { color: var(--vert); text-decoration: underline; text-underline-offset: 3px; }
.page-hero + .prose, .page-hero .prose { margin-top: 2rem; }
@media (min-width: 1024px) {
  .prose h2 { margin-top: clamp(1rem, 3.5vh, 2rem); font-size: clamp(1.0625rem, 2.8vh, 1.25rem); }
  .page-hero .prose { margin-top: clamp(1rem, 4vh, 2.5rem); }
}

/* ---------- Écrans peu hauts (ordinateur) : compactage ---------- */
@media (min-width: 1024px) and (max-height: 800px) {
  :root { --gap: .75rem; --section-y: clamp(1.75rem, 4vh, 2.5rem); --section-y-full: clamp(1rem, 3.2vh, 2rem); }
  .r-card, .card, .step, .peers-list li { line-height: 1.45; }
  .r-funnel, .r-timeline, .r-chips { margin-top: .6rem; }
  .cards, .steps, .members, .about { margin-top: 1rem; }
  .eyebrow { font-size: .75rem; }
  .section-head .h2 { margin-top: .35rem; }
  .card-list li, .r-ticks li, .notice li { line-height: 1.4; }
  .icon-tile svg { width: 1.25rem; height: 1.25rem; }
  .step-num { width: 2.25rem; height: 2.25rem; font-size: .9375rem; }
  .step .h3 { margin-top: .6rem; }
  .notice { padding: .9rem 1.25rem; }
  .audit-card { padding: 1rem 1.5rem; }
  .audit-head { padding-bottom: .75rem; }
  .audit-progress { margin-top: .75rem; }
  .audit-step { margin-top: .8rem; }
  .audit-step legend { margin-bottom: .5rem; }
  .audit-choice { padding: .55rem .9rem; }
  .audit-foot { margin-top: .6rem; }
  .r-timeline li { padding: .3rem .75rem; }
  /* Dernière étape du formulaire : l'en-tête de la carte laisse la place aux champs */
  .audit-card.is-final .audit-head { display: none; }
  .audit-card.is-final .audit-progress { margin-top: 0; }
  .audit-step .form-row { gap: .65rem; }
  .audit-step .field + .field, .audit-step .form-row + .field, .audit-step .field + .form-row, .audit-step .form-row + .form-row { margin-top: .6rem; }
  .audit-step .field label { margin-bottom: .25rem; }
  .audit-step .form-row > .field + .field { margin-top: 0; }
  .audit-submit { margin-top: .75rem; }
  .audit-step .form-legal { margin-top: .5rem; }
  .audit-step .field input, .audit-step .field textarea { min-height: 44px; height: 44px; padding-block: .5rem; }
  .r-bar { padding: .45rem .85rem; }
  .r-chips li { padding: .25rem .7rem; }
}
@media (min-width: 1024px) and (max-height: 700px) {
  :root { --section-y-full: 1rem; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Pages légales : le texte continue d'une section à l'autre, sans rupture */
.page-hero:has(+ .legal-suite) { padding-bottom: 0; }
.legal-suite { padding-top: 1.75rem; }
.legal-suite:not(:last-child) { padding-bottom: 0; }

/* ---------- Téléphone : cartes qui défilent de droite à gauche (au lieu de s'empiler) ----------
   Réalité du terrain, nos deux offres, ce que nous livrons, déroulé, membres.
   La carte suivante dépasse à droite pour montrer qu'on peut faire glisser. */
@media (max-width: 767px) {
  .cards, .steps, .members, .reality-grid {
    display: flex; gap: .875rem; align-items: stretch; position: relative;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: .35rem var(--gutter) .9rem; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .cards::-webkit-scrollbar, .steps::-webkit-scrollbar, .members::-webkit-scrollbar, .reality-grid::-webkit-scrollbar { display: none; }
  .cards > *, .steps > *, .members > *, .reality-grid > * { flex: 0 0 84%; max-width: 21rem; scroll-snap-align: start; }
  .card:hover { transform: none; }
  /* Les cartes restent visibles dans le défilement ; leur contenu s'anime quand on les fait glisser. */
  .reality.is-animated .r-card { opacity: 1; transform: none; }
  .member { grid-template-columns: 1fr; justify-items: start; }
  /* Une seule carte visible à la fois (pleine largeur) ; sur Présentation, on arrive sur Elias, au centre. */
  .cards, .steps, .members, .reality-grid { gap: calc(2 * var(--gutter)); }
  .cards > *, .steps > *, .members > *, .reality-grid > * { flex-basis: 100%; max-width: none; scroll-snap-align: center; scroll-snap-stop: always; }
}
/* Points sous un carrousel : indiquent la carte affichée et permettent d'y aller */
.carousel-dots { display: none; }
@media (max-width: 767px) {
  .carousel-dots { display: flex; justify-content: center; gap: .25rem; margin-top: .35rem; }
  .carousel-dots button {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer;
  }
  .carousel-dots button::before {
    content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--texte-secondaire); opacity: .35;
    transition: width .25s, background-color .25s, opacity .25s;
  }
  .carousel-dots button[aria-current="true"]::before { width: 22px; background: var(--vert); opacity: 1; }
  .bg-sombre .carousel-dots button::before { background: var(--blanc); }
  .bg-sombre .carousel-dots button[aria-current="true"]::before { background: var(--vert-clair); }
}
