/* ============================================================
   PEINTRE LEGRAND — refonte 2026-07
   Direction : "Nuancier maîtrisé", version minérale moderne
   (voir DESIGN.md — seule source autorisée pour ces valeurs)
   Palette : blanc de chaux, calcaire, encre de vigne, bleu paon
   Typographies : Bricolage Grotesque (display/UI) + Source Serif 4 (body)
   Élément signature : « la tirée » (aplat à coupe biaise)
   ============================================================ */

/* ============ FONTES (auto-hébergées, zéro CDN) ============ */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ============ TOKENS (générés depuis DESIGN.md) ============ */
:root {
  /* Palette */
  --paper: #F2F1EB;        /* blanc de chaux — fond principal */
  --paper-2: #E9E7DD;      /* calcaire — fonds alternés */
  --paper-3: #DEDBCE;      /* pierre — hover, détails */
  --card: #FAF9F4;         /* cartes du widget avis */
  --ink: #1D211E;          /* encre de vigne — texte */
  --ink-soft: #4A4F49;
  --ink-faint: #6C7169;
  --line: #D8D5C8;
  --line-strong: #C4C0B0;
  --accent: #1E5A5E;       /* bleu paon */
  --accent-d: #17474A;     /* paon profond (hover) */
  --accent-wash: #E2EBE9;  /* lavis paon */
  --on-accent: #F2F1EB;
  --gold: #C9932E;         /* étoiles d'avis uniquement */

  /* Pastilles nuancier (avatars d'avis uniquement) */
  --swatch-1: #1E5A5E;
  --swatch-2: #8E5B3F;
  --swatch-3: #46525C;
  --swatch-4: #5A6B57;
  --swatch-5: #7A4B33;

  /* Typographies */
  --font-display: "Bricolage Grotesque", "Avenir Next", "Trebuchet MS", sans-serif;
  --font-body: "Source Serif 4", "Iowan Old Style", Georgia, serif;

  /* Échelle (body 17 → H1 ~×3+) */
  --text-sm: 0.875rem;     /* 14 */
  --text-base: 1.0625rem;  /* 17 */
  --text-lead: 1.1875rem;  /* 19 */
  --text-h3: clamp(1.25rem, 1.6vw, 1.45rem);
  --text-h2: clamp(2.1rem, 4.4vw, 3.25rem);
  --text-h1: clamp(2.6rem, 6.5vw, 4.75rem);
  --text-hero: clamp(2.9rem, 7.4vw, 5.75rem);

  /* Layout */
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Espacements */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: clamp(88px, 12vw, 140px);

  /* Géométrie — radius 0 sur les aplats, 4 sur photos, 12 réservé au widget avis */
  --radius-btn: 2px;
  --radius-img: 4px;
  --radius-widget: 12px;

  /* La coupe biaise de la « tirée » */
  --biseau: 0.4em;

  /* Ombre : réservée aux cartes du widget avis */
  --shadow-widget: 0 1px 2px rgba(29, 33, 30, 0.05), 0 6px 18px rgba(29, 33, 30, 0.05);
}

/* ============ BASE ============ */
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--paper);
}

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

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ============ TYPOGRAPHIE ============ */
.display,
.display-2,
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
}

.display {
  font-weight: 800;
  font-size: var(--text-hero);
  line-height: 0.98;
  letter-spacing: -0.022em;
}

.display-2 {
  font-weight: 800;
  font-size: var(--text-h2);
  line-height: 1.02;
  letter-spacing: -0.018em;
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Le surligneur signature — un mot posé sur une tirée de paon.
   Règle DESIGN.md : jamais plus d'un par écran. */
.mark {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.02em 0.24em 0.08em 0.18em;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--biseau)) 100%, 0 100%);
}

/* La tirée en bloc (logo, footer) */
.tiree {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
  flex: none;
}

.sec-head {
  margin-bottom: var(--space-lg);
  max-width: 780px;
}
.sec-head .sec-intro {
  margin-top: 18px;
  max-width: 560px;
  font-size: var(--text-lead);
  line-height: 1.6;
  color: var(--ink-soft);
}
.sec-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.sec-head-center .sec-intro { margin-left: auto; margin-right: auto; }

/* ============ BOUTONS / LIENS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  border: 1px solid var(--accent);
  border-radius: var(--radius-btn);
  background: var(--accent);
  color: var(--on-accent);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer;
  min-height: 48px;
}
.btn:hover { background: var(--accent-d); border-color: var(--accent-d); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--paper-2); border-color: var(--ink); color: var(--ink); }

.btn-ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn-ink:hover { background: var(--ink-soft); border-color: var(--ink-soft); }

.btn-paper {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.btn-paper:hover { background: var(--paper-3); border-color: var(--paper-3); color: var(--ink); }

.btn-lg { padding: 18px 34px; font-size: 16px; }

.btn-tel {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  transition: color .2s;
}
.link-arrow::after {
  content: "→";
  transition: transform .25s;
}
.link-arrow:hover { color: var(--accent-d); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow.center {
  display: flex;
  justify-content: center;
  margin: var(--space-lg) auto 0;
  width: fit-content;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 241, 235, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
/* Le liseré signature en tête de page */
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--accent);
}
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand .tiree { width: 22px; height: 22px; transition: transform .25s ease; }
.brand:hover .tiree { transform: translateX(2px); }
.brand small {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.nav-desktop { margin-left: auto; }
.nav-desktop ul { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.nav-desktop a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: auto; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a.is-active { color: var(--ink); font-weight: 600; }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { transform: scaleX(1); }

.header-contact {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-tel {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  border-bottom: 2px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.header-tel:hover { color: var(--accent); border-color: var(--accent); }
.header-cta { padding: 12px 20px; min-height: 44px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform .3s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-mobile {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.nav-mobile.is-open { max-height: 560px; }
.nav-mobile ul {
  padding: var(--space-md) var(--gutter);
  display: flex;
  flex-direction: column;
}
.nav-mobile li + li { border-top: 1px solid var(--line); }
.nav-mobile li:not(.nav-mobile-cta) a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.nav-mobile .nav-mobile-cta {
  display: flex;
  gap: 10px;
  padding: 18px 0 6px;
}
.nav-mobile .nav-mobile-cta .btn { flex: 1; }

/* ============ BARRE D'APPEL MOBILE (sticky) ============ */
.callbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  background: var(--ink);
  padding: 10px max(12px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
  gap: 10px;
}
.callbar a {
  flex: 1;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-btn);
}
.callbar .callbar-tel { background: var(--paper); color: var(--ink); font-variant-numeric: tabular-nums; }
.callbar .callbar-devis { background: var(--accent); color: var(--on-accent); }

/* ============ HERO (split, sans overlay) ============ */
.hero {
  border-bottom: 1px solid var(--line);
  overflow: clip;
}
.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: min(84vh, 820px);
}
.hero-content { padding: clamp(48px, 7vh, 88px) 0; }
.hero h1 {
  font-weight: 800;
  font-size: var(--text-hero);
  line-height: 0.98;
  letter-spacing: -0.022em;
}
.hero-sub {
  margin-top: 26px;
  max-width: 500px;
  font-size: var(--text-lead);
  line-height: 1.65;
  color: var(--ink-soft);
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--ink-faint);
}
.hero-meta li { display: flex; align-items: center; }
.hero-meta li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--line-strong);
  margin: 0 16px;
}
.hero-meta strong { color: var(--ink-soft); font-weight: 600; margin-right: 5px; }

.hero-figure {
  position: relative;
  align-self: stretch;
  min-height: 420px;
  margin: 0;
}
.hero-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* le bord gauche en coupe biaise — la laize en cours */
  clip-path: polygon(clamp(16px, 3vw, 44px) 0, 100% 0, 100% 100%, 0 100%);
}
/* Badge Google — passerelle vers la section avis */
.hero-gbadge {
  position: absolute;
  left: clamp(4px, 1.5vw, 18px);
  bottom: clamp(18px, 4vh, 36px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-widget);
  box-shadow: var(--shadow-widget);
  padding: 12px 18px 12px 14px;
  transition: transform .2s ease;
}
.hero-gbadge:hover { transform: translateY(-2px); }
.hero-gbadge .gb-note {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  line-height: 1;
}
.hero-gbadge .gb-stack { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.hero-gbadge .gb-stars { display: inline-flex; gap: 1px; color: var(--gold); }
.hero-gbadge .gb-stars svg { width: 14px; height: 14px; fill: currentColor; }
.hero-gbadge .gb-count {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* ============ PRESTATIONS (rangées éditoriales) ============ */
.prestations { padding: var(--space-xl) 0; }
.prest-rows { border-top: 1px solid var(--line-strong); }
.prow {
  display: grid;
  grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr) 48px;
  align-items: baseline;
  gap: clamp(14px, 2.5vw, 40px);
  padding: clamp(26px, 3.5vw, 40px) 0;
  border-bottom: 1px solid var(--line-strong);
  transition: background .25s ease;
  position: relative;
}
.prow:hover { background: var(--paper-2); }
.prow-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.prow h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.05;
  transition: color .2s;
}
.prow:hover h3 { color: var(--accent); }
.prow p {
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: var(--text-base);
  max-width: 52ch;
}
.prow-arrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink-faint);
  justify-self: end;
  transition: transform .25s ease, color .2s;
}
.prow:hover .prow-arrow { transform: translateX(6px); color: var(--accent); }

/* ============ AVANT / APRÈS ============ */
.avant-apres { padding: var(--space-xl) 0; }

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  user-select: none;
  background: var(--paper-2);
  border-radius: var(--radius-img);
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-after { z-index: 1; }
.ba-before { z-index: 2; clip-path: inset(0 50% 0 0); }

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
  z-index: 4;
  opacity: 0;
}
.ba-range:focus { outline: none; }
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 60px;
  height: 100%;
  background: transparent;
  cursor: ew-resize;
}
.ba-range::-moz-range-thumb {
  width: 60px;
  height: 100%;
  background: transparent;
  border: none;
  cursor: ew-resize;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--paper);
  pointer-events: none;
  z-index: 3;
  transform: translateX(-1px);
}
/* La languette signature — une tirée qui coulisse */
.ba-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 40px;
  background: var(--accent);
  color: var(--on-accent);
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 2px;
}

.ba-label {
  position: absolute;
  top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--paper);
  background: rgba(29, 33, 30, 0.78);
  padding: 7px 13px;
  border-radius: var(--radius-btn);
  z-index: 3;
}
.ba-label-before { left: 18px; }
.ba-label-after { right: 18px; }

.ba-caption {
  margin-top: var(--space-sm);
  padding: 6px 0 6px 16px;
  border-left: 3px solid var(--accent);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 640px;
}

/* ============ À PROPOS ============ */
.apropos {
  padding: var(--space-xl) 0;
  background: var(--paper-2);
}
.apropos-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
}
.apropos-image {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
}
.apropos-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-img);
}
/* La tirée qui souligne le portrait */
.apropos-image::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 38%;
  height: 12px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.apropos-text > p:not(.signature) {
  margin-top: 22px;
  max-width: 56ch;
  line-height: 1.7;
  color: var(--ink-soft);
}
.apropos-text .display-2 + p { margin-top: 28px; }
.apropos-text .signature {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  margin-top: var(--space-md);
  color: var(--ink);
}
.apropos-facts {
  margin-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-faint);
}
.apropos-facts strong { color: var(--ink); font-weight: 700; margin-right: 5px; }

/* ============ AVIS GOOGLE (structure Harmony, tokens Legrand) ============ */
.avis {
  padding: var(--space-xl) 0;
}
.avis--panel { background: var(--paper-2); }

/* Bandeau récapitulatif */
.grw {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-widget);
  box-shadow: var(--shadow-widget);
  padding: clamp(18px, 2.5vw, 26px) clamp(20px, 3vw, 32px);
  margin-bottom: clamp(24px, 3.5vw, 40px);
}
.grw__brand { display: flex; align-items: center; gap: 14px; }
.grw__id { display: flex; flex-direction: column; line-height: 1.25; }
.grw__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.grw__biz { font-family: var(--font-display); font-weight: 500; font-size: 13.5px; color: var(--ink-faint); }
.grw__score { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.grw__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 3rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.grw__stack { display: flex; flex-direction: column; gap: 3px; }
.grw__stars { display: inline-flex; gap: 1px; color: var(--gold); }
.grw__stars svg { width: 19px; height: 19px; fill: currentColor; }
.grw__count { font-family: var(--font-display); font-weight: 500; font-size: 13.5px; color: var(--ink-faint); }
.grw__cta { flex: none; }

/* Le mur d'avis (masonry repliée) */
.grw-wall {
  position: relative;
  max-height: 700px;
  overflow: hidden;
  transition: max-height .7s cubic-bezier(0.65, 0, 0.35, 1);
}
.grw-wall.is-open { max-height: 12000px; }
.grw-wall--full { max-height: none; overflow: visible; }
.grw-wall__cols { columns: 3; column-gap: 14px; }
.grw-wall__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(rgba(242, 241, 235, 0), var(--paper) 88%);
  transition: opacity .3s ease;
}
.avis--panel .grw-wall__fade {
  background: linear-gradient(rgba(233, 231, 221, 0), var(--paper-2) 88%);
}
.grw-wall.is-open .grw-wall__fade { opacity: 0; }

/* Une carte d'avis */
.gr-card {
  break-inside: avoid;
  width: 100%;
  margin-bottom: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-widget);
  padding: 22px;
  box-shadow: var(--shadow-widget);
  transition: transform .2s ease;
}
.gr-card:hover { transform: translateY(-2px); }
.gr-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.gr-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--a, var(--accent));
  color: var(--card);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
}
.gr-meta { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.gr-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gr-time { font-family: var(--font-display); font-weight: 500; font-size: 12.5px; color: var(--ink-faint); }
.gr-g { margin-left: auto; flex: none; }
.gr-stars { display: inline-flex; gap: 1px; color: var(--gold); margin-bottom: 8px; }
.gr-stars svg { width: 15px; height: 15px; fill: currentColor; }
.gr-stars svg.off { opacity: 0.28; }
.gr-text { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }

/* Actions sous le mur */
.grw-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
  margin-top: clamp(22px, 3vw, 34px);
}
.grw-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.grw-link:hover { color: var(--accent); border-color: var(--accent); }

/* ============ FAQ ============ */
.faq { padding: var(--space-xl) 0; }
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}
.faq-list details { border-top: 1px solid var(--line-strong); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 22px 0;
  transition: color .2s;
  line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--accent);
  transition: transform .3s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details > p {
  padding: 0 64px 24px 0;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 72ch;
}

/* ============ CTA FINAL ============ */
.cta-final {
  background: var(--accent);
  color: var(--on-accent);
  /* la grande tirée : bord supérieur en coupe biaise */
  clip-path: polygon(0 clamp(18px, 3vw, 40px), 100% 0, 100% 100%, 0 100%);
  padding: calc(var(--space-xl) + clamp(18px, 3vw, 40px)) 0 var(--space-xl);
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.cta-final h2 {
  color: var(--on-accent);
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.02;
}
.cta-grid p {
  margin-top: 20px;
  color: rgba(242, 241, 235, 0.78);
  max-width: 46ch;
  line-height: 1.65;
  font-size: var(--text-lead);
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.cta-final .btn-tel-ghost {
  background: transparent;
  border-color: rgba(242, 241, 235, 0.4);
  color: var(--on-accent);
}
.cta-final .btn-tel-ghost:hover { border-color: var(--on-accent); background: rgba(242, 241, 235, 0.08); }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  color: rgba(242, 241, 235, 0.72);
  padding: var(--space-lg) 0 var(--space-md);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(242, 241, 235, 0.14);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--paper);
  margin-bottom: var(--space-sm);
}
.footer-gbadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--paper);
  border: 1px solid rgba(242, 241, 235, 0.22);
  border-radius: var(--radius-btn);
  padding: 8px 12px;
  transition: border-color .2s;
}
.footer-gbadge:hover { border-color: rgba(242, 241, 235, 0.5); }
.footer-gbadge .gb-stars { display: inline-flex; gap: 1px; color: var(--gold); }
.footer-gbadge .gb-stars svg { width: 13px; height: 13px; fill: currentColor; }
.footer-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--paper);
  margin-bottom: var(--space-sm);
}
.footer-grid p { line-height: 1.65; }
.footer-grid ul { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { transition: color .2s; }
.footer-grid a:hover { color: var(--paper); }
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: var(--space-sm);
  color: rgba(242, 241, 235, 0.55);
}
.footer-base a { border-bottom: 1px solid rgba(242, 241, 235, 0.25); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.footer-base a:hover { color: var(--paper); border-color: var(--paper); }
.footer-base .footer-credit { font-size: 12.5px; }

/* ============================================================
   PAGES INTÉRIEURES
   ============================================================ */

.page-hero {
  padding: clamp(64px, 10vh, 120px) 0 clamp(48px, 6vh, 80px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: var(--text-h1);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.0;
}
.page-hero .page-lead {
  font-size: var(--text-lead);
  color: var(--ink-soft);
  max-width: 60ch;
  margin-top: 22px;
  line-height: 1.65;
}

/* ============ PAGE PRESTATIONS ============ */
.prestation-section {
  padding: clamp(64px, 9vh, 110px) 0;
  border-bottom: 1px solid var(--line);
}
.prestation-section:last-of-type { border-bottom: none; }
.prestation-section:nth-of-type(even) { background: var(--paper-2); }

.prestation-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.prestation-section.reverse .prestation-image { order: 2; }
.prestation-section.reverse .prestation-text  { order: 1; }

.prestation-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-img);
  background: var(--paper-3);
  margin: 0;
}
.prestation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prestation-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 12px;
}
.prestation-text h2 { font-size: var(--text-h2); font-weight: 800; letter-spacing: -0.018em; line-height: 1.02; }
.prestation-text > p {
  margin-top: 22px;
  max-width: 58ch;
  color: var(--ink-soft);
  line-height: 1.7;
}
.prestation-list {
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
  max-width: 560px;
}
.prestation-list li {
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
  line-height: 1.55;
  position: relative;
}
.prestation-list li:first-child { border-top: 1px solid var(--line); }
/* micro-tirée en guise de puce */
.prestation-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 12px;
  height: 4px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
}

/* ============ PAGE RÉALISATIONS — galerie + lightbox ============ */
.gallery-section {
  padding: var(--space-xl) 0;
  background: var(--paper-2);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 160px;
  grid-auto-flow: dense;
  gap: 12px;
}
.gallery-item {
  grid-column: span 4;
  grid-row: span 2;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--paper-3);
  margin: 0;
  border-radius: var(--radius-img);
}
.gallery-item.gi-lg { grid-column: span 6; grid-row: span 3; }
.gallery-item.gi-wide { grid-column: span 6; grid-row: span 2; }
.gallery-item.gi-tall { grid-column: span 4; grid-row: span 3; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 7px 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--paper);
  background: rgba(29, 33, 30, 0.82);
  border-radius: var(--radius-btn);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(29, 33, 30, 0.96);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
}
.lightbox.is-open { display: flex; }
.lightbox-figure {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-img);
}
.lightbox-figure figcaption {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13.5px;
  color: rgba(242, 241, 235, 0.8);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  border: 1px solid rgba(242, 241, 235, 0.35);
  border-radius: var(--radius-btn);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  transition: background .2s, border-color .2s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(242, 241, 235, 0.12);
  border-color: var(--paper);
}
.lightbox-close { top: clamp(16px, 3vh, 32px); right: clamp(16px, 3vw, 32px); font-size: 26px; }
.lightbox-prev,
.lightbox-next { top: 50%; transform: translateY(-50%); font-size: 28px; }
.lightbox-prev { left: clamp(16px, 3vw, 32px); }
.lightbox-next { right: clamp(16px, 3vw, 32px); }

/* ============ PAGE DEVIS ============ */
.devis-content { padding: var(--space-xl) 0; }
.devis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.devis-form fieldset { border: none; margin-bottom: var(--space-lg); }
.devis-form legend {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-md);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
  width: 100%;
}
.devis-form label { display: block; margin-bottom: var(--space-md); }
.devis-form .lab {
  display: block;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.devis-form .req { color: var(--accent); font-weight: 600; }
.devis-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.devis-form input[type="text"],
.devis-form input[type="email"],
.devis-form input[type="tel"],
.devis-form select,
.devis-form textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  transition: border-color .2s, box-shadow .2s;
}
.devis-form input::placeholder,
.devis-form textarea::placeholder { color: var(--ink-faint); font-weight: 400; }
.devis-form input:focus,
.devis-form select:focus,
.devis-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}
.devis-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%231E5A5E' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.devis-form textarea { resize: vertical; min-height: 130px; font-family: var(--font-body); }

.devis-form .file-label {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-btn);
  padding: 24px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  text-align: center;
}
.devis-form .file-label:hover { border-color: var(--accent); background: var(--accent-wash); }
.devis-form .file-label .lab { margin-bottom: 4px; }
.devis-form input[type="file"] {
  display: block;
  margin: 8px auto 0;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink);
}
.devis-form .file-hint {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 12.5px;
  color: var(--ink-faint);
}

.devis-form .checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: var(--space-lg);
}
.devis-form .checkbox input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.devis-form .checkbox a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.devis-form .checkbox a:hover { color: var(--accent); }

.devis-aside {
  padding: var(--space-md) clamp(24px, 3vw, 40px) var(--space-lg);
  background: var(--paper-2);
  border-top: 4px solid var(--accent);
  position: sticky;
  top: 100px;
}
.aside-block { padding-top: var(--space-md); }
.aside-block + .aside-block { margin-top: var(--space-sm); border-top: 1px solid var(--line-strong); }
.aside-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
}
.aside-phone {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  transition: color .2s;
}
.aside-phone:hover { color: var(--accent); }
.aside-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.5;
}
.aside-list li { position: relative; padding-left: 24px; }
.aside-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 4px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
}
.aside-block > p:not(.aside-title) {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: 4px;
}

.form-success {
  display: none;
  padding: var(--space-lg);
  background: var(--paper-2);
  border-top: 4px solid var(--accent);
}
.form-success.is-visible { display: block; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--ink);
}
.form-success p {
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: var(--space-md);
  max-width: 56ch;
}

/* ============ PAGES LÉGALES ============ */
.legal-content { padding: var(--space-xl) 0; }
.legal-text { max-width: 760px; margin: 0 auto; }
.legal-text h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  margin-top: var(--space-lg);
  margin-bottom: 16px;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.legal-text h2:first-child { margin-top: 0; }
.legal-text p { margin-bottom: 14px; line-height: 1.7; color: var(--ink-soft); }
.legal-text p strong { color: var(--ink); font-weight: 600; }
.legal-text ul { margin: 0 0 var(--space-md) 24px; }
.legal-text ul li {
  list-style: disc;
  margin-bottom: 8px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.legal-text a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.legal-text a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.legal-update {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-faint);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .header-tel { display: none; }
}

@media (max-width: 1000px) {
  .grw-wall__cols { columns: 2; }
  .grw__score { margin-left: 0; }
}

@media (max-width: 900px) {
  .nav-desktop, .header-cta, .header-contact { display: none; }
  .nav-toggle { display: flex; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }
  .hero-content { padding: clamp(40px, 7vh, 64px) 0 36px; }
  .hero-figure {
    min-height: 340px;
    margin: 0 calc(-1 * var(--gutter));
  }
  .hero-figure img {
    clip-path: polygon(0 clamp(14px, 3vw, 24px), 100% 0, 100% 100%, 0 100%);
  }
  .hero-gbadge { left: var(--gutter); }
  .hero-meta { margin-top: 30px; }

  .prow {
    grid-template-columns: 48px minmax(0, 1fr) 32px;
    grid-template-areas:
      "num title arrow"
      "num desc  arrow";
    row-gap: 8px;
  }
  .prow-num { grid-area: num; }
  .prow h3 { grid-area: title; }
  .prow p { grid-area: desc; }
  .prow-arrow { grid-area: arrow; align-self: center; }

  .apropos-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .apropos-image { max-width: 440px; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .footer-base { flex-direction: column; align-items: flex-start; }

  .prestation-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .prestation-section.reverse .prestation-image,
  .prestation-section.reverse .prestation-text { order: initial; }
  .prestation-image { max-width: 480px; aspect-ratio: 4/3; }

  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 140px; }
  .gallery-item, .gallery-item.gi-lg, .gallery-item.gi-wide, .gallery-item.gi-tall {
    grid-column: span 3;
    grid-row: span 2;
  }
  .gallery-item.gi-lg, .gallery-item.gi-tall { grid-column: span 6; grid-row: span 2; }
  .gallery-item figcaption { opacity: 1; transform: none; }

  .devis-grid { grid-template-columns: 1fr; }
  .devis-aside { position: static; order: -1; }
}

@media (max-width: 760px) {
  .callbar { display: flex; }
  body { padding-bottom: 76px; }
  .site-footer { padding-bottom: var(--space-lg); }
}

@media (max-width: 600px) {
  .grw-wall__cols { columns: 1; }
  .grw { flex-direction: column; align-items: flex-start; gap: 16px; }
  .grw__score { width: 100%; }
  .grw__cta { width: 100%; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }

  .hero-cta .btn { width: 100%; }
  .hero-meta li + li::before { margin: 0 10px; }

  .ba-label { font-size: 11.5px; padding: 5px 10px; }
  .ba-label-before { left: 12px; }
  .ba-label-after { right: 12px; }
  .ba-handle span { width: 48px; height: 36px; font-size: 13px; }

  .devis-form .form-row { grid-template-columns: 1fr; }
  .faq-list details > p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ ACCESSIBILITÉ ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
