@charset "UTF-8";
/* ============================================================================
   La Fabrique des Communes — feuille de style unique · V4 « territoires vivants »
   ----------------------------------------------------------------------------
   V4 du 30/09/2026 (maquette « index v4 » et planche d'ambiance) : la même
   grammaire, en plus chaleureux. Titres en Playfair Display, texte en Inter,
   notes manuscrites en Caveat ; bleu marine #0B2D5B, bleu vif #2563EB, bleu
   pâle #E6F0FF, ciel #F5F8FD, crème #F9F4EA, rouge #E63946 (décor). Toujours
   distinct de la palette du Système de design de l'État. Les commentaires
   ci-dessous datent de la V3 quand ils ne disent pas le contraire.
   ----------------------------------------------------------------------------
   Refonte du 30/09/2026. Parti pris : le sérieux d'un service public, la
   chaleur d'un artisan.
     · grammaire proche des sites publics (grille nette, bleu profond, filets,
       tuiles, encadrés à liseré, fil d'Ariane) SANS rien emprunter à
       l'identité de l'État : ni Marianne, ni police Marianne, ni mention
       « République française ». Le pied de page rappelle l'indépendance ;
     · rythme éditorial d'arweb.fr : grandes photos, captures de vrais sites,
       fenêtres de navigateur et téléphones, petits carrousels ;
     · polices auto-hébergées (V4 : Inter, Playfair Display, Caveat), aucune ressource
       tierce ;
     · contrastes AA vérifiés, mobile d'abord, mouvement réduit respecté.

   Organisation : 1. polices · 2. jetons · 3. remise à plat · 4. texte ·
   5. trame · 6. boutons · 7. en-tête · 8. navigation · 9. pied de page ·
   10. composants · 11. formulaires · 12. accueil · 13. pages · 14. héritage ·
   15. mouvement · 16. impression.
   ========================================================================== */

/* ── 1. Polices (V4) ──────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations'),
       url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-display-latin-wght-normal.woff2') format('woff2-variations'),
       url('/assets/fonts/playfair-display-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-display-latin-wght-italic.woff2') format('woff2-variations'),
       url('/assets/fonts/playfair-display-latin-wght-italic.woff2') format('woff2');
  font-weight: 400 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('/assets/fonts/caveat-latin-wght-normal.woff2') format('woff2-variations'),
       url('/assets/fonts/caveat-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* ── 2. Jetons ────────────────────────────────────────────────────────────── */
:root {
  /* Bleu marine de la marque — 10,4:1 sur blanc. Volontairement DISTINCT du
     bleu France (#000091) et du rouge Marianne : la palette du Système de
     design de l’État est réservée aux services de l’État (audit du 30/09). */
  --bleu:          #0b2d5b;   /* marine V4 — 13,6:1 sur blanc */
  --bleu-survol:   #15407c;
  --bleu-actif:    #082347;
  --bleu-vif:      #2563eb;   /* 5,2:1 sur blanc : liens et accents */
  --bleu-975:      #f5f8fd;
  --bleu-950:      #e6f0ff;
  --bleu-925:      #d4e3fb;
  --bleu-850:      #b3cbf3;

  /* Sections sombres : un bleu nuit, pas du noir */
  --nuit:          #0a2349;
  --nuit-2:        #10305f;
  --nuit-3:        #1a3f75;
  --sur-nuit:      #e8eef8;
  --sur-nuit-doux: #b3c3dc;   /* 8,8:1 sur --nuit */
  --trait-nuit:    rgba(255,255,255,.14);

  /* Neutres */
  --texte:         #16243a;
  --texte-2:       #3b4a5f;
  --texte-3:       #586579;   /* 6:1 sur blanc, 5,4:1 sur --creme */
  --fond:          #ffffff;
  --fond-alt:      #f5f8fd;
  --fond-alt-2:    #eaf0f8;
  --filet:         #dfe5ee;
  --filet-doux:    #e9eef5;
  --filet-fort:    #8a94a3;   /* bordures de champs : 3,1:1 */

  /* Chaleur — par touches, jamais en aplat criard */
  --creme:         #f9f4ea;
  --creme-2:       #f1e6d2;
  --creme-3:       #e5d3b3;
  --tuile:         #c65d3b;   /* décor */
  --tuile-texte:   #a3401c;   /* 5,6:1 sur blanc */
  --tournesol:     #ffca00;   /* décor */
  --tournesol-clair:#ffe98a;
  --rouge:         #e63946;   /* tricolore, décor seulement */

  /* Signal */
  --vert:          #18753c;   /* 5,5:1 */
  --vert-fond:     #e8f6ec;
  --ambre-texte:   #7a4300;
  --ambre-fond:    #fff4e0;
  --erreur:        #ce0500;
  --erreur-fond:   #ffe9e9;
  --info:          #0063cb;

  /* Typographie */
  --police: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --police-titre: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --police-main: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  --titre: #0b2d5b;
  --police-serif: var(--police-titre);
  /* Menu et boutons de navigation : plus ronde, plus chaleureuse (30/09/2026) */
  --police-menu: var(--police);

  --t-12: .75rem;
  --t-13: .8125rem;
  --t-14: .875rem;
  --t-15: .9375rem;
  --t-16: 1rem;
  --t-17: 1.0625rem;
  --t-18: 1.125rem;
  --t-20: 1.25rem;
  --t-24: clamp(1.25rem, 1.12rem + .55vw, 1.5rem);
  --t-28: clamp(1.375rem, 1.18rem + .85vw, 1.75rem);
  --t-32: clamp(1.5rem, 1.2rem + 1.3vw, 2rem);
  --t-40: clamp(1.75rem, 1.3rem + 1.95vw, 2.5rem);
  --t-48: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  --t-56: clamp(2.25rem, 1.45rem + 3.4vw, 3.5rem);
  --t-64: clamp(2.4rem, 1.4rem + 4.2vw, 4rem);

  /* Espacements — base 4 px */
  --e-4: .25rem;  --e-8: .5rem;   --e-12: .75rem; --e-16: 1rem;
  --e-20: 1.25rem; --e-24: 1.5rem; --e-32: 2rem;  --e-40: 2.5rem;
  --e-48: 3rem;   --e-56: 3.5rem; --e-64: 4rem;   --e-80: 5rem; --e-96: 6rem; --e-128: 8rem;

  --section: clamp(3.5rem, 2rem + 5.5vw, 7rem);
  --section-fine: clamp(2.5rem, 1.6rem + 3vw, 4.5rem);
  --gouttiere: clamp(1rem, .6rem + 1.8vw, 2rem);
  --max: 1248px;
  --max-large: 1400px;
  --mesure: 42rem;

  /* Formes */
  --r-1: 4px;     /* boutons, champs, étiquettes */
  --r-2: 10px;    /* cartes */
  --r-3: 14px;    /* médias */
  --r-4: 22px;    /* grands cadres */

  /* Ombres — froides et discrètes */
  --ombre-1: 0 1px 2px rgba(11, 45, 91, .05), 0 4px 14px rgba(11, 45, 91, .06);
  --ombre-2: 0 2px 6px rgba(11, 45, 91, .06), 0 18px 40px -16px rgba(11, 45, 91, .24);
  --ombre-3: 0 4px 12px rgba(11, 45, 91, .07), 0 36px 70px -28px rgba(11, 45, 91, .34);
  --ombre-flottant: 0 22px 44px -16px rgba(11, 45, 91, .36), 0 3px 10px rgba(11, 45, 91, .08);

  /* Mouvement */
  --duree: .25s;
  --duree-longue: .5s;
  --sortie: cubic-bezier(.22, 1, .36, 1);
  --ressort: cubic-bezier(.34, 1.4, .64, 1);

  /* Alias hérités (V1/V2) : les pages internes continuent de s'en servir. */
  --ink: var(--texte);
  --obsidian: var(--nuit);
  --paper: var(--fond);
  --bone: var(--fond-alt);
  --ash: var(--texte-3);
  --ash-fonce: var(--texte-3);
  --hairline: var(--filet);
  --smoke: #cfcfcf;
  --accent: var(--bleu);
  --accent-fonce: #082347;
  --accent-voile: var(--bleu-975);
  --accent-voile-fort: var(--bleu-925);
  --rouge-texte: #b3000b;
  --vert-texte: var(--vert);
  --sur-sombre: var(--sur-nuit);
  --sur-sombre-doux: var(--sur-nuit-doux);
  --trait-sombre: var(--trait-nuit);
  --terra: var(--tuile);
  --soleil: var(--tournesol);
  --sapin: var(--vert);
  --pile: var(--police);
  --r-tag: var(--r-1);
  --r-bouton: var(--r-1);
  --r-champ: var(--r-1);
  --r-carte: var(--r-2);
  --focus: var(--bleu);

  --teinte-0-fond: #e6f0ff; --teinte-0-encre: #1f4fbf;
  --teinte-1-fond: #e2f3e8; --teinte-1-encre: #1b7a45;
  --teinte-2-fond: #fde8ea; --teinte-2-encre: #c23845;
  --teinte-3-fond: #fdf0d8; --teinte-3-encre: #945d0c;
  --teinte-4-fond: #e3f1fb; --teinte-4-encre: #0b5f94;

  color-scheme: light;
}

/* ── 3. Remise à plat ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police);
  font-size: var(--t-17);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: .003em;
  font-feature-settings: 'cv11', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;  /* V4 : Playfair a des chiffres elzéviriens par défaut */
  overflow-x: clip;
}
img, svg, video, picture { display: block; max-width: 100%; height: auto; }
picture img { width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }
p, ul, ol, dl, figure, blockquote, h1, h2, h3, h4, h5, h6 { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
address { font-style: normal; }
sup { line-height: 0; }
abbr[title] { text-decoration: underline dotted; text-underline-offset: .15em; }
hr { border: 0; border-top: 1px solid var(--filet); margin: var(--e-32) 0; }
::selection { background: var(--bleu-925); color: var(--texte); }

/* ── 4. Accessibilité ────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--bleu);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--sombre :focus-visible, .sur-nuit :focus-visible, .pied :focus-visible { outline-color: #fff; }

.visuellement-cache, .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.lien-evitement {
  position: absolute; left: var(--e-16); top: -100px; z-index: 200;
  background: var(--bleu); color: #fff; padding: var(--e-12) var(--e-20);
  border-radius: 0 0 var(--r-1) var(--r-1); font-weight: 600; text-decoration: none;
}
.lien-evitement:focus { top: 0; }
.ancre-decalee { scroll-margin-top: 6rem; }

/* ── 5. Texte ─────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: var(--titre);
  letter-spacing: -.012em;
  text-wrap: balance;
}
/* V4 : les titres en Playfair Display, le texte courant en Inter. */
h1, h2, h3 { font-family: var(--police-titre); font-weight: 500; font-feature-settings: 'lnum'; }
h1 { font-size: var(--t-56); line-height: 1.08; letter-spacing: -.018em; }
h2 { font-size: var(--t-40); line-height: 1.14; letter-spacing: -.014em; }
h3 { font-size: var(--t-20); line-height: 1.28; font-weight: 600; letter-spacing: -.004em; }
h4 { font-size: var(--t-18); line-height: 1.35; font-weight: 650; }
p, li { text-wrap: pretty; }
strong, b { font-weight: 700; }
em { font-style: italic; }

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

.equilibre { text-wrap: balance; }
.chapo {
  font-size: var(--t-20);
  line-height: 1.55;
  color: var(--texte-2);
  max-width: 40rem;
}
.petit { font-size: var(--t-15); line-height: 1.55; color: var(--texte-2); }
.tres-petit { font-size: var(--t-13); line-height: 1.5; color: var(--texte-3); }
.num, .chiffre { font-variant-numeric: tabular-nums; }
.suite { color: #5a6d8a; font-weight: inherit; }
.serif, .accent-serif {
  font-family: var(--police-titre);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--bleu-vif);
}
.marqueur {
  background-image: linear-gradient(transparent 60%, var(--tournesol-clair) 60%, var(--tournesol-clair) 92%, transparent 92%);
  background-repeat: no-repeat;
  padding: 0 .08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Surtitre : petite capitale espacée, précédée d'un trait bleu et rouge (V4) */
.surtitre {
  display: inline-flex; align-items: center; gap: .65rem; flex-wrap: wrap;
  font-size: var(--t-12);
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #34507a;
  line-height: 1.3;
}
.surtitre--clair { color: var(--sur-nuit-doux); }
.surtitre--surligne { background: var(--bleu-950); padding: .3rem .6rem; border-radius: 3px; color: var(--bleu); }
.fdc-flag {
  display: inline-flex; width: var(--fw, 18px); height: var(--fh, 4px); gap: 4px;
  flex: none; border-radius: 2px; overflow: hidden;
}
.fdc-flag i { flex: 1; border-radius: 2px; }
.fdc-flag i:nth-child(1) { background: #1f4fbf; }
.fdc-flag i:nth-child(2) { display: none; }
.fdc-flag i:nth-child(3) { background: var(--rouge); }
.surtitre .fdc-flag { --fw: 26px !important; --fh: 3px !important; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 650; color: var(--bleu); text-decoration: underline;
  text-decoration-color: var(--bleu-850); text-decoration-thickness: 1px; text-underline-offset: .35em;
}
.lien-fleche::after {
  content: ''; width: .95em; height: .95em; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.2 5.3l6.7 6.7-6.7 6.7-1.4-1.4 4.3-4.3H4v-2h12.1l-4.3-4.3z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.2 5.3l6.7 6.7-6.7 6.7-1.4-1.4 4.3-4.3H4v-2h12.1l-4.3-4.3z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--duree) var(--sortie);
}
.lien-fleche:hover { text-decoration-color: currentColor; }
.lien-fleche:hover::after { transform: translateX(3px); }
.lien-externe::after {
  content: ''; display: inline-block; width: .8em; height: .8em; margin-left: .3em; vertical-align: -.05em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 6v2H5v11h11v-5h2v6a1 1 0 01-1 1H4a1 1 0 01-1-1V7a1 1 0 011-1h6zm11-3v8h-2V6.4l-7.8 7.8-1.4-1.4L17.6 5H13V3h8z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 6v2H5v11h11v-5h2v6a1 1 0 01-1 1H4a1 1 0 01-1-1V7a1 1 0 011-1h6zm11-3v8h-2V6.4l-7.8 7.8-1.4-1.4L17.6 5H13V3h8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lien-discret { color: inherit; text-decoration: underline; text-decoration-color: var(--filet-fort); }
.lien-discret:hover { text-decoration-color: currentColor; }

/* Prose : articles, pages juridiques */
.prose { max-width: var(--mesure); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--t-32); margin-top: 2.2em; }
.prose h3 { font-size: var(--t-24); margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--bleu); }
.prose blockquote {
  border-left: 4px solid var(--bleu); padding: .25em 0 .25em 1.25em;
  font-size: var(--t-20); color: var(--texte-2);
}
.prose table { width: 100%; font-size: var(--t-15); }
.prose img { border-radius: var(--r-3); }

/* ── 6. Trame ─────────────────────────────────────────────────────────────── */
.conteneur {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.conteneur--large { max-width: calc(var(--max-large) + 2 * var(--gouttiere)); }
.conteneur--etroit { max-width: calc(52rem + 2 * var(--gouttiere)); }
.mesure { max-width: var(--mesure); }
.mesure--48 { max-width: 48rem; }

.section { padding-block: var(--section); position: relative; }
.section--fine { padding-block: var(--section-fine); }
.section--paper, .section--gris { background: var(--fond-alt); }
.section--bleu { background: var(--bleu-975); }
.section--creme { background: var(--creme); }
.section--trait { border-top: 1px solid var(--filet); }
.section--sombre, .section--nuit {
  background: var(--nuit);
  color: var(--sur-nuit);
}
.section--sombre h1, .section--sombre h2, .section--sombre h3,
.section--nuit h1, .section--nuit h2, .section--nuit h3 { color: #fff; }
.section--sombre .chapo, .section--sombre .petit,
.section--nuit .chapo, .section--nuit .petit { color: var(--sur-nuit); }
.section--sombre .tres-petit, .section--nuit .tres-petit { color: var(--sur-nuit-doux); }
.section--sombre .surtitre, .section--nuit .surtitre { color: #c7d4f5; }
.section--sombre .suite, .section--nuit .suite { color: var(--sur-nuit-doux); }
.section--sombre a:not(.bouton), .section--nuit a:not(.bouton) { color: #fff; }
.section + .section--trait { border-top-color: var(--filet); }

.pile { display: flex; flex-direction: column; gap: var(--e-16); }
.pile--4 { gap: var(--e-4); } .pile--8 { gap: var(--e-8); } .pile--12 { gap: var(--e-12); }
.pile--16 { gap: var(--e-16); } .pile--24 { gap: var(--e-24); } .pile--32 { gap: var(--e-32); }
.pile--40 { gap: var(--e-40); }

.grille { display: grid; gap: var(--e-24); grid-template-columns: minmax(0, 1fr); }
.grille--serree { gap: var(--e-16); }
@media (min-width: 40em) {
  .grille--2, .grille--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grille--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 62em) {
  .grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grille--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.duo { display: grid; gap: var(--e-48); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 62em) {
  .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--e-64); }
  .duo--large-gauche { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .duo--large-droite { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .duo--inverse > :first-child { order: 2; }
}
.duo--haut { align-items: start; }

.entete-section { display: flex; flex-direction: column; gap: var(--e-16); margin-bottom: var(--e-48); max-width: 48rem; }
.entete-section--centre { margin-inline: auto; text-align: center; align-items: center; }
.entete-section--duo { max-width: none; }
@media (min-width: 62em) {
  .entete-section--duo { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: var(--e-48); }
  .entete-section--duo > .petit, .entete-section--duo > p:last-child:not(.surtitre) { max-width: 26rem; }
}

.groupe-boutons { display: flex; flex-wrap: wrap; gap: var(--e-12); align-items: center; }
.aligne-centre { text-align: center; }
.no-print {}

/* ── 7. Boutons ───────────────────────────────────────────────────────────── */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem;
  padding: .75rem 1.45rem;
  border: 0;
  border-radius: var(--r-1);
  background: transparent;
  font-size: var(--t-15);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duree), color var(--duree), box-shadow var(--duree), transform var(--duree) var(--sortie);
  -webkit-tap-highlight-color: transparent;
}
.bouton:hover { text-decoration: none; }
.bouton:active { transform: translateY(1px); }
.bouton svg { width: 1.1em; height: 1.1em; flex: none; }
.bouton .fleche { transition: transform var(--duree) var(--sortie); }
.bouton:hover .fleche { transform: translateX(3px); }

.bouton--plein { background: var(--bleu); color: #fff; box-shadow: 0 6px 16px -8px rgba(11, 45, 91, .55); }
.bouton--plein:hover { background: var(--bleu-survol); color: #fff; }
.bouton--plein:active { background: var(--bleu-actif); }

.bouton--ligne { background: #fff; color: var(--bleu); box-shadow: inset 0 0 0 1px var(--bleu); }
.bouton--ligne:hover { background: var(--bleu-975); color: var(--bleu); }

.bouton--blanc { background: #fff; color: var(--bleu); }
.bouton--blanc:hover { background: var(--bleu-950); color: var(--bleu); }
.bouton--contour-clair { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.bouton--contour-clair:hover { background: rgba(255,255,255,.1); color: #fff; }

.bouton--texte { padding-inline: .25rem; min-height: auto; color: var(--bleu); text-decoration: underline; text-underline-offset: .25em; }

.bouton--petit { min-height: 2.5rem; padding: .5rem 1rem; font-size: var(--t-15); }
.bouton--grand { min-height: 3.4rem; padding: .85rem 1.65rem; font-size: var(--t-16); }
.bouton--large { width: 100%; }

.bouton-coin {
  position: absolute; right: var(--e-16); bottom: var(--e-16);
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; background: var(--bleu); color: #fff;
}

/* ── 8. En-tête (V4) ─────────────────────────────────────────────────────── */
/* Une seule ligne, collée en haut au défilement : la marque et sa signature,
   la navigation, le téléphone direct, « Nous contacter ». Sous 80em, la
   navigation s'ouvre en plein écran depuis le bouton Menu.
   Pas de backdrop-filter ici : il ferait de l'en-tête le bloc conteneur du
   menu plein écran (position: fixed) sur téléphone. */
.entete { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 1px 0 var(--filet); }

/* En-tête dynamique de l'accueil (01/10/2026, essai demandé par Tom) — classes
   posées par site.js : transparent sur la photo en haut de page (ordinateur),
   fond blanc dès qu'on défile, caché en descendant, revient en remontant. */
.entete { transition: transform .4s var(--sortie), opacity .3s ease, background-color .3s ease, box-shadow .3s ease; }
.entete.est-cache { transform: translateY(-100%); opacity: 0; }
@media (min-width: 62em) {
  .entete.est-transparente { background-color: transparent; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .entete { transition: none; } }

/* Bandeau d'infos pratiques au-dessus de l'en-tête (01/10/2026) :
   téléphone à gauche, au-dessus du logo ; liens à droite, petits et légers. */
.topbar { background: var(--bleu); color: var(--sur-nuit); font-size: var(--t-12); line-height: 1.3; }
.topbar-int { display: flex; align-items: center; justify-content: space-between; gap: var(--e-16); min-height: var(--h-topbar); padding-block: .35rem; }
.topbar p, .topbar ul { margin: 0; }
.topbar a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar svg { flex: none; width: .85rem; height: .85rem; color: var(--sur-nuit-doux); }
.topbar :focus-visible { outline-color: #fff; }
.topbar-tel { color: #fff; }
.topbar-tel b { font-size: var(--t-13); font-weight: 600; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.topbar-horaires { display: none; color: var(--sur-nuit-doux); }
.topbar-horaires::before { content: '·'; margin-right: .45rem; }
.topbar-liens { list-style: none; padding: 0; display: flex; align-items: center; justify-content: flex-end; gap: .25rem var(--e-24); }
.topbar-liens a { color: var(--sur-nuit); font-weight: 400; }
.topbar-aides, .topbar-conseil { display: none; }
@media (max-width: 35.99em) { .topbar-long { display: none; } }
@media (min-width: 48em) {
  .topbar-horaires { display: inline; }
  .topbar-aides { display: list-item; }
}
@media (min-width: 62em) {
  .topbar-conseil { display: list-item; }
}
/* Hauteurs des bandes du haut (01/10/2026) : le premier écran de l'accueil
   retranche --h-topbar et --h-entete-ligne de 100svh pour tenir exactement
   dans la fenêtre. --h-bandeau : hauteur du bandeau de mots-clés. */
:root { --h-topbar: 2.5rem; --h-entete-ligne: 4.5rem; --h-bandeau: 4rem; }
@media (min-width: 62em) { :root { --h-bandeau: 4.5rem; } }
@media (min-width: 80em) { :root { --h-entete-ligne: 5.5rem; } }
.entete-int {
  display: flex; align-items: center; gap: var(--e-16);
  min-height: var(--h-entete-ligne); padding-block: var(--e-8);
}
@media (min-width: 80em) { .entete-int { gap: var(--e-20); } }

.marque {
  display: inline-flex; align-items: center; gap: .7rem;
  color: var(--bleu); text-decoration: none; flex: none;
}
.marque:hover { text-decoration: none; }
.marque-embleme { width: 1.55rem; height: 2.1rem; flex: none; }
.marque-embleme svg { width: 100%; height: 100%; }
.marque-texte { display: flex; flex-direction: column; gap: .25rem; }
.marque-nom { font-weight: 750; font-size: 1.1rem; line-height: 1.02; letter-spacing: -.02em; color: var(--bleu); }
.marque-signature { font-size: .6875rem; line-height: 1.2; color: var(--texte-2); letter-spacing: .003em; }
@media (min-width: 80em) {
  .marque-embleme { width: 1.8rem; height: 2.45rem; }
  .marque-nom { font-size: 1.2rem; }
}
@media (max-width: 26em) { .marque-signature { display: none; } }
/* 80–90em : la ligne est pleine — signature masquée, liens resserrés */
@media (min-width: 80em) and (max-width: 89.99em) {
  .entete-int .marque-signature { display: none; }
  .entete-int { gap: var(--e-16); }
}

.entete-outils { display: none; margin-left: auto; align-items: center; gap: var(--e-12); }
@media (min-width: 80em) { .entete-outils { display: flex; } }
.entete-tel {
  display: flex; align-items: center; gap: .55rem;
  color: var(--bleu); text-decoration: none; line-height: 1.15;
}
.entete-tel-picto {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--bleu-950); color: var(--bleu); transition: background-color var(--duree);
}
.entete-tel-picto svg { width: 1.05rem; height: 1.05rem; }
.entete-tel:hover .entete-tel-picto { background: var(--bleu-925); }
.entete-tel-texte { display: none; }
/* L'en-tête reste aligné sur la grille du site : le numéro s'affiche
   au survol (title) et dans le menu mobile, l'icône suffit ici. */
.entete-tel b { display: block; font-size: var(--t-15); font-variant-numeric: tabular-nums; font-weight: 700; }
.entete-tel small { display: block; font-size: var(--t-12); color: var(--texte-3); }
.entete-tel:hover b { text-decoration: underline; text-underline-offset: .2em; }
.entete-contact { min-height: 2.8rem; padding: .6rem 1.15rem; white-space: nowrap; }

.burger {
  margin-left: auto;
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 3rem; min-height: 3rem; padding: .35rem .5rem;
  background: none; border: 0; border-radius: var(--r-1);
  color: var(--bleu); font-size: var(--t-12); font-weight: 700;
}
.burger:hover { background: var(--bleu-975); }
.burger-barres { position: relative; width: 22px; height: 16px; margin-top: 4px; }
.burger-barres i {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform var(--duree) var(--sortie), opacity var(--duree);
}
.burger-barres i:nth-child(1) { top: 0; }
.burger-barres i:nth-child(2) { top: 7px; }
.burger-barres i:nth-child(3) { top: 14px; }
.burger[aria-expanded="true"] .burger-barres i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-barres i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-barres i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 80em) { .burger { display: none; } }

/* ── 9. Navigation (V4) ──────────────────────────────────────────────────── */
/* Téléphone et tablette : panneau plein écran sous l'en-tête */
@media (max-width: 79.99em) {
  .nav-barre {
    position: fixed; left: 0; right: 0; top: var(--h-entete, 4.5rem); bottom: 0;
    overflow-y: auto; overscroll-behavior: contain;
    display: none; background: #fff; box-shadow: inset 0 1px 0 var(--filet);
  }
  .nav-ouverte .nav-barre { display: block; }
  .nav-ouverte body { overflow: hidden; }
  .nav {
    width: 100%; max-width: calc(var(--max) + 2 * var(--gouttiere)); margin-inline: auto;
    padding: var(--e-8) var(--gouttiere) var(--e-40);
  }
  .nav-liste { list-style: none; margin: 0; padding: 0; }
  .nav-item { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--filet); }
  .nav-lien {
    display: flex; align-items: center; min-height: 3.5rem; padding: .75rem 0;
    color: var(--bleu); font-weight: 600; font-size: var(--t-18); text-decoration: none;
  }
  .nav-lien.est-actif { box-shadow: inset 4px 0 0 var(--rouge); padding-left: .9rem; }
  .nav-deploie {
    display: grid; place-items: center; width: 3.5rem; background: none; border: 0; color: var(--bleu);
    border-left: 1px solid var(--filet);
  }
  .nav-deploie svg { transition: transform var(--duree); }
  .nav-deploie[aria-expanded="true"] svg { transform: rotate(180deg); }
  .mega { grid-column: 1 / -1; display: none; padding: 0 0 var(--e-16); }
  .nav-item.est-ouvert .mega { display: block; }
  .mega-promo, .mega-pied-note { display: none; }
  .mega-principal { display: flex; flex-direction: column; gap: var(--e-16); }
  .mega-cols { display: flex; flex-direction: column; gap: var(--e-16); }
  .nav-actions { display: flex; flex-direction: column; gap: var(--e-12); margin-top: var(--e-24); }
  .nav-actions .bouton { width: 100%; }
  .mega-voile { display: none !important; }
}

/* Grand écran : une ligne, soulignement rouge de la rubrique active */
@media (min-width: 80em) {
  .nav-barre { display: flex; align-self: stretch; align-items: center; flex: 1 1 auto; justify-content: center; min-width: 0; }
  .nav { display: flex; align-items: center; }
  .nav-liste { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: .1rem; }
  .nav-item { position: static; display: flex; align-items: center; }
  .nav-lien {
    position: relative; display: flex; align-items: center;
    min-height: 2.75rem; padding: .5rem .6rem; border-radius: var(--r-1);
    color: var(--bleu); font-size: var(--t-15); font-weight: 550; text-decoration: none; white-space: nowrap;
    transition: background-color var(--duree), color var(--duree);
  }
  .nav-item--mega .nav-lien { padding-right: .15rem; border-top-right-radius: 0; border-bottom-right-radius: 0; }
  @media (max-width: 89.99em) { .nav-lien { padding-inline: .5rem; } .nav-item--mega .nav-lien { padding-right: .1rem; } }
  .nav-lien:hover, .nav-item.est-ouvert > .nav-lien { background: var(--bleu-975); }
  .nav-lien.est-actif::after {
    content: ''; position: absolute; left: .6rem; right: .6rem; bottom: .35rem; height: 2px;
    border-radius: 2px; background: var(--rouge);
  }
  .nav-item--mega .nav-lien.est-actif::after { right: .15rem; }
  .nav-deploie {
    display: grid; place-items: center; width: 1.55rem; min-height: 2.75rem; padding: 0;
    background: none; border: 0; border-radius: 0 var(--r-1) var(--r-1) 0; color: var(--bleu);
    transition: background-color var(--duree);
  }
  .nav-deploie svg { transition: transform var(--duree) var(--sortie); }
  .nav-item:hover .nav-deploie, .nav-item.est-ouvert .nav-deploie { background: var(--bleu-975); }
  .nav-deploie[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav-actions { display: none; }

  /* Le panneau déployé, sur toute la largeur de l'en-tête */
  .mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-top: 1px solid var(--filet);
    box-shadow: 0 30px 60px -30px rgba(11, 45, 91, .35);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .2s, transform .2s var(--sortie), visibility 0s .2s;
  }
  .nav-item.est-ouvert .mega { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--sortie); }
  .mega-int {
    max-width: calc(var(--max) + 2 * var(--gouttiere)); margin: 0 auto;
    padding: var(--e-32) var(--gouttiere) var(--e-32);
    display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: var(--e-40);
  }
  .mega-cols { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--e-40); }
  .mega-voile {
    position: fixed; left: 0; right: 0; top: var(--h-entete, 5.5rem); bottom: 0; z-index: -1;
    background: rgba(11, 45, 91, .18);
  }
}
.mega-col-titre {
  font-size: var(--t-12); font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: var(--texte-3); margin-bottom: var(--e-12);
}
.mega-col ul, .mega-simple { list-style: none; margin: 0; padding: 0; }
.mega-col:not(.mega-col--simple) ul { display: grid; gap: var(--e-4); }
.mega-item {
  display: flex; gap: var(--e-12); align-items: flex-start;
  padding: .7rem .75rem; margin-inline: -.75rem; border-radius: var(--r-2);
  color: var(--texte); text-decoration: none;
  transition: background-color var(--duree);
}
.mega-item:hover { background: var(--bleu-975); }
.mega-item:hover .mega-item-label { text-decoration: underline; text-underline-offset: .2em; }
.mega-item-picto {
  display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%;
}
.mega-item-picto svg { width: 1.25rem; height: 1.25rem; }
.mega-item-texte { display: flex; flex-direction: column; gap: 1px; }
.mega-item-label { font-weight: 650; font-size: var(--t-16); line-height: 1.3; color: var(--bleu); }
.mega-item-desc { font-size: var(--t-14); color: var(--texte-3); line-height: 1.4; }
.mega-item-meta { font-size: var(--t-13); font-weight: 650; color: var(--bleu-vif); margin-top: 2px; }
.mega-simple li + li { margin-top: 2px; }
.mega-simple a {
  display: block; padding: .45rem 0; color: var(--texte); text-decoration: none; font-size: var(--t-15);
  border-bottom: 1px solid var(--filet-doux);
}
.mega-simple a:hover { color: var(--bleu); text-decoration: underline; text-underline-offset: .2em; }
.mega-pied {
  display: flex; flex-wrap: wrap; gap: var(--e-16); justify-content: space-between; align-items: center;
  margin-top: var(--e-24); padding-top: var(--e-16); border-top: 1px solid var(--filet);
  font-size: var(--t-14);
}
.mega-pied-note { display: inline-flex; align-items: center; gap: .4rem; color: var(--texte-3); }
.mega-pied-note svg { color: var(--bleu); }
.mega-promo {
  display: flex; flex-direction: column; gap: var(--e-8);
  padding: var(--e-16); border-radius: var(--r-3);
  background: var(--creme); align-self: start;
}
.mega-promo-visuel { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-2); margin-bottom: var(--e-8); background: var(--creme-2); }
.mega-promo-visuel img, .mega-promo-visuel svg { width: 100%; height: 100%; object-fit: cover; }
.mega-surtitre { font-size: var(--t-12); font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: #34507a; }
.mega-promo-titre { font-family: var(--police-titre); font-size: var(--t-20); font-weight: 600; line-height: 1.2; color: var(--titre); }
.mega-promo-texte { font-size: var(--t-14); color: var(--texte-2); line-height: 1.45; }
.mega-promo .bouton { align-self: flex-start; margin-top: var(--e-4); }

/* Bandeau d'information (facultatif, désactivé) */
.bandeau { background: var(--bleu-975); border-bottom: 1px solid var(--bleu-925); font-size: var(--t-14); }
.bandeau-int { display: flex; gap: var(--e-12); align-items: center; justify-content: space-between; padding-block: .6rem; }
.bandeau-fermer { background: none; border: 0; padding: .35rem; color: var(--bleu); border-radius: var(--r-1); }

/* Fil d'Ariane */
.fil { padding-top: var(--e-24); background: var(--bleu-975); }
.fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: var(--t-13); color: var(--texte-3); }
.fil li { display: inline-flex; align-items: center; gap: .5rem; }
.fil li + li::before {
  content: ''; width: .42rem; height: .42rem; border-right: 1.5px solid var(--texte-3); border-top: 1.5px solid var(--texte-3);
  transform: rotate(45deg); margin-right: .15rem;
}
.fil a { color: var(--texte-3); }
.fil a:hover { color: var(--bleu); }
.fil [aria-current] { color: var(--bleu); font-weight: 600; }
.fil + .section, .fil + section { padding-top: var(--e-40); }

/* ── 10. Pied de page (V4) ───────────────────────────────────────────────── */
.pied { background: #fff; border-top: 1px solid var(--filet); font-size: var(--t-15); color: var(--texte-2); }
.pied a { color: var(--texte-2); text-decoration: none; }
.pied a:hover { color: var(--bleu); text-decoration: underline; text-underline-offset: .2em; }
.pied-haut {
  display: grid; gap: var(--e-40); padding-block: var(--e-56) var(--e-40);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 62em) {
  .pied-haut { grid-template-columns: minmax(0, .95fr) minmax(0, 2fr); gap: var(--e-56); }
}
.pied-marque { display: flex; flex-direction: column; gap: var(--e-16); align-items: flex-start; }
.pied-marque p { max-width: 26rem; line-height: 1.6; font-size: var(--t-14); }
.pied-coord { display: flex; flex-direction: column; gap: .3rem; font-size: var(--t-14); }
.pied .pied-coord .pied-tel {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--t-20); font-weight: 700; color: var(--bleu); font-variant-numeric: tabular-nums;
}
.pied-plan {
  display: grid; gap: var(--e-32) var(--e-24);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 48em) { .pied-plan { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pied-titre {
  font-family: var(--police-titre); font-size: var(--t-17); font-weight: 600;
  color: var(--titre); margin-bottom: var(--e-12); line-height: 1.25;
}
.pied-plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; font-size: var(--t-14); }
.pied-milieu {
  position: relative; display: grid; gap: var(--e-24); padding-block: var(--e-24);
  grid-template-columns: minmax(0, 1fr); align-items: center;
}
@media (min-width: 62em) { .pied-milieu { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--e-48); } }
.pied-milieu::before, .pied-bas::before {
  content: ''; position: absolute; top: 0; left: var(--gouttiere); right: var(--gouttiere); height: 1px; background: var(--filet);
}
.pied-independance {
  display: flex; gap: var(--e-16); align-items: center;
  padding: var(--e-16) var(--e-20); border-radius: var(--r-2);
  background: var(--bleu-975); font-size: var(--t-14); line-height: 1.5; color: var(--texte-2); max-width: 48rem;
}
.pied-independance strong { color: var(--bleu); }
.pied-independance-embleme { flex: none; width: 1.35rem; height: 1.8rem; }
.pied-independance-embleme svg { width: 100%; height: 100%; }
.pied-reference .pied-titre {
  font-family: var(--police); font-size: var(--t-12); letter-spacing: .12em; text-transform: uppercase;
  font-weight: 650; color: var(--texte-3); margin-bottom: .45rem;
}
.pied-liens-utiles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; font-size: var(--t-14); }
.pied .pied-liens-utiles a { font-weight: 600; color: var(--bleu); }
.pied-bas {
  position: relative; display: flex; flex-wrap: wrap; gap: var(--e-12) var(--e-24); align-items: center; justify-content: space-between;
  padding-block: var(--e-20) var(--e-32); font-size: var(--t-13);
}
.pied-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 0; }
.pied-legal li { display: inline-flex; align-items: center; }
.pied-legal li + li::before { content: ''; width: 1px; height: .9rem; background: var(--filet); margin: 0 .75rem; }
/* Sur téléphone, les liens passent à la ligne : pas de séparateur en début de ligne */
@media (max-width: 47.99em) { .pied-legal { gap: .4rem 1.25rem; } .pied-legal li + li::before { display: none; } }
.pied .pied-legal a { color: var(--texte-3); }
.pied-copy { color: var(--texte-3); }
.bande-tricolore { display: flex; height: 4px; }
.bande-tricolore i { flex: 1; }
.bande-tricolore i:nth-child(1) { background: #1f4fbf; }
.bande-tricolore i:nth-child(2) { background: #e5e5e5; }
.bande-tricolore i:nth-child(3) { background: var(--rouge); }

/* ── 11. Composants ──────────────────────────────────────────────────────── */

/* Cartes */
.carte {
  position: relative;
  display: flex; flex-direction: column; gap: var(--e-12);
  padding: var(--e-24);
  background: #fff;
  border: 1px solid var(--filet);
  border-radius: var(--r-2);
}
@media (min-width: 40em) { .carte { padding: var(--e-32); } }
.carte h2 { font-size: var(--t-24); }
.carte h3 { font-size: var(--t-20); }
.carte-surtitre {
  font-size: var(--t-13); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--bleu);
}
.carte-pied {
  margin-top: auto; padding-top: var(--e-12);
  font-size: var(--t-14); color: var(--texte-3); line-height: 1.5;
}
.carte--lien, a.carte {
  color: inherit; text-decoration: none;
  transition: border-color var(--duree), box-shadow var(--duree), transform var(--duree) var(--sortie);
}
.carte--lien::after, a.carte::after {
  content: ''; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 3px;
  background: var(--bleu); border-radius: 0 0 var(--r-2) var(--r-2);
  transform: scaleX(0); transform-origin: left; transition: transform var(--duree-longue) var(--sortie);
}
.carte--lien:hover, a.carte:hover { border-color: var(--bleu-850); box-shadow: var(--ombre-2); transform: translateY(-2px); }
.carte--lien:hover::after, a.carte:hover::after { transform: scaleX(1); }
.carte--lien h3, a.carte h3 { color: var(--texte); }
.carte--lien:hover h3, a.carte:hover h3 { color: var(--bleu); }
.carte--fond { background: var(--fond-alt); border-color: transparent; }
.carte--bleu, .carte--cible { background: var(--bleu-975); border-color: var(--bleu-925); }
.carte--accent { border: 2px solid var(--bleu); box-shadow: var(--ombre-2); }
.carte--sombre { background: var(--nuit); color: var(--sur-nuit); border-color: var(--nuit); }
.carte--sombre h2, .carte--sombre h3 { color: #fff; }
.carte--sombre .carte-surtitre { color: #c7d4f5; }
.carte--sombre .petit, .carte--sombre .carte-pied { color: var(--sur-nuit-doux); }
.carte--avec-coin { padding-bottom: var(--e-64); }
.carte--creme { background: var(--creme); border-color: var(--creme-2); }

/* Tuiles (façon services publics) : pictogramme, titre, flèche */
.tuiles { display: grid; gap: var(--e-16); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40em) { .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62em) { .tuiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tuiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tuile {
  position: relative; display: flex; flex-direction: column; gap: var(--e-8);
  padding: var(--e-24) var(--e-24) var(--e-48);
  background: #fff; border: 1px solid var(--filet); border-bottom: 4px solid var(--bleu);
  border-radius: var(--r-1) var(--r-1) 0 0;
  color: var(--texte); text-decoration: none;
  transition: background-color var(--duree), box-shadow var(--duree);
}
.tuile:hover { background: var(--bleu-975); box-shadow: var(--ombre-1); text-decoration: none; }
.tuile-picto { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: var(--r-2); margin-bottom: var(--e-8); }
.tuile-picto svg { width: 1.6rem; height: 1.6rem; }
.tuile-titre { font-weight: 700; font-size: var(--t-18); line-height: 1.3; }
.tuile:hover .tuile-titre { color: var(--bleu); text-decoration: underline; text-underline-offset: .2em; }
.tuile-desc { font-size: var(--t-15); color: var(--texte-2); line-height: 1.5; }
.tuile::after {
  content: ''; position: absolute; right: var(--e-20); bottom: var(--e-16); width: 1.25rem; height: 1.25rem;
  background: var(--bleu);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.2 5.3l6.7 6.7-6.7 6.7-1.4-1.4 4.3-4.3H4v-2h12.1l-4.3-4.3z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.2 5.3l6.7 6.7-6.7 6.7-1.4-1.4 4.3-4.3H4v-2h12.1l-4.3-4.3z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--duree) var(--sortie);
}
.tuile:hover::after { transform: translateX(3px); }

/* Pastilles de pictogramme, cinq teintes cyclées */
.picto-pastille, .teinte-0, .teinte-1, .teinte-2, .teinte-3, .teinte-4 { color: var(--bleu); }
.picto-pastille {
  display: inline-grid; place-items: center; width: 3rem; height: 3rem; flex: none;
  border-radius: var(--r-2); background: var(--bleu-950); color: var(--bleu);
}
.picto-pastille svg { width: 1.5rem; height: 1.5rem; }
.teinte-0 { background: var(--teinte-0-fond); color: var(--teinte-0-encre); }
.teinte-1 { background: var(--teinte-1-fond); color: var(--teinte-1-encre); }
.teinte-2 { background: var(--teinte-2-fond); color: var(--teinte-2-encre); }
.teinte-3 { background: var(--teinte-3-fond); color: var(--teinte-3-encre); }
.teinte-4 { background: var(--teinte-4-fond); color: var(--teinte-4-encre); }

/* Encadrés — liseré à gauche, comme une « mise en avant » */
.encadre {
  display: flex; flex-direction: column; gap: var(--e-8);
  padding: var(--e-20) var(--e-24);
  background: var(--bleu-975);
  border-left: 4px solid var(--bleu);
  border-radius: 0 var(--r-2) var(--r-2) 0;
  font-size: var(--t-16);
}
.encadre-titre { font-weight: 750; font-size: var(--t-18); color: var(--texte); }
.encadre p + p { margin-top: .35rem; }
.encadre--attention { background: var(--ambre-fond); border-left-color: #c77700; }
.encadre--attention .encadre-titre { color: var(--ambre-texte); }
.encadre--alerte { background: var(--erreur-fond); border-left-color: var(--erreur); }
.encadre--succes { background: var(--vert-fond); border-left-color: var(--vert); }
.encadre--creme { background: var(--creme); border-left-color: var(--tuile); }

/* Listes */
.liste-coches, .liste-croix { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.liste-coches li, .liste-croix li { position: relative; padding-left: 1.85rem; line-height: 1.5; }
.liste-coches li::before, .liste-croix li::before {
  content: ''; position: absolute; left: 0; top: .15em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--vert-fond) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%2318753c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.liste-croix li::before {
  background: var(--fond-alt-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='%235e5e5e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.liste-coches--bleu li::before { background-color: var(--bleu-950); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231e3a8a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.liste-plus li::before { background-color: var(--creme-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5.5v9M5.5 10h9' fill='none' stroke='%23a3401c' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }

.liste-specs { list-style: none; margin: 0; padding: 0; }
.liste-specs li {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--e-16);
  padding: .7rem 0; border-bottom: 1px solid var(--filet); font-size: var(--t-15);
}
.liste-specs li:first-child { border-top: 1px solid var(--filet); }
.spec-valeur { flex: none; font-weight: 700; color: var(--bleu); text-align: right; font-variant-numeric: tabular-nums; }

/* Étiquettes */
.etiquettes, .article-etiquettes { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.etiquette, .etiq {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .2rem .55rem; border-radius: var(--r-1);
  background: var(--bleu-950); color: var(--bleu);
  font-size: var(--t-13); font-weight: 650; line-height: 1.35; white-space: nowrap;
}
.etiq--neutre { background: var(--fond-alt-2); color: var(--texte-2); }
.etiq--attente { background: var(--ambre-fond); color: var(--ambre-texte); }
.etiq--ok, .etiq--vert { background: var(--vert-fond); color: var(--vert); }
.etiq--reel { background: var(--vert-fond); color: var(--vert); }
.etiq--modele { background: var(--creme-2); color: var(--tuile-texte); }
.etiq--plein { background: var(--bleu); color: #fff; }
.jeton-chiffre { display: inline-flex; padding: .15rem .5rem; border-radius: 999px; background: var(--bleu-950); color: var(--bleu); font-weight: 700; letter-spacing: 0; text-transform: none; }

/* Tableaux */
.tableau-defilant { overflow-x: auto; border: 1px solid var(--filet); border-radius: var(--r-2); -webkit-overflow-scrolling: touch; }
.tableau { width: 100%; font-size: var(--t-15); background: #fff; }
.tableau caption { text-align: left; padding: var(--e-12) var(--e-16); font-weight: 700; }
.tableau th, .tableau td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--filet); }
.tableau thead th { background: var(--fond-alt); font-size: var(--t-14); font-weight: 700; color: var(--texte); white-space: nowrap; }
.tableau tbody tr:nth-child(even) { background: #fbfbfb; }
.tableau tbody tr:last-child td, .tableau tbody tr:last-child th { border-bottom: 0; }
.tableau .num { text-align: right; white-space: nowrap; }

/* Questions / réponses — accordéons natifs <details>, et mur hérité */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--filet); }
.faq-item { border-bottom: 1px solid var(--filet); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--e-16);
  padding: var(--e-20) 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: var(--t-18); line-height: 1.35; color: var(--texte);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; flex: none; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--bleu-975) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4.5v11M4.5 10h11' fill='none' stroke='%231e3a8a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 55% no-repeat;
  transition: transform var(--duree) var(--sortie), background-color var(--duree);
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--bleu-925); }
.faq-item summary:hover { color: var(--bleu); }
.faq-reponse { padding: 0 3rem var(--e-24) 0; color: var(--texte-2); max-width: 48rem; }
.faq-reponse p + p { margin-top: .6rem; }

.qr { display: grid; gap: var(--e-32) var(--e-48); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 62em) { .qr { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qr-item { padding-top: var(--e-20); border-top: 2px solid var(--bleu); }
.qr-item h3 { font-size: var(--t-18); margin-bottom: var(--e-8); }
.qr-item p { color: var(--texte-2); font-size: var(--t-16); }

/* Chiffres clés */
.chiffres { display: grid; gap: var(--e-24); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.chiffre { display: flex; flex-direction: column; gap: .35rem; padding-top: var(--e-16); border-top: 2px solid var(--bleu); }
.chiffre-valeur { font-size: var(--t-48); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--bleu); font-variant-numeric: tabular-nums; }
.chiffre-libelle { font-size: var(--t-16); color: var(--texte-2); line-height: 1.45; }
.chiffre-source { font-size: var(--t-13); color: var(--texte-3); }
.section--sombre .chiffre, .section--nuit .chiffre { border-top-color: #8fa6e6; }
.section--sombre .chiffre-valeur, .section--nuit .chiffre-valeur { color: #fff; }
.section--sombre .chiffre-libelle, .section--nuit .chiffre-libelle { color: var(--sur-nuit); }
.section--sombre .chiffre-source, .section--nuit .chiffre-source { color: var(--sur-nuit-doux); }

/* Cellules à filets */
.cellules {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px; background: var(--filet); border: 1px solid var(--filet); border-radius: var(--r-2); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}
.cellule { display: flex; flex-direction: column; gap: .35rem; padding: var(--e-20); background: #fff; position: relative; }
.cellule-titre { font-weight: 750; font-size: var(--t-17); color: var(--texte); }
.cellule-desc { font-size: var(--t-14); color: var(--texte-2); line-height: 1.45; }
.cellule-chiffre { font-size: var(--t-40); font-weight: 800; line-height: 1; color: var(--bleu); letter-spacing: -.02em; }
.cellule--sombre { background: var(--nuit); color: var(--sur-nuit); }
.cellule--sombre .cellule-chiffre { color: #fff; }
.cellule--photo { color: #fff; overflow: hidden; min-height: 9rem; }
.cellule--photo picture { position: absolute; inset: 0; }
.cellule--photo img { width: 100%; height: 100%; object-fit: cover; }
.cellule-voile { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,22,70,.88), rgba(14,22,70,.35)); }
.cellule-contenu { position: relative; display: flex; flex-direction: column; gap: .35rem; margin-top: auto; }
.cellule--photo .cellule-chiffre, .cellule--photo .cellule-desc { color: #fff; }

/* Étapes numérotées */
.etapes { list-style: none; margin: 0; padding: 0; counter-reset: etape; }
.etape { position: relative; counter-increment: etape; display: flex; flex-direction: column; gap: var(--e-8); padding: var(--e-24); background: #fff; border: 1px solid var(--filet); border-radius: var(--r-2); }
.etapes .etape::before {
  content: counter(etape); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-bottom: var(--e-4);
  border-radius: 50%; background: var(--bleu); color: #fff; font-weight: 800; font-size: var(--t-16);
}
.etape h3 { font-size: var(--t-18); }
.etape p { font-size: var(--t-15); color: var(--texte-2); }
fieldset.etape { border: 0; padding: 0; background: none; margin: 0; }
fieldset.etape::before { display: none; }
.etapes-simples { list-style: none; margin: 0; padding: 0; counter-reset: es; display: flex; flex-direction: column; gap: var(--e-12); }
.etapes-simples li { counter-increment: es; position: relative; padding-left: 2.5rem; }
.etapes-simples li::before {
  content: counter(es); position: absolute; left: 0; top: -.05rem; display: grid; place-items: center;
  width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--bleu-950); color: var(--bleu); font-weight: 800; font-size: var(--t-14);
}

/* Jauges */
.jauge { display: flex; flex-direction: column; gap: .35rem; }
.jauge-tete { display: flex; justify-content: space-between; gap: var(--e-12); font-size: var(--t-14); }
.jauge-tete span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.jauge-piste { display: block; height: 8px; border-radius: 99px; background: var(--fond-alt-2); overflow: hidden; }
.jauge-barre { display: block; height: 100%; border-radius: inherit; background: var(--bleu); transition: width 1.2s var(--sortie); }
.jauge-barre--alerte { background: var(--tuile); }

/* Diagnostic (compte rendu type) */
.diag { display: flex; flex-direction: column; border: 1px solid var(--filet); border-radius: var(--r-2); overflow: hidden; background: #fff; }
.diag-tete { display: flex; justify-content: space-between; align-items: center; gap: var(--e-12); padding: var(--e-12) var(--e-16); background: var(--fond-alt); font-size: var(--t-14); font-weight: 700; }
.diag-ligne { display: grid; grid-template-columns: auto 1fr; gap: .25rem var(--e-12); padding: var(--e-12) var(--e-16); border-top: 1px solid var(--filet); align-items: start; }
.diag-picto { grid-row: span 2; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; font-weight: 800; font-size: .85rem; }
.diag-picto--ok { background: var(--vert-fond); color: var(--vert); }
.diag-picto--ko { background: var(--erreur-fond); color: var(--erreur); }
.diag-picto--warn { background: var(--ambre-fond); color: var(--ambre-texte); }
.diag-label { font-weight: 650; font-size: var(--t-15); }
.diag-detail { font-size: var(--t-14); color: var(--texte-3); }
.diag-detail--ko { color: var(--erreur); }

/* Filtres (réalisations, articles) */
.filtres { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 var(--e-32); padding: 0; }
.filtres a, .filtres button {
  display: inline-flex; align-items: center; min-height: 2.5rem; padding: .4rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--filet); color: var(--texte); text-decoration: none; font-size: var(--t-15); font-weight: 600;
}
.filtres a:hover, .filtres button:hover { border-color: var(--bleu); color: var(--bleu); }
.filtres .est-actif, .filtres [aria-pressed="true"], .filtres [aria-current] { background: var(--bleu); border-color: var(--bleu); color: #fff; }

/* Vignettes (cartes à image) */
.vignette { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--filet); border-radius: var(--r-2); overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow var(--duree), transform var(--duree) var(--sortie), border-color var(--duree); }
a.vignette:hover { box-shadow: var(--ombre-2); transform: translateY(-3px); border-color: var(--bleu-850); }
.vignette-visuel { aspect-ratio: 16 / 10; overflow: hidden; background: var(--fond-alt); }
.vignette-visuel img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--sortie); }
a.vignette:hover .vignette-visuel img { transform: scale(1.03); }
.vignette-corps { display: flex; flex-direction: column; gap: var(--e-8); padding: var(--e-20) var(--e-24) var(--e-24); flex: 1; }
.vignette-corps h3 { font-size: var(--t-20); }
.vignette-domaine { font-size: var(--t-14); color: var(--texte-3); }

/* Visuel photo avec fiche posée */
.visuel-photo { position: relative; margin: 0; }
.visuel-photo picture, .visuel-photo > img { border-radius: var(--r-3); overflow: hidden; box-shadow: var(--ombre-2); }
.visuel-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.visuel-fiche {
  position: absolute; left: var(--e-16); bottom: var(--e-16); right: auto; max-width: calc(100% - 2rem);
  display: flex; gap: var(--e-12); align-items: center;
  padding: .8rem 1rem; background: #fff; border-radius: var(--r-2); box-shadow: var(--ombre-flottant);
}
.visuel-fiche-picto { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: var(--r-2); background: var(--bleu-950); color: var(--bleu); flex: none; }
.visuel-fiche-texte { display: flex; flex-direction: column; font-size: var(--t-14); line-height: 1.35; }
.visuel-fiche-texte strong { font-size: var(--t-15); }
.visuel-fiche-texte span { color: var(--texte-3); }
@media (min-width: 62em) { .visuel-fiche { left: -1.5rem; bottom: 2rem; } }

/* Bande photo pleine largeur */
.bande-photo { position: relative; min-height: clamp(20rem, 42vw, 34rem); display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.bande-photo > picture { position: absolute; inset: 0; }
.bande-photo > picture img { width: 100%; height: 100%; object-fit: cover; }
.bande-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 16, 52, .88) 0%, rgba(10, 16, 52, .55) 45%, rgba(10, 16, 52, .08) 100%); z-index: 1; }
.bande-photo-texte { position: relative; z-index: 2; width: 100%; padding-block: var(--e-64) var(--e-48); }
.bande-photo-phrase { font-size: var(--t-40); font-weight: 750; line-height: 1.15; letter-spacing: -.02em; max-width: 26ch; text-wrap: balance; }
.bande-photo-phrase .serif { color: #ffe98a; }
.bande-photo-signature { margin-top: var(--e-16); font-size: var(--t-15); color: #dfe2ff; }
.bande-photo-credit { position: absolute; right: var(--e-12); bottom: var(--e-8); z-index: 2; font-size: .6875rem; color: rgba(255,255,255,.75); }

/* Héros des pages intérieures */
.heros-page { padding-top: var(--e-40); padding-bottom: var(--section-fine); background: linear-gradient(180deg, var(--bleu-975), #fff 85%); }
.heros-page h1 { font-size: var(--t-48); }
.heros-page-texte .chapo { max-width: 38rem; }
.heros-page-visuel { position: relative; }
.heros-page-visuel > picture, .heros-page-visuel > img { border-radius: var(--r-3); overflow: hidden; box-shadow: var(--ombre-2); }
.heros-page--texte .heros-page-texte { max-width: 50rem; }
.heros-reperes { list-style: none; margin: var(--e-48) 0 0; padding: 0; display: grid; gap: var(--e-16); grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.heros-reperes li { display: flex; flex-direction: column; gap: .2rem; padding: var(--e-16) var(--e-20); background: #fff; border: 1px solid var(--filet); border-radius: var(--r-2); }
.heros-repere-valeur { font-size: var(--t-28); font-weight: 800; color: var(--bleu); letter-spacing: -.02em; line-height: 1.1; }
.heros-repere-libelle { font-size: var(--t-14); color: var(--texte-2); line-height: 1.4; }

/* Rappel final — commun à toutes les pages */
.rappel-final { background: var(--nuit); color: var(--sur-nuit); position: relative; overflow: hidden; }
.rappel-final::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60rem 30rem at 110% -10%, rgba(59, 91, 204, .45), transparent 60%),
    radial-gradient(40rem 22rem at -10% 120%, rgba(198, 93, 59, .22), transparent 60%);
}
.rappel-final .conteneur { position: relative; }
.rappel-grille { display: grid; gap: var(--e-40); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 62em) { .rappel-grille { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--e-64); } }
.rappel-final h2 { color: #fff; font-size: var(--t-48); }
.rappel-final h2 .serif { color: #ffe98a; }
.rappel-final .chapo { color: var(--sur-nuit); }
.rappel-carte {
  display: flex; flex-direction: column; gap: var(--e-12);
  padding: var(--e-24) var(--e-32); border-radius: var(--r-3);
  background: rgba(255,255,255,.06); border: 1px solid var(--trait-nuit);
}
.rappel-carte .rappel-tel { font-size: var(--t-32); font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.rappel-carte .rappel-tel:hover { text-decoration: underline; text-underline-offset: .15em; }
.rappel-carte p { color: var(--sur-nuit-doux); font-size: var(--t-15); }
.rappel-refrain { font-size: var(--t-15); color: var(--sur-nuit-doux); }
.rappel-refrain strong { color: #fff; }

/* ── 12. Formulaires ─────────────────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: var(--e-20); }
.form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--e-20); min-width: 0; }
.form legend { font-size: var(--t-18); font-weight: 750; margin-bottom: var(--e-4); padding: 0; }
.form-grille { display: grid; gap: var(--e-20); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40em) { .form-grille--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.champ { display: flex; flex-direction: column; gap: .4rem; }
.champ label, .champ .champ-label { font-weight: 650; font-size: var(--t-16); color: var(--texte); }
.champ .aide, .aide { font-size: var(--t-14); color: var(--texte-3); line-height: 1.45; }
.champ input[type="text"], .champ input[type="email"], .champ input[type="tel"], .champ input[type="url"],
.champ input[type="number"], .champ input[type="search"], .champ select, .champ textarea {
  width: 100%; min-height: 3rem; padding: .7rem .9rem;
  background: var(--fond-alt); border: 0; border-bottom: 2px solid var(--texte-2);
  border-radius: var(--r-1) var(--r-1) 0 0;
  font-size: var(--t-16); line-height: 1.4; color: var(--texte);
  transition: background-color var(--duree), border-color var(--duree), box-shadow var(--duree);
}
.champ textarea { min-height: 8rem; resize: vertical; }
.champ select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%23161616' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem;
}
.champ input:hover, .champ select:hover, .champ textarea:hover { background-color: var(--fond-alt-2); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible {
  outline: 2px solid var(--bleu); outline-offset: 2px; border-bottom-color: var(--bleu);
}
.champ--erreur input, .champ--erreur select, .champ--erreur textarea { border-bottom-color: var(--erreur); }
.champ--erreur { padding-left: .9rem; border-left: 2px solid var(--erreur); }
.champ-erreur { display: flex; gap: .4rem; align-items: center; color: var(--erreur); font-size: var(--t-14); font-weight: 600; }
.champ--case { flex-direction: row; align-items: flex-start; gap: .7rem; }
.champ--case input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; flex: none; accent-color: var(--bleu); }
.champ--case label { font-weight: 400; font-size: var(--t-15); }
.obligatoire { color: var(--erreur); }
.leurre { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Choix sous forme de cartes radio */
.choix { display: grid; gap: .6rem; grid-template-columns: minmax(0, 1fr); border: 0; padding: 0; margin: 0; }
@media (min-width: 40em) { .choix--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choix-item { position: relative; }
.choix-item input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choix-item label, .choix-carte {
  display: flex; gap: .75rem; align-items: flex-start; height: 100%;
  padding: .85rem 1rem; border: 1px solid var(--filet-fort); border-radius: var(--r-2); background: #fff;
  font-weight: 600; font-size: var(--t-15); line-height: 1.35; cursor: pointer;
  transition: border-color var(--duree), background-color var(--duree), box-shadow var(--duree);
}
.choix-item label small { display: block; font-weight: 400; color: var(--texte-3); font-size: var(--t-13); margin-top: 2px; }
.choix-item label::before {
  content: ''; flex: none; width: 1.15rem; height: 1.15rem; margin-top: .1rem; border-radius: 50%;
  border: 2px solid var(--filet-fort); background: #fff; transition: border-color var(--duree), box-shadow var(--duree);
}
.choix-item input:hover + label { border-color: var(--bleu); }
.choix-item input:checked + label { border-color: var(--bleu); background: var(--bleu-975); box-shadow: inset 0 0 0 1px var(--bleu); }
.choix-item input:checked + label::before { border-color: var(--bleu); box-shadow: inset 0 0 0 3px #fff; background: var(--bleu); }
.choix-item input:focus-visible + label { outline: 2px solid var(--bleu); outline-offset: 2px; }

.message { padding: var(--e-16) var(--e-20); border-radius: var(--r-2); font-size: var(--t-15); }
.message--erreur { background: var(--erreur-fond); border-left: 4px solid var(--erreur); color: #6b0300; }
.message--erreur ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.message--erreur a { color: #6b0300; font-weight: 700; }
.message--succes { background: var(--vert-fond); border-left: 4px solid var(--vert); }
.form-rgpd { display: flex; flex-direction: column; gap: .5rem; padding-top: var(--e-16); border-top: 1px solid var(--filet); font-size: var(--t-13); color: var(--texte-3); line-height: 1.5; }
.form-rgpd a { color: var(--texte-2); }
.form-suite { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .9rem; counter-reset: fs; }
.form-suite li { counter-increment: fs; display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; align-items: start; }
.form-suite li::before { content: counter(fs); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--bleu); color: #fff; font-weight: 800; font-size: var(--t-14); }
.form-suite b { display: block; }
.form-suite span { font-size: var(--t-15); color: var(--texte-2); }

/* ── 13. Accueil V3 ──────────────────────────────────────────────────────── */
/* Ordre du discours (avis d'expert du 30/09) : envie → démonstration →
   preuves → budget → réassurance → contact. Chaque bloc a sa silhouette. */

/* 13.1 Héros ----------------------------------------------------------------*/
.heros-v3 { position: relative; overflow: hidden; padding-block: var(--e-40) var(--e-64); isolation: isolate; }
@media (min-width: 62em) { .heros-v3 { padding-block: var(--e-56) var(--e-80); } }
.heros-fond {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48rem 30rem at 85% 20%, rgba(191, 207, 240, .55), transparent 70%),
    radial-gradient(36rem 24rem at 5% 100%, rgba(244, 232, 214, .7), transparent 70%),
    linear-gradient(180deg, var(--bleu-975), #fff 92%);
}
.heros-fond::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30, 58, 138, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 138, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.heros-grille { display: grid; gap: var(--e-48); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 62em) { .heros-grille { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: var(--e-56); } }
.heros-texte { display: flex; flex-direction: column; gap: var(--e-24); align-items: flex-start; }
.heros-titre { font-size: var(--t-64); line-height: 1.04; letter-spacing: -.032em; }
.heros-titre .serif { font-weight: 500; letter-spacing: -.02em; }
.heros-titre-suite { display: block; margin-top: .35em; font-size: .5em; line-height: 1.2; font-weight: 700; color: var(--texte-3); letter-spacing: -.015em; }
.heros-texte .chapo { font-size: var(--t-18); max-width: 36rem; }
@media (min-width: 62em) { .heros-texte .chapo { font-size: var(--t-20); } }

.heros-prix {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem;
  padding: .75rem 1.1rem; border-radius: var(--r-2);
  background: #fff; border: 1px solid var(--bleu-925); box-shadow: var(--ombre-1);
}
.heros-prix b { font-size: var(--t-28); font-weight: 800; color: var(--bleu); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.heros-prix span { font-size: var(--t-15); color: var(--texte-2); }
.heros-reassurance { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: var(--t-14); color: var(--texte-2); }
.heros-reassurance li { display: inline-flex; align-items: center; gap: .4rem; }
.heros-reassurance svg { width: 1rem; height: 1rem; color: var(--vert); flex: none; }

/* 13.2 La vitrine : de vrais sites, dans un navigateur et un téléphone -------*/
.vitrine { position: relative; }
.vitrine-scene { position: relative; padding: 0 0 2.5rem 0; }
@media (min-width: 40em) { .vitrine-scene { padding: 0 2.5rem 3rem 0; } }
.navigateur {
  position: relative; border-radius: var(--r-3); overflow: hidden; background: #fff;
  box-shadow: var(--ombre-3), 0 0 0 1px rgba(14, 22, 70, .08);
}
.navigateur-barre {
  display: flex; align-items: center; gap: .4rem; height: 2.25rem; padding: 0 .75rem;
  background: #eef0f5; border-bottom: 1px solid #dfe2ea;
}
.navigateur-barre > i { width: .6rem; height: .6rem; border-radius: 50%; background: #cfd3de; flex: none; }
.navigateur-barre > i:nth-child(1) { background: #f2a49a; }
.navigateur-barre > i:nth-child(2) { background: #f5d38a; }
.navigateur-barre > i:nth-child(3) { background: #9fd7a8; }
.navigateur-url {
  flex: 1; display: flex; align-items: center; gap: .4rem; margin-left: .6rem; max-width: 22rem;
  height: 1.5rem; padding: 0 .7rem; border-radius: 999px; background: #fff;
  font-size: .75rem; color: var(--texte-2); white-space: nowrap; overflow: hidden;
}
.navigateur-url svg { width: .7rem; height: .7rem; color: var(--vert); flex: none; }
.navigateur-ecran { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--fond-alt); }
.vitrine-vue {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden; transition: opacity .6s var(--sortie), visibility 0s .6s;
}
.vitrine-vue.est-active { opacity: 1; visibility: visible; transition: opacity .6s var(--sortie); }
.vitrine-vue img { width: 100%; height: auto; will-change: transform; }
.vitrine-vue.defile img { animation: vitrine-defile var(--duree-defile, 22s) cubic-bezier(.45, 0, .55, 1) infinite alternate; }
.vitrine.est-en-pause .vitrine-vue img { animation-play-state: paused; }
@keyframes vitrine-defile {
  0%, 8% { transform: translateY(0); }
  92%, 100% { transform: translateY(var(--course, -60%)); }
}

.telephone {
  position: absolute; right: 0; bottom: 0; width: 30%; min-width: 7.5rem; max-width: 12.5rem;
  padding: .45rem; border-radius: 1.6rem; background: #10131c;
  box-shadow: var(--ombre-flottant), inset 0 0 0 1px rgba(255,255,255,.12);
}
.telephone-ecran { position: relative; aspect-ratio: 390 / 780; border-radius: 1.2rem; overflow: hidden; background: #fff; }
.telephone-ecran::before { content: ''; position: absolute; top: .45rem; left: 50%; transform: translateX(-50%); width: 30%; height: .55rem; border-radius: 999px; background: #10131c; z-index: 2; }
.telephone-ecran img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .6s var(--sortie); }
.telephone-ecran img.est-active { opacity: 1; }

.vitrine-puce {
  position: absolute; left: -.5rem; top: 58%; z-index: 3;
  display: flex; align-items: center; gap: .7rem; max-width: 17rem;
  padding: .7rem .95rem; border-radius: var(--r-2); background: #fff; box-shadow: var(--ombre-flottant);
  font-size: var(--t-13); line-height: 1.35;
  transition: opacity .4s, transform .5s var(--ressort);
}
@media (min-width: 62em) { .vitrine-puce { left: -2rem; } }
.vitrine-puce.est-changee { opacity: 0; transform: translateY(8px) scale(.97); }
.vitrine-puce-picto { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; flex: none; border-radius: var(--r-2); background: var(--vert-fond); color: var(--vert); }
.vitrine-puce-picto svg { width: 1.1rem; height: 1.1rem; }
.vitrine-puce b { display: block; font-size: var(--t-14); color: var(--texte); }
.vitrine-puce span { color: var(--texte-3); }

.vitrine-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--e-12); margin-top: var(--e-8); }
.vitrine-choix { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.vitrine-choix button {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .3rem .9rem .3rem .35rem;
  border: 1px solid var(--filet); border-radius: 999px; background: #fff; color: var(--texte);
  font-size: var(--t-14); font-weight: 650; transition: border-color var(--duree), box-shadow var(--duree), background-color var(--duree);
}
.vitrine-choix button img { width: 2rem; height: 2rem; border-radius: 50%; object-fit: cover; object-position: top left; }
.vitrine-choix button:hover { border-color: var(--bleu); }
.vitrine-choix button[aria-pressed="true"] { border-color: var(--bleu); background: var(--bleu-975); box-shadow: inset 0 0 0 1px var(--bleu); color: var(--bleu); }
.vitrine-legende { font-size: var(--t-13); color: var(--texte-3); line-height: 1.45; margin-top: var(--e-12); }
.vitrine-legende b { color: var(--texte); }
.bouton-pause {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: .3rem .8rem;
  border: 0; border-radius: var(--r-1); background: none; color: var(--texte-2); font-size: var(--t-13); font-weight: 600;
}
.bouton-pause:hover { background: var(--fond-alt); color: var(--bleu); }
.bouton-pause svg { width: 1rem; height: 1rem; }
.bouton-pause .icone-lecture { display: none; }
.bouton-pause[aria-pressed="true"] .icone-pause { display: none; }
.bouton-pause[aria-pressed="true"] .icone-lecture { display: block; }

/* 13.3 Références réelles --------------------------------------------------*/
.references { display: flex; flex-direction: column; gap: var(--e-64); }
.reference { display: grid; gap: var(--e-32); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 62em) {
  .reference { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--e-64); }
  .reference:nth-child(even) .reference-visuels { order: 2; }
}
.reference-visuels { position: relative; padding: 0 1.5rem 2rem 0; }
.reference-visuels .navigateur-ecran { aspect-ratio: 16 / 10; }
.reference-visuels .navigateur-ecran img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.reference-visuels .telephone { width: 24%; min-width: 6.5rem; }
.reference-texte { display: flex; flex-direction: column; gap: var(--e-16); align-items: flex-start; }
.reference-lieu { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: var(--t-14); color: var(--texte-3); }
.reference-texte h3 { font-size: var(--t-40); letter-spacing: -.025em; line-height: 1.05; }
.reference-faits { display: flex; flex-direction: column; gap: var(--e-16); margin: 0; }
.reference-faits dt { font-size: var(--t-13); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--bleu); margin-bottom: .25rem; }
.reference-faits dd { margin: 0; color: var(--texte-2); }
.reference-attribution {
  display: flex; gap: .6rem; align-items: flex-start; padding: .7rem .9rem; border-radius: var(--r-2);
  background: var(--fond-alt); font-size: var(--t-14); color: var(--texte-2); line-height: 1.45;
}
.reference-attribution svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--bleu); margin-top: .1rem; }

/* 13.4 Défileur de modèles (carrousel à accrochage) -------------------------*/
.defileur { position: relative; }
.defileur-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--e-16); margin-bottom: var(--e-24); }
.defileur-fleches { display: flex; gap: .5rem; }
.defileur-fleches button {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--filet-fort); background: #fff; color: var(--bleu);
  transition: background-color var(--duree), border-color var(--duree), opacity var(--duree);
}
.defileur-fleches button:hover:not(:disabled) { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.defileur-fleches button:disabled { opacity: .35; cursor: default; }
.defileur-fleches svg { width: 1.2rem; height: 1.2rem; }
.defileur-piste {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(16rem, 78%);
  gap: var(--e-20); list-style: none; margin: 0; padding: .25rem .25rem 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: .25rem;
  scrollbar-width: thin; scrollbar-color: var(--bleu-850) transparent;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 40em) { .defileur-piste { grid-auto-columns: minmax(16rem, 44%); } }
@media (min-width: 62em) { .defileur-piste { grid-auto-columns: calc((100% - 3 * var(--e-20)) / 3.4); } }
.defileur-piste > li { scroll-snap-align: start; }
.modele { display: flex; flex-direction: column; gap: .75rem; color: inherit; text-decoration: none; }
.modele-visuel { position: relative; border-radius: var(--r-2); overflow: hidden; box-shadow: var(--ombre-1), 0 0 0 1px var(--filet); aspect-ratio: 16 / 10; background: var(--fond-alt); }
.modele-visuel img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s var(--sortie); }
.modele:hover .modele-visuel img { transform: scale(1.04); }
.modele-visuel .etiq { position: absolute; left: .6rem; top: .6rem; box-shadow: var(--ombre-1); }
.modele-nom { font-weight: 700; font-size: var(--t-17); }
.modele:hover .modele-nom { color: var(--bleu); text-decoration: underline; text-underline-offset: .2em; }
.modele-style { font-size: var(--t-14); color: var(--texte-3); line-height: 1.4; }

/* 13.5 Démonstration de publication ----------------------------------------*/
.demo { display: flex; flex-direction: column; gap: var(--e-20); }
.demo-onglets { display: flex; flex-wrap: wrap; gap: .5rem; }
.demo-onglet {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 3rem; padding: .55rem 1.1rem .55rem .6rem;
  border: 1px solid var(--bleu-850); border-radius: 999px; background: #fff; color: var(--texte);
  font-weight: 650; font-size: var(--t-15);
  transition: background-color var(--duree), color var(--duree), border-color var(--duree), box-shadow var(--duree);
}
.demo-onglet-picto { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--bleu-950); color: var(--bleu); transition: inherit; }
.demo-onglet-picto svg { width: 1rem; height: 1rem; }
.demo-onglet:hover { border-color: var(--bleu); }
.demo-onglet[aria-selected="true"] { background: var(--bleu); border-color: var(--bleu); color: #fff; box-shadow: var(--ombre-2); }
.demo-onglet[aria-selected="true"] .demo-onglet-picto { background: rgba(255,255,255,.16); color: #fff; }
.demo-scene { display: grid; gap: var(--e-20); grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 62em) { .demo-scene { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--e-24); } }

/* L'administration, aux couleurs de WordPress pour être reconnue */
.wp { display: flex; flex-direction: column; border-radius: var(--r-3); overflow: hidden; background: #f0f0f1; box-shadow: var(--ombre-2), 0 0 0 1px rgba(0,0,0,.06); font-size: var(--t-15); }
.wp-barre { display: flex; align-items: center; gap: .6rem; height: 2.25rem; padding: 0 .75rem; background: #1d2327; color: #f0f0f1; font-size: .8125rem; }
.wp-barre svg { width: 1.1rem; height: 1.1rem; }
.wp-barre span { opacity: .85; }
.wp-corps { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); flex: 1; }
@media (min-width: 40em) { .wp-corps { grid-template-columns: 9.5rem minmax(0, 1fr); } }
.wp-menu { background: #2c3338; color: #f0f0f1; padding: .5rem 0; font-size: .8125rem; }
.wp-menu li { display: flex; align-items: center; gap: .55rem; padding: .5rem .8rem; list-style: none; white-space: nowrap; overflow: hidden; }
.wp-menu li svg { width: 1rem; height: 1rem; flex: none; opacity: .7; }
.wp-menu li.est-actif { background: #2271b1; color: #fff; }
.wp-menu li.est-actif svg { opacity: 1; }
.wp-menu ul { margin: 0; padding: 0; }
@media (max-width: 39.99em) { .wp-menu li span { display: none; } }
.wp-contenu { padding: var(--e-20); display: flex; flex-direction: column; gap: var(--e-16); background: #f0f0f1; }
.wp-contenu h3, .wp-contenu .wp-h3 { font-size: var(--t-20); font-weight: 600; color: #1d2327; letter-spacing: 0; line-height: 1.3; }
.wp-champ { display: flex; flex-direction: column; gap: .35rem; }
.wp-champ label, .wp-champ .wp-libelle { font-weight: 600; font-size: .875rem; color: #1d2327; }
.wp-champ input[type="text"], .wp-champ textarea, .wp-champ select {
  width: 100%; min-height: 2.6rem; padding: .5rem .7rem; border: 1px solid #8c8f94; border-radius: 4px;
  background: #fff; font-size: .9375rem; color: #1d2327;
}
.wp-champ textarea { min-height: 5.5rem; resize: vertical; }
.wp-champ input:focus, .wp-champ textarea:focus, .wp-champ select:focus { outline: 2px solid #2271b1; outline-offset: 0; border-color: #2271b1; }
.wp-case { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: #1d2327; }
.wp-case input { width: 1rem; height: 1rem; accent-color: #2271b1; }
.wp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: auto; }
.wp-bouton {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.6rem; padding: .45rem 1.1rem; border: 0; border-radius: 4px;
  background: #2271b1; color: #fff; font-weight: 600; font-size: .9375rem;
}
.wp-bouton:hover { background: #135e96; }
.wp-bouton svg { width: 1rem; height: 1rem; }
.wp-etat { font-size: .8125rem; color: #50575e; }
.wp-etat.est-ok { color: #00701a; font-weight: 600; }
.wp-depot {
  display: flex; align-items: center; gap: .75rem; padding: .75rem; border: 2px dashed #c3c4c7; border-radius: 4px; background: #fff;
  font-size: .875rem; color: #50575e;
}
.wp-depot svg { width: 1.6rem; height: 1.6rem; color: #2271b1; flex: none; }
.wp-depot b { color: #1d2327; }
.wp-horaires { display: grid; grid-template-columns: auto 1fr; gap: .45rem .75rem; align-items: center; }
.wp-horaires label { font-size: .875rem; font-weight: 600; color: #1d2327; }
.wp-horaires input { min-height: 2.3rem; padding: .35rem .6rem; border: 1px solid #8c8f94; border-radius: 4px; background: #fff; font-size: .9rem; width: 100%; }
.wp-horaires input:focus { outline: 2px solid #2271b1; border-color: #2271b1; }

/* L'aperçu du site, côté habitant */
.apercu { display: flex; flex-direction: column; }
.apercu .navigateur { height: 100%; display: flex; flex-direction: column; }
.apercu-page { flex: 1; display: flex; flex-direction: column; background: #fff; font-size: .875rem; }
.apercu-entete { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-bottom: 1px solid #e6e8ef; }
.apercu-blason { width: 1.8rem; height: 1.8rem; border-radius: 6px; background: linear-gradient(135deg, #1d4f91, #2b7a78); flex: none; }
.apercu-nom { display: flex; flex-direction: column; line-height: 1.15; }
.apercu-nom b { font-size: .9375rem; }
.apercu-nom small { color: #6b7080; font-size: .72rem; }
.apercu-menu { margin-left: auto; display: none; gap: .9rem; font-size: .78rem; color: #3a3f4b; font-weight: 600; }
@media (min-width: 40em) { .apercu-menu { display: flex; } }
.apercu-banniere { position: relative; height: 5.5rem; background: linear-gradient(120deg, #1d4f91 0%, #2b7a78 100%); color: #fff; display: flex; align-items: flex-end; padding: .75rem 1rem; overflow: hidden; }
.apercu-banniere::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 90' preserveAspectRatio='none'%3E%3Cpath d='M0 70 L60 52 L110 64 L170 40 L230 58 L290 36 L350 55 L400 44 L400 90 L0 90Z' fill='rgba(255,255,255,.12)'/%3E%3C/svg%3E") bottom / 100% 70% no-repeat; }
.apercu-banniere b { position: relative; font-size: 1.05rem; }
.apercu-grille { display: grid; gap: .9rem; padding: 1rem; grid-template-columns: minmax(0, 1fr); flex: 1; }
@media (min-width: 40em) { .apercu-grille { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.apercu-bloc { display: flex; flex-direction: column; gap: .45rem; padding: .75rem; border-radius: 8px; border: 1px solid #e6e8ef; transition: box-shadow .5s, border-color .5s, background-color .5s; }
.apercu-bloc-titre { font-weight: 700; font-size: .8125rem; color: #1d4f91; text-transform: uppercase; letter-spacing: .05em; }
.apercu-bloc.est-cible { border-color: #2b7a78; box-shadow: 0 0 0 3px rgba(43, 122, 120, .25); background: #f3fbfa; }
.apercu-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.apercu-liste li { display: flex; gap: .55rem; align-items: flex-start; line-height: 1.35; }
.apercu-date { flex: none; min-width: 2.9rem; padding: .1rem .35rem; border-radius: 4px; background: #eef3fa; color: #1d4f91; font-size: .72rem; font-weight: 700; text-align: center; }
.apercu-doc { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.9rem; border-radius: 3px; background: #fdecea; color: #b3261e; font-size: .55rem; font-weight: 800; }
.apercu-liste li.est-nouveau { animation: apercu-arrivee .7s var(--ressort) both; }
.apercu-liste li.est-nouveau .apercu-titre::after { content: 'Nouveau'; margin-left: .4rem; padding: 0 .3rem; border-radius: 3px; background: #2b7a78; color: #fff; font-size: .62rem; font-weight: 700; vertical-align: .1em; }
@keyframes apercu-arrivee { from { opacity: 0; transform: translateY(-8px) scale(.98); background: #e8f5f4; } to { opacity: 1; transform: none; } }
.apercu-horaires { display: grid; grid-template-columns: auto 1fr; gap: .15rem .7rem; font-size: .78rem; }
.apercu-horaires dt { font-weight: 700; }
.apercu-horaires dd { margin: 0; color: #3a3f4b; font-variant-numeric: tabular-nums; }
.apercu-horaires dd.est-modifie { color: #2b7a78; font-weight: 700; animation: apercu-flash 1.2s ease; }
@keyframes apercu-flash { 0%, 100% { background: transparent; } 30% { background: #d7f0ee; } }
.apercu-pied { margin-top: auto; padding: .7rem 1rem; background: #1d2b4a; color: #dfe5f5; font-size: .72rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.demo-note { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--t-14); color: var(--texte-2); max-width: 52rem; }
.demo-note svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--bleu); margin-top: .15rem; }
.demo-annonce { position: absolute; }

/* 13.6 Scènes d'usage -------------------------------------------------------*/
.scenes { display: flex; flex-direction: column; gap: var(--e-32); }
.scenes-onglets { display: grid; gap: .5rem; grid-template-columns: minmax(0, 1fr); border-bottom: 1px solid var(--filet); }
@media (min-width: 48em) { .scenes-onglets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } }
.scene-onglet {
  display: flex; align-items: center; gap: .75rem; text-align: left;
  padding: 1rem 1rem 1.1rem; border: 0; background: none; color: var(--texte-2);
  font-weight: 650; font-size: var(--t-16); line-height: 1.3;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
  transition: color var(--duree), border-color var(--duree), background-color var(--duree);
}
.scene-onglet:hover { color: var(--bleu); background: var(--fond-alt); }
.scene-onglet[aria-selected="true"] { color: var(--bleu); border-bottom-color: var(--bleu); }
.scene-onglet-num { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--fond-alt-2); color: var(--texte-2); font-weight: 800; font-size: var(--t-14); transition: inherit; }
.scene-onglet[aria-selected="true"] .scene-onglet-num { background: var(--bleu); color: #fff; }
.scene { display: grid; gap: var(--e-32); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 62em) { .scene { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--e-64); } }
.scene[hidden] { display: none; }
.scene.est-entree .scene-visuel { animation: scene-entree .6s var(--sortie) both; }
.scene.est-entree .scene-texte { animation: scene-entree .6s .08s var(--sortie) both; }
@keyframes scene-entree { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.scene-visuel { position: relative; margin: 0; padding: 0 0 2rem 0; }
.scene-visuel > picture img, .scene-visuel > img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-3); box-shadow: var(--ombre-2); }
.scene-fiche {
  position: absolute; right: 1rem; bottom: 0; width: min(19rem, 78%);
  padding: 1rem 1.1rem; border-radius: var(--r-2); background: #fff; box-shadow: var(--ombre-flottant);
  font-size: var(--t-14); line-height: 1.4;
}
.scene-fiche-titre { display: flex; align-items: center; gap: .5rem; font-weight: 750; font-size: var(--t-15); margin-bottom: .5rem; }
.scene-fiche-titre svg { width: 1.1rem; height: 1.1rem; color: var(--bleu); }
.scene-fiche dl { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; margin: 0; }
.scene-fiche dt { font-weight: 650; }
.scene-fiche dd { margin: 0; color: var(--texte-2); font-variant-numeric: tabular-nums; }
.scene-fiche .etiq { margin-top: .6rem; }
.scene-texte { display: flex; flex-direction: column; gap: var(--e-16); align-items: flex-start; }
.scene-situation { display: inline-flex; gap: .5rem; align-items: center; font-size: var(--t-14); font-weight: 650; color: var(--tuile-texte); }
.scene-situation::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: var(--tuile); }
.scene-texte h3 { font-size: var(--t-32); letter-spacing: -.022em; line-height: 1.15; }

/* 13.7 Offre et budget ------------------------------------------------------*/
.offre-grille { display: grid; gap: var(--e-24); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 62em) { .offre-grille { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); } }
.offre-carte { background: #fff; border-radius: var(--r-3); box-shadow: var(--ombre-2); border: 1px solid var(--filet); overflow: hidden; }
.offre-tete {
  display: grid; gap: var(--e-20); padding: var(--e-32); align-items: end;
  background: linear-gradient(135deg, var(--nuit) 0%, var(--nuit-3) 100%); color: var(--sur-nuit);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 48em) { .offre-tete { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); padding: var(--e-40); } }
.offre-tete .etiq { background: rgba(255,255,255,.14); color: #fff; }
.offre-nom { font-size: var(--t-24); font-weight: 750; color: #fff; margin-top: .75rem; line-height: 1.25; }
.offre-prix { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .6rem; margin-top: .75rem; }
.offre-prix b { font-size: var(--t-64); font-weight: 800; letter-spacing: -.035em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.offre-prix span { font-size: var(--t-17); color: var(--sur-nuit); }
.offre-ttc { font-size: var(--t-14); color: var(--sur-nuit-doux); margin-top: .35rem; }
.offre-an1 { display: flex; gap: .5rem; align-items: flex-start; margin-top: var(--e-16); font-weight: 650; color: #fff; font-size: var(--t-15); }
.offre-an1 svg { width: 1.2rem; height: 1.2rem; flex: none; color: #9fe3b2; margin-top: .1rem; }
.offre-ensuite { display: flex; flex-direction: column; gap: .25rem; padding: var(--e-20); border-radius: var(--r-2); background: rgba(255,255,255,.08); border: 1px solid var(--trait-nuit); }
.offre-ensuite span { font-size: var(--t-13); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #c7d4f5; }
.offre-ensuite b { font-size: var(--t-32); font-weight: 800; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.offre-ensuite small { font-size: var(--t-14); color: var(--sur-nuit-doux); line-height: 1.45; }
.offre-perimetre { display: grid; gap: var(--e-32); padding: var(--e-32); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48em) { .offre-perimetre { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); padding: var(--e-40); } }
.offre-perimetre h3 { font-size: var(--t-18); margin-bottom: var(--e-16); display: flex; align-items: center; gap: .5rem; }
.offre-perimetre h3 .etiq { font-size: var(--t-12); }
.offre-perimetre .liste-coches, .offre-perimetre .liste-croix { font-size: var(--t-15); gap: .55rem; }
.offre-perimetre > div + div { padding-top: var(--e-24); border-top: 1px solid var(--filet); }
@media (min-width: 48em) { .offre-perimetre > div + div { padding-top: 0; border-top: 0; padding-left: var(--e-32); border-left: 1px solid var(--filet); } }
.offre-actions { display: flex; flex-wrap: wrap; gap: var(--e-16); align-items: center; justify-content: space-between; padding: var(--e-20) var(--e-32); border-top: 1px solid var(--filet); background: var(--fond-alt); }
@media (min-width: 48em) { .offre-actions { padding-inline: var(--e-40); } }
.offre-cote { display: flex; flex-direction: column; gap: var(--e-16); }
.offre-cote .carte { padding: var(--e-24); }
.offre-cote-prix { font-size: var(--t-28); font-weight: 800; color: var(--bleu); letter-spacing: -.02em; line-height: 1.1; }
.offre-cote-prix small { font-size: var(--t-15); font-weight: 600; color: var(--texte-3); letter-spacing: 0; }
.offre-aides {
  display: flex; gap: .75rem; align-items: flex-start; margin-top: var(--e-32); padding: var(--e-20) var(--e-24);
  border-radius: var(--r-2); background: #fff; border: 1px solid var(--filet); font-size: var(--t-15); color: var(--texte-2);
}
.offre-aides svg { width: 1.4rem; height: 1.4rem; flex: none; color: var(--bleu); }

/* 13.8 Méthode : qui fait quoi --------------------------------------------*/
.methode { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e-20); grid-template-columns: minmax(0, 1fr); counter-reset: me; position: relative; }
@media (min-width: 48em) { .methode { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 75em) { .methode { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 75em) {
  .methode::before, .methode::after {
    content: ''; position: absolute; left: 1.75rem; right: 1.75rem; top: 1.75rem; height: 2px; background: var(--bleu-925);
  }
  .methode::after { background: var(--bleu); transform-origin: left; transform: scaleX(1); }
  .js-anime .methode:not(.est-visible)::after { transform: scaleX(0); }
  .js-anime .methode.est-visible::after { transition: transform 1.8s var(--sortie) .2s; }
}
.methode-etape { position: relative; counter-increment: me; display: flex; flex-direction: column; gap: var(--e-12); }
.methode-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: #fff; border: 2px solid var(--bleu); color: var(--bleu); font-weight: 800; font-size: var(--t-20);
  box-shadow: 0 0 0 6px var(--fond);
}
.section--gris .methode-num { box-shadow: 0 0 0 6px var(--fond-alt); }
.methode-etape h3 { font-size: var(--t-20); }
.roles { display: flex; flex-direction: column; gap: .6rem; margin: 0; }
.role { padding: .8rem .95rem; border-radius: var(--r-2); font-size: var(--t-15); line-height: 1.45; }
.role dt { font-size: var(--t-12); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .2rem; }
.role dd { margin: 0; }
.role--vous { background: var(--creme); }
.role--vous dt { color: var(--tuile-texte); }
.role--nous { background: var(--bleu-975); }
.role--nous dt { color: var(--bleu); }
.methode-bilan { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-16) var(--e-32); margin-top: var(--e-40); padding: var(--e-24); border-radius: var(--r-3); background: var(--fond-alt); }
.methode-bilan-chiffre { font-size: var(--t-40); font-weight: 800; color: var(--bleu); letter-spacing: -.03em; line-height: 1; }
.methode-bilan p { flex: 1 1 22rem; color: var(--texte-2); }

/* 13.9 L'interlocuteur ------------------------------------------------------*/
.humain-v3 { display: grid; gap: var(--e-48); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 62em) { .humain-v3 { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: var(--e-64); } }
.humain-visuel { position: relative; margin: 0; padding-bottom: 2.5rem; }
.humain-visuel > picture img, .humain-visuel > img { aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r-4); box-shadow: var(--ombre-2); }
.humain-carte {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 0;
  display: flex; align-items: center; gap: var(--e-16); padding: var(--e-16) var(--e-20);
  background: #fff; border-radius: var(--r-3); box-shadow: var(--ombre-flottant);
}
@media (min-width: 62em) { .humain-carte { left: auto; right: -1.5rem; width: 21rem; } }
.humain-initiale {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; flex: none; border-radius: 50%;
  background: var(--bleu); color: #fff; font-family: var(--police-serif); font-style: italic; font-size: 1.6rem; font-weight: 600;
}
.humain-carte p { display: flex; flex-direction: column; line-height: 1.3; font-size: var(--t-14); color: var(--texte-3); }
.humain-carte b { color: var(--texte); font-size: var(--t-16); }
.humain-carte a { font-weight: 700; font-variant-numeric: tabular-nums; }
.humain-texte { display: flex; flex-direction: column; gap: var(--e-20); align-items: flex-start; }
.humain-citation { font-size: var(--t-20); line-height: 1.55; color: var(--texte); max-width: 36rem; }
.humain-preuves { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e-12); width: 100%; }
.humain-preuves li { display: flex; gap: var(--e-16); align-items: flex-start; padding: var(--e-16); background: #fff; border-radius: var(--r-2); border: 1px solid var(--creme-2); }
.humain-preuves li > span:first-child { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none; border-radius: var(--r-2); background: var(--creme-2); color: var(--tuile-texte); }
.humain-preuves svg { width: 1.25rem; height: 1.25rem; }
.humain-preuves b { display: block; font-size: var(--t-16); }
.humain-preuves small { display: block; font-size: var(--t-14); color: var(--texte-3); line-height: 1.45; margin-top: .1rem; }

/* 13.10 Contact d'accueil -------------------------------------------------*/
.contact-v3 { display: grid; gap: var(--e-48); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 62em) { .contact-v3 { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--e-64); } }
.contact-v3-texte { display: flex; flex-direction: column; gap: var(--e-24); align-items: flex-start; }
.contact-tel { display: flex; align-items: center; gap: var(--e-16); padding: var(--e-16) var(--e-20); border-radius: var(--r-2); background: #fff; border: 1px solid var(--bleu-925); }
.contact-tel a { font-size: var(--t-28); font-weight: 800; color: var(--texte); text-decoration: none; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.contact-tel a:hover { color: var(--bleu); }
.contact-tel small { display: block; font-size: var(--t-14); color: var(--texte-3); }
.contact-tel-picto { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--bleu); color: #fff; flex: none; }
.contact-tel-picto svg { width: 1.3rem; height: 1.3rem; }
.form-carte { background: #fff; border-radius: var(--r-3); box-shadow: var(--ombre-2); border: 1px solid var(--filet); padding: var(--e-24); }
@media (min-width: 40em) { .form-carte { padding: var(--e-40); } }
.form-carte h2, .form-carte h3 { font-size: var(--t-24); }

/* ── 14. Héritage : composants des pages intérieures (V1/V2) ─────────────── */
/* Portés tels quels : ils s'appuient sur les alias de jetons déclarés en
   tête de feuille, et prennent donc la nouvelle palette sans réécriture. */
@media (min-width: 62em) {
  .mega-promo-visuel .illu {display: block;}
  .mega-promo-visuel .illu-carres {max-width: none; padding: var(--e-16);}
}
@media (max-width: 61.99em) {
  .heros-scene .flottant {margin-top: var(--e-12);}
}
.mock-cadre {position: relative;
  border: 1px solid var(--hairline); border-radius: var(--r-carte);
  background-color: #efece7;
  background-image: radial-gradient(#d9d5cf 1px, transparent 1.4px);
  background-size: 14px 14px;
  padding: var(--e-16);}
.mock {border: 1px solid var(--hairline); border-radius: 12px;
  background: var(--paper); overflow: hidden;}
.mock-barre {display: flex; align-items: center; gap: var(--e-4);
  padding: var(--e-8) var(--e-12); border-bottom: 1px solid var(--hairline); background: var(--bone);}
.mock-pastille {width: 7px; height: 7px; border-radius: 50%; background: var(--smoke);}
.mock-url {flex: 1; text-align: center; background: var(--paper); border: 1px solid var(--hairline);
  border-radius: var(--r-tag); padding: .125rem .75rem; font-size: var(--t-10); color: var(--ash-fonce);}
.mock-corps {padding: var(--e-16); display: flex; flex-direction: column; gap: var(--e-12);}
.mock-mairie-entete {display: flex; align-items: center; gap: var(--e-12); padding: var(--e-8) var(--e-12);
  background: #fffaf0; border-bottom: 1px solid #f0e4cf;}
.mock-mairie-nom {font-size: var(--t-13); color: #3e3428; white-space: nowrap;}
.mock-mairie-nav {flex: 1; display: flex; gap: var(--e-12); justify-content: center; font-size: var(--t-10); color: #7d6d52;}
.mock-mairie-cta {font-size: var(--t-10); background: #a5460d; color: #fff; border-radius: 999px; padding: .3rem .7rem; white-space: nowrap;}
.mock-heros {position: relative; min-height: 9.5rem; padding: var(--e-20);
  display: flex; flex-direction: column; justify-content: center; gap: var(--e-4);
  background: linear-gradient(115deg, #263127 0%, #46543f 55%, #7b8560 100%);
  color: #fff;}
.mock-heros-surtitre {font-size: var(--t-10); letter-spacing: .1em; text-transform: uppercase; color: #ffd98f;}
.mock-heros h3 {color: #fff; font-size: var(--t-18);}
.mock-heros p {font-size: var(--t-10); color: rgba(255,255,255,.9);}
.mock-agenda {padding: var(--e-12); background: #fffaf0; display: flex; flex-direction: column; gap: var(--e-8);}
.mock-agenda-titre {font-size: var(--t-10); letter-spacing: .1em; text-transform: uppercase; color: #8a6a2f;}
.mock-agenda-liste {display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--e-8);}
.mock-evt {display: flex; align-items: center; gap: var(--e-8); background: #fff; border: 1px solid #f0e4cf; border-radius: 8px; padding: .35rem .45rem;}
.mock-evt-date {width: 28px; height: 32px; border-radius: 6px; color: #fff; flex: none;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;}
.mock-evt-jour {font-size: var(--t-13); line-height: 1;}
.mock-evt-mois {font-size: .5rem; letter-spacing: .06em;}
.mock-evt-txt {display: flex; flex-direction: column; min-width: 0;}
.mock-evt-nom {font-size: var(--t-10); line-height: 1.25;}
.mock-evt-lieu {font-size: .5625rem; color: #8a7a5e;}
.mock-admin {display: grid; grid-template-columns: 8.5rem 1fr;}
.mock-admin-rail {border-right: 1px solid var(--hairline); padding: var(--e-12) 0; display: flex; flex-direction: column;}
.mock-admin-rail span {font-size: var(--t-13); padding: var(--e-8) var(--e-12); color: var(--ash-fonce);}
.mock-admin-rail .est-actif {background: var(--accent-voile); color: var(--ink); box-shadow: inset -2px 0 0 var(--accent);}
.mock-admin-zone {padding: var(--e-16); display: flex; flex-direction: column; gap: var(--e-12);}
.mock-outils {display: flex; gap: var(--e-4); flex-wrap: wrap;}
.mock-outils span {font-size: var(--t-10); background: var(--bone); border-radius: 4px; padding: .2rem .5rem; color: var(--ash-fonce);}
.mock-pied-editeur {display: flex; justify-content: space-between; align-items: center; gap: var(--e-8); border-top: 1px solid var(--hairline); padding-top: var(--e-12);}
.flottant {background: var(--paper); border: 1px solid var(--hairline); border-radius: 12px;
  padding: var(--e-12); display: flex; align-items: center; gap: var(--e-12);
  font-size: var(--t-13);}
.flottant-picto {width: 26px; height: 26px; border-radius: var(--r-tag); flex: none;
  background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: var(--t-13);}
.flottant-l1 {font-size: var(--t-10); letter-spacing: .05em; text-transform: uppercase; color: var(--ash-fonce);}
.flottant-l2 {font-size: var(--t-13);}
.mock-zone {position: relative;}
@media (min-width: 62em) {
  .mock-zone .flottant--hd {position: absolute; right: -1rem; top: 32%; z-index: 2;}
  .mock-zone .flottant--bg {position: absolute; left: -1.25rem; bottom: -1.25rem; z-index: 2;}
  .mock-zone .flottant--bd {position: absolute; right: -1.25rem; bottom: -1.5rem; z-index: 2;}
}
@media (max-width: 61.99em) {
  .mock-zone .flottant {margin-top: var(--e-12);}
}
.source-note {font-size: var(--t-13); color: var(--ash-fonce); line-height: 1.5;}
.section--sombre .source-note {color: var(--sur-sombre-doux);}
.js-anime .flottant {animation: flotte 6s ease-in-out infinite;}
.js-anime .flottant--bg {animation-duration: 7s; animation-delay: .8s;}
.js-anime .flottant--bd {animation-duration: 6.6s; animation-delay: .4s;}
@media (max-width: 30em) {
  .mock-agenda-liste {grid-template-columns: 1fr;}
  .mock-mairie-nav {display: none;}
  .mock-admin {grid-template-columns: 1fr;}
  .mock-admin-rail {flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--hairline);}
}
@media (forced-colors: active) {
  .jauge-barre, .diag-picto, .flottant-picto, .etape::before {forced-color-adjust: none;}
}
.illu {width: 100%; height: auto; display: block;}
.illu-village {border-radius: 12px; overflow: hidden;}
.js-anime .illu-nuage {animation: illu-derive var(--v, 110s) linear infinite;
  animation-delay: var(--d, 0s);}
.js-anime .illu-fenetre {animation: illu-allumage 14s ease-in-out infinite;
  animation-delay: calc(var(--f, 0) * 1.15s);}
.js-anime .illu-drapeau {transform-origin: var(--cx) var(--cy);
  animation: illu-pavillon 4.2s ease-in-out infinite;}
.js-anime .illu-aiguille {transform-origin: var(--cx) var(--cy);
  animation: illu-tour linear infinite;}
.js-anime .illu-aiguille--m {animation-duration: 36s;}
.js-anime .illu-aiguille--h {animation-duration: 432s;}
.js-anime .illu-lien {animation: illu-flux 9s linear infinite;
  animation-delay: calc(var(--rang, 0) * -1.4s);}
.js-anime .illu-point {animation: illu-battement 3.4s ease-in-out infinite;
  animation-delay: calc(var(--rang, 0) * .42s);}
.js-anime .illu-halo {animation: illu-souffle 4.6s ease-in-out infinite;}
.js-anime .illu-coq {animation: illu-coq 5s ease-in-out infinite;}
.illu-carres {max-width: 22rem;}
.illu-carre {fill: var(--carre-froid, #e5e7eb);}
.illu-carre.est-chaud {fill: var(--carre-chaud, #d6312b);}
.js-anime .illu-carres:not(.est-visible) .illu-carre {opacity: 0;}
.js-anime .illu-carres.est-visible .illu-carre {transform-origin: center;
  transform-box: fill-box;
  animation: illu-poser .5s var(--sortie) both;
  animation-delay: calc(var(--rang, 0) * 14ms);}
.js-anime .illu:not(.est-visible) .illu-ligne {transform: scaleX(0);}
.js-anime .illu.est-visible .illu-ligne {transform-origin: left center;
  transform-box: fill-box;
  animation: illu-remplir .7s var(--sortie) both;
  animation-delay: calc(var(--rang, 0) * 130ms);}
.js-anime .illu:not(.est-visible) .illu-tampon {opacity: 0;}
.js-anime .illu.est-visible .illu-tampon {transform-origin: 204px 176px;
  animation: illu-frapper .8s var(--sortie) .5s both;}
.js-anime .illu-diode {animation: illu-diode 2.6s steps(1, end) infinite;
  animation-delay: calc(var(--rang, 0) * .33s);}
.js-anime .illu-onde {animation: illu-onde 2.4s ease-out infinite;
  animation-delay: calc(var(--rang, 0) * .28s);}
.js-anime .illu-focus {animation: illu-focus-descend 6.4s steps(1, end) infinite;}
.js-anime .illu-touche-tab {animation: illu-tab 1.6s ease-in-out infinite;}
.js-anime .illu-vapeur {animation: illu-vapeur 3.6s ease-in-out infinite;}
.js-anime .illu.est-visible .illu-bouton-publier {animation: illu-publier 2.4s ease-in-out 1.2s infinite;}
.illu-vignette {border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bone);}
.illu-vignette .illu {border-radius: 0;}
.heros-page-visuel .illu {width: 100%; max-width: 27rem;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--paper);}
.heros-page-visuel .illu-carres {max-width: 20rem; border: 0; background: transparent;
  --carre-froid: #e5e7eb;}
@media (min-width: 62em) {
  .heros-scene .flottant--hd {position: absolute; left: 2%; right: auto; top: 10%; bottom: auto;
    width: max-content; max-width: 17rem; z-index: 4;}
  .heros-scene .flottant--bg {position: absolute; left: 5%; right: auto; bottom: 8%; top: auto;
    width: max-content; max-width: 15rem; z-index: 4;}
}
.chiffres-illu {display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: center;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid var(--trait-sombre);}
@media (min-width: 56em) {
  .chiffres-illu {grid-template-columns: 22rem 1fr;}
}
.chiffres-illu-visuel {--carre-froid: rgba(255,255,255,.16);
  --carre-chaud: #d6312b;}
.section--sombre .chiffres-illu .surtitre {color: var(--sur-sombre-doux);}
.js-anime .illu.est-visible .illu-cellule.est-vive {animation: illu-allume-cellule .5s var(--sortie) both;
  animation-delay: calc(var(--rang, 0) * 22ms);}
.js-anime .illu:not(.est-visible) .illu-epingle {opacity: 0;}
.js-anime .illu.est-visible .illu-epingle {animation: illu-epingle .7s var(--sortie) .8s both;}
.js-anime .illu.est-visible .illu-balance {transform-origin: 160px 40px; animation: illu-pese 2.6s ease-in-out .4s;}
.js-anime .illu:not(.est-visible) .illu-surlignage {transform: scaleX(0);}
.js-anime .illu.est-visible .illu-surlignage {transform-origin: left center; transform-box: fill-box;
  animation: illu-surligne .6s var(--sortie) 1s both;}
.carte > .illu-vignette {margin: calc(var(--e-24) * -1) calc(var(--e-24) * -1) var(--e-4); border: 0; border-bottom: 1px solid var(--hairline); border-radius: var(--r-carte) var(--r-carte) 0 0; display: block;}
.carte > .illu-vignette .illu {border-radius: var(--r-carte) var(--r-carte) 0 0;}
.carte > .illu-vignette .illu-carres {padding: var(--e-20); max-width: none;}
.en-bref {border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-carte) var(--r-carte) 0;
  background: var(--bone);
  padding: var(--e-24);}
.en-bref-etiquette {display: inline-flex; align-items: center; gap: var(--e-8);
  font-size: var(--t-10); letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--e-16);}
.en-bref-liste {display: grid; gap: var(--e-16);}
@media (min-width: 56em) {
  .en-bref-liste {grid-template-columns: 1fr 1fr; gap: var(--e-16) var(--e-32);}
}
.en-bref-liste > div {display: flex; flex-direction: column; gap: var(--e-4);}
.en-bref-liste dt {font-size: var(--t-13); color: var(--ash-fonce);}
.en-bref-liste dd {margin: 0; font-size: var(--t-16); line-height: 1.45;}
.en-bref-liste dd strong {font-weight: 400; background: var(--accent); color: #fff; padding: 0 .25em;}
.illu-france {background: transparent;}
.js-anime .illu-france:not(.est-visible) .illu-semis {opacity: 0;}
.js-anime .illu-france.est-visible .illu-semis {animation: illu-semis-pose .6s var(--sortie) both;}
.js-anime .illu-france.est-visible .illu-semis--defaut {animation: illu-semis-pose .6s var(--sortie) both,
             illu-semis-bascule .55s ease-out both;
  animation-delay: 0s, calc(700ms + var(--vague, 0) * 170ms);}
.js-anime .illu-france.est-visible .illu-ancre {transform-origin: 96px 212px;
  animation: illu-ancre-bat 3.2s ease-in-out 1.8s infinite;}
.js-anime .illu-fuite {opacity: 0;
  animation: illu-fuite-tente 3.4s ease-out infinite;
  animation-delay: calc(var(--rang, 0) * 1.1s);}
.js-anime .illu-bouclier {transform-origin: 256px 130px;
  animation: illu-bouclier-encaisse 3.4s ease-out infinite;}
.js-anime .illu-lien-france {animation: illu-flux-entrant 6s linear infinite;}
.section--sombre .illu-france .illu-france-trait {stroke: rgba(255,255,255,.28);}
.mega-promo-visuel .illu-france {padding: var(--e-8); max-height: 11rem;}
.heros-page-visuel picture,
.illu-vignette picture,
.cellule--photo picture {display: block;}
.illu-vignette img {width: 100%; height: auto; display: block;}
.carte > .illu-vignette img {border-radius: var(--r-carte) var(--r-carte) 0 0; aspect-ratio: 16 / 9; object-fit: cover;}
.article-etiquettes {display: flex; align-items: center; gap: var(--e-12); flex-wrap: wrap;}
.article-une {display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
  text-decoration: none;}
.article-une-visuel img {display: block; width: 100%; height: 100%; object-fit: cover;}
.article-une-corps {display: flex; flex-direction: column; gap: var(--e-16);
  align-items: flex-start;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);}
.article-une-titre {font-size: var(--t-28); line-height: 1.15; letter-spacing: -.01em; color: var(--ink); text-wrap: balance;}
.article-une:hover .article-une-titre {color: var(--accent);}
@media (min-width: 62em) {
  .article-une {grid-template-columns: 1.1fr 1fr;}
  .article-une-visuel {min-height: 100%;}
}
.article-carte {display: flex; flex-direction: column; gap: var(--e-12);}
.article-carte h3 a {color: inherit; text-decoration: none;}
.article-carte:hover h3 a {color: var(--accent);}
.article-duo {display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start;}
@media (min-width: 62em) {
  .article-duo {grid-template-columns: 19rem minmax(0, 1fr);}
  .article-cote {position: sticky; top: 5.5rem; display: grid; gap: var(--e-16);}
}
@media (max-width: 61.99em) {
  .article-cote {order: 2;}
}
.article-sommaire {list-style: none; counter-reset: som; display: grid; gap: var(--e-8);}
.article-sommaire li {counter-increment: som; display: flex; gap: .625rem; align-items: baseline;}
.article-sommaire li::before {content: counter(som, decimal-leading-zero);
  font-size: var(--t-13);
  color: var(--ash);
  font-variant-numeric: tabular-nums;}
.article-sommaire a {color: var(--ash-fonce); text-decoration: none; font-size: var(--t-14); line-height: 1.4;}
.article-sommaire a:hover {color: var(--accent); text-decoration: underline;}
.article-liens {list-style: none; display: grid; gap: var(--e-12);}
.article-liens .lien-fleche {font-size: var(--t-14);}
.article-corps {max-width: 42rem;}
.article-corps > h2:first-child {margin-top: 0;}
.article-corps h2[id], .article-corps h3[id] {scroll-margin-top: 5.5rem;}
.article-auteur {display: flex; gap: var(--e-16); align-items: flex-start;
  margin-top: var(--e-48);
  padding: var(--e-24);
  background: var(--bone);
  border: 1px solid var(--hairline);
  border-radius: var(--r-carte);}
.article-auteur-initiale {flex: none;
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: var(--t-20);}
.article-auteur p {font-size: var(--t-14); color: var(--ash-fonce);}
.article-auteur p + p {margin-top: var(--e-8);}
.article-pagination {display: grid; gap: var(--e-16);}
@media (min-width: 48em) {
  .article-pagination {grid-template-columns: 1fr 1fr;}
}
.article-page-lien {display: grid; gap: var(--e-4);
  text-decoration: none; color: var(--ink);
  padding: var(--e-16);
  border: 1px solid var(--hairline);
  border-radius: var(--r-carte);
  transition: border-color var(--duree) ease-out;}
.article-page-lien:hover {border-color: var(--ink);}
.article-page-lien--droite {text-align: right;}
.voix-carte {display: flex; flex-direction: column; gap: var(--e-12);}
.voix-question {font-size: var(--t-20);
  line-height: 1.3;
  letter-spacing: -.01em;
  text-wrap: balance;}
.citation-conseil {border-left: 3px solid var(--accent);}
.citation-conseil blockquote p {font-size: var(--t-20);
  line-height: 1.45;
  color: var(--ink);
  text-wrap: pretty;}
.citation-conseil figcaption {margin-top: var(--e-16);}
.quiz-duo {display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start;}
@media (min-width: 62em) {
  .quiz-duo {grid-template-columns: minmax(0, 1fr) 20rem;}
  .quiz-cote {position: sticky; top: 5.5rem; display: grid; gap: var(--e-16);}
}
.quiz {display: grid; gap: var(--e-16);}
.quiz-question {border: 1px solid var(--hairline);
  border-radius: var(--r-carte);
  background: var(--paper);
  padding: var(--e-24);
  margin: 0;}
.quiz-question legend {display: flex; gap: .875rem; align-items: baseline;
  font-size: var(--t-18, 1.125rem);
  line-height: 1.4;
  color: var(--ink);
  padding: 0;
  text-wrap: pretty;}
.quiz-num {flex: none;
  font-size: var(--t-13);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 50%;
  width: 1.75rem; height: 1.75rem;
  display: inline-grid; place-items: center;
  transform: translateY(-2px);}
.quiz-aide {margin-top: var(--e-8); font-size: var(--t-14); color: var(--ash); max-width: 56ch;}
.quiz-choix {display: flex; gap: var(--e-8); flex-wrap: wrap; margin-top: var(--e-16);}
.quiz-choix label {display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: .4375rem 1rem;
  font-size: var(--t-14);
  cursor: pointer;
  transition: border-color var(--duree) ease-out, background-color var(--duree) ease-out;}
.quiz-choix label:hover {border-color: var(--ink);}
.quiz-choix label:has(input:checked) {border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent);}
.quiz-choix input {accent-color: var(--accent);}
.quiz-pied {display: flex; gap: var(--e-16); align-items: center; flex-wrap: wrap;}
.quiz-pied .petit {max-width: 30rem;}
.quiz-resultat {border: 1px solid var(--accent);
  border-left-width: 3px;
  border-radius: var(--r-carte);
  padding: var(--e-24);
  background: color-mix(in srgb, var(--accent) 4%, var(--paper));}
.quiz-resultat h3 {font-size: var(--t-24); margin-bottom: var(--e-8);}
.quiz-resultat p {font-size: var(--t-14); color: var(--ash-fonce); max-width: 56ch;}
.quiz-resultat .lien-fleche {margin-top: var(--e-12); display: inline-flex;}
.quiz-bareme {list-style: none; display: grid; gap: var(--e-12); font-size: var(--t-14);}
.quiz-bareme li {line-height: 1.5; color: var(--ash-fonce);}
.quiz-bareme strong {color: var(--ink); font-variant-numeric: tabular-nums;}
.quiz-question legend {float: left; width: 100%;}
.quiz-question legend + * {clear: both;}
.pas-a-pas .quiz-question, .pas-a-pas .etape {display: none;}
.pas-a-pas .quiz-question.est-courante, .pas-a-pas .etape.est-courante {display: block;}
.pas-a-pas .quiz-pied {display: none;}
.js-anime .illu-frappe {animation: illu-frapper 5.5s ease-in-out infinite;}
.js-anime .illu-marque {transform-origin: 160px 169px;
  animation: illu-marquer 5.5s ease-out infinite;}
.js-anime .illu-lettre {animation: illu-sortir 6s cubic-bezier(.2,.8,.25,1) infinite;}
.illu-coche {stroke-dasharray: 30;}
.js-anime .illu-coche {animation: illu-cocher .5s ease-out both;
  animation-delay: calc(.6s + var(--rang) * .7s);}
@media (prefers-reduced-motion: reduce) {
  .illu-frappe, .illu-marque, .illu-lettre, .illu-coche {animation: none !important;}
  .illu-coche {stroke-dashoffset: 0 !important;}
}
@keyframes flotte {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@keyframes illu-derive {
  from { transform: translateX(-360px); }
  to   { transform: translateX(1560px); }
}
@keyframes illu-allumage {
  0%, 46%  { fill: #e8eaef; }
  56%, 94% { fill: #ffe9b0; }
  100%     { fill: #e8eaef; }
}
@keyframes illu-pavillon {
  0%, 100% { transform: rotate(0deg)   skewY(0deg); }
  30%      { transform: rotate(-1.4deg) skewY(2.6deg); }
  65%      { transform: rotate(1.2deg)  skewY(-2.2deg); }
}
@keyframes illu-tour { to { transform: rotate(360deg); } }
@keyframes illu-flux { to { stroke-dashoffset: -280; } }
@keyframes illu-battement {
  0%, 100% { r: 3.4; opacity: .85; }
  50%      { r: 4.6; opacity: 1; }
}
@keyframes illu-souffle {
  0%, 100% { r: 26; opacity: .12; }
  50%      { r: 32; opacity: .06; }
}
@keyframes illu-coq { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes illu-poser {
  from { opacity: 0; transform: scale(.6); }
  to   { opacity: 1; transform: none; }
}
@keyframes illu-remplir { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes illu-frapper {
  0%   { opacity: 0; transform: scale(2.1) rotate(-16deg); }
  60%  { opacity: 1; transform: scale(.94) rotate(-8deg); }
  100% { opacity: 1; transform: scale(1) rotate(-8deg); }
}
@keyframes illu-diode { 0%,72%,100% { opacity: .28; } 80% { opacity: 1; } }
@keyframes illu-onde { 0% { opacity: 0; } 30% { opacity: .9; } 100% { opacity: 0; } }
@keyframes illu-focus-descend {
  0%, 22%   { transform: translateY(0); }
  28%, 48%  { transform: translateY(24px); }
  54%, 74%  { transform: translateY(38px); }
  80%, 100% { transform: translateY(52px); }
}
@keyframes illu-tab { 0%,44%,100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes illu-vapeur { 0% { opacity: 0; transform: translateY(4px); } 40% { opacity: .8; } 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes illu-publier { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes illu-allume-cellule { from { opacity: .2; } to { opacity: 1; } }
@keyframes illu-epingle { 0% { opacity: 0; transform: translateY(-14px); } 60% { opacity: 1; transform: translateY(2px); } 100% { transform: none; } }
@keyframes illu-pese { 0% { transform: rotate(0deg); } 25% { transform: rotate(3deg); } 55% { transform: rotate(-2deg); } 100% { transform: rotate(0deg); } }
@keyframes illu-surligne { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes illu-semis-pose {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes illu-ancre-bat {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.14); }
}
@keyframes illu-fuite-tente {
  0%       { opacity: 0; stroke-dashoffset: 0; }
  25%      { opacity: .8; }
  70%      { opacity: .8; stroke-dashoffset: -34; }
  85%, 100%{ opacity: 0; stroke-dashoffset: -34; }
}
@keyframes illu-bouclier-encaisse {
  0%, 62%, 100% { transform: scale(1); }
  70%           { transform: scale(1.07); }
}
@keyframes illu-flux-entrant { to { stroke-dashoffset: -120; } }
@keyframes illu-frapper {
  0%, 12%  { transform: translateY(-26px); }
  22%      { transform: translateY(8px); }
  30%, 100%{ transform: translateY(0); }
}
@keyframes illu-marquer {
  0%, 24% { opacity: 0; transform: scale(1.25) rotate(-4deg); }
  30%     { opacity: 1; transform: scale(.96); }
  36%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes illu-sortir {
  0%, 18%   { transform: translateY(74px); }
  46%, 100% { transform: translateY(0); }
}
@keyframes illu-cocher {
  0%   { stroke-dashoffset: 30; }
  100% { stroke-dashoffset: 0; }
}
/* Ajustements V3 des composants hérités */
.flottant { border-radius: var(--r-2); box-shadow: var(--ombre-flottant); border-color: transparent; }
.flottant-picto { border-radius: 50%; background: var(--vert); }
.illu-vignette { border-radius: var(--r-2); background: var(--fond-alt); }
.mock-cadre { background-color: var(--bleu-975); background-image: radial-gradient(var(--bleu-925) 1px, transparent 1.4px); border-color: var(--bleu-925); border-radius: var(--r-3); }
.mock { border-radius: var(--r-2); box-shadow: var(--ombre-2); }

/* ── 15. Mouvement ───────────────────────────────────────────────────────── */
/* Les contenus ne sont JAMAIS masqués sans la classe .js-anime, posée par le
   script seulement si le visiteur n'a pas demandé moins de mouvement. */
.js-anime [data-apparait] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--sortie), transform .8s var(--sortie);
  transition-delay: calc(var(--rang, 0) * 90ms);
}
.js-anime [data-apparait="1"] { --rang: 1; }
.js-anime [data-apparait="2"] { --rang: 2; }
.js-anime [data-apparait="3"] { --rang: 3; }
.js-anime [data-apparait="4"] { --rang: 4; }
.js-anime [data-apparait].est-visible { opacity: 1; transform: none; }

@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.js-anime .vitrine-puce { animation: flotte 6s ease-in-out infinite; }
.js-anime .scene-fiche { animation: flotte 7s ease-in-out infinite; }
.js-anime .humain-carte { animation: flotte 8s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .vitrine-vue img { animation: none !important; transform: none !important; }
}

/* ── 16. Très petits écrans ──────────────────────────────────────────────── */
@media (max-width: 22.5em) {
  :root { --gouttiere: .875rem; }
  .bouton { padding-inline: 1rem; }
  .marque-nom { font-size: 1rem; }
}

/* ── 17. Contraste forcé et impression ──────────────────────────────────── */
@media (forced-colors: active) {
  .bouton, .carte, .tuile, .demo-onglet, .scene-onglet, .vitrine-choix button { border: 1px solid CanvasText; }
  .fdc-flag, .bande-tricolore, .filet-tricolore, .marque-embleme, .trait-tricolore { forced-color-adjust: none; }
}
@media print {
  .topbar, .bandeau-mots, .entete-outils, .burger, .nav-barre, .pied-plan, .rappel-final, .bande-photo, .vitrine, .demo, .no-print, .lien-evitement { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .section { padding-block: 1.25rem; }
  a { color: #000; }
  .carte, .offre-carte { box-shadow: none; break-inside: avoid; }
  .offre-tete { background: #fff; color: #000; border-bottom: 2px solid #000; }
  .offre-tete *, .offre-prix b { color: #000 !important; }
}

/* ── Compléments V3 ─────────────────────────────────────────────────────── */
.demo-panneau { display: flex; flex-direction: column; gap: var(--e-16); height: 100%; }
.demo-panneau.est-entree { animation: scene-entree .45s var(--sortie) both; }
.vitrine-puce-picto > span { display: contents; }
.vitrine-puce-picto > span[hidden] { display: none !important; }
.form-suite li > span { display: flex; flex-direction: column; }
.section--nuit .tableau, .section--sombre .tableau { color: var(--texte); }
.section--nuit .tableau caption, .section--sombre .tableau caption { color: var(--texte); background: #fff; }
.tableau tfoot th, .tableau tfoot td { background: var(--bleu-975); border-top: 2px solid var(--bleu); border-bottom: 0; font-size: var(--t-16); }
.tableau tbody tr:last-child th[scope="row"] { font-weight: 700; }
@media (min-width: 75em) { .methode-etape h3 { min-height: 2.7em; } }
.methode-etape .tres-petit { margin-top: -.35rem; }
@media (max-width: 61.99em) {
  .humain-visuel > picture img, .humain-visuel > img { aspect-ratio: 16 / 10; }
  .scene-visuel > picture img { aspect-ratio: 16 / 10; }
}

/* ── Fonctionnalités (30/09/2026) ───────────────────────────────────────── */
.fonctions { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e-16); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40em) { .fonctions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62em) { .fonctions--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fonctions--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fonction { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; padding: var(--e-20); background: #fff; border: 1px solid var(--filet); border-radius: var(--r-2); transition: border-color var(--duree), box-shadow var(--duree), transform var(--duree) var(--sortie); }
.fonction:hover { border-color: var(--bleu-850); box-shadow: var(--ombre-1); transform: translateY(-2px); }
.fonction-picto { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--r-2); margin-bottom: .25rem; }
.fonction-picto svg { width: 1.4rem; height: 1.4rem; }
.fonction-titre { font-size: var(--t-17); line-height: 1.3; }
.fonction-texte { font-size: var(--t-15); color: var(--texte-2); line-height: 1.5; }
.fonction .etiq { margin-top: auto; }

/* Bandeau des atouts, sur l'accueil */
.atouts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--filet); border: 1px solid var(--filet); border-radius: var(--r-3); overflow: hidden; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 62em) { .atouts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.atouts a { display: flex; gap: .8rem; align-items: flex-start; height: 100%; padding: var(--e-20); background: #fff; color: var(--texte); text-decoration: none; transition: background-color var(--duree); }
.atouts a:hover { background: var(--bleu-975); }
.atouts a:hover b { color: var(--bleu); text-decoration: underline; text-underline-offset: .2em; }
.atouts .fonction-picto { flex: none; width: 2.5rem; height: 2.5rem; margin: 0; }
.atouts b { display: block; font-size: var(--t-16); line-height: 1.3; }
.atouts small { display: block; font-size: var(--t-14); color: var(--texte-3); line-height: 1.4; margin-top: .15rem; }

/* Administration du secrétariat (maquette) */
.wp--grand { max-width: 40rem; margin-inline: auto; }
.wp--grand .wp-corps { grid-template-columns: 2.75rem minmax(0, 1fr); }
@media (min-width: 40em) { .wp--grand .wp-corps { grid-template-columns: 11.5rem minmax(0, 1fr); } }
.wp-fichier-actuel { display: flex; gap: .7rem; align-items: center; padding: .6rem .75rem; border-radius: 4px; background: #fff; border: 1px solid #dcdcde; font-size: .85rem; color: #50575e; opacity: .75; }
.wp-fichier-actuel b { text-decoration: line-through; text-decoration-color: rgba(179, 38, 30, .6); }
.js-anime .wp-depot--anime { animation: depot-pulse 3.2s ease-in-out infinite; }
@keyframes depot-pulse { 0%, 100% { border-color: #c3c4c7; } 50% { border-color: #2271b1; background: #f0f6fc; } }

/* Trois gestes */
.gestes { display: grid; gap: var(--e-24); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 62em) { .gestes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.geste { display: flex; flex-direction: column; gap: var(--e-12); }
.geste-schema { display: grid; place-items: center; min-height: 12rem; padding: var(--e-24); margin-bottom: var(--e-8); border-radius: var(--r-3); background: var(--bleu-975); border: 1px solid var(--bleu-925); overflow: hidden; }
.flux { display: grid; grid-template-columns: auto 2.5rem auto; align-items: center; gap: .5rem; font-size: var(--t-14); }
.flux-source { display: flex; gap: .5rem; align-items: center; padding: .7rem .8rem; border-radius: var(--r-2); background: #fff; box-shadow: var(--ombre-1); color: var(--bleu); }
.flux-source b { display: block; color: var(--texte); }
.flux-source small { display: block; color: var(--texte-3); font-size: var(--t-12); }
.flux-fleches { display: flex; flex-direction: column; gap: 1.05rem; }
.flux-fleches i { display: block; height: 2px; background: linear-gradient(90deg, var(--bleu-850), var(--bleu)); border-radius: 2px; transform-origin: left; }
.js-anime .geste.est-visible .flux-fleches i { animation: flux-trace 1.2s var(--sortie) both; }
.js-anime .geste.est-visible .flux-fleches i:nth-child(2) { animation-delay: .15s; }
.js-anime .geste.est-visible .flux-fleches i:nth-child(3) { animation-delay: .3s; }
@keyframes flux-trace { from { transform: scaleX(0); } to { transform: none; } }
.flux-cibles { display: flex; flex-direction: column; gap: .45rem; }
.flux-cibles span { display: flex; gap: .4rem; align-items: center; padding: .35rem .6rem; border-radius: var(--r-1); background: #fff; border: 1px solid var(--bleu-925); font-weight: 600; white-space: nowrap; }
.flux-cibles svg { color: var(--vert); }
.remplace { display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: var(--t-14); font-weight: 600; }
.remplace > span { display: flex; gap: .6rem; align-items: center; padding: .55rem .8rem; border-radius: var(--r-2); background: #fff; box-shadow: var(--ombre-1); }
.remplace-ancien { opacity: .55; text-decoration: line-through; }
.remplace > .remplace-fleche { transform: rotate(90deg); color: var(--bleu); background: none; box-shadow: none; padding: 0; }
.remplace-nouveau em { font-style: normal; font-size: var(--t-12); color: var(--vert); background: var(--vert-fond); padding: .1rem .4rem; border-radius: var(--r-1); }
.raccourcis { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; width: 100%; max-width: 16rem; }
.raccourcis li { display: flex; gap: .5rem; align-items: center; padding: .5rem .7rem; border-radius: var(--r-2); background: #fff; border: 1px solid var(--bleu-925); font-size: var(--t-14); font-weight: 600; }
.raccourcis li svg:first-child { color: var(--texte-3); }
.raccourcis li svg + svg { color: var(--vert); }
.raccourcis .est-deplace { box-shadow: var(--ombre-flottant); border-color: var(--bleu); transform: translateX(.6rem) rotate(-1.5deg); }
.js-anime .raccourcis .est-deplace { animation: glisse 4s ease-in-out infinite; }
@keyframes glisse { 0%, 100% { transform: translateX(.6rem) rotate(-1.5deg); } 50% { transform: translate(.6rem, -2.6rem) rotate(-1.5deg); } }

/* Fiche Service-Public (maquette) */
.fiche-sp-corps { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .55rem; font-size: .84rem; }
.fiche-sp-fil { color: #6b7080; font-size: .72rem; }
.fiche-sp-titre { font-weight: 800; font-size: 1.05rem; color: #1d2b4a; }
.fiche-sp-verif { display: inline-flex; gap: .35rem; align-items: center; color: #18753c; font-size: .72rem; font-weight: 600; }
.fiche-sp-etapes { list-style: none; margin: 0; padding: 0; counter-reset: fsp; display: flex; flex-direction: column; gap: .45rem; }
.fiche-sp-etapes li { counter-increment: fsp; display: grid; grid-template-columns: 1.6rem 1fr; column-gap: .55rem; padding: .55rem .6rem; border: 1px solid #e6e8ef; border-radius: 6px; }
.fiche-sp-etapes li::before { content: counter(fsp); grid-row: span 2; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #1d4f91; color: #fff; font-weight: 700; font-size: .72rem; }
.fiche-sp-etapes span { color: #6b7080; font-size: .74rem; }
.fiche-sp-local { display: flex; gap: .55rem; align-items: center; padding: .55rem .65rem; border-radius: 6px; background: #f3fbfa; border: 1px dashed #2b7a78; color: #2b7a78; }
.fiche-sp-local b { display: block; color: #1d2b4a; font-size: .8rem; }
.fiche-sp-local small { color: #6b7080; font-size: .7rem; }
.fiche-sp-source { color: #6b7080; font-size: .68rem; text-align: right; }

/* Démonstration du panneau d'accessibilité */
.a11y-demo { display: grid; gap: var(--e-16); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 40em) { .a11y-demo { grid-template-columns: 15.5rem minmax(0, 1fr); } }
.a11y-panneau { display: flex; flex-direction: column; gap: .35rem; padding: .75rem; border-radius: var(--r-3); background: #fff; box-shadow: var(--ombre-2); border: 1px solid var(--filet); }
.a11y-panneau-titre { display: flex; gap: .5rem; align-items: center; margin: -.75rem -.75rem .35rem; padding: .7rem .9rem; border-radius: var(--r-3) var(--r-3) 0 0; background: var(--nuit); color: #fff; font-family: var(--police-menu); font-weight: 700; font-size: var(--t-15); }
.a11y-reglage { display: flex; justify-content: space-between; align-items: center; gap: .5rem; width: 100%; min-height: 2.6rem; padding: .45rem .6rem; border: 1px solid var(--filet); border-radius: var(--r-2); background: #fff; color: var(--texte); font-family: var(--police-menu); font-size: var(--t-14); font-weight: 600; text-align: left; }
.a11y-reglage > span:first-child { display: flex; gap: .5rem; align-items: center; }
.a11y-reglage svg { color: var(--bleu); flex: none; }
button.a11y-reglage:hover { border-color: var(--bleu); background: var(--bleu-975); }
.a11y-reglage i { flex: none; position: relative; width: 2.1rem; height: 1.2rem; border-radius: 999px; background: #cfcfcf; transition: background-color var(--duree); }
.a11y-reglage i::after { content: ''; position: absolute; top: .15rem; left: .15rem; width: .9rem; height: .9rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform var(--duree) var(--sortie); }
.a11y-reglage[aria-pressed="true"] { border-color: var(--bleu); background: var(--bleu-975); }
.a11y-reglage[aria-pressed="true"] i { background: var(--bleu); }
.a11y-reglage[aria-pressed="true"] i::after { transform: translateX(.9rem); }
.a11y-duo { display: flex; gap: .3rem; }
.a11y-duo button { min-width: 2.4rem; min-height: 2rem; border: 1px solid var(--bleu-850); border-radius: var(--r-1); background: var(--bleu-975); color: var(--bleu); font-weight: 800; font-size: var(--t-14); }
.a11y-duo button:hover { background: var(--bleu); color: #fff; }
.a11y-panneau-pied { font-size: var(--t-12); color: var(--texte-3); text-align: center; margin-top: .2rem; }
.a11y-echantillon { padding: var(--e-24); border-radius: var(--r-3); background: #fff; border: 1px solid var(--filet); box-shadow: var(--ombre-1); font-size: var(--taille-a11y, 1rem); transition: background-color var(--duree), color var(--duree); }
.a11y-echantillon h3, .a11y-echantillon .a11y-titre { font-size: 1.3em; margin: .5rem 0 .6rem; line-height: 1.25; font-weight: 750; color: var(--texte); letter-spacing: -.01em; }
.a11y-echantillon p { font-size: 1em; line-height: 1.6; color: var(--texte-2); }
.a11y-echantillon p + p { margin-top: .5em; }
.a11y-echantillon .a11y-echantillon-meta { display: flex; gap: .6rem; align-items: center; font-size: .85em; }
.a11y-version[data-version="falc"] { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--filet); }
.a11y-actif .a11y-version[data-version="falc"] { display: none; margin: 0; padding: 0; border: 0; }
.a11y-actif.est-falc .a11y-version[data-version="falc"] { display: block; }
.a11y-actif.est-falc .a11y-version[data-version="normale"] { display: none; }
.a11y-echantillon.est-contraste { background: #000; color: #fff; border-color: #000; }
.a11y-echantillon.est-contraste .a11y-titre, .a11y-echantillon.est-contraste p { color: #fff; }
.a11y-echantillon.est-contraste .etiq { background: #ffd200; color: #000; }
.a11y-echantillon.est-lisible, .a11y-echantillon.est-lisible .a11y-titre { font-family: Verdana, Tahoma, 'DejaVu Sans', sans-serif; letter-spacing: 0; }
.a11y-echantillon.est-espace p { letter-spacing: .12em; word-spacing: .16em; line-height: 2; }
.a11y-echantillon.est-lecture { box-shadow: 0 0 0 3px var(--bleu-850), var(--ombre-1); }
@media (max-width: 75em) and (min-width: 62em) {
  .nav-lien { padding-inline: .7rem; }
  .nav-item--mega .nav-lien { padding-right: .25rem; }
}

/* ══ V4 · 30/09/2026 ══════════════════════════════════════════════════════
   Maquette « index v4 » et planche d'ambiance : photo, notes manuscrites,
   touches tricolores, crème et bleu pâle. Tout ce qui suit complète ou
   remplace les règles V3 ci-dessus.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Fonds et textures ─────────────────────────────────────────────────── */
.section--bleu { background: var(--bleu-975); }
.section--creme { background-color: var(--creme); }
.section--topo, .section--creme.section--topo {
  background-image: url('/assets/img/v4-topo-creme.svg');
  background-repeat: no-repeat;
  background-position: right -12rem top -6rem;
  background-size: 62rem auto;
}
.section--pale { background: var(--bleu-950); }

/* ── Petits éléments de la planche ─────────────────────────────────────── */
/* Filet bleu-rouge, sous un titre ou un surtitre */
.filet-tricolore { display: inline-flex; gap: 6px; }
.filet-tricolore i { display: block; width: 18px; height: 3px; border-radius: 2px; background: #1f4fbf; }
.filet-tricolore i + i { background: var(--rouge); }

/* Note manuscrite (Caveat) et son trait de pinceau tricolore */
.note-main {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  font-family: var(--police-main); font-weight: 500;
  font-size: clamp(1.45rem, 1.05rem + 1.1vw, 2.05rem); line-height: 1.02;
  color: var(--bleu); transform: rotate(-9deg); transform-origin: left bottom;
  pointer-events: none;
}
.note-main span:nth-child(2) { padding-left: .85em; }
.note-main span:nth-child(3) { padding-left: 1.7em; }
.note-main .trait-tricolore { width: 4.6em; height: auto; margin: .12em 0 0 2.1em; overflow: visible; }

/* Chiffres et prix : en Playfair, plus chaleureux que la grotesque */
.chiffre-valeur, .heros-repere-valeur, .offre-prix b, .offre-cote-prix, .methode-bilan-chiffre,
.cellule-chiffre, .jeton-chiffre, .rappel-carte .rappel-tel {
  font-family: var(--police-titre); font-weight: 600; letter-spacing: -.01em; font-variant-numeric: lining-nums;
}

/* Cartes : un peu plus d'air et de rondeur */
.carte { box-shadow: var(--ombre-1); }
.carte--lien::after, a.carte::after { background: linear-gradient(90deg, #1f4fbf 0 50%, var(--rouge) 50% 100%); }
.tuile { border-bottom-color: var(--bleu); border-radius: var(--r-2) var(--r-2) 0 0; }
.encadre { border-left-color: #1f4fbf; }
.faq-item summary { font-family: var(--police-titre); font-weight: 600; color: var(--titre); }
.etiq--reel { background: #e2f3e8; color: #13653a; }

/* Démonstration : l'écran d'administration garde une police d'interface */
.wp-contenu h3, .wp-contenu .wp-h3, .apercu h3, .scene-fiche { font-family: var(--police); }

/* ── Héros des pages intérieures ───────────────────────────────────────── */
.heros-page {
  background:
    url('/assets/img/v4-topo-bleu.svg') right -14rem top -8rem / 60rem auto no-repeat,
    linear-gradient(180deg, var(--bleu-975), #fff 88%);
}
.heros-page h1 { font-size: var(--t-48); }
.fil + .heros-page { padding-top: var(--e-32); }

/* ── Bandeau final commun (crème, dessin de village) ───────────────────── */
.rappel-final {
  background: var(--creme) url('/assets/img/v4-topo-creme.svg') left -16rem top -10rem / 62rem auto no-repeat;
  color: var(--texte);
}
.rappel-final::before { display: none; }
.rappel-final h2 { color: var(--titre); font-size: var(--t-48); }
.rappel-final h2 .serif { color: var(--bleu-vif); }
.rappel-final .chapo { color: var(--texte-2); }
.rappel-final .surtitre { color: #34507a; }
@media (min-width: 62em) { .rappel-grille { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.rappel-direct { display: flex; gap: .75rem; align-items: center; font-size: var(--t-15); color: var(--texte-2); line-height: 1.4; }
.rappel-direct-picto {
  display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: #fff; color: var(--bleu); box-shadow: var(--ombre-1);
}
.rappel-direct small { display: block; font-size: var(--t-13); color: var(--texte-3); }
.rappel-direct .rappel-tel { font-weight: 750; color: var(--bleu); font-variant-numeric: tabular-nums; }
.rappel-illustration { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: var(--e-8); }
.rappel-illustration img { width: 100%; max-width: 34rem; margin-left: auto; opacity: .95; }
.rappel-note { position: absolute; top: -.5rem; right: 2%; }
@media (max-width: 61.99em) { .rappel-note { position: static; align-self: flex-end; margin-bottom: -1rem; } }
.rappel-final .rappel-refrain { font-size: var(--t-15); color: var(--texte-2); text-align: right; }
.rappel-final .rappel-refrain strong { color: var(--bleu); }

/* ── Accueil 1 · Héros photographique ──────────────────────────────────── */
.heros-v4 { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; }
.heros-v4-photo { position: relative; order: 2; height: clamp(16rem, 62vw, 26rem); }
.heros-v4-photo { overflow: hidden; }
.heros-v4-diapo { position: absolute; inset: 0; opacity: 0; overflow: hidden; transition: opacity 1.4s ease; }
.heros-v4-diapo.est-active { opacity: 1; }
.heros-v4-photo picture, .heros-v4-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.js-anime .heros-v4-diapo.est-active img { animation: paysage-zoom 9s ease-out both; }
@keyframes paysage-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.heros-v4-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.35) 22%, rgba(255,255,255,0) 45%);
}
.heros-v4-grille { position: relative; order: 1; padding-block: var(--e-40) var(--e-24); }
.heros-v4-texte { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: var(--e-16); max-width: 38rem; }
.heros-v4-texte .surtitre { color: #34507a; }
.heros-v4-texte .filet-tricolore { margin-top: -.35rem; }
.heros-v4 h1 { font-size: clamp(2.3rem, 1.4rem + 3vw, 3.7rem); line-height: 1.05; letter-spacing: -.02em; max-width: 11.5em; }
.heros-v4 .chapo { font-size: var(--t-18); color: var(--texte-2); max-width: 34rem; }
.heros-v4 .groupe-boutons { margin-top: var(--e-8); }
.heros-v4-confiance { list-style: none; margin: var(--e-16) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--e-12) var(--e-20); width: max-content; max-width: calc(100vw - 2 * var(--gouttiere)); font-size: var(--t-14); font-weight: 550; color: var(--bleu); }
.heros-v4-confiance li { display: inline-flex; align-items: center; gap: .5rem; }
.heros-v4-confiance li > span { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--filet), var(--ombre-1); color: var(--bleu); }
.heros-v4-note { display: none; }
.heros-v4-defiler { display: none; }

@media (min-width: 62em) {
  .heros-v4 { display: block; min-height: clamp(36rem, 46vw, 44rem); }
  .heros-v4-photo { position: absolute; inset: 0 0 0 26%; height: auto; }
  .heros-v4-photo::after {
    background:
      linear-gradient(90deg, #fff 0%, rgba(255,255,255,.92) 14%, rgba(255,255,255,.55) 32%, rgba(255,255,255,0) 52%),
      linear-gradient(0deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 18%);
  }
  .heros-v4-grille { min-height: inherit; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: var(--e-64) var(--e-80); }
  .heros-v4-texte { max-width: 36rem; }
  /* Note en bas à droite, sur la photo (heros-v4-note--bas, 01/10/2026) */
  .heros-v4-note { display: inline-flex; position: absolute; right: calc(var(--gouttiere) + 4.5rem); bottom: clamp(4.5rem, 11vh, 7.5rem); font-size: clamp(1.85rem, 1.1rem + 1.6vw, 2.75rem); transform: rotate(-6deg); transform-origin: right bottom; color: var(--bleu); text-shadow: 0 0 10px #fff, 0 0 22px rgba(255,255,255,.95); }
}
@media (min-width: 75em) {
  .heros-v4-confiance { max-width: 44rem; }
  .heros-v4-defiler {
    position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: .15rem;
    font-size: .6875rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase;
    color: var(--texte-3); text-decoration: none;
  }
  .js-anime .heros-v4-defiler svg { animation: defiler 2.4s ease-in-out infinite; }
}
@keyframes defiler { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ── Accueil 2 · Notre engagement ──────────────────────────────────────── */
.engagement-v4 { display: grid; grid-template-columns: minmax(0, 1fr); background: #fbf8f2; }
.engagement-v4-visuel { position: relative; min-height: 22rem; }
.engagement-v4-visuel > picture, .engagement-v4-visuel > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 36% 50%; }
.engagement-v4-citation {
  position: absolute; left: var(--gouttiere); right: var(--gouttiere); bottom: var(--e-24);
  display: flex; flex-direction: column; gap: var(--e-12);
  max-width: 23rem; margin: 0; padding: var(--e-24) var(--e-24) var(--e-20) var(--e-48);
  background: #fff; border-radius: var(--r-2); box-shadow: var(--ombre-flottant);
}
.engagement-v4-guillemet {
  position: absolute; left: 1rem; top: .6rem;
  font-family: var(--police-titre); font-size: 3.6rem; line-height: 1; color: var(--bleu-850);
}
.engagement-v4-citation blockquote { margin: 0; }
.engagement-v4-citation blockquote p { font-family: var(--police-titre); font-size: var(--t-18); line-height: 1.45; color: var(--titre); }
.engagement-v4-citation figcaption { display: flex; flex-direction: column; font-size: var(--t-13); color: var(--texte-3); }
.engagement-v4-citation figcaption b { color: var(--titre); font-size: var(--t-14); }
.engagement-v4-citation figcaption::after { content: ''; width: 1.75rem; height: 2px; margin-top: .6rem; background: var(--bleu-850); }
.engagement-v4-texte { padding: var(--section) var(--gouttiere); }
.engagement-v4-int { display: flex; flex-direction: column; align-items: flex-start; gap: var(--e-20); max-width: 38rem; }
.engagement-v4-chapo { color: var(--texte-2); font-size: var(--t-16); }
.atouts-v4 { list-style: none; margin: var(--e-8) 0 var(--e-8); padding: 0; display: grid; gap: var(--e-24) var(--e-32); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 36em) { .atouts-v4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.atouts-v4 li { display: flex; gap: var(--e-16); align-items: flex-start; }
.atouts-v4 b { display: block; font-family: var(--police-titre); font-size: var(--t-17); font-weight: 600; color: var(--titre); line-height: 1.3; margin-bottom: .2rem; }
.atouts-v4 small { display: block; font-size: var(--t-14); color: var(--texte-2); line-height: 1.5; }
.atouts-v4-picto { display: grid; place-items: center; flex: none; width: 3.4rem; height: 3.4rem; border-radius: 50%; }
.atouts-v4-picto svg { width: 1.45rem; height: 1.45rem; }
@media (min-width: 62em) {
  .engagement-v4 { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
  .engagement-v4-visuel { min-height: 36rem; }
  /* Le contenu reste dans la grille du site, même quand la photo va jusqu'au bord */
  .engagement-v4-citation { left: max(var(--gouttiere), min(calc((100vw - var(--max)) / 2), 12vw)); right: auto; bottom: 10%; }
}
@media (min-width: 100em) {
  .engagement-v4-citation { max-width: 18.5rem; }
  .engagement-v4-citation blockquote p { font-size: var(--t-17); }
  .engagement-v4-texte { display: flex; align-items: center; padding: var(--section) max(var(--gouttiere), calc((100vw - var(--max)) / 2)) var(--section) clamp(2rem, 5vw, 5.5rem); }
}

/* ── Accueil 3 · Des communes qui nous font confiance ──────────────────── */
.realisations-v4 { background: var(--bleu-950) url('/assets/img/v4-topo-bleu.svg') left -18rem bottom -16rem / 58rem auto no-repeat; }
.realisations-v4-grille { display: grid; gap: var(--e-40); grid-template-columns: minmax(0, 1fr); align-items: center; }
.realisations-v4-intro { display: flex; flex-direction: column; align-items: flex-start; gap: var(--e-20); }
.realisations-v4-intro p:not(.surtitre) { color: var(--texte-2); font-size: var(--t-16); }
@media (min-width: 62em) { .realisations-v4-grille { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: var(--e-48); } }
.realisations-v4-cartes { position: relative; }
.realisations-v4-cartes .defileur-fleches { justify-content: flex-end; margin-bottom: var(--e-12); }
.realisations-v4-cartes .defileur-fleches button { border-radius: 50%; background: #fff; }
.realisations-v4-cartes .defileur-piste { gap: var(--e-16); grid-auto-columns: minmax(15rem, 80%); padding: .25rem .25rem 1rem; }
@media (min-width: 40em) { .realisations-v4-cartes .defileur-piste { grid-auto-columns: calc((100% - var(--e-16)) / 2.15); } }
@media (min-width: 75em) { .realisations-v4-cartes .defileur-piste { grid-auto-columns: calc((100% - 2 * var(--e-16)) / 3); } }
.ref-carte {
  position: relative; height: 100%; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-2); overflow: hidden; box-shadow: var(--ombre-1);
  transition: transform var(--duree) var(--sortie), box-shadow var(--duree);
}
.ref-carte:hover { transform: translateY(-3px); box-shadow: var(--ombre-2); }
.ref-carte-visuel { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bleu-975); }
.ref-carte-visuel img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--sortie); }
.ref-carte:hover .ref-carte-visuel img { transform: scale(1.04); }
.ref-carte-visuel .etiq { position: absolute; left: .6rem; top: .6rem; box-shadow: var(--ombre-1); }
.ref-carte-corps { position: relative; flex: 1; display: flex; flex-direction: column; gap: .35rem; padding: var(--e-16) var(--e-16) var(--e-48); }
.ref-carte h3 { font-size: var(--t-18); }
.ref-carte h3 a { color: var(--titre); text-decoration: none; }
.ref-carte h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.ref-carte h3 a:focus-visible { outline: none; }
.ref-carte:has(h3 a:focus-visible) { outline: 2px solid var(--bleu); outline-offset: 3px; }
.ref-carte-lieu { font-size: var(--t-13); color: var(--texte-3); }
.ref-carte-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.ref-carte-tags i {
  font-style: normal; font-size: .625rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  padding: .22rem .45rem; border-radius: 3px; background: var(--bleu-975); color: var(--texte-2); border: 1px solid var(--filet-doux);
}
.ref-carte-fleche { position: absolute; right: var(--e-16); bottom: var(--e-16); color: var(--bleu); transition: transform var(--duree) var(--sortie); }
.ref-carte:hover .ref-carte-fleche { transform: translateX(3px); }
.ref-carte--votre { background: #fffdf8; box-shadow: none; border: 1.5px dashed var(--creme-3); }
.ref-carte-dessin { display: grid; place-items: center; aspect-ratio: 16 / 11; padding: var(--e-16); background: var(--creme); }
.ref-carte-dessin img { width: 100%; height: auto; }
.ref-carte-note { font-size: var(--t-13); color: var(--texte-2); line-height: 1.45; margin-top: .25rem; }
.ref-carte-note a { position: relative; z-index: 2; }

/* ── Accueil 5 · Méthode en quatre étapes ──────────────────────────────── */
.methode-v4-grille { display: grid; gap: var(--e-48); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 62em) { .methode-v4-grille { grid-template-columns: minmax(0, .85fr) minmax(0, 2.15fr); gap: var(--e-48); align-items: start; } }
.methode-v4-intro { display: flex; flex-direction: column; align-items: flex-start; gap: var(--e-16); }
.methode-v4-intro p:not(.surtitre) { color: var(--texte-2); font-size: var(--t-16); }
.methode-v4-intro b { color: var(--titre); }
.etapes-v4 { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e-32) var(--e-24); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 36em) { .etapes-v4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 75em) { .etapes-v4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; } }
.etapes-v4 li { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
@media (min-width: 75em) {
  .etapes-v4 li { padding: 0 var(--e-24); }
  .etapes-v4 li + li { border-left: 1px solid var(--filet); }
}
.etapes-v4-picto {
  display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%;
  background: var(--bleu-950); color: #1f4fbf; margin-bottom: var(--e-12);
  transition: transform var(--duree) var(--ressort);
}
.etapes-v4 li:hover .etapes-v4-picto { transform: scale(1.06) rotate(-4deg); }
.etapes-v4-picto svg { width: 1.7rem; height: 1.7rem; }
.etapes-v4-num { font-family: var(--police-titre); font-size: var(--t-24); font-weight: 600; color: #1f4fbf; line-height: 1; font-variant-numeric: lining-nums; }
.etapes-v4 h3 { font-size: var(--t-18); }
.etapes-v4 p { font-size: var(--t-14); color: var(--texte-2); line-height: 1.55; }

/* ── Accueil 6 · Bandeau de repères sur photo ──────────────────────────── */
.reperes-v4 { position: relative; overflow: hidden; color: #fff; background: var(--nuit); }
.reperes-v4-photo { position: absolute; inset: 0; }
.reperes-v4-photo picture, .reperes-v4-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.reperes-v4-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 28, 58, .86), rgba(8, 28, 58, .72) 50%, rgba(8, 28, 58, .8)); }
.reperes-v4 .conteneur { position: relative; padding-block: var(--e-48); }
@media (min-width: 48em) { .reperes-v4 .conteneur { padding-block: var(--e-64); } }
.reperes-v4-liste {
  list-style: none; margin: 0; padding: var(--e-48) 0; display: grid; gap: var(--e-32);
  grid-template-columns: minmax(0, 1fr); text-align: center;
}
@media (min-width: 48em) { .reperes-v4-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: var(--e-56); } }
.reperes-v4-liste li { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.reperes-v4-liste b { font-family: var(--police-titre); font-size: var(--t-48); font-weight: 500; line-height: 1; letter-spacing: -.01em; }
.reperes-v4-liste span { font-size: var(--t-15); color: #e3ebf7; max-width: 17rem; }
.reperes-v4-france { flex-direction: row !important; justify-content: center; gap: var(--e-16) !important; text-align: left; }
.reperes-v4-france svg { width: 4.25rem; height: 4.25rem; color: #fff; flex: none; }
.reperes-v4-france span { font-size: var(--t-17) !important; font-weight: 600; color: #fff !important; }
@media (min-width: 48em) { .reperes-v4-liste li + li { border-left: 1px solid rgba(255, 255, 255, .22); } }

/* ── Accueil 9 · Conseils et ressources ────────────────────────────────── */
.ressources-v4-grille { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e-24); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48em) { .ressources-v4-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ressource-carte {
  position: relative; height: 100%; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--filet); border-radius: var(--r-2); overflow: hidden;
  transition: transform var(--duree) var(--sortie), box-shadow var(--duree), border-color var(--duree);
}
.ressource-carte:hover { transform: translateY(-3px); box-shadow: var(--ombre-2); border-color: var(--bleu-850); }
.ressource-carte-visuel { display: block; aspect-ratio: 16 / 7.5; overflow: hidden; background: var(--bleu-975); }
.ressource-carte-visuel picture, .ressource-carte-visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--sortie); }
.ressource-carte:hover .ressource-carte-visuel img { transform: scale(1.04); }
.ressource-carte-corps { flex: 1; display: flex; flex-direction: column; gap: .5rem; padding: var(--e-20); }
.ressource-carte-theme { font-size: .6875rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-3); }
.ressource-carte h3 { font-size: var(--t-18); line-height: 1.3; }
.ressource-carte h3 a { color: var(--titre); text-decoration: none; }
.ressource-carte h3 a::after { content: ''; position: absolute; inset: 0; }
.ressource-carte:has(h3 a:focus-visible) { outline: 2px solid var(--bleu); outline-offset: 3px; }
.ressource-carte h3 a:focus-visible { outline: none; }
.ressource-carte-lire { margin-top: auto; padding-top: .35rem; display: inline-flex; align-items: center; gap: .4rem; font-size: var(--t-14); font-weight: 650; color: var(--bleu); }
.ressource-carte:hover .ressource-carte-lire { text-decoration: underline; text-underline-offset: .25em; }

/* ── Contact : colonne de gauche sur fond crème ───────────────────────── */
#parlons .form-carte { box-shadow: var(--ombre-2); border-color: transparent; }

@media (prefers-reduced-motion: reduce) {
  .heros-v4-defiler svg { animation: none !important; }
}
@media print {
  .heros-v4-photo, .heros-v4-note, .heros-v4-defiler, .reperes-v4-photo, .engagement-v4-visuel { display: none !important; }
  .reperes-v4 { color: #000; background: none; }
}

/* ── Budget sans grille publique (V4, 30/09/2026) ──────────────────────── */
.offre-fourchette-libelle { margin-top: .9rem; font-size: var(--t-12); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--sur-nuit-doux); }
.offre-fourchette-libelle + .offre-prix { margin-top: .3rem; }
.offre-prix b { font-size: var(--t-40); white-space: nowrap; }
.offre-ensuite b { font-size: var(--t-24); font-family: var(--police-titre); font-weight: 600; letter-spacing: -.01em; }
.offre-cote-prix { font-size: var(--t-20); }
.budget-etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e-20); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48em) { .budget-etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.budget-etapes li { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: var(--e-24); background: #fff; border: 1px solid var(--filet); border-radius: var(--r-2); box-shadow: var(--ombre-1); }
.budget-etapes .budget-etape-quand { font-size: var(--t-12); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: #1f4fbf; }
.budget-etapes h3 { font-size: var(--t-20); }
.budget-etapes p { font-size: var(--t-15); color: var(--texte-2); }
.budget-etapes .etiq { align-self: flex-start; }

/* ── Formulaire en étapes (V4, 30/09/2026) ─────────────────────────────── */
.pas-a-pas fieldset.etape.est-courante { display: flex; }
.pas-a-pas .etape.est-courante { animation: etape-entree .35s var(--sortie) both; }
@keyframes etape-entree { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.progression { display: flex; flex-direction: column; gap: .55rem; margin-bottom: var(--e-4); }
.progression-texte { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; font-size: var(--t-13); color: var(--texte-3); }
.progression-texte b { color: var(--bleu); }
.progression-texte [data-prog-titre] { font-weight: 650; color: var(--bleu); }
.progression-barre { height: 4px; border-radius: 4px; background: var(--bleu-950); overflow: hidden; }
.progression-barre i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #1f4fbf, var(--bleu)); transition: width .45s var(--sortie); }
.pas-nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-12); }
.pas-nav [data-pas-continuer] { flex: 1 1 auto; }
.pas-nav .bouton--retour { flex: none; }
.pas-note { flex-basis: 100%; min-height: 1.2em; font-size: var(--t-14); font-weight: 600; color: var(--erreur); }
.pas-note:empty { display: none; }
.pas-a-pas .etape-fin[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .pas-a-pas .etape.est-courante { animation: none; } }
.pas-nav button[type="submit"] { flex: 1 1 auto; width: auto; }

/* Diaporama de scènes de vie (héros) */
@media (prefers-reduced-motion: reduce) {
  .heros-v4-diapo { transition: none; }
  .js-anime .heros-v4-diapo.est-active img { animation: none; }
}

/* ══ Mini back-office interactif (V4, 30/09/2026) ═══════════════════════ */
.mini-admin { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e-16); }
@media (min-width: 40em) {
  .mini-admin { grid-template-columns: minmax(0, 1fr) 10.5rem; align-items: end; }
  .mini-admin-tel { margin-left: -3.25rem; margin-bottom: 1.5rem; }
  .mini-admin-pied { grid-column: 1 / -1; }
}
.mini-admin-fenetre { position: relative; z-index: 1; border-radius: var(--r-3); overflow: hidden; background: #fff; box-shadow: var(--ombre-3); border: 1px solid var(--filet); }
.mini-admin .wp-barre { display: flex; align-items: center; gap: .5rem; }
.mini-admin-direct { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #bcd0ee; }
.mini-admin-direct i { width: .45rem; height: .45rem; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); }
.js-anime .mini-admin-direct i { animation: ma-pouls 2s ease-out infinite; }
@keyframes ma-pouls { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); } 80%, 100% { box-shadow: 0 0 0 .45rem rgba(74, 222, 128, 0); } }
.mini-admin-corps { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 17rem; }
@media (min-width: 30em) { .mini-admin-corps { grid-template-columns: 10.5rem minmax(0, 1fr); } }
.mini-admin-menu { display: flex; flex-direction: column; gap: 2px; padding: .5rem 0; background: #1d2327; }
@media (max-width: 29.99em) { .mini-admin-menu { flex-direction: row; flex-wrap: wrap; padding: .4rem; } }
.mini-admin-menu button {
  display: flex; align-items: center; gap: .55rem; width: 100%; padding: .55rem .8rem; border: 0; background: none;
  color: #c3c4c7; font: inherit; font-size: var(--t-13); text-align: left; cursor: pointer; position: relative;
  transition: background-color var(--duree), color var(--duree);
}
@media (max-width: 29.99em) { .mini-admin-menu button { width: auto; border-radius: 4px; } }
.mini-admin-menu button svg { width: 1rem; height: 1rem; flex: none; }
.mini-admin-menu button:hover { background: #2c3338; color: #fff; }
.mini-admin-menu button[aria-selected="true"] { background: #2271b1; color: #fff; }
.mini-admin-menu button[aria-selected="true"]::after { content: ''; position: absolute; right: 0; top: 50%; border: 7px solid transparent; border-right-color: #f6f7f7; transform: translateY(-50%); }
@media (max-width: 29.99em) { .mini-admin-menu button[aria-selected="true"]::after { display: none; } }
.mini-admin-menu button:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.mini-admin-panneaux { background: #f6f7f7; padding: 1rem 1.1rem 1.1rem; }
.mini-admin-panneau { display: flex; flex-direction: column; gap: .7rem; font-size: var(--t-14); color: #1d2327; }
.mini-admin-panneau[hidden] { display: none; }
.mini-admin-titre { font-family: var(--police); font-size: var(--t-17); font-weight: 650; color: #1d2327; }
.mini-admin-aide { font-size: var(--t-13); color: #50575e; margin-top: -.35rem; }
.mini-admin .apercu-doc { display: inline-grid; place-items: center; width: 1.9rem; height: 1.5rem; border-radius: 3px; background: #fde8ea; color: #b32d2e; font-size: .625rem; font-weight: 800; flex: none; }
.ma-ok { display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; padding: .3rem .6rem; border-radius: 999px; background: #e2f3e8; color: #13653a; font-size: var(--t-13); font-weight: 650; }
.ma-ok svg { width: .85rem; height: .85rem; }

/* États pilotés par le script : initial, etape-1, etape-2, etape-3 (= est-fait) */
.mini-admin-panneau .ma-ok { opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s var(--sortie); }
.mini-admin-panneau.etape-3 .ma-ok, .mini-admin-panneau.est-fait .ma-ok { opacity: 1; transform: none; }

/* Cantine */
.ma-depot { position: relative; display: grid; place-items: center; min-height: 4.2rem; border: 2px dashed #a7aaad; border-radius: 6px; background: #fff; overflow: hidden; transition: border-color .3s, background-color .3s; }
.ma-depot-invite { display: inline-flex; align-items: center; gap: .45rem; color: #50575e; font-size: var(--t-13); transition: opacity .3s; }
.ma-depot-invite svg { width: 1.1rem; height: 1.1rem; }
.ma-fichier { position: absolute; left: .75rem; right: .75rem; top: .7rem; display: flex; align-items: center; gap: .6rem; opacity: 0; transform: translateY(-1.6rem) rotate(-2deg); transition: opacity .45s, transform .6s var(--ressort); }
.ma-fichier b { display: block; font-size: var(--t-13); }
.ma-fichier small { display: block; color: #50575e; font-size: .6875rem; }
.ma-progres { position: absolute; left: .75rem; right: .75rem; bottom: .55rem; height: 4px; border-radius: 4px; background: #dcdcde; overflow: hidden; opacity: 0; transition: opacity .3s; }
.ma-progres i { display: block; height: 100%; width: 0; background: #2271b1; transition: width 1.1s ease-in-out; }
.ma-ancien { display: flex; align-items: center; gap: .5rem; font-size: var(--t-13); color: #1d2327; transition: opacity .5s; }
.ma-ancien small { opacity: 0; color: #b32d2e; font-weight: 650; transition: opacity .4s; }
.etape-1 .ma-depot, .est-fait .ma-depot { border-color: #2271b1; background: #f0f6fc; }
.etape-1 .ma-depot-invite, .est-fait .ma-depot-invite { opacity: 0; }
.etape-1 .ma-fichier, .est-fait .ma-fichier { opacity: 1; transform: none; }
.etape-2 .ma-progres { opacity: 1; }
.etape-2 .ma-progres i, .est-fait .ma-progres i { width: 100%; }
.etape-3 .ma-progres { opacity: 0; transition-delay: .2s; }
.etape-3 .ma-ancien, .est-fait .ma-ancien { opacity: .5; text-decoration: line-through; }
.etape-3 .ma-ancien small, .est-fait .ma-ancien small { opacity: 1; }

/* Bandeau d'alerte */
.ma-interrupteur { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.ma-switch { position: relative; width: 2.3rem; height: 1.3rem; border-radius: 999px; background: #a7aaad; transition: background-color .3s; flex: none; }
.ma-switch i { position: absolute; left: .15rem; top: .15rem; width: 1rem; height: 1rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .35s var(--ressort); }
.etape-1 .ma-switch, .est-fait .ma-switch { background: #2271b1; }
.etape-1 .ma-switch i, .est-fait .ma-switch i { transform: translateX(1rem); }
.ma-champ { display: flex; flex-direction: column; gap: .25rem; }
.ma-libelle { font-size: var(--t-12); font-weight: 600; color: #50575e; }
.ma-saisie { display: block; min-height: 2.1rem; padding: .45rem .6rem; border: 1px solid #8c8f94; border-radius: 4px; background: #fff; font-size: var(--t-13); }
.ma-champ--court .ma-saisie { max-width: 9rem; }
.ma-texte { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: bottom; max-width: 100%; clip-path: inset(0 100% 0 0); }
.etape-2 .ma-texte { clip-path: inset(0 0 0 0); transition: clip-path 1.2s steps(36, end); }
.est-fait .ma-texte { clip-path: inset(0 0 0 0); }

/* Horaires */
.ma-horaires { display: flex; flex-direction: column; gap: 2px; margin: 0; background: #fff; border: 1px solid #dcdcde; border-radius: 4px; padding: .25rem; }
.ma-horaires > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .5rem; padding: .3rem .45rem; border-radius: 3px; font-size: var(--t-13); transition: background-color .4s; }
.ma-horaires dt { font-weight: 600; }
.ma-horaires dd { margin: 0; }
.ma-apres { display: none; }
.etape-1 .ma-horaire-modifie, .est-fait .ma-horaire-modifie { background: #f0f6fc; box-shadow: inset 2px 0 0 #2271b1; }
.etape-2 .ma-avant, .est-fait .ma-avant { display: none; }
.etape-2 .ma-apres, .est-fait .ma-apres { display: inline-block; }
.etape-2 .ma-apres { animation: ma-saisie .6s steps(10, end) both; border-right: 2px solid #2271b1; padding-right: 1px; }
.etape-3 .ma-apres { border-right: 0; }
@keyframes ma-saisie { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Raccourcis */
.ma-raccourcis { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.ma-raccourcis li { position: relative; display: flex; align-items: center; gap: .5rem; height: 2.1rem; padding: 0 .6rem; border: 1px solid #dcdcde; border-radius: 4px; background: #fff; font-size: var(--t-13); font-weight: 600; transition: transform .7s var(--sortie), box-shadow .3s; }
.ma-raccourcis li svg { width: .9rem; height: .9rem; color: #8c8f94; }
.etape-1 .ma-deplace, .etape-2 .ma-deplace { box-shadow: 0 8px 18px -8px rgba(29, 35, 39, .45); z-index: 2; border-color: #2271b1; }
.etape-1 .ma-deplace { transform: scale(1.03); }
.etape-2 .ma-deplace, .etape-3 .ma-deplace, .est-fait .ma-deplace { transform: translateY(-4.9rem); z-index: 2; }
.etape-2 .ma-raccourcis li:nth-child(-n+2), .etape-3 .ma-raccourcis li:nth-child(-n+2), .est-fait .ma-raccourcis li:nth-child(-n+2) { transform: translateY(2.45rem); }

/* Le téléphone : le site des habitants */
.mini-admin-tel { position: relative; z-index: 2; justify-self: center; width: 10.5rem; padding: .45rem; border-radius: 1.6rem; background: #111827; box-shadow: var(--ombre-flottant); }
.mini-admin-tel-ecran { display: flex; flex-direction: column; gap: .3rem; min-height: 18rem; padding: .5rem .45rem .7rem; border-radius: 1.2rem; background: #fff; overflow: hidden; font-size: .625rem; color: var(--texte); }
.mt-alerte { display: flex; align-items: center; gap: .3rem; margin: -.5rem -.45rem 0; padding: 0 .5rem; max-height: 0; overflow: hidden; background: #fdf0d8; color: #7a4300; font-weight: 650; line-height: 1.3; transition: max-height .6s var(--sortie), padding .6s var(--sortie); }
.mt-alerte svg { width: .7rem; height: .7rem; flex: none; }
.a-alerte .mt-alerte { max-height: 3rem; padding: .35rem .5rem; }
.mt-entete { display: flex; align-items: center; gap: .35rem; font-size: .6875rem; color: var(--bleu); }
.mt-entete .apercu-blason { width: .9rem; height: .9rem; border-radius: 3px; background: linear-gradient(135deg, #1f4fbf, #0b2d5b); }
.mt-banniere { height: 2.6rem; border-radius: .4rem; display: flex; align-items: flex-end; padding: .3rem .4rem; color: #fff; font-weight: 700; background: linear-gradient(160deg, #2d6a8a, #3f7d57); }
.mt-titre { margin-top: .25rem; font-size: .5625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-3); }
.mt-raccourcis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .25rem; }
.mt-raccourcis li { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .3rem .1rem; border-radius: .35rem; background: var(--bleu-975); color: var(--bleu); font-size: .5rem; font-weight: 650; }
.mt-raccourcis li svg { width: .8rem; height: .8rem; }
.a-raccourcis .mt-raccourcis li[data-r="cantine"] { order: -1; background: var(--bleu-950); }
.js-anime .a-raccourcis .mt-raccourcis li[data-r="cantine"] { animation: ma-pop .6s var(--ressort); }
.mt-menu, .mt-horaire { display: flex; align-items: center; gap: .35rem; padding: .3rem .35rem; border-radius: .35rem; background: var(--fond-alt); transition: background-color .5s; }
.mt-menu .apercu-doc { width: 1.4rem; height: 1.1rem; font-size: .5rem; }
.mt-s-apres, .mt-h-apres { display: none; }
.a-cantine .mt-s-avant, .a-horaires .mt-h-avant { display: none; }
.a-cantine .mt-s-apres, .a-horaires .mt-h-apres { display: inline; }
.js-anime .a-cantine .mt-menu, .js-anime .a-horaires .mt-horaire { animation: ma-flash 1.6s ease-out; }
@keyframes ma-flash { 0% { background: #fff4c2; } 100% { background: var(--fond-alt); } }
@keyframes ma-pop { 0% { transform: scale(.85); } 60% { transform: scale(1.08); } 100% { transform: none; } }

.mini-admin-pied { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.mini-admin-pied .tres-petit { flex: 1 1 14rem; }
.mini-admin-pied .bouton-pause[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .mini-admin *, .mini-admin *::before, .mini-admin *::after { transition: none !important; animation: none !important; }
}

/* ══ Animations subtiles des schémas (V4, 30/09/2026) ═══════════════════
   Toujours déclenchées à l'apparition (classe .est-visible posée par le
   script), jamais indispensables à la lecture, coupées si mouvement réduit. */

/* Fiche Service-Public : la fiche se construit, la synchronisation tourne */
.js-anime .navigateur:not(.est-visible) .fiche-sp-etapes li,
.js-anime .navigateur:not(.est-visible) .fiche-sp-local { opacity: 0; transform: translateY(8px); }
.js-anime .navigateur.est-visible .fiche-sp-etapes li,
.js-anime .navigateur.est-visible .fiche-sp-local { animation: schema-entree .55s var(--sortie) both; }
.js-anime .navigateur.est-visible .fiche-sp-etapes li:nth-child(1) { animation-delay: .5s; }
.js-anime .navigateur.est-visible .fiche-sp-etapes li:nth-child(2) { animation-delay: .75s; }
.js-anime .navigateur.est-visible .fiche-sp-etapes li:nth-child(3) { animation-delay: 1s; }
.js-anime .navigateur.est-visible .fiche-sp-local { animation: schema-entree .55s var(--sortie) 1.4s both, schema-lueur 2.2s ease-out 2s 1; }
.js-anime .navigateur.est-visible .fiche-sp-verif svg { animation: schema-synchro 1.2s var(--sortie) .3s 2; transform-origin: center; }
@keyframes schema-entree { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes schema-lueur { 0% { box-shadow: 0 0 0 0 rgba(43, 122, 120, .35); } 100% { box-shadow: 0 0 0 .6rem rgba(43, 122, 120, 0); } }
@keyframes schema-synchro { from { transform: rotate(-180deg) scale(.6); opacity: .3; } to { transform: none; opacity: 1; } }

/* Illustrations des héros intérieurs : une respiration lente, un léger relief au survol */
.heros-page-visuel .illu { transition: transform .6s var(--sortie), box-shadow .6s var(--sortie); }
.js-anime .heros-page-visuel .illu.est-visible { animation: schema-flotte 9s ease-in-out 1.5s infinite; }
.heros-page-visuel:hover .illu { transform: translateY(-4px); box-shadow: var(--ombre-3); }
@keyframes schema-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* Fenêtres de navigateur et téléphones : un reflet discret qui passe à l'apparition */
.js-anime .navigateur.est-visible .navigateur-ecran,
.js-anime .reference-visuels.est-visible .navigateur-ecran { position: relative; }
.js-anime .navigateur.est-visible .navigateur-ecran::after,
.js-anime .reference-visuels.est-visible .navigateur-ecran::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  transform: translateX(-100%); animation: schema-reflet 1.6s ease-out .6s 1 both;
}
@keyframes schema-reflet { to { transform: translateX(100%); } }

/* Cartes de fonctions : le pictogramme s'anime au survol */
.fonction:hover .fonction-picto svg, .atouts-v4 li:hover .atouts-v4-picto svg, .mega-item:hover .mega-item-picto svg { animation: schema-pique .45s var(--ressort); }
@keyframes schema-pique { 0% { transform: none; } 45% { transform: translateY(-3px) rotate(-6deg); } 100% { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .heros-page-visuel .illu, .navigateur-ecran::after, .fiche-sp-etapes li, .fiche-sp-local, .fiche-sp-verif svg { animation: none !important; transition: none !important; }
  .heros-page-visuel:hover .illu { transform: none; }
}

/* Note manuscrite du héros : un halo doux la garde lisible sur les scènes chargées */
.heros-v4-note { isolation: isolate; }
.heros-v4-note::before {
  content: ''; position: absolute; inset: -1.6rem -2.2rem -1.2rem -1.8rem; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .92), rgba(255, 255, 255, .7) 55%, rgba(255, 255, 255, 0));
}

/* ── Accueil 1 · Premier écran (01/10/2026) ─────────────────────────────────
   Sur ordinateur : bandeau d'infos + en-tête + héros = 100svh (le bandeau de
   mots-clés est passé sous l'édito).
   Le héros prend la place restante ; il peut dépasser si son texte l'exige
   (petits écrans), mais ne descend jamais sous 32rem. */
@media (min-width: 62em) {
  /* Le héros remonte sous l'en-tête (transparent en haut de page) : il
     commence juste sous le bandeau d'infos et prend 100svh moins ce bandeau. */
  .premier-ecran {
    display: flex; flex-direction: column; margin-top: calc(-1 * var(--h-entete-ligne));
    min-height: calc(100vh - var(--h-topbar));
    min-height: calc(100svh - var(--h-topbar));
  }
  .premier-ecran > .heros-v4 { flex: 1 0 auto; display: flex; flex-direction: column; min-height: 32rem; }
  .premier-ecran .heros-v4-grille {
    flex: 1 0 auto; min-height: 0;
    padding-block: calc(var(--h-entete-ligne) + clamp(2rem, 7vh, 4rem)) clamp(2.5rem, 9vh, 5rem);
  }
  /* Voile clair en haut de la photo : le menu reste lisible sur l'image */
  .premier-ecran .heros-v4-photo::after {
    background:
      linear-gradient(180deg, rgba(255,255,255,.88) 0, rgba(255,255,255,.6) var(--h-entete-ligne), rgba(255,255,255,0) calc(var(--h-entete-ligne) + 5rem)),
      linear-gradient(90deg, #fff 0%, rgba(255,255,255,.92) 14%, rgba(255,255,255,.55) 32%, rgba(255,255,255,0) 52%),
      linear-gradient(0deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 18%);
  }
}
/* Fenêtres basses (portables : 650 à 900 px utiles) : le titre suit la hauteur,
   les espacements se resserrent ; sous 672 px, les trois pastilles s'effacent
   (leurs idées reviennent dans le bandeau de mots-clés). */
@media (min-width: 62em) and (max-height: 56em) {
  .premier-ecran > .heros-v4 { min-height: 24rem; }
  .premier-ecran .heros-v4-grille { padding-block: calc(var(--h-entete-ligne) + clamp(1rem, 3.5vh, 2.5rem)) clamp(1.25rem, 4.5vh, 3rem); }
  .premier-ecran .heros-v4-texte { gap: var(--e-12); }
  .premier-ecran .heros-v4 h1 { font-size: min(clamp(2.3rem, 1.4rem + 3vw, 3.7rem), 7vh); }
  .premier-ecran .heros-v4 .chapo { font-size: var(--t-17); line-height: 1.55; max-width: 38rem; }
  .premier-ecran .heros-v4-confiance { margin-top: var(--e-4); }
}
@media (min-width: 62em) and (max-height: 42em) {
  .premier-ecran .heros-v4-confiance { display: none; }
}

/* Bandeau de mots-clés qui défile (sous l'édito) */
.bandeau-mots { position: relative; display: flex; align-items: center; height: var(--h-bandeau); overflow: hidden; background: var(--bleu); color: #fff; }
.bandeau-mots::before, .bandeau-mots::after { content: ''; position: absolute; top: 0; bottom: 0; z-index: 1; pointer-events: none; }
.bandeau-mots::before { left: 0; width: 3rem; background: linear-gradient(90deg, var(--bleu), rgba(11, 45, 91, 0)); }
.bandeau-mots::after { right: 0; width: 7rem; background: linear-gradient(270deg, var(--bleu) 45%, rgba(11, 45, 91, 0)); }
.bandeau-mots-piste { display: flex; flex: none; width: max-content; }
.bandeau-mots-liste { display: flex; flex: none; align-items: center; margin: 0; padding: 0; list-style: none; }
.bandeau-mots-liste li {
  position: relative; display: inline-flex; align-items: center; gap: .65rem; padding-inline: 1.5rem;
  white-space: nowrap; font-family: var(--police); font-style: normal; font-weight: 500;
  font-size: .8125rem; letter-spacing: .01em; color: rgba(255, 255, 255, .78);
}
@media (min-width: 62em) { .bandeau-mots-liste li { padding-inline: 1.9rem; font-size: .875rem; } }
.bandeau-mots-liste li::after { content: ''; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #7ea6ff; }
.bandeau-mots-liste li:nth-child(3n+2)::after { background: #fff; }
.bandeau-mots-liste li:nth-child(3n)::after { background: var(--rouge); }
.bandeau-mots-picto { display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--sur-nuit-doux); }
.bandeau-mots-picto svg { width: .9rem; height: .9rem; }
.js-anime .bandeau-mots-piste { animation: bandeau-defile 180s linear infinite; }
.bandeau-mots-piste:hover, .bandeau-mots.est-en-pause .bandeau-mots-piste { animation-play-state: paused; }
@keyframes bandeau-defile { to { transform: translateX(-50%); } }
.bandeau-mots-pause {
  position: absolute; right: var(--gouttiere); top: 50%; z-index: 2; transform: translateY(-50%);
  display: grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: var(--bleu); color: #fff; cursor: pointer;
  transition: background-color var(--duree);
}
.bandeau-mots-pause:hover { background: var(--bleu-survol); }
.bandeau-mots-pause svg { width: .85rem; height: .85rem; }
.bandeau-mots-pause span { display: inline-flex; }
.bandeau-mots-pause .icone-lecture, .bandeau-mots-pause[aria-pressed="true"] .icone-pause { display: none; }
.bandeau-mots-pause[aria-pressed="true"] .icone-lecture { display: inline-flex; }
.bandeau-mots :focus-visible { outline-color: #fff; }
/* Sans animation (mouvement réduit ou sans JavaScript) : une seule liste,
   qu'on fait défiler soi-même. */
html:not(.js-anime) .bandeau-mots { overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .35) transparent; }
html:not(.js-anime) .bandeau-mots-liste[aria-hidden], html:not(.js-anime) .bandeau-mots-pause { display: none; }

/* ── Accueil 2 · Édito (01/10/2026) ────────────────────────────────────── */
/* Texture topographique côté titre, jamais derrière le texte courant */
.edito { background-image: none; }
@media (min-width: 62em) { .edito { background-image: url('/assets/img/v4-topo-creme.svg'); background-position: left -28rem bottom -20rem; } }
.edito-grille { display: grid; gap: var(--e-32); }
.edito-tete { display: flex; flex-direction: column; align-items: flex-start; gap: var(--e-16); }
.edito h2 { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.85rem); line-height: 1.12; letter-spacing: -.015em; max-width: 14em; }
.edito h2 .suite { display: block; margin-top: .25em; font-style: italic; }
.edito-corps { display: flex; flex-direction: column; gap: 1.1rem; max-width: 40rem; font-size: var(--t-18); line-height: 1.7; color: var(--texte-2); }
.edito-corps p { margin: 0; }
.edito-corps > p:first-child::first-letter {
  float: left; margin: .06em .14em 0 0; font-family: var(--police-titre); font-size: 3.9em;
  line-height: .82; font-weight: 600; color: var(--bleu);
}
.edito-main-tendue { font-weight: 600; color: var(--titre); }
.edito-signature { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; margin-top: .25rem !important; }
.edito-nom {
  display: inline-flex; flex-direction: column; font-family: var(--police-main); font-size: 2.1rem; line-height: 1;
  color: var(--bleu); transform: rotate(-3deg); transform-origin: left center;
}
.edito-nom .trait-tricolore { width: 5.5rem; height: auto; margin: .12em 0 0 .3em; overflow: visible; }
.edito-signature small { font-size: var(--t-14); color: var(--texte-3); }
.edito-reperes {
  list-style: none; margin: var(--e-16) 0 0; padding: var(--e-24) 0 0; border-top: 1px solid var(--filet);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-20) var(--e-24);
}
.edito-reperes li { display: flex; flex-direction: column; gap: .25rem; }
.edito-reperes b { font-family: var(--police-titre); font-size: var(--t-24); font-weight: 600; line-height: 1.1; color: var(--titre); }
.edito-reperes span { font-size: var(--t-14); line-height: 1.4; color: var(--texte-2); }
.edito .lien-fleche { align-self: flex-start; }
@media (min-width: 48em) { .edito-reperes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 62em) {
  .edito-grille { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--e-80); align-items: start; }
  .edito-tete { position: sticky; top: calc(var(--h-entete-ligne) + var(--e-32)); }
}

/* CTA sous le titre de l'édito (01/10/2026) */
.edito-cta { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; margin-top: var(--e-8); }
.edito-cta .petit { max-width: 26rem; color: var(--texte-2); }
.edito-cta .petit a { white-space: nowrap; font-weight: 600; }
/* Formulaire de contact : un 5e besoin seul sur sa ligne prend toute la largeur */
.choix--2 > .choix-item:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Mot clé du titre du héros en dégradé tricolore discret (01/10/2026).
   Le « blanc » est un gris bleuté (#7f8fb5, 3,2:1 sur blanc) : le mot reste
   lisible d'un bout à l'autre, conforme pour un grand texte. */
.mot-tricolore {
  background: linear-gradient(90deg, #1f4fbf 0%, #3d63c9 30%, #7f8fb5 52%, #c95a6b 75%, #e63946 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .08em;
}
@media (forced-colors: active) { .mot-tricolore { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; } }
@media print { .mot-tricolore { background: none; color: #000; -webkit-text-fill-color: #000; } }

/* Bouton en dégradé tricolore (CTA de l'édito, 01/10/2026). Le « blanc » est
   un bleu-gris profond : le texte blanc garde au moins 5,8:1 sur tout le
   dégradé, visible en entier. Au survol, il s'éclaire légèrement. */
.bouton--tricolore {
  background: linear-gradient(90deg, #1f4fbf 0%, #34509f 28%, #4d5680 50%, #93374f 75%, #c1272d 100%);
  box-shadow: 0 8px 20px -10px rgba(120, 40, 70, .55);
  transition: filter var(--duree), box-shadow var(--duree), transform var(--duree) var(--sortie);
}
.bouton--tricolore:hover { background: linear-gradient(90deg, #1f4fbf 0%, #34509f 28%, #4d5680 50%, #93374f 75%, #c1272d 100%); filter: brightness(1.1); color: #fff; box-shadow: 0 10px 24px -10px rgba(120, 40, 70, .65); }
.bouton--tricolore:active { filter: brightness(.95); }
@media (forced-colors: active) { .bouton--tricolore { background: ButtonFace; color: ButtonText; border: 1px solid ButtonText; } }

/* Édito : texte justifié, avec césure française pour éviter les trous */
.edito-corps > p:not(.edito-main-tendue):not(.edito-signature) { text-align: justify; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3; }

