/* =====================================================================
   vueweb.css — Système de design Vue Web, v1 (2026-11-09)
   Palette : ocre (marque) + anthracite. Titres : Space Grotesk. Texte : Inter.
   Site vueweb.ca SEULEMENT. Ne jamais l'utiliser dans une démo client :
   les démos ont leur propre système (gabarits/metiers/base/demos.css),
   voir .claude/rules/style.md.

   Logo (HTML) :
   <a class="logo" href="/">Vue Web<span class="point">.</span><span class="ca">ca</span></a>
   ===================================================================== */

/* Polices auto-hébergées (licences OFL dans polices/). Aucun appel à un
   domaine tiers : Loi 25, et la CSP de _headers (font-src 'self'). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("polices/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("polices/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("polices/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("polices/space-grotesk-latin-700-normal.woff2") format("woff2"); }

/* ---------------------------------------------------------------------
   1. Variables (design tokens)
   --------------------------------------------------------------------- */
:root {
  /* Ocre — couleur de marque */
  --ocre-50:  #FBF4E6;
  --ocre-100: #F5E3BD;
  --ocre-300: #E4B55A;
  --ocre-500: #C9891B;  /* principale : fonds, boutons, accents (jamais pour du texte sur blanc) */
  --ocre-700: #8F5F0F;  /* ocre lisible sur fond clair : liens, surtitres */
  --ocre-900: #5A3B08;

  /* Anthracite et neutres chauds */
  --encre:    #23262B;
  --gris-700: #4A4F57;
  --gris-500: #7A808A;
  --gris-300: #C9C6BF;
  --gris-200: #E3E1DC;
  --gris-100: #F2F0EB;
  --papier:   #FBFAF7;
  --blanc:    #FFFFFF;

  /* États */
  --succes:      #276B42;  /* 5,6:1 sur --succes-fond (#2F7D4F : 4,4:1) */
  --succes-fond: #E7F3EC;
  --erreur:      #B3261E;
  --erreur-fond: #FBEAE8;
  --info:        #2C5A86;
  --info-fond:   #E8F0F8;

  /* Rôles (à surcharger dans les démos) */
  --fond:        var(--papier);
  --fond-alt:    var(--gris-100);
  --surface:     var(--blanc);
  --texte:       var(--encre);
  --texte-doux:  var(--gris-700);
  --texte-pale:  var(--gris-500);
  --accent:      var(--ocre-500);
  --accent-fort: var(--ocre-700);
  --sur-accent:  var(--encre);     /* texte posé sur l'accent */
  --lien:        var(--ocre-700);
  --lien-survol: var(--ocre-900);
  --bordure:     var(--gris-200);

  /* Typographie */
  --police-titres: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --police-texte:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --police-mono:   ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --taille-xs:  0.8125rem;
  --taille-s:   0.9375rem;
  --taille-m:   1.0625rem;                                   /* texte courant */
  --taille-l:   clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --taille-xl:  clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --taille-xxl: clamp(2.5rem, 1.8rem + 3vw, 4.25rem);
  --taille-chiffre: clamp(2.25rem, 1.7rem + 1.8vw, 3.25rem); /* chiffres en grille de 4 */

  --interligne-serre: 1.1;
  --interligne:       1.65;

  /* Espacements (base 8 px) */
  --esp-1: 0.25rem;
  --esp-2: 0.5rem;
  --esp-3: 1rem;
  --esp-4: 1.5rem;
  --esp-5: 2rem;
  --esp-6: 3rem;
  --esp-7: 4.5rem;
  --esp-8: clamp(4rem, 3rem + 4vw, 7rem);

  /* Formes et profondeur */
  --rayon-s: 6px;
  --rayon-m: 12px;
  --rayon-l: 24px;
  --rayon-rond: 999px;
  --ombre-s: 0 1px 2px rgb(35 38 43 / .08);
  --ombre-m: 0 8px 24px rgb(35 38 43 / .10);
  --ombre-l: 0 20px 48px rgb(35 38 43 / .16);

  /* Mise en page */
  --largeur-max:    72rem;
  --largeur-texte:  65ch;
  --hauteur-entete: 4.5rem;

  /* Mouvement */
  --transition: 180ms ease;
  --transition-lente: 400ms cubic-bezier(.2, .7, .2, 1);
}

/* ---------------------------------------------------------------------
   2. Réinitialisation et base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hauteur-entete) + var(--esp-3));
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police-texte);
  font-size: var(--taille-m);
  line-height: var(--interligne);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, svg, canvas { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--ocre-300); color: var(--encre); }
[hidden] { display: none !important; }  /* requis par desabonnement.js */
address { font-style: normal; }

/* ---------------------------------------------------------------------
   3. Typographie
   --------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--police-titres);
  font-weight: 700;
  line-height: var(--interligne-serre);
  letter-spacing: -0.02em;
  margin: 0 0 var(--esp-3);
  text-wrap: balance;
}
h1 { font-size: var(--taille-xxl); letter-spacing: -0.03em; }
h2 { font-size: var(--taille-xl); }
h3 { font-size: var(--taille-l); }
h4 { font-size: var(--taille-m); }

p, ul, ol { margin: 0 0 var(--esp-3); }
p { max-width: var(--largeur-texte); text-wrap: pretty; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: var(--esp-1); }
strong { font-weight: 600; }
small { font-size: var(--taille-xs); }
code { font-family: var(--police-mono); font-size: .9em; background: var(--gris-100); padding: .1em .35em; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--bordure); margin: var(--esp-6) 0; }

a {
  color: var(--lien);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
a:hover { color: var(--lien-survol); }

/* Contour de focus : ocre-700 sur fond clair (≥ 3:1), ocre-300 sur fond sombre. */
:focus-visible {
  outline: 3px solid var(--accent-fort);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--sombre :focus-visible,
.pied :focus-visible { outline-color: var(--ocre-300); }

.surtitre {
  display: inline-block;
  margin-bottom: var(--esp-2);
  font-size: var(--taille-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent-fort);
}
.chapeau { font-size: var(--taille-l); line-height: 1.5; color: var(--texte-doux); }
.texte-doux { color: var(--texte-doux); }
.texte-pale { color: var(--texte-pale); }
.surligne { background: linear-gradient(transparent 60%, var(--ocre-100) 60%); }

/* ---------------------------------------------------------------------
   4. Mise en page
   --------------------------------------------------------------------- */
.conteneur {
  width: min(100% - 2.5rem, var(--largeur-max));
  margin-inline: auto;
}
.conteneur--etroit { width: min(100% - 2.5rem, 48rem); margin-inline: auto; }

.section { padding-block: var(--esp-8); }
.section--compacte { padding-block: var(--esp-6); }
.section--alt    { background: var(--fond-alt); }
.section--ocre   { background: var(--ocre-50); }
.section--accent { background: var(--accent); color: var(--sur-accent); }
.section--sombre { background: var(--encre); color: var(--papier); }
.section--sombre .texte-doux,
.section--sombre .chapeau { color: var(--gris-300); }
.section--sombre .surtitre { color: var(--ocre-300); }
.section--sombre a:not(.bouton) { color: var(--ocre-300); }

.entete-section { max-width: 44rem; margin-bottom: var(--esp-6); }
.entete-section--centre { margin-inline: auto; text-align: center; }
.entete-section--centre p { margin-inline: auto; }

.grille { display: grid; gap: var(--esp-4); }
@media (min-width: 48rem) {
  .grille--2 { grid-template-columns: repeat(2, 1fr); }
  .grille--3 { grid-template-columns: repeat(3, 1fr); }
  .grille--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .grille--4 { grid-template-columns: repeat(4, 1fr); }
}
.grille--auto { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }

.pile > * + * { margin-top: var(--esp-3); }
.rangee { display: flex; flex-wrap: wrap; align-items: center; gap: var(--esp-3); }
ul.rangee, ol.rangee { list-style: none; padding: 0; }
.rangee > li + li { margin-top: 0; }

/* Deux colonnes texte + média */
.duo { display: grid; gap: var(--esp-6); align-items: center; }
@media (min-width: 56rem) {
  .duo { grid-template-columns: 1fr 1fr; }
  .duo--inverse > :first-child { order: 2; }
  .duo--2-3 { grid-template-columns: 2fr 3fr; }
  .duo--3-2 { grid-template-columns: 3fr 2fr; }
}
.duo--haut { align-items: start; }

/* ---------------------------------------------------------------------
   5. Logo
   --------------------------------------------------------------------- */
.logo {
  font-family: var(--police-titres);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--encre);
  text-decoration: none;
  white-space: nowrap;
}
.logo:hover { color: var(--encre); }
.logo .point { color: var(--ocre-500); }
.logo .ca { font-weight: 500; }
.section--sombre .logo,
.pied .logo { color: var(--papier); }

/* ---------------------------------------------------------------------
   6. En-tête et navigation
   --------------------------------------------------------------------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--hauteur-entete);
  background: rgb(251 250 247 / .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.entete.est-defile { border-bottom-color: var(--bordure); box-shadow: var(--ombre-s); }
.entete .conteneur {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--esp-4);
}

.nav { display: flex; align-items: center; gap: var(--esp-5); }
.nav__liens { display: flex; gap: var(--esp-4); list-style: none; margin: 0; padding: 0; }
.nav__liens li + li { margin-top: 0; }
.nav__liens a {
  color: var(--texte);
  font-size: var(--taille-s);
  font-weight: 500;
  text-decoration: none;
}
.nav__liens a:hover,
.nav__liens a[aria-current="page"] { color: var(--accent-fort); }

.nav__bascule {
  display: none;
  background: none;
  border: 0;
  padding: var(--esp-2);
  border-radius: var(--rayon-s);
}
.nav__bascule span,
.nav__bascule span::before,
.nav__bascule span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--encre);
  position: relative;
  transition: transform var(--transition);
}
.nav__bascule span::before,
.nav__bascule span::after { content: ""; position: absolute; left: 0; }
.nav__bascule span::before { top: -7px; }
.nav__bascule span::after  { top: 7px; }
/* Menu ouvert : les trois barres deviennent un X */
.nav__bascule[aria-expanded="true"] span { background: transparent; }
.nav__bascule[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__bascule[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 47.99rem) {
  .nav__bascule { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; }  /* cible tactile ≥ 44 px */
  .nav__liens {
    position: absolute;
    top: var(--hauteur-entete);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: var(--esp-3) 1.25rem var(--esp-5);
    background: var(--fond);
    border-bottom: 1px solid var(--bordure);
    box-shadow: var(--ombre-m);
    display: none;
  }
  .nav__liens a { display: block; padding: var(--esp-3) 0; font-size: var(--taille-m); }
  .nav.est-ouvert .nav__liens { display: flex; }
  .nav .bouton { display: none; }
}
/* Tablette : liens + bouton ne tiennent pas sur une ligne ; « Contact » reste dans le menu */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .nav .bouton { display: none; }
}
.nav .bouton { white-space: nowrap; }

/* ---------------------------------------------------------------------
   7. Boutons
   --------------------------------------------------------------------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--esp-2);
  padding: .85rem 1.5rem;
  font: 600 var(--taille-s)/1 var(--police-texte);
  border-radius: var(--rayon-s);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}
.bouton:hover { transform: translateY(-1px); }
.bouton:active { transform: translateY(0); }
.bouton[disabled], .bouton[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.bouton--principal { background: var(--accent); color: var(--sur-accent); }
.bouton--principal:hover { background: var(--ocre-300); color: var(--sur-accent); box-shadow: var(--ombre-m); }

.bouton--secondaire { background: transparent; color: var(--encre); border-color: var(--encre); }
.bouton--secondaire:hover { background: var(--encre); color: var(--papier); }

.bouton--sombre { background: var(--encre); color: var(--papier); }
.bouton--sombre:hover { background: var(--gris-700); color: var(--papier); }

.bouton--texte { background: none; padding-inline: 0; color: var(--lien); }
.bouton--texte:hover { color: var(--lien-survol); transform: none; }

.section--sombre .bouton--secondaire { color: var(--papier); border-color: var(--papier); }
.section--sombre .bouton--secondaire:hover { background: var(--papier); color: var(--encre); }
.section--accent .bouton--principal { background: var(--encre); color: var(--papier); }

.bouton--grand { padding: 1.1rem 2rem; font-size: var(--taille-m); }
.bouton--plein { width: 100%; }

/* ---------------------------------------------------------------------
   8. Héros (avec image ou vidéo de fond facultative)
   --------------------------------------------------------------------- */
.heros {
  position: relative;
  padding-block: clamp(5rem, 4rem + 6vw, 9rem);
  overflow: hidden;
}
.heros h1 { max-width: 16ch; }
.heros .chapeau { max-width: 38rem; margin-bottom: var(--esp-5); }
.heros__actions { display: flex; flex-wrap: wrap; gap: var(--esp-3); }

.heros--media { color: var(--papier); min-height: min(88vh, 48rem); display: flex; align-items: center; }
.heros--media .chapeau { color: var(--gris-200); }
.heros--media .surtitre { color: var(--ocre-300); }

.media-fond,
.video-fond {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.heros--media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgb(35 38 43 / .88) 0%, rgb(35 38 43 / .55) 55%, rgb(35 38 43 / .25) 100%);
}
.heros > .conteneur { position: relative; }

/* Faits clés sous le héros (<dl>) : la valeur au-dessus, le libellé dessous */
.faits {
  display: flex;
  flex-wrap: wrap;
  gap: var(--esp-4) var(--esp-6);
  margin: var(--esp-6) 0 0;
  padding-top: var(--esp-4);
  border-top: 1px solid var(--bordure);
}
.faits div { display: flex; flex-direction: column-reverse; gap: var(--esp-1); }
.faits dt { font-size: var(--taille-xs); font-weight: 500; color: var(--texte-doux); }
.faits dd {
  margin: 0;
  font-family: var(--police-titres);
  font-size: var(--taille-l);
  font-weight: 700;
  line-height: 1.1;
}

/* ---------------------------------------------------------------------
   9. Cartes
   --------------------------------------------------------------------- */
.carte {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon-m);
  padding: var(--esp-5);
  box-shadow: var(--ombre-s);
}
.carte--lien {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.carte--lien:hover { color: inherit; transform: translateY(-3px); box-shadow: var(--ombre-m); border-color: var(--gris-300); }

.carte__icone {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--esp-4);
  border-radius: var(--rayon-s);
  background: var(--ocre-100);
  color: var(--ocre-900);
}
.carte__icone svg { width: 1.5rem; height: 1.5rem; }

.carte__media {
  margin: calc(var(--esp-5) * -1) calc(var(--esp-5) * -1) var(--esp-4);
  border-radius: var(--rayon-m) var(--rayon-m) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.carte__media img { width: 100%; height: 100%; object-fit: cover; }

/* Liste à coches (générique ; .prix__liste utilise la même coche) */
.liste-coches { list-style: none; padding: 0; }
.liste-coches li,
.prix__liste li { position: relative; padding-left: 1.75rem; }
.liste-coches li + li,
.prix__liste li + li { margin-top: var(--esp-2); }
.liste-coches li::before,
.prix__liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 1rem;
  height: .5rem;
  border-left: 2px solid var(--accent-fort);
  border-bottom: 2px solid var(--accent-fort);
  transform: rotate(-45deg);
}
.section--sombre .liste-coches li::before { border-color: var(--ocre-300); }

/* ---------------------------------------------------------------------
   10. Exemples de sites (vitrine de démos)
   --------------------------------------------------------------------- */
.apercu {
  border-radius: var(--rayon-m);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--bordure);
  box-shadow: var(--ombre-l);
}
.apercu__barre {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--gris-100);
  border-bottom: 1px solid var(--bordure);
}
.apercu__barre i { width: 10px; height: 10px; border-radius: 50%; background: var(--gris-300); }
.apercu__adresse {
  margin-left: var(--esp-2);
  font-size: var(--taille-xs);
  color: var(--texte-doux);
  font-family: var(--police-mono);
}
.apercu img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* Étiquette « Exemple fictif » : toujours visible sur un exemple */
.apercu__etiquette {
  display: inline-flex;
  align-items: center;
  padding: .3rem .75rem;
  border-radius: var(--rayon-rond);
  background: var(--encre);
  color: var(--papier);
  font-size: var(--taille-xs);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  white-space: nowrap;
}
.apercu__barre .apercu__etiquette { margin-left: auto; }

.exemple { margin: 0; }
.exemple figcaption { margin-top: var(--esp-4); }
.exemple h3 { margin-bottom: var(--esp-2); }

/* Vitrine : scène du héros avec halo ocre derrière un appareil */
.vitrine {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding-block: var(--esp-4) var(--esp-6);
}
.vitrine::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--ocre-100), transparent);
}

/* Téléphone : cadre autour d'une capture cellulaire (ratio 390 × 844) */
.telephone {
  position: relative;
  width: min(100%, 17.5rem);
  margin: 0;
  padding: .55rem;
  background: var(--encre);
  border-radius: 2.6rem;
  box-shadow: var(--ombre-l);
}
.telephone__ecran {
  border-radius: 2.1rem;
  overflow: hidden;
  background: var(--gris-100);
}
.telephone__ecran img { width: 100%; }
.telephone .apercu__etiquette {
  position: absolute;
  left: 50%;
  bottom: calc(var(--esp-3) * -1);
  transform: translateX(-50%);
  box-shadow: var(--ombre-m);
}

/* ---------------------------------------------------------------------
   11. Prix
   --------------------------------------------------------------------- */
.prix {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon-l);
  padding: var(--esp-6) var(--esp-5);
}
.prix--vedette { border: 2px solid var(--accent); box-shadow: var(--ombre-l); }
.prix__etiquette {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: var(--esp-1) var(--esp-3);
  border-radius: var(--rayon-rond);
  background: var(--accent);
  color: var(--sur-accent);
  font-size: var(--taille-xs);
  font-weight: 600;
  white-space: nowrap;
}
.prix__montant {
  font-family: var(--police-titres);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: var(--esp-3) 0 var(--esp-2);
}
.prix__montant small { font-size: var(--taille-m); font-weight: 500; color: var(--texte-doux); letter-spacing: 0; }
.prix__liste { list-style: none; padding: 0; margin: var(--esp-4) 0 var(--esp-5); flex: 1; }
/* (coche de .prix__liste : section 9, avec .liste-coches) */

/* Détail du montant : libellé à gauche, montant à droite */
.prix__detail { list-style: none; padding: 0; margin: var(--esp-4) 0 var(--esp-5); flex: 1; }
.prix__detail li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--esp-3);
  margin: 0;
  padding: var(--esp-2) 0;
  border-bottom: 1px dashed var(--gris-300);
}
.prix__detail b { font-weight: 600; white-space: nowrap; }
.prix__note { margin: var(--esp-4) 0 0; font-size: var(--taille-xs); color: var(--texte-doux); }
.prix__intro { min-height: 3em; color: var(--texte-doux); font-size: var(--taille-s); }

/* ---------------------------------------------------------------------
   12. Étapes (processus)
   --------------------------------------------------------------------- */
.etapes { counter-reset: etape; list-style: none; padding: 0; display: grid; gap: var(--esp-5); }
@media (min-width: 48rem) { .etapes { grid-template-columns: repeat(3, 1fr); } }
.etapes li { counter-increment: etape; margin: 0; }
.etapes li::before {
  content: counter(etape, decimal-leading-zero);
  display: block;
  margin-bottom: var(--esp-3);
  font-family: var(--police-titres);
  font-size: var(--taille-xl);
  font-weight: 700;
  color: var(--accent-fort);  /* ocre-500 sur papier < 3:1 */
  line-height: 1;
}

/* ---------------------------------------------------------------------
   13. Témoignages et preuves
   --------------------------------------------------------------------- */
.temoignage {
  margin: 0;
  padding: var(--esp-5);
  border-left: 4px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--rayon-m) var(--rayon-m) 0;
}
.temoignage blockquote { margin: 0 0 var(--esp-3); font-size: var(--taille-l); line-height: 1.45; }
.temoignage figcaption { font-size: var(--taille-s); color: var(--texte-doux); }
.temoignage figcaption strong { color: var(--texte); }

.chiffre {
  font-family: var(--police-titres);
  font-size: var(--taille-xxl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent-fort);
}
.section--sombre .chiffre { color: var(--ocre-300); }
.chiffre--compact { font-size: var(--taille-chiffre); margin-bottom: var(--esp-3); }

/* Engagement : un chiffre vérifiable et sa phrase, filet ocre au-dessus */
.engagement { padding-top: var(--esp-4); border-top: 2px solid var(--ocre-500); }
.engagement p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------------
   14. Questions fréquentes (<details>)
   --------------------------------------------------------------------- */
.faq details { border-bottom: 1px solid var(--bordure); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--esp-3);
  padding: var(--esp-4) 0;
  font-family: var(--police-titres);
  font-weight: 700;
  font-size: var(--taille-m);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent-fort);
  transition: transform var(--transition);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > :not(summary) { padding-bottom: var(--esp-4); color: var(--texte-doux); }

/* ---------------------------------------------------------------------
   15. Formulaires
   --------------------------------------------------------------------- */
.champ { display: flex; flex-direction: column; gap: var(--esp-2); margin-bottom: var(--esp-4); }
.champ label { font-size: var(--taille-s); font-weight: 600; }
.champ .aide { font-size: var(--taille-xs); color: var(--texte-doux); }

.entree,
.champ input:not([type="checkbox"]):not([type="radio"]),
.champ select,
.champ textarea {
  width: 100%;
  padding: .8rem 1rem;
  background: var(--surface);
  border: 1.5px solid var(--gris-300);
  border-radius: var(--rayon-s);
  font-size: var(--taille-m);  /* ≥ 16 px : évite le zoom automatique sur iPhone */
  transition: border-color var(--transition), box-shadow var(--transition);
}
.champ textarea { min-height: 8rem; resize: vertical; }
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--accent-fort);
  box-shadow: 0 0 0 4px rgb(201 137 27 / .2);
}
.champ--erreur input,
.champ--erreur textarea,
.champ--erreur select { border-color: var(--erreur); }
.champ--erreur .aide { color: var(--erreur); }

.case { display: flex; gap: var(--esp-2); align-items: flex-start; font-size: var(--taille-s); }
.case input { margin-top: .3em; accent-color: var(--ocre-700); }

/* ---------------------------------------------------------------------
   16. Messages et pastilles
   --------------------------------------------------------------------- */
.message {
  padding: var(--esp-3) var(--esp-4);
  border-radius: var(--rayon-s);
  border-left: 4px solid currentColor;
  font-size: var(--taille-s);
}
.message--succes { background: var(--succes-fond); color: var(--succes); }
.message--erreur { background: var(--erreur-fond); color: var(--erreur); }
.message--info   { background: var(--info-fond);   color: var(--info); }

.pastille {
  display: inline-flex;
  align-items: center;
  gap: var(--esp-1);
  padding: .2rem .65rem;
  border-radius: var(--rayon-rond);
  background: var(--ocre-100);
  color: var(--ocre-900);
  font-size: var(--taille-xs);
  font-weight: 600;
}
.pastille--neutre { background: var(--gris-100); color: var(--gris-700); }

/* ---------------------------------------------------------------------
   17. Bandeau d'appel à l'action
   --------------------------------------------------------------------- */
.appel {
  display: grid;
  gap: var(--esp-4);
  align-items: center;
  padding: var(--esp-6) var(--esp-5);
  border-radius: var(--rayon-l);
  background: var(--accent);
  color: var(--sur-accent);
}
@media (min-width: 48rem) {
  .appel { grid-template-columns: 1fr auto; padding: var(--esp-7) var(--esp-6); }
}
.appel h2 { margin: 0 0 var(--esp-3); }
.appel .surtitre { color: var(--encre); }  /* ocre-700 sur ocre-500 : illisible */
.appel p:last-child { margin-bottom: 0; }
.appel .bouton--principal { background: var(--encre); color: var(--papier); }
.appel .bouton--principal:hover { background: var(--gris-700); color: var(--papier); }
.appel :focus-visible { outline-color: var(--encre); }

/* Coordonnées (<dl>) : libellé discret, valeur en grand */
.coordonnees { display: grid; gap: var(--esp-4); margin: 0; }
.coordonnees div { display: grid; gap: 2px; }
.coordonnees dt {
  font-size: var(--taille-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.coordonnees dd {
  margin: 0;
  font-family: var(--police-titres);
  font-size: var(--taille-l);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.coordonnees a { color: inherit; text-decoration-thickness: 2px; }
.coordonnees a:hover { color: inherit; text-decoration-thickness: 3px; }

/* ---------------------------------------------------------------------
   18. Pied de page
   --------------------------------------------------------------------- */
.pied {
  padding-block: var(--esp-7) var(--esp-5);
  background: var(--encre);
  color: var(--gris-300);
  font-size: var(--taille-s);
}
.pied a { color: var(--gris-200); text-decoration: none; }
.pied a:hover { color: var(--ocre-300); }
.pied h4,
.pied__titre {
  margin-bottom: var(--esp-3);
  color: var(--papier);
  font-size: var(--taille-xs);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.pied ul { list-style: none; padding: 0; }
.pied__grille { display: grid; gap: var(--esp-5); }
@media (min-width: 48rem) { .pied__grille { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.pied__bas {
  margin-top: var(--esp-6);
  padding-top: var(--esp-4);
  border-top: 1px solid rgb(255 255 255 / .1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--esp-3);
  font-size: var(--taille-xs);
  color: var(--gris-300);  /* gris-500 sur encre < 4,5:1 */
}
.pied ul li + li { margin-top: var(--esp-2); }

/* ---------------------------------------------------------------------
   19. Animations d'apparition
   site.js ajoute .apparait seulement aux éléments [data-apparait] situés
   sous l'écran, puis .est-visible à leur entrée. Sans JS (ou avec
   « mouvement réduit »), rien n'est masqué.
   --------------------------------------------------------------------- */
.apparait {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition-lente), transform var(--transition-lente);
}
.apparait.est-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   20. Utilitaires
   --------------------------------------------------------------------- */
.centre { text-align: center; }
.centre p { margin-inline: auto; }
.sans-marge { margin: 0 !important; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--esp-4); }
.mt-6 { margin-top: var(--esp-6); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--esp-4); }
.mb-6 { margin-bottom: var(--esp-6); }
.arrondi { border-radius: var(--rayon-m); overflow: hidden; }
.ombre { box-shadow: var(--ombre-m); }

/* Texte long (pages légales) */
.prose h2 { font-size: var(--taille-l); margin-top: var(--esp-6); }
.prose h2 + p { margin-top: 0; }
.prose .surtitre + h1 { margin-top: 0; }

.visuellement-cache {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lien-evitement {
  position: absolute;
  top: -100px;
  left: var(--esp-3);
  z-index: 100;
  padding: var(--esp-2) var(--esp-3);
  background: var(--encre);
  color: var(--papier);
  border-radius: var(--rayon-s);
}
.lien-evitement:focus { top: var(--esp-3); color: var(--papier); }

/* ---------------------------------------------------------------------
   21. Accessibilité : mouvement réduit
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .video-fond { display: none; }
  .apparait { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------
   22. Impression
   --------------------------------------------------------------------- */
@media print {
  .entete, .nav, .video-fond, .heros--media::after, .appel .bouton { display: none !important; }
  body { background: #fff; color: #000; }
  .heros--media { color: #000; min-height: 0; }
  a { color: #000; }
}
