/* ===================================================================
   LD PLUS SERVICES — Feuille de style (archétype « artisan local chaleureux,
   estimateur avant tout »)
   Palette : vert feuille + crème + terracotta sur blanc cassé chaud
   Typo : Nunito Sans (humaniste) + Fraunces (lignes émotionnelles)
   =================================================================== */

:root {
  /* Couleurs — vert feuille */
  --leaf-900: #1f3d24;
  --leaf-800: #254c2d;
  --leaf-700: #2f613a;
  --leaf-600: #3c7a48;
  --leaf-500: #4f9259;
  --leaf-400: #7caf81;
  --leaf-200: #c7dec8;
  --leaf-100: #e7f1e5;
  --leaf-50:  #f3f8f0;

  /* Crème / sable chaud */
  --cream:    #fbf7ed;
  --cream-2:  #f6efdf;
  --beige:    #efe4cd;
  --sand:     #e6d5b4;
  --sand-soft:#f1e8d4;

  /* Terracotta */
  --terra-700: #9c452c;
  --terra-600: #b65637;
  --terra:     #cf6c47;
  --terra-300: #e6a083;
  --terra-100: #f8e2d6;
  --terra-50:  #fbece3;

  /* Texte */
  --ink:       #2f2a20;
  --ink-soft:  #453f32;
  --muted:     #756b57;
  --muted-2:   #97896f;
  --line:      #e8dcc3;
  --line-soft: #efe7d6;

  /* Typographie */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito Sans', 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Divers */
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 32px;
  --shadow: 0 8px 24px rgba(90, 72, 45, .08);
  --shadow-lg: 0 24px 60px rgba(90, 72, 45, .16);
  --maxw: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--leaf-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terra-600); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.6em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 em, h2 em { font-style: italic; color: var(--terra-600); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
strong { color: var(--ink); }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; border-radius: 6px; }

/* ---------- Utilitaires ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(56px, 9vw, 108px) 0; }
.section--tint { background: var(--leaf-50); }
.section--cream2 { background: var(--cream-2); }
.section--green {
  background:
    radial-gradient(900px 460px at 90% -10%, rgba(207, 108, 71, .22), transparent 60%),
    linear-gradient(155deg, var(--leaf-800), var(--leaf-700));
  color: #eef4e9;
}
.section--green h1, .section--green h2, .section--green h3 { color: #f8fbf4; }
.section--green p, .section--green li { color: #e0eadb; }
.narrow { max-width: 760px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terra-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 20px; height: 20px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23cf6c47' d='M12 2.5C6.6 8 3.5 12.4 3.5 16.3a8.5 8.5 0 0 0 17 0c0-3.9-3.1-8.3-8.5-13.8Zm0 3.6c2.3 2.4 3.4 4.8 3.4 6.2a3.4 3.4 0 1 1-6.8 0c0-1.4 1-3.8 3.4-6.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.section--green .eyebrow { color: #f4c3a6; }
.section--green .eyebrow::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f4c3a6' d='M12 2.5C6.6 8 3.5 12.4 3.5 16.3a8.5 8.5 0 0 0 17 0c0-3.9-3.1-8.3-8.5-13.8Zm0 3.6c2.3 2.4 3.4 4.8 3.4 6.2a3.4 3.4 0 1 1-6.8 0c0-1.4 1-3.8 3.4-6.2Z'/%3E%3C/svg%3E");
}

.lead { font-size: 1.16rem; color: var(--muted); }
.section--green .lead { color: #dbe7d1; }

.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center.narrow, .narrow.center { margin-left: auto; margin-right: auto; }

.muted { color: var(--muted); }

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

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-size: 16px; font-weight: 800; line-height: 1;
  cursor: pointer; text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--leaf-700); color: #fff; }
.btn--primary:hover { background: var(--leaf-600); color: #fff; box-shadow: 0 12px 26px rgba(47, 97, 58, .32); }
.btn--cta { background: var(--terra); color: #fff; box-shadow: 0 10px 24px rgba(207, 108, 71, .28); }
.btn--cta:hover { background: var(--terra-600); color: #fff; box-shadow: 0 16px 32px rgba(207, 108, 71, .38); }
.btn--ghost { background: transparent; border-color: var(--leaf-600); color: var(--leaf-700); }
.btn--ghost:hover { background: var(--leaf-700); border-color: var(--leaf-700); color: #fff; }
.btn--ghost-light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); color: #f2f6ef; }
.btn--ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 32px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---------- Bandeau supérieur ---------- */
.topbar { background: var(--leaf-900); color: #dfe9da; font-size: 13px; }
.topbar-inner {
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center;
  justify-content: center; padding: 9px 0;
}
.topbar-item { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; letter-spacing: .02em; }
.topbar-item::before { content: "•"; color: var(--terra-300); }
.topbar-item--cta { color: #f4c3a6; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 247, 237, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo-mark {
  width: 44px; height: 44px; flex: none;
  filter: drop-shadow(0 3px 6px rgba(47, 97, 58, .18));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.02em; font-weight: 700; }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav a {
  padding: 10px 13px; border-radius: 999px; color: var(--ink-soft);
  font-size: 15.5px; font-weight: 700; text-decoration: none;
  position: relative;
}
.main-nav a:hover { color: var(--leaf-700); background: var(--leaf-100); }
.main-nav a.active { color: var(--terra-700); background: var(--terra-50); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%);
  width: 16px; height: 3px; border-radius: 3px; background: var(--terra);
}
.header-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- Sélecteur de langue (EN | FR) ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 800; letter-spacing: .04em;
  white-space: nowrap;
}
.lang-switch a { color: var(--muted); text-decoration: none; }
.lang-switch a:hover { color: var(--leaf-700); }
.lang-switch a.is-active { color: var(--terra-700); text-decoration: underline; text-underline-offset: 3px; }
.lang-switch .lang-switch__sep { color: var(--line); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* ---------- Héros : estimateur avant tout ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 560px at 88% -12%, rgba(207, 108, 71, .16), transparent 58%),
    radial-gradient(900px 520px at -8% 18%, rgba(120, 175, 129, .16), transparent 56%),
    linear-gradient(160deg, #fdfaf2 0%, #f3ead6 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none;
  background-image: radial-gradient(rgba(60, 122, 72, .05) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(26px, 5vw, 64px); align-items: center;
  padding: clamp(44px, 6.5vw, 84px) 0 clamp(40px, 5vw, 72px);
}
.hero-copy .eyebrow { margin-bottom: 16px; }
.hero-copy h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 700; }
.hero-copy h1 em { color: var(--leaf-600); }
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.26rem); color: var(--ink-soft); max-width: 520px; }
.hero-reassure {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 999px;
  padding: 8px 16px; font-size: 14px; font-weight: 700; color: var(--leaf-700);
  box-shadow: var(--shadow);
}
.hero-reassure svg { width: 18px; height: 18px; color: var(--leaf-600); flex: none; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; padding: 0; list-style: none; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--ink-soft); }
.hero-points li::before {
  content: "✓"; display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--leaf-100); color: var(--leaf-700); font-weight: 800; font-size: 12px;
}

/* Panneau estimateur (à droite, au cœur du héros) */
.estimator {
  position: relative;
  background: #fffdf8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(22px, 3vw, 32px);
}
.estimator::before {
  content: ""; position: absolute; top: -15px; left: 26px;
  width: 30px; height: 30px; border-radius: 10px; background: var(--terra);
  box-shadow: 0 6px 14px rgba(207,108,71,.35);
}
.estimator::before { content: ""; }
.estimator-badge {
  position: absolute; top: -14px; left: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--terra); color: #fff; font-size: 12.5px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; box-shadow: 0 8px 18px rgba(207,108,71,.35);
}
.estimator-kicker {
  display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2); margin-top: 14px; margin-bottom: 6px;
}
.estimator-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--leaf-800); display: block; margin-bottom: 6px; }
.estimator-intro { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; }
.estimator-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.estimator-field label { font-size: 14px; font-weight: 800; color: var(--ink-soft); }
.estimator-field select, .estimator-field input {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%;
  transition: border .15s ease, box-shadow .15s ease;
}
.estimator-field select:focus, .estimator-field input:focus {
  outline: none; border-color: var(--leaf-500);
  box-shadow: 0 0 0 4px rgba(79, 146, 89, .14); background: #fff;
}
.estimator-result {
  margin-top: 14px; padding: 16px 18px;
  background: linear-gradient(150deg, var(--leaf-50), #fff);
  border: 1px solid var(--leaf-200); border-radius: var(--radius);
}
.estimator-result[hidden] { display: none; }
.estimator-result-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--leaf-700); margin-bottom: 2px; }
.estimator-result-amount { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--leaf-800); line-height: 1.1; }
.estimator-result-note { font-size: 13.5px; color: var(--muted); margin: 8px 0 4px; }
.estimator-legal { font-size: 12.5px; color: var(--muted-2); margin: 14px 0 0; }

/* ---------- Galerie avant / après (dispositif portfolio dominant) ---------- */
.ba {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px);
  aspect-ratio: 16 / 10; background: #000;
  box-shadow: var(--shadow-lg); border: 2px solid #fff;
}
.ba-layer { position: absolute; inset: 0; }
.ba-layer svg { width: 100%; height: 100%; object-fit: cover; }
.ba-after { z-index: 1; }
.ba-before { z-index: 2; will-change: clip-path; }
.ba-handle {
  position: absolute; z-index: 4; top: 0; bottom: 0; width: 3px; background: #fff;
  left: 50%; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.12); pointer-events: none;
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--terra); box-shadow: 0 10px 22px rgba(0,0,0,.28); border: 3px solid #fff;
}
.ba-handle::before {
  content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 2; color: #fff; font-weight: 800; font-size: 18px; line-height: 1;
}
.ba-range { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag {
  position: absolute; z-index: 3; top: 14px; padding: 6px 13px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff;
}
.ba-tag--before { left: 14px; background: rgba(45, 52, 45, .72); }
.ba-tag--after { right: 14px; background: var(--leaf-600); }
.ba-caption {
  margin: 14px 2px 0; font-family: var(--font-display); font-size: 1.22rem; color: var(--ink);
}
.ba-caption small { display: block; font-family: var(--font-body); font-size: 14px; color: var(--muted); font-weight: 700; }
.ba-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }

/* ---------- Bandeau badges de confiance ---------- */
.trust-strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #fffdf6; }
.trust-strip .container {
  display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: space-between;
  align-items: center; padding-top: 20px; padding-bottom: 20px;
}
.trust-item { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; font-weight: 800; }
.trust-item svg { width: 24px; height: 24px; color: var(--leaf-600); flex: none; }

.badge-strip { background: var(--leaf-900); }
.badge-strip .container {
  display: flex; flex-wrap: wrap; gap: 16px 30px; justify-content: center;
  align-items: center; padding-top: 24px; padding-bottom: 24px;
}
.badge {
  display: inline-flex; align-items: center; gap: 11px;
  color: #e6efe1; font-size: 15px; font-weight: 800;
}
.badge svg { width: 26px; height: 26px; color: #f4c3a6; flex: none; }
.badge small { display: block; font-size: 12px; color: #a9bda3; font-weight: 700; line-height: 1.2; }

/* ---------- Témoignages (grands) ---------- */
.testimonial {
  position: relative;
  background: #fffdf8; border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.testimonial::before {
  content: "“"; position: absolute; top: -26px; left: 26px;
  font-family: var(--font-display); font-size: 96px; line-height: 1; color: var(--terra); opacity: .9;
}
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial .quote-text {
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--ink-soft); line-height: 1.5; margin: 8px 0 18px; font-style: italic;
}
.quote-stars { color: var(--terra); letter-spacing: 4px; margin-bottom: 10px; font-size: 16px; }
.quote-author { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--leaf-100); color: var(--leaf-700);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: var(--font-display); font-size: 1.05rem;
}
.quote-author strong { display: block; font-size: 15px; }
.quote-author span { font-size: 13px; color: var(--muted); }

/* ---------- Cartes chaudes (moins « marketing ») ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fffdf8; border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--leaf-100); color: var(--leaf-700); margin-bottom: 16px;
}
.card-icon--terra { background: var(--terra-100); color: var(--terra-700); }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 0; }
.card .link-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 800; font-size: 15px; text-decoration: none; }
.card .link-more::after { content: "→"; transition: transform .18s ease; }
.card .link-more:hover::after { transform: translateX(4px); }

.card-list { list-style: none; margin: 14px 0 0; padding: 0; }
.card-list li {
  padding: 9px 0; border-top: 1px solid var(--line-soft);
  font-size: 15px; color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start;
}
.card-list li::before { content: "✓"; color: var(--leaf-600); font-weight: 800; flex: none; }

/* ---------- « Nos métiers » : travaux que nous faisons ---------- */
.works { list-style: none; margin: 0; padding: 0; }
.work {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 22px; align-items: start;
  padding: 26px 22px; border-bottom: 1px solid var(--line-soft);
}
.work:first-child { border-top: 1px solid var(--line-soft); }
.work-num {
  font-family: var(--font-display); font-weight: 700; font-size: 1.9rem;
  color: var(--terra-600); line-height: 1;
}
.work h3 { font-size: 1.32rem; margin-bottom: 5px; }
.work p { color: var(--muted); font-size: 15.5px; margin: 0; max-width: 60ch; }
.work .link-more { align-self: center; font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; }
.work .link-more::after { content: "→"; margin-left: 6px; transition: transform .18s ease; }
.work .link-more:hover::after { transform: translateX(4px); }

/* ---------- Processus en 4 étapes numérotées ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; background: #fffdf8; border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 30px 22px 24px; box-shadow: var(--shadow);
}
.step::before {
  content: counter(step, decimal); counter-increment: step;
  position: absolute; top: -18px; left: 22px;
  width: 40px; height: 40px; border-radius: 14px;
  background: var(--leaf-700); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(47, 97, 58, .3);
}
.step h3 { font-size: 1.26rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

.step-tag { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--terra-600); margin-bottom: 6px; }

/* ---------- Projet / réalisation ---------- */
.project-card { background: #fffdf8; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.project-body { padding: 22px 26px 26px; }
.project-body h3 { font-size: 1.35rem; margin-bottom: 4px; }
.project-meta { font-size: 13px; color: var(--muted-2); font-weight: 800; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 12px; }
.project-body p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.project-savings { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.project-savings li { flex: 1; min-width: 110px; }
.project-savings strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--leaf-700); }
.project-savings span { font-size: 13px; color: var(--muted); }

/* ---------- Chiffres clés ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 26px 20px; text-align: center;
}
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.7rem); color: #fff; line-height: 1; }
.stat span { font-size: 14px; color: #d7e4d1; }

/* ---------- Blog ---------- */
.post { background: #fffdf8; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post-cat { align-self: flex-start; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--leaf-700); background: var(--leaf-100); padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.post-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.26rem; }
.post-body p { color: var(--muted); font-size: 15.5px; }
.post-date { margin-top: auto; font-size: 13px; color: var(--muted-2); }
.article { max-width: 820px; }
.article h2 { font-size: 1.8rem; margin-top: 1.6em; }
.article h3 { font-size: 1.3rem; margin-top: 1.4em; }
.article .tip { background: var(--leaf-50); border-left: 4px solid var(--leaf-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 18px; margin: 22px 0; }
.article .tip strong { color: var(--leaf-800); }

/* ---------- Timeline (processus détaillé) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.timeline li { counter-increment: step; position: relative; padding: 0 0 40px 86px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0;
  width: 60px; height: 60px; border-radius: 18px; background: var(--leaf-100); color: var(--leaf-700);
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.timeline li::after {
  content: ""; position: absolute; left: 29px; top: 60px; bottom: 0; width: 2px;
  background: repeating-linear-gradient(var(--line-soft) 0 6px, transparent 6px 12px);
}
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 1.35rem; margin-bottom: 6px; }
.timeline p { color: var(--muted); max-width: 560px; }

/* ---------- Formulaires ---------- */
.form-card { background: #fffdf8; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 800; color: var(--ink-soft); }
.field label .req { color: var(--terra); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%; transition: border .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf-500); box-shadow: 0 0 0 4px rgba(79, 146, 89, .14); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--muted-2); }
.checkbox { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--leaf-600); flex: none; }
.form-note { font-size: 13px; color: var(--muted-2); margin-top: 16px; }

.form-success {
  display: none; background: var(--leaf-50); border: 1px solid var(--leaf-200);
  border-radius: var(--radius-sm); padding: 20px; margin-bottom: 20px;
}
.form-success.is-visible { display: block; }
.form-success h3 { display: flex; align-items: center; gap: 9px; color: var(--leaf-800); font-size: 1.15rem; margin-bottom: 6px; }
.form-success p { margin: 0; color: var(--leaf-800); }

/* ---------- Simulateur ---------- */
.sim { background: #fffdf8; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.sim-head { background: linear-gradient(140deg, var(--leaf-800), var(--leaf-600)); color: #fff; padding: 26px 30px; }
.sim-head h2 { color: #fff; margin-bottom: 4px; font-size: 1.5rem; }
.sim-head p { color: #dbe7d6; margin: 0; font-size: 14.5px; }
.sim-body { padding: 28px 30px; }
.sim-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; }
.sim-step-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); margin-bottom: 8px; display: block; }
.sim-field { margin-bottom: 16px; }
.sim-field select { width: 100%; font-family: var(--font-body); font-size: 15.5px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); color: var(--ink); }
.sim-field select:focus { outline: none; border-color: var(--leaf-500); box-shadow: 0 0 0 4px rgba(79, 146, 89, .14); }
.sim-result { background: var(--cream-2); border-radius: var(--radius); padding: 22px; }
.sim-result h3 { font-size: 1.1rem; color: var(--leaf-800); margin-bottom: 10px; }
.sim-result .amount { font-family: var(--font-display); font-size: 2rem; color: var(--leaf-700); line-height: 1; margin-bottom: 4px; }
.sim-result .amount small { font-size: 1rem; color: var(--muted); font-family: var(--font-body); }
.sim-result ul { list-style: none; padding: 0; margin: 12px 0 0; }
.sim-result li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; display: flex; justify-content: space-between; gap: 10px; }
.sim-result li span:last-child { font-weight: 800; color: var(--ink); text-align: right; }
.sim-note { font-size: 12.5px; color: var(--muted-2); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fffdf8; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 16.5px; font-weight: 800; color: var(--ink);
  padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-q .faq-ico { font-size: 24px; color: var(--leaf-600); transition: transform .2s ease; flex: none; font-weight: 400; }
.faq-item.open .faq-ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 20px 20px; color: var(--muted); }

/* ---------- Tableaux (CGV / mentions) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: #fffdf8; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { background: var(--leaf-50); color: var(--leaf-800); font-weight: 800; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td .mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 14px; }

/* ---------- Pages légales (prose) ---------- */
.prose { max-width: 840px; }
.prose h2 { font-size: 1.65rem; margin-top: 1.7em; padding-top: .3em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose ul li, .prose ol li { margin-bottom: 7px; color: var(--ink-soft); }
.legal-block {
  background: #fffdf8; border: 1px solid var(--line-soft); border-left: 4px solid var(--terra);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 20px; margin: 22px 0;
}
.legal-block h3 { color: var(--terra-700); margin-bottom: 8px; }
.legal-block--green { border-left-color: var(--leaf-500); }
.legal-block--green h3 { color: var(--leaf-800); }
.legal-block p:last-child { margin-bottom: 0; }
.placeholder { display: inline-block; background: var(--beige); border: 1px dashed var(--muted-2); color: var(--muted); border-radius: 6px; padding: 1px 8px; font-size: .92em; font-weight: 700; }
.updated { font-size: 13px; color: var(--muted-2); }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--leaf-100); color: var(--leaf-800); font-size: 13px; font-weight: 800; }

/* ---------- Footer (signature chaleureuse) ---------- */
.site-footer {
  background:
    radial-gradient(1000px 460px at 10% 0%, rgba(255,255,255,.04), transparent 55%),
    var(--leaf-900);
  color: #d5e2cf; margin-top: 0;
}
.footer-signature {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 18px; padding: 56px 0 48px; border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-signature-line {
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.7rem, 4vw, 2.6rem);
  color: #f4efe0; margin: 0; max-width: 720px; line-height: 1.2;
}
.footer-signature-line em { color: #f4c3a6; }
.footer-signature svg { color: var(--leaf-400); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.15fr; gap: 38px; padding: 56px 0 40px; }
.site-footer .brand { color: #f4efe0; }
.site-footer .brand:hover { color: #f4efe0; }
.site-footer .brand-text small { color: #9db59b; }
.footer-tag { font-size: 14px; color: #b7c9b2; margin: 16px 0; max-width: 300px; }
.footer-id { list-style: none; padding: 0; margin: 0; }
.footer-id li { font-size: 13.5px; color: #b7c9b2; padding: 4px 0; }
.footer-id span { display: inline-block; min-width: 130px; color: #7d9a7a; font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: .05em; }
.site-footer h3 { color: #f4efe0; font-size: 15px; letter-spacing: .02em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-col ul li { margin-bottom: 10px; }
.site-footer .footer-col a { color: #c5d5bf; text-decoration: none; font-size: 14.5px; }
.site-footer .footer-col a:hover { color: #fff; text-decoration: underline; }
.site-footer address { color: #b7c9b2; font-size: 14.5px; line-height: 1.7; margin-bottom: 12px; }
.footer-hours { font-size: 13px; color: #8fae8c; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0 32px; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; }
.footer-legal-links a { color: #c5d5bf; text-decoration: none; font-size: 14px; }
.footer-legal-links a:hover { color: #fff; text-decoration: underline; }
.footer-copy { font-size: 13px; color: #93ab90; margin: 0; line-height: 1.6; }
.footer-copy strong { color: #dbe5d5; }

/* ---------- Bandeau cookies ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 720px; margin: 0 auto; background: #fffdf8; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px 22px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
}
.cookie-banner p { flex: 1 1 320px; margin: 0; font-size: 14px; color: var(--ink-soft); }
.cookie-banner p strong { color: var(--leaf-800); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner[hidden] { display: none; }

/* ---------- Divers ---------- */
.divider-leaf { display: flex; justify-content: center; color: var(--leaf-400); margin: 18px 0 4px; }
.divider-leaf svg { width: 44px; height: 24px; }
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; }
.cta-band .lead { color: #dbe7d6; max-width: 620px; margin: 0 auto 26px; }
.tagline-mini { color: var(--terra-300); font-weight: 800; }

.back-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 48px; height: 48px;
  border-radius: 14px; background: var(--terra); color: #fff; border: 0; cursor: pointer;
  box-shadow: var(--shadow-lg); display: none; align-items: center; justify-content: center; font-size: 20px;
}
.back-top.is-visible { display: flex; }
.back-top:hover { background: var(--terra-600); }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1020px) {
  .main-nav {
    position: fixed; inset: 78px 0 0 0; background: var(--cream); flex-direction: column;
    align-items: stretch; padding: 18px var(--gutter) 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease; gap: 6px; z-index: 55;
    border-left: 1px solid var(--line-soft);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 17px; padding: 14px 16px; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-item:nth-child(3) { display: none; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .estimator { max-width: 560px; }
  .grid-3, .grid-4, .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .ba-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { height: 68px; }
  .main-nav { top: 68px; }
  .topbar-item:nth-child(2) { display: none; }
  .grid-2, .grid-3, .grid-4, .testimonial-grid, .steps, .stats-band { grid-template-columns: 1fr; }
  .timeline li { padding-left: 70px; }
  .timeline li::before { width: 50px; height: 50px; font-size: 1.05rem; }
  .timeline li::after { left: 24px; }
  .sim-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 46px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .work { grid-template-columns: 46px 1fr; gap: 14px; }
  .work .link-more { grid-column: 2; justify-self: start; }
}
