/* ==========================================================================
   JBE · site vitrine
   Design system (direction V4 : blanc cassé + terracotta, esprit BTP)
   Recréé en HTML/CSS/JS à partir de la maquette Claude Design.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette B · blanc cassé + terracotta (esprit BTP) */
  --bg:           #FAF9F6;  /* blanc cassé */
  --bg2:          #ECEAE4;  /* béton */
  --ink:          #1A1A17;  /* encre */
  --ink-soft:     #56544E;  /* ardoise */
  --primary:      #9F4A2E;  /* terracotta */
  --primary-dark: #7A3622;
  --accent:       #3A5040;  /* sauge */
  --line:         #DCD9D1;  /* filet */
  --deep:         #1C1B18;  /* anthracite */

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1320px;
  --pad-x: clamp(20px, 5vw, 56px);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

em { font-style: italic; }

button { font: inherit; }

::selection { background: var(--primary); color: var(--bg); }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 8vw, 104px) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--bg2  { background: var(--bg2); }
.section--deep { background: var(--deep); color: var(--bg); }

.relayer { position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: var(--bg2); }

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

/* Section headings */
.h-section {
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.05;
  margin-top: 20px;
}
.h-big {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.04;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  transition: all .15s ease;
}
.btn svg { flex-shrink: 0; }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }

.btn--primary   { background: var(--primary); color: var(--bg); border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.btn--secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--secondary:hover { background: var(--primary); color: var(--bg); }

.btn--tertiary  { background: transparent; color: var(--ink); border: none; padding: 0;
                  text-decoration: underline; text-underline-offset: 4px; }

.btn--light     { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn--light:hover { border-color: var(--ink); }

/* On dark / coloured backgrounds */
.btn--on-dark   { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn--on-dark:hover { background: var(--bg2); }
.btn--ghost-light { background: transparent; color: var(--bg); border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); }

.btn--block { width: 100%; justify-content: space-between; padding: 17px 24px; font-weight: 600; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo svg { flex-shrink: 0; }
.logo__word {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.3px;
  line-height: 1.15;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.logo__word em { font-style: italic; display: block; }
.logo--dark .logo__word { color: var(--bg); border-left-color: rgba(255,255,255,.18); }

.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }

.header__actions { display: flex; gap: 12px; align-items: center; }
.header__tel {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink); text-decoration: none; font-weight: 500;
}

.burger {
  display: none;
  background: transparent;
  border: none;
  color: var(--ink);
  padding: 6px;
  cursor: pointer;
}

/* Mobile menu panel */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--bg);
  padding: 24px var(--pad-x);
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mobile-menu__close { background: transparent; border: none; cursor: pointer; color: var(--ink); padding: 6px; }
.mobile-menu .btn { width: 100%; margin-bottom: 6px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.mobile-menu nav a {
  font-family: var(--font-display); font-size: 24px; color: var(--ink);
  text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   6. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--deep);
  color: var(--bg);
  padding: 64px var(--pad-x) 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
}
.footer p { font-size: 14px; line-height: 1.65; color: var(--bg2); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__title {
  font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--bg2); opacity: .7; font-weight: 600; margin-bottom: 6px;
}
.footer__col a { font-size: 14px; color: var(--bg2); text-decoration: none; letter-spacing: -0.005em; }
.footer__col a:hover { color: var(--bg); }
.footer__rating { display: flex; gap: 4px; margin-top: 16px; align-items: center; }
.footer__rating span { font-size: 13px; color: var(--bg2); margin-left: 6px; }
/* Note Google : des étoiles dorées, pour que le 4.9 se voie sur le fond sombre. */
.footer__rating .stars svg { fill: #F2B01E; stroke: #F2B01E; }
.footer__bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--bg2); opacity: .75;
}
.footer__bottom a { color: var(--bg2); text-decoration: none; }
.footer__bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   7. Stars / Google badge
   -------------------------------------------------------------------------- */
.stars { display: inline-flex; gap: 2px; }
.stars svg { fill: var(--accent); stroke: var(--accent); }

.google-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; background: var(--bg); border: 1px solid var(--line);
  font-size: 13px; color: var(--ink); letter-spacing: -0.005em;
}
.google-badge b { font-weight: 600; }
.google-badge .muted { color: var(--ink-soft); }

.trust-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-soft);
}
.trust-row .trust-item { display: inline-flex; align-items: center; gap: 6px; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero { padding: clamp(56px, 7vw, 88px) var(--pad-x) clamp(64px, 8vw, 96px); position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.04; letter-spacing: -0.035em;
  margin: 24px 0 28px;
}
.hero h1 em { color: var(--primary); }
.hero .lead { margin-bottom: 36px; max-width: 540px; }
.hero__cta { display: flex; gap: 14px; margin-bottom: 32px; flex-wrap: wrap; }
.hero__media { position: relative; }

/* floating testimonial chip on hero photo */
.float-quote {
  position: absolute; bottom: 24px; left: -32px;
  background: var(--bg); padding: 20px 24px; border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0,0,0,.08); max-width: 280px;
}
.float-quote p { font-family: var(--font-display); font-size: 16px; line-height: 1.4; margin: 10px 0; letter-spacing: -0.01em; }
.float-quote .meta { font-size: 12px; color: var(--ink-soft); }

.float-badge {
  position: absolute; top: 32px; right: -28px;
  background: var(--bg); padding: 14px 18px; border: 1px solid var(--line);
  font-size: 12px; color: var(--ink-soft); max-width: 220px; letter-spacing: -0.005em;
}
.float-badge__kick {
  display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 1.5px;
  color: var(--primary); text-transform: uppercase; font-weight: 600; margin-bottom: 6px;
}
.float-badge strong { color: var(--ink); font-size: 14px; font-weight: 500; display: block; }

/* --------------------------------------------------------------------------
   9. Photo placeholder (rayures monospace, en attendant les vraies photos)
   -------------------------------------------------------------------------- */
.ph {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: repeating-linear-gradient(135deg, var(--bg2) 0 14px, var(--line) 14px 15px);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.ph__label {
  background: var(--bg); padding: 8px 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  color: var(--ink-soft); text-transform: uppercase; text-align: center;
  line-height: 1.4; max-width: 80%;
}
.ph__label .sub { opacity: .6; margin-top: 2px; }
.ph--hero { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 5 / 4; }

/* Photos réelles : mêmes gabarits que les placeholders .ph */
.photo { width: 100%; display: block; object-fit: cover; background: var(--bg2); }
.photo--hero { aspect-ratio: 4 / 5; }
.photo--portrait { aspect-ratio: 5 / 7; object-position: center top; }
.photo--card { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 5 / 4; }
picture { display: block; }
.svc-card picture { margin: -32px -32px 28px; }
.big-card picture { height: 100%; }
.big-card .photo { height: 100%; min-height: 260px; aspect-ratio: auto; }
.real-card .photo { aspect-ratio: 4 / 5; }
.ba__layer picture, .ba__layer .photo { width: 100%; height: 100%; display: block; }
.ba__layer .photo { object-fit: cover; aspect-ratio: auto; }
.ba__frame--photo { height: auto; aspect-ratio: 3 / 2; }
.ba-montage { width: 100%; display: block; }
.ba-montage img { width: 100%; height: auto; display: block; }

/* Paire avant / après (photos non cadrées à l'identique) */
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-pair figure { margin: 0; position: relative; overflow: hidden; }
.ba-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.ba-pair figcaption {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; padding: 6px 12px;
}
.ba-pair .is-before figcaption { background: var(--deep); color: var(--bg); }
.ba-pair .is-after figcaption { background: var(--bg); color: var(--ink); }


/* --------------------------------------------------------------------------
   10. Service triptych cards
   -------------------------------------------------------------------------- */
.triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: var(--bg); border: 1px solid var(--line); padding: 32px;
  display: flex; flex-direction: column;
}
.svc-card .ph { margin: -32px -32px 28px; }
.svc-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.svc-card__num { font-size: 11px; letter-spacing: 2px; color: var(--ink-soft); font-weight: 600; }
.svc-card h3 { font-weight: 500; font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.02em; margin-bottom: 14px; }
.svc-card p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 24px; flex: 1; }
.link-arrow {
  font-size: 14px; color: var(--ink); text-decoration: none; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--ink); padding-bottom: 4px; align-self: flex-start;
}
.link-arrow:hover { gap: 12px; }

.split-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px; gap: 48px; flex-wrap: wrap;
}
.split-head p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); max-width: 380px; }
.center-head { text-align: center; margin-bottom: 56px; }
.center-head h2 { margin-inline: auto; max-width: 720px; }

/* --------------------------------------------------------------------------
   11. Before / after slider
   -------------------------------------------------------------------------- */
.ba__frame {
  position: relative; width: 100%; height: var(--h, 360px);
  overflow: hidden; background: var(--bg2); cursor: ew-resize; user-select: none;
  touch-action: none;
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer .ph { height: 100%; aspect-ratio: auto; }
.ba__before { clip-path: inset(0 50% 0 0); }
.ba__tag {
  position: absolute; top: 12px; padding: 4px 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
}
.ba__tag--after { right: 12px; background: var(--bg); color: var(--ink); }
.ba__tag--before { left: 12px; background: var(--deep); color: var(--bg); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: var(--bg); transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.2);
}
.ba__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 40px; height: 40px; background: var(--bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2), 0 0 0 1px rgba(0,0,0,.1);
}
.ba__caption { margin-top: 12px; font-size: 13px; color: var(--ink-soft); letter-spacing: -0.01em; }
.ba__caption strong { color: var(--ink); font-weight: 500; }

.ba-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.ba-grid__stack { display: flex; flex-direction: column; gap: 24px; }

/* --------------------------------------------------------------------------
   12. "Pourquoi JBE" dark grid
   -------------------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: flex-start; }
.why-grid .eyebrow--light::before { background: var(--bg2); }
.why-grid h2 { color: var(--bg); }
.why-grid h2 em { color: var(--accent); }
.why-items { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; row-gap: 48px; }
.why-item h3 { font-weight: 500; font-size: 22px; letter-spacing: -0.02em; color: var(--bg); margin: 16px 0 10px; }
.why-item p { font-size: 14.5px; line-height: 1.65; color: var(--bg2); opacity: .85; }
.why-item svg { stroke: var(--accent); }

/* --------------------------------------------------------------------------
   13. Avis cards
   -------------------------------------------------------------------------- */
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.avis-card { padding: 28px; background: var(--bg); border: 1px solid var(--line); }
.avis-card p { font-family: var(--font-display); font-size: 19px; line-height: 1.45; margin: 14px 0 18px; letter-spacing: -0.015em; }
.avis-card .who { font-size: 13px; color: var(--ink-soft); letter-spacing: -0.005em; }
.avis-card .who b { color: var(--ink); font-weight: 500; }
.avis-card .who .proj { margin-top: 2px; font-size: 12px; opacity: .8; }

/* --------------------------------------------------------------------------
   14. Zones + map
   -------------------------------------------------------------------------- */
.zones-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13px; padding: 8px 14px; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; background: var(--bg);
}
.chip:hover { border-color: var(--ink); }
.map {
  position: relative; aspect-ratio: 16/11; background: var(--bg);
  border: 1px solid var(--line); overflow: hidden;
}
.map__caption {
  position: absolute; bottom: 16px; left: 16px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px;
  color: var(--ink-soft); text-transform: uppercase; background: var(--bg);
  padding: 4px 8px; border: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   15. Pricing tables
   -------------------------------------------------------------------------- */
.price-table { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.price-cell { padding: 36px; border-right: 1px solid var(--line); }
.price-cell:last-child { border-right: none; }
.price-cell--featured { background: var(--ink); color: var(--bg); }
.price-cell__label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; opacity: .6; margin-bottom: 14px; }
.price-cell__from { font-size: 13px; opacity: .6; }
.price-cell__amount { font-family: var(--font-display); font-size: clamp(40px, 5vw, 56px); letter-spacing: -0.04em; line-height: 1; }
.price-cell__amount small { font-size: 22px; }
/* Une fourchette tient deux nombres : elle a besoin d'un corps plus petit. */
.price-cell__amount--range { font-size: clamp(28px, 3.2vw, 38px); white-space: nowrap; }
.price-cell__amount--range small { font-size: 17px; }
.price-cell__dur { font-size: 13px; opacity: .7; margin: 6px 0 24px; display: flex; align-items: center; gap: 6px; }
.price-cell__items { display: flex; flex-direction: column; gap: 10px; }
.price-cell__items .it { display: flex; align-items: center; gap: 10px; font-size: 14px; opacity: .9; }
.price-cell__items .it svg { stroke: var(--primary); flex-shrink: 0; }
.price-cell--featured .it svg { stroke: var(--accent); }
.price-disclaimer { font-size: 13px; color: var(--ink-soft); font-style: italic; margin-top: 24px; }

/* Dark pricing variant (service pages) */
.price-table--dark { border: none; grid-template-columns: repeat(3, 1fr); }
.price-table--dark .price-cell { border-right: 1px solid rgba(255,255,255,.12); }
.price-table--dark .price-cell:last-child { border-right: none; }
.price-table--dark .price-cell--featured { background: rgba(255,255,255,.04); color: var(--bg); }
.price-cell__size { font-size: 13px; opacity: .7; margin-bottom: 24px; }
/* Une seule fourchette : elle occupe toute la largeur au lieu d'un tiers. */
.price-table--single { grid-template-columns: 1fr; }
.price-table--single .price-cell { border-right: none; }
.price-cell__range { font-family: var(--font-display); font-size: clamp(34px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1; }
.price-cell__range .dash { opacity: .5; font-size: 18px; }
.price-cell__unit { font-size: 12px; letter-spacing: 1.5px; opacity: .7; margin-top: 6px; }
.price-cell__incl { font-size: 14px; line-height: 1.5; margin-top: 24px; opacity: .85; }
.price-table--dark .price-cell--featured .price-cell__label { color: var(--primary); }

/* --------------------------------------------------------------------------
   16. Mid CTA band + sticky bar
   -------------------------------------------------------------------------- */
.cta-band { padding: 72px var(--pad-x); position: relative; overflow: hidden; }
.cta-band--primary { background: var(--primary); color: var(--bg); }
.cta-band--bg2 { background: var(--bg2); color: var(--ink); }
.cta-band__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.cta-band h2 { font-size: clamp(32px, 4vw, 42px); line-height: 1.06; max-width: 620px; }
.cta-band--primary h2 { color: var(--bg); }
.cta-band p { font-size: 17px; line-height: 1.5; margin-top: 16px; max-width: 520px; }
.cta-band--primary p { color: var(--bg2); }
.cta-band--bg2 p { color: var(--ink-soft); }
.cta-stack { display: flex; flex-direction: column; gap: 12px; }
.cta-note { font-size: 12.5px; text-align: center; margin-top: 2px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.cta-band--primary .cta-note { color: var(--bg2); }
.cta-band--bg2 .cta-note { color: var(--ink-soft); }

/* big final CTA section */
.cta-final { background: var(--primary); color: var(--bg); }
.cta-final h2 { color: var(--bg); }
.cta-final p { color: var(--bg2); }
.cta-final__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.cta-final--center { text-align: center; }
.cta-final--center .cta-final__inner { max-width: 720px; margin-inline: auto; }

.sticky-bar {
  position: sticky; bottom: 0; z-index: 40;
  background: var(--ink); color: var(--bg);
  padding: 14px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-top: 2px solid var(--primary);
}
.sticky-bar__msg { display: flex; align-items: center; gap: 14px; }
.sticky-bar__msg .t { font-family: var(--font-display); font-size: 18px; letter-spacing: -0.015em; }
.sticky-bar__msg .s { font-size: 13px; color: var(--bg2); opacity: .85; }
.sticky-bar__actions { display: flex; align-items: center; gap: 12px; }
.sticky-bar__tel { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--bg); text-decoration: none; }

/* --------------------------------------------------------------------------
   17. Editorial quote (service intro)
   -------------------------------------------------------------------------- */
.editorial { max-width: 820px; margin-inline: auto; }
.editorial blockquote {
  font-family: var(--font-display); font-size: clamp(22px, 3vw, 28px); line-height: 1.5;
  letter-spacing: -0.02em; font-style: italic; font-weight: 400;
}
.editorial .by { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.editorial .by .av { width: 56px; height: 56px; border-radius: 50%; background: var(--line); flex-shrink: 0; }
.editorial .by .n { font-size: 14px; font-weight: 500; }
.editorial .by .r { font-size: 13px; color: var(--ink-soft); }

/* prestations list */
.prest-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: flex-start; }
.prest-grid h2 { margin: 20px 0 24px; }
.prest-grid > div > p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.prest-items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.prest-items .it {
  display: flex; align-items: center; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid var(--line); font-size: 15px;
}
.prest-items .it svg { stroke: var(--primary); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   18. Timeline (7 étapes)
   -------------------------------------------------------------------------- */
.timeline { display: grid; grid-template-columns: repeat(7, 1fr); position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 20px; left: 7%; right: 7%; height: 1px; background: var(--line);
}
.tl-step { padding: 0 12px; }
.tl-step__dot {
  width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; letter-spacing: 1px; margin: 0 auto 20px; position: relative; z-index: 1;
}
.tl-step h4 { font-weight: 500; font-size: 17px; letter-spacing: -0.015em; text-align: center; margin-bottom: 8px; }
.tl-step p { font-size: 13px; line-height: 1.55; color: var(--ink-soft); text-align: center; }

/* --------------------------------------------------------------------------
   19. FAQ accordion
   -------------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: flex-start; }
.faq-grid h2 { margin: 20px 0 24px; }
.faq-grid .intro { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.faq-grid .intro a { color: var(--ink); font-weight: 500; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: transparent; border: none; cursor: pointer;
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.015em;
  color: var(--ink); text-align: left;
}
.faq-q .chev { color: var(--primary); transition: transform .2s; flex-shrink: 0; }
.faq-item.is-open .chev { transform: rotate(180deg); }
.faq-a { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); max-width: 620px;
         display: none; padding-bottom: 24px; }
.faq-item.is-open .faq-a { display: block; }

/* breadcrumb */
.crumb { padding: 20px var(--pad-x); font-size: 13px; color: var(--ink-soft); letter-spacing: -0.005em; }
.crumb a { color: var(--ink-soft); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.crumb .sep { margin: 0 10px; opacity: .5; }
.crumb .cur { color: var(--ink); }

.svc-meta-row { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.svc-meta-row .m { font-size: 13px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; }

/* --------------------------------------------------------------------------
   20. Devis form
   -------------------------------------------------------------------------- */
.form-card { background: var(--bg); padding: 40px; border: 1px solid var(--line); }
.form-progress { display: flex; gap: 6px; margin-bottom: 28px; }
.form-progress span { flex: 1; height: 3px; background: var(--line); transition: background .2s; }
.form-progress span.on { background: var(--primary); }
.form-step-label { font-size: 12px; letter-spacing: 1.5px; color: var(--ink-soft); text-transform: uppercase; margin-bottom: 8px; }
.form-card h3 { font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.02em; font-weight: 500; margin-bottom: 28px; }
.form-step { display: none; }
.form-step.is-active { display: block; }

.field { margin-bottom: 22px; }
.field > label, .field-label .opt { font-weight: 400; font-size: 12px; color: var(--ink-soft); opacity: .8; }
.field-label {
  display: block; font-size: 13px; letter-spacing: -0.005em; color: var(--ink);
  font-weight: 500; margin-bottom: 8px;
}
.field-label .opt { color: var(--ink-soft); font-weight: 400; }
.input, textarea.input {
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 15px;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink);
  border-radius: 2px; outline: none;
}
.input:focus { border-color: var(--primary); }
textarea.input { resize: vertical; }
.field-err { font-size: 12px; color: var(--primary); margin-top: 6px; display: none; }
.field-err.show { display: block; }

.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.type-opt {
  padding: 16px 14px; background: transparent; color: var(--ink); border: 1px solid var(--line);
  border-radius: 2px; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  font-size: 14px; font-weight: 500; text-align: left;
}
.type-opt.sel { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.radio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.radio-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.radio-opt {
  padding: 12px 14px; font-size: 14px; background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 2px; cursor: pointer; text-align: left;
}
.radio-opt.sel { background: var(--ink); color: var(--bg); border-color: var(--ink); }

input[type="range"] { width: 100%; accent-color: var(--primary); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--ink-soft); cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--primary); flex-shrink: 0; }
.consent a { color: var(--ink); text-underline-offset: 3px; }

.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; gap: 12px; }
.form-back { background: transparent; border: none; padding: 0; font-size: 14px; color: var(--ink-soft); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

.form-success { background: var(--bg); padding: 48px; border: 1px solid var(--line); }
.form-success__head { display: flex; align-items: center; gap: 12px; color: var(--primary); margin-bottom: 18px; }
.form-success__head .t { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.02em; color: var(--ink); }
.form-success p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.form-success p b { color: var(--ink); font-weight: 500; }

/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   21. Contact specifics
   -------------------------------------------------------------------------- */
.contact-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.way-card { padding: 32px; background: var(--bg2); border: 1px solid var(--line); display: flex; flex-direction: column; }
.way-card svg { stroke: var(--primary); }
.way-card .kick { font-size: 11px; letter-spacing: 1.8px; color: var(--ink-soft); text-transform: uppercase; font-weight: 600; margin: 24px 0 8px; }
.way-card h3 { font-weight: 500; font-size: 26px; letter-spacing: -0.02em; margin-bottom: 14px; }
.way-card p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 28px; flex: 1; }

.form-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: flex-start; }
.contact-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 32px; }
.info-card-dark { background: var(--deep); color: var(--bg); padding: 32px; }
.info-card-dark .kick { font-size: 11px; letter-spacing: 1.8px; color: var(--bg2); text-transform: uppercase; font-weight: 600; margin-bottom: 14px; opacity: .7; }
.info-card-dark .name { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; margin-bottom: 4px; }
.info-card-dark .addr { font-size: 14px; line-height: 1.65; color: var(--bg2); margin-bottom: 24px; opacity: .9; }
.info-card-dark .links { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }
.info-card-dark .links a { font-size: 14px; color: var(--bg2); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.info-card-dark .links a.tel { font-size: 15px; color: var(--bg); }
.info-card { background: var(--bg); padding: 28px; border: 1px solid var(--line); }
.info-card .kick { font-size: 11px; letter-spacing: 1.8px; color: var(--ink-soft); text-transform: uppercase; font-weight: 600; margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.hours-row { display: flex; justify-content: space-between; font-size: 14px; line-height: 1.8; }
.hours-row .d { color: var(--ink-soft); }
.form-error {
  margin: 0 0 16px; padding: 14px 16px; border: 1px solid #c0563a;
  background: rgba(192, 86, 58, 0.07); color: var(--ink);
  font-size: 14px; line-height: 1.55; border-radius: 2px;
}
.form-error a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.hours-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
.rating-card .big { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.02em; line-height: 1; margin: 10px 0 4px; }
.rating-card .sub { font-size: 13px; color: var(--ink-soft); }
.rating-card a { font-size: 13px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; margin-top: 12px; display: inline-block; }

.map-band { position: relative; height: 380px; background: var(--bg2); overflow: hidden; }
.map-card {
  position: absolute; top: 32px; right: var(--pad-x); background: var(--bg); padding: 28px; max-width: 320px;
  border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
.map-card .kick { font-size: 11px; letter-spacing: 1.8px; color: var(--primary); text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.map-card .a1 { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.02em; margin-bottom: 4px; }
.map-card .a2 { font-size: 14px; color: var(--ink-soft); margin-bottom: 20px; }

/* --------------------------------------------------------------------------
   22. Background patterns (esprit BTP), décoratifs, aria-hidden
   -------------------------------------------------------------------------- */
.bg-grid, .bg-corner, .bg-blueprint, .bg-contours { position: absolute; inset: 0; pointer-events: none; }

/* papier millimétré */
.bg-grid {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cpath d='M100 0H0V100' fill='none' stroke='%2356544E' stroke-width='0.9' opacity='0.7'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M20 0H0V20' fill='none' stroke='%2356544E' stroke-width='0.5' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 100px 100px, 20px 20px;
  opacity: .5;
}
.bg-grid--light {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cpath d='M100 0H0V100' fill='none' stroke='%23FAF9F6' stroke-width='0.9' opacity='0.7'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M20 0H0V20' fill='none' stroke='%23FAF9F6' stroke-width='0.5' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 100px 100px, 20px 20px;
  opacity: .25;
}

/* repères d'architecte : bordure pointillée + croix dans les coins (étirée comme la maquette) */
.bg-corner {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 700' preserveAspectRatio='none'%3E%3Crect x='28' y='28' width='1144' height='644' fill='none' stroke='%2356544E' stroke-width='0.8' opacity='0.35' stroke-dasharray='2 5'/%3E%3Cg stroke='%2356544E' stroke-width='1' opacity='0.5'%3E%3Cline x1='19' y1='28' x2='37' y2='28'/%3E%3Cline x1='28' y1='19' x2='28' y2='37'/%3E%3Cline x1='1163' y1='28' x2='1181' y2='28'/%3E%3Cline x1='1172' y1='19' x2='1172' y2='37'/%3E%3Cline x1='19' y1='672' x2='37' y2='672'/%3E%3Cline x1='28' y1='663' x2='28' y2='681'/%3E%3Cline x1='1163' y1='672' x2='1181' y2='672'/%3E%3Cline x1='1172' y1='663' x2='1172' y2='681'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: .7;
}
.bg-corner--light {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 700' preserveAspectRatio='none'%3E%3Crect x='28' y='28' width='1144' height='644' fill='none' stroke='%23FAF9F6' stroke-width='0.8' opacity='0.35' stroke-dasharray='2 5'/%3E%3Cg stroke='%23FAF9F6' stroke-width='1' opacity='0.5'%3E%3Cline x1='19' y1='28' x2='37' y2='28'/%3E%3Cline x1='28' y1='19' x2='28' y2='37'/%3E%3Cline x1='1163' y1='28' x2='1181' y2='28'/%3E%3Cline x1='1172' y1='19' x2='1172' y2='37'/%3E%3Cline x1='19' y1='672' x2='37' y2='672'/%3E%3Cline x1='28' y1='663' x2='28' y2='681'/%3E%3Cline x1='1163' y1='672' x2='1181' y2='672'/%3E%3Cline x1='1172' y1='663' x2='1172' y2='681'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: .9;
}

/* plan technique coté · inline SVG dans le HTML, ce conteneur ne fait que positionner */
.bg-blueprint svg { width: 100%; height: 100%; }

/* --------------------------------------------------------------------------
   23. Pages secondaires (services chapeau, réalisations, tarifs, avis, zones, légal)
   -------------------------------------------------------------------------- */
/* Hero "texte seul" pour les pages de profondeur */
.page-hero { padding: clamp(56px, 7vw, 88px) var(--pad-x) clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.03; letter-spacing: -0.035em; margin: 24px 0 24px; }
.page-hero h1 em { color: var(--primary); }
.page-hero .lead { font-size: 20px; max-width: 640px; }

/* Cards de service (page chapeau) */
.big-card {
  background: var(--bg); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1.2fr; align-items: stretch;
}
.big-card .ph { aspect-ratio: auto; height: 100%; min-height: 260px; }
.big-card__body { padding: 40px; display: flex; flex-direction: column; }
.big-card__body h3 { font-weight: 500; font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.02em; margin-bottom: 14px; }
.big-card__body p { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 24px; flex: 1; }
.big-card__price { font-size: 13px; color: var(--ink-soft); margin-bottom: 20px; }
.big-card__price b { color: var(--primary); font-weight: 600; }
.cards-stack { display: flex; flex-direction: column; gap: 24px; }

/* Filtres réalisations */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-btn {
  font-size: 13px; padding: 9px 16px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); cursor: pointer; border-radius: 2px;
  font-family: var(--font-body);
}
.filter-btn.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.real-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.real-card { background: var(--bg); border: 1px solid var(--line); }
.real-card .ph { aspect-ratio: 4/5; }
.real-card__body { padding: 22px 24px 26px; }
.real-card__badge {
  display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--primary); border: 1px solid var(--line); padding: 3px 8px; margin-bottom: 12px;
}
.real-card h3 { font-weight: 500; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 6px; }
.real-card .meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .5px; color: var(--ink-soft); text-transform: uppercase; }
.real-card.is-hidden { display: none; }

/* Bandeau note global (avis) */
.rating-banner {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  padding: 40px; border: 1px solid var(--line); background: var(--bg2);
}
.rating-banner__big { font-family: var(--font-display); font-size: 72px; line-height: 1; letter-spacing: -0.04em; color: var(--primary); }
.rating-banner__block .label { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; }
.rating-banner__block .sub { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.rating-banner__sep { width: 1px; align-self: stretch; background: var(--line); }

/* Tarifs : tableau unifié + engagements */
.tarif-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.tarif-row__name { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; }
.tarif-row__name .d { font-family: var(--font-body); font-size: 13px; color: var(--ink-soft); display: block; margin-top: 4px; }
.tarif-row__price { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.02em; color: var(--primary); }
.tarif-row__dur { font-size: 14px; color: var(--ink-soft); }
.engagements { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
.engagements .it { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; padding: 12px 0; border-bottom: 1px solid var(--line); }
.engagements .it svg { stroke: var(--primary); flex-shrink: 0; margin-top: 3px; }

/* Zones : groupes de communes */
.commune-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.commune-group h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: -0.015em; margin-bottom: 14px; }

/* Prose (pages légales) */
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; letter-spacing: -0.02em; margin: 40px 0 14px; }
.prose h3 { font-size: 20px; letter-spacing: -0.015em; margin: 28px 0 10px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--primary); }
.prose strong { color: var(--ink); }
.prose .updated { font-family: var(--font-mono); font-size: 12px; letter-spacing: .5px; color: var(--ink-soft); text-transform: uppercase; margin-top: 40px; }

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-items { gap: 32px; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .timeline::before { display: none; }
}

@media (max-width: 900px) {
  .nav, .header__tel { display: none; }
  .burger { display: inline-flex; }
  .hero__grid, .zones-grid, .prest-grid, .faq-grid, .why-grid, .cta-band__grid,
  .cta-final__grid, .form-layout { grid-template-columns: 1fr; gap: 40px; }
  .triptych, .avis-grid, .contact-ways { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .price-table, .price-table--dark { grid-template-columns: 1fr; }
  .price-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .price-table--dark .price-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .float-quote { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .float-badge { right: 0; }
  .contact-aside { position: static; }
  .hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .prest-items { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: 1fr 1fr; }
  .ba-grid__stack { gap: 16px; }
  .big-card { grid-template-columns: 1fr; }
  .big-card .ph { min-height: 220px; }
  .real-grid { grid-template-columns: 1fr 1fr; }
  .commune-groups, .engagements, .ba-pair { grid-template-columns: 1fr; }
  .tarif-row { grid-template-columns: 1fr; gap: 6px; }
  .rating-banner__sep { display: none; }
}

@media (max-width: 560px) {
  .real-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .sticky-bar { flex-direction: column; gap: 12px; align-items: stretch; text-align: center; }
  .sticky-bar__msg, .sticky-bar__actions { justify-content: center; flex-wrap: wrap; }
  .radio-grid, .radio-grid--3 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .form-card, .form-success { padding: 24px; }
  .cta-final--center h2 { font-size: clamp(30px, 9vw, 44px); }
}
