/* ==========================================================================
   PRO NET HABITAT — socle design (pnh.css)
   Couvreur à Louhans (71). Mobile-first, aucune dépendance.
   Version : 20260925g  →  lien : /assets/pnh/pnh.css?v=20260925g
   --------------------------------------------------------------------------
   SOMMAIRE
   01. Polices (auto-hébergées)
   02. Variables (palette, typo, espacements)
   03. Base / reset
   04. Typographie & utilitaires texte
   05. Mise en page (container, sections, grilles, split)
   06. Boutons, liens, badges, puces
   07. Icônes
   08. En-tête (header sticky) & navigation desktop
   09. Tiroir mobile (drawer) & verrou de scroll
   10. Barre d'action mobile fixe
   11. Hero (accueil + pages intérieures) & fil d'Ariane
   12. Bandeau de preuves / chiffres
   13. Cartes services
   14. Avant / après (comparateur + paires) & galerie
   15. Blocs « pourquoi nous », offre, zones, villes
   16. Avis clients
   17. FAQ
   18. Bandeau CTA
   19. Formulaires
   20. Prose (textes longs) & encadrés
   21. Pied de page
   22. Lightbox
   23. Pages système (404, merci)
   24. Préférences (mouvement réduit, impression)
   ========================================================================== */

/* 01. POLICES ============================================================= */
/* Titres : Barlow Condensed (écho du logo condensé). Texte : Source Sans 3 (variable). */
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/pnh/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/pnh/fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/pnh/fonts/source-sans-3-var.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/pnh/fonts/source-sans-3-var-italic.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}

/* 02. VARIABLES =========================================================== */
:root {
  /* Ardoise (anthracite profond) */
  --ardoise-950: #14181c;
  --ardoise-900: #1d2329;
  --ardoise-800: #283038;
  --ardoise-700: #3a444e;
  --ardoise-500: #66717b;
  --ardoise-300: #9aa4ad;
  --ardoise-100: #c3cad1;
  /* Terre cuite (accent) — #b04a22 : texte blanc AA (5,5:1) */
  --terre-700: #8c3a19;
  --terre-600: #b04a22;
  --terre-500: #c8622f;
  --terre-400: #e8894f; /* accent sur fond sombre (6,1:1 sur ardoise-900) */
  --terre-300: #f0a774; /* texte d'accent sur fond sombre (7,9:1) */
  /* Sable (fonds clairs) */
  --sable-50: #faf6ef;
  --sable-100: #f3ecdf;
  --sable-200: #e8dcc8;
  --sable-300: #d6c4a6;
  --blanc: #ffffff;
  /* Or des étoiles Google */
  --etoile: #f2b33d;

  /* Rôles */
  --c-bg: var(--sable-50);
  --c-text: #1f2429;
  --c-muted: #545d66;
  --c-line: #e2d7c4;
  --c-accent: var(--terre-600);
  --c-accent-hover: var(--terre-700);
  --c-focus: #e8894f;
  --c-error: #b3261e;
  --c-success: #2f6b3c;

  /* Typo */
  --f-titre: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --f-texte: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-base: 1.0625rem;            /* 17 px */
  --fs-small: 0.9375rem;           /* 15 px (mentions, légendes uniquement) */
  --fs-lead: clamp(1.125rem, 0.9rem + 0.8vw, 1.3125rem);
  --fs-h1: clamp(2.5rem, 1.4rem + 5.2vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.9vw, 3.375rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --lh: 1.6;

  /* Espacements */
  --gutter: 20px;
  --maxw: 1200px;
  --maxw-narrow: 780px;
  --section-y: clamp(60px, 2.5rem + 5.4vw, 128px);
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 24, 28, .08), 0 2px 8px rgba(20, 24, 28, .06);
  --shadow: 0 10px 30px -10px rgba(20, 24, 28, .35);
  --header-h: 68px;
  --actionbar-h: 64px;
  --pitch: 34px; /* hauteur du pignon (motif de toit des sections) */
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 80px; --pitch: 56px; } }

/* 03. BASE / RESET ======================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--f-texte); font-size: var(--fs-base); line-height: var(--lh);
  color: var(--c-text); background: var(--c-bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; /* garde-fou anti-débordement */
  padding-bottom: calc(var(--actionbar-h) + env(safe-area-inset-bottom, 0px)); /* place de la barre mobile */
}
@media (min-width: 1080px) { body { padding-bottom: 0; } }
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: var(--c-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-accent-hover); }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--terre-400); color: var(--ardoise-950); }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 2rem 0; }
[hidden] { display: none !important; }

/* 04. TYPOGRAPHIE ========================================================= */
h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: var(--f-titre); font-weight: 700; line-height: 1.02;
  letter-spacing: .005em; margin: 0; text-wrap: balance; overflow-wrap: break-word;
}
h1, .h1 { font-size: var(--fs-h1); text-transform: uppercase; line-height: 1.04; /* .95 : l’accent des capitales (É) touchait la ligne du dessus */ }
h2, .h2 { font-size: var(--fs-h2); text-transform: uppercase; }
h3, .h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.15; }
h4 { font-size: 1.1875rem; font-weight: 600; font-family: var(--f-texte); line-height: 1.3; }
.accent { color: var(--terre-600); }
.section--dark .accent, .hero .accent, .cta-band .accent { color: var(--terre-300); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--c-muted); max-width: 62ch; }
.section--dark .lead, .hero .lead { color: var(--ardoise-100); }
.small { font-size: var(--fs-small); }
.muted { color: var(--c-muted); }
.center { text-align: center; }
.center .lead, .lead.center { margin-inline: auto; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Sur-titre avec motif de faîtage (petit toit en chevron) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-titre); font-weight: 600; font-size: 1.0625rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--terre-600);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 13px; flex: none;
  background: currentColor;
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 84% 100%, 50% 32%, 16% 100%);
}
.section--dark .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--terre-300); }
.center .eyebrow, .eyebrow.center { justify-content: center; }
/* Titre de section : sur-titre + h2 + chapeau */
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); max-width: 820px; }
.section-head > * + * { margin-top: 1rem; }
.section-head.center { margin-inline: auto; }
/* Espacement vertical simple entre enfants */
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.75rem; }

/* 05. MISE EN PAGE ======================================================== */
.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--maxw-narrow) + 2 * var(--gutter)); }
.container--wide { max-width: calc(1400px + 2 * var(--gutter)); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(40px, 2rem + 3vw, 72px); }
.section--sable { background: var(--sable-100); }
.section--white { background: var(--blanc); }
.section--dark { background: var(--ardoise-900); color: var(--sable-100); }
.section--dark a:not(.btn) { color: var(--terre-300); }
.section--dark h2, .section--dark h3 { color: var(--blanc); }
/* Motif signature : pignon de toit en haut de section (hérite la couleur de fond) */
.pitch-top { margin-top: var(--pitch); }
.pitch-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--pitch) * -1 + 1px);
  height: var(--pitch); background: inherit;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  pointer-events: none;
}
/* Grilles */
.grid { display: grid; gap: clamp(16px, 1rem + 1vw, 32px); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Split : texte + visuel (ajouter .split--reverse pour inverser en desktop) */
.split { display: grid; gap: clamp(32px, 2rem + 3vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .split--reverse > :first-child { order: 2; }
}
/* Visuel encadré : photo avec bloc terre cuite décalé (signature) */
.media-frame { position: relative; margin: 0 14px 14px 0; }
.media-frame::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  background: var(--terre-500); border-radius: var(--radius-lg); z-index: 0;
}
.media-frame img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.media-frame__badge {
  position: absolute; z-index: 2; left: -8px; bottom: 24px;
  background: var(--ardoise-900); color: var(--blanc); padding: .8rem 1.1rem; border-radius: var(--radius);
  box-shadow: var(--shadow); font-family: var(--f-titre); font-size: 1.125rem; line-height: 1.1; max-width: 70%;
}
.media-frame__badge strong { display: block; font-size: 2.25rem; color: var(--terre-300); }
@media (min-width: 768px) { .media-frame__badge { left: -24px; } }

/* 06. BOUTONS, LIENS, BADGES ============================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .7rem 1.4rem; border-radius: var(--radius);
  font-family: var(--f-titre); font-weight: 700; font-size: 1.1875rem; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none; line-height: 1.1; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--terre-600); color: var(--blanc); box-shadow: 0 6px 18px -8px rgba(140, 58, 25, .8); }
.btn--primary:hover { background: var(--terre-700); color: var(--blanc); }
.btn--dark { background: var(--ardoise-900); color: var(--blanc); }
.btn--dark:hover { background: var(--ardoise-700); color: var(--blanc); }
.btn--light { background: var(--blanc); color: var(--ardoise-900); }
.btn--light:hover { background: var(--sable-100); color: var(--ardoise-900); }
.btn--outline { border-color: var(--ardoise-900); color: var(--ardoise-900); background: transparent; }
.btn--outline:hover { background: var(--ardoise-900); color: var(--blanc); }
.btn--outline-light { border-color: rgba(255, 255, 255, .7); color: var(--blanc); background: transparent; }
.btn--outline-light:hover { background: var(--blanc); color: var(--ardoise-900); border-color: var(--blanc); }
.btn--lg { min-height: 58px; padding: .85rem 1.8rem; font-size: 1.3125rem; }
.btn--sm { min-height: 44px; padding: .5rem 1rem; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row, .btn-row.center { justify-content: center; }
@media (max-width: 479px) { .btn-row--stack > .btn { width: 100%; } }
/* Lien fléché */
.link-arrow {
  display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none;
  color: var(--terre-600); min-height: 44px;
}
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.section--dark .link-arrow { color: var(--terre-300); }
/* Badge / étiquette */
.badge {
  display: inline-flex; align-items: center; gap: .4em; padding: .3rem .75rem; border-radius: 999px;
  background: var(--sable-200); color: var(--ardoise-900); font-weight: 600; font-size: var(--fs-small); line-height: 1.3;
}
.badge--terre { background: var(--terre-600); color: var(--blanc); }
.badge--dark { background: var(--ardoise-900); color: var(--blanc); }
/* Liste à coches */
.checklist { list-style: none; padding: 0; display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--terre-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.section--dark .checklist li::before { background-color: var(--terre-500); }
/* Puces de villes / liens compacts */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: .45rem 1rem;
  border: 1.5px solid var(--sable-300); border-radius: 999px; background: var(--blanc);
  color: var(--ardoise-900); font-weight: 600; text-decoration: none; line-height: 1.2;
}
.chip .icon { width: 1em; height: 1em; color: var(--terre-600); }
a.chip:hover { border-color: var(--terre-600); color: var(--terre-700); }
.chip--static { background: transparent; }
.section--dark .chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: var(--blanc); }
.section--dark a.chip:hover { border-color: var(--terre-400); color: var(--terre-300); }

/* 07. ICÔNES ============================================================== */
.icon {
  width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }
.icon--lg { width: 2rem; height: 2rem; }
.icon-box {
  display: inline-grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 12px;
  background: var(--sable-200); color: var(--terre-600);
}
.icon-box .icon { width: 28px; height: 28px; }
.section--dark .icon-box { background: rgba(232, 137, 79, .14); color: var(--terre-300); }
.stars { display: inline-flex; gap: 2px; color: var(--etoile); }
.stars .icon { width: 1.15em; height: 1.15em; }

/* 08. EN-TÊTE & NAVIGATION ============================================== */
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 1000; padding: .8rem 1.2rem; border-radius: var(--radius);
  background: var(--blanc); color: var(--ardoise-900); font-weight: 700; text-decoration: none; box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ardoise-900); color: var(--blanc);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow .2s, background-color .2s;
}
.site-header.is-scrolled { background: rgba(20, 24, 28, .96); box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .6); }
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled { background: rgba(20, 24, 28, .88); backdrop-filter: saturate(140%) blur(10px); }
}
.site-header__inner {
  display: flex; align-items: center; gap: 12px; height: var(--header-h);
  transition: height .2s;
}
.site-header.is-scrolled .site-header__inner { height: calc(var(--header-h) - 12px); }
.brand { display: flex; align-items: center; flex: none; margin-right: auto; padding: 6px 0; }
.brand img { height: 46px; width: auto; transition: height .2s; }
@media (min-width: 768px) { .brand img { height: 54px; } }
.site-header.is-scrolled .brand img { height: 42px; }
/* Téléphone visible dans l'en-tête */
.header-phone {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: 0 .25rem;
  color: var(--blanc); text-decoration: none; font-family: var(--f-titre); font-weight: 700;
  font-size: 1.25rem; letter-spacing: .03em; white-space: nowrap;
}
.header-phone .icon { color: var(--terre-400); }
.header-phone:hover { color: var(--terre-300); }
.header-phone__num { display: none; }
@media (min-width: 400px) { .header-phone__num { display: inline; } }
.header-cta { display: none; }
@media (min-width: 1080px) { .header-cta { display: inline-flex; } }
/* Bouton burger */
.nav-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
  border: 0; border-radius: var(--radius); background: transparent; color: var(--blanc);
}
.nav-toggle .icon { width: 30px; height: 30px; }
.nav-toggle[aria-expanded="true"] .i-open, .nav-toggle:not([aria-expanded="true"]) .i-close { display: none; }
@media (min-width: 1080px) { .nav-toggle { display: none; } }
/* Navigation principale — mobile : dans le tiroir ; desktop : en ligne */
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: flex; align-items: center; min-height: 48px; color: var(--blanc); text-decoration: none;
  font-family: var(--f-titre); font-weight: 600; font-size: 1.25rem; letter-spacing: .03em; text-transform: uppercase;
}
.nav__link:hover, .nav__sub a:hover { color: var(--terre-300); }
.nav__link[aria-current="page"], .nav__sub a[aria-current="page"] { color: var(--terre-300); }
.nav__item--has-sub { position: relative; display: flex; flex-wrap: wrap; align-items: center; }
.nav__item--has-sub > .nav__link { flex: 1; }
.nav__subtoggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; background: transparent; color: var(--blanc); border-radius: var(--radius);
}
.nav__subtoggle .icon { transition: transform .15s; }
.nav__subtoggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub { list-style: none; margin: 0; padding: 0; width: 100%; }
.nav__sub a {
  display: flex; align-items: center; min-height: 44px; padding: .35rem 0 .35rem 1rem;
  color: var(--ardoise-100); text-decoration: none; font-size: 1.0625rem; border-left: 2px solid var(--ardoise-700);
}
/* Mobile : sous-menus repliés par défaut (JS) ; sans JS ils restent ouverts */
.js .nav__sub:not(.is-open) { display: none; }
.nav__sub--all a { color: var(--terre-300); font-weight: 600; }

@media (min-width: 1080px) {
  .site-nav { display: block; margin-left: 12px; }
  .nav__list { display: flex; align-items: center; gap: 4px; }
  .nav__item { position: relative; }
  .nav__link { font-size: 1.125rem; padding: 0 .6rem; min-height: 44px; }
  .nav__item--has-sub { flex-wrap: nowrap; }
  .nav__item--has-sub > .nav__link { padding-right: 0; }
  .nav__subtoggle { width: 30px; height: 44px; }
  .nav__sub, .js .nav__sub:not(.is-open) {
    display: block; position: absolute; top: 100%; left: 0; width: max-content; min-width: 280px;
    padding: 10px; background: var(--blanc); border-radius: var(--radius-lg); box-shadow: var(--shadow);
    visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility 0s .15s;
  }
  .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* pont de survol */
  .nav__item--has-sub:hover > .nav__sub,
  .nav__item--has-sub:focus-within > .nav__sub,
  .nav__sub.is-open {
    visibility: visible; opacity: 1; transform: none; transition: opacity .15s, transform .15s;
  }
  .nav__sub a { color: var(--ardoise-900); border-left: 0; padding: .5rem .8rem; border-radius: var(--radius); font-weight: 600; }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--sable-100); color: var(--terre-700); }
  .nav__sub--all a { color: var(--terre-600); }
  .nav__drawer-extra { display: none; }
  .nav__link, .header-cta { white-space: nowrap; }
}
@media (min-width: 1080px) and (max-width: 1279.98px) {
  .header-phone__num { display: none; }
  .nav__link { padding: 0 .45rem; font-size: 1.0625rem; }
}

/* 09. TIROIR MOBILE ====================================================== */
@media (max-width: 1079.98px) {
  /* Sans JS : la navigation s'affiche sous l'en-tête (repli) */
  .site-nav { display: none; }
  html:not(.js) .site-nav { display: block; padding: 0 var(--gutter) 16px; background: var(--ardoise-900); }
  html:not(.js) .nav-toggle { display: none; }
  /* Avec JS : panneau plein écran sous l'en-tête, simple fondu d'opacité (pas de glissement saccadé) */
  .js .site-nav {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; top: var(--drawer-top, var(--header-h));
    z-index: 99; background: var(--ardoise-950); overflow-y: auto; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    visibility: hidden; opacity: 0; transition: opacity .16s ease-out, visibility 0s .16s;
  }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity .16s ease-out; }
  .nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__sub { padding-bottom: 12px; }
  .nav__drawer-extra { margin-top: 24px; display: grid; gap: 12px; }
  .nav__drawer-extra .small { color: var(--ardoise-300); }
}
/* Verrou de scroll quand le tiroir ou la lightbox est ouvert */
html.is-locked, html.is-locked body { overflow: hidden; }

/* 10. BARRE D'ACTION MOBILE ============================================== */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(20, 24, 28, .97); border-top: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .5);
}
.action-bar .btn { min-height: 48px; padding: .5rem .75rem; font-size: 1.125rem; }
@media (min-width: 1080px) { .action-bar { display: none; } }

/* 11. HERO & FIL D'ARIANE ================================================ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ardoise-900); color: var(--blanc);
  min-height: min(760px, calc(100svh - var(--header-h)));
  display: flex; align-items: flex-end;
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; object-position: var(--hero-pos, 50% 50%); }
.hero::before { /* voile : lisibilité AA sur photo */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 24, 28, .45) 0%, rgba(20, 24, 28, .35) 30%, rgba(20, 24, 28, .88) 72%, rgba(20, 24, 28, .96) 100%);
}
@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(20, 24, 28, .94) 0%, rgba(20, 24, 28, .82) 38%, rgba(20, 24, 28, .25) 72%, rgba(20, 24, 28, .1) 100%),
      linear-gradient(0deg, rgba(20, 24, 28, .6) 0%, rgba(20, 24, 28, 0) 35%);
  }
}
.hero__inner { padding-block: clamp(120px, 30vh, 200px) clamp(40px, 3rem + 3vw, 96px); width: 100%; }
@media (min-width: 900px) { .hero__inner { padding-block: 96px; } }
.hero__content { max-width: 720px; }
.hero__content > * + * { margin-top: 1.25rem; }
.hero h1 { color: var(--blanc); }
.hero h1 .accent { display: block; }
.hero .lead { color: #e7e2da; font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); }
.hero .btn-row { margin-top: 1.75rem; }
/* Preuves sous le hero (liste horizontale) */
.hero__proofs {
  list-style: none; padding: 0; margin-top: 2rem !important;
  display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; color: #efe9df;
}
.hero__proofs li { display: inline-flex; align-items: center; gap: .45em; }
.hero__proofs .icon { color: var(--terre-400); }
.hero__proofs .stars .icon { color: var(--etoile); }
/* Hero de page intérieure (plus bas) */
.hero--page { min-height: 0; }
.hero--page .hero__inner { padding-block: clamp(72px, 4rem + 6vw, 150px) clamp(40px, 2rem + 3vw, 80px); }
.hero--page h1 { font-size: clamp(2.25rem, 1.3rem + 4vw, 4.25rem); }
/* Hero sans photo */
.hero--plain { background: var(--ardoise-900) linear-gradient(135deg, var(--ardoise-900), var(--ardoise-800)); }
.hero--plain::before { display: none; }
/* Fil d'Ariane */
.breadcrumb { font-size: var(--fs-small); margin-bottom: 1.25rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; opacity: .55; }
.breadcrumb a { color: inherit; text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.breadcrumb a:hover { text-decoration: underline; color: var(--terre-300); }
.breadcrumb [aria-current="page"] { opacity: .8; }
.hero .breadcrumb { color: var(--ardoise-100); }
.breadcrumb--light { color: var(--c-muted); }
.breadcrumb--light a:hover { color: var(--terre-600); }

/* 12. BANDEAU DE PREUVES / CHIFFRES ====================================== */
.stats {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--blanc); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  overflow: hidden;
}
.stat { padding: 20px 16px; text-align: center; border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.stat:nth-child(2n) { border-right: 0; }
.stat__num { font-family: var(--f-titre); font-weight: 700; font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); line-height: 1; color: var(--ardoise-900); }
.stat__num small { font-size: .55em; color: var(--terre-600); margin-left: 2px; }
.stat__label { font-size: var(--fs-small); color: var(--c-muted); line-height: 1.3; font-weight: 600; }
.stat--wide { grid-column: 1 / -1; border-right: 0; }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(var(--stats-cols, 5), minmax(0, 1fr)); }
  .stat, .stat:nth-child(2n) { border-right: 1px solid var(--c-line); border-bottom: 0; padding: 28px 16px; }
  .stat:last-child { border-right: 0; }
  .stat--wide { grid-column: auto; }
}
/* Bandeau qui chevauche le bas du hero */
.stats-overlap { position: relative; z-index: 2; margin-top: -40px; }
@media (min-width: 900px) { .stats-overlap { margin-top: -64px; } }

/* 13. CARTES SERVICES ==================================================== */
.svc-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--blanc); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--c-line);
  transition: box-shadow .2s, transform .2s;
}
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sable-200); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.svc-card:hover .svc-card__media img { transform: scale(1.04); }
.svc-card__num {
  position: absolute; left: 0; bottom: 0; z-index: 1; background: var(--terre-600); color: var(--blanc);
  font-family: var(--f-titre); font-weight: 700; font-size: 1.125rem; padding: .35rem .85rem; border-top-right-radius: var(--radius);
}
.svc-card__body { display: flex; flex-direction: column; gap: .85rem; padding: 22px 22px 24px; flex: 1; }
.svc-card__title { font-size: 1.625rem; }
.svc-card__title a { color: var(--ardoise-900); text-decoration: none; }
.svc-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* toute la carte cliquable */
.svc-card__title a:focus-visible { outline: none; }
.svc-card:has(a:focus-visible) { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.svc-card .checklist { font-size: 1rem; }
.svc-card__more { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--terre-600); }
.svc-card:hover .svc-card__more .icon { transform: translateX(3px); }
.svc-card__more .icon { transition: transform .15s; }
/* Variante compacte (liste de liens de services, sans image) */
.svc-mini {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; min-height: 64px;
  background: var(--blanc); border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  text-decoration: none; color: var(--ardoise-900); font-weight: 700; line-height: 1.25;
}
.svc-mini .icon-box { width: 44px; height: 44px; flex: none; }
.svc-mini .icon-box .icon { width: 22px; height: 22px; }
.svc-mini > .icon:last-child { margin-left: auto; color: var(--terre-600); }
.svc-mini:hover { border-color: var(--terre-600); color: var(--terre-700); }

/* 14. AVANT / APRÈS ====================================================== */
/* Comparateur à curseur : input range accessible + clip-path.
   Sans JS : les deux images s'affichent côte à côte (repli). */
.ba { margin: 0; }
.ba__frame {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: var(--ba-ratio, 4 / 3); background: var(--ardoise-800);
  --pos: 50%; user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; top: 12px; z-index: 2; padding: .3rem .7rem; border-radius: var(--radius);
  font-family: var(--f-titre); font-weight: 700; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase;
  pointer-events: none;
}
.ba__tag--before { left: 12px; background: rgba(20, 24, 28, .85); color: var(--blanc); }
.ba__tag--after { right: 12px; background: var(--terre-600); color: var(--blanc); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 3px; margin-left: -1.5px;
  background: var(--blanc); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); pointer-events: none;
}
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border-radius: 50%; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b04a22' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 26px no-repeat;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.ba__range {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent;
  touch-action: pan-y;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100vh; }
.ba__range::-moz-range-thumb { width: 48px; height: 100vh; border: 0; }
.ba__range:focus-visible + .ba__handle::after { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.ba figcaption, .ba-pair figcaption { margin-top: .75rem; font-size: 1rem; color: var(--c-muted); line-height: 1.4; }
.ba figcaption strong, .ba-pair figcaption strong { color: var(--c-text); display: block; font-size: 1.0625rem; }
.section--dark .ba figcaption { color: var(--ardoise-100); }
.section--dark .ba figcaption strong { color: var(--blanc); }
.ba__hint { display: inline-flex; align-items: center; gap: .4em; font-size: var(--fs-small); color: var(--c-muted); }
.section--dark .ba__hint { color: var(--ardoise-300); }
/* Repli sans JS : côte à côte */
html:not(.js) .ba__frame { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; aspect-ratio: auto; }
html:not(.js) .ba__img { position: static; aspect-ratio: 4 / 3; clip-path: none; order: 1; }
html:not(.js) .ba__img--before { order: 0; }
html:not(.js) .ba__range, html:not(.js) .ba__handle { display: none; }
html:not(.js) .ba__tag--after { right: 12px; }
/* Mise en page avant/après : 1 grand + petits */
.ba-layout { display: grid; gap: 28px; }
@media (min-width: 1000px) { .ba-layout { grid-template-columns: 1.6fr 1fr; align-items: start; } .ba-layout__side { display: grid; gap: 28px; } .ba-layout > .ba .ba__frame { aspect-ratio: 1 / 1; } }
@media (min-width: 640px) and (max-width: 999.98px) { .ba-layout__side { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } }
.ba-layout__side { display: grid; gap: 28px; }
/* Paire statique côte à côte (galerie réalisations) — chaque vignette peut ouvrir la lightbox */
.ba-pair { margin: 0; }
.ba-pair__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-radius: var(--radius-lg); overflow: hidden; }
.ba-pair__item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sable-200); }
.ba-pair__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ba-pair__item:hover img { transform: scale(1.04); }
.ba-pair__item .ba__tag { top: 8px; font-size: .875rem; }
.ba-pair__item .ba__tag--before { left: 8px; }
.ba-pair__item .ba__tag--after { left: 8px; right: auto; }
/* Galerie simple (vignettes lightbox) */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.gallery__item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sable-200); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item::after, .ba-pair__item::after {
  content: ""; position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(20, 24, 28, .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 20px no-repeat;
  opacity: .9;
}

/* 15. POURQUOI NOUS, OFFRE, ZONES ======================================== */
.features { display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--blanc); border-radius: var(--radius-lg); border: 1px solid var(--c-line); }
.feature h3 { font-size: 1.375rem; margin-bottom: .35rem; }
.feature p { color: var(--c-muted); }
.section--dark .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .feature p { color: var(--ardoise-100); }
/* Offre -15 % */
.offer {
  position: relative; overflow: hidden; display: grid; gap: 24px; align-items: center;
  padding: clamp(28px, 1.5rem + 3vw, 56px); border-radius: var(--radius-lg);
  background: var(--terre-600) linear-gradient(120deg, var(--terre-600) 0%, var(--terre-700) 100%); color: var(--blanc);
}
.offer::after { /* toits en filigrane */
  content: ""; position: absolute; right: -40px; bottom: -30px; width: 360px; height: 180px; opacity: .12;
  background: var(--blanc); clip-path: polygon(0 100%, 30% 30%, 45% 55%, 65% 0, 100% 100%, 88% 100%, 65% 22%, 48% 72%, 30% 46%, 10% 100%);
  pointer-events: none;
}
.offer__value { font-family: var(--f-titre); font-weight: 700; font-size: clamp(4.5rem, 3rem + 7vw, 8.5rem); line-height: .85; letter-spacing: -.01em; }
.offer__value small { font-size: .45em; vertical-align: top; margin-left: .05em; }
.offer h2 { color: var(--blanc); font-size: clamp(1.875rem, 1.3rem + 2.4vw, 2.875rem); }
.offer p { color: #fbeee6; max-width: 56ch; }
.offer .small { color: #f6dccd; }
@media (min-width: 900px) { .offer { grid-template-columns: auto 1fr auto; gap: 44px; } }
/* Zones : carte + listes de villes */
.zones { display: grid; gap: 32px; }
@media (min-width: 1000px) { .zones { grid-template-columns: 1.15fr 1fr; align-items: center; } }
.zones__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; background: var(--ardoise-900); }
.zones__map > svg { width: 100%; height: auto; display: block; }
.zones__map img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.zones__radius {
  position: absolute; left: 14px; top: 14px; background: var(--ardoise-900); color: var(--blanc); border-radius: var(--radius);
  padding: .5rem .9rem; font-family: var(--f-titre); font-weight: 700; font-size: 1.25rem; line-height: 1.1;
}
.zones__radius strong { color: var(--terre-300); font-size: 1.6em; display: block; }
.zone-group + .zone-group { margin-top: 1.5rem; }
.zone-group h3 { font-size: 1.25rem; margin-bottom: .7rem; }

/* 16. AVIS CLIENTS ======================================================= */
.reviews { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .reviews { grid-template-columns: 1fr 1.6fr; } }
.review-summary {
  display: flex; flex-direction: column; gap: .75rem; justify-content: center;
  padding: clamp(24px, 1.2rem + 2vw, 40px); border-radius: var(--radius-lg);
  background: var(--ardoise-900); color: var(--blanc);
}
.review-summary__score { font-family: var(--f-titre); font-weight: 700; font-size: clamp(4rem, 3rem + 4vw, 6rem); line-height: .9; }
.review-summary__score small { font-size: .4em; color: var(--ardoise-300); }
.review-summary .stars { font-size: 1.5rem; }
.review-summary p { color: var(--ardoise-100); }
.review {
  position: relative; margin: 0; padding: clamp(24px, 1.2rem + 2vw, 44px); border-radius: var(--radius-lg);
  background: var(--blanc); border: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 1rem;
}
.review__quote-icon { width: 44px; height: 44px; color: var(--terre-500); fill: currentColor; stroke: none; opacity: .9; }
.review blockquote { margin: 0; font-size: clamp(1.1875rem, 1rem + .7vw, 1.4375rem); line-height: 1.5; font-style: italic; color: var(--ardoise-900); }
.review blockquote p + p { margin-top: .75rem; }
.review__author { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-weight: 700; margin-top: auto; }
.review__avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--sable-200); color: var(--terre-700); font-family: var(--f-titre); font-size: 1.25rem;
}
.review__source { display: block; font-weight: 400; color: var(--c-muted); font-size: var(--fs-small); }

/* 17. FAQ ================================================================ */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--blanc); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; }
.faq__item[open] { border-color: var(--sable-300); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; min-height: 60px; cursor: pointer; list-style: none;
  font-family: var(--f-titre); font-weight: 600; font-size: 1.3125rem; line-height: 1.2; color: var(--ardoise-900);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--sable-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b04a22' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .2s;
}
.faq__item[open] > .faq__q::after { transform: rotate(45deg); }
.faq__q:hover { color: var(--terre-700); }
.faq__a { padding: 0 20px 20px; color: var(--c-muted); }
.faq__a > * + * { margin-top: .75rem; }
.section--dark .faq__item { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.section--dark .faq__q { color: var(--blanc); }
.section--dark .faq__a { color: var(--ardoise-100); }
@media (min-width: 1000px) { .faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 24px); } }

/* 18. BANDEAU CTA ======================================================== */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; color: var(--blanc);
  background: var(--ardoise-950);
  padding-block: clamp(64px, 4rem + 4vw, 120px);
}
.cta-band__media, .cta-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band__media { z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 24, 28, .95) 10%, rgba(20, 24, 28, .78) 60%, rgba(140, 58, 25, .7) 100%); }
.cta-band h2 { color: var(--blanc); max-width: 18ch; }
.cta-band p { color: var(--ardoise-100); max-width: 56ch; }
.cta-band__inner > * + * { margin-top: 1.25rem; }
.cta-band .btn-row { margin-top: 2rem; }
.cta-band__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--ardoise-100); font-weight: 600; }
.cta-band__meta span { display: inline-flex; align-items: center; gap: .45em; }
.cta-band__meta .icon { color: var(--terre-400); }

/* 19. FORMULAIRES ======================================================== */
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label, .fieldset__legend { font-weight: 700; color: var(--ardoise-900); line-height: 1.3; }
.field__label .req, .fieldset__legend .req { color: var(--terre-600); }
.field__input {
  width: 100%; min-height: 52px; padding: .75rem .95rem; font-size: 1.0625rem; /* ≥16px : pas de zoom iOS */
  background: var(--blanc); color: var(--c-text); border: 1.5px solid #cbbfa9; border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
textarea.field__input { min-height: 150px; resize: vertical; line-height: 1.5; }
.field__input::placeholder { color: #8a8f94; }
.field__input:hover { border-color: var(--ardoise-500); }
.field__input:focus { outline: none; border-color: var(--terre-600); box-shadow: 0 0 0 3px rgba(200, 98, 47, .25); }
.field__hint { font-size: var(--fs-small); color: var(--c-muted); }
.field__error { font-size: var(--fs-small); color: var(--c-error); font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.field--invalid .field__input, .field__input[aria-invalid="true"] { border-color: var(--c-error); box-shadow: 0 0 0 3px rgba(179, 38, 30, .15); }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset__legend { padding: 0; margin-bottom: 10px; }
.checks { display: grid; gap: 10px; }
@media (min-width: 560px) { .checks { grid-template-columns: 1fr 1fr; } }
.check {
  position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 52px;
  padding: 13px 14px; background: var(--blanc); border: 1.5px solid #d9ceb9; border-radius: var(--radius);
  cursor: pointer; line-height: 1.35;
}
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--terre-600); }
.check:hover { border-color: var(--ardoise-500); }
.check:has(input:checked) { border-color: var(--terre-600); background: #fdf3ec; }
.check:has(input:focus-visible) { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.check--plain { background: transparent; border: 0; padding: 4px 0; min-height: 44px; }
.check--plain:has(input:checked) { background: transparent; }
.fieldset--invalid .check { border-color: var(--c-error); }
/* Pot de miel anti-spam : invisible pour les humains, pas pour les robots */
.form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: 14px 16px; border-radius: var(--radius); font-weight: 600; }
.form__status:empty { display: none; }
.form__status--error { background: #fbe9e7; color: var(--c-error); border: 1px solid #f0b8b2; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__foot .small { color: var(--c-muted); }
.form-card { background: var(--blanc); border-radius: var(--radius-lg); padding: clamp(20px, 1rem + 2.5vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--c-line); }

/* 20. PROSE & ENCADRÉS =================================================== */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); margin-top: 2.75rem; }
.prose h3 { margin-top: 2rem; }
.prose h2 + *, .prose h3 + * { margin-top: .8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .4rem; }
.prose li::marker { color: var(--terre-600); }
.prose strong { color: var(--ardoise-900); }
.section--dark .prose strong { color: var(--blanc); }
.prose img, .prose figure { border-radius: var(--radius-lg); }
.callout {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-lg);
  background: var(--sable-100); border-left: 5px solid var(--terre-600);
}
.callout .icon { color: var(--terre-600); margin-top: 2px; }
.callout--dark { background: var(--ardoise-900); color: var(--sable-100); }
.card { background: var(--blanc); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(20px, 1rem + 1.5vw, 32px); }
.card > * + * { margin-top: .8rem; }
/* Étapes numérotées (méthode d'intervention) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(var(--steps-cols, 4), minmax(0, 1fr)); gap: 20px; } }
.steps li { counter-increment: step; position: relative; padding: 22px 20px 22px; background: var(--blanc); border-radius: var(--radius-lg); border: 1px solid var(--c-line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--f-titre); font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--terre-500); margin-bottom: .5rem; }
.steps h3 { font-size: 1.3125rem; margin-bottom: .35rem; }
.steps p { color: var(--c-muted); }
.section--dark .steps li { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .steps p { color: var(--ardoise-100); }

/* 21. PIED DE PAGE ======================================================= */
.site-footer { background: var(--ardoise-950); color: var(--ardoise-100); font-size: 1rem; }
.site-footer a { color: var(--sable-100); text-decoration: none; }
.site-footer a:hover { color: var(--terre-300); text-decoration: underline; }
.footer__top { display: grid; gap: 40px; padding-block: clamp(56px, 3rem + 3vw, 96px) 40px; }
@media (min-width: 700px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer__top { grid-template-columns: 1.35fr 1fr 1fr .9fr; gap: 48px; } }
.footer__brand img { height: 64px; width: auto; margin-bottom: 1rem; }
.footer__brand p { max-width: 38ch; }
.footer__title { font-family: var(--f-titre); font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; color: var(--blanc); margin: 0 0 1rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer__list a { display: inline-flex; align-items: center; min-height: 40px; }
.footer__nap { font-style: normal; display: grid; gap: 10px; margin-top: 1.25rem; }
.footer__nap > * { display: flex; gap: 10px; align-items: flex-start; }
.footer__nap .icon { color: var(--terre-400); margin-top: 3px; }
.footer__nap a { min-height: 32px; display: inline-flex; align-items: center; }
.footer__google {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 1.25rem; padding: 10px 14px; min-height: 52px;
  border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius); background: rgba(255, 255, 255, .04);
}
.footer__google:hover { border-color: var(--terre-400); text-decoration: none !important; }
.footer__google strong { color: var(--blanc); font-size: 1.125rem; }
.footer__google .small { display: block; color: var(--ardoise-300); line-height: 1.2; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px 28px; font-size: var(--fs-small); color: var(--ardoise-300); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer__legal a { color: var(--ardoise-100); min-height: 32px; display: inline-flex; align-items: center; }
.footer__homonymes { margin-top: 12px; color: var(--ardoise-300); max-width: 100ch; }

/* 22. LIGHTBOX =========================================================== */
.lightbox {
  border: 0; padding: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  background: rgba(10, 12, 14, .94); color: var(--blanc);
}
.lightbox::backdrop { background: rgba(10, 12, 14, .94); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 16px; }
.lightbox__count { font-family: var(--f-titre); font-size: 1.125rem; color: var(--ardoise-100); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 8px; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox__caption { text-align: center; padding: 12px 20px calc(18px + env(safe-area-inset-bottom, 0px)); color: var(--sable-100); min-height: 3em; }
.lightbox__btn {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .1); color: var(--blanc);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox__btn .icon { width: 28px; height: 28px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: -64px; transform: none; } .lightbox__stage { margin-bottom: 64px; } }

/* 23. PAGES SYSTÈME ====================================================== */
.system-page { min-height: 60vh; display: flex; align-items: center; }
.system-page__code { font-family: var(--f-titre); font-weight: 700; font-size: clamp(6rem, 4rem + 10vw, 11rem); line-height: .85; color: var(--terre-600); }

/* 23b. COMPOSANTS DE PAGES (intégrés le 25/09/2026, ex-<style> de page) ==== */
/* Paires / galerie sur fond sombre, variantes */
.section--dark .ba-pair figcaption { color: var(--ardoise-100); }
.section--dark .ba-pair figcaption strong { color: var(--blanc); }
.gallery--3, .split .gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ba-pair > .gallery__item { border-radius: var(--radius-lg); }
.card--dark { background: var(--ardoise-900); color: var(--sable-100); border-color: var(--ardoise-900); }
.card--dark .eyebrow, .card--dark .link-arrow { color: var(--terre-300); }
.card--dark h3, .card--dark h3 a { color: var(--blanc); }
/* Réalisations : filtres de la galerie */
.filters{margin-bottom:2.5rem}
.filters .chip[aria-current="true"]{background:var(--terre-600);border-color:var(--terre-600);color:#fff}
.filters .chip[aria-current="true"] .icon{color:#fff}
.filters .chip span{font-weight:400;opacity:.8}
.filters .chip[aria-current="true"] span{opacity:1}
.gal-cat+.gal-cat{margin-top:clamp(56px,3rem + 3vw,96px)}
.gal-cat{scroll-margin-top:calc(var(--header-h,72px) + 16px)}
/* Devis gratuit */
.dv-layout { display: grid; gap: 28px; }
@media (min-width: 1000px) { .dv-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; align-items: start; } .dv-aside { position: sticky; top: calc(var(--header-h) + 20px); } .dv-mobile-only { display: none !important; } }
.dv-aside { display: grid; gap: 20px; }
.dv-formhead { margin-bottom: 24px; }
.dv-formhead > * + * { margin-top: .5rem; }
.dv-formhead h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem); }
.dv-call { background: var(--ardoise-900); color: var(--sable-100); border-radius: var(--radius-lg); padding: clamp(22px, 1rem + 1.5vw, 32px); }
.dv-call > * + * { margin-top: .75rem; }
.dv-call .eyebrow { color: var(--terre-300); }
.dv-call__num { display: inline-flex; align-items: center; gap: .4em; font-family: var(--f-titre); font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.5rem); line-height: 1.05; color: var(--blanc); text-decoration: none; white-space: nowrap; }
.dv-call__num .icon { color: var(--terre-400); width: .8em; height: .8em; }
.dv-call__num:hover { color: var(--terre-300); }
.dv-call a:not(.btn):not(.dv-call__num) { color: var(--terre-300); }
.dv-google { display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit; }
.dv-google strong { display: block; font-family: var(--f-titre); font-size: 1.5rem; line-height: 1.1; }
.dv-google:hover strong { color: var(--terre-600); }
.dv-offer { display: flex; gap: 16px; align-items: center; background: var(--terre-600); color: var(--blanc); border-radius: var(--radius-lg); padding: 18px 22px; }
.dv-offer__val { font-family: var(--f-titre); font-weight: 700; font-size: 2.75rem; line-height: 1; flex: none; }
.dv-offer p { color: #fdeee4; }
.dv-offer strong { color: var(--blanc); display: block; }
.dv-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 24px; padding: 14px 16px; border-radius: var(--radius); background: var(--sable-100); border-left: 5px solid var(--terre-600); }
.dv-quick a { font-weight: 700; white-space: nowrap; }
@media (min-width: 560px) { .checks--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dv-legal { color: var(--c-muted); }
/* Contact */
.ct-cards { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .ct-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ct-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.ct-card { display: flex; flex-direction: column; gap: 10px; }
.ct-card h3 { font-size: 1.375rem; }
.ct-card__val { font-weight: 700; color: var(--ardoise-900); overflow-wrap: anywhere; }
.ct-card .btn { margin-top: auto; }
.ct-card .icon-box { margin-bottom: 4px; }
.ct-hours { width: 100%; border-collapse: collapse; }
.ct-hours th, .ct-hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.ct-hours th { font-weight: 600; padding-right: 16px; }
.ct-hours td { text-align: right; font-weight: 700; color: var(--ardoise-900); }
.ct-nap { font-style: normal; display: grid; gap: 12px; }
.ct-nap > span { display: flex; gap: 12px; align-items: flex-start; }
.ct-nap .icon { color: var(--terre-600); margin-top: 3px; flex: none; }
.ct-map { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ardoise-900); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
@media (min-width: 640px) { .ct-map { aspect-ratio: 4 / 3; } }
.ct-map > img, .ct-map > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ct-map > img { object-fit: cover; object-position: 73% 50%; filter: saturate(.8); }
@media (min-width: 640px) { .ct-map > img { object-position: 84% 50%; } }
.ct-map__veil { position: absolute; inset: auto 0 0 0; display: flex; justify-content: center; padding: 48px 16px 20px; background: linear-gradient(180deg, rgba(20, 24, 28, 0), rgba(20, 24, 28, .55)); }
.ct-map__pin { position: absolute; left: 50%; top: 57%; transform: translate(-50%, -92%); pointer-events: none; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
.ct-map__pin .icon { width: 56px; height: 56px; color: var(--blanc); fill: var(--terre-600); }
.ct-map__foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.ct-map__foot p { flex: 1 1 260px; }
.ct-map.is-loaded .ct-map__veil, .ct-map.is-loaded > img, .ct-map.is-loaded .ct-map__pin { display: none; }
.ct-form-layout { display: grid; gap: 28px; }
@media (min-width: 1000px) { .ct-form-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; } }
/* Mentions légales */
.ml-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .ml-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: start; } .ml-toc { position: sticky; top: calc(var(--header-h) + 24px); } }
.ml-toc { background: var(--sable-100); border-radius: var(--radius-lg); padding: 20px 22px; }
.ml-toc__title { font-family: var(--f-titre); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; color: var(--ardoise-900); margin-bottom: .5rem; }
.ml-toc ol { margin: 0; padding-left: 1.4rem; }
.ml-toc li { padding: 1px 0; }
.ml-toc li::marker { color: var(--terre-600); font-weight: 700; }
.ml-toc a { display: inline-block; vertical-align: top; padding: 7px 0; color: var(--ardoise-900); text-decoration: none; line-height: 1.3; }
.ml-toc a:hover, .ml-toc a:focus-visible { color: var(--terre-600); text-decoration: underline; }
.ml-body h2 { scroll-margin-top: calc(var(--header-h) + 16px); }
.ml-body h2:first-child { margin-top: 0; }
.ml-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 0; }
.ml-dl dt { font-weight: 700; color: var(--ardoise-900); }
.ml-dl dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 479px) { .ml-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .ml-dl dd { margin-bottom: 10px; } }
.ml-maj { color: var(--c-muted); border-top: 1px solid var(--c-line); padding-top: 1rem; }
/* Pages système */
.chips--center { justify-content: center; }
.system-page .callout { text-align: left; }
/* Merci */
.merci-icon { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--terre-600); color: var(--blanc); margin-inline: auto; }
.merci-icon .icon { width: 44px; height: 44px; stroke-width: 2.6; }

/* 23c. RÉALISATIONS « PORTFOLIO » + ACCUEIL « VOTRE PROBLÈME » (agent E) === */
/* Vitrine : grand comparateur + fiche projet */
.showcase { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1000px) { .showcase { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; } }
.showcase__media .ba__frame { box-shadow: var(--shadow); }
.showcase__media .ba__hint { margin-top: .75rem; }
.showcase__body > * + * { margin-top: 1rem; }
.showcase__body .btn-row { margin-top: 1.5rem; }
/* Barre de filtres collante */
.proj-toolbar { position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px;
  margin: 0 0 28px; padding: 8px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--c-line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.proj-toolbar .filters { margin: 0; min-width: 0; max-width: 100%; }
.proj-toolbar .chips { gap: 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.proj-toolbar .chips::-webkit-scrollbar { display: none; }
.proj-toolbar .chip { white-space: nowrap; border-color: transparent; background: transparent; }
.proj-toolbar .chip span { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 .4em; border-radius: 999px; background: var(--sable-100); font-size: .8125rem; font-weight: 700; opacity: 1; color: var(--ardoise-900); }
.filters .chip[aria-current="true"] span { background: rgba(255, 255, 255, .22); color: #fff; }
.proj-toolbar__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
@media (max-width: 767.98px) { .proj-toolbar { border-radius: var(--radius-lg); } }
.proj-anchor { display: block; position: relative; top: calc(-1 * var(--header-h) - 16px); }
/* Grille de fiches chantier */
.proj-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .proj-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; } }
.proj-card { display: flex; flex-direction: column; background: var(--blanc); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--c-line); transition: box-shadow .25s, transform .25s; }
.proj-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.proj-card[hidden] { display: none; }
.proj-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--sable-200); }
.proj-card__media .ba, .proj-card__media .ba__frame { height: 100%; }
.proj-card__media .ba__frame { border-radius: 0; aspect-ratio: auto; }
.proj-card__single { position: absolute; inset: 0; display: block; overflow: hidden; }
.proj-card__single img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.proj-card__single:hover img { transform: scale(1.03); }
.proj-card__single .ba__tag { left: 12px; right: auto; }
.proj-split { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--blanc); }
.proj-split__item { position: relative; overflow: hidden; }
.proj-split__item img { width: 100%; height: 100%; object-fit: cover; }
.proj-split__item .ba__tag--before { left: 10px; }
.proj-split__item .ba__tag--after { left: auto; right: 10px; }
.proj-card__zoom { position: absolute; right: 10px; bottom: 10px; z-index: 4; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(20, 24, 28, .72); color: var(--blanc); transition: background .2s; }
.proj-card__zoom:hover, .proj-card__zoom:focus-visible { background: var(--terre-600); }
.proj-card__zoom .icon { width: 22px; height: 22px; }
.proj-card__body { display: flex; flex-direction: column; gap: .55rem; padding: 18px 20px 16px; flex: 1; }
.proj-card__body > p:not(.proj-card__meta) { color: var(--c-muted); font-size: 1rem; line-height: 1.5; }
.proj-card__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .875rem; }
.proj-card__cat { display: inline-flex; align-items: center; gap: .35em; padding: .2rem .65rem; border-radius: 999px; background: #fbe9df; color: var(--terre-700); font-weight: 700; }
.proj-card__cat .icon { width: 1em; height: 1em; }
.proj-card__kind { color: var(--c-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; }
.proj-card__title { font-size: 1.375rem; line-height: 1.15; }
.proj-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--terre-700); text-decoration: none; min-height: 44px; }
.proj-card__link .icon { transition: transform .2s; }
.proj-card__link:hover .icon { transform: translateX(3px); }
/* Métiers en images */
.cat-cards { display: grid; gap: 24px; }
@media (min-width: 900px) { .cat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.cat-card { display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; }
.cat-card__media { aspect-ratio: 16 / 7; overflow: hidden; background: var(--sable-200); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cat-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.cat-card__body p:not(.eyebrow) { color: var(--c-muted); }
.cat-card__body .btn-row { margin-top: auto; padding-top: .5rem; align-items: center; }
/* Confiance */
.trust { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .trust { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; } }
.trust__head > * + * { margin-top: 1rem; }
.trust .features { margin-top: 1.75rem; }
.section--dark .review { color: var(--c-text); }
.section--dark .review__author { color: var(--ardoise-900); }
.section--dark .review a { color: var(--terre-700); }

/* Accueil : « Quel est votre problème ? » */
.problems { display: grid; gap: 14px; }
@media (min-width: 640px) { .problems { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .problems { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.problem { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); background: var(--blanc); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; min-height: 120px; transition: border-color .2s, box-shadow .2s, transform .2s; }
@media (min-width: 1000px) { .problem { grid-template-columns: 1fr; grid-template-rows: auto 1fr; } }
.problem:hover, .problem:focus-visible { border-color: var(--terre-600); box-shadow: var(--shadow); transform: translateY(-2px); }
.problem__media { position: relative; background: var(--sable-200); }
.problem__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) { .problem__media { aspect-ratio: 16 / 9; } }
.problem__body { padding: 14px 16px; display: flex; flex-direction: column; gap: .3rem; }
.problem__q { font-family: var(--f-titre); font-weight: 700; font-size: 1.25rem; line-height: 1.12; color: var(--ardoise-900); }
.problem__a { font-size: .9375rem; color: var(--c-muted); line-height: 1.4; }
.problem__go { margin-top: auto; padding-top: .2rem; display: inline-flex; align-items: center; gap: .35em; font-weight: 700; font-size: .9375rem; color: var(--terre-700); }
.problem__go .icon { width: 1em; height: 1em; }
.problems-foot { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }

/* 23d. FINITIONS MOBILE (agent E) ========================================= */
@media (max-width: 639.98px) {
  .section-head { margin-bottom: 1.75rem; }
  .svc-card__media { aspect-ratio: 2 / 1; }
  .svc-card__body { padding-block: 18px 20px; }
  .feature { padding: 16px; gap: 14px; }
  .feature .icon-box { width: 48px; height: 48px; }
  .steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 12px; padding: 18px 16px; }
  .steps li::before { grid-row: 1 / span 2; margin: 0; font-size: 2.25rem; }
  .steps li > * { grid-column: 2; }
  .cta-band { text-align: left; }
  .proj-card__body { padding: 16px 16px 12px; }
  .problem { min-height: 0; }
  .zone-group + .zone-group { margin-top: 1.25rem; }
}
@media (min-width: 1000px) { .split .features { gap: 14px; } .split .feature { flex-direction: column; gap: 10px; padding: 18px; } .split .feature .icon-box { width: 44px; height: 44px; } }
.split .features { margin-top: 1.5rem; }
/* Confort tactile & finitions générales */
a, button, summary { -webkit-tap-highlight-color: rgba(176, 74, 34, .15); }
img { -webkit-user-drag: none; }
::selection { background: #f6d2bd; color: var(--ardoise-950); }
@media (hover: none) { .proj-card:hover, .problem:hover, .svc-card:hover { transform: none; } }

/* 23e. ILLUSTRATIONS TECHNIQUES EN FOND (fragments abstraits, 1-2 par section) */
.section, .hero--split { isolation: isolate; overflow-x: clip; }
.section::after, .hero--split::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-color: var(--ardoise-900); opacity: .05; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.section--dark::after, .hero--split::after { background-color: var(--blanc); opacity: .045; }
main > section:nth-of-type(4n+1)::after { -webkit-mask-image: url("/assets/pnh/deco-charpente.svg?v=2"), url("/assets/pnh/deco-tuiles.svg?v=2"); mask-image: url("/assets/pnh/deco-charpente.svg?v=2"), url("/assets/pnh/deco-tuiles.svg?v=2");
  -webkit-mask-position: right -140px bottom -40px, left -120px top 40px; mask-position: right -140px bottom -40px, left -120px top 40px;
  -webkit-mask-size: min(760px, 70vw) auto, min(420px, 45vw) auto; mask-size: min(760px, 70vw) auto, min(420px, 45vw) auto; }
main > section:nth-of-type(4n+2)::after { -webkit-mask-image: url("/assets/pnh/deco-maison.svg?v=2"), url("/assets/pnh/deco-echafaudage.svg?v=2"); mask-image: url("/assets/pnh/deco-maison.svg?v=2"), url("/assets/pnh/deco-echafaudage.svg?v=2");
  -webkit-mask-position: left -160px bottom -30px, right -60px top -80px; mask-position: left -160px bottom -30px, right -60px top -80px;
  -webkit-mask-size: min(720px, 72vw) auto, min(300px, 34vw) auto; mask-size: min(720px, 72vw) auto, min(300px, 34vw) auto; }
main > section:nth-of-type(4n+3)::after { -webkit-mask-image: url("/assets/pnh/deco-tuiles.svg?v=2"), url("/assets/pnh/deco-charpente.svg?v=2"); mask-image: url("/assets/pnh/deco-tuiles.svg?v=2"), url("/assets/pnh/deco-charpente.svg?v=2");
  -webkit-mask-position: right -100px bottom -60px, left -260px top -30px; mask-position: right -100px bottom -60px, left -260px top -30px;
  -webkit-mask-size: min(520px, 55vw) auto, min(620px, 64vw) auto; mask-size: min(520px, 55vw) auto, min(620px, 64vw) auto; }
main > section:nth-of-type(4n+4)::after { -webkit-mask-image: url("/assets/pnh/deco-echafaudage.svg?v=2"), url("/assets/pnh/deco-maison.svg?v=2"); mask-image: url("/assets/pnh/deco-echafaudage.svg?v=2"), url("/assets/pnh/deco-maison.svg?v=2");
  -webkit-mask-position: left -40px bottom -120px, right -220px top 30px; mask-position: left -40px bottom -120px, right -220px top 30px;
  -webkit-mask-size: min(320px, 36vw) auto, min(640px, 66vw) auto; mask-size: min(320px, 36vw) auto, min(640px, 66vw) auto; }
.hero--split::after { -webkit-mask-image: url("/assets/pnh/deco-maison.svg?v=2"), url("/assets/pnh/deco-tuiles.svg?v=2"); mask-image: url("/assets/pnh/deco-maison.svg?v=2"), url("/assets/pnh/deco-tuiles.svg?v=2");
  -webkit-mask-position: right -160px bottom -40px, left -140px top 60px; mask-position: right -160px bottom -40px, left -140px top 60px;
  -webkit-mask-size: min(760px, 70vw) auto, min(380px, 40vw) auto; mask-size: min(760px, 70vw) auto, min(380px, 40vw) auto; }
@media (max-width: 767.98px) { main > section.section::after, .hero--split::after { -webkit-mask-position: right -28vw bottom 8px, left -22vw top 40px; mask-position: right -28vw bottom 8px, left -22vw top 40px; -webkit-mask-size: 95vw auto, 60vw auto; mask-size: 95vw auto, 60vw auto; }
  .section::after { opacity: .055; } .section--dark::after, .hero--split::after { opacity: .045; } }
@media print { .section::after, .hero--split::after { display: none; } }

/* Hero « photo encadrée » (contact) : la photo reste nette car affichée à taille raisonnable */
.hero--split .hero-split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .hero--split .hero-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; } }
.hero-split__photo { position: relative; margin: 0; max-width: 520px; justify-self: center; width: 100%; }
.hero-split__photo::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: var(--radius-lg); background: var(--terre-600); z-index: 0; }
.hero-split__photo img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 80% 30%; border-radius: var(--radius-lg); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); }
.hero-split__photo figcaption { position: absolute; left: -10px; bottom: 22px; z-index: 2; background: var(--ardoise-950); color: var(--sable-100); font-size: .875rem; font-weight: 600; padding: .55rem .9rem; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 999.98px) { .hero-split__photo { max-width: 440px; justify-self: start; width: calc(100% - 14px); } .hero-split__photo img { aspect-ratio: 4 / 3; object-position: 85% 25%; } .hero-split__photo figcaption { display: none; } }
.hero--split .hero__inner { position: relative; z-index: 1; }

/* Grain photo (masque la faible définition de la photo de l'artisan) */
.grain { position: relative; }
.grain::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: var(--radius-lg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='2.6 0 0 0 -.8 2.6 0 0 0 -.8 2.6 0 0 0 -.8 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 220px 220px;
  opacity: .2; mix-blend-mode: overlay; }
.hero-split__photo.grain::after { inset: 0 0 auto 0; aspect-ratio: 4 / 5; }
@media (max-width: 999.98px) { .hero-split__photo.grain::after { aspect-ratio: 4 / 3; } }
.media-frame.grain::after { z-index: 1; }
.media-frame__badge { z-index: 3; }
.grain img { filter: contrast(1.04) saturate(1.05); }

/* 24. PRÉFÉRENCES ======================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .action-bar, .site-nav, .cta-band, .skip-link { display: none !important; }
  body { padding: 0; background: #fff; }
}
/* Tiroir ouvert : on retire le flou de l'en-tête (un backdrop-filter crée un bloc
   conteneur qui casserait le position:fixed du tiroir) */
html.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ardoise-950); }
