/* ==========================================================================
   Mas-if de Provence — Jardinier Paysagiste · feuille de style unique.
   Aucune dépendance externe. Sections numérotées 01 à 22 ci-dessous.
   Charte : vert profond + terre cuite + sable + crème (variables en 02).
   ========================================================================== */

/* 01 POLICES AUTO-HÉBERGÉES
   Outfit (titres) + Inter (texte), polices variables, sous-ensemble latin.
   Fichiers présents dans /assets/fonts/ — licence SIL OFL, usage commercial libre. */
@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 02 VARIABLES DE CHARTE */
:root {
  /* Palette — ★ = couleur fournie par le client (voir README) */
  --green-900: #04301A;
  --green-800: #064A28;  /* ★ */
  --green-700: #0B5A30;
  --green-600: #1C652F;
  --green-500: #2F7A22;
  --green-300: #8CC97A;
  --green-100: #BFDEAE;  /* ★ */
  --green-050: #EAF4E2;

  --grey-500: #878B8B;  /* ★ */
  --grey-100: #EDEEEF;

  --cream: #F7F9F5;
  --paper: #FFFFFF;
  --ink: #10261A;
  --ink-soft: #4A5250;
  --ink-faint: #717575;

  --line: #DFE0E2;
  --line-strong: #B4B5B8;  /* ★ */

  --bg: var(--cream);
  --fg: var(--ink);
  --accent: #5CB545;  /* ★ */
  --accent-dark: #4CA038;  /* cerne de focus */
  --accent-ink: #256119;
  --on-accent: #05391F;

  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --fs-xs: 0.78rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.075rem, 0.4vw + 1rem, 1.2rem);
  --fs-h4: clamp(1.1rem, 0.5vw + 1rem, 1.3rem);
  --fs-h3: clamp(1.25rem, 0.9vw + 1rem, 1.55rem);
  --fs-h2: clamp(1.45rem, 1.8vw + 1rem, 2.4rem);
  --fs-h1: clamp(1.95rem, 3.9vw + 1rem, 4.1rem);

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 5.5rem;

  --wrap: 1180px;
  --wrap-narrow: 760px;
  --radius: 6px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(4,48,26,.06), 0 2px 6px rgba(4,48,26,.05);
  --shadow-md: 0 2px 4px rgba(4,48,26,.06), 0 10px 24px rgba(4,48,26,.08);
  --shadow-lg: 0 4px 8px rgba(4,48,26,.07), 0 20px 48px rgba(4,48,26,.12);

  --t-fast: 140ms ease;
  --t: 220ms cubic-bezier(0.22, 0.61, 0.36, 1);

  --header-h: 68px;
}

/* 03 RESET & BASES */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0; background-color: var(--bg);
  background-image: radial-gradient(circle at 12% 8%, rgba(92,181,69,.05), transparent 42%), radial-gradient(circle at 88% 4%, rgba(92,181,69,.045), transparent 38%);
  background-attachment: fixed; color: var(--fg); font-family: var(--font-body);
  font-size: var(--fs-md); line-height: 1.68; overflow-x: hidden; overflow-wrap: break-word;
  font-feature-settings: "cv05" 1, "ss03" 1; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 700; line-height: 1.1;
  letter-spacing: -0.025em; color: var(--green-900); margin: 0 0 var(--sp-4); text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: var(--fs-h4); line-height: 1.25; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
li { margin-bottom: var(--sp-2); }
li:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; color: var(--green-900); }
small { font-size: var(--fs-sm); }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-6) 0; }

::selection { background: var(--green-100); color: var(--green-900); }

/* 04 UTILITAIRES DE MISE EN PAGE */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--sp-5); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--sp-8); }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section--sand { background: var(--grey-100); border-block: 1px solid var(--line); }
.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > * { min-width: 0; }

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 200;
  background: var(--green-800); color: #fff; padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius); font-weight: 600; transition: top var(--t-fast);
}
.skip-link:focus { top: var(--sp-4); color: #fff; }

/* 05 BOUTONS & LIENS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; padding: var(--sp-3) var(--sp-5); border: 1px solid transparent;
  border-radius: var(--radius); font-family: var(--font-body); font-size: var(--fs-base);
  font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
  transition: transform var(--t-fast), background-color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
}
.btn svg { flex: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn--primary:hover {
  background: var(--green-600); border-color: var(--green-600); color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--ghost { background: transparent; border-color: var(--green-700); color: var(--green-800); }
.btn--ghost:hover { background: var(--green-050); color: var(--green-900); }

.btn--light { background: #fff; border-color: #fff; color: var(--green-900); }
.btn--light:hover { background: var(--grey-100); border-color: var(--grey-100); color: var(--green-900); }

.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }

.btn--sm { min-height: 40px; padding: var(--sp-2) var(--sp-4); font-size: var(--fs-sm); }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 700;
  text-decoration: none; color: var(--green-700);
}
.link-arrow::after { content: "→"; transition: transform var(--t-fast); }
.link-arrow:hover::after { transform: translateX(4px); }

/* 06 EN-TÊTE / NAVIGATION */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(247,249,245,.94);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: var(--sp-3); text-decoration: none; color: var(--green-900); }
.logo__mark {
  flex: none; width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--green-800); color: var(--green-100); border-radius: 50%;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; letter-spacing: -0.02em; }
.logo__tag {
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-faint); font-weight: 600;
}

.nav { display: flex; align-items: center; gap: var(--sp-4); }

.nav__list { display: flex; align-items: center; gap: var(--sp-1); list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius); font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.nav__link:hover { background: var(--green-050); color: var(--green-900); }
.nav__link[aria-current="page"] {
  color: var(--green-800); box-shadow: inset 0 -2px 0 var(--accent);
  border-radius: var(--radius) var(--radius) 0 0;
}

.nav__phone { font-weight: 700; color: var(--green-800); }
.nav__toggle-sub { background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav__caret { transition: transform var(--t-fast); }
[aria-expanded="true"] > .nav__caret { transform: rotate(180deg); }

.subnav {
  position: absolute; z-index: 110; min-width: 290px; margin-top: var(--sp-2);
  padding: var(--sp-3); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); list-style: none;
}
.subnav[hidden] { display: none; }
.subnav a {
  display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius); font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink); text-decoration: none;
}
.subnav a:hover { background: var(--green-050); color: var(--green-900); }
.subnav svg { flex: none; color: var(--green-600); }
.subnav li { margin: 0; }
.nav__item--has-sub { position: relative; }

.nav__burger {
  display: none; align-items: center; gap: var(--sp-2); min-height: 44px; min-width: 44px;
  padding: var(--sp-2) var(--sp-3); background: transparent;
  border: 1px solid var(--line-strong); border-radius: var(--radius); font: inherit;
  font-size: var(--fs-sm); font-weight: 700; color: var(--green-900); cursor: pointer;
}
.burger-bars {
  position: relative; width: 18px; height: 2px; background: currentColor;
  border-radius: 2px; transition: background-color var(--t-fast);
}
.burger-bars::before,
.burger-bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: currentColor; border-radius: 2px; transition: transform var(--t);
}
.burger-bars::before { top: -6px; }
.burger-bars::after { top: 6px; }
[aria-expanded="true"] .burger-bars { background: transparent; }
[aria-expanded="true"] .burger-bars::before { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .burger-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 07 FIL D'ARIANE */
.breadcrumb {
  padding-block: var(--sp-4); font-size: var(--fs-sm); color: var(--ink-faint);
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); margin: 0;
  padding: 0; list-style: none;
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: var(--sp-2); }
.breadcrumb li + li::before { content: "›"; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-700); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--green-800); font-weight: 600; }

/* 08 HERO */
.hero { position: relative; isolation: isolate; background: var(--green-900); color: #fff; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 52%; background: var(--green-900);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,40,22,.34) 0%, rgba(4,40,22,.06) 30%, rgba(4,40,22,.72) 72%, rgba(4,40,22,.93) 100%), linear-gradient(96deg, rgba(4,40,22,.6) 0%, rgba(4,40,22,.12) 58%, transparent 78%);
}
.hero__inner {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  justify-content: flex-end; min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h)); padding-block: var(--sp-9) var(--sp-7);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-5);
  padding: 7px var(--sp-4); background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius-pill);
  backdrop-filter: blur(6px); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase; color: #fff;
}
.hero h1 {
  max-width: 17ch; margin-bottom: var(--sp-5); color: #fff; font-weight: 700;
  line-height: 1.03; text-shadow: 0 2px 30px rgba(2,26,14,.45);
}
.hero__lede {
  max-width: 44ch; margin-bottom: var(--sp-6);
  font-size: clamp(1.1rem, 0.55vw + 1rem, 1.32rem); line-height: 1.55;
  color: rgba(255,255,255,.94); text-shadow: 0 1px 18px rgba(2,26,14,.5);
}
.hero .btn-row { margin-bottom: var(--sp-6); }

.badges { display: flex; flex-wrap: wrap; gap: var(--sp-3); list-style: none; margin: 0; padding: 0; }
.badges li {
  display: inline-flex; align-items: center; gap: var(--sp-2); margin: 0;
  padding: var(--sp-2) var(--sp-3); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
  font-size: var(--fs-sm); font-weight: 600; color: rgba(255,255,255,.92);
}
.badges svg { flex: none; color: var(--green-100); }

.page-hero { padding-block: var(--sp-7) var(--sp-6); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: var(--sp-3); }
/* Variante avec photo de fond (réutilise .hero__bg) */
.page-hero--photo {
  position: relative; isolation: isolate; overflow: hidden; border-bottom: 0;
  background: var(--green-900); color: #fff; padding-block: var(--sp-8);
}
.page-hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(97deg, rgba(4,40,22,.93), rgba(4,40,22,.62) 54%, rgba(4,40,22,.3));
}
.page-hero--photo .hero__bg { object-position: 68% 34%; }
.page-hero--photo h1 { color: #fff; }
.page-hero--photo .eyebrow { color: var(--green-100); }
.page-hero--photo .lede { color: rgba(255,255,255,.93); }
.page-hero .lede { max-width: 68ch; }
.page-hero .btn-row { margin-top: var(--sp-5); }

/* 10 SECTIONS & TITRES */
.section__head { max-width: 68ch; margin-bottom: var(--sp-6); }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: block; margin-bottom: var(--sp-3); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink);
}

.lede { font-size: var(--fs-lg); color: var(--ink-soft); }

/* 11 CARTES */
.card {
  position: relative; display: flex; flex-direction: column; padding: var(--sp-5);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-3px); border-color: var(--green-300); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: var(--sp-2); font-size: var(--fs-h4); }
.card p { color: var(--ink-soft); font-size: var(--fs-base); }
.card__link { margin-top: auto; padding-top: var(--sp-4); }
.card__link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.post-card { overflow: hidden; padding: 0; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); }
.ba img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-5); }
.post-card__meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); margin-bottom: var(--sp-3);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-faint);
}

/* Cartes prestation (image + pastille icône + numéro) */
.scard { position: relative; }
.scard__a { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.scard__media { position: relative; display: block; overflow: hidden; }
.scard__media img { transition: transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.scard:hover .scard__media img { transform: scale(1.06); }
.scard__num, .ba__tag {
  position: absolute; top: 12px; left: 12px; padding: 4px 11px;
  border-radius: var(--radius-pill); background: rgba(4,40,22,.6);
  backdrop-filter: blur(6px); color: #fff; font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
}
.scard__icon {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px;
  margin: -47px 0 var(--sp-4); background: var(--paper); border: 1px solid var(--line);
  border-radius: 13px; box-shadow: var(--shadow-md); color: var(--green-700);
  transition: color var(--t-fast), background-color var(--t-fast);
}
.scard:hover .scard__icon, a.card:hover .cico {
  background: var(--green-800); color: var(--green-100); border-color: var(--green-800);
}
.scard h3 { margin-bottom: var(--sp-2); }
.scard p { flex: 1; }
.scard .link-arrow { margin-top: var(--sp-4); }
.scard--wide { grid-column: 1 / -1; }
.scard--wide .scard__a { flex-direction: row-reverse; }
.scard--wide .scard__media { flex: 0 0 44%; }
.scard--wide .scard__media img { height: 100%; aspect-ratio: auto; border-bottom: 0; border-left: 1px solid var(--line); }
.scard--wide .post-card__body { justify-content: center; padding: var(--sp-7); }
.scard--wide .scard__icon { margin-top: 0; }
.scard--wide h3 { font-size: var(--fs-h3); }
.scard--wide p { flex: none; max-width: 52ch; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px var(--sp-3);
  background: var(--green-050); border: 1px solid var(--green-100);
  border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--green-700);
}

/* 12 PILIERS, ÉTAPES, ZONE */
.pillar {
  padding: var(--sp-5); background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--green-500); border-radius: var(--radius);
}
.pillar h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.pillar p { margin: 0; color: var(--ink-soft); font-size: var(--fs-base); }
.pillar__icon { margin-bottom: var(--sp-3); color: var(--green-600); }

.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5);
  counter-reset: step; list-style: none; margin: 0; padding: 0;
}
.steps li { position: relative; margin: 0; padding-top: var(--sp-6); border-top: 2px solid var(--line-strong); }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute;
  top: calc(-1 * var(--sp-2) - 8px); left: 0; display: grid; place-items: center;
  width: 40px; height: 40px; background: var(--accent); color: #fff; border-radius: 50%;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  box-shadow: 0 0 0 5px var(--ring, var(--cream));
}
.section--paper { --ring: var(--paper); }
.section--sand { --ring: var(--grey-100); }
.steps h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.steps p { margin: 0; color: var(--ink-soft); font-size: var(--fs-base); }

.zone-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--sp-6); align-items: center; }
.map-frame {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.map-frame__foot {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-4); padding: var(--sp-4); border-top: 1px solid var(--line);
  background: var(--paper);
}
.map-frame__addr {
  display: flex; align-items: center; gap: var(--sp-2); margin: 0; font-size: var(--fs-sm);
  font-weight: 600; color: var(--green-900);
}
.map-frame__addr svg { flex: none; color: var(--green-600); }

.carou { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carou > figure { flex: 0 0 100%; scroll-snap-align: center; margin: 0; }
.carou__nav { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }

.pillars {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--sp-5);
  align-items: end;
}
.pillars img {
  width: 235px; max-width: none;
  margin: 0 0 calc(-1 * var(--sp-8)) calc(-1 * var(--sp-5));
}
.cutout { align-self: end; margin: 0 0 calc(-1 * var(--sp-6)) auto; }

/* Comparateur avant/après */
.ba { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px;
  margin-left: -1px; background: #fff; pointer-events: none;
}
.ba__line::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px;
  transform: translate(-50%, -50%); border: 3px solid #fff; border-radius: 50%;
}
.ba input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0;
  cursor: ew-resize; touch-action: pan-y;
}
.ba:focus-within .ba__line { box-shadow: 0 0 0 3px var(--accent-dark); }
.ba__tag--b { left: auto; right: 12px; }

/* Cartes de contact (page /contact/) — s'appuient sur .card */
a.card { text-decoration: none; color: inherit; }
.cico {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: var(--sp-4);
  background: var(--green-050); border: 1px solid var(--green-100); border-radius: 13px;
  color: var(--green-700);
}
.clab {
  margin-bottom: var(--sp-1); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint);
}
.cval {
  font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700;
  line-height: 1.25; color: var(--green-900);
}
a.card:hover .cval { color: var(--accent-ink); }

/* Liste des communes (nom + distance) */
.zone-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 var(--sp-5); list-style: none; margin: 0 0 var(--sp-5); padding: 0;
}
.zone-list li { margin: 0; }
.zone-list a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  min-height: 48px; padding: var(--sp-2) 0; border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink); text-decoration: none;
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.zone-list a:hover { color: var(--green-700); padding-left: var(--sp-2); }
.zone-list__km { flex: none; font-weight: 400; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.zone-list a:hover .zone-list__km { color: var(--accent-ink); }
.map-frame > svg { display: block; width: 100%; height: auto; }

/* 14 FAQ */
.faq { max-width: 860px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  margin-bottom: var(--sp-3); transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq details[open] { border-color: var(--green-300); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: 56px; padding: var(--sp-4) var(--sp-5); font-family: var(--font-display);
  font-size: var(--fs-h4); font-weight: 700; color: var(--green-900); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--t);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq summary:hover { color: var(--accent-ink); }
.faq__answer {
  padding: 0 var(--sp-5) var(--sp-5); color: var(--ink-soft);
  border-top: 1px solid var(--line); padding-top: var(--sp-4); margin-top: 0;
}

/* 15 BANDE CTA */
.cta-band { position: relative; background: var(--green-800); color: #fff; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 10%, rgba(92,181,69,.35), transparent 60%);
}
.cta-band__inner {
  position: relative; z-index: 1; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: var(--sp-5); padding-block: var(--sp-7);
}
.cta-band h2 { color: #fff; margin-bottom: var(--sp-2); }
.cta-band p { color: rgba(255,255,255,.84); margin: 0; max-width: 58ch; }
.cta-band__text { flex: 1 1 420px; }

/* 16 PAGES INTERNES : LAYOUT + SIDEBAR */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: var(--sp-7); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + var(--sp-4)); display: grid; gap: var(--sp-5); }

.side-card {
  padding: var(--sp-5); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.side-card h2, .side-card h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-3); }
.side-card--dark { background: var(--green-800); border-color: var(--green-800); color: rgba(255,255,255,.88); }
.side-card--dark h2, .side-card--dark h3 { color: #fff; }

.side-phone {
  display: inline-flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-3);
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: #fff; text-decoration: none; letter-spacing: -0.01em;
}
.side-phone:hover { color: var(--green-100); }

.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { margin: 0; border-bottom: 1px solid var(--line); }
.side-list li:last-child { border-bottom: 0; }
.side-list a {
  display: flex; align-items: center; gap: var(--sp-3); min-height: 44px;
  padding: var(--sp-2) 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink);
  text-decoration: none;
}
.side-list a:hover { color: var(--green-700); }
.side-list a[aria-current="page"] { color: var(--accent-ink); }
.side-list svg { flex: none; color: var(--green-500); }

/* 17 CONTENU RÉDACTIONNEL */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 {
  margin-top: var(--sp-7); margin-bottom: var(--sp-3); padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li::marker { color: var(--green-500); font-weight: 700; }
.prose img { border-radius: var(--radius-lg); border: 1px solid var(--line); }
.prose figure { margin: var(--sp-5) 0; }
.prose figcaption { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--ink-faint); }
.prose .chapo {
  font-size: var(--fs-lg); color: var(--ink-soft); padding-left: var(--sp-4);
  border-left: 3px solid var(--accent);
}

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table {
  width: 100%; min-width: 480px; border-collapse: collapse; font-size: var(--fs-base);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
caption {
  caption-side: bottom; padding-top: var(--sp-3); font-size: var(--fs-sm);
  color: var(--ink-faint); text-align: left;
}
th, td { padding: var(--sp-3) var(--sp-4); text-align: left; border-bottom: 1px solid var(--line); }
thead th {
  background: var(--green-050); font-size: var(--fs-sm); letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--green-800);
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--grey-100); }

.callout {
  padding: var(--sp-5); background: var(--green-050); border: 1px solid var(--green-100);
  border-left: 3px solid var(--green-600); border-radius: var(--radius);
}
.callout h3 { margin-bottom: var(--sp-2); font-size: var(--fs-h4); }
.callout p { color: var(--ink-soft); }
.callout--note { background: var(--grey-100); border-color: var(--line-strong); border-left-color: var(--grey-500); }

.cta-inline {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: var(--sp-4); padding: var(--sp-5); background: var(--green-800);
  border-radius: var(--radius-lg); color: #fff;
}
.cta-inline h3 { color: #fff; margin-bottom: var(--sp-1); }
.cta-inline p { color: rgba(255,255,255,.84); margin: 0; font-size: var(--fs-base); }
.cta-inline__text { flex: 1 1 320px; }

.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: var(--sp-6); margin-bottom: var(--sp-3); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 6px;
  border-left: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600);
  transform: rotate(-45deg);
}

.meta-line {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); font-size: var(--fs-sm);
  color: var(--ink-faint);
}

/* 18 FORMULAIRES */
.form { display: grid; gap: var(--sp-6); }
.form-block {
  padding: var(--sp-5); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.form-block__hint { font-size: var(--fs-sm); color: var(--ink-faint); margin-top: var(--sp-2); }

fieldset { margin: 0; padding: 0; border: 0; }
legend { padding: 0; font-weight: 700; }

.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: var(--sp-3); }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio-card span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sp-2); min-height: 104px; height: 100%; padding: var(--sp-3);
  background: var(--paper); border: 1px solid var(--line-strong);
  border-radius: var(--radius); font-size: var(--fs-sm); font-weight: 600;
  text-align: center; line-height: 1.25; color: var(--ink);
  transition: border-color var(--t-fast), background-color var(--t-fast), transform var(--t-fast);
}
.radio-card svg { color: var(--green-600); transition: color var(--t-fast); }
.radio-card input:hover + span { border-color: var(--green-500); transform: translateY(-2px); }
.radio-card input:checked + span {
  border-color: var(--green-700); background: var(--green-050);
  box-shadow: inset 0 0 0 1px var(--green-700); color: var(--green-900);
}
.radio-card input:focus-visible + span { outline: 3px solid var(--accent-dark); outline-offset: 2px; }

.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field label { font-weight: 600; font-size: var(--fs-sm); color: var(--green-900); }
.field .opt { font-weight: 400; color: var(--ink-faint); }
.req { color: var(--accent-ink); }

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%; min-height: 48px; padding: var(--sp-3); font: inherit;
  font-size: var(--fs-base); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
textarea { min-height: 130px; resize: vertical; }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--green-700) 50%), linear-gradient(135deg, var(--green-700) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: var(--sp-8);
}
input:focus,
select:focus,
textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-100); }
input::placeholder, textarea::placeholder { color: var(--ink-faint); }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.form-grid { display: grid; gap: var(--sp-4); }

.consent {
  display: flex; align-items: flex-start; gap: var(--sp-3); padding: var(--sp-4);
  background: var(--grey-100); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: var(--fs-sm); color: var(--ink-soft);
}
.consent input[type="checkbox"] {
  flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--green-700);
  cursor: pointer;
}
.consent label { cursor: pointer; }

.form-msg {
  display: none; align-items: flex-start; gap: var(--sp-3); padding: var(--sp-5);
  border-radius: var(--radius); border: 1px solid;
}
.form-msg.is-visible { display: flex; }
.form-msg svg { flex: none; margin-top: 2px; }
.form-msg h3 { margin-bottom: var(--sp-1); font-size: var(--fs-h4); }
.form-msg p { margin: 0; font-size: var(--fs-base); }
.form-msg--ok { background: var(--green-050); border-color: var(--green-300); color: var(--green-900); }
.form-msg--ok svg { color: var(--green-600); }
.form-msg--err { background: var(--grey-100); border-color: var(--grey-500); color: var(--ink); }
.form-msg--err svg { color: var(--ink-soft); }
.form-msg--err h3 { color: var(--ink); }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); }
.form-footer .btn { flex: 0 0 auto; }
.form-footer small { color: var(--ink-faint); }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* 19 PIED DE PAGE & NAP */
.site-footer {
  background: var(--green-900); color: rgba(255,255,255,.74); font-size: var(--fs-sm);
  padding-top: var(--sp-8);
}
.site-footer h2, .site-footer h3 {
  margin-bottom: var(--sp-4); font-family: var(--font-body); font-size: var(--fs-xs);
  font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-100);
}
.footer__grid {
  display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: var(--sp-6);
  padding-bottom: var(--sp-7);
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: var(--sp-2); }
.footer__list a { display: inline-block; padding: 3px 0; color: rgba(255,255,255,.74); text-decoration: none; }
.footer__list a:hover { color: #fff; text-decoration: underline; }

.footer .logo { color: #fff; margin-bottom: var(--sp-4); }
.footer .logo__name { color: #fff; }
.footer .logo__tag { color: var(--green-100); }
.footer .logo__mark { background: var(--green-700); color: var(--green-100); }

.nap { font-style: normal; line-height: 1.7; }
.nap strong { color: #fff; }
.nap a { color: #fff; font-weight: 700; text-decoration: none; }
.nap a:hover { text-decoration: underline; }
.nap__row { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.nap__row svg { flex: none; margin-top: 4px; color: var(--green-300); }

.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: var(--sp-4);
  margin-bottom: var(--sp-1); padding-bottom: var(--sp-1);
  border-bottom: 1px solid var(--line);
  min-height: 42px;
}
.hours span:last-child { color: var(--green-900); font-weight: 600; white-space: nowrap; }
.hours .is-closed span:last-child { color: var(--ink-faint); font-weight: 400; }
.site-footer .hours li { border-bottom-color: rgba(255,255,255,.1); }
.site-footer .hours span:last-child { color: #fff; }
.site-footer .hours .is-closed span:last-child { color: var(--line-strong); }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-3); padding-block: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,.12); font-size: var(--fs-xs);
  color: rgba(255,255,255,.55);
}
.footer__bottom a { color: rgba(255,255,255,.75); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--sp-4); list-style: none; margin: 0; padding: 0; }
.footer__bottom li { margin: 0; }

/* 20 BARRE MOBILE FIXE */
.mobile-bar {
  display: none; position: fixed; z-index: 120; left: 0; right: 0; bottom: 0; gap: 1px;
  background: var(--line); border-top: 1px solid var(--line-strong);
  box-shadow: 0 -4px 16px rgba(4,48,26,.12); padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; flex: 1; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 58px; font-size: var(--fs-base); font-weight: 700; text-decoration: none;
}
.mobile-bar__call, .mobile-bar__call:hover { background: var(--green-800); color: #fff; }
.mobile-bar__quote, .mobile-bar__quote:hover { background: var(--accent); color: var(--on-accent); }

/* 21 PAGE 404 */
.page-404 { display: grid; place-items: center; text-align: center; padding-block: var(--sp-9); }
.page-404__code {
  font-family: var(--font-display); font-size: clamp(4.5rem, 16vw, 9rem); line-height: 0.9;
  color: var(--green-100); margin-bottom: var(--sp-4); letter-spacing: -0.04em;
}
.page-404 .lede { margin-inline: auto; max-width: 56ch; }

/* 22 ACCESSIBILITÉ / ANIMATIONS / IMPRESSION */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--accent-dark); outline-offset: 2px; border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer__col--nap { grid-column: 1 / -1; }
}

@media (max-width: 940px) {
  :root { --header-h: 62px; }

  .nav__burger { display: inline-flex; }
  .nav__list {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column;
    align-items: stretch; gap: 0; max-height: calc(100vh - var(--header-h));
    overflow-y: auto; padding: var(--sp-3); background: var(--paper);
    border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav__list.is-open { display: flex; }
  .nav__list > li { width: 100%; }
  .nav__link {
    min-height: 48px; justify-content: space-between; width: 100%; padding: var(--sp-3);
    font-size: var(--fs-md); border-bottom: 1px solid var(--line); border-radius: 0;
  }
  .nav__link[aria-current="page"] { box-shadow: none; color: var(--accent-ink); }
  .nav .btn { margin-top: var(--sp-3); }
  .subnav {
    position: static; min-width: 0; margin: 0; padding: 0 0 var(--sp-3) var(--sp-4);
    border: 0; border-radius: 0; box-shadow: none; background: transparent;
  }
  .subnav a { min-height: 44px; }

  .hero__inner { padding-block: var(--sp-8) var(--sp-6); }
  .hero__bg { object-position: 60% 52%; }
  .zone-layout, .pillars { grid-template-columns: 1fr; }
  .pillars img, .cutout { display: none; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  :root { --sp-8: 3rem; --sp-9: 3.75rem; }

  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scard--wide .scard__a { flex-direction: column; }
  .scard--wide .scard__media { flex: none; }
  .scard--wide .scard__media img { aspect-ratio: 16 / 10; border-left: 0; border-bottom: 1px solid var(--line); }
  .scard--wide .post-card__body { padding: var(--sp-5); }
  .scard--wide .scard__icon { margin-top: -47px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }  .mobile-bar { display: flex; }

  .wrap { padding-inline: var(--sp-4); }
  .hero__inner { padding-block: var(--sp-7) calc(var(--sp-6) + 62px); }
  .hero__bg { object-position: 68% 55%; }
  .hero h1 { max-width: 100%; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: var(--sp-6); }
  .field-row { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .btn-row .btn { flex: 1 1 100%; }
  .form-block { padding: var(--sp-4); }
  .faq summary { padding: var(--sp-3) var(--sp-4); font-size: var(--fs-md); }
  .faq__answer { padding-inline: var(--sp-4); padding-bottom: var(--sp-4); }
  .logo img { height: 34px; width: auto; }
  .prose { max-width: none; }
  .page-hero .lede { display: none; }
  .page-hero--photo .hero__bg--left { object-position: 20% 34%; }
  .prose h2 { margin-top: var(--sp-6); padding-top: var(--sp-3); }
  .page-hero { padding-block: var(--sp-6) var(--sp-5); }
}

