/* =====================================================================
   ZATALABS — Pages publiques, identité V8 « le prix affiché »
   (9 octobre 2026)

   Le site vend des sites à prix fixe, payés une fois. La page se lit
   comme le tarif affiché d'un commerce : des noms, des points de
   conduite, des prix. C'est le seul élément appuyé ; tout le reste est
   calme : papier blanc, encre bleu nuit, un bleu pour agir, un surligneur
   jaune réservé à ce qui compte.

   Chargée après style.css, app.css et tarifs.css, sur les pages publiques
   seulement (partiels/site-tete.ejs). Jetons : style.css.

   Sommaire
   01. Base               06. Accueil
   02. En-tête            07. Page Tarifs
   03. Boutons, liens     08. Configurateur
   04. Sections           09. Savoir-faire
   05. Tarif affiché      10. Pied, thème sombre, mouvement
   ===================================================================== */

/* ============ 01. BASE ============ */

body.site {
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  background: var(--bg);
}
.site h1, .site h2, .site h3, .site h4 {
  font-family: var(--police-titre);
  font-weight: 750;
  font-stretch: 100%;
  letter-spacing: -.015em;
  line-height: 1.12;
}
.site p { text-wrap: pretty; }
.site .container { width: min(100% - 2rem, var(--maxw)); }
.site .container--narrow { width: min(100% - 2rem, 760px); }
.site main { display: block; }

/* Décor de l'ancienne identité : retiré. */
.site .bg-layer, .site .cursor-glow, .site .scroll-progress, .site #particles { display: none !important; }

/* Chiffres : alignés, lisibles. */
.site .prix, .site .affiche__prix, .site [data-chiffre] { font-variant-numeric: tabular-nums lining-nums; }

/* Surligneur : un trait de marqueur derrière quelques mots, jamais plus. */
.site mark, .surligne {
  color: inherit;
  background: linear-gradient(transparent 52%, var(--surligneur) 52%, var(--surligneur) 92%, transparent 92%);
  padding: 0 .12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.site ::selection { background: var(--surligneur); color: var(--text); }
.cache-visuel {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.site :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.site .lien-evitement:focus {
  position: fixed; top: .5rem; left: .5rem; z-index: 200;
  padding: .6rem 1rem; border-radius: var(--r-s);
  background: var(--bouton); color: var(--bouton-texte);
}

/* ============ 02. EN-TÊTE ============ */

.site .nav {
  position: sticky; top: 0; left: auto; right: auto;
  padding: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--stroke);
  transition: transform .3s var(--ease);
}
.site .nav.is-hidden { top: 0; transform: translateY(-100%); }
.site .nav__inner {
  width: min(100% - 2rem, var(--maxw));
  height: var(--nav-h);
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.site .nav.is-stuck .nav__inner { background: transparent; box-shadow: none; height: var(--nav-h); }
.site .nav__logo { font-family: var(--police-titre); }
.site .logo-zl__mot { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.site .nav__links { gap: .15rem; }
.site .nav__link {
  padding: .5rem .75rem;
  border-radius: var(--r-s);
  font-size: .98rem;
  font-weight: 600;
  color: var(--muted);
}
.site .nav__link:hover { color: var(--text); background: var(--bg-2); }
.site .nav__link.is-active { color: var(--text); }
.site .nav__link.is-active::after {
  left: .75rem; right: .75rem; bottom: .25rem; width: auto; height: 2px; margin: 0;
  border-radius: 0; background: var(--text);
}
.site .nav__link--cta,
.site .nav__link--cta:hover {
  margin-left: .5rem;
  color: var(--bouton-texte);
  background: var(--bouton);
  box-shadow: none;
  filter: none;
}
.site .nav__link--cta:hover { background: var(--bouton-survol); }
.site .nav__link--cta.is-active { color: var(--bouton-texte); }
.site .nav__link--cta.is-active::after { display: none; }
.site .nav__separateur { width: 1px; height: 22px; margin: 0 .35rem; background: var(--stroke-2); }
.site .icon-btn { width: 40px; height: 40px; border-radius: var(--r-s); background: transparent; box-shadow: none; }
.site .icon-btn:hover { transform: none; background: var(--bg-2); }

@media (max-width: 860px) {
  .site .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; top: var(--nav-h);
    height: calc(100svh - var(--nav-h));
    justify-content: flex-start; align-items: stretch;
    padding: 1.2rem 1rem 2rem;
    gap: .2rem;
    background: var(--bg);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    border-top: 1px solid var(--stroke);
    transform: none;
    transition: opacity .2s var(--ease), visibility .2s;
  }
  .site .nav__link {
    font-family: var(--police-titre);
    font-size: 1.5rem; font-weight: 700;
    padding: .7rem .5rem;
    color: var(--text);
    border-bottom: 1px solid var(--stroke);
    border-radius: 0;
    transform: none;
  }
  .site .nav__links.is-open .nav__link { transition-delay: 0s; }
  .site .nav__link--cta { margin: 1.2rem 0 0; text-align: center; border-radius: var(--r-s); border-bottom: 0; font-size: 1.15rem; padding: .9rem; }
  .site .nav__separateur { display: none; }
}

/* ============ 03. BOUTONS, LIENS ============ */

.site .btn {
  padding: .85rem 1.3rem;
  border-radius: var(--r-s);
  font-family: var(--police-texte);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  overflow: visible;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .12s var(--ease);
}
.site .btn--primary { color: var(--bouton-texte); background: var(--bouton); box-shadow: none; }
.site .btn--primary::before { display: none; }
.site .btn--primary:hover { background: var(--bouton-survol); box-shadow: none; }
.site .btn--ghost, .site .btn.glass {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--stroke-2);
  box-shadow: none;
}
.site .btn--ghost:hover, .site .btn.glass:hover { background: var(--bg-2); border-color: var(--text); }
.site .btn:active { transform: scale(.98) !important; }
.site .btn--petit { padding: .5rem .85rem; font-size: .92rem; }
.site .btn.is-done { background: #1E8E5A; color: #fff; }

.site .lien {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.site .lien:hover { text-decoration-thickness: 2px; }

/* ============ 04. SECTIONS ============ */

.site .section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.site .section--alt { background: var(--bg-2); }
.site .section--alt::before { display: none; }
.site .section--ivoire { background: var(--bg-2); color: var(--text); }
.site .section--ivoire .section__title, .site .section--ivoire strong { color: var(--text); }
.site .section--ivoire .section__sub { color: var(--muted); }

.site .section__head { text-align: left; max-width: 44rem; margin: 0 0 clamp(1.8rem, 4vw, 2.6rem); }
.site .section__title { font-size: clamp(1.85rem, 4vw, 2.7rem); }
.site .section__sub { margin: .8rem 0 0; max-width: 60ch; font-size: 1.08rem; color: var(--muted); }
.site .eyebrow {
  margin-bottom: .6rem;
  font-size: .95rem; font-weight: 700;
  letter-spacing: 0; text-transform: none;
  color: var(--muted);
}
.site .grad { color: inherit; background: none; -webkit-background-clip: border-box; background-clip: border-box; animation: none; }

.site .mention-tva { font-size: .86rem; color: var(--faint); }

/* Liste à coches : ce qui est compris. */
.coches { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.coches li { display: grid; grid-template-columns: 1.3rem 1fr; gap: .55rem; align-items: baseline; }
.coches li::before {
  content: ""; width: .8rem; height: .45rem; margin-top: .1em;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg) translate(.1rem, -.05rem);
}
.coches--neutre li::before { border-color: var(--faint); }

/* ============ 05. TARIF AFFICHÉ ============
   Un nom, des points de conduite, un prix. Les points occupent tout
   l'espace libre entre les deux, comme sur une carte de restaurant. */

.affiche { margin: 0; }
.affiche__liste { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); }
.affiche__ligne { border-bottom: 1px solid var(--stroke-2); }
.affiche__lien {
  display: grid;
  grid-template-columns: auto minmax(1.5rem, 1fr) auto;
  grid-template-areas: "nom points prix" "detail detail detail";
  align-items: baseline;
  column-gap: .7rem;
  padding: clamp(.9rem, 2.2vw, 1.35rem) .2rem;
  color: inherit;
  text-decoration: none;
  transition: background-color .15s var(--ease);
}
a.affiche__lien:hover { background: var(--bg-2); }
a.affiche__lien:hover .affiche__nom { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.affiche__nom {
  grid-area: nom;
  font-family: var(--police-titre);
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.01em;
}
.affiche__points {
  grid-area: points;
  align-self: baseline;
  height: .35em;
  background-image: radial-gradient(circle, var(--faint) 1.2px, transparent 1.7px);
  background-size: 9px 6px;
  background-repeat: repeat-x;
  background-position: left center;
  opacity: .9;
}
.affiche__prix {
  grid-area: prix;
  font-family: var(--police-titre);
  font-stretch: 75%;
  font-weight: 800;
  font-size: clamp(2.6rem, 7.5vw, 5rem);
  line-height: .9;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.affiche__des {
  font-family: var(--police-texte);
  font-stretch: 100%;
  font-size: .3em;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: .9em;
  margin-right: .25em;
  color: var(--muted);
}
.affiche__euro { font-size: .62em; margin-left: .06em; vertical-align: .32em; font-weight: 700; }
.affiche__detail {
  grid-area: detail;
  margin-top: .35rem;
  max-width: 52ch;
  font-size: .98rem;
  color: var(--muted);
}
.affiche__pied { margin: 1rem 0 0; font-size: 1.02rem; }
.affiche__pied strong { font-weight: 800; }

/* Grand format (accueil, page Tarifs). */
.affiche--grand .affiche__prix { font-size: clamp(3rem, 9.5vw, 6.4rem); }

@media (max-width: 420px) {
  .affiche__lien { column-gap: .45rem; }
  .affiche__points { background-size: 7px 6px; }
}

/* ============ 06. ACCUEIL ============ */

.hero-v8 { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-v8__grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}
.hero-v8__titre {
  margin: 0;
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
  max-width: 11ch;
}
.hero-v8__sous { margin: 1.3rem 0 0; max-width: 40ch; font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--muted); }
.hero-v8__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.hero-v8__lancement { margin: 1.4rem 0 0; font-size: .95rem; color: var(--muted); max-width: 44ch; }

/* Compris / à part */
.prix-compris { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.prix-compris h3 { margin: 0 0 1rem; font-size: 1.3rem; }
.prix-compris__apart { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--stroke-2); }
.prix-compris__apart li {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: baseline;
  padding: .75rem 0; border-bottom: 1px solid var(--stroke);
}
.prix-compris__apart strong { font-weight: 700; }
.prix-compris__apart small { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; }
.prix-compris__apart .prix { font-size: 1.05rem; white-space: nowrap; }
.prix-compris__note { margin: 1rem 0 0; color: var(--muted); font-size: .95rem; }

/* Réalisations (démonstrations) */
.site .realisations { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.site .realisation {
  display: grid; gap: .8rem; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: inherit;
  transition: none;
}
.site .realisation:hover { transform: none; box-shadow: none; }
.site .realisation__ecrans {
  border-radius: var(--r-m); overflow: hidden; aspect-ratio: 16 / 10;
  border: 1px solid var(--stroke); background: var(--bg-2);
}
.site .realisation:hover .realisation__ecrans { border-color: var(--text); }
.site .realisation__ecrans img { transition: transform .4s var(--ease); }
.site .realisation__texte { display: grid; padding: 0; gap: .1rem; color: var(--muted); font-size: .95rem; }
.site .realisation__texte strong { font-family: var(--police-titre); font-size: 1.25rem; line-height: 1.25; color: var(--text); }
.site .realisation__type { font-size: .88rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--muted); }
.site .realisation__type em { font-style: normal; color: var(--muted); }
.site .realisation__points { font-size: .9rem; }
.site .accueil-demos__suite { margin-top: 1.8rem; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .7rem; }

/* Étapes : un vrai déroulé, donc numéroté. */
.etapes-v8 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); counter-reset: etape; }
.etapes-v8 li { counter-increment: etape; padding-top: 1rem; border-top: 2px solid var(--text); }
.etapes-v8 li::before {
  content: counter(etape);
  display: block; margin-bottom: .5rem;
  font-family: var(--police-titre); font-stretch: 75%; font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: var(--accent);
}
.etapes-v8 h3 { margin: 0 0 .4rem; font-size: 1.25rem; }
.etapes-v8 p { margin: 0; color: var(--muted); }

/* Ce que nous faisons aussi : une liste de prix, pas des cartes. */
.services-v8 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 3.5rem); margin: 0; }
.services-v8 > div { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; padding: .95rem 0; border-bottom: 1px solid var(--stroke); }
.services-v8 dt { font-weight: 700; font-family: var(--police-titre); font-size: 1.1rem; }
.services-v8 dd { margin: 0; }
.services-v8 .services-v8__prix { font-family: var(--police-titre); font-weight: 700; white-space: nowrap; text-align: right; }
.services-v8 .services-v8__texte { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }

/* FAQ */
.site .accordion { display: grid; gap: 0; max-width: 52rem; border-top: 1px solid var(--stroke-2); }
.site .acc { border: 0; border-bottom: 1px solid var(--stroke-2); border-radius: 0; background: none; }
.site .acc:hover { background: none; }
.site .acc__head {
  padding: 1.1rem .1rem; font-family: var(--police-titre); font-size: 1.15rem; font-weight: 700; color: var(--text);
  background: none;
}
.site .acc__inner p { padding: 0 .1rem 1.2rem; font-size: 1rem; color: var(--muted); max-width: 64ch; }

/* Contact */
.site .contact { padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0; }
.site .contact__left h2 { font-size: clamp(1.85rem, 4vw, 2.6rem); }
.site .field input, .site .field textarea, .site .field select {
  border-radius: var(--r-s);
  background: var(--surface);
  border: 1px solid var(--stroke-2);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  font-size: 1rem;
}
.site .field input:focus, .site .field textarea:focus, .site .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.site .depot-verrou, .site .depot__zone { border-radius: var(--r-m); background: var(--bg-2); border: 1px dashed var(--stroke-2); }

/* ============ 07. PAGE TARIFS ============ */

.tarifs-v8__tete { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.tarifs-v8__grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.tarifs-v8__tete h1 { margin: 0; font-size: clamp(2.5rem, 6.2vw, 4.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
.tarifs-v8__tete .chapo { margin: 1.1rem 0 0; max-width: 40ch; font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--muted); }
.tarifs-v8__lancement { margin: 1.3rem 0 0; max-width: 44ch; font-size: .95rem; color: var(--muted); }
.tarifs-v8__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: clamp(1.6rem, 4vw, 2.2rem); }
.tarifs-v8__note { margin: 1.1rem 0 0; color: var(--muted); font-size: .95rem; max-width: 70ch; }

/* Tableau de comparaison (formules, options) */
.tableau-v8 { overflow-x: auto; margin: 0; border-top: 2px solid var(--text); }
.tableau-v8 table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: .98rem; }
.tableau-v8 caption { text-align: left; }
.tableau-v8 th, .tableau-v8 td { padding: .8rem .75rem; border-bottom: 1px solid var(--stroke); text-align: left; vertical-align: top; }
.tableau-v8 thead th { font-family: var(--police-titre); font-size: 1.05rem; font-weight: 750; border-bottom: 1px solid var(--stroke-2); }
.tableau-v8 thead th small { display: block; font-family: var(--police-texte); font-weight: 600; font-size: .86rem; color: var(--muted); }
.tableau-v8 tbody th { font-weight: 600; color: var(--text); }
.tableau-v8 tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.tableau-v8 td.prix { font-weight: 700; white-space: nowrap; }
.tableau-v8 .oui {
  display: inline-block; width: .85rem; height: .48rem; margin-bottom: .2em;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
.tableau-v8 .non { color: var(--faint); }
.tableau-v8 .actions-cellule { white-space: nowrap; }
.tableau-v8 .actions-cellule .btn { padding: .35rem .7rem; font-size: .88rem; }
.tableau-v8 td small { display: block; font-size: .86rem; font-weight: 400; color: var(--muted); }

/* Comparatif des formules : tient dans la largeur, même sur un téléphone
   (les cellules sont courtes : coches, nombres, prix). */
.tableau-v8--formules { overflow: visible; background: var(--bg); }
.tableau-v8--formules table { min-width: 0; table-layout: fixed; }
.tableau-v8--formules .tableau-v8__libelles { width: 40%; }
.tableau-v8--formules thead th a { color: inherit; text-decoration: none; }
.tableau-v8--formules thead th a:hover { text-decoration: underline; text-underline-offset: .18em; }
.tableau-v8--formules td { text-align: center; }
.tableau-v8--formules thead th { text-align: center; vertical-align: bottom; }
.tableau-v8__prix th, .tableau-v8__prix td { padding-top: .5rem; padding-bottom: 1rem; }
.tableau-v8__prix td {
  font-family: var(--police-titre); font-stretch: 75%; font-weight: 800;
  font-size: clamp(1.45rem, 3.4vw, 2.2rem); line-height: 1.05; letter-spacing: -.01em; white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
}
.tableau-v8__prix td small { font-stretch: 100%; letter-spacing: 0; white-space: normal; }
.tableau-v8__des { font-family: var(--police-texte); font-stretch: 100%; font-size: .5em; font-weight: 700; letter-spacing: 0; color: var(--muted); vertical-align: .35em; }
.tableau-v8__prix th { font-weight: 600; color: var(--muted); vertical-align: middle; text-align: left; font-family: var(--police-texte); font-size: .98rem; }
.tableau-v8__groupe th {
  padding-top: 1.5rem; padding-bottom: .5rem;
  font-family: var(--police-titre); font-size: 1.12rem; font-weight: 750;
  border-bottom: 1px solid var(--stroke-2);
}
.tableau-v8--formules tbody:first-of-type .tableau-v8__groupe th { padding-top: 1rem; }

/* Services mensuels : liste à prix */
.mensuels-v8 { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 3.5rem); }
.mensuels-v8 > li { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; padding: .95rem 0; border-bottom: 1px solid var(--stroke); align-items: baseline; align-content: start; }
.mensuels-v8 > li > strong { font-family: var(--police-titre); font-size: 1.1rem; }
.mensuels-v8 > li > .prix { white-space: nowrap; }
.mensuels-v8 > li > p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .95rem; }
.mensuels-v8 > li > .option-carte__actions { grid-column: 1 / -1; padding: .25rem 0 0; }
/* « Tout savoir » : un lien discret dans une liste, pas un bouton par ligne. */
.site .mensuels-v8 .btn.option-carte__details {
  padding: .15rem 0; border: 0; border-radius: 2px; background: none; box-shadow: none;
  color: var(--accent); font-size: .92rem; font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em;
}
.site .mensuels-v8 .btn.option-carte__details:hover { background: none; border: 0; text-decoration-thickness: 2px; }
.mensuels-v8 > li > .option-carte__variable { grid-column: 1 / -1; }
.mensuels-v8 > li > .mensuels-v8__dispo { font-size: .9rem; color: var(--faint); }
.mensuels-v8 > li > .prix { font-family: var(--police-titre); font-weight: 700; font-size: 1.05rem; text-align: right; }
.section--alt .mensuels-v8 { border-top-color: var(--text); }
.mensuels-v8__badge { margin-left: .35rem; padding: .05rem .4rem; border-radius: 4px; background: var(--surligneur); font-family: var(--police-texte); font-size: .8rem; font-weight: 700; vertical-align: .15em; }

/* À savoir : une liste courte */
.savoir-v8 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem clamp(1.5rem, 4vw, 3.5rem); margin: 0; }
.savoir-v8 dt { font-family: var(--police-titre); font-weight: 750; font-size: 1.1rem; }
.savoir-v8 dd { margin: .3rem 0 0; color: var(--muted); max-width: 60ch; }
.savoir-v8 > div { padding-top: 1rem; border-top: 1px solid var(--stroke-2); }

/* Fiche « Tout savoir » : même papier que la page. */
.site .option-dialog { background: var(--bg); border-radius: var(--r-m); border-color: var(--stroke-2); }
.site .option-dialog::backdrop { background: rgba(13, 18, 32, .55); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site .option-dialog__tete h2 { font-size: 1.5rem; font-weight: 750; }
.site .option-dialog__categorie { font-size: .92rem; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 600; }
.site .option-dialog section h3 { font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--text); font-weight: 750; font-family: var(--police-titre); }
.site .option-dialog__fermer { border-radius: var(--r-s); background: transparent; }
.site .option-dialog__fermer:hover { background: var(--bg-2); }
.site .liste-infos li::before { content: "–"; color: var(--muted); }

.site .formule__liste li::before { color: var(--accent); }

/* ============ 08. CONFIGURATEUR ============ */

.site .config__etape > h2 { font-size: 1.45rem; }
.site .config__etape > h2 span {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  border: 2px solid var(--text); color: var(--text); font-family: var(--police-titre); font-size: 1rem; font-weight: 800; letter-spacing: 0;
}
.site .choix-formule__carte, .site .option-carte, .site .resume {
  border-radius: var(--r-m);
  background: var(--surface);
  border: 1px solid var(--stroke-2);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: none;
}
.site .choix-formule__carte .prix { font-size: 1.6rem; font-stretch: 75%; font-weight: 800; }
.site .choix-formule input:checked + .choix-formule__carte { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); background: var(--surface); }
.site .option-carte.is-choisie { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); background: var(--surface); }
.site .option-carte h3, .site .option-carte h4 { font-family: var(--police-titre); font-size: 1.08rem; font-weight: 700; }
.site .option-carte .prix { font-size: 1.05rem; }
.site .option-choix input:checked + .option-choix__bouton { color: var(--bouton-texte); background: var(--bouton); border-color: var(--bouton); box-shadow: none; }
.site .resume { border-color: var(--text); }
.site .resume h2 { font-size: 1.2rem; }
.site .resume__bloc h3 { font-size: .9rem; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 700; }
.site .resume__total .prix { font-size: 1.6rem; font-stretch: 75%; font-weight: 800; }
.site .resume-barre { border-radius: var(--r-m); background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-color: var(--text); }
.site .option-carte__variable, .site .resume__variable { color: var(--muted) !important; font-style: italic; }
.site .champ-reglage { border-radius: var(--r-s); border: 1px solid var(--stroke-2); background: var(--surface); }
.site .message { border-radius: var(--r-m); }
.config__aide { margin: -.4rem 0 1rem; color: var(--muted); max-width: 62ch; }
.site .choix-formule__carte { gap: .3rem; padding: 1.1rem 1.15rem 1.2rem; }
.site .choix-formule__carte strong { font-size: 1.15rem; font-weight: 750; }
.site .choix-formule__carte .prix { font-family: var(--police-titre); font-size: 2.1rem; line-height: 1; letter-spacing: -.01em; }
.choix-formule__des { font-family: var(--police-texte); font-stretch: 100%; font-size: .45em; font-weight: 700; color: var(--muted); vertical-align: .5em; letter-spacing: 0; }
.site .choix-formule__mode { font-weight: 700; color: var(--text); }
.site .option-carte__dispo { margin: 0; font-size: .86rem; color: var(--faint); }
.site .option-carte.is-indisponible { opacity: 1; background: var(--bg-2); border-style: dashed; }
.site .option-carte.is-indisponible h3, .site .option-carte.is-indisponible > p:not(.option-carte__dispo) { color: var(--faint); }
.site .option-carte.is-indisponible .option-carte__dispo { color: var(--muted); font-weight: 600; }
/* Une option hors formule se réduit à son nom et à la formule qui la propose. */
.site .option-carte.is-indisponible > p:not(.option-carte__dispo),
.site .option-carte.is-indisponible .option-carte__pied,
.site .option-carte.is-indisponible .option-carte__actions { display: none; }
.site .options-grille { align-items: start; }
.site .toutes-options > summary { list-style: none; cursor: pointer; }
.site .toutes-options > summary::-webkit-details-marker { display: none; }
.site .toutes-options[open] > summary { margin-bottom: 1rem; }

/* Résumé : votre propre tarif affiché, avec ses points de conduite. */
.site .resume__ligne {
  display: grid; grid-template-columns: minmax(0, auto) minmax(.8rem, 1fr) auto;
  align-items: baseline; gap: .4rem; font-size: .95rem;
}
.site .resume__ligne::after {
  content: ""; grid-column: 2; grid-row: 1; align-self: baseline; height: .3em;
  background-image: radial-gradient(circle, var(--faint) 1px, transparent 1.4px);
  background-size: 7px 5px; background-repeat: repeat-x; background-position: left center;
}
.site .resume__ligne > span:first-child { grid-column: 1; color: var(--text); }
.site .resume__ligne > span:last-child { grid-column: 3; font-family: var(--police-titre); font-weight: 700; font-variant-numeric: tabular-nums lining-nums; }
.site .resume__ligne > span:last-child:empty { display: none; }
.site .resume__total { padding-top: .45rem; border-top: 1px solid var(--stroke-2); margin-top: .25rem; }
.site .resume__note { font-size: .86rem; color: var(--muted); }

/* Demande reçue */
.recu-v8 { max-width: 860px; }
.site .recu-v8__carte { border-radius: var(--r-m); border: 1px solid var(--stroke-2); background: var(--surface); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ============ 09. SAVOIR-FAIRE ============ */

.site .capacites-hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.site .capacites-hero .section__head { margin-bottom: 1.5rem; }
.site .capacites-hero .section__title { font-size: clamp(2.5rem, 6.2vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; }
.site .demos-options { margin: 0 0 2rem; padding: 1.1rem 1.25rem; max-width: 52rem; border: 0; border-left: 3px solid var(--accent); border-radius: 0; background: var(--bg-2); box-shadow: none; }
.site .demos-options h2 { margin: 0 0 .35rem; font-size: 1.15rem; }
.site .demos-options p { margin: 0; color: var(--muted); }
.site .demos-nav { justify-content: flex-start; margin: 0 0 clamp(2.5rem, 6vw, 3.5rem); }
.site .demos-nav a { border: 1px solid var(--stroke-2); border-radius: var(--r-s); background: transparent; transform: none; }
.site .demos-nav a:hover { border-color: var(--text); transform: none; }
.site .demos-nav span { border-radius: 4px; background: var(--bg-2); color: var(--text); font-weight: 700; }
.site .demos-categorie__tete h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
.site .demo-vignette, .site .demo-avance { border-radius: var(--r-m); box-shadow: none; }
.site .demo-vignette:hover, .site .demo-vignette:focus-visible { transform: none; border-color: var(--text); box-shadow: none; }
.site .demo-vignette__corps small { color: var(--muted); font-size: .8rem; letter-spacing: 0; text-transform: none; }
.site .demo-vignette__points i { border-radius: 4px; }
.site .demo-avance__badge { border-radius: 4px; background: var(--surligneur); color: var(--text); letter-spacing: 0; text-transform: none; }
.site .demos__mention { margin: 1.6rem 0 0; text-align: left; }
.capacites-appel-v8 { max-width: 46rem; padding-top: 1.5rem; border-top: 2px solid var(--text); }
.capacites-appel-v8 h2 { margin: 0 0 .6rem; font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.capacites-appel-v8 p { margin: 0; color: var(--muted); max-width: 60ch; }

/* ============ 10. PIED, THÈME SOMBRE, MOUVEMENT ============ */

.site .footer { background: var(--bg); border-top: 2px solid var(--text); padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site .footer__grid { gap: 2rem; }
.site .footer__brand p { color: var(--muted); max-width: 30ch; }
.site .footer__col h3 { font-family: var(--police-titre); font-size: 1rem; font-weight: 750; letter-spacing: 0; text-transform: none; color: var(--text); }
.site .footer__col a { color: var(--muted); }
.site .footer__col a:hover { color: var(--text); text-decoration: underline; }
.site .footer__bottom { border-top: 1px solid var(--stroke); color: var(--faint); }
.site .to-top { border-radius: var(--r-s); background: transparent; border: 1px solid var(--stroke-2); box-shadow: none; }

.site .toast { border-radius: var(--r-s); background: var(--text); color: var(--bg); box-shadow: var(--shadow-lg); }

/* Fenêtre de l'assistant : sobre */
.site .chat-bulle { background: var(--bouton); color: var(--bouton-texte); box-shadow: var(--shadow-lg); border-radius: var(--r-s); }
.site .chat-fenetre { border-radius: var(--r-m); background: var(--bg); border: 1px solid var(--stroke-2); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Le tarif se dessine une fois au chargement : les points avancent du nom
   vers le prix. Seul mouvement non déclenché par le visiteur. */
@media (prefers-reduced-motion: no-preference) {
  .js .affiche--anime .affiche__points { animation: points-conduite .7s var(--ease) both; animation-delay: calc(var(--rang, 0) * 90ms + 120ms); transform-origin: left center; }
  .js .affiche--anime .affiche__prix { animation: prix-entree .5s var(--ease) both; animation-delay: calc(var(--rang, 0) * 90ms + 420ms); }
}
@keyframes points-conduite { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes prix-entree { from { opacity: 0; transform: translateY(.12em); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .hero-v8__grille, .tarifs-v8__grille { grid-template-columns: 1fr; align-items: start; }
  .hero-v8__titre { max-width: 13ch; }
  .prix-compris, .services-v8, .mensuels-v8, .savoir-v8 { grid-template-columns: 1fr; }
  .etapes-v8 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site .section { padding: 3rem 0; }
  .tableau-v8--formules table { font-size: .9rem; }
  .tableau-v8--formules th, .tableau-v8--formules td { padding: .65rem .3rem; }
  .tableau-v8--formules thead th { font-size: .92rem; letter-spacing: -.01em; hyphens: auto; }
  .tableau-v8--formules .tableau-v8__libelles { width: 36%; }
  .tableau-v8__prix td { font-size: 1.3rem; }
  .tableau-v8__des { display: block; font-size: .78rem; vertical-align: 0; }
  .tarifs-v8__actions .btn { flex: 1 1 100%; }
  .hero-v8__actions .btn { flex: 1 1 100%; }
  .site .footer__grid { grid-template-columns: 1fr 1fr; }
  .site .footer__brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .site .btn, .affiche__lien, .site .realisation__ecrans img, .site .nav { transition: none; }
}
@media print {
  .site .nav, .site .footer, .site .chat-bulle, .site .resume-barre { display: none !important; }
  .affiche__points { background-image: none; border-bottom: 1px dotted #000; }
}
