/* ============================================================
   Les Couvreurs du 83 — refonte v3 · charte « Pierre & Terracotta »
   Dominante pierre chaude claire · sections charbon · UN accent terracotta.
   Display : Bricolage Grotesque · Corps : Inter.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Neutres pierre chaude (dominante claire) */
  --stone-50:  oklch(0.968 0.008 84);   /* fond de page */
  --stone-100: oklch(0.941 0.011 82);   /* surface creuse */
  --stone-200: oklch(0.878 0.013 80);   /* bordures */
  --stone-300: oklch(0.800 0.015 78);
  --stone-400: oklch(0.640 0.016 70);
  --stone-500: oklch(0.540 0.016 62);   /* texte atténué */
  --stone-700: oklch(0.372 0.014 55);   /* texte courant */

  /* Charbon chaud (texte fort, sections sombres) */
  --ink-950: oklch(0.185 0.010 58);
  --ink-900: oklch(0.225 0.012 58);
  --ink-800: oklch(0.268 0.013 58);
  --ink-700: oklch(0.320 0.013 56);

  /* TERRACOTTA (accent unique — tuile provençale) */
  --terra-300: oklch(0.780 0.085 46);
  --terra-400: oklch(0.700 0.115 43);
  --terra-500: oklch(0.615 0.130 40);   /* accent */
  --terra-600: oklch(0.545 0.122 38);
  --terra-700: oklch(0.465 0.105 36);
  --terra-050: oklch(0.955 0.022 50);

  --white: #fff;
  --success: oklch(0.55 0.11 150);
  --danger:  oklch(0.55 0.18 28);

  /* Alias sémantiques */
  --surface-page:   var(--stone-50);
  --surface-card:   oklch(0.985 0.006 85);
  --surface-sunken: var(--stone-100);
  --surface-dark:   var(--ink-900);
  --surface-dark-2: var(--ink-800);
  --text-strong: var(--ink-900);
  --text-body:   var(--stone-700);
  --text-muted:  var(--stone-500);
  --text-on-dark: oklch(0.955 0.008 84);
  --text-on-dark-muted: oklch(0.780 0.012 80);
  --accent:       var(--terra-500);
  --accent-hover: var(--terra-600);
  --accent-soft:  var(--terra-050);
  --border:        var(--stone-200);
  --border-strong: var(--stone-300);
  --border-on-dark: oklch(1 0 0 / 0.14);
  --ring: oklch(0.62 0.13 40 / 0.5);

  --hero-scrim: linear-gradient(180deg, oklch(0.16 0.012 58 / 0.55) 0%, oklch(0.16 0.012 58 / 0.34) 40%, oklch(0.14 0.012 58 / 0.88) 100%);
  --photo-scrim: linear-gradient(180deg, oklch(0.16 0.01 58 / 0) 30%, oklch(0.14 0.01 58 / 0.82) 100%);

  /* Typo */
  --font-display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --fs-display: clamp(2.5rem, 1.2rem + 5.6vw, 5.6rem);
  --fs-h2:      clamp(1.75rem, 1.2rem + 2.3vw, 2.9rem);
  --fs-h3:      clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem);
  --fs-lead:    clamp(1.08rem, 1rem + 0.45vw, 1.3rem);
  --fs-body:    1.0325rem;
  --fs-sm:      0.92rem;
  --fs-overline: 0.78rem;
  --lh-display: 0.98;
  --lh-heading: 1.08;
  --lh-body: 1.62;
  --ls-display: -0.028em;
  --ls-overline: 0.15em;

  /* Rythme */
  --section-y: clamp(60px, 8.5vw, 120px);
  --gutter: clamp(20px, 5vw, 60px);
  --content-max: 1240px;
  --content-narrow: 780px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px oklch(0.2 0.01 58 / .06), 0 2px 8px oklch(0.2 0.01 58 / .05);
  --shadow-md: 0 2px 6px oklch(0.2 0.01 58 / .07), 0 10px 28px oklch(0.2 0.01 58 / .10);
  --shadow-lg: 0 4px 12px oklch(0.2 0.01 58 / .10), 0 24px 56px oklch(0.2 0.01 58 / .16);
  --dur: .28s;
  --ease: cubic-bezier(.33,1,.4,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--surface-page);
  max-width: 100vw;
  overflow-x: hidden;
  overflow-x: clip;
}
/* height:auto neutralise l'attribut height= (anti-CLS) qui sinon fige la hauteur en px */
img { max-width: 100%; display: block; height: auto; }
a { color: var(--terra-600); text-decoration: none; }
a:hover { color: var(--terra-700); }
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--text-strong); line-height: var(--lh-heading); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--terra-500); color: #fff; }

.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: var(--content-narrow); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 650; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:active { transform: scale(.975); }
.btn svg { width: 1.12em; height: 1.12em; flex: none; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 6px 20px oklch(0.55 0.13 40 / .35); }
.btn--accent:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); }
.btn--dark { background: var(--ink-900); color: var(--text-on-dark); }
.btn--dark:hover { background: var(--ink-800); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text-strong); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--ink-900); color: var(--text-strong); transform: translateY(-2px); }
.btn--inverse { background: oklch(1 0 0 / .12); color: #fff; border-color: oklch(1 0 0 / .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.btn--inverse:hover { background: oklch(1 0 0 / .22); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 17px 32px; font-size: 1.06rem; }
.btn--sm { padding: 10px 18px; font-size: .93rem; }

/* ---------- Header ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.hd__bar { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.hd__logo { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.hd__logo strong { font-family: var(--font-display); font-size: 1.22rem; font-weight: 750; letter-spacing: -0.015em; color: #fff; transition: color var(--dur); }
.hd__logo strong em { font-style: normal; color: var(--terra-300); transition: color var(--dur); }
.hd__logo small { font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: oklch(1 0 0 / .72); transition: color var(--dur); }
.hd__nav { display: flex; gap: 26px; margin-left: auto; min-width: 0; }
.hd__nav a { font-weight: 550; font-size: .97rem; color: oklch(1 0 0 / .88); }
.hd__nav a:hover { color: #fff; }
.hd__cta { display: flex; gap: 10px; align-items: center; }
.hd__burger { display: none; }
/* état scrollé / pages intérieures */
.hd[data-solid="true"] { background: oklch(0.985 0.006 85 / .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: var(--border); box-shadow: var(--shadow-sm); }
.hd[data-solid="true"] .hd__logo strong { color: var(--ink-900); }
.hd[data-solid="true"] .hd__logo strong em { color: var(--terra-600); }
.hd[data-solid="true"] .hd__logo small { color: var(--text-muted); }
.hd[data-solid="true"] .hd__nav a { color: var(--text-body); }
.hd[data-solid="true"] .hd__nav a:hover { color: var(--text-strong); }
.hd[data-solid="true"] .btn--inverse { background: transparent; color: var(--text-strong); border-color: var(--border-strong); }

/* Burger + menu mobile */
.hd__burger {
  width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid oklch(1 0 0 / .4);
  background: oklch(1 0 0 / .1); cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hd__burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform var(--dur) var(--ease), opacity var(--dur); }
.hd[data-solid="true"] .hd__burger { border-color: var(--border-strong); background: transparent; }
.hd[data-solid="true"] .hd__burger span { background: var(--ink-900); }
.hd[data-open="true"] .hd__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hd[data-open="true"] .hd__burger span:nth-child(2) { opacity: 0; }
.hd[data-open="true"] .hd__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hd__menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 12px; right: 12px;
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 10px; flex-direction: column;
}
.hd[data-open="true"] .hd__menu { display: flex; }
.hd__menu a { padding: 13px 16px; border-radius: 10px; font-weight: 570; color: var(--text-strong); }
.hd__menu a:hover { background: var(--surface-sunken); }
.hd__menu .btn { margin: 8px 6px 4px; }

@media (max-width: 960px) {
  .hd__nav { display: none; }
  .hd__cta .btn--inverse { display: none; }
  .hd__burger { display: flex; }
  .hd__cta .hd__telword { display: none; }
}
@media (max-width: 430px) {
  .hd__bar { gap: 12px; min-height: 66px; }
  .hd__logo strong { font-size: 1.02rem; white-space: nowrap; }
  .hd__logo small { font-size: .56rem; letter-spacing: .1em; white-space: nowrap; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(560px, 92vh, 860px); min-height: clamp(560px, 92svh, 860px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; background: var(--hero-scrim); z-index: -1; }
.hero__inner { width: 100%; padding-top: 140px; padding-bottom: clamp(48px, 7vw, 84px); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 620; letter-spacing: .05em; color: #fff;
  background: oklch(0.2 0.012 58 / .55); border: 1px solid oklch(1 0 0 / .22);
  padding: 8px 16px; border-radius: var(--radius-pill); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  margin-bottom: 22px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.72 0.17 145); box-shadow: 0 0 0 4px oklch(0.72 0.17 145 / .25); }
.hero h1 {
  font-size: var(--fs-display); font-weight: 800; letter-spacing: var(--ls-display);
  line-height: var(--lh-display); color: #fff; max-width: 13ch; margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--terra-300); }
.hero__sub { font-size: var(--fs-lead); color: oklch(1 0 0 / .88); max-width: 56ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 22px; border-top: 1px solid oklch(1 0 0 / .2); }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; font-weight: 560; color: oklch(1 0 0 / .9); }
.hero__trust svg { width: 1.1em; height: 1.1em; color: var(--terra-300); flex: none; }

/* ---------- Bandeau urgence ---------- */
.urgence { background: var(--accent); color: #fff; }
.urgence__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 22px; padding: 13px 0; text-align: center; }
.urgence__row strong { font-weight: 750; }
.urgence__row a { color: #fff; font-weight: 750; display: inline-flex; align-items: center; gap: 8px; border-bottom: 2px solid oklch(1 0 0 / .5); padding-bottom: 1px; }
.urgence__row a:hover { border-color: #fff; color: #fff; }
.urgence svg { width: 1.1em; height: 1.1em; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--sunken { background: var(--surface-sunken); }
.section--dark { background: var(--surface-dark); }
.section--dark h2, .section--dark h3 { color: var(--text-on-dark); }
.section--dark p { color: var(--text-on-dark-muted); }
.head { max-width: 640px; margin-bottom: clamp(34px, 5vw, 56px); }
.head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.head--center .eyebrow { justify-content: center; }
.eyebrow .rule { width: 34px; height: 2.5px; border-radius: 2px; background: var(--accent); }
.eyebrow .overline { font-size: var(--fs-overline); font-weight: 700; letter-spacing: var(--ls-overline); text-transform: uppercase; color: var(--terra-600); }
.section--dark .eyebrow .overline { color: var(--terra-300); }
.title { font-size: var(--fs-h2); font-weight: 760; letter-spacing: -0.02em; }
.intro { font-size: var(--fs-lead); color: var(--text-muted); }
.section--dark .intro { color: var(--text-on-dark-muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem); font-weight: 800; letter-spacing: -0.02em; color: var(--terra-600); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: .93rem; font-weight: 560; color: var(--text-muted); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- Cartes service ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 1000px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.svc {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 28px 26px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.svc::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.svc:hover::before { transform: scaleX(1); }
.svc__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--terra-600);
}
.svc__icon svg { width: 25px; height: 25px; display: block; }
.svc h3 { font-size: 1.22rem; font-weight: 720; margin: 0; }
.svc p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.svc__link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 7px; font-weight: 650; font-size: .93rem; color: var(--terra-600); }
.svc__link svg { width: 1em; height: 1em; transition: transform var(--dur) var(--ease); }
.svc:hover .svc__link svg { transform: translateX(4px); }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.about__chip {
  position: absolute; left: 20px; bottom: 20px;
  background: var(--ink-900); color: var(--text-on-dark);
  border-radius: var(--radius-md); padding: 14px 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 13px;
}
.about__chip strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--terra-300); line-height: 1; }
.about__chip span { font-size: .82rem; color: var(--text-on-dark-muted); line-height: 1.3; }
.checks { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; color: var(--text-strong); }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--terra-600); margin-top: 1px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 640;
  color: var(--terra-700); background: var(--accent-soft); border: 1px solid oklch(0.85 0.05 46 / .6);
  padding: 8px 15px; border-radius: var(--radius-pill);
}
.badge svg { width: 1.05em; height: 1.05em; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ---------- Avant / Après ---------- */
.ba {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  background: var(--ink-900); user-select: none; touch-action: pan-y; isolation: isolate;
  aspect-ratio: 16/10;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; top: 14px; z-index: 3; font-size: 12px; font-weight: 650; letter-spacing: .07em;
  text-transform: uppercase; color: #fff; padding: 6px 13px; border-radius: var(--radius-pill);
  background: oklch(0.2 0.012 58 / .66); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; background: var(--terra-600); }
.ba__divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: oklch(1 0 0 / .92); z-index: 4; pointer-events: none; }
.ba__handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--terra-600);
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--terra-500); box-shadow: var(--shadow-lg);
}
.ba__handle svg { width: 15px; height: 15px; margin: 0 -3px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 5; }
.ba__hint {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 3;
  font-size: 12.5px; font-weight: 620; color: #fff; background: oklch(0.2 0.012 58 / .6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 6px 14px; border-radius: var(--radius-pill);
  transition: opacity var(--dur) var(--ease);
}
.ba[data-touched="true"] .ba__hint { opacity: 0; }

/* ---------- Galerie ---------- */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .gal { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gal { grid-template-columns: 1fr; } }
.tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-md);
  aspect-ratio: 4/3; box-shadow: var(--shadow-sm); isolation: isolate; cursor: zoom-in; border: 0; padding: 0; background: none;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ''; position: absolute; inset: 0; background: var(--photo-scrim); }
.tile__cat {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .74rem; font-weight: 680; letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: oklch(0.2 0.012 58 / .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 5px 11px; border-radius: var(--radius-pill);
}
.tile__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff; font-weight: 620; font-size: .98rem; text-align: left; }
.tile__cap small { display: block; font-weight: 480; font-size: .8rem; color: oklch(1 0 0 / .75); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: oklch(0.12 0.01 58 / .93); padding: 4vmin; }
.lb[data-open="true"] { display: flex; }
.lb img { max-width: 100%; max-height: 86vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lb__cap { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 570; font-size: .95rem; text-align: center; max-width: 90vw; }
.lb__close, .lb__prev, .lb__next {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  background: oklch(1 0 0 / .12); border: 1px solid oklch(1 0 0 / .3); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.lb__close:hover, .lb__prev:hover, .lb__next:hover { background: oklch(1 0 0 / .25); }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb svg { width: 22px; height: 22px; }

/* ---------- Partenaires ---------- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.partner {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 20px 30px; min-width: 170px; box-shadow: var(--shadow-sm);
}
.partner strong { font-family: var(--font-display); font-size: 1.14rem; font-weight: 760; letter-spacing: .01em; color: var(--text-strong); }
.partner span { font-size: .78rem; color: var(--text-muted); }

/* ---------- Avis ---------- */
.rating-badge {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 650; color: var(--text-strong);
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 10px 20px; box-shadow: var(--shadow-sm);
}
.rating-badge .stars { color: oklch(0.75 0.15 85); display: inline-flex; }
.testi { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm); margin: 0; display: flex; flex-direction: column; gap: 14px; }
.testi__head { display: flex; align-items: center; gap: 13px; }
.testi__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--accent-soft); color: var(--terra-700); font-weight: 750;
  display: inline-flex; align-items: center; justify-content: center; font-size: .95rem;
}
.testi__name { display: block; font-weight: 680; color: var(--text-strong); font-size: .99rem; }
.testi__loc { display: block; font-size: .82rem; color: var(--text-muted); }
.testi__g { margin-left: auto; }
.testi__stars { display: inline-flex; color: oklch(0.75 0.15 85); }
.testi__stars svg, .rating-badge .stars svg { width: 17px; height: 17px; }
.testi blockquote { margin: 0; font-size: .98rem; color: var(--text-body); }

/* ---------- Zone ---------- */
.zone { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4.5vw, 60px); align-items: start; }
@media (max-width: 900px) { .zone { grid-template-columns: 1fr; } }
.zone__depts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.zone__dept { font-size: .86rem; font-weight: 680; color: var(--terra-700); background: var(--accent-soft); border: 1px solid oklch(0.85 0.05 46 / .6); padding: 8px 16px; border-radius: var(--radius-pill); }
.zone__cities { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }
.city {
  display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 570;
  color: var(--text-body); background: var(--surface-card); border: 1px solid var(--border);
  padding: 9px 15px; border-radius: var(--radius-pill); cursor: pointer;
  transition: border-color var(--dur), color var(--dur), background var(--dur);
}
.city svg { width: 1em; height: 1em; color: var(--terra-500); }
.city:hover { border-color: var(--terra-400); color: var(--text-strong); }
.city.is-active { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.city.is-active svg { color: var(--terra-300); }
.zone__note { font-size: var(--fs-sm); color: var(--text-muted); background: var(--surface-sunken); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 18px; }
.zone__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); background: var(--surface-card); }
.zone__map iframe { display: block; width: 100%; height: 430px; border: 0; }
.zone__maplabel { padding: 12px 18px; font-size: .88rem; font-weight: 600; color: var(--text-muted); border-top: 1px solid var(--border); }

/* ---------- Engagements ---------- */
.eng { background: var(--surface-dark-2); border: 1px solid var(--border-on-dark); border-radius: var(--radius-md); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.eng__icon { width: 48px; height: 48px; border-radius: 13px; background: oklch(0.62 0.13 40 / .18); color: var(--terra-300); display: grid; place-items: center; }
.eng__icon svg { width: 23px; height: 23px; display: block; }
.eng h3 { font-size: 1.12rem; font-weight: 700; color: var(--text-on-dark); margin: 0; }
.eng p { font-size: var(--fs-sm); color: var(--text-on-dark-muted); margin: 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: var(--content-narrow); margin: 0 auto; }
.faq details { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; font-weight: 650; color: var(--text-strong); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--terra-600); transition: transform var(--dur) var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq__body { padding: 0 22px 20px; font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- Formulaire ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(28px, 4.5vw, 60px); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.coord { display: grid; gap: 14px; }
.coord__item {
  display: flex; gap: 15px; align-items: flex-start;
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 19px 20px; box-shadow: var(--shadow-sm); color: inherit;
}
a.coord__item:hover { border-color: var(--terra-400); color: inherit; }
.coord__icon { width: 44px; height: 44px; border-radius: 12px; flex: none; background: var(--accent-soft); color: var(--terra-600) !important; display: grid !important; place-items: center; }
.coord__icon svg { width: 21px; height: 21px; display: block; }
.coord__item strong { display: block; color: var(--text-strong); font-size: .99rem; }
.coord__item span:not(.coord__icon) { display: block; font-size: .86rem; color: var(--text-muted); }

.form { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 38px); box-shadow: var(--shadow-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .89rem; font-weight: 640; color: var(--text-strong); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text-strong);
  background: var(--surface-page); border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 13px 15px; width: 100%; transition: border-color var(--dur), box-shadow var(--dur);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terra-500); box-shadow: 0 0 0 3.5px oklch(0.62 0.13 40 / .18); }
.field textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .85rem; color: var(--text-muted); margin-bottom: 20px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--terra-600); flex: none; }
.form__note { font-size: .8rem; color: var(--text-muted); margin: 12px 0 0; text-align: center; }
.form__status { display: none; margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 570; font-size: .95rem; }
.form__status[data-kind="ok"] { display: block; background: oklch(0.55 0.11 150 / .12); color: oklch(0.4 0.1 150); border: 1px solid oklch(0.55 0.11 150 / .35); }
.form__status[data-kind="err"] { display: block; background: oklch(0.55 0.18 28 / .1); color: oklch(0.45 0.16 28); border: 1px solid oklch(0.55 0.18 28 / .3); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- CTA final ---------- */
.cta {
  background: linear-gradient(135deg, var(--terra-600), var(--terra-500) 55%, var(--terra-400));
  border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px);
  text-align: center; color: #fff; box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; font-size: var(--fs-h2); font-weight: 780; letter-spacing: -0.02em; }
.cta p { color: oklch(1 0 0 / .88); font-size: var(--fs-lead); max-width: 46ch; margin: 0 auto 28px; }
.cta .btn--dark { background: var(--ink-950); }
.cta__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Footer ---------- */
.ft { background: var(--ink-950); color: var(--text-on-dark-muted); padding: clamp(48px, 6vw, 76px) 0 0; }
.ft__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
@media (max-width: 960px) { .ft__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ft__grid { grid-template-columns: 1fr; } }
.ft__brand strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 760; color: #fff; }
.ft__brand strong em { font-style: normal; color: var(--terra-300); }
.ft__brand small { display: block; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: oklch(1 0 0 / .55); margin: 4px 0 14px; }
.ft__brand p { font-size: .92rem; }
.ft__social { display: flex; gap: 10px; margin-top: 16px; }
.ft__social a {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: oklch(1 0 0 / .08); border: 1px solid var(--border-on-dark); color: #fff;
  transition: background var(--dur), transform var(--dur);
}
.ft__social a:hover { background: var(--terra-600); transform: translateY(-2px); color: #fff; }
.ft__social svg { width: 19px; height: 19px; }
.ft h4 { color: #fff; font-size: .95rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft ul a { color: var(--text-on-dark-muted); font-size: .94rem; }
.ft ul a:hover { color: #fff; }
.ft__bottom { border-top: 1px solid var(--border-on-dark); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; font-size: .84rem; }
.ft__bottom a { color: var(--text-on-dark-muted); }
.ft__bottom a:hover { color: #fff; }
.ft__legal { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- Barre mobile + modal appel ---------- */
.mbar { position: fixed; inset: auto 0 0; z-index: 90; display: none; gap: 1px; background: var(--border); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
.mbar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 10px; font-weight: 700; font-size: .97rem; }
.mbar svg { width: 1.15em; height: 1.15em; }
.mbar__tel { background: var(--accent); color: #fff; }
.mbar__tel:hover { color: #fff; }
.mbar__devis { background: var(--surface-card); color: var(--text-strong); }
@media (max-width: 720px) { .mbar { display: flex; } body { padding-bottom: 58px; } }

.cmodal { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; background: oklch(0.12 0.01 58 / .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); padding: 20px; }
.cmodal[data-open="true"] { display: flex; }
.cmodal__box { background: var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px 28px; max-width: 400px; width: 100%; text-align: center; }
.cmodal__box h3 { font-size: 1.25rem; margin-bottom: 4px; }
.cmodal__box > p { font-size: .9rem; color: var(--text-muted); margin-bottom: 20px; }
.cmodal__box .btn { width: 100%; margin-bottom: 10px; }
.cmodal__wa { background: #25D366; color: #fff; }
.cmodal__wa:hover { background: #1ebe5b; color: #fff; }
.cmodal__cancel { background: none; border: 0; color: var(--text-muted); font-size: .9rem; cursor: pointer; padding: 8px; }
.cmodal__cancel:hover { color: var(--text-strong); }

/* ---------- Reveal (gated derrière html.js : sans JS, tout reste visible) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  html.js .reveal.is-in { opacity: 1; transform: none; }
  /* cascade dans les grilles */
  html.js :is(.grid-2, .grid-3, .grid-4, .gal, .coord) > .reveal:nth-child(2),
  html.js :is(.grid-2, .grid-3, .grid-4, .gal, .coord) > .reveal:nth-child(2) ~ .reveal:nth-child(2) { transition-delay: .08s; }
  html.js :is(.grid-2, .grid-3, .grid-4, .gal, .coord) > .reveal:nth-child(3) { transition-delay: .16s; }
  html.js :is(.grid-2, .grid-3, .grid-4, .gal, .coord) > .reveal:nth-child(4) { transition-delay: .24s; }
  html.js :is(.grid-2, .grid-3, .grid-4, .gal, .coord) > .reveal:nth-child(5) { transition-delay: .32s; }
  html.js :is(.grid-2, .grid-3, .grid-4, .gal, .coord) > .reveal:nth-child(n+6) { transition-delay: .4s; }

  /* entrée du hero au chargement */
  html.js .hero__badge, html.js .hero h1, html.js .hero__sub, html.js .hero__cta, html.js .hero__trust {
    opacity: 0; transform: translateY(26px);
    animation: heroIn .85s var(--ease) forwards;
  }
  html.js .hero h1 { animation-delay: .12s; }
  html.js .hero__sub { animation-delay: .3s; }
  html.js .hero__cta { animation-delay: .44s; }
  html.js .hero__trust { animation-delay: .58s; }
  @keyframes heroIn { to { opacity: 1; transform: none; } }
  /* Ken Burns : zoom lent et SYNCHRO sur les deux couches photo (fond + découpe) */
  html.js .hero__img { animation: kenburns 18s ease-out forwards; transform-origin: 62% 42%; }
  @keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
}

/* micro-interactions */
.hd__nav a { position: relative; }
.hd__nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; border-radius: 2px; background: var(--accent); transition: right var(--dur) var(--ease); }
.hd__nav a:hover::after { right: 0; }
.svc__icon, .eng__icon, .coord__icon { transition: transform var(--dur) var(--ease); }
.svc:hover .svc__icon { transform: scale(1.1) rotate(-5deg); }
.eng:hover .eng__icon { transform: scale(1.1) rotate(-5deg); }
a.coord__item:hover .coord__icon { transform: scale(1.08); }
.tile__cap { transition: transform var(--dur) var(--ease); }
.tile:hover .tile__cap { transform: translateY(-3px); }
.faq .faq__body[data-anim] { overflow: hidden; }

/* ---------- Pages intérieures ---------- */
.pagehead { padding: 150px 0 56px; background: var(--surface-dark); }
.pagehead h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 780; letter-spacing: -0.025em; color: #fff; max-width: 20ch; }
.pagehead p { color: var(--text-on-dark-muted); font-size: var(--fs-lead); max-width: 60ch; margin: 0; }
.pagehead .eyebrow .overline { color: var(--terra-300); }
.prose { max-width: var(--content-narrow); margin: 0 auto; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose p, .prose li { font-size: .98rem; }
