/* ==========================================================================
   LOK&MAT — feuille de styles du site (toutes pages)
   Charte graphique v1.0 (septembre 2026) : Inter, orange #E85D1A,
   anthracite #1C211F, blanc cassé #F5F3EE.
   Animations : règles d'Emil Kowalski (ease-out fort, transform/opacity,
   durées courtes pour l'UI, apparitions une seule fois, mouvement réduit).
   ========================================================================== */

/* Inter hébergée sur le site (pas d'appel à Google Fonts, RGPD) : version
   variable, graisses 400 à 800, jeu de caractères latin (licence : fonts/OFL.txt) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  /* Charte : couleurs */
  --primary: #e85d1a;
  --primary-dark: #b9400c;      /* survol, états actifs, texte orange sur fond clair */
  --primary-light: #fbe5d8;     /* fonds, badges */
  --accent: #d6b36a;            /* accent secondaire */
  --accent-soft: #f6eedc;
  --accent-ink: #8a6a2b;
  --text: #181a18;
  --text-soft: #555a56;
  --text-muted: #858b86;
  --bg: #ffffff;
  --bg-soft: #f5f3ee;           /* blanc cassé */
  --bg-dark: #1c211f;
  --border: #e2e3df;
  --on-dark: #ffffff;
  --on-dark-soft: #c9cdca;
  --soil-1: #efe4cb;            /* strates de terre (coupe) */
  --soil-2: #e5d5b0;
  --soil-3: #d8c393;
  --error: #b42318;
  --success: #2f7a4b;

  /* Charte : typographie Inter */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-h1: clamp(2.5rem, 1.35rem + 4.3vw, 4.25rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 1.7vw, 2.5rem);
  --fs-h3: 1.25rem;
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);

  /* Mise en page */
  --maxw: 1240px;
  --gutter: clamp(18px, 4.5vw, 40px);
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  --section-pad: clamp(72px, 9vw, 120px);
  --header-h: 76px;
  --radius: 6px;
  --radius-card: 14px;
  --shadow-card: 0 1px 2px rgba(24, 26, 24, .05), 0 16px 36px -20px rgba(24, 26, 24, .28);

  /* Mouvement (courbes d'Emil Kowalski) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --focus: var(--primary);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }

.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 120;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--bg-dark);
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; padding-inline: var(--edge); }

/* --------------------------------------------------------------------------
   Titres de section
   -------------------------------------------------------------------------- */
.h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-wrap: balance;
  max-width: 22ch;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 60ch;
}
.bar {
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
}
.eyebrow {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
}

.section { padding-block: var(--section-pad); background: var(--bg); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: var(--on-dark); --focus: var(--primary); }
.section--dark .lead { color: var(--on-dark-soft); }

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(36px, 5vw, 56px);
  justify-items: start;
}
.section-head--row { gap: 24px; }
.section-head--row > div { display: grid; gap: 16px; justify-items: start; }
@media (min-width: 960px) {
  .section-head--row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

.text-link { color: var(--primary-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
}
.section--dark .link-arrow { color: var(--primary); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }

/* --------------------------------------------------------------------------
   Boutons : une seule taille pour tous (48 px, texte 16 px)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}
/* Retour tactile : le bouton s'enfonce légèrement */
.btn:active { transform: scale(0.97); }
.btn .icon { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }

.btn--primary { background: var(--primary); color: #fff; }
.btn--dark { background: var(--bg-dark); color: var(--on-dark); }
.btn--outline { background: var(--bg); border-color: var(--text); color: var(--text); }
.btn--ghost { border-color: rgba(255, 255, 255, .65); color: var(--on-dark); }
.btn--outline-light { border-color: rgba(255, 255, 255, .6); color: var(--on-dark); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--primary-dark); }
  .btn--dark:hover { background: #2c3330; }
  .btn--outline:hover { background: var(--text); color: var(--on-dark); }
  .btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
  .btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
  .link-arrow:hover .icon { transform: translateX(3px); }
}

/* --------------------------------------------------------------------------
   En-tête : transparent sur le héro, blanc au défilement
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  color: var(--on-dark);
  transition: background-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
}
.site-header.is-solid { background: var(--bg); color: var(--text); box-shadow: 0 1px 0 var(--border); }
.header__inner { display: flex; align-items: center; gap: 14px; min-height: 68px; }

.brand { display: flex; align-items: center; min-height: 44px; margin-right: auto; }
.brand__logo { width: clamp(132px, 12vw, 168px); height: auto; }
.brand__logo--dark { display: none; }
.is-solid .brand__logo--light { display: none; }
.is-solid .brand__logo--dark { display: block; }

.nav { display: none; }

.header__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  color: inherit;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.header__phone .icon { width: 20px; height: 20px; }
.header__phone-number { display: none; }
.header__cta { display: none; }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  transition: transform 160ms var(--ease-out);
}
.menu-toggle:active { transform: scale(0.95); }
.menu-toggle .icon { width: 22px; height: 22px; }

@media (min-width: 640px) { .header__cta { display: inline-flex; } }
@media (min-width: 960px) {
  .header__inner { min-height: var(--header-h); gap: 22px; }
  .header__phone-number { display: inline; }
}
@media (min-width: 1140px) {
  .nav { display: block; margin-right: 6px; }
  .nav__list { display: flex; align-items: center; gap: 28px; }
  .nav__list > li > a {
    position: relative;
    display: inline-block;
    padding-block: 10px;
    font-size: .9375rem;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
  }
  .nav__list > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms var(--ease-out);
  }
  .nav__list > li > a[aria-current="page"]::after, .nav__list > li > a[aria-current="true"]::after { transform: scaleX(1); }
  .menu-toggle { display: none; }
}
@media (min-width: 1140px) and (hover: hover) and (pointer: fine) {
  .nav__list > li > a:hover::after { transform: scaleX(1); }
}

/* Menu mobile */
.mobile-menu { position: fixed; inset: 0; z-index: 90; overflow-y: auto; background: var(--bg); color: var(--text); }
.mobile-menu:not([hidden]) { animation: lm-menu-in 240ms var(--ease-out) both; }
@keyframes lm-menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.mobile-menu__inner { display: grid; gap: 28px; padding-top: 12px; padding-bottom: 40px; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.mobile-menu__logo { width: 140px; }
.menu-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--text);
  border-radius: var(--radius);
  background: transparent;
}
.mobile-menu__list { border-top: 1px solid var(--border); }
/* Rubriques : 18 px, un cran au-dessus du texte courant et des boutons (16 px) */
.mobile-menu__list > li > a, .mobile-menu__row > a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--border);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
}
.mobile-menu__list a[aria-current="page"], .mobile-menu__list a[aria-current="true"] { color: var(--primary-dark); }
.mobile-menu__actions { display: grid; gap: 12px; }

/* --------------------------------------------------------------------------
   Sous-menu « Services »
   Ordinateur : panneau sous le lien, ouvert au survol (souris) ou par la
   flèche ; il descend de 6 px depuis le menu et repart plus vite qu'il
   n'arrive. Mobile : accordéon dans le menu plein écran.
   -------------------------------------------------------------------------- */
.nav__toggle, .nav__panel { display: none; }
@media (min-width: 1140px) {
  .nav__item--sub { position: relative; display: flex; align-items: center; gap: 2px; }
  .nav__toggle {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-right: -8px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
  }
  .nav__toggle .icon { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
  .nav__item--sub.is-open .nav__toggle .icon { transform: rotate(180deg); }

  .nav__panel {
    position: absolute;
    top: 100%;
    left: 50%;
    display: block;
    width: 620px;
    margin-left: -310px;
    padding-top: 14px;            /* pont invisible : le survol ne se perd pas entre le lien et le panneau */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 120ms ease, transform 120ms var(--ease-out), visibility 0s linear 120ms;
  }
  .nav__item--sub.is-open .nav__panel,
  html:not(.js) .nav__item--sub:hover .nav__panel,
  html:not(.js) .nav__item--sub:focus-within .nav__panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 180ms ease, transform 180ms var(--ease-out), visibility 0s;
  }
  .nav__panel-inner {
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg);
    color: var(--text);
    box-shadow: 0 2px 4px rgba(24, 26, 24, .04), 0 28px 56px -28px rgba(24, 26, 24, .4);
  }
  .nav__panel-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
  .nav__panel-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    transition: background-color 150ms ease;
  }
  .nav__panel-list a[aria-current="page"] { background: var(--primary-light); }
  .nav__panel-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    transition: background-color 150ms ease, color 150ms ease;
  }
  .nav__panel-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .nav__panel-text { display: grid; gap: 1px; line-height: 1.3; }
  .nav__panel-text strong { font-size: .9375rem; font-weight: 600; }
  .nav__panel-text small { font-size: .8125rem; color: var(--text-soft); }
  .nav__panel-all {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 2px 0;
    padding: 12px 10px 4px;
    border-top: 1px solid var(--border);
    font-size: .9375rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
  }
  .nav__panel-all .icon { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
}
@media (min-width: 1140px) and (hover: hover) and (pointer: fine) {
  .nav__toggle:hover { background: rgba(127, 127, 127, .14); }
  .nav__panel-list a:hover { background: var(--bg-soft); }
  .nav__panel-list a:hover .nav__panel-icon { background: var(--primary); color: #fff; }
  .nav__panel-all:hover .icon { transform: translateX(3px); }
}

/* Menu mobile : la ligne « Services » porte le lien et la flèche d'ouverture */
.mobile-menu__row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); }
.mobile-menu__row > a { flex: 1; border-bottom: 0; }
.mobile-menu__toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease;
}
.mobile-menu__toggle:active { transform: scale(0.95); }
.mobile-menu__toggle .icon { width: 22px; height: 22px; transition: transform 240ms var(--ease-out); }
.mobile-menu__item.is-open .mobile-menu__toggle { background: var(--bg-dark); border-color: var(--bg-dark); color: #fff; }
.mobile-menu__item.is-open .mobile-menu__toggle .icon { transform: rotate(180deg); }
.mobile-menu__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms var(--ease-out); }
.mobile-menu__item.is-open .mobile-menu__sub, html:not(.js) .mobile-menu__sub { grid-template-rows: 1fr; }
.mobile-menu__sub > ul { min-height: 0; overflow: hidden; }
.mobile-menu__sub li:first-child { margin-top: 8px; }
.mobile-menu__sub li:last-child { margin-bottom: 12px; }
.mobile-menu__sub a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding-left: 4px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.mobile-menu__sub svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mobile-menu__item.is-open { border-bottom: 1px solid var(--border); }

/* --------------------------------------------------------------------------
   Héro plein écran
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--on-dark);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 33, 31, .6) 0%, rgba(28, 33, 31, 0) 24%),
    linear-gradient(0deg, rgba(28, 33, 31, .92) 0%, rgba(28, 33, 31, .55) 42%, rgba(28, 33, 31, .15) 72%);
}
.hero__inner { position: relative; z-index: 1; padding-top: 130px; padding-bottom: 28px; }
.hero__content { max-width: 660px; }
.hero__title { display: grid; gap: 18px; }
.hero__headline {
  display: block;
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__lead { margin-top: 20px; max-width: 50ch; font-size: var(--fs-lead); line-height: 1.55; color: rgba(255, 255, 255, .9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__actions .btn { flex: 1 1 100%; }

.assurance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.assurance li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; }
.assurance .icon { width: 26px; height: 26px; color: var(--primary); stroke-width: 1.8; }

@media (max-width: 699px) {
  .hero__img { object-position: 84% 50%; }
  .hero__shade {
    background: linear-gradient(180deg, rgba(28, 33, 31, .6) 0%, rgba(28, 33, 31, .4) 28%, rgba(28, 33, 31, .78) 52%, rgba(28, 33, 31, .95) 100%);
  }
}
@media (min-width: 560px) { .hero__actions .btn { flex: 0 1 auto; } }
@media (min-width: 900px) {
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(28, 33, 31, .55) 0%, rgba(28, 33, 31, 0) 22%),
      linear-gradient(90deg, rgba(28, 33, 31, .88) 0%, rgba(28, 33, 31, .62) 38%, rgba(28, 33, 31, .12) 68%, rgba(28, 33, 31, 0) 100%),
      linear-gradient(0deg, rgba(28, 33, 31, .6) 0%, rgba(28, 33, 31, 0) 32%);
  }
  .hero__inner { padding-bottom: 36px; }
  .assurance { grid-template-columns: repeat(4, auto); justify-content: start; column-gap: clamp(28px, 4vw, 56px); margin-top: 72px; }
}

/* Entrée du héro : un seul moment orchestré au chargement */
.hero__img { animation: lm-settle 1400ms var(--ease-out) both; }
.hero .eyebrow, .hero__headline, .hero__lead, .hero__actions, .assurance li { animation: lm-rise 600ms var(--ease-out) both; }
.hero .eyebrow { animation-delay: 120ms; }
.hero__headline { animation-delay: 190ms; }
.hero__lead { animation-delay: 260ms; }
.hero__actions { animation-delay: 330ms; }
.assurance li:nth-child(1) { animation-delay: 420ms; }
.assurance li:nth-child(2) { animation-delay: 480ms; }
.assurance li:nth-child(3) { animation-delay: 540ms; }
.assurance li:nth-child(4) { animation-delay: 600ms; }
@keyframes lm-settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes lm-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Apparition au défilement (une seule fois). La propriété `translate`
   est distincte de `transform` : les survols restent instantanés.
   -------------------------------------------------------------------------- */
.js [data-reveal]:not([data-reveal="clip"]) {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity 550ms var(--ease-out) var(--delay, 0ms),
    translate 550ms var(--ease-out) var(--delay, 0ms),
    transform 220ms var(--ease-out),
    box-shadow 220ms ease,
    border-color 220ms ease;
}
.js [data-reveal][data-visible]:not([data-reveal="clip"]) { opacity: 1; translate: 0 0; }

/* Photos : dévoilement de haut en bas (la découpe porte sur l'image) */
.js [data-reveal="clip"] > img, .js [data-reveal="clip"] > svg {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 800ms var(--ease-in-out) var(--delay, 0ms);
}
.js [data-reveal="clip"][data-visible] > img, .js [data-reveal="clip"][data-visible] > svg { clip-path: inset(0 0 0 0); }
/* la légende arrive une fois la photo presque dévoilée */
.js [data-reveal="clip"] > .photo-tag { opacity: 0; transition: opacity 300ms ease calc(var(--delay, 0ms) + 550ms); }
.js [data-reveal="clip"][data-visible] > .photo-tag { opacity: 1; }

/* Liste à coches (charte) */
.checklist { display: grid; gap: 6px; }
.checklist li { position: relative; padding-left: 26px; font-size: .9375rem; line-height: 1.45; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checklist--light li { color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Prestations : grille asymétrique (grande carte photo, cartes, carte d'appel)
   -------------------------------------------------------------------------- */
.bento { display: grid; gap: 16px; }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.tile__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.tile__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  transition: background-color 220ms ease, color 220ms ease;
}
.tile__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile__depth {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: .8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-soft);
  white-space: nowrap;
}
.tile__title { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.tile__text { font-size: .9375rem; color: var(--text-soft); }
.tile .checklist { margin-block: 2px 4px; }
.tile__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
}
.tile__link .icon { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.tile__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Grande carte photo : noir et blanc, la couleur revient au survol */
.tile--photo { min-height: 460px; padding: 0; border: 0; color: var(--on-dark); background: var(--bg-dark); }
.tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transition: filter 500ms ease, transform 700ms var(--ease-out);
}
.tile--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 33, 31, .15) 0%, rgba(28, 33, 31, .35) 40%, rgba(28, 33, 31, .92) 100%);
  pointer-events: none;
}
.tile__body { position: relative; z-index: 1; display: grid; gap: 12px; justify-items: start; margin-top: auto; padding: clamp(24px, 3vw, 36px); }
.tile--photo .tile__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; letter-spacing: -.02em; max-width: 18ch; }
.tile--photo .tile__text { color: rgba(255, 255, 255, .85); max-width: 44ch; }
.tile--photo .tile__link { color: var(--on-dark); }
.tile--photo .tile__link::after { inset: -100vh -100vw 0; }  /* toute la carte reste cliquable */
.tile--photo { isolation: isolate; }
.tile--photo .tile__body { position: static; }
.tile--photo .tile__body > * { position: relative; z-index: 1; }
@media (min-width: 640px) { .tile--photo .checklist { grid-template-columns: repeat(2, auto); column-gap: 24px; } }
.tile__badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--primary-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Carte d'appel : fond anthracite, terre et pelle en noir et blanc */
.tile--cta { min-height: 280px; padding: 0; border: 0; background: var(--bg-dark); color: var(--on-dark); }
.tile--cta .tile__img {
  left: auto;
  width: 78%;
  object-position: 72% 60%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}
.tile--cta .tile__body { margin-top: 0; justify-content: start; align-content: center; height: 100%; gap: 14px; }
.tile__cta-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; max-width: 14ch; }
.tile__cta-sub { font-size: 1.125rem; color: var(--on-dark-soft); }
.tile--cta .btn { margin-top: 6px; }

@media (hover: hover) and (pointer: fine) {
  .tile--photo .tile__img { filter: grayscale(1) contrast(1.05); }
  .tile--photo:hover .tile__img { filter: grayscale(0); transform: scale(1.04); }
  .tile:not(.tile--photo):not(.tile--cta):hover {
    transform: translateY(-4px);
    border-color: #d3d4cf;
    box-shadow: var(--shadow-card);
  }
  .tile:hover .tile__icon { background: var(--primary); color: #fff; }
  .tile:hover .tile__link .icon { transform: translateX(3px); }
}

@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--feature, .tile--cta { grid-column: 1 / -1; }
}
@media (min-width: 1180px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile--feature { grid-column: 1 / 3; grid-row: 1 / 3; min-height: 0; }
  .tile--cta { grid-column: 3 / 5; }
}

/* --------------------------------------------------------------------------
   Jusqu'où faut-il creuser ? Coupe de terrain interactive
   --d = profondeur en mètres, --w = largeur relative de la fouille.
   La fouille et son fond sont animés en transform uniquement (transitions
   interruptibles si l'on change vite d'onglet).
   -------------------------------------------------------------------------- */
.dig {
  --ppm: 96px;                 /* pixels par mètre */
  --max: 3;                    /* profondeur représentée, en mètres */
  --d: 1.8;
  --w: .62;
  display: grid;
  gap: 32px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(20px, 3vw, 40px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.dig__visual {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 84px;
  gap: 10px;
  align-items: start;
}

/* Règle graduée */
.dig__ruler { position: relative; height: calc(var(--max) * var(--ppm)); margin-top: 4px; border-right: 2px solid var(--border); }
.dig__ruler-fill {
  position: absolute;
  top: 0;
  right: -2px;
  width: 2px;
  height: calc(var(--max) * var(--ppm));
  background: var(--primary);
  transform-origin: top;
  transform: scaleY(calc(var(--d) / var(--max)));
  transition: transform 650ms var(--ease-in-out);
}
.dig__ticks li {
  position: absolute;
  right: 8px;
  top: calc(var(--m) * var(--ppm));
  transform: translateY(-50%);
  font-size: .75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-soft);
  white-space: nowrap;
}
.dig__ticks li::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  width: 6px;
  border-top: 1.5px solid var(--text-muted);
}

/* Le sol, en strates */
.dig__soil {
  position: relative;
  height: calc(var(--max) * var(--ppm));
  border-top: 4px solid var(--text);
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  background: linear-gradient(180deg,
    #86663f 0, #86663f calc(.3 * var(--ppm)),
    #d9c393 calc(.3 * var(--ppm)), #d9c393 calc(1.1 * var(--ppm)),
    #c6a872 calc(1.1 * var(--ppm)), #c6a872 calc(2 * var(--ppm)),
    #e8ddc4 calc(2 * var(--ppm)));
}
/* grain de terre */
.dig__soil::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .17 0 0 0 1.2 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.dig__hole {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--max) * var(--ppm));
  background: linear-gradient(180deg, #fbfaf6 0%, #f1ede4 100%);
  box-shadow: inset 0 10px 18px -12px rgba(24, 26, 24, .35);
  transform-origin: 50% 0;
  transform: scale(var(--w), calc(var(--d) / var(--max)));
  transition: transform 650ms var(--ease-in-out);
}
.dig__floor {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform-origin: 50% 0;
  transform: translateY(calc(var(--d) * var(--ppm) - 3px)) scaleX(var(--w));
  transition: transform 650ms var(--ease-in-out);
}
.dig__tag {
  position: absolute;
  top: 0;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-dark);
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transform: translate(-50%, calc(var(--d) * var(--ppm) + 8px));
  transition: transform 650ms var(--ease-in-out);
}
.dig__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }

/* Nom des couches, à droite de la coupe */
.dig__strata { position: relative; height: calc(var(--max) * var(--ppm)); margin-top: 4px; }
.dig__strata li {
  position: absolute;
  left: 0;
  right: 0;
  top: calc((var(--from) + var(--to)) / 2 * var(--ppm));
  transform: translateY(-50%);
  padding-left: 10px;
  border-left: 2px solid var(--border);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-soft);
}

/* Contenu */
.dig__content { display: grid; gap: 16px; align-content: start; }
.dig__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.dig__intro { color: var(--text-soft); max-width: 52ch; }

.dig__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.dig__tab {
  display: grid;
  gap: 1px;
  min-height: 48px;
  padding: 7px 13px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  text-align: left;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.25;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.dig__tab small { font-size: .75rem; font-weight: 600; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.dig__tab:active { transform: scale(0.97); }
.dig__tab[aria-selected="true"] { background: var(--bg-dark); border-color: var(--bg-dark); color: #fff; }
.dig__tab[aria-selected="true"] small { color: #f4884f; }
@media (hover: hover) and (pointer: fine) {
  .dig__tab:not([aria-selected="true"]):hover { border-color: var(--text); }
}

.dig__panel {
  display: grid;
  gap: 10px;
  justify-items: start;
  margin-top: 4px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--bg-soft);
}
.dig__range { font-size: .875rem; font-weight: 700; color: var(--primary-dark); font-variant-numeric: tabular-nums; }
.dig__name { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.dig__why { color: var(--text-soft); max-width: 58ch; }
.dig__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  width: 100%;
  margin: 4px 0 6px;
  padding-top: 12px;
  border-top: 1px dashed #d8d3c7;
}
.dig__meta dt { font-size: .8125rem; color: var(--text-soft); }
.dig__meta dd { margin: 0; font-weight: 600; }
.dig__panel.is-changing > * { animation: lm-panel 220ms var(--ease-out) both; }
@keyframes lm-panel {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.dig__note { margin-top: 12px; font-size: .8125rem; color: var(--text-soft); }

@media (max-width: 899px) {
  /* sur mobile et tablette : titre, coupe, onglets, puis fiche */
  .dig { gap: 18px; }
  .dig__content { display: contents; }
  .dig__title { order: 1; }
  .dig__intro { order: 2; }
  .dig__visual { order: 3; margin-block: 8px 4px; }
  .dig__tabs { order: 4; }
  .dig__panel { order: 5; }
}
@media (max-width: 559px) {
  .dig { --ppm: 78px; }
  .dig__visual { grid-template-columns: 34px minmax(0, 1fr) 72px; }
  .dig__strata li { font-size: .6875rem; padding-left: 8px; }
  .dig__tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -4px; padding: 2px 4px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .dig__tab { flex: none; scroll-snap-align: start; }
  .dig__meta { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .dig { --ppm: 150px; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
}

/* --------------------------------------------------------------------------
   Matériel : le duo mini-pelle & camion benne (section sombre)
   L'esperluette orange qui relie les deux fiches reprend celle du logo.
   -------------------------------------------------------------------------- */
.duo { position: relative; display: grid; gap: 16px; }

.machine {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #252b28;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
}
.machine__photo { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #2d3430; }
.machine__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.machine__role, .photo-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-size: .875rem;
  font-weight: 700;
}
.machine__role::before, .photo-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

.machine__body { display: grid; gap: 12px; padding: clamp(22px, 3vw, 32px); }
.machine__model {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f4884f;
}
.machine__name { font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.machine__text { color: var(--on-dark-soft); max-width: 46ch; }

.machine__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 6px 0 4px;
  border-block: 1px solid rgba(255, 255, 255, .1);
}
.machine__facts div { display: grid; gap: 2px; padding: 14px 0; }
.machine__facts div + div { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .1); }
.machine__facts dt { font-size: .8125rem; color: var(--on-dark-soft); }
.machine__facts dd { margin: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }

.machine__uses { display: flex; flex-wrap: wrap; gap: 8px; }
.machine__uses li {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--on-dark);
}

/* L'esperluette du logo entre les deux engins */
.duo__amp {
  position: relative;
  z-index: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: -40px 0;
  border: 6px solid var(--bg-dark);
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.duo__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.duo__backup { display: flex; align-items: center; gap: 16px; max-width: 560px; }
.duo__backup p { color: var(--on-dark-soft); }
.duo__backup strong { color: var(--on-dark); font-weight: 600; }
.duo__backup-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .35);
  color: var(--on-dark-soft);
}
.duo__backup-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.duo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

@media (hover: hover) and (pointer: fine) {
  .machine:hover .machine__photo img { transform: scale(1.04); }
}

/* --------------------------------------------------------------------------
   Accueil : du petit au très gros chantier (section sombre)
   Sur ordinateur, trois fiches de plus en plus larges avec des photos de même
   proportion, alignées par le bas : chaque fiche est aussi plus haute que la
   précédente, la taille du chantier se lit dans la mise en page.
   -------------------------------------------------------------------------- */
.scale { display: grid; gap: 16px; }
.scale__item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #252b28;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
}
.scale__photo { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #2d3430; }
.scale__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.scale__body { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 3vw, 30px); }
.scale__size { font-size: .875rem; font-weight: 700; color: #f4884f; }
.scale__title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.scale__text { color: var(--on-dark-soft); max-width: 46ch; }
.scale .machine__uses { margin-top: 4px; }
@media (hover: hover) and (pointer: fine) {
  .scale__item:hover .scale__photo img { transform: scale(1.04); }
}
@media (min-width: 960px) {
  .scale { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.6fr); column-gap: 20px; align-items: end; }
  .scale__photo { aspect-ratio: 4 / 3; }
}

@media (min-width: 900px) {
  /* deux fiches côte à côte, la seconde décalée vers le bas */
  .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .duo .machine:last-child { margin-top: 64px; }
  .duo__amp {
    position: absolute;
    left: 50%;
    top: calc(min(33vw, 400px) / 2 + 12px);
    margin: 0;
    translate: -50% 0;
  }
}

/* --------------------------------------------------------------------------
   Déroulé : frise verticale, qui agit à chaque étape, trait de progression
   -------------------------------------------------------------------------- */
.process { display: grid; gap: 40px; }
.process__side { display: grid; gap: 18px; align-content: start; justify-items: start; }
.process__summary { display: grid; gap: 10px; margin-top: 4px; }
.process__summary li { display: flex; align-items: baseline; gap: 12px; color: var(--text-soft); }
.process__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }

.who {
  display: inline-block;
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.3;
}
.who--you { background: var(--primary-light); color: var(--primary-dark); }
.who--us { background: var(--bg-dark); color: var(--on-dark); }
.who--both { background: var(--accent-soft); color: var(--accent-ink); }

.timeline { position: relative; }
/* rail de la frise, rempli en orange au fil du défilement */
.timeline__track {
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  border-radius: 2px;
  background: #ddd6c6;
  overflow: hidden;
}
.timeline__fill {
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: top;
}
.timeline__list { display: grid; gap: 16px; }
.timeline__step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; }
.timeline__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: 18px;
  border: 2px solid #ddd6c6;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-soft);
  font-size: 1.0625rem;
  font-weight: 700;
  transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease;
}
.timeline__step.is-reached .timeline__num { background: var(--primary); border-color: var(--primary); color: #fff; }

.timeline__card {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 22px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
.timeline__step.is-reached .timeline__card { border-color: #e9d6c9; box-shadow: var(--shadow-card); }
.timeline__title { font-size: 1.1875rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.timeline__card p { font-size: .9375rem; color: var(--text-soft); max-width: 58ch; }
.timeline__card .timeline__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  width: 100%;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}
.timeline__tag .icon { width: 18px; height: 18px; color: var(--primary); }

/* Sans JS (ou mouvement réduit), la frise est affichée entièrement remplie */
html:not(.js) .timeline__fill { transform: none; }
html:not(.js) .timeline__num { background: var(--primary); border-color: var(--primary); color: #fff; }

@media (min-width: 960px) {
  .process { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 104px); }
  .process__side { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
  .timeline__card { padding: 24px 28px; }
}

/* --------------------------------------------------------------------------
   Réalisations (section sombre)
   -------------------------------------------------------------------------- */
.works { display: grid; gap: 40px; }
.works__list { border-top: 1px solid rgba(255, 255, 255, .14); }
.work-row { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.work-row__link {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 18px;
  padding-block: 18px;
  text-decoration: none;
}
.work-row__thumb { width: 76px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.work-row__body { display: grid; gap: 4px; justify-items: start; }
.work-row__tag {
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(232, 93, 26, .16);
  color: #ffb48c;
  font-size: .75rem;
  font-weight: 600;
}
.work-row__title { font-size: 1.125rem; font-weight: 600; line-height: 1.3; transition: color 200ms ease; }
.work-row__meta { font-size: .875rem; color: var(--on-dark-soft); }
.work-row__arrow { width: 22px; height: 22px; color: rgba(255, 255, 255, .4); transition: transform 200ms var(--ease-out), color 200ms ease; }
.work-row.is-active .work-row__title { color: var(--primary); }
.work-row.is-active .work-row__arrow { color: var(--primary); transform: translateX(3px); }

.works__preview { display: none; }
@media (min-width: 960px) {
  .works { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 88px); align-items: start; }
  .work-row__link { grid-template-columns: minmax(0, 1fr) 24px; padding-block: 26px; }
  .work-row__thumb { display: none; }
  .work-row__title { font-size: 1.5rem; letter-spacing: -.015em; }
  .works__preview {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 32px);
    aspect-ratio: 4 / 5;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #2a302d;
  }
  .works__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  /* Fondu enchaîné court ; un léger flou masque la superposition des images */
  .works__preview img.is-entering { animation: lm-crossfade 260ms ease both; }
  .works__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 60px 24px 20px;
    background: linear-gradient(0deg, rgba(28, 33, 31, .85), rgba(28, 33, 31, 0));
    font-weight: 600;
  }
  .works__count { font-variant-numeric: tabular-nums; color: var(--primary); font-size: .875rem; white-space: nowrap; }
}
@keyframes lm-crossfade {
  from { opacity: 0; filter: blur(4px); }
  to   { opacity: 1; filter: blur(0); }
}

/* --------------------------------------------------------------------------
   Avis
   -------------------------------------------------------------------------- */
.info-zone {
  display: flex;
  gap: 12px;
  max-width: 440px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--accent-soft);
  font-size: .875rem;
  color: var(--text-soft);
}
.info-zone .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--accent-ink); }
.info-zone__title { font-weight: 600; color: var(--primary-dark); }

/* Avis : une grande fiche et quatre petites. Sur ordinateur, les petites sortent de sous
   la grande à l'arrivée à l'écran (site.js, GSAP) : la grande passe donc au-dessus */
.reviews-grid { position: relative; display: grid; gap: 16px; }
.reviews-grid .quote-feature { position: relative; z-index: 1; }
@media (min-width: 760px) {
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews-grid .quote-feature { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .reviews-grid { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); }
  .reviews-grid .quote-feature { grid-column: 1; grid-row: 1 / span 2; }
}
.quote-feature {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: clamp(28px, 4vw, 52px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.quote-feature__mark { width: 56px; height: 42px; fill: var(--primary); }
.quote-feature__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; }
.quote-feature blockquote p {
  font-size: clamp(1.375rem, 1.05rem + 1.1vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.02em;
  max-width: 30ch;
}
.quote-feature__who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: .875rem;
  color: var(--text-soft);
  justify-content: space-between;
}
.quote-feature__who strong { display: block; color: var(--text); font-weight: 600; font-size: 1rem; }
.review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
/* Prestation de l'avis : lien vers sa page */
.review__service {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 14px 7px 9px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease;
}
.review__service svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
  .review__service:hover { background: var(--primary); color: #fff; }
}
.review blockquote p { font-size: 1rem; line-height: 1.6; }
.review__stars { display: inline-flex; gap: 3px; color: var(--primary); }
.review__stars .icon { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.review__who { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); font-size: .875rem; color: var(--text-soft); }
.review__who strong { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------------
   Zone d'intervention
   -------------------------------------------------------------------------- */
.zone { display: grid; gap: 48px; align-items: center; }
.zone__text { display: grid; gap: 18px; justify-items: start; }
.depts { display: grid; gap: 8px; width: 100%; margin-top: 12px; }
.dept {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  transition: border-color 150ms ease, background-color 150ms ease;
}
.dept__code {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: background-color 150ms ease, color 150ms ease;
}
.dept__body { display: grid; gap: 2px; }
.dept__body strong { font-weight: 600; }
.dept__body small { font-size: .8125rem; color: var(--text-soft); line-height: 1.4; }
.dept.is-on { border-color: var(--primary); background: #fffaf6; }
.dept.is-on .dept__code { background: var(--primary); color: #fff; }

.zone__map { margin: 0; width: 100%; max-width: 540px; justify-self: center; }
.zone__map figcaption { margin-top: 10px; font-size: .8125rem; color: var(--text-soft); text-align: center; }
.idf { width: 100%; height: auto; font-family: var(--font); }
.idf__sector { fill: var(--primary-light); stroke: #fff; stroke-width: 4; stroke-linejoin: round; transition: fill 150ms ease; }
.idf__code { font-size: 22px; font-weight: 700; fill: var(--primary-dark); text-anchor: middle; pointer-events: none; transition: fill 150ms ease; }
.idf__name { font-size: 12.5px; font-weight: 500; fill: var(--text); text-anchor: middle; pointer-events: none; transition: fill 150ms ease; }
.idf__group.is-on .idf__sector { fill: var(--primary); }
.idf__group.is-on .idf__code, .idf__group.is-on .idf__name { fill: #fff; }

@media (max-width: 639px) {
  .idf__code { font-size: 28px; }
  .idf__name { font-size: 16px; font-weight: 600; }
}
@media (min-width: 640px) { .depts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .zone { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 88px); } }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 40px; }
.faq__side { display: grid; gap: 18px; align-content: start; justify-items: start; }
.help-card {
  display: grid;
  gap: 10px;
  justify-items: start;
  width: 100%;
  max-width: 420px;
  margin-top: 12px;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--bg-dark);
  color: var(--on-dark);
}
.help-card__title { font-size: 1.25rem; font-weight: 700; }
.help-card p { color: var(--on-dark-soft); }
.help-card__title + p { margin-bottom: 4px; }
.help-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.help-card__phone .icon { width: 22px; height: 22px; color: var(--primary); }

.faq__list { display: grid; gap: 10px; }
.qa { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; transition: border-color 200ms ease; }
.qa[open] { border-color: #d3d4cf; }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 20px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon {
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  transition: transform 200ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.qa[open] summary .icon { transform: rotate(180deg); background: var(--primary); color: #fff; }
.qa__answer p { padding: 0 20px 20px; color: var(--text-soft); max-width: 64ch; }
.qa::details-content {
  height: 0;
  opacity: 0;
  overflow: clip;
  transition: height 200ms var(--ease-out), opacity 200ms var(--ease-out), content-visibility 200ms allow-discrete;
}
.qa[open]::details-content { height: auto; opacity: 1; }

@media (min-width: 960px) {
  .faq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
  .faq__side { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

/* --------------------------------------------------------------------------
   Appel à l'action final : terre et pelle en noir et blanc
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(80px, 10vw, 140px);
  background: var(--bg-dark);
  color: var(--on-dark);
}
.cta__img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 60%;
  opacity: .62;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 100%);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(28, 33, 31, .96) 0%, rgba(28, 33, 31, .8) 38%, rgba(28, 33, 31, .3) 70%, rgba(28, 33, 31, .15) 100%),
    linear-gradient(0deg, rgba(28, 33, 31, .5) 0%, rgba(28, 33, 31, 0) 40%);
}
.cta__grid { position: relative; display: grid; gap: 40px; align-items: center; }
.cta__text { display: grid; gap: 14px; justify-items: start; }
.cta__text p { color: var(--on-dark-soft); max-width: 46ch; }
.cta__text .cta__sub { font-size: 1.25rem; color: var(--on-dark); }
.cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.cta__phone .icon { width: .75em; height: .75em; color: var(--primary); }

.callback {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 18px;
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.callback__title { font-size: 1.25rem; font-weight: 700; }
.callback__legal { font-size: .8125rem; color: var(--text-soft); }
@media (min-width: 640px) {
  .callback { grid-template-columns: 1fr 1fr; }
  .callback__title, .callback .field--full, .callback .btn, .callback__legal, .callback .form-status { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .cta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 112px); }
}

/* Champs */
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: .875rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--text-muted);
  border-radius: var(--radius);
  background: #fff;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 150ms ease;
}
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23181a18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  cursor: pointer;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--text); }
.field__error { font-size: .8125rem; font-weight: 600; color: var(--error); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); border-width: 2px; }
@media (hover: hover) and (pointer: fine) {
  .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text); }
}
.form-status:empty { display: none; }
.form-status { padding: 12px 14px; border-radius: var(--radius); background: var(--bg-soft); border-left: 4px solid var(--text); font-size: .875rem; font-weight: 500; }
.form-status.is-error { border-left-color: var(--error); color: var(--error); background: #fdf0ef; }
.form-status.is-success { border-left-color: var(--success); }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: 28px;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--on-dark-soft);
  font-size: .9375rem;
}
.footer__grid { display: grid; gap: 36px; }
.footer__brand { display: grid; gap: 18px; align-content: start; max-width: 36ch; }
.footer__logo { width: 220px; }
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__title { font-size: 1rem; font-weight: 600; color: var(--on-dark); }
.footer__col ul { display: grid; gap: 2px; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; transition: color 150ms ease; }
.footer__col a { display: inline-block; padding-block: 5px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; padding-block: 5px; }
.footer__contact .icon { margin-top: 3px; color: var(--primary); }
.footer__contact a { padding: 0; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--on-dark); } }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .8125rem;
}
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr; gap: 48px; } }

/* --------------------------------------------------------------------------
   Barre d'appel mobile : glisse depuis le bas, repart par le bas
   -------------------------------------------------------------------------- */
.callbar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--bg-dark);
  transform: translateY(100%);
  transition: transform 300ms var(--ease-drawer);
}
.callbar.is-visible { transform: none; }
@media (max-width: 899px) { .site-footer { padding-bottom: calc(28px + 76px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .callbar { display: none; } }

/* --------------------------------------------------------------------------
   Mouvement réduit : on garde les fondus, on retire les déplacements
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__img { animation: none; }
  .hero .eyebrow, .hero__headline, .hero__lead, .hero__actions, .assurance li { animation-name: lm-fade; animation-duration: 300ms; }
  .js [data-reveal]:not([data-reveal="clip"]) { translate: 0 0; }
  .js [data-reveal="clip"] > img, .js [data-reveal="clip"] > svg { clip-path: none; opacity: 0; transition: opacity 300ms ease; }
  .js [data-reveal="clip"][data-visible] > img, .js [data-reveal="clip"][data-visible] > svg { opacity: 1; }
  .dig__hole, .dig__floor, .dig__tag, .dig__ruler-fill { transition: none; }
  .timeline__num, .timeline__card { transition: none; }
  .tile__img { transition: filter 300ms ease; }
  .tile--photo:hover .tile__img { transform: none; }
  .machine:hover .machine__photo img { transform: none; }
  .btn:active, .menu-toggle:active { transform: none; }
  .mobile-menu:not([hidden]) { animation-name: lm-fade; }
  .nav__panel { transform: none !important; }
  .mobile-menu__sub, .mobile-menu__toggle .icon, .nav__toggle .icon { transition: none; }
  .callbar { transition-property: opacity; transform: none; opacity: 0; }
  .callbar.is-visible { opacity: 1; }
  .works__preview img.is-entering { animation-name: lm-fade; }
}
@keyframes lm-fade { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   PAGES INTÉRIEURES
   À propos, services, réalisations, contact, mentions légales.
   ========================================================================== */

/* L'en-tête fixe mesure 68 px sous 960 px : les éléments collants se calent dessous */
@media (max-width: 959px) { :root { --header-h: 68px; } }

/* --------------------------------------------------------------------------
   En-tête de page (sans héro photo, l'en-tête du site est blanc)
   -------------------------------------------------------------------------- */
.page-head {
  padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px));
  padding-bottom: clamp(48px, 7vw, 96px);
  background: var(--bg-soft);
}
.page-head__grid { display: grid; gap: 36px; }
.page-head__text { display: grid; gap: 18px; justify-items: start; align-content: start; }
.page-title {
  font-size: clamp(2.25rem, 1.45rem + 2.8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: balance;
  max-width: 18ch;
}
.page-head .lead { max-width: 56ch; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.page-head .info-zone { align-self: end; background: var(--bg); border: 1px solid var(--border); }

.page-head__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: #e4ded0;
}
.page-head__media img { width: 100%; height: 100%; object-fit: cover; }
/* visible dès l'arrivée : la photo se dévoile au chargement, sans attendre le défilement */
.page-head__media img { animation: lm-unclip 900ms var(--ease-in-out) 150ms both; }
.page-head__media .photo-tag { animation: lm-fade 300ms ease 850ms both; }
@keyframes lm-unclip { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

@media (max-width: 559px) { .page-head__actions .btn { flex: 1 1 100%; } }
@media (min-width: 960px) {
  .page-head__grid--media { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); align-items: center; }
  .page-head__grid--aside { grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); gap: 48px; align-items: end; }
  .page-head__media { aspect-ratio: 5 / 6; }
}

/* Fil d'Ariane */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font-size: .875rem; color: var(--text-soft); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--text-muted);
  border-right: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
}
.crumbs a { display: inline-block; padding-block: 8px; color: var(--text-soft); text-decoration: none; }
.crumbs [aria-current="page"] { color: var(--text); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .crumbs a:hover { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
}

/* Entrée de l'en-tête de page : un seul moment orchestré au chargement */
.page-head .crumbs, .page-title, .page-head .lead, .page-head__actions,
.page-head .info-zone, .page-head .quote, .contact__aside { animation: lm-rise 600ms var(--ease-out) both; }
.page-head .crumbs { animation-delay: 60ms; }
.page-title { animation-delay: 140ms; }
.page-head .lead { animation-delay: 210ms; }
.page-head__actions, .page-head .info-zone, .page-head .quote { animation-delay: 280ms; }
.contact__aside { animation-delay: 340ms; }
.page-head .bar { transform-origin: left; animation: lm-bar 500ms var(--ease-out) 100ms both; }
@keyframes lm-bar { from { transform: scaleX(0); } to { transform: none; } }

/* --------------------------------------------------------------------------
   Services : navigation collante entre les prestations
   -------------------------------------------------------------------------- */
html:has([data-subnav]) { scroll-padding-top: calc(var(--header-h) + 72px); }
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
          backdrop-filter: saturate(1.4) blur(10px);
}
.subnav__list {
  position: relative;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px var(--edge);
  scroll-padding-inline: var(--edge);
  scrollbar-width: none;
}
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list li { flex: none; }
.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: var(--text);
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.subnav svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 200ms ease;
}
.subnav a.is-active { background: var(--bg-dark); border-color: var(--bg-dark); color: #fff; }
.subnav a.is-active svg { stroke: #f4884f; }
@media (hover: hover) and (pointer: fine) {
  .subnav a:not(.is-active):hover { border-color: var(--text); }
}
@media (min-width: 1180px) { .subnav__list { justify-content: center; } }

/* --------------------------------------------------------------------------
   Services : une prestation par bloc, photo ou coupe de terrain
   -------------------------------------------------------------------------- */
.svc { padding-block: clamp(64px, 8vw, 112px); background: var(--bg); }
.svc--soft { background: var(--bg-soft); }
.svc__grid { display: grid; gap: 40px; align-items: center; }
.svc__body { display: grid; gap: 16px; justify-items: start; }
.svc__top { display: flex; align-items: center; gap: 16px; }
.svc__num { font-size: .875rem; font-weight: 700; letter-spacing: .06em; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.svc__num strong { color: var(--primary-dark); font-weight: 700; }
.svc__label {
  margin-top: 8px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.svc__list { width: 100%; }
.svc__list li { font-size: 1rem; }
@media (min-width: 640px) { .svc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; } }

.svc__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: 8px 0 4px;
  border-block: 1px solid var(--border);
}
.svc__facts div { display: grid; gap: 2px; align-content: start; padding: 14px 16px 14px 0; }
.svc__facts div + div { padding-left: 16px; border-left: 1px solid var(--border); }
.svc__facts dt { font-size: .8125rem; color: var(--text-soft); }
.svc__facts dd { margin: 0; font-weight: 700; line-height: 1.35; }
@media (max-width: 559px) {
  .svc__facts { grid-template-columns: 1fr; }
  .svc__facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; }
  .svc__facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .svc__facts dd { text-align: right; }
}

.svc__tip {
  display: flex;
  gap: 12px;
  max-width: 62ch;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: var(--bg);
  font-size: .9375rem;
  color: var(--text-soft);
}
.svc__tip .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--accent-ink); }
.svc__tip strong { color: var(--text); font-weight: 600; }
.svc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.svc__title-link { color: inherit; text-decoration: none; }
@media (max-width: 559px) { .svc__actions .btn { flex: 1 1 100%; } }
@media (hover: hover) and (pointer: fine) {
  .svc__title-link:hover { color: var(--primary-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
}

.svc__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: #e4ded0;
}
.svc__media > img { width: 100%; height: 100%; object-fit: cover; }
.svc__media--cut { aspect-ratio: 48 / 44; background: #fbfaf6; border: 1px solid var(--border); }
.svc__media--cut > svg { width: 100%; height: 100%; }
.svc__media--cut .photo-tag { top: 14px; right: 14px; bottom: auto; left: auto; }
@media (max-width: 559px) { .svc__media--cut .photo-tag { display: none; } }

@media (min-width: 960px) {
  .svc__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 96px); }
  .svc__media { order: -1; aspect-ratio: 4 / 5; }
  .svc__media--cut { aspect-ratio: 48 / 44; }
  .svc--flip .svc__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .svc--flip .svc__media { order: 1; }
}

/* Coupes de terrain dessinées (mêmes strates que « Jusqu'où creuser ») */
.cut text { font-family: var(--font); }
.cut__tick { font-size: 11.5px; font-weight: 600; fill: var(--text-soft); }
.cut__label { font-size: 13px; font-weight: 600; fill: var(--text); }
.cut__muted { font-size: 12px; font-weight: 500; fill: var(--text-soft); }
.cut__tag { font-size: 13px; font-weight: 700; fill: #fff; }
.cut__inside { font-size: 15px; font-weight: 700; fill: #fff; }
@media (max-width: 559px) {
  .cut__tick { font-size: 14px; }
  .cut__label { font-size: 15px; }
  .cut__muted { font-size: 15px; }
  .cut__tag { font-size: 15px; }
}

/* Bandeau professionnels (section sombre) */
.pro { display: grid; gap: 40px; }
.pro__text { display: grid; gap: 18px; justify-items: start; align-content: start; }
.pro__text .btn { margin-top: 8px; }
.pro__list { border-top: 1px solid rgba(255, 255, 255, .14); }
.pro__list li { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.pro__list strong { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.pro__list strong::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.pro__list span { color: var(--on-dark-soft); }
@media (min-width: 960px) {
  .pro { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 104px); align-items: center; }
  .pro__list li { grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 26px 0; }
}

/* --------------------------------------------------------------------------
   À propos
   -------------------------------------------------------------------------- */
.about { display: grid; gap: 40px; }
.about__text { display: grid; gap: 18px; justify-items: start; align-content: start; }
.about__text p:not(.lead) { color: var(--text-soft); max-width: 62ch; }
.idcard {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg);
  box-shadow: var(--shadow-card);
}
.idcard__title { font-size: 1.25rem; font-weight: 700; }
.idcard dl div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--border); }
.idcard dt { font-size: .875rem; color: var(--text-soft); }
.idcard dd { margin: 0; font-weight: 600; line-height: 1.45; }
.idcard .info-zone { max-width: none; margin-top: 4px; }
@media (min-width: 960px) {
  .about { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 104px); align-items: start; }
}

/* Engagements : liste éditoriale numérotée */
.pledges { display: grid; border-top: 1px solid #dcd8cc; }
.pledge { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding-block: 28px; border-bottom: 1px solid #dcd8cc; }
.pledge__num { font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--primary); font-variant-numeric: tabular-nums; }
.pledge__title { margin-bottom: 6px; font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.pledge p { color: var(--text-soft); max-width: 52ch; }
@media (min-width: 900px) {
  .pledges { grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 88px); }
  .pledge { grid-template-columns: 76px minmax(0, 1fr); padding-block: 36px; }
  .pledge__num { font-size: 2.75rem; }
}

/* Particuliers / professionnels */
.audience { display: grid; gap: 16px; }
.aud {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(26px, 3.5vw, 44px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-soft);
}
.aud--dark { background: var(--bg-dark); border-color: var(--bg-dark); color: var(--on-dark); }
.aud__title { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; max-width: 24ch; }
.aud p { color: var(--text-soft); max-width: 50ch; }
.aud--dark p { color: var(--on-dark-soft); }
.aud .checklist { margin-bottom: 12px; }
.aud .btn { margin-top: auto; }
.who--light { background: rgba(255, 255, 255, .12); color: #fff; }
@media (min-width: 900px) { .audience { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------------------
   Réalisations : fiches chantier et visionneuse
   -------------------------------------------------------------------------- */
.cases { display: grid; gap: 16px; }
.case {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.case__photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #e4ded0;
  cursor: zoom-in;
}
.case__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.case__photo:focus-visible { outline-offset: -4px; border-radius: 0; }
.case__zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--text);
  transition: opacity 200ms ease, transform 200ms var(--ease-out);
}
.case__zoom .icon { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .case__zoom { opacity: 0; transform: scale(.9); }
  .case__photo:hover img { transform: scale(1.04); }
  .case__photo:hover .case__zoom, .case__photo:focus-visible .case__zoom { opacity: 1; transform: none; }
}
.case__body { display: grid; gap: 10px; justify-items: start; padding: 22px 24px 24px; }
.case__tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: .75rem;
  font-weight: 700;
}
.case__title { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.case__text { font-size: .9375rem; color: var(--text-soft); max-width: 52ch; }
.case__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  width: 100%;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.case__meta dt { font-size: .8125rem; color: var(--text-soft); }
.case__meta dd { margin: 0; font-size: .9375rem; font-weight: 600; }
.case__meta a { color: var(--primary-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cases .tile--cta { min-height: 320px; }

@media (min-width: 640px) {
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases .tile--cta { grid-column: auto; }
  .case--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .case--wide .case__photo { aspect-ratio: auto; height: 100%; min-height: 440px; }
  .case--wide .case__body { align-content: center; padding: clamp(28px, 4vw, 48px); }
  .case--wide .case__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; letter-spacing: -.02em; }
}
@media (min-width: 1080px) {
  .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case--wide, .cases .tile--cta { grid-column: span 2; }
}

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 76px 16px 92px;
  border: 0;
  background: rgba(20, 24, 22, .95);
  color: var(--on-dark);
  overscroll-behavior: contain;
}
.lightbox[open] { display: grid; place-items: center; animation: lm-fade 200ms ease both; }
.lightbox.is-closing { animation: lm-fade-out 160ms ease both; }
.lightbox::backdrop { background: transparent; }
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox__figure { display: grid; gap: 14px; justify-items: center; margin: 0; animation: lm-zoom-in 280ms var(--ease-out) both; }
.lightbox__img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 210px);
  max-height: calc(100dvh - 210px);
  border-radius: 12px;
}
.lightbox__img.is-entering { animation: lm-crossfade 220ms ease both; }
.lightbox__caption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-weight: 600; text-align: center; }
.lightbox__count { color: var(--primary); font-variant-numeric: tabular-nums; }
.lightbox__btn {
  position: fixed;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(28, 33, 31, .7);
  color: #fff;
  transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.lightbox__btn:active { transform: scale(.95); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev, .lightbox__next { bottom: 24px; }
.lightbox__prev { left: calc(50% - 60px); }
.lightbox__next { right: calc(50% - 60px); }
@media (min-width: 900px) {
  .lightbox { padding: 48px 104px; }
  .lightbox__img { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); }
  .lightbox__prev, .lightbox__next { top: 50%; bottom: auto; margin-top: -24px; }
  .lightbox__prev { left: 28px; }
  .lightbox__next { right: 28px; }
}
@media (hover: hover) and (pointer: fine) {
  .lightbox__btn:hover { background: var(--primary); border-color: var(--primary); }
}
@keyframes lm-zoom-in {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes lm-fade-out { to { opacity: 0; } }

/* --------------------------------------------------------------------------
   Contact : formulaire de devis complet
   -------------------------------------------------------------------------- */
.contact { display: grid; gap: 32px; grid-template-areas: "intro" "form" "aside"; }
.contact__intro { grid-area: intro; }
.contact .quote { grid-area: form; }
.contact__aside { grid-area: aside; display: grid; gap: 20px; align-content: start; }
.contact__aside .help-card { max-width: none; margin-top: 0; }
@media (min-width: 1024px) {
  .contact {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "intro form" "aside form";
    column-gap: clamp(48px, 6vw, 88px);
    row-gap: 36px;
  }
}

.quote {
  display: grid;
  gap: 16px;
  align-self: start;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg);
  box-shadow: var(--shadow-card);
}
.quote__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.quote__title { font-size: 1.25rem; font-weight: 700; }
.quote__hint { font-size: .8125rem; color: var(--text-soft); }
.quote__legal { font-size: .8125rem; color: var(--text-soft); }
.quote__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 640px) {
  .quote { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .quote > .quote__head, .quote > .choice, .quote > .field--full, .quote > .btn,
  .quote > .quote__legal, .quote > .form-status { grid-column: 1 / -1; }
}
.field textarea { min-height: 132px; resize: vertical; }
.field__help { font-size: .8125rem; color: var(--text-soft); }

/* Choix particulier / professionnel */
.choice { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice__legend { margin-bottom: 6px; padding: 0; font-size: .875rem; font-weight: 600; }
.choice__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choice__option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.choice__option::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--text-muted);
  border-radius: 50%;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.choice__option input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice__option:has(input:checked) { background: var(--bg-dark); border-color: var(--bg-dark); color: #fff; }
.choice__option:has(input:checked)::before { border-color: var(--primary); background: var(--primary); box-shadow: inset 0 0 0 3px var(--bg-dark); }
.choice__option:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
/* sur les petits écrans, le fond sombre suffit à signaler le choix */
@media (max-width: 419px) { .choice__option { padding: 0 8px; } .choice__option::before { display: none; } }
@media (hover: hover) and (pointer: fine) {
  .choice__option:not(:has(input:checked)):hover { border-color: var(--text); }
}

.contact-list li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid #dcd8cc; }
.contact-list li:first-child { border-top: 1px solid #dcd8cc; }
.contact-list__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
}
.contact-list__icon .icon { width: 20px; height: 20px; }
.contact-list li > div { display: grid; gap: 2px; min-width: 0; }
.contact-list strong { font-weight: 600; }
.contact-list a { color: var(--primary-dark); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list small { font-size: .8125rem; color: var(--text-soft); }
@media (hover: hover) and (pointer: fine) { .contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; } }

.next-steps { padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg); }
.next-steps__title { margin-bottom: 6px; font-weight: 700; }
.next-steps ol { counter-reset: step; }
.next-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 8px 0;
  color: var(--text-soft);
  counter-increment: step;
}
.next-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: .875rem;
  font-weight: 700;
}
.next-steps strong { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------------
   Mentions légales
   -------------------------------------------------------------------------- */
.legal { display: grid; gap: 40px; }
.toc { align-self: start; padding: 22px 24px; border-radius: var(--radius-card); background: var(--bg-soft); }
.toc__title { margin-bottom: 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }
.toc ol { counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 12px; padding: 7px 0; color: var(--text); font-size: .9375rem; font-weight: 500; text-decoration: none; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--primary-dark); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .toc a:hover { color: var(--primary-dark); } }
@media (min-width: 960px) {
  .legal { grid-template-columns: 280px minmax(0, 1fr); gap: 72px; }
  .toc { position: sticky; top: calc(var(--header-h) + 32px); }
}

.prose { max-width: 72ch; }
.prose > section + section { margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--border); }
.prose h2 { margin-bottom: 16px; font-size: 1.5rem; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--text-soft); }
.prose * + p, .prose * + ul, .prose * + dl { margin-top: 14px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose ul { display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.legal-dl div, .spec div { display: grid; gap: 2px 24px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.legal-dl div:first-child, .spec div:first-child { border-top: 1px solid var(--border); }
.legal-dl dt, .spec dt { font-size: .875rem; color: var(--text-soft); }
.legal-dl dd, .spec dd { margin: 0; font-weight: 600; }
@media (min-width: 640px) { .legal-dl div, .spec div { grid-template-columns: 210px minmax(0, 1fr); } }
.todo {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

/* Mouvement réduit (pages intérieures) */
@media (prefers-reduced-motion: reduce) {
  .page-head .crumbs, .page-title, .page-head .lead, .page-head__actions,
  .page-head .info-zone, .page-head .quote, .contact__aside { animation-name: lm-fade; animation-duration: 300ms; }
  .page-head .bar { animation: none; }
  .page-head__media img { animation-name: lm-fade; animation-duration: 300ms; }
  .case__photo img { transition: none; }
  .case__photo:hover img { transform: none; }
  .case__zoom { transition: opacity 200ms ease; transform: none; }
  .lightbox__figure { animation-name: lm-fade; }
  .lightbox__btn:active { transform: none; }
}

/* ==========================================================================
   PAGES PRESTATION (une page par service, contenu orienté référencement)
   ========================================================================== */
/* Engagements : bandeau pleine largeur sous l'en-tête de page (comme sous le héro de l'accueil) */
.page-head__strip {
  display: grid;
  gap: 12px 40px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 22px;
  border-top: 1px solid #dcd8cc;
}
.page-head__strip li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; }
.page-head__strip .icon { width: 24px; height: 24px; color: var(--primary); stroke-width: 1.8; }
@media (min-width: 720px) { .page-head__strip { grid-template-columns: repeat(3, auto); justify-content: start; } }

/* Sous 960 px, la photo d'en-tête passe en paysage pour ne pas repousser tout le contenu */
@media (max-width: 959px) {
  .page-head__media:not(.page-head__media--cut) { aspect-ratio: 16 / 10; }
  .page-head__media--cut { width: 100%; max-width: 560px; }
}

/* Coupe dessinée à la place de la photo */
.page-head__media--cut { background: #fbfaf6; border: 1px solid var(--border); }
.page-head__media--cut > svg { width: 100%; height: 100%; animation: lm-unclip 900ms var(--ease-in-out) 150ms both; }
.page-head__media--cut .photo-tag { top: 14px; right: 14px; bottom: auto; left: auto; }
.page-head__media--cut, .page-head__grid--media .page-head__media--cut { aspect-ratio: 48 / 44; }
@media (max-width: 559px) { .page-head__media--cut .photo-tag { display: none; } }

/* Travaux détaillés : liste à coches sur deux colonnes, séparée par des filets */
.worklist { display: grid; column-gap: clamp(32px, 6vw, 88px); border-top: 1px solid #dcd8cc; }
.worklist li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 4px 14px;
  padding-block: 22px;
  border-bottom: 1px solid #dcd8cc;
}
.worklist .icon { grid-row: span 2; width: 26px; height: 26px; margin-top: -1px; color: var(--primary); stroke-width: 1.8; }
.worklist h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.worklist p { color: var(--text-soft); max-width: 50ch; }
@media (min-width: 768px) { .worklist { grid-template-columns: 1fr 1fr; } }

/* Guide technique : titre collant, questions-réponses développées */
.guide { display: grid; gap: 40px; }
.guide__side { display: grid; gap: 18px; align-content: start; justify-items: start; }
.guide__item { padding-block: 26px; border-top: 1px solid #dcd8cc; }
.guide__item:last-child { border-bottom: 1px solid #dcd8cc; }
.guide__item h3 { margin-bottom: 8px; font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.guide__item p { color: var(--text-soft); max-width: 64ch; }
.guide__item * + p, .guide__item * + ul, .guide__item * + dl { margin-top: 12px; }
.guide__item .checklist li { color: var(--text-soft); }
.guide__item .spec { max-width: 64ch; }
@media (min-width: 960px) {
  .guide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
  .guide__side { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

/* Couleurs de grillage avertisseur */
.swatches { display: grid; gap: 10px; }
.swatches li { display: flex; align-items: center; gap: 14px; color: var(--text-soft); }
.swatches li::before {
  content: "";
  flex: none;
  width: 34px;
  height: 12px;
  border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(255, 255, 255, .45) 5px 7px),
    var(--c);
}
.swatches strong { min-width: 4.5em; color: var(--text); font-weight: 600; }

/* Ce qui fait varier le prix (section sombre .pro) */
.pro__note { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--on-dark); }
.pro__note .icon { width: 22px; height: 22px; color: var(--primary); }

/* FAQ des pages prestation : renvoi téléphonique sans carte */
.faq__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.faq__phone .icon { width: 22px; height: 22px; color: var(--primary); }

/* Autres prestations : liens compacts, toute la carte est cliquable */
.related { display: grid; gap: 12px; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related__link {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  transition: border-color 200ms ease;
}
.related__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  transition: background-color 200ms ease, color 200ms ease;
}
.related__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.related__text { display: grid; gap: 2px; line-height: 1.35; }
.related__text strong { font-size: 1.0625rem; font-weight: 600; }
.related__text small { font-size: .875rem; color: var(--text-soft); }
.related__arrow { width: 20px; height: 20px; color: var(--primary-dark); transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .related__link:hover { border-color: var(--text); }
  .related__link:hover .related__icon { background: var(--primary); color: #fff; }
  .related__link:hover .related__arrow { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
  .page-head__media--cut > svg { animation-name: lm-fade; animation-duration: 300ms; }
}

/* ==========================================================================
   PAGE TERRASSEMENT : nouvelle trame (une mise en page par section)
   À décliner ensuite sur les autres pages prestation.
   ========================================================================== */

/* --- En quoi ça consiste : texte, projets concernés, fiche technique --- */
.intro-grid { display: grid; gap: 40px; }
.intro-grid__text { display: grid; gap: 18px; justify-items: start; }
.intro-grid__text p:not(.lead) { color: var(--text-soft); max-width: 62ch; }
.projects__title { margin-bottom: 10px; font-size: 1.0625rem; font-weight: 600; }
.projects li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 12px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.projects li:first-child { border-top: 1px solid var(--border); }
.projects .icon { width: 30px; height: 30px; color: var(--primary); stroke-width: 1.6; }
@media (min-width: 960px) {
  .intro-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(48px, 8vw, 120px); align-items: start; }
  .projects { margin-top: 64px; }
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 64px);
  border-block: 1px solid var(--border);
}
.specs div { display: grid; gap: 4px; align-content: start; padding: 18px 16px 18px 0; }
.specs div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--border); }
.specs div:nth-child(n+3) { border-top: 1px solid var(--border); }
.specs dt { font-size: .875rem; color: var(--text-soft); }
.specs dd { margin: 0; font-size: 1.125rem; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
@media (min-width: 900px) {
  .specs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .specs div { padding: 20px 24px; border-top: 0; }
  .specs div:nth-child(n+3) { border-top: 0; }
  .specs div:first-child { padding-left: 0; }
  .specs div + div { border-left: 1px solid var(--border); }
}

/* --- Travaux : coupe de terrain interactive ---
   L'étape survolée, focalisée ou touchée s'allume en orange sur la coupe
   (changement de couleur seul, 200 ms : l'interaction se répète souvent). */
.anat { display: grid; gap: 28px; }
.anat__figure {
  margin: 0;
  padding: clamp(14px, 2.5vw, 28px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fbfaf6;
}
.anat__svg { width: 100%; height: auto; font-family: var(--font); }
.anat__figure figcaption { margin-top: 12px; font-size: .8125rem; color: var(--text-soft); }

.anat__zone { fill: #fbfaf6; stroke: #a9a291; stroke-width: 1.5; stroke-dasharray: 5 4; transition: fill 200ms ease, stroke 200ms ease; }
.anat__zone.is-on { fill: rgba(232, 93, 26, .16); stroke: var(--primary); stroke-width: 2; stroke-dasharray: none; }
.anat__grave { fill: url(#anat-grave); stroke: transparent; stroke-width: 3; transition: stroke 200ms ease; }
.anat__grave.is-on { stroke: var(--primary); }
.anat__level path { fill: #555a56; stroke: #555a56; stroke-width: 2.5; transition: fill 200ms ease, stroke 200ms ease, stroke-width 200ms ease; }
.anat__level path:first-child { fill: none; }
.anat__level.is-on path { fill: var(--primary); stroke: var(--primary); }
.anat__level.is-on path:first-child { fill: none; stroke-width: 4; }
.anat__truck .anat__body { fill: #555a56; transition: fill 200ms ease; }
.anat__truck .anat__soil { fill: #86663f; }
.anat__truck .anat__wheel { fill: #181a18; }
.anat__truck .anat__arrow { fill: none; stroke: #858b86; stroke-width: 2; stroke-dasharray: 5 5; transition: stroke 200ms ease; }
.anat__truck .anat__arrow-head { fill: #858b86; transition: fill 200ms ease; }
.anat__truck.is-on .anat__body, .anat__truck.is-on .anat__arrow-head { fill: var(--primary); }
.anat__truck.is-on .anat__arrow { stroke: var(--primary); }

/* Éléments propres à chaque coupe : un groupe s'allume en orange (remplissage,
   contour ou teinte selon la classe de chaque forme) */
.anat__group * { transition: fill 200ms ease, stroke 200ms ease; }
.anat__group.is-on .hl-fill { fill: var(--primary); }
.anat__group.is-on .hl-stroke { stroke: var(--primary); }
.anat__group.is-on .hl-tint { fill: rgba(232, 93, 26, .16); stroke: var(--primary); }
.anat__group.is-on .anat__grave { stroke: var(--primary); }
.anat__zone--soil { fill: #d9c393; }
.anat__hatch { fill: url(#anat-hatch); }
.anat__hatch.is-on, .anat__group.is-on .anat__hatch { fill: url(#anat-hatch-on); }
.anat__truck .anat__rubble { fill: #9a948a; }
.anat__inside { font-size: 15px; font-weight: 700; fill: #fff; }

.anat-pin { cursor: pointer; }
.anat-pin circle { fill: #fff; stroke: #555a56; stroke-width: 1.5; transition: fill 200ms ease, stroke 200ms ease; }
.anat-pin text { font-size: 14px; font-weight: 700; fill: var(--text); text-anchor: middle; transition: fill 200ms ease; pointer-events: none; }
.anat-pin.is-on circle { fill: var(--primary); stroke: var(--primary); }
.anat-pin.is-on text { fill: #fff; }
.anat__tick { font-size: 12px; font-weight: 600; fill: var(--text-soft); }
.anat__muted { font-size: 13px; font-weight: 500; fill: var(--text-soft); }

.anat__list { display: grid; gap: 4px; }
.anat__item {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 14px;
  padding: 14px 16px;
  border-radius: 12px;
  transition: background-color 200ms ease, box-shadow 200ms ease;
}
.anat__num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid #cfc8b8;
  border-radius: 50%;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text-soft);
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.anat__item h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.anat__item h3 button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.anat__item h3 button::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* toute la ligne est cliquable */
.anat__item h3 button:focus-visible { outline: none; }
.anat__item:has(button:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.anat__item p { grid-column: 2; font-size: .9375rem; color: var(--text-soft); }
.anat__item.is-on { background: var(--bg); box-shadow: 0 0 0 1px var(--border), var(--shadow-card); }
.anat__item.is-on .anat__num { background: var(--primary); border-color: var(--primary); color: #fff; }

@media (max-width: 559px) {
  .anat-pin circle, .anat-pin text { transform: scale(1.5); transform-box: fill-box; transform-origin: center; }
  .anat__tick, .anat__muted { font-size: 19px; }
}
@media (min-width: 1024px) {
  .anat { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
}

/* --- Déroulé : frise horizontale en cinq étapes ---
   À l'arrivée à l'écran, le trait se remplit d'une étape à l'autre et les
   pastilles passent en orange, une seule fois. */
.stepper { display: grid; gap: 28px; }
.stepper__step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 6px 18px; align-content: start; }
.stepper__node {
  position: relative;
  z-index: 1;
  grid-row: span 5;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid #ddd6c6;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-soft);
  transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease;
  transition-delay: calc(var(--i, 0) * 180ms);
}
.stepper__step > :not(.stepper__node) { grid-column: 2; justify-self: start; }
.stepper__step h3 { font-size: 1.1875rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.stepper__step p { font-size: .9375rem; color: var(--text-soft); max-width: 46ch; }
.stepper__step .stepper__tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: .875rem; font-weight: 600; color: var(--text); }
.stepper__tag .icon { width: 18px; height: 18px; color: var(--primary); }
/* segment de trait entre deux étapes (vertical sur mobile) */
.stepper__step:not(:last-child)::before,
.stepper__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: -28px;
  width: 2px;
  background: #ddd6c6;
}
.stepper__step:not(:last-child)::after {
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 420ms var(--ease-in-out);
  transition-delay: calc(var(--i, 0) * 180ms + 90ms);
}
.stepper[data-visible] .stepper__step::after, html:not(.js) .stepper__step::after { transform: none; }
.stepper[data-visible] .stepper__node, html:not(.js) .stepper__node { background: var(--primary); border-color: var(--primary); color: #fff; }

/* tablette : la frise reste horizontale et défile au doigt */
@media (min-width: 640px) and (max-width: 1023px) {
  .stepper {
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 40%);
    margin-inline: calc(-1 * var(--edge));
    padding: 4px var(--edge) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--edge);
    scrollbar-width: thin;
  }
  .stepper__step { grid-template-columns: minmax(0, 1fr); gap: 10px; scroll-snap-align: start; }
  .stepper__node { grid-row: auto; margin-bottom: 10px; }
  .stepper__step > :not(.stepper__node) { grid-column: 1; }
  .stepper__step:not(:last-child)::before,
  .stepper__step:not(:last-child)::after { left: 48px; right: -28px; top: 23px; bottom: auto; width: auto; height: 2px; }
  .stepper__step:not(:last-child)::after { transform: scaleX(0); transform-origin: left; }
}
@media (min-width: 1024px) {
  .stepper { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
  .stepper__step { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .stepper__node { grid-row: auto; margin-bottom: 10px; }
  .stepper__step > :not(.stepper__node) { grid-column: 1; }
  .stepper__step:not(:last-child)::before,
  .stepper__step:not(:last-child)::after { left: 48px; right: -28px; top: 23px; bottom: auto; width: auto; height: 2px; }
  .stepper__step:not(:last-child)::after { transform: scaleX(0); transform-origin: left; }
}

/* --- Bon à savoir : photo pleine hauteur qui déborde à gauche, encadrés --- */
.split { display: grid; background: var(--bg-soft); }
.split__media { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #e4ded0; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__content { display: grid; gap: 18px; align-content: center; justify-items: start; padding: var(--section-pad) var(--edge); }
.notes { display: grid; gap: 28px 40px; width: 100%; margin-top: 12px; }
.note { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; align-content: start; padding-top: 20px; border-top: 1px solid #dcd8cc; }
.note__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--primary);
}
.note__icon .icon { width: 22px; height: 22px; }
.note h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.note p { font-size: .9375rem; color: var(--text-soft); }
.note > :not(.note__icon) { grid-column: 2; }
.note > * + p, .note > * + ul, .note > * + dl { margin-top: 8px; }
.note .checklist li { font-size: .9375rem; color: var(--text-soft); }
.note .swatches li { font-size: .9375rem; }
.note .spec dt, .note .spec dd { font-size: .875rem; }
@media (min-width: 640px) { .note .spec div { grid-template-columns: 120px minmax(0, 1fr); } }
@media (min-width: 760px) { .notes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split__media { aspect-ratio: auto; height: 100%; min-height: 640px; }
  .split__content { padding-left: clamp(40px, 5vw, 88px); }
}

/* --- Prix : une jauge « moins cher / plus cher » par facteur --- */
.spectra__legend {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--on-dark-soft);
}
.spectra__legend span:last-child { color: #f4884f; }
.spectrum { display: grid; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.spectrum:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.spectrum h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; }
.spectrum__scale { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "bar bar" "low high"; gap: 10px 20px; }
.spectrum__bar {
  grid-area: bar;
  align-self: center;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(232, 93, 26, .15), var(--primary));
  transform-origin: left;
  transition: transform 800ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms + 150ms);
}
.js .spectra__list:not([data-visible]) .spectrum__bar { transform: scaleX(.06); }
.spectrum__end { font-size: .9375rem; color: var(--on-dark-soft); }
.spectrum__end--low { grid-area: low; }
.spectrum__end--high { grid-area: high; text-align: right; color: var(--on-dark); }
.spectra__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 36px; }
@media (min-width: 900px) {
  .spectra__legend { margin-left: calc(220px + 32px); }
  .spectrum { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; }
}
/* grand écran : la jauge entre ses deux exemples */
@media (min-width: 1180px) {
  .spectra__legend { padding-inline: calc(11rem + 20px); }
  .spectrum__scale { grid-template-columns: 11rem minmax(0, 1fr) 11rem; grid-template-areas: "low bar high"; align-items: center; }
  .spectrum__end--low { text-align: right; }
  .spectrum__end--high { text-align: left; }
}

/* --- FAQ sur deux colonnes indépendantes --- */
.faq-cols { display: grid; gap: 10px; }
.faq-cols .faq__list { align-content: start; }
@media (min-width: 900px) { .faq-cols { grid-template-columns: 1fr 1fr; gap: 10px 16px; } }

@media (prefers-reduced-motion: reduce) {
  .stepper__node, .stepper__step::after, .spectrum__bar { transition: none; }
}

/* ==========================================================================
   COOKIES : bandeau de consentement (recommandations CNIL)
   Refuser et accepter ont le même poids visuel ; aucun mur de cookies :
   le bandeau ne bloque pas la navigation. Entrée 240 ms, sortie 160 ms.
   ========================================================================== */
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__cookies {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--on-dark-soft);
  cursor: pointer;
  transition: color 150ms ease;
}
@media (hover: hover) and (pointer: fine) { .footer__cookies:hover { color: var(--on-dark); } }

.consent {
  position: fixed;
  z-index: 80;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 460px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 22px 22px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 2px 6px rgba(24, 26, 24, .08), 0 24px 60px -20px rgba(24, 26, 24, .45);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 160ms ease, transform 160ms var(--ease-out);
}
.consent.is-open { opacity: 1; transform: none; transition-duration: 240ms; }
.consent__title { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.consent__title:focus { outline: none; }
.consent__text { margin-top: 8px; font-size: .9375rem; color: var(--text-soft); }
.consent__text a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.consent__actions .btn { padding-inline: 12px; }
.consent__more {
  min-height: 44px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.consent__list { margin-top: 10px; border-top: 1px solid var(--border); }
.consent__list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--border); }
.consent__list label, .consent__list .consent__label { display: grid; gap: 2px; cursor: pointer; }
.consent__list .consent__label { cursor: default; }
.consent__list strong { font-size: .9375rem; font-weight: 600; }
.consent__list label span, .consent__label span { font-size: .875rem; color: var(--text-soft); line-height: 1.45; }
.consent__note { margin-top: 10px; font-size: .8125rem; color: var(--text-soft); }

/* Interrupteur : grande zone cliquable grâce au libellé associé */
.consent__switch {
  position: relative;
  flex: none;
  width: 46px;
  height: 28px;
  margin: 0;
  border-radius: 999px;
  background: #c9cdca;
  appearance: none;
  cursor: pointer;
  transition: background-color 200ms ease;
}
.consent__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  transition: transform 200ms var(--ease-out);
}
.consent__switch:checked { background: var(--primary); }
.consent__switch:checked::after { transform: translateX(18px); }
.consent__switch:disabled { opacity: .6; cursor: not-allowed; }
.consent__switch:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

@media (max-width: 559px) {
  .consent { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 16px 16px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .consent { transform: none; }
  .consent__switch::after { transition: none; }
}
.prose code { padding: 1px 6px; border-radius: 4px; background: var(--bg-soft); font-size: .875em; color: var(--text); }
