/* ═══════════════════════════════════════════════════════════════════
   Terreau Fertile — feuille de style commune à toutes les pages
   Polices auto-hébergées (licence SIL Open Font) : aucune requête externe.
   ═══════════════════════════════════════════════════════════════════ */

@font-face { font-family: "Young Serif"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/young-serif-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Next"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/atkinson-next-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Next"; font-weight: 400; font-style: italic; font-display: swap;
  src: url("fonts/atkinson-next-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Next"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/atkinson-next-700.woff2") format("woff2"); }

:root {
  /* Les couleurs viennent d'une coupe de sol : surface, limon, terre, humus.
     L'accent (nommé « pousse » par habitude) reprend l'or du logo depuis le 29.10.2026 (charte, point 4). */
  --lin: #EEF0E7;
  --papier: #F9FAF5;
  --limon: #CFCBBB;
  --limon-clair: #E1DFD3;
  --terre: #6A4C35;
  --humus: #2A2018;
  --humus-profond: #1F1812;
  --encre: #1E1813;
  --gris-terre: #5E554B;
  --pousse: #CFAC62;        /* aplats seulement : texte humus dessus = 7,4:1 */
  --pousse-claire: #DCC07F;
  --pousse-texte: #7D5F1A;  /* texte coloré sur lin = 5,2:1 */
  --feuille: #7EA176;       /* dessin de la pousse, verts du logo */
  --feuille-trait: #1F7351;
  --sur-humus: #EAE6DA;
  --sur-humus-doux: #BDB4A3;
  --alerte: #9A2F1E;

  --titre: "Young Serif", "Georgia", "Times New Roman", serif;
  --texte: "Atkinson Next", "Atkinson Hyperlegible", Verdana, "Segoe UI", system-ui, sans-serif;

  --largeur: 72rem;
  --marge: clamp(1rem, 4vw, 2.5rem);
  --fil: 0rem;              /* place réservée au fil des racines, activée sur grand écran */
  --bloc: clamp(4rem, 9vw, 7.5rem);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .92 0 0 0 0 .78 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--lin);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.125rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--titre); font-weight: 400; margin: 0; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.012em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.8rem); letter-spacing: -0.008em; }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.55rem); }
p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }
li::marker { color: var(--terre); }
strong { font-weight: 700; }
a { color: inherit; text-decoration-thickness: 0.07em; text-underline-offset: 0.2em; }
a:hover { color: var(--pousse-texte); text-decoration-thickness: 0.12em; }
:focus-visible { outline: 3px solid var(--pousse-texte); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--pousse); color: var(--humus); }

.enveloppe { max-width: var(--largeur); margin-inline: auto; padding-inline: var(--marge); }
.saut { position: absolute; left: -999rem; top: 0; z-index: 200; background: var(--humus); color: var(--sur-humus); padding: 0.8rem 1rem; }
.saut:focus { left: 0; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Bandeau « version de travail » et textes à rédiger ───────────── */
.travail { background: #F4E39A; color: var(--humus); font-size: 0.95rem; text-align: center; padding: 0.5rem var(--marge); }
.a-rediger { background: #F4E39A; outline: 2px dashed #B8961C; outline-offset: 2px; }

/* ── Boutons ──────────────────────────────────────────────────────── */
.bouton {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  background: var(--pousse); color: var(--humus);
  border: 2px solid var(--pousse); border-radius: 999px;
  padding: 0.85rem 1.45rem;
  transition: background-color 0.15s, border-color 0.15s;
}
.bouton:hover { background: var(--pousse-claire); border-color: var(--pousse-claire); color: var(--humus); }
.bouton--sombre { background: var(--humus); border-color: var(--humus); color: var(--sur-humus); }
.bouton--sombre:hover { background: var(--terre); border-color: var(--terre); color: var(--papier); }
.bouton--contour { background: transparent; border-color: currentColor; color: inherit; }
.bouton--contour:hover { background: rgba(42, 32, 24, 0.07); border-color: currentColor; color: inherit; }
.bouton--petit { padding: 0.55rem 1.05rem; font-size: 1rem; }
.bouton .graine { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: currentColor; flex: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem; }
.actions small { color: var(--gris-terre); font-size: 1rem; }

/* ── En-tête ──────────────────────────────────────────────────────── */
.entete { position: sticky; top: 0; z-index: 60; background: rgba(238, 240, 231, 0.93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--limon-clair); }
.entete__ligne { display: flex; align-items: center; gap: 1.25rem; min-height: 4.5rem; }
.marque { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; color: var(--encre); }
.marque:hover { color: var(--encre); }
.marque svg, .marque img { width: 2.5rem; height: 2.5rem; flex: none; display: block; }
.marque__nom { font-family: var(--titre); font-size: 1.3rem; line-height: 1; display: block; }
.marque__qui { display: block; font-size: 0.85rem; color: var(--gris-terre); line-height: 1.2; margin-top: 0.2rem; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav__liste { display: flex; align-items: center; gap: 1.25rem; list-style: none; margin: 0; padding: 0; font-size: 1rem; }
.nav__liste > li { margin: 0; position: relative; }
.nav__liste a, .nav__sous-bouton { text-decoration: none; padding: 0.45rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav__liste a:hover, .nav__sous-bouton:hover { border-bottom-color: var(--pousse); color: var(--encre); }
.nav__liste a[aria-current="page"] { border-bottom-color: var(--terre); }
.nav__sous-bouton { font: inherit; color: inherit; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; }
.nav__sous-bouton::after { content: ""; width: 0.45rem; height: 0.45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.15rem) rotate(45deg); transition: transform 0.15s; }
.nav__sous-bouton[aria-expanded="true"]::after { transform: translateY(0.1rem) rotate(-135deg); }
.nav__sous-bouton.est-courant { border-bottom-color: var(--terre); }
.nav__sous {
  position: absolute; top: calc(100% + 0.9rem); left: -1.25rem; width: 23rem;
  list-style: none; margin: 0; padding: 0.6rem;
  background: var(--papier); border: 1px solid var(--limon-clair); border-radius: 18px;
  box-shadow: 0 18px 40px -18px rgba(42, 32, 24, 0.35);
}
.nav__sous li { margin: 0; }
.nav__sous a { display: block; padding: 0.75rem 0.9rem; border-radius: 12px; border: 0; white-space: normal; }
.nav__sous a:hover { background: var(--lin); }
.nav__sous strong { display: block; font-family: var(--titre); font-weight: 400; font-size: 1.15rem; }
.nav__sous span { display: block; color: var(--gris-terre); font-size: 0.95rem; line-height: 1.35; }
.menu-bouton { display: none; font: inherit; font-size: 1rem; background: none; color: inherit; border: 1.5px solid var(--encre); border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer; }

/* ── Sections ─────────────────────────────────────────────────────── */
.section { padding-block: var(--bloc); }
.section--papier { background: var(--papier); }
.section--serree { padding-block: clamp(2.5rem, 5vw, 4rem); }
.humus { background-color: var(--humus); background-image: var(--grain); color: var(--sur-humus); }
.humus h1, .humus h2, .humus h3 { color: var(--papier); }
.humus a:hover { color: var(--pousse-claire); }
.humus :focus-visible { outline-color: var(--pousse); }
.humus .actions small, .humus .doux { color: var(--sur-humus-doux); }
.tete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1.25rem clamp(2rem, 6vw, 5rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.tete p { margin: 0; font-size: 1.15rem; }
.tete--seule { grid-template-columns: minmax(0, 1fr); }
.chapeau { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; }
.doux { color: var(--gris-terre); }

/* ── Ouverture de l'accueil ───────────────────────────────────────── */
.ouverture { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.ouverture__grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.ouverture h1 { max-width: 13ch; }
.surtitre { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terre); margin: 0 0 1rem; }
/* Surtitre placé dans le h1 (référencement) : même rendu qu'un paragraphe au-dessus du titre */
h1 > .surtitre { display: block; font-family: var(--texte); line-height: 1.5; text-wrap: wrap; }
.ouverture .chapeau { margin: 1.6rem 0 2.1rem; max-width: 34em; }
.coupe { margin: 0; position: relative; }
.coupe svg { display: block; width: 100%; height: auto; overflow: visible; }
.coupe img { display: block; width: 100%; height: auto; animation: apparaitre 1.2s ease-out both; }
@keyframes apparaitre { from { transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .coupe img { animation: none; } }
.coupe figcaption { font-size: 0.95rem; color: var(--gris-terre); margin-top: 0.4rem; max-width: 26em; }

/* Racines dessinées (accueil + fil des pages) */
.racine { fill: none; stroke: var(--terre); stroke-linecap: round; stroke-linejoin: round; }
.racine--anim { transition-property: stroke-dashoffset; transition-timing-function: cubic-bezier(0.3, 0.1, 0.4, 1); }
.nodule { fill: var(--pousse); transform-box: fill-box; transform-origin: center; transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1); }
.nodule--attente { transform: scale(0); }
.grain-sol { fill: var(--limon); }
.surface { fill: none; stroke: var(--terre); stroke-width: 2; stroke-linecap: round; }
.pousse-tige { fill: none; stroke: var(--feuille-trait); stroke-width: 3; stroke-linecap: round; }
.pousse-feuille { fill: var(--feuille); stroke: var(--feuille-trait); stroke-width: 1.5; }

.avec-fil { position: relative; }
.fil { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
@media (min-width: 68rem) {
  .avec-fil { --fil: 3.6rem; }
  .avec-fil .enveloppe { padding-left: calc(var(--marge) + var(--fil)); }
}
@media (max-width: 67.99rem) { .fil { display: none; } }

/* ── Situations (accueil) ─────────────────────────────────────────── */
.situations { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--limon); }
.situations li { margin: 0; }
.situation {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1rem clamp(1.5rem, 5vw, 4rem);
  align-items: center; padding-block: clamp(1.6rem, 3vw, 2.3rem);
  border-bottom: 1px solid var(--limon); text-decoration: none; color: var(--encre);
  transition: background-color 0.2s, box-shadow 0.2s;
}
.situation:hover { color: var(--encre); background: var(--papier); box-shadow: 0 0 0 100vmax var(--papier); clip-path: inset(0 -100vmax); }
.situation__phrase { font-family: var(--titre); font-size: clamp(1.45rem, 2.7vw, 2.25rem); line-height: 1.18; }
.situation__phrase::before { content: "«\00A0"; color: var(--terre); }
.situation__phrase::after { content: "\00A0»"; color: var(--terre); }
.situation__nom { display: block; font-weight: 700; font-size: 1.15rem; }
.situation__infos { display: block; color: var(--gris-terre); font-size: 1rem; }
.situation__voir { display: inline-block; margin-top: 0.5rem; font-weight: 700; text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.2em; }
.situation:hover .situation__voir { color: var(--pousse-texte); text-decoration-thickness: 0.12em; }
/* Formule sur mesure : mise en avant, aplat doré léger et filet or à gauche */
.situation--mesure { margin-top: 1.2rem; padding-inline: clamp(1rem, 2.5vw, 1.8rem); background: rgba(207, 172, 98, 0.16); border-left: 4px solid var(--pousse); border-bottom: 0; }
.situation--mesure:hover { background: rgba(207, 172, 98, 0.26); box-shadow: none; clip-path: none; }
.situation--mesure .situation__nom { color: var(--pousse-texte); }

/* ── Étapes (chemin en quatre temps) ──────────────────────────────── */
.etapes { list-style: none; counter-reset: etape; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); position: relative; }
.etapes::before { content: ""; position: absolute; left: 0.7rem; right: 0.7rem; top: 0.7rem; border-top: 2px dotted var(--terre); opacity: 0.6; }
.etapes li { counter-increment: etape; margin: 0; position: relative; }
.etapes li::before {
  content: counter(etape); display: grid; place-items: center; position: relative;
  width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--pousse); color: var(--humus);
  font-weight: 700; font-size: 0.85rem; margin-bottom: 1.2rem;
}
.etapes h3 { margin-bottom: 0.5rem; }
.etapes p { font-size: 1.02rem; margin: 0; }
.humus .etapes::before { border-top-color: var(--sur-humus-doux); }

/* ── Engagements, valeurs ─────────────────────────────────────────── */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.trio > div { border-top: 2px solid var(--encre); padding-top: 1.1rem; }
.trio h3 { margin-bottom: 0.55rem; }
.trio p { margin: 0; font-size: 1.05rem; }
.humus .trio > div { border-top-color: var(--pousse); }

/* ── Duo : titre à gauche, contenu à droite ───────────────────────── */
.duo { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); gap: 1.25rem clamp(2rem, 6vw, 5rem); padding-block: clamp(2.2rem, 4.5vw, 3.5rem); border-top: 1px solid var(--limon); }
.duo:first-child { border-top: 0; padding-top: 0; }
.duo > h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
.duo__corps > :last-child { margin-bottom: 0; }
.liste-ressentis { list-style: none; padding: 0; }
.liste-ressentis li { position: relative; padding-left: 1.6rem; margin-bottom: 0.75rem; font-size: 1.15rem; }
.liste-ressentis li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--pousse); box-shadow: 0 0 0 2px var(--pousse-texte); }

/* ── Page parcours ────────────────────────────────────────────────── */
.fil-ariane { font-size: 0.95rem; color: var(--gris-terre); margin-bottom: 1.4rem; }
.fil-ariane a { color: inherit; }
.parcours-tete { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.parcours-tete h1 { max-width: 17ch; }
.parcours-nom { font-family: var(--titre); font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--pousse-texte); margin: 1.4rem 0 0.8rem; }
.parcours-tete .chapeau { max-width: 38em; }
.faits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 2rem; margin: 2.4rem 0 0; padding-top: 1.4rem; border-top: 2px solid var(--encre); }
.faits div { margin: 0; }
.faits dt { font-size: 0.95rem; color: var(--gris-terre); }
.faits dd { margin: 0.2rem 0 0; font-weight: 700; line-height: 1.4; }
.faits dd .prix-grand { font-family: var(--titre); font-weight: 400; font-size: 1.7rem; display: block; line-height: 1.1; }
.faits dd small { display: block; font-weight: 400; color: var(--gris-terre); font-size: 0.95rem; margin-top: 0.2rem; }

.seances { list-style: none; counter-reset: seance; margin: 0; padding: 0; position: relative; }
.seances::before { content: ""; position: absolute; left: 0.95rem; top: 0.6rem; bottom: 0.6rem; border-left: 2px solid var(--terre); opacity: 0.45; }
.seances li { counter-increment: seance; position: relative; padding-left: 3.2rem; margin-bottom: 1.5rem; }
.seances li:last-child { margin-bottom: 0; }
.seances li::before {
  content: counter(seance); position: absolute; left: 0; top: 0;
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--papier); border: 2px solid var(--terre); color: var(--terre); font-weight: 700; font-size: 0.95rem;
}
.seances h3 { font-family: var(--texte); font-weight: 700; font-size: 1.15rem; margin-bottom: 0.2rem; line-height: 1.45; }
.seances p { margin: 0; }

.encart { background: var(--papier); border-left: 6px solid var(--pousse); border-radius: 0 18px 18px 0; padding: clamp(1.25rem, 3vw, 2rem); }
.encart > :last-child { margin-bottom: 0; }
.encart h3 { margin-bottom: 0.6rem; }
.encart--terre { border-left-color: var(--terre); }

.voisins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.voisins li { margin: 0; }
.voisins a { display: block; height: 100%; text-decoration: none; padding: 1.2rem 1.3rem 1.3rem; border-radius: 18px; border: 1px solid var(--limon); background: var(--lin); color: var(--encre); }
.voisins a:hover { border-color: var(--terre); color: var(--encre); background: var(--papier); }
.voisins strong { display: block; font-family: var(--titre); font-weight: 400; font-size: 1.3rem; margin-bottom: 0.25rem; }
.voisins span { display: block; color: var(--gris-terre); font-size: 1rem; line-height: 1.45; }

/* ── Cycle (page approche) ────────────────────────────────────────── */
.cycle { margin: 0.5rem 0 0; max-width: 30rem; }
.cycle svg { width: 100%; height: auto; display: block; }
.cycle text { font-family: var(--titre); font-size: 19px; fill: var(--encre); }
.cycle .cycle__trait { fill: none; stroke: var(--terre); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.cycle .cycle__fleche { fill: var(--terre); }

/* ── Cadre (deux colonnes) ────────────────────────────────────────── */
.cadre { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 6vw, 5rem); }
.cadre h3 { margin-bottom: 0.8rem; }
.cadre dl { margin: 0; }
.cadre dt { font-weight: 700; margin-top: 1.1rem; }
.cadre dd { margin: 0.2rem 0 0; }

/* ── À propos ─────────────────────────────────────────────────────── */
.portrait-grille { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.portrait { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--limon-clair); position: relative; }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.citation-marque { font-family: var(--titre); font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.3; max-width: 26ch; margin: 0; color: var(--terre); }

/* ── Tarifs ───────────────────────────────────────────────────────── */
.tableau { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.tableau caption { text-align: left; color: var(--gris-terre); font-size: 0.95rem; padding-bottom: 0.8rem; }
.tableau th, .tableau td { text-align: left; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--limon); vertical-align: top; }
.tableau thead th { font-size: 0.95rem; color: var(--gris-terre); font-weight: 400; border-bottom: 2px solid var(--encre); }
.tableau tbody th { font-family: var(--titre); font-weight: 400; font-size: 1.25rem; }
.tableau tbody th a { text-decoration: none; }
.tableau .prix-cellule { font-family: var(--titre); font-size: 1.3rem; white-space: nowrap; }
.tableau .prix-cellule small { white-space: normal; display: inline-block; max-width: 12rem; }
.tableau .lien-demande { font-family: var(--texte); font-size: 0.95rem; font-weight: 700; color: var(--pousse-texte); display: inline-block; margin-top: 0.3rem; }
.tableau-defile { overflow-x: auto; }

/* ── Questions ────────────────────────────────────────────────────── */
.questions { border-top: 2px solid var(--encre); max-width: 50rem; }
.questions details { border-bottom: 1px solid var(--limon); padding-block: 1.1rem; }
.questions summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--titre); font-size: 1.28rem; line-height: 1.3; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; font-family: var(--texte); font-size: 1.6rem; line-height: 1; color: var(--terre); flex: none; }
.questions details[open] summary::after { content: "–"; }
.questions details > div { padding-top: 0.75rem; }
.questions details > div > :last-child { margin-bottom: 0; }
.groupe-questions + .groupe-questions { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.groupe-questions h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 1.1rem; }

/* ── Contact ──────────────────────────────────────────────────────── */
.contact-grille { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "intro form" "suite form"; gap: 0 clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-intro { grid-area: intro; }
.contact-suite { grid-area: suite; }
.contact-grille .formulaire { grid-area: form; }
.formulaire { display: grid; gap: 1.1rem; background: var(--papier); border: 1px solid var(--limon-clair); border-radius: 22px; padding: clamp(1.25rem, 3vw, 2.1rem); }
.champ { display: grid; gap: 0.35rem; }
.champ label { font-weight: 700; font-size: 1rem; }
.champ .aide { font-weight: 400; color: var(--gris-terre); font-size: 0.95rem; }
.champ input, .champ select, .champ textarea {
  font: inherit; color: var(--encre); background: var(--lin); border: 1.5px solid var(--limon); border-radius: 12px; padding: 0.75rem 0.9rem; width: 100%;
}
.champ textarea { min-height: 9rem; resize: vertical; }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 3px solid var(--pousse-texte); outline-offset: 1px; background: var(--papier); }
.chronologie { list-style: none; padding: 0; margin: 0 0 1.4rem; border-left: 2px dotted var(--terre); }
.chronologie li { position: relative; padding: 0 0 1rem 1.4rem; }
.chronologie li::before { content: ""; position: absolute; left: -0.45rem; top: 0.5em; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--pousse); }
.chronologie strong { display: block; font-size: 0.95rem; color: var(--terre); }
.dispos { border: 0; margin: 0; padding: 0; min-width: 0; }
.dispos legend { font-weight: 700; font-size: 1rem; padding: 0; margin-bottom: 0.35rem; }
.dispos__choix { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dispos__choix label { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 400; font-size: 1rem; background: var(--lin); border: 1px solid var(--limon); border-radius: 999px; padding: 0.4rem 0.9rem; cursor: pointer; }
.dispos__choix label:has(input:checked) { background: var(--pousse); border-color: var(--pousse); color: var(--humus); }
.dispos__choix input { width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--pousse-texte); }
.champ .dispos__precision { font-weight: 400; margin-top: 0.5rem; }
.deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.accord { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: 1rem; }
.accord input { width: 1.25rem; height: 1.25rem; margin-top: 0.25rem; accent-color: var(--pousse-texte); }
.piege { position: absolute; left: -999rem; }
.retour { margin: 0; padding: 0.85rem 1rem; border-radius: 12px; font-weight: 700; }
.retour--ok { background: #E1EDC4; color: #2B4A10; }
.retour--erreur { background: #F5DED7; color: var(--alerte); }
.coordonnees { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.coordonnees li { margin-bottom: 0.45rem; }
.urgence { font-size: 1rem; border-top: 1px solid var(--limon); padding-top: 1.1rem; margin-top: 2rem; color: var(--gris-terre); }

/* ── Bande d'appel finale ─────────────────────────────────────────── */
.appel { padding-block: clamp(3.5rem, 8vw, 6rem); }
.appel__grille { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: end; }
.appel h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 16ch; }
.appel p { margin: 0 0 1.4rem; }

/* ── Bouton fixe sur mobile (créé par site.js) ────────────────────── */
.barre-cta { display: none; }
@media (max-width: 64rem) {
  .barre-cta {
    display: inline-flex; position: fixed; z-index: 50; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom));
    white-space: nowrap; box-shadow: 0 12px 30px -10px rgba(42, 32, 24, 0.55);
    transform: translate(-50%, 160%); visibility: hidden; transition: transform 0.25s, visibility 0.25s, background-color 0.15s;
  }
  .barre-cta.est-visible { transform: translate(-50%, 0); visibility: visible; }
}

/* ── Pied de page ─────────────────────────────────────────────────── */
.pied { background-color: var(--humus-profond); background-image: var(--grain); color: var(--sur-humus-doux); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: 1rem; }
.pied a { color: var(--sur-humus); text-decoration: none; }
.pied a:hover { color: var(--pousse-claire); text-decoration: underline; }
.pied :focus-visible { outline-color: var(--pousse); }
.pied__grille { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.pied__marque { font-family: var(--titre); font-size: 1.6rem; color: var(--papier); margin: 0 0 0.4rem; display: flex; align-items: center; gap: 0.6rem; }
.pied__marque::before { content: ""; width: 2.6rem; height: 2.6rem; flex: none; background: url("symbole.svg") center / contain no-repeat; }
.pied h2 { font-family: var(--texte); font-weight: 700; font-size: 1rem; color: var(--papier); margin-bottom: 0.8rem; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 0.45rem; }
.pied__bas { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(234, 230, 218, 0.16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; font-size: 0.95rem; }
.pied__bas p { margin: 0; }

/* ── Pages légales ────────────────────────────────────────────────── */
.legal { max-width: 48rem; }
.legal h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 0.6rem; }
.legal .maj { color: var(--gris-terre); margin-bottom: 2rem; }
.legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 2.4rem 0 0.7rem; }
.legal h3 { font-family: var(--texte); font-weight: 700; font-size: 1.1rem; margin: 1.4rem 0 0.4rem; }
.legal .bref { background: var(--papier); border-radius: 18px; padding: 1.3rem 1.5rem; }
.legal .bref ul { margin: 0; }
.vide { color: var(--alerte); font-weight: 700; }

/* ── Mouvement : uniquement si la personne l'accepte ──────────────── */
@media (prefers-reduced-motion: reduce) {
  .racine--anim, .nodule, .situation, .bouton, .barre-cta { transition: none !important; }
}

/* ── Écrans moyens et petits ──────────────────────────────────────── */
@media (max-width: 64rem) {
  .menu-bouton { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--lin); border-bottom: 1px solid var(--limon); padding: 0.4rem var(--marge) 1.4rem; max-height: calc(100vh - 4.5rem); overflow-y: auto; }
  .nav.est-ouvert { display: flex; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; font-size: 1.1rem; }
  .nav__liste a, .nav__sous-bouton { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--limon-clair); width: 100%; text-align: left; }
  .nav__sous-bouton { display: none; }
  .nav__sous, .nav .nav__sous[hidden] { position: static; width: auto; display: block !important; padding: 0 0 0 1rem; background: none; border: 0; box-shadow: none; border-radius: 0; }
  .nav__sous a { padding: 0.65rem 0; border-radius: 0; border-bottom: 1px solid var(--limon-clair); }
  .nav__sous a:hover { background: none; }
  .nav__sous span { display: none; }
  .nav__sous strong { font-size: 1.05rem; }
  .nav .bouton { margin-top: 1.2rem; align-self: flex-start; }
  .nav__parcours-titre { display: block !important; padding: 0.8rem 0 0.3rem; color: var(--gris-terre); font-size: 0.95rem; }
}
.nav__parcours-titre { display: none; }

@media (max-width: 56rem) {
  .ouverture__grille, .tete, .duo, .contact-grille, .portrait-grille, .appel__grille, .cadre { grid-template-columns: minmax(0, 1fr); }
  .coupe { max-width: 26rem; margin-inline: auto; }
  .situation { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapes::before { display: none; }
  .trio, .voisins { grid-template-columns: minmax(0, 1fr); }
  .faits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portrait { max-width: 18rem; }
}
@media (max-width: 56rem) {
  .contact-grille { grid-template-areas: "intro" "form" "suite"; row-gap: 2rem; }
}
@media (max-width: 40rem) { .col-qui { display: none; } }
@media (max-width: 34rem) {
  body { font-size: 1.06rem; }
  .marque__qui { display: none; }
  .etapes, .deux, .faits, .pied__grille { grid-template-columns: minmax(0, 1fr); }
  .entete__ligne { gap: 0.6rem; }
}
@media print {
  .entete, .travail, .appel, .formulaire, .fil, .coupe, .barre-cta { display: none !important; }
  .humus, .pied { background: none; color: inherit; }
}
