/* ==========================================================================
   FAÇADES PUNDEL — Esch-sur-Alzette
   Direction : « Enduit lumière »
   Voir design-system/styles-current.md · creative-concept.md
   ========================================================================== */

/* ── 1. TOKENS ──────────────────────────────────────────────────────────── */
:root {
  color-scheme: light;

  /* PRIMARY · CHAUX (dominante) */
  --primary-50:  #FDFCFA;
  --primary-100: #FAF7F2;
  --primary-200: #F2EDE5;
  --primary-300: #E5DED2;
  --primary-400: #CFC6B7;
  --primary-500: #B0A695;
  --primary-600: #8B8172;
  --primary-700: #6B6357;
  --primary-800: #4A443C;
  --primary-900: #2A2724;
  --primary-950: #171512;

  /* ACCENT · TERRACOTTA */
  --accent-50:  #FBF2EE;
  --accent-100: #F6DFD6;
  --accent-200: #EDBFAE;
  --accent-300: #E19C84;
  --accent-400: #D3735A;
  --accent-500: #C1492C;
  --accent-600: #A63A20;
  --accent-700: #872D18;
  --accent-800: #682415;
  --accent-900: #4E1C12;
  --accent-950: #2C0F09;

  /* SECONDARY · ARDOISE */
  --secondary-100: #EAECEC;
  --secondary-300: #B6BBBD;
  --secondary-500: #6E7679;
  --secondary-700: #43494B;
  --secondary-900: #1E2122;

  /* NEUTRAL · ENCRE */
  --neutral-50:  #F7F6F4;
  --neutral-100: #EDEBE7;
  --neutral-200: #DAD6D0;
  --neutral-300: #BEB8AF;
  --neutral-400: #979187;
  --neutral-500: #77726A;
  --neutral-600: #5C5852;
  --neutral-700: #46433E;
  --neutral-800: #302E2A;
  --neutral-900: #1C1A18;
  --neutral-950: #0E0D0C;

  /* RÔLES SÉMANTIQUES */
  --bg-page:          var(--primary-100);
  --bg-raised:        var(--primary-200);
  --bg-dark:          var(--primary-900);
  --bg-dark-2:        var(--primary-950);
  --text-primary:     var(--neutral-900);
  --text-secondary:   var(--neutral-600);
  --text-tertiary:    var(--primary-600);
  --text-on-dark:     var(--primary-100);
  --text-on-dark-dim: rgba(250, 247, 242, 0.66);
  --text-accent:      var(--accent-600);
  --text-accent-dark: var(--accent-300);
  --border-hair:      var(--primary-300);
  --border-strong:    var(--primary-400);
  --border-on-dark:   rgba(250, 247, 242, 0.14);
  --focus-ring:       var(--accent-500);

  /* TYPO */
  --font-display: 'Familjen Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Geist', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
  --font-mono:    ui-monospace, 'Geist Mono', 'SF Mono', monospace;

  --fs-display: clamp(2.75rem, 6vw, 6rem);
  --fs-h2:      clamp(2.25rem, 4.4vw, 4rem);
  --fs-h3:      clamp(1.375rem, 1.9vw, 1.75rem);
  --fs-h4:      1.0625rem;
  --fs-stat:    clamp(2rem, 3.4vw, 3.25rem);
  --fs-lead:    clamp(1.0625rem, 1.35vw, 1.3125rem);
  --fs-body:    1.0625rem;
  --fs-body-sm: 0.9375rem;
  --fs-eyebrow: 0.75rem;
  --fs-nav:     0.8125rem;
  --fs-btn:     0.875rem;
  --fs-caption: 0.8125rem;
  --fs-cue:     0.6875rem;

  --ls-display: -0.03em;
  --ls-h2:      -0.025em;
  --ls-h3:      -0.015em;
  --ls-eyebrow: 0.16em;
  --ls-nav:     0.09em;
  --ls-btn:     0.08em;
  --ls-cue:     0.22em;

  --lh-display: 0.94;
  --lh-h2:      1.03;
  --lh-h3:      1.15;
  --lh-lead:    1.55;
  --lh-body:    1.65;

  /* ESPACEMENT */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 24px;  --space-6: 32px;  --space-7: 40px;  --space-8: 56px;
  --space-9: 72px;  --space-10: 96px; --space-11: 128px; --space-12: 176px;

  --section-py: clamp(96px, 11vw, 176px);
  --page-px:    clamp(20px, 4vw, 64px);
  --gutter:     32px;

  --container:        1400px;
  --container-narrow: 780px;
  --container-wide:   1680px;

  /* FORME */
  --radius-0:    0px;
  --radius-sm:   2px;
  --radius-md:   3px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(28,26,24,0.04), 0 8px 24px -12px rgba(28,26,24,0.10);
  --shadow-lift: 0 2px 4px rgba(28,26,24,0.05), 0 20px 48px -20px rgba(28,26,24,0.16);
  --shadow-cta:  0 10px 30px -14px rgba(193,73,44,0.55);

  --rule-accent: 3px;
  --rule-width:  56px;

  --border-1: 1px solid var(--border-hair);
  --border-2: 1px solid var(--border-strong);

  /* TEXTURE */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  --grain-opacity:      0.045;
  --grain-opacity-dark: 0.07;
  --crepi: radial-gradient(circle at 30% 30%, rgba(28,26,24,0.055) 0.6px, transparent 0.7px),
           radial-gradient(circle at 70% 65%, rgba(28,26,24,0.04) 0.5px, transparent 0.6px);
  --crepi-size: 7px 7px, 11px 11px;

  /* MOTION */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0.05, 0.28, 1);
  --ease-line:  cubic-bezier(0.16, 1, 0.30, 1);
  --dur-fast:   180ms;
  --dur-base:   280ms;
  --dur-slow:   700ms;
  --dur-morph:  760ms;
  --stagger:    90ms;
  --reveal-y:   28px;
  --parallax:   0.08;

  /* Z-INDEX */
  --z-base:       1;
  --z-sticky-cta: 50;
  --z-header:     60;
  --z-drawer:     80;
  --z-grain:      9999;

  /* Hauteurs de header (pilotées en JS via .is-scrolled) */
  --header-h: 84px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0.01ms;
    --dur-base: 0.01ms;
    --dur-slow: 0.01ms;
    --dur-morph: 0.01ms;
    --stagger: 0ms;
    --reveal-y: 0px;
    --parallax: 0;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ── 2. RESET & BASE ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Grain global — la profondeur sans ombre */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: var(--grain-opacity);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: var(--z-grain);
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; }
p { text-wrap: pretty; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 1px;
}
.on-dark :focus-visible { outline-color: var(--accent-300); }
::selection { background: var(--accent-200); color: var(--neutral-900); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--page-px);
  z-index: 200;
  background: var(--accent-500);
  color: var(--text-on-dark);
  padding: 14px 22px;
  font-family: var(--font-display);
  font-size: var(--fs-btn);
  font-weight: 600;
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  transition: top var(--dur-base) var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* ── 3. PRIMITIVES ──────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--page-px);
}
.container--wide  { max-width: var(--container-wide); }
.container--narrow{ max-width: var(--container-narrow); }

.section { padding-block: var(--section-py); position: relative; }
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding-block: calc(var(--section-py) + 24px);
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: var(--grain-opacity-dark);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.section--raised {
  background: var(--bg-raised);
  background-image: var(--crepi);
  background-size: var(--crepi-size);
}

/* MOTIF SIGNATURE — « l'arête » */
.rule {
  position: relative;
  height: var(--rule-accent);
  width: 100%;
  background: var(--border-hair);
  flex: none;
}
.rule::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--rule-width);
  background: var(--accent-500);
  transition: width 420ms var(--ease-line);
}
.rule--on-dark { background: var(--border-on-dark); }
.rule--centered::before { left: 50%; transform: translateX(-50%); }
.is-hoverable:hover .rule::before,
.is-hoverable:focus-within .rule::before { width: 100%; }

/* Reveal au scroll */
html.js .reveal {
  opacity: 0;
  transform: translateY(var(--reveal-y));
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--d, 0ms);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

/* Typo utilitaires */
.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: var(--space-4);
}
.section--dark .eyebrow { color: var(--text-on-dark-dim); }

.h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: var(--ls-h2);
  line-height: var(--lh-h2);
  text-transform: uppercase;
  margin-top: var(--space-5);
}
.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--text-secondary);
  max-width: 52ch;
  margin-top: var(--space-5);
}
.section--dark .lead { color: var(--text-on-dark-dim); }

.section-head { max-width: 640px; }

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 48px;
  padding: 17px 30px;
  border-radius: var(--radius-0);
  font-family: var(--font-display);
  font-size: var(--fs-btn);
  font-weight: 600;
  letter-spacing: var(--ls-btn);
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.btn--primary { background: var(--accent-500); color: var(--primary-100); }
.btn--primary:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: var(--shadow-cta); }
.btn--primary:active { background: var(--accent-700); transform: translateY(0); }

.btn--light { background: transparent; color: var(--neutral-900); border: 1px solid var(--neutral-900); }
.btn--light:hover { background: var(--neutral-900); color: var(--primary-100); }
.btn--light:active { background: var(--neutral-950); }

.btn--dark { background: transparent; color: var(--primary-100); border: 1px solid rgba(250,247,242,0.35); }
.btn--dark:hover { border-color: var(--primary-100); background: rgba(250,247,242,0.08); }
.btn--dark:active { background: rgba(250,247,242,0.14); }

.btn--lg { padding: 19px 34px; }
.btn--sm { padding: 13px 22px; min-height: 44px; }
.btn--block { display: flex; width: 100%; }

.btn .arrow { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* Lien ghost — l'arête soulignante */
.link-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  position: relative;
  padding-block: 6px;
  font-family: var(--font-display);
  font-size: var(--fs-btn);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-accent);
}
.link-ghost::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 24px;
  background: var(--accent-500);
  transition: width 420ms var(--ease-line);
}
.link-ghost:hover::after, .link-ghost:focus-visible::after { width: 100%; }
.link-ghost .arrow { transition: transform var(--dur-base) var(--ease-out); }
.link-ghost:hover .arrow { transform: translateX(4px); }

/* ── 4. HEADER ──────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--bg-dark);
  color: var(--text-on-dark);
  height: var(--header-h);
  transition: height var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.header.is-scrolled {
  --header-h: 72px;
  box-shadow: 0 1px 0 rgba(250, 247, 242, 0.10);
}
.header__inner {
  height: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--page-px);
  display: flex;
  align-items: center;
  gap: var(--space-7);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  flex: none;
}
.wordmark span { display: block; }

.nav { display: flex; align-items: center; gap: 36px; margin-inline: auto; }
.nav__link {
  position: relative;
  display: block;
  padding-block: 10px;
  font-family: var(--font-display);
  font-size: var(--fs-nav);
  font-weight: 600;
  letter-spacing: var(--ls-nav);
  line-height: 1;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.72);
  transition: color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--accent-500);
  transition: width 220ms var(--ease-line);
}
.nav__link:hover { color: var(--primary-100); }
.nav__link:hover::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--primary-100); }
.nav__link[aria-current="page"]::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: var(--space-5); flex: none; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  color: rgba(250, 247, 242, 0.72);
  transition: color var(--dur-fast) var(--ease-out);
}
.icon-btn:hover { color: var(--primary-100); }
.header__cta { padding: 15px 26px; min-height: 44px; }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  color: var(--text-on-dark);
}
.burger__bars { display: block; width: 22px; height: 12px; position: relative; }
.burger__bars::before, .burger__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 2px;
  background: currentColor;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) linear;
}
.burger__bars::before { top: 0; }
.burger__bars::after  { bottom: 0; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after  { transform: translateY(-5px) rotate(-45deg); }

/* Menu mobile — révélation cinématique par clip-path */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-header) - 1);
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: calc(var(--header-h) + 40px) var(--page-px) 40px;
  height: 100dvh;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 520ms var(--ease-out);
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu__list { display: flex; flex-direction: column; gap: var(--space-2); }
.mobile-menu__link {
  display: block;
  padding: var(--space-4) 0;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--border-on-dark);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: none; }
.mobile-menu__foot { margin-top: var(--space-8); display: grid; gap: var(--space-4); }
.mobile-menu__tel {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-300);
}

/* ── 5. HERO ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  /* Le header est sticky ET dans le flux : sans le soustraire, le scroll cue
     tombe sous la ligne de flottaison. 84px = hauteur du header au repos. */
  height: min(calc(100svh - 84px), 880px);
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-dark-2);
  color: var(--text-on-dark);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.08);
  will-change: transform;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(23,21,18,0.55), transparent 30%),
    linear-gradient(100deg,
      rgba(23,21,18,0.86) 0%,
      rgba(23,21,18,0.62) 38%,
      rgba(23,21,18,0.12) 62%,
      rgba(23,21,18,0.28) 100%);
}
.hero__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--page-px) clamp(110px, 14vh, 180px);
}
.hero__content { max-width: 66%; }

.hero__title {
  font-size: var(--fs-display);
  font-weight: 700;
  letter-spacing: var(--ls-display);
  line-height: var(--lh-display);
  text-transform: uppercase;
  color: var(--primary-100);
}
.hero__title .line { display: block; overflow: hidden; }
html.js .hero__title .line > span {
  display: block;
  transform: translateY(100%);
  transition: transform 800ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
html.js .is-loaded .hero__title .line > span { transform: translateY(0); }
/* Le point final : micro-signature terracotta */
.hero__title .dot { color: var(--accent-400); }
/* Le mockup tient en deux lignes : on l'impose là où la place existe. */
@media (min-width: 1025px) {
  .hero__title .line > span { white-space: nowrap; }
}

html.js .hero__sub, html.js .hero__cta-row, html.js .hero__cue { opacity: 0; }
.hero__sub {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: rgba(250, 247, 242, 0.82);
  max-width: 44ch;
  margin-top: var(--space-6);
  transform: translateY(16px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: 480ms;
}
.hero__cta-row {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  transform: translateY(16px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: 640ms;
}
html.js .is-loaded .hero__sub,
html.js .is-loaded .hero__cta-row { opacity: 1; transform: none; }

/* CTA magnétique */
.magnetic { transition: transform var(--dur-base) var(--ease-out); }

.hero__cue {
  position: absolute;
  left: 50%;
  /* La bande de preuve remonte de -64px sur le hero : le cue doit passer au-dessus. */
  bottom: 92px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--fs-cue);
  font-weight: 600;
  letter-spacing: var(--ls-cue);
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.72);
  transition: color var(--dur-fast) var(--ease-out);
  transition: opacity 700ms var(--ease-out) 820ms, color var(--dur-fast) var(--ease-out);
}
html.js .is-loaded .hero__cue { opacity: 1; }
.hero__cue:hover { color: var(--primary-100); }
.hero__cue svg { animation: cue 2.4s var(--ease-inout) infinite; }
@keyframes cue {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ── 6. BANDE DE PREUVE ─────────────────────────────────────────────────── */
.proof { position: relative; z-index: 2; }
.proof__band {
  max-width: var(--container);
  margin: -64px auto 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-8) clamp(24px, 3.5vw, 48px) var(--space-8);
  position: relative;
  isolation: isolate;
}
.proof__band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: var(--grain-opacity-dark);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: var(--space-8);
}
.proof__cell { padding-inline: clamp(12px, 2vw, 28px); }
.proof__cell + .proof__cell { border-left: 1px solid var(--border-on-dark); }
.proof__cell:first-child { padding-left: 0; }
.proof__num {
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--primary-100);
  display: block;
  white-space: nowrap;   /* « 41 800 m² » ne doit jamais se casser en deux lignes */
}
.proof__label {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--text-on-dark-dim);
}

/* ── 7. SERVICES ────────────────────────────────────────────────────────── */
.services__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.services__figure {
  grid-column: 1;
  grid-row: 1 / span 2;
  position: relative;
  background: var(--bg-raised);
  padding: 4px;                 /* la règle du cadre : l'image est posée sur un échantillon */
  align-self: stretch;
}
.services__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}
.services__figcaption {
  position: absolute;
  left: 4px; right: 4px; bottom: 4px;
  padding: var(--space-5);
  background: linear-gradient(to top, rgba(23,21,18,0.82), rgba(23,21,18,0));
  color: var(--primary-100);
  font-size: var(--fs-caption);
  line-height: 1.5;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  padding: 32px 28px 28px;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.card__rule {
  position: absolute;
  top: 0; left: 0;
  height: var(--rule-accent);
  width: var(--rule-width);
  background: var(--accent-500);
  transition: width 420ms var(--ease-line);
}
.card:hover, .card:focus-within {
  background: var(--primary-50);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.card:hover .card__rule, .card:focus-within .card__rule { width: 100%; }

.card__num {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}
.card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: var(--ls-h3);
  line-height: var(--lh-h3);
  margin-top: var(--space-3);
}
.card__desc {
  font-size: var(--fs-body-sm);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: var(--space-3);
  flex: 1;
}
.card__link { margin-top: var(--space-5); align-self: flex-start; }
/* Toute la card est cliquable, sans casser la sémantique du lien */
.card__link::before { content: ""; position: absolute; inset: 0; }

.card--cta {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: var(--primary-100);
  justify-content: space-between;
}
.card--cta:hover {
  background: var(--accent-600);
  border-color: var(--accent-600);
  box-shadow: var(--shadow-cta);
}
.card--cta .card__rule { background: var(--primary-100); }
.card--cta .card__title { color: var(--primary-100); }
.card--cta .card__desc { color: rgba(250, 247, 242, 0.78); }
.card--cta .link-ghost { color: var(--primary-100); }
.card--cta .link-ghost::after { background: var(--primary-100); }

/* ── 8. AVANT / APRÈS ───────────────────────────────────────────────────── */
.ba__layout {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.ba__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 520px;
  overflow: hidden;
  background: var(--bg-raised);
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after {
  clip-path: inset(0 0 0 var(--split, 50%));
  transition: clip-path var(--ba-anim, 0ms) var(--ease-out);
}
.ba__tag {
  position: absolute;
  top: var(--space-5);
  z-index: 3;
  padding: 8px 12px;
  background: rgba(23, 21, 18, 0.7);
  color: var(--primary-100);
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}
.ba__tag--before { left: var(--space-5); }
.ba__tag--after  { right: var(--space-5); }

.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--split, 50%);
  z-index: 4;
  width: 44px;
  margin-left: -22px;
  display: grid;
  place-items: center;
  cursor: ew-resize;
  background: none;
}
.ba__handle::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 21px;
  width: 2px;
  background: var(--primary-100);
  mix-blend-mode: difference;
}
.ba__grip {
  position: relative;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: var(--accent-500);
  color: var(--primary-100);
  transition: background var(--dur-fast) var(--ease-out);
}
.ba__handle:hover .ba__grip { background: var(--accent-600); }
.ba__handle:focus-visible { outline: 2px solid var(--accent-300); outline-offset: 4px; }

.ba__meta {
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-hair);
}
.ba__meta div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ba__meta dt { color: var(--text-tertiary); }
.ba__meta dd { color: var(--text-primary); font-weight: 500; }

/* ── 9. MÉTHODE & GARANTIES ─────────────────────────────────────────────── */
.method { padding-block: clamp(80px, 8vw, 128px); }
.method__list { margin-top: var(--space-10); border-top: 1px solid var(--border-hair); }
.method__item {
  display: grid;
  grid-template-columns: 1fr 3fr 2fr;
  gap: var(--space-6);
  align-items: baseline;
  padding: 28px var(--space-4);
  margin-inline: calc(var(--space-4) * -1);
  border-bottom: 1px solid var(--border-hair);
  transition: background var(--dur-fast) var(--ease-out);
}
.method__item:hover { background: var(--bg-raised); }
.method__idx {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}
.method__idx::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent-500);
  transition: width var(--dur-base) var(--ease-out), height var(--dur-base) var(--ease-out);
}
.method__item:hover .method__idx::after { width: 10px; height: 10px; }
.method__title { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.005em; line-height: 1.3; }
.method__desc { font-size: var(--fs-body-sm); color: var(--text-secondary); }

/* ── 10. PREUVE SOCIALE ─────────────────────────────────────────────────── */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  margin-top: var(--space-10);
}
.review {
  position: relative;
  background: var(--bg-page);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.review__rule {
  position: absolute;
  top: 0; left: 0;
  height: var(--rule-accent);
  width: var(--rule-width);
  background: var(--accent-500);
}
.review__quote { font-size: var(--fs-body); line-height: 1.6; max-width: 34ch; margin-top: var(--space-3); }
.review__sign {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-hair);
  font-size: var(--fs-caption);
  color: var(--text-tertiary);
}
.review__sign strong { display: block; color: var(--text-primary); font-weight: 600; }

.trustbar {
  margin-top: var(--space-10);
  padding-block: var(--space-6);
  border-top: 1px solid var(--border-hair);
  border-bottom: 1px solid var(--border-hair);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.trustbar li { display: flex; align-items: center; gap: var(--space-5); }
.trustbar li:not(:last-child)::after {
  content: "";
  width: 5px; height: 5px;
  background: var(--accent-500);
  flex: none;
}

/* ── 11. CTA FINAL ──────────────────────────────────────────────────────── */
.final {
  position: relative;
  padding-block: clamp(112px, 12vw, 192px);
  background: var(--bg-dark);
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.final__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.12;
  mix-blend-mode: luminosity;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: var(--grain-opacity-dark);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.final .rule { max-width: 200px; margin-inline: auto; }
.final .h2 { color: var(--primary-100); }
.final__text {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: rgba(250, 247, 242, 0.72);
  margin: var(--space-6) auto 0;
  max-width: 56ch;
}
.final__actions {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}
.final__note {
  margin-top: var(--space-6);
  font-size: var(--fs-caption);
  color: rgba(250, 247, 242, 0.5);
}

/* ── 12. FOOTER ─────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark-2);
  color: var(--text-on-dark);
  padding-block: var(--space-11) var(--space-7);
}
.footer__grid {
  display: grid;
  grid-template-columns: 3.2fr 1.9fr 1.4fr 1.9fr 3.2fr;
  gap: clamp(28px, 3vw, 56px);
}
.footer__baseline {
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--accent-300);
}
.footer__nap {
  margin-top: var(--space-6);
  font-style: normal;
  font-size: var(--fs-body-sm);
  line-height: 1.8;
  color: var(--text-on-dark-dim);
}
.footer__nap a { transition: color var(--dur-fast) var(--ease-out); }
.footer__nap a:hover { color: var(--accent-300); }

.footer__title {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--primary-100);
  margin-bottom: var(--space-5);
}
.footer__links { display: grid; gap: var(--space-3); }
.footer__links a {
  position: relative;
  display: inline-block;
  padding-block: 3px;
  font-size: var(--fs-body-sm);
  color: var(--text-on-dark-dim);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--accent-300);
  transition: width 420ms var(--ease-line);
}
.footer__links a:hover { color: var(--accent-300); }
.footer__links a:hover::after { width: 100%; }

.footer__form { display: grid; gap: var(--space-3); margin-top: var(--space-2); }
.footer__form .field-row { display: grid; grid-template-columns: 1fr 110px; gap: var(--space-3); }
.footer__hours {
  margin-top: var(--space-5);
  font-size: var(--fs-caption);
  color: rgba(250, 247, 242, 0.5);
}
.footer__sep { margin: var(--space-9) 0 var(--space-6); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--fs-caption);
  color: rgba(250, 247, 242, 0.45);
}
.footer__bottom nav { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--accent-300); }
.footer__credit { color: rgba(250, 247, 242, 0.6); }

/* Champs sur fond sombre */
.input {
  width: 100%;
  min-height: 48px;
  padding: 14px 16px;
  background: rgba(250, 247, 242, 0.06);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  color: var(--primary-100);
  font-size: 16px;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.input::placeholder { color: rgba(250, 247, 242, 0.4); }
.input:focus {
  border-color: var(--accent-500);
  background: rgba(250, 247, 242, 0.1);
  outline: none;
  box-shadow: 0 0 0 3px rgba(193, 73, 44, 0.24);
}

/* Champs sur fond clair (drawer) */
.input--light {
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  padding: 15px 16px;
}
.input--light::placeholder { color: var(--text-tertiary); }
.input--light:focus {
  background: var(--primary-50);
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(193, 73, 44, 0.16);
}

/* ── 13. STICKY CTA MOBILE ──────────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky-cta);
  display: none;
  gap: 1px;
  background: rgba(42, 39, 36, 0.96);
  backdrop-filter: blur(8px);
  padding-bottom: env(safe-area-inset-bottom, 0);
  transform: translateY(100%);
  transition: transform 320ms var(--ease-out);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { flex: 1; min-height: 64px; border: none; border-radius: 0; }
.sticky-cta .btn--dark { background: transparent; border-right: 1px solid var(--border-on-dark); }

/* ── 14. DRAWER DEVIS (multistep) ───────────────────────────────────────── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-drawer) - 1);
  background: rgba(23, 21, 18, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out), visibility var(--dur-base);
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: var(--z-drawer);
  width: min(520px, 100vw);
  background: var(--bg-page);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 480ms var(--ease-out), visibility 480ms;
  visibility: hidden;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }

.drawer__head {
  position: sticky;
  top: 0;
  background: var(--bg-page);
  padding: var(--space-6) var(--space-6) var(--space-5);
  border-bottom: 1px solid var(--border-hair);
  z-index: 2;
}
.drawer__head-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.drawer__title { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.015em; }
.drawer__close {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out);
}
.drawer__close:hover { color: var(--text-primary); }
.drawer__step-label {
  margin-top: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: var(--text-tertiary);
}
/* Barre de progression = l'arête qui se remplit */
.drawer__progress {
  position: relative;
  height: var(--rule-accent);
  background: var(--border-hair);
  margin-top: var(--space-5);
}
.drawer__progress::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress, 33%);
  background: var(--accent-500);
  transition: width 420ms var(--ease-line);
}

.drawer__body { padding: var(--space-6); flex: 1; }
.drawer__step { display: none; }
.drawer__step.is-active { display: block; }
.drawer__legend {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  margin-bottom: var(--space-5);
}
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.choice {
  min-height: 56px;
  padding: 14px 16px;
  text-align: left;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.choice:hover { border-color: var(--accent-500); background: var(--primary-50); }
.choice[aria-pressed="true"] {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: var(--primary-100);
}
.field { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); }
.field label {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-secondary);
}
.field-error { font-size: var(--fs-caption); color: var(--text-accent); min-height: 1.2em; }
.input--light[aria-invalid="true"] { border-color: var(--accent-600); }

.drawer__foot {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  background: var(--bg-page);
  border-top: 1px solid var(--border-hair);
}
.drawer__foot .btn { flex: 1; }
.drawer__done { text-align: center; padding: var(--space-9) var(--space-4); }
.drawer__done h3 { font-size: var(--fs-h3); font-weight: 600; margin-top: var(--space-5); }
.drawer__done p { color: var(--text-secondary); margin-top: var(--space-4); }

/* ── 15. RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav { gap: var(--space-5); }
  .nav__link { font-size: 12px; letter-spacing: 0.06em; }
}

@media (max-width: 1024px) {
  .nav, .header__search { display: none; }
  .burger { display: grid; }
  .header__inner { justify-content: space-between; }
  .header__actions { margin-left: auto; }

  .hero__content { max-width: 100%; }
  .hero__media::after {
    background:
      linear-gradient(to top, rgba(23,21,18,0.78), rgba(23,21,18,0.30) 55%, rgba(23,21,18,0.55) 100%);
  }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .services__figure { grid-column: 1 / -1; grid-row: auto; }
  .services__figure img { aspect-ratio: 16 / 9; }

  .ba__layout { grid-template-columns: 1fr; min-width: 0; }
  /* min-height + aspect-ratio 16/10 imposait une LARGEUR de 608px : on laisse
     le ratio piloter seul, sinon le cadre force la colonne à déborder. */
  .ba__frame { min-height: 0; min-width: 0; }

  .reviews__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; --gutter: 20px; }
  .header.is-scrolled { --header-h: 64px; }

  .wordmark { font-size: 18px; }
  .header__cta { display: none; }        /* le devis vit dans la barre fixe du bas */

  .hero { min-height: 560px; }
  .hero__inner { padding-bottom: 120px; }
  .hero__cue { display: none; }          /* la barre fixe occupe déjà le bas */
  .hero__cta-row .btn { width: 100%; }

  .proof__band { margin-top: -40px; padding: var(--space-6) var(--space-5); }
  .proof__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6) 0; margin-top: var(--space-6); }
  .proof__cell:nth-child(odd)  { padding-left: 0; border-left: none; }
  .proof__cell:nth-child(3), .proof__cell:nth-child(4) {
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-on-dark);
  }

  .services__head { grid-template-columns: 1fr; align-items: start; }
  .services__grid { grid-template-columns: 1fr; }

  .method__item { grid-template-columns: 1fr; gap: var(--space-3); }

  .trustbar { justify-content: flex-start; }
  .trustbar li:not(:last-child)::after { display: none; }
  .trustbar li { width: 100%; }

  .footer { padding-bottom: 96px; }      /* dégagement pour la barre fixe */
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .final__actions .btn { width: 100%; }

  .sticky-cta { display: flex; }
  .drawer { width: 100vw; }
  .choice-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════════
   SECTION 5 · LE NUANCIER MURAL
   Dépend du bloc :root de styles-current.md §7. Aucun hex en dur :
   les 6 valeurs de teinte sont des DATA, elles vivent dans le HTML.
   ═══════════════════════════════════════════════════════════════════ */

.nuancier {
  /* — État par défaut AVANT tout JS : PN-01 Chaux nature — */
  --tint: #F2EDE5;
  --tint-alpha: 0.90;

  /* — Géométrie locale — */
  --nuancier-overlap: 80px;
  --swatch-size: 88px;

  position: relative;
  z-index: 2;                    /* le panneau doit passer AU-DESSUS de la section suivante */
  padding-block: var(--section-py);
  padding-inline: var(--page-px);
  background-color: var(--bg-raised);
  background-image: var(--crepi);
  background-size: var(--crepi-size);
}

.nuancier__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: start;
  max-width: var(--container-wide);
  margin-inline: auto;
}

/* ─── COLONNES 1–8 · LE MUR ──────────────────────────────────────── */

.nuancier__media { grid-column: 1 / 9; }

/* Règle du cadre : la photo est « posée sur un échantillon » (4px). */
.nuancier__frame {
  margin: 0;
  padding: 4px;
  background: var(--bg-page);
  border: var(--border-1);
}

.nuancier__wall {
  position: relative;
  isolation: isolate;            /* enferme le multiply : il ne traverse pas la page */
  aspect-ratio: 4 / 3;
  min-height: 560px;
  overflow: hidden;
  background-color: var(--bg-raised);
  background-image: var(--crepi);
  background-size: var(--crepi-size);
}

.nuancier__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.nuancier[data-img="ready"] .nuancier__img { opacity: 1; }

/* LE CŒUR : multiply → la teinte traverse le grain du crépi
   et les ombres réelles de la photo au lieu de les masquer. */
.nuancier__tint {
  position: absolute;
  inset: 0;
  background-color: var(--tint);
  mix-blend-mode: multiply;
  opacity: var(--tint-alpha);
  pointer-events: none;
  transition: background-color var(--dur-morph) var(--ease-inout),
              opacity var(--dur-morph) var(--ease-inout);
}

/* Texture du crépi maintenue PAR-DESSUS la teinte : le mur reste un mur. */
.nuancier__wall::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--crepi);
  background-size: var(--crepi-size);
  mix-blend-mode: multiply;
  opacity: 0.55;
  pointer-events: none;
}

/* Fallback 1 — mix-blend-mode absent : on rabat sur un voile translucide.
   Jamais d'aplat opaque : la photo reste lisible. */
.nuancier[data-blend="off"] .nuancier__tint {
  mix-blend-mode: normal;
  opacity: calc(var(--tint-alpha) * 0.55);
}

/* Fallback 2 — image cassée/absente : le mur devient un échantillon à plat,
   texturé par le crépi. Le composant reste utile et lisible. */
.nuancier[data-img="error"] .nuancier__img { display: none; }
.nuancier[data-img="error"] .nuancier__tint {
  mix-blend-mode: normal;
  opacity: 1;
}

.nuancier__caption {
  margin-top: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 54ch;
}
.nuancier__caption-error { display: none; }
.nuancier[data-img="error"] .nuancier__caption-default { display: none; }
.nuancier[data-img="error"] .nuancier__caption-error   { display: inline; }

/* ─── COLONNES 9–12 · LE PANNEAU ─────────────────────────────────── */

.nuancier__panel {
  grid-column: 9 / 13;
  padding: var(--space-7) var(--space-6) var(--space-6);
  background: var(--bg-page);
  border: var(--border-1);
}

/* Chevauchement autorisé n°2 (layout-strategy §5) : le panneau déborde
   de 80px sur la section suivante. Desktop uniquement.
   ⚠ La section qui suit ne doit pas déclarer de z-index > 2. */
@media (min-width: 1024px) {
  .nuancier__panel {
    align-self: end;
    position: relative;
    z-index: 2;
    margin-bottom: calc(-1 * (var(--section-py) + var(--nuancier-overlap)));
    box-shadow: var(--shadow-card);
  }
}

/* Motif signature — l'arête, au-dessus de l'eyebrow */
.nuancier__rule { display: block; width: 100%; margin-bottom: var(--space-5); }

.nuancier__eyebrow {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.nuancier__title {
  margin: 0 0 var(--space-7);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: var(--ls-h3);
  line-height: var(--lh-h3);
  color: var(--text-primary);
  text-wrap: balance;
}

.nuancier__group-label {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ─── LES 6 PASTILLES ────────────────────────────────────────────── */

.nuancier__swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.swatch {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-2);
  padding: 0 0 var(--space-1);
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.swatch__chip {
  position: relative;
  display: block;
  aspect-ratio: 1;
  min-height: 44px;              /* cible tactile */
  background-color: var(--swatch-color);
  border: var(--border-2);
  border-radius: var(--radius-0);
  transition: box-shadow var(--dur-fast) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}

/* Motif signature — l'arête sous la pastille : 0 → 56px au survol → 100% à l'état actif */
.swatch__chip::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: calc(-1 * var(--rule-accent) - 1px);
  height: var(--rule-accent);
  width: 0;
  background: var(--accent-500);
  transition: width 420ms var(--ease-line);
}

.swatch:hover .swatch__chip { transform: translateY(-2px); }
.swatch:hover .swatch__chip::after { width: var(--rule-width); }

.swatch[aria-pressed="true"] .swatch__chip {
  box-shadow: 0 0 0 2px var(--accent-500);   /* cadre terracotta, sans décalage de layout */
}
.swatch[aria-pressed="true"] .swatch__chip::after { width: 100%; }

.swatch:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 1px;
}

.swatch__name {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-primary);
}
/* --text-tertiary serait sous le seuil AA à cette taille → --text-secondary. */
.swatch__ref {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}

/* ─── LECTURE DE L'ÉTAT + RÉASSURANCE ────────────────────────────── */

.nuancier__readout {
  margin: var(--space-6) 0 0;
  padding-top: var(--space-4);
  border-top: var(--border-1);
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.nuancier__reassure {
  margin: var(--space-3) 0 var(--space-5);
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 40ch;
  text-wrap: pretty;
}

.nuancier__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--fs-btn);
  font-weight: 600;
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-accent);
}
.nuancier__link-rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--rule-accent);
  background: var(--border-hair);
}
.nuancier__link-rule::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--rule-width);
  background: var(--accent-500);
  transition: width 420ms var(--ease-line);
}
.nuancier__link:hover .nuancier__link-rule::before,
.nuancier__link:focus-visible .nuancier__link-rule::before { width: 100%; }

.nuancier__arrow { transition: transform var(--dur-base) var(--ease-out); }
.nuancier__link:hover .nuancier__arrow { transform: translateX(4px); }

/* ─── MOBILE / TABLETTE ──────────────────────────────────────────── */

@media (max-width: 1023px) {
  .nuancier__media,
  .nuancier__panel { grid-column: 1 / -1; }

  .nuancier__panel {
    margin-top: var(--space-7);
    margin-bottom: 0;            /* pas de chevauchement en mobile */
    box-shadow: none;
  }

  .nuancier__wall { min-height: 0; }

  /* Rangée de pastilles scrollable, snap horizontal */
  .nuancier__swatches {
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--space-1);
    scrollbar-width: thin;
    padding-bottom: var(--space-3);
    /* la scroll-row saigne jusqu'aux bords du panneau pour signaler qu'elle défile */
    margin-inline: calc(-1 * var(--space-6));
    padding-inline: var(--space-6);
  }
  .swatch {
    flex: 0 0 108px;
    scroll-snap-align: start;
  }
  .swatch__chip { min-height: 88px; }
}

@media (max-width: 767px) {
  .nuancier { padding-inline: var(--page-px); }
  .nuancier__inner { gap: var(--space-5); }
  .swatch { flex: 0 0 96px; }
}

/* ─── ACCESSIBILITÉ MOTION ───────────────────────────────────────── */
/* :root passe déjà --dur-morph à 0.01ms ; on coupe ici ce qui reste. */
@media (prefers-reduced-motion: reduce) {
  .nuancier__swatches { scroll-behavior: auto; }
  .swatch:hover .swatch__chip { transform: none; }
  .swatch__chip::after,
  .nuancier__link-rule::before,
  .nuancier__arrow,
  .nuancier__tint,
  .nuancier__img { transition-duration: 0.01ms; }
}


/* ==========================================================================
   17. PAGES INTÉRIEURES
   Même système de tokens, même motif « arête », même philosophie de motion.
   Ce fichier est concaténé à styles.css par le build.
   ========================================================================== */

.mt-6 { margin-top: var(--space-6); }

/* ── MÉGA-MENU (header) ─────────────────────────────────────────────── */
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; }
.nav__caret { transition: transform var(--dur-base) var(--ease-out); }
.has-mega:hover .nav__caret,
.has-mega:focus-within .nav__caret { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(880px, calc(100vw - 48px));
  background: var(--bg-dark);
  border-top: 1px solid var(--border-on-dark);
  box-shadow: 0 30px 60px -24px rgba(23, 21, 18, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              visibility var(--dur-base);
  z-index: 5;
}
/* Pont invisible : sans lui, le curseur « tombe » entre le lien et le panneau. */
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega__inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: var(--space-7);
  padding: var(--space-7);
}
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px var(--space-5); }
.mega__link {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: 11px 12px 11px 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.mega__num {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: rgba(250, 247, 242, 0.4);
  font-variant-numeric: tabular-nums;
  transition: color var(--dur-fast) var(--ease-out);
}
.mega__label {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(250, 247, 242, 0.82);
  transition: color var(--dur-fast) var(--ease-out);
}
.mega__link:hover { border-bottom-color: var(--accent-500); }
.mega__link:hover .mega__label { color: var(--primary-100); }
.mega__link:hover .mega__num { color: var(--accent-300); }

.mega__aside { border-left: 1px solid var(--border-on-dark); padding-left: var(--space-6); }
.mega__aside-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-100);
  margin: var(--space-5) 0 var(--space-3);
}
.mega__aside-text {
  font-size: var(--fs-body-sm);
  line-height: 1.6;
  color: var(--text-on-dark-dim);
  margin-bottom: var(--space-5);
}

.header__tel {
  font-family: var(--font-display);
  font-size: var(--fs-nav);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(250, 247, 242, 0.72);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out);
}
.header__tel:hover { color: var(--accent-300); }

/* ── HERO DE PAGE INTÉRIEURE ────────────────────────────────────────── */
.phero {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding-block: clamp(48px, 6vw, 72px) clamp(80px, 9vw, 128px);
  overflow: hidden;
  isolation: isolate;
}
.phero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: var(--grain-opacity-dark);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.phero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Assez présente pour qu'on lise le chantier, assez discrète pour que le
     H1 reste au-dessus de 7:1 de contraste. */
  opacity: 0.62;
}
.phero--image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(23,21,18,0.93) 0%, rgba(23,21,18,0.80) 42%, rgba(23,21,18,0.30) 100%);
}

.phero__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: end;
}
.phero--split .phero__row { grid-template-columns: 1.6fr 1fr; }
.phero__content { max-width: 46ch; }

/* Les trois réponses, à la place du vide */
.phero__aside {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border-on-dark);
}
.phero__fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-on-dark);
}
.phero__fact-k {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-on-dark-dim);
}
.phero__fact-v {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent-300);
  text-align: right;
}
.phero__title {
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  font-weight: 700;
  letter-spacing: var(--ls-h2);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--primary-100);
  margin-top: var(--space-5);
}
.phero__lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: rgba(250, 247, 242, 0.78);
  margin-top: var(--space-5);
  max-width: 54ch;
}

/* Fil d’Ariane */
.crumbs { margin-bottom: var(--space-8); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.crumbs li {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: rgba(250, 247, 242, 0.5);
}
.crumbs li + li::before { content: "/"; margin-right: var(--space-2); color: rgba(250, 247, 242, 0.3); }
.crumbs a { transition: color var(--dur-fast) var(--ease-out); }
.crumbs a:hover { color: var(--accent-300); }
.crumbs li[aria-current] { color: rgba(250, 247, 242, 0.8); }

/* ── LAYOUT ÉDITORIAL : contenu + colonne latérale ──────────────────── */
.prose-layout {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}
.prose { max-width: 66ch; }
.prose__lead-p {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--text-primary);
  margin-bottom: var(--space-5);
}
.prose__p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
}
.prose__p strong { color: var(--text-primary); font-weight: 600; }
.prose__p a { color: var(--text-accent); text-decoration: underline; text-underline-offset: 3px; }
.prose__h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-5);
}
.prose__rule { margin: var(--space-9) 0 var(--space-6); }

/* Étapes numérotées */
.steps { display: grid; gap: 0; margin-top: var(--space-2); }
.steps__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--border-hair);
}
.steps__item:last-child { border-bottom: 1px solid var(--border-hair); }
.steps__num {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}
.steps__title { font-size: var(--fs-h4); font-weight: 600; line-height: 1.3; }
.steps__desc {
  font-size: var(--fs-body-sm);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: var(--space-2);
}

/* Liste de définitions (guides) */
.deflist { display: grid; gap: 0; }
.deflist__item {
  padding: var(--space-5) 0;
  border-top: 1px solid var(--border-hair);
}
.deflist__item:last-child { border-bottom: 1px solid var(--border-hair); }
.deflist__t {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.3;
}
.deflist__t::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent-500);
  flex: none;
}
.deflist__d {
  font-size: var(--fs-body-sm);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: var(--space-2);
  padding-left: calc(6px + var(--space-3));
}

/* Colonne latérale — la carte de conversion */
.sidecard {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  background: var(--bg-raised);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  padding: var(--space-7) var(--space-6) var(--space-6);
}
.sidecard__rule {
  position: absolute;
  top: 0; left: 0;
  height: var(--rule-accent);
  width: var(--rule-width);
  background: var(--accent-500);
}
.sidecard__title {
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: var(--space-5);
}
.sidecard__facts { display: grid; gap: 0; margin-bottom: var(--space-6); }
.sidecard__facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-hair);
}
.sidecard__facts dt {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.sidecard__facts dd {
  font-size: var(--fs-body-sm);
  font-weight: 500;
  text-align: right;
}
.sidecard__links { display: grid; gap: 0; margin-bottom: var(--space-6); }
.sidecard__links li { border-bottom: 1px solid var(--border-hair); }
.sidecard__links a {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--dur-fast) var(--ease-out), padding-left var(--dur-base) var(--ease-out);
}
.sidecard__links a:hover { color: var(--text-accent); padding-left: 6px; }
.sidecard__tel {
  display: block;
  margin-top: var(--space-4);
  text-align: center;
  font-size: var(--fs-body-sm);
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out);
}
.sidecard__tel:hover { color: var(--text-accent); }
.sidecard__note {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-hair);
  font-size: var(--fs-caption);
  line-height: 1.55;
  color: var(--text-tertiary);
}

/* ── HUB SERVICES ───────────────────────────────────────────────────── */
.services__grid--hub {
  grid-template-columns: repeat(3, 1fr);
}
.services__grid--hub .card { min-height: 240px; }

/* ── ZONES ──────────────────────────────────────────────────────────── */
.zones__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}
.zones__grid--compact { grid-template-columns: repeat(4, 1fr); }
.zonecard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-5) var(--space-5);
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.zonecard__rule {
  position: absolute;
  top: 0; left: 0;
  height: var(--rule-accent);
  width: var(--rule-width);
  background: var(--accent-500);
  transition: width 420ms var(--ease-line);
}
.zonecard:hover {
  background: var(--primary-50);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.zonecard:hover .zonecard__rule { width: 100%; }
.zonecard__title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-3);
}
.zonecard__lead {
  font-size: var(--fs-body-sm);
  line-height: 1.6;
  color: var(--text-secondary);
  flex: 1;
}
.zonecard__more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-size: var(--fs-btn);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-accent);
}
.zonecard:hover .arrow { transform: translateX(4px); }
.zonecard .arrow { transition: transform var(--dur-base) var(--ease-out); }

.zones__note {
  margin-top: var(--space-9);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-hair);
  font-size: var(--fs-body);
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

/* ── GUIDES ─────────────────────────────────────────────────────────── */
.guides__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.guides__grid--compact { grid-template-columns: repeat(3, 1fr); }

.guidecard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.guidecard:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.guidecard__media { display: block; overflow: hidden; background: var(--bg-raised); }
.guidecard__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.guidecard:hover .guidecard__media img { transform: scale(1.04); }
.guidecard__body { position: relative; padding: var(--space-6) var(--space-6) var(--space-6); flex: 1; display: flex; flex-direction: column; }
.guidecard__rule {
  position: absolute;
  top: 0; left: 0;
  height: var(--rule-accent);
  width: var(--rule-width);
  background: var(--accent-500);
  transition: width 420ms var(--ease-line);
}
.guidecard:hover .guidecard__rule { width: 100%; }
.guidecard__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.guidecard__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: var(--ls-h3);
  line-height: var(--lh-h3);
  margin: var(--space-3) 0;
}
.guidecard__title a::before { content: ""; position: absolute; inset: 0; }
.guidecard__excerpt {
  font-size: var(--fs-body-sm);
  line-height: 1.6;
  color: var(--text-secondary);
  flex: 1;
}
.guidecard .link-ghost { margin-top: var(--space-5); align-self: flex-start; }

.guide__cta {
  position: relative;
  margin-top: var(--space-9);
  padding: var(--space-7) var(--space-6);
  background: var(--bg-raised);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
}
.guide__cta-rule {
  position: absolute;
  top: 0; left: 0;
  height: var(--rule-accent);
  width: var(--rule-width);
  background: var(--accent-500);
}
.guide__cta p {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  margin-bottom: var(--space-5);
  max-width: 52ch;
}

/* ── RÉALISATIONS ───────────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  margin-top: var(--space-10);
}
.work {
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.work:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.work__media { overflow: hidden; background: var(--bg-raised); }
.work__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.work:hover .work__media img { transform: scale(1.04); }
.work__body { position: relative; padding: var(--space-6); flex: 1; display: flex; flex-direction: column; }
.work__rule {
  position: absolute;
  top: 0; left: 0;
  height: var(--rule-accent);
  width: var(--rule-width);
  background: var(--accent-500);
  transition: width 420ms var(--ease-line);
}
.work:hover .work__rule { width: 100%; }
.work__title { font-size: var(--fs-h3); font-weight: 600; letter-spacing: var(--ls-h3); line-height: var(--lh-h3); }
.work__desc {
  font-size: var(--fs-body-sm);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: var(--space-3);
  flex: 1;
}
.work__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-hair);
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.work__meta li { display: flex; align-items: center; gap: var(--space-3); }
.work__meta li:not(:last-child)::after {
  content: "";
  width: 4px; height: 4px;
  background: var(--accent-500);
}

/* ── À PROPOS ───────────────────────────────────────────────────────── */
.about__split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}
.about__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}
.about__figure { background: var(--bg-page); padding: 4px; border: 1px solid var(--border-hair); }
.about__figure img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-8);
  margin-top: var(--space-7);
}
.about__stats > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-hair);
}
.about__stats dt {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.about__stats dd {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ── CONTACT ────────────────────────────────────────────────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.contact__block {
  background: var(--bg-raised);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.contact__block .rule { margin-bottom: 0; }
.contact__big {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: color var(--dur-fast) var(--ease-out);
}
.contact__big--sm { font-size: clamp(1rem, 1.4vw, 1.25rem); word-break: break-word; }
.contact__big:hover { color: var(--text-accent); }
.contact__addr {
  margin-top: var(--space-4);
  font-style: normal;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}
.contact__note {
  margin-top: var(--space-3);
  font-size: var(--fs-caption);
  color: var(--text-tertiary);
}

.contact__cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-10);
  padding-top: var(--space-9);
  border-top: 1px solid var(--border-hair);
}

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--border-hair); }
.faq__item { border-bottom: 1px solid var(--border-hair); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-6) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  transition: color var(--dur-fast) var(--ease-out);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--text-accent); }
.faq__q:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

/* L’icône est une arête qui pivote : un « + » qui devient un « − » */
.faq__icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--accent-500);
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.faq__icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq__icon::after  { left: 7px; top: 0; width: 2px; height: 16px; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); opacity: 0; }

.faq__a { padding-bottom: var(--space-6); max-width: 62ch; }
.faq__a p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-secondary);
}

/* ── RESPONSIVE — pages intérieures ─────────────────────────────────── */
@media (max-width: 1180px) {
  .zones__grid, .zones__grid--compact { grid-template-columns: repeat(2, 1fr); }
  .services__grid--hub { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .guides__grid--compact { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .mega { display: none; }          /* le menu mobile prend le relais */
  .header__tel { display: none; }

  .prose-layout { grid-template-columns: 1fr; }
  .prose { max-width: 100%; }
  .sidecard { position: static; }

  .about__split, .about__grid { grid-template-columns: 1fr; }
  .about__figure { max-width: 420px; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__cta { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .phero__title { font-size: clamp(2rem, 8vw, 2.75rem); }
  .phero--split .phero__row { grid-template-columns: 1fr; }
  .crumbs { margin-bottom: var(--space-6); }

  .zones__grid, .zones__grid--compact,
  .services__grid--hub,
  .guides__grid, .guides__grid--compact,
  .gallery { grid-template-columns: 1fr; }

  .about__stats { grid-template-columns: 1fr; gap: 0; }
  .steps__item { grid-template-columns: 40px 1fr; gap: var(--space-3); }
  .contact__cta .btn { width: 100%; }
  .guide__cta .btn { width: 100%; }

  .footer__grid { grid-template-columns: 1fr; }
}
