/* =========================================================
   4D Urgence Nuisible — feuille de style unique
   Concept : « fiche d'intervention ». Papier technique vert clair,
   vert de marque (token --petrol, nom conservé), titres en grotesque condensée type signalétique (DIN),
   jaune de signalisation réservé aux appels et à l'urgence.
   Polices système uniquement (aucune ressource externe).
   ========================================================= */

:root {
  /* Couleurs — clair */
  --paper: #eef5eb;        /* fond de page, vert très clair */
  --surface: #ffffff;      /* cartes, formulaires */
  --sunk: #ddead7;         /* bandes alternées */
  --ink: #14231a;          /* texte principal */
  --muted: #45584a;        /* texte secondaire */
  --line: #c3d5bd;         /* filets, bordures */
  --grid: #d3e3cc;         /* quadrillage des schémas */
  --petrol: #2e6b3c;       /* vert de marque (nom technique conservé) : marque, liens */
  --petrol-ink: #ffffff;   /* texte sur le vert de marque */
  --petrol-soft: #dfeed9;  /* fonds teintés */
  --signal: #f2b705;       /* jaune signalisation : appel / urgence */
  --signal-hover: #ffc927;
  --on-signal: #141a1c;
  --danger: #a8231b;
  --danger-soft: #fbe9e7;
  --ok: #1d6a41;
  --ok-soft: #e3f3ea;
  --focus: #0b6bcb;
  --band: #173a23;        /* bandeau CTA final */
  --on-band: #eef5eb;
  --wa: #25D366;           /* WhatsApp (fond) — jamais de texte blanc dessus */
  --on-wa: #0b2414;

  /* Typographie */
  --font-display: "Bahnschrift", "DIN Alternate", "DIN Next", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-data: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Échelle typographique (base 17px, ratio ~1.25) */
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.5625rem;
  --fs-xl: clamp(1.75rem, 1.3rem + 2vw, 2.4rem);
  --fs-hero: clamp(2.1rem, 1.4rem + 3.4vw, 3.6rem);

  --radius: 6px;
  --wrap: 72rem;
  --callbar-h: 0px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c1610;
    --surface: #142219;
    --sunk: #101c14;
    --ink: #e3eee1;
    --muted: #a7baa6;
    --line: #2a3f2f;
    --grid: #1b2d20;
    --petrol: #8fd3a0; /* vert de marque */
    --petrol-ink: #0c1610;
    --petrol-soft: #17321f;
    --signal: #f5c534;
    --signal-hover: #ffd75e;
    --on-signal: #141a1c;
    --danger: #ff9a8f;
    --danger-soft: #3a1c1a;
    --ok: #82d3a5;
    --ok-soft: #15301f;
    --focus: #7dbdff;
    --band: #1c452a;
    --on-band: #eef5eb;
    --wa: #25D366;
    --on-wa: #0b2414;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0c1610;
  --surface: #142219;
  --sunk: #101c14;
  --ink: #e3eee1;
  --muted: #a7baa6;
  --line: #2a3f2f;
  --grid: #1b2d20;
  --petrol: #8fd3a0; /* vert de marque */
  --petrol-ink: #0c1610;
  --petrol-soft: #17321f;
  --signal: #f5c534;
  --signal-hover: #ffd75e;
  --on-signal: #141a1c;
  --danger: #ff9a8f;
  --danger-soft: #3a1c1a;
  --ok: #82d3a5;
  --ok-soft: #15301f;
  --focus: #7dbdff;
  --band: #1c452a;
  --on-band: #eef5eb;
  --wa: #25D366;
  --on-wa: #0b2414;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 87.5%;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--fs-hero); font-weight: 700; }
h2 { font-size: var(--fs-xl); font-weight: 700; }
h3 { font-size: var(--fs-md); font-weight: 650; }
p, ul, ol { margin: 0; }
p + p { margin-top: 0.75em; }
a { color: var(--petrol); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 650; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
/* QA : sur fond jaune ou pétrole, --focus n'atteint pas 3:1 (2,9:1 / 1,2:1 sur jaune, 1,9:1 / 1,1:1 sur pétrole) */
.urgence :focus-visible, .urgent-box :focus-visible { outline-color: var(--on-signal); }
.orient :focus-visible { outline-color: var(--petrol-ink); }
/* QA v3 : avec la palette verte, --focus sur --band (CTA final) tombe à 2,39:1 en clair */
.cta-final :focus-visible { outline-color: var(--on-band); }
.callbar:focus-visible { outline: 3px solid var(--on-signal); outline-offset: -6px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.prose { max-width: 40rem; }
.prose > * + * { margin-top: 0.9rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.35rem; }
.lead { font-size: var(--fs-md); line-height: 1.5; color: var(--muted); max-width: 38rem; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; border-radius: var(--radius);
  font-weight: 650;
}
.skip:focus { top: 1rem; }

/* ---------- Bandeau urgence ---------- */
.urgence {
  background: var(--signal);
  color: var(--on-signal);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.urgence .wrap { padding-block: 0.45rem; display: flex; justify-content: center; text-align: center; }
.urgence a { color: var(--on-signal); font-weight: 750; white-space: nowrap; text-decoration-thickness: 2px; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 0.75rem; min-height: 4.25rem; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand svg { width: 2.4rem; height: 2.4rem; flex: none; color: var(--petrol); }
.brand-name { font-family: var(--font-display); font-stretch: 87.5%; font-weight: 700; font-size: 1.55rem; line-height: 1; display: block; }
.nav-list a, .sub-toggle, .nav-cta .btn { white-space: nowrap; }
.brand-sub { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.3; margin-top: 0.15rem; }
@media (max-width: 479px), (min-width: 900px) and (max-width: 1239px) { .brand-sub { display: none; } }

.burger {
  display: none; align-items: center; gap: 0.5rem;
  min-width: 44px; min-height: 44px; padding: 0.5rem 0.75rem;
  background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-weight: 600; cursor: pointer;
}
.burger svg { width: 1.25rem; height: 1.25rem; }
.js .burger { display: inline-flex; }
/* QA : état « JS actif » appliqué dès le premier rendu (évite le décalage de mise en page
   causé par l'ajout tardif de la classe .js par le script defer — CLS mesuré à 0,53). */
@media (scripting: enabled) { .burger { display: inline-flex; } }

.nav { width: 100%; }
.nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.15rem; padding-block: 0.5rem; }
.nav-list a, .sub-toggle {
  display: flex; align-items: center; min-height: 44px; padding: 0.4rem 0.6rem;
  color: var(--ink); text-decoration: none; font-weight: 550; border-radius: var(--radius);
  background: none; border: 0; font: inherit; cursor: pointer; width: 100%; text-align: left;
}
.nav-list a:hover, .sub-toggle:hover { background: var(--sunk); }
.nav-list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--petrol); color: var(--petrol); font-weight: 700; }
.sub-toggle svg { width: 0.9rem; height: 0.9rem; margin-left: 0.35rem; transition: transform .15s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-list { list-style: none; padding: 0 0 0 0.9rem; margin: 0; }
.js .sub-list:not(.open) { display: none; }
@media (scripting: enabled) { .sub-list:not(.open) { display: none; } }
.nav-cta { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.5rem 0 0.75rem; }

/* Mobile : menu repliable si JS */
@media (max-width: 899px) {
  .js .nav:not(.open) { display: none; }
  .js .nav.open { border-top: 1px solid var(--line); }
}
@media (max-width: 899px) and (scripting: enabled) {
  .nav:not(.open) { display: none; }
  .nav.open { border-top: 1px solid var(--line); }
}
/* Desktop */
@media (min-width: 900px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .js .burger, .burger { display: none; }
  .nav { width: auto; display: flex; align-items: center; gap: 1rem; }
  .nav-list { flex-direction: row; align-items: center; padding: 0; gap: 0.1rem; }
  .nav-list a, .sub-toggle { width: auto; font-size: 0.95rem; padding: 0.4rem 0.65rem; }
  .nav-list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--petrol); }
  .has-sub { position: relative; }
  .sub-list {
    position: absolute; top: calc(100% + 0.35rem); left: 0; z-index: 20; min-width: 15rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 0.35rem; box-shadow: 0 10px 24px -12px rgba(10, 30, 35, 0.35);
  }
  .sub-list a { width: 100%; }
  .nav-list .sub-list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--petrol); }
  html:not(.js) .has-sub:not(:hover):not(:focus-within) .sub-list { display: none; }
  .nav-cta { padding: 0; flex-wrap: nowrap; }
}
/* QA : entre 900 et 1099 px le header débordait (scrollWidth 955 px à 900 px) */
@media (min-width: 900px) and (max-width: 1099px) {
  .site-header .wrap { gap: 0.5rem; }
  .nav { gap: 0.5rem; }
  .nav-list a, .sub-toggle { padding: 0.4rem 0.45rem; font-size: 0.9rem; }
  .nav-cta { gap: 0.4rem; }
  .nav-cta .btn-sm { padding: 0.45rem 0.6rem; font-size: 0.88rem; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.15rem; border-radius: var(--radius);
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; text-align: center;
}
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn-call { background: var(--signal); color: var(--on-signal); border-color: var(--signal); }
.btn-call:hover { background: var(--signal-hover); border-color: var(--signal-hover); }
.btn-quote { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quote:hover { background: var(--ink); color: var(--paper); }
.btn-solid { background: var(--petrol); color: var(--petrol-ink); border-color: var(--petrol); }
.btn-solid:hover { filter: brightness(1.1); }
.btn-sm { min-height: 44px; padding: 0.45rem 0.85rem; font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 479px) { .btn-row .btn { flex: 1 1 100%; } }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.section-sunk { background: var(--sunk); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 0.6rem; margin-bottom: 1.75rem; max-width: 44rem; }
.section-head p { color: var(--muted); }

/* Fil d'Ariane */
.crumbs { font-size: var(--fs-sm); padding-top: 1rem; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.crumbs li + li::before { content: "›"; margin-right: 0.5rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding-block: 1.5rem clamp(2.5rem, 2rem + 2vw, 4rem); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-text { display: grid; gap: 1.1rem; min-width: 0; }
.hero-text .lead { color: var(--ink); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: var(--fs-sm); color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-meta svg { width: 1rem; height: 1rem; color: var(--petrol); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 3rem; }
}

/* Planche « papier technique » : signature visuelle */
.sheet {
  position: relative;
  background-color: var(--surface);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  color: var(--ink);
}
.sheet figcaption, .sheet-caption {
  font-family: var(--font-data); font-size: 0.75rem; color: var(--muted);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 0.5rem; margin-top: 0.75rem;
}
.sheet svg { display: block; width: 100%; height: auto; }
figure { margin: 0; }

/* SVG du plan */
.plan .wall { fill: none; stroke: var(--ink); stroke-width: 3; }
.plan .thin { fill: none; stroke: var(--muted); stroke-width: 1.2; }
.plan .room { fill: var(--muted); font-family: var(--font-body); font-size: 11px; }
.plan .station { fill: var(--signal); stroke: var(--on-signal); stroke-width: 1.5; }
.plan .station-label { fill: var(--ink); font-family: var(--font-data); font-size: 10px; font-weight: 700; }
.plan .entry { fill: none; stroke: var(--danger); stroke-width: 2; stroke-dasharray: 4 3; }
.plan .entry-label { fill: var(--danger); font-family: var(--font-body); font-size: 10px; }
.plan .fill-paper { fill: var(--surface); }
.plan .accent { fill: var(--petrol); }
.plan .accent-stroke { fill: none; stroke: var(--petrol); stroke-width: 2; }
.plan .signal-fill { fill: var(--signal); }
.plan .ink-fill { fill: var(--ink); }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.grid > * { min-width: 0; }

/* Réassurance */
.assure { list-style: none; padding: 0; }
.assure li { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1rem 0; border-top: 2px solid var(--ink); }
.assure svg { width: 2rem; height: 2rem; flex: none; color: var(--petrol); }
.assure strong { display: block; font-family: var(--font-display); font-stretch: 87.5%; font-size: 1.15rem; line-height: 1.2; }
.assure span { font-size: var(--fs-sm); color: var(--muted); }

/* Cartes nuisibles */
.pest-card {
  position: relative; display: grid; gap: 0.6rem; align-content: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; transition: border-color .15s;
}
.pest-card:hover { border-color: var(--petrol); }
.pest-card svg { width: 3rem; height: 3rem; color: var(--petrol); }
.pest-card h3 a { color: var(--ink); text-decoration: none; }
.pest-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.pest-card h3 a:focus-visible { outline: none; }
.pest-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.pest-card p { color: var(--muted); font-size: 0.97rem; }
.pest-card .more { font-weight: 650; color: var(--petrol); font-size: 0.95rem; }

/* Étapes numérotées */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps > li { counter-increment: step; position: relative; padding-left: 3.4rem; min-width: 0; }
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: -0.1rem;
  width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
  font-family: var(--font-display); font-stretch: 87.5%; font-weight: 700; font-size: 1.25rem;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--surface);
}
.steps h3 { margin-bottom: 0.3rem; font-size: 1.12rem; }
.steps p { color: var(--muted); }
@media (min-width: 900px) {
  .steps-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .steps-row > li { padding-left: 0; padding-top: 3.25rem; }
  .steps-row > li::after { content: ""; position: absolute; top: 1.15rem; left: 2.9rem; right: -1rem; border-top: 2px dashed var(--line); }
  .steps-row > li:last-child::after { display: none; }
}

/* Timeline (méthode) */
.timeline { list-style: none; padding: 0; counter-reset: step; border-left: 2px solid var(--line); margin-left: 1.2rem; display: grid; gap: 1.75rem; }
.timeline > li { counter-increment: step; position: relative; padding-left: 2.25rem; }
.timeline > li::before {
  content: counter(step); position: absolute; left: -1.25rem; top: -0.1rem;
  width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  background: var(--petrol); color: var(--petrol-ink); border-radius: 50%;
}
.timeline h3 { margin-bottom: 0.35rem; }
.timeline p { color: var(--muted); max-width: 40rem; }

/* Listes à puces structurées */
.checks { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.checks li { position: relative; padding-left: 1.8rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 1.05rem; height: 1.05rem;
  background: var(--petrol);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.6 14.2 3.4 10l1.4-1.4 2.8 2.8 7.6-7.6L16.6 5z'/%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 20 20'%3E%3Cpath d='M7.6 14.2 3.4 10l1.4-1.4 2.8 2.8 7.6-7.6L16.6 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.donts li::before {
  background: var(--danger);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.4 4 10 8.6 14.6 4 16 5.4 11.4 10l4.6 4.6-1.4 1.4-4.6-4.6L5.4 16 4 14.6 8.6 10 4 5.4z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.4 4 10 8.6 14.6 4 16 5.4 11.4 10l4.6 4.6-1.4 1.4-4.6-4.6L5.4 16 4 14.6 8.6 10 4 5.4z'/%3E%3C/svg%3E");
}

/* Blocs de contenu des pages services */
.block { display: grid; gap: 1rem; }
.split { display: grid; gap: 2rem; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }
.split > * { min-width: 0; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.panel h3 { margin-bottom: 0.6rem; }

.risk { border-top: 3px solid var(--ink); padding-top: 0.9rem; }
.risk h3 { margin-bottom: 0.4rem; }
.risk p { color: var(--muted); }

/* Encarts */
.notice {
  display: flex; gap: 0.9rem; align-items: flex-start;
  border: 2px solid var(--ink); border-radius: var(--radius); padding: 1rem 1.15rem; background: var(--surface);
}
.notice svg { width: 1.6rem; height: 1.6rem; flex: none; color: var(--petrol); margin-top: 0.1rem; }
.notice-danger { border-color: var(--danger); background: var(--danger-soft); }
.notice-danger svg { color: var(--danger); }
.notice-signal { border-color: var(--signal); border-left-width: 8px; }
.notice > div { min-width: 0; }
.notice h2, .notice h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }

.orient {
  display: grid; gap: 1.25rem; background: var(--petrol); color: var(--petrol-ink);
  border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 2vw, 2rem);
}
.orient a:not(.btn) { color: var(--petrol-ink); }
.orient .btn-quote { color: var(--petrol-ink); border-color: var(--petrol-ink); }
.orient .btn-quote:hover { background: var(--petrol-ink); color: var(--petrol); }
@media (min-width: 900px) { .orient { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.orient h3 { margin-bottom: 0.4rem; }
.orient p { opacity: 0.95; }

/* Préparation punaises de lit : liste à cocher */
.todo { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.todo label {
  display: flex; gap: 0.75rem; align-items: flex-start; min-height: 44px;
  padding: 0.7rem 0.85rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.todo input { width: 1.3rem; height: 1.3rem; margin: 0.15rem 0 0; accent-color: var(--petrol); flex: none; }
.todo input:checked + span { text-decoration: line-through; color: var(--muted); }

/* Composant .ident (schémas « Reconnaître ») */
.ident figure { display: grid; gap: 0.6rem; align-content: start; }
.ident .sheet svg { max-height: 130px; }
.ident h3 { font-size: 1.1rem; }
.ident p { color: var(--muted); font-size: 0.97rem; }

/* FAQ */
.faq { display: grid; gap: 0.6rem; max-width: 48rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: 0.95rem 3rem 0.95rem 1.1rem; position: relative;
  font-weight: 650; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--petrol);
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer { padding: 0.9rem 1.1rem 1.1rem; color: var(--muted); }

/* Avis exemples */
.reviews blockquote {
  margin: 0; background: var(--surface); border: 1px dashed var(--muted); border-radius: var(--radius);
  padding: 1.25rem; display: grid; gap: 0.75rem; align-content: start;
}
.reviews footer { font-weight: 650; font-size: var(--fs-sm); color: var(--muted); }
.tag-example {
  display: inline-block; font-family: var(--font-data); font-size: 0.72rem; font-weight: 700;
  border: 1px solid var(--muted); color: var(--muted); padding: 0.05rem 0.4rem; border-radius: 3px; justify-self: start;
}

/* Zone d'intervention */
.zone { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .zone { grid-template-columns: 1fr 1fr; } }
.zone .sheet { max-width: 26rem; }

/* CTA final */
.cta-final { background: var(--band); color: var(--on-band); }
.cta-final .wrap { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); display: grid; gap: 1.25rem; }
.cta-final h2 { color: var(--on-band); }
.cta-final p { color: var(--on-band); opacity: 0.85; max-width: 38rem; }
.cta-final .btn-quote { color: var(--on-band); border-color: var(--on-band); }
.cta-final .btn-quote:hover { background: var(--on-band); color: var(--band); }
.cta-final .tel-big {
  font-family: var(--font-display); font-stretch: 87.5%; font-weight: 700; font-size: clamp(2rem, 1.5rem + 3vw, 3.2rem);
  color: var(--signal); text-decoration: none; line-height: 1; font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; min-height: 48px; justify-self: start;
}

/* Sommaire pros */
.toc { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; }
.toc a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 0.9rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 600;
}
.target { scroll-margin-top: 1rem; display: grid; gap: 1rem; padding-block: 2rem; border-top: 2px solid var(--ink); }
.target:first-of-type { border-top: 0; }

/* ---------- Formulaire ---------- */
.form-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .form-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 0.75rem + 1.5vw, 1.75rem); display: grid; gap: 1.35rem; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field-row { display: grid; gap: 1.35rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form label, .form legend { font-weight: 650; }
.req { color: var(--danger); font-weight: 700; }
.hint { font-size: var(--fs-sm); color: var(--muted); }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 0.65rem 0.75rem; font: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--muted); border-radius: var(--radius);
}
.form textarea { min-height: 8rem; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 0.5rem; }
.choices { display: grid; gap: 0.5rem; }
@media (min-width: 640px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice {
  display: flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.form .choice, .form .consent { font-weight: 500; }
.choice:has(input:checked) { border-color: var(--petrol); background: var(--petrol-soft); }
.choice input { width: 1.2rem; height: 1.2rem; margin: 0; accent-color: var(--petrol); flex: none; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; }
.consent input { width: 1.3rem; height: 1.3rem; margin: 0.2rem 0 0; flex: none; accent-color: var(--petrol); }
.error-msg { display: flex; gap: 0.4rem; align-items: flex-start; color: var(--danger); font-size: var(--fs-sm); font-weight: 650; }
.error-msg::before { content: "⚠"; flex: none; }
.error-msg:empty { display: none; }
[aria-invalid="true"] { border-color: var(--danger) !important; border-width: 2px !important; }
fieldset[aria-invalid="true"] { border: 0 !important; }
fieldset[aria-invalid="true"] .choice { border-color: var(--danger); }
.counter { font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; justify-self: end; }
.counter.near { color: var(--danger); font-weight: 650; }
.error-summary { border: 2px solid var(--danger); background: var(--danger-soft); border-radius: var(--radius); padding: 1rem 1.15rem; }
.error-summary h2 { font-size: 1.15rem; color: var(--danger); margin-bottom: 0.5rem; }
.error-summary ul { padding-left: 1.2rem; }
.error-summary a { color: var(--danger); font-weight: 600; }
.confirm { border: 2px solid var(--ok); background: var(--ok-soft); border-radius: var(--radius); padding: 1.15rem; display: grid; gap: 0.75rem; }
.confirm:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.confirm .title { font-weight: 700; color: var(--ok); }
.copy-status { font-weight: 650; color: var(--ok); }
.submit-zone { display: grid; gap: 0.75rem; }
.submit-zone .btn { justify-self: start; }
@media (max-width: 479px) { .submit-zone .btn { justify-self: stretch; } }

.contact-card { display: grid; gap: 1rem; }
.contact-card dl { margin: 0; display: grid; gap: 0.85rem; }
.contact-card dt { font-size: var(--fs-sm); color: var(--muted); }
.contact-card dd { margin: 0; font-weight: 600; }
.urgent-box { background: var(--signal); color: var(--on-signal); border-radius: var(--radius); padding: 1.15rem 1.25rem; display: grid; gap: 0.75rem; }
.urgent-box p { font-weight: 650; font-size: var(--fs-md); line-height: 1.35; }
.urgent-box .btn { background: var(--on-signal); color: var(--signal); border-color: var(--on-signal); justify-self: start; }

/* Mentions */
.legal h2 { margin-top: 2.25rem; margin-bottom: 0.75rem; font-size: var(--fs-lg); }
.legal dl { display: grid; grid-template-columns: minmax(9rem, auto) 1fr; gap: 0.4rem 1rem; }
.legal dd { margin: 0; }
@media (max-width: 479px) { .legal dl { grid-template-columns: 1fr; gap: 0; } .legal dd { margin-bottom: 0.6rem; } }
.todo-mark { background: var(--signal); color: var(--on-signal); padding: 0 0.25rem; border-radius: 2px; font-weight: 650; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); font-size: 0.95rem; }
.site-footer .wrap { padding-block: 2.5rem 1.25rem; display: grid; gap: 2rem; }
.foot-cols { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .foot-cols { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } }
.foot-cols > * { min-width: 0; }
.site-footer h2 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.1rem; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.site-footer address { font-style: normal; display: grid; gap: 0.35rem; }
.site-footer address a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-legal { border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Bouton d'appel flottant (mobile) ---------- */
.callbar { display: none; }
@media (max-width: 767px) {
  :root { --callbar-h: 60px; }
  /* QA : un élément focalisé ne doit pas passer sous la barre d'appel (WCAG 2.4.11) */
  html { scroll-padding-bottom: calc(var(--callbar-h) + 1rem + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px)); }
  .callbar {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    min-height: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    background: var(--signal); color: var(--on-signal);
    font-weight: 750; font-size: 1.1rem; text-decoration: none;
    border-top: 2px solid var(--on-signal);
  }
  .callbar svg { width: 1.35rem; height: 1.35rem; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   v2 — 4D Urgence Nuisible : marque, services, photos, recommandation
   ========================================================= */

/* Marque : « 4D » en grand, « Urgence Nuisible » empilé à côté */
.brand-text { display: flex; align-items: center; gap: 0.45rem; min-width: 0; }
.brand-4d {
  font-family: var(--font-display); font-stretch: 87.5%; font-weight: 800;
  font-size: 2rem; line-height: 0.9; letter-spacing: -0.03em; color: var(--petrol);
}
.brand-rest { display: flex; flex-direction: column; min-width: 0; }
.brand-rest .brand-name { font-size: 1.05rem; line-height: 1.05; white-space: nowrap; }
.brand-rest .brand-sub { margin-top: 0.1rem; }
@media (max-width: 359px) { .brand-rest .brand-name { font-size: 0.95rem; } .brand-4d { font-size: 1.75rem; } }
@media (min-width: 900px) and (max-width: 1099px) {
  .brand svg { width: 2rem; height: 2rem; }
  .brand-4d { font-size: 1.65rem; }
  .brand-rest .brand-name { font-size: 0.92rem; }
}

/* Sous-menu : séparateur non focusable avant Hygiène & désinfection */
/* QA v2 : séparateur porté par le dernier <li> (un <li role="separator"> dans un <ul> est invalide W3C et signalé par axe) */
.sub-list .sub-sep { border-top: 1px solid var(--line); margin-top: 0.35rem; padding-top: 0.35rem; }

/* Réassurance à 5 éléments */
@media (min-width: 768px) { .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Disponibilité sous le grand numéro */
.cta-final .avail { font-weight: 650; opacity: 1; }

/* Lien croisé hygiène dans l'encart pétrole */
.orient-link { grid-column: 1 / -1; border-top: 1px solid currentColor; padding-top: 1rem; }
.orient-link a { font-weight: 700; }

/* Cartes « après infestation » */
.case { display: grid; gap: 0.6rem; align-content: start; }
.case > svg { width: 2.6rem; height: 2.6rem; color: var(--petrol); }
.case-note { display: flex; gap: 0.5rem; align-items: flex-start; font-size: var(--fs-sm); border-top: 1px dashed var(--line); padding-top: 0.6rem; }
.case-note svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--danger); margin-top: 0.15rem; }

/* Emplacement photo : cadre 4/3, motif de hachures en tokens, aucun fichier image */
.photo-slot { display: grid; gap: 0.5rem; margin: 0; min-width: 0; max-width: 100%; }
.photo-frame {
  aspect-ratio: 4 / 3; max-width: 100%; width: 100%;
  display: grid; place-content: center; justify-items: center; gap: 0.6rem;
  border: 1.5px dashed var(--muted); border-radius: var(--radius);
  background-color: var(--surface);
  background-image: repeating-linear-gradient(135deg, var(--grid) 0 1px, transparent 1px 14px);
  color: var(--muted); text-align: center; padding: 1rem;
}
.photo-frame svg { width: 2.5rem; height: 2.5rem; color: var(--petrol); }
.photo-label {
  font-family: var(--font-display); font-stretch: 87.5%; font-weight: 700; font-size: 1.1rem;
  color: var(--ink); background: var(--surface); padding: 0.15rem 0.5rem; border-radius: 3px;
}
.photo-slot figcaption { font-size: var(--fs-sm); color: var(--muted); }
.photo-row { margin-top: 1.5rem; max-width: 30rem; }
.with-photo { display: grid; gap: 2rem; }
@media (min-width: 900px) { .with-photo { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: 3rem; } }
.with-photo > * { min-width: 0; }

/* Encart « Recommandez-nous » : sobre, sans couleur d'alerte */
.recommend {
  display: grid; gap: 1.25rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  border: 1px solid var(--line); border-left: 6px solid var(--petrol); border-radius: var(--radius);
  background: var(--surface);
}
.recommend h2 { font-size: var(--fs-lg); margin-bottom: 0.4rem; }
.recommend-text p { color: var(--muted); max-width: 38rem; }
.recommend-actions { display: grid; gap: 0.75rem; align-content: center; justify-items: start; }
.recommend-tel { font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) { .recommend { grid-template-columns: 1.6fr 1fr; align-items: center; } }

/* v2 : header 900–1099 px avec « Nos services » et la marque 4D.
   Le numéro du bouton d'appel est masqué visuellement (il reste dans le nom accessible). */
@media (min-width: 900px) and (max-width: 1099px) {
  .nav-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .brand-rest .brand-sub { display: none; }
}
/* v2 : h1 de l'accueil plus long, réduit sur mobile pour garder le bouton d'appel visible sans défiler */
.h1-long { font-size: clamp(1.6rem, 1.1rem + 2.6vw, 3rem); }
.block { grid-template-columns: minmax(0, 1fr); }
.photo-slot { grid-template-columns: minmax(0, 1fr); }
.photo-frame { grid-template-columns: minmax(0, 1fr); min-width: 0; }

/* QA v2 : à 360 px et moins, la marque « 4D Urgence Nuisible » + le bouton Menu ne tenaient pas
   sur une ligne (header de 130 px, burger renvoyé sous la marque). */
@media (max-width: 389px) {
  .site-header .wrap { gap: 0.5rem; }
  .brand { gap: 0.45rem; }
  .brand svg { width: 2.1rem; height: 2.1rem; }
  .brand-4d { font-size: 1.75rem; }
  .brand-rest .brand-name { font-size: 0.95rem; }
  .burger { padding: 0.5rem 0.6rem; gap: 0.4rem; }
}
@media (max-width: 359px) {
  .burger > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}

/* =========================================================
   v3 — schémas « Reconnaître », illustration technicien, portrait, bouton d'appel
   Toutes les couleurs passent par les tokens (aucune valeur en dur).
   ========================================================= */

/* US-38 : sur le fond vert très clair, le jaune seul n'atteint pas 3:1 ; contour foncé du bouton d'appel */
.btn-call, .btn-call:hover { border-color: var(--on-signal); }
.btn-call { border-width: 1px; padding-inline: calc(1.15rem + 1px); }
.btn-call.btn-sm { padding-inline: calc(0.85rem + 1px); }

/* US-31 : composant « Reconnaître » (même balisage que « Identifier l'insecte ») */
.ident-block { margin-top: 2.5rem; }
.ident-title { margin-bottom: 1rem; }
.ident .sheet { padding: 0.75rem; }
.ident figcaption { display: grid; gap: 0.35rem; }
.ident .size { font-size: var(--fs-sm); font-weight: 650; color: var(--ink); }
.ident-note { margin-top: 1.5rem; }

/* Tracés des schémas : traits de 1,5 à 3 px, couleurs = tokens */
.plan .outline { fill: var(--surface); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.plan .line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.plan .drop { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.plan .scale { fill: none; stroke: var(--petrol); stroke-width: 1.5; stroke-linecap: square; }
.plan .scale-label { fill: var(--muted); font-family: var(--font-data); font-size: 9px; }
.plan .muted-fill { fill: var(--muted); }
.plan .hilite { fill: none; stroke: var(--surface); stroke-width: 1.5; stroke-linecap: round; }
.plan .mue { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 2 2; }
.plan .thin { stroke-width: 1.5; }

/* US-34 : illustration du technicien (dessin au trait, 3 tokens + surface) */
.hero-illus { margin: 0; display: grid; justify-items: center; min-width: 0; }
.hero-illus svg { display: block; width: 100%; max-width: 22rem; height: auto; aspect-ratio: 300 / 330; }
.tech .body { fill: var(--surface); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.tech .tech-o { fill: none; stroke: var(--ink); stroke-width: 3; }
.tech .tech-l { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tech .limb-o { fill: none; stroke: var(--ink); stroke-width: 26; stroke-linecap: round; }
.tech .limb-i { fill: none; stroke: var(--surface); stroke-width: 20; stroke-linecap: round; }
.tech .tech-lance { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.tech .accent { fill: var(--petrol); }
.tech .ink-fill { fill: var(--ink); }
.tech .hilite { fill: none; stroke: var(--surface); stroke-width: 3; stroke-linecap: round; }
.tech .thin { fill: none; stroke: var(--ink); stroke-width: 1.5; } /* QA v3 : 3 tokens max (US-34) */
/* < 768 px : l'illustration passe sous les CTA, réduite à 180 px de haut */
@media (max-width: 767px) {
  .hero-illus svg { max-height: 180px; width: auto; max-width: 100%; }
}

/* US-33 : variante portrait du composant photo (seule différence : le ratio) */
.photo-slot--portrait .photo-frame { aspect-ratio: 3 / 4; }
.photo-slot--portrait { max-width: 20rem; }
.portrait-row { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 768px) { .portrait-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.portrait-row > * { min-width: 0; }

/* =========================================================
   v4 — SEO local : « Services liés » et page zone d'intervention
   ========================================================= */
.related-list { list-style: none; padding: 0; margin: 0; }
.related-card {
  display: grid; gap: 0.35rem; height: 100%; min-height: 44px; padding: 1rem 1.15rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
}
.related-card strong { font-family: var(--font-display); font-stretch: 87.5%; font-size: 1.1rem; color: var(--petrol); }
.related-card span { color: var(--muted); font-size: 0.95rem; }
.related-card:hover { border-color: var(--petrol); }
.related-card:hover strong { text-decoration: underline; text-underline-offset: 0.18em; }

.area-grid { align-items: start; }
.area-card { border-top: 2px solid var(--ink); padding-top: 0.9rem; min-width: 0; }
.area-card h3 { margin-bottom: 0.4rem; }
.area-card p { color: var(--muted); }
.area-card a { font-weight: 600; }


/* =========================================================
   v5 — WhatsApp, garantie, « Vérifiez-nous », rappel, mini-diagnostic, ressources
   ========================================================= */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* WhatsApp : fond --wa, texte et bordure --on-wa (contour ≥ 3:1 sur fond clair) */
.btn-wa { background: var(--wa); color: var(--on-wa); border: 2px solid var(--on-wa); }
.btn-wa:hover { filter: brightness(1.05); text-decoration: underline; }
.btn-wa:focus-visible, .wa-float:focus-visible { outline: 3px solid var(--on-wa); outline-offset: 2px; }
.wa-hint { font-size: var(--fs-sm); color: var(--muted); margin-top: -0.4rem; }

/* Barre de contact : ordinateur = bouton flottant WhatsApp ; mobile = barre partagée Appeler | WhatsApp */
.wa-float {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--wa); color: var(--on-wa); font-weight: 750; text-decoration: none;
}
.wa-float svg { width: 1.3rem; height: 1.3rem; flex: none; }
@media (min-width: 768px) {
  .wa-float {
    position: fixed; z-index: 50; min-height: 48px; min-width: 48px; padding: 0.6rem 1.1rem;
    right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    border: 2px solid var(--on-wa); border-radius: 999px;
  }
  /* Le bouton flottant ne recouvre ni le dernier contenu du footer ni un champ focalisé */
  html { scroll-padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 767px) {
  .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
  .quickbar .callbar {
    position: static; min-width: 0;
    padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: 0.75rem;
  }
  .wa-float {
    min-height: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
    padding: 0 max(16px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) 0.75rem;
    border-top: 2px solid var(--on-wa); border-left: 2px solid var(--on-wa); font-size: 1.05rem;
  }
  .wa-float:focus-visible { outline-offset: -6px; }
}

/* Garantie écrite de repasse */
.guarantee { margin-top: 2rem; border-color: var(--petrol); }
.guarantee h3 { font-size: 1.15rem; }
.guarantee p + p { margin-top: 0.4rem; }
.guarantee-note { border-left: 4px solid var(--petrol); padding: 0.5rem 0 0.5rem 0.9rem; display: grid; gap: 0.3rem; font-size: 0.95rem; }
.todo-mark { white-space: normal; }
/* QA v5 : la couleur du marqueur ne doit pas être écrasée par un contexte (.assure span → --muted sur jaune : 4,2:1 / 1,26:1) */
.todo-mark.todo-mark { color: var(--on-signal); }
/* QA v5 : lien en texte courant dans le CTA final vert foncé (vert de marque sur --band : 1,79:1) */
.cta-final a:not(.btn):not(.tel-big) { color: var(--on-band); text-decoration-thickness: 1px; }

/* « Vérifiez-nous » */
.verify-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .verify-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.verify { display: grid; gap: 0.75rem; min-width: 0; }
.verify-list { display: grid; gap: 0.6rem; margin: 0; }
.verify-list > div { display: grid; grid-template-columns: minmax(8rem, auto) 1fr; gap: 0.25rem 1rem; padding: 0.6rem 0; border-top: 1px solid var(--line); }
.verify-list dt { font-weight: 650; }
.verify-list dd { margin: 0; min-width: 0; }
@media (max-width: 479px) { .verify-list > div { grid-template-columns: 1fr; } }
.verify-reviews { display: grid; gap: 1rem; justify-items: start; min-width: 0; }
.verify-reviews .photo-slot { width: 100%; }
.verify-reviews .photo-frame { aspect-ratio: 16 / 7; }
.verify-wrap { grid-column: 1 / -1; border-top: 2px solid var(--ink); padding-top: 1.5rem; }
.btn-ghost { background: transparent; color: var(--muted); border: 2px dashed var(--muted); cursor: default; font-weight: 650; }

/* Formulaire « Être rappelé » */
.rappel-wrap { max-width: 40rem; }
.rappel-title { font-size: var(--fs-lg); }
.form-layout--v5 { grid-template-columns: 1fr; }
@media (min-width: 1024px) { .form-layout--v5 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); } }
.form-layout--v5 > .block { display: grid; gap: 1.5rem; align-content: start; min-width: 0; }
.form-layout--v5 .panel .form { border: 0; padding: 0; background: transparent; }
.form-title { font-size: var(--fs-lg); }

/* Mini-diagnostic : liste de liens sans JS, questionnaire avec JS */
.diag { display: grid; gap: 1rem; max-width: 46rem; }
.diag-form { display: none; gap: 1rem; }
.js .diag-form { display: grid; }
.js .diag-fallback { display: none; }
@media (scripting: enabled) { .diag-form { display: grid; } .diag-fallback { display: none; } }
.diag-step legend { font-family: var(--font-display); font-stretch: 87.5%; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; }
.diag-step legend:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.diag-result { display: grid; gap: 0.75rem; border-top: 2px solid var(--ink); padding-top: 1rem; }
.diag-result:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.diag-more { margin-top: 1.25rem; }

/* Ressources, articles */
.resources-links { margin-top: 1rem; }
.article-body > * + * { margin-top: 1rem; }
.article-body h2 { margin-top: 2.25rem; }
.article-body h3 { margin-top: 1.5rem; }
.article-meta { font-size: var(--fs-sm); color: var(--muted); }
.article-body .notice { margin-top: 2rem; }
.article-list { align-items: stretch; }
.article-card { display: grid; gap: 0.5rem; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.article-card h2 { font-size: var(--fs-md); }
.article-card h2 a { color: var(--ink); }

/* Pied de page : 5 colonnes (colonne « Ressources ») */
@media (min-width: 1024px) { .foot-cols { grid-template-columns: 1.2fr 1fr 1fr 1fr 1.4fr; gap: 1.5rem; } }
.form-layout--v5 .panel h2 { font-size: var(--fs-lg); }

/* =========================================================
   v6 — schéma de zone 92/93/94, illustration technicien, grilles robustes au retrait des blocs DEMO
   ========================================================= */
.plan .zone-sector { fill: var(--petrol-soft); stroke: var(--petrol); stroke-width: 2; stroke-linejoin: round; }
.plan .zone-paris { fill: var(--surface); stroke: var(--ink); stroke-width: 2.5; }
.plan .zone-code { fill: var(--petrol); font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.tech-figure { margin: 0; display: grid; gap: 0.6rem; justify-items: center; align-content: start; min-width: 0; }
.tech-figure svg { display: block; width: 100%; max-width: 16rem; height: auto; aspect-ratio: 240 / 300; }
.tech-figure figcaption { font-size: var(--fs-sm); color: var(--muted); text-align: center; }
@media (max-width: 767px) { .tech-figure svg { max-height: 220px; width: auto; } }
/* Une grille dont le bloc DEMO a été retiré au build passe sur une colonne */
.split:has(> :only-child), .verify-grid:has(> :only-child), .portrait-row:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .with-photo:not(:has(> .photo-slot)) { grid-template-columns: minmax(0, 1fr); } }

/* v7 — avis Google réels (relevé chiffré, sans texte d'avis) */
.reviews-real { display: grid; gap: 0.75rem; justify-items: start; max-width: 44rem; }
.reviews-real .rating { font-size: var(--fs-md); }
