﻿/* ============================================================
   RGC MENUISERIE · Direction artistique
   "Atelier d'artisan — noir & rouge, chaleureux"
   ============================================================ */

:root {
  /* Noir structurant — charbon chaud (ossature de la marque) */
  --forest-900: #14100E;
  --forest-800: #1C1714;
  --forest-700: #2A221E;
  --forest-600: #4A3F39;
  --forest-500: #6A5C53;

  /* Surfaces claires chaudes (papier kraft / atelier) */
  --cream:   #FAF6F0;
  --cream-2: #F1EADF;
  --paper:   #FFFFFF;

  /* Encre & texte (chauds) */
  --ink:      #1B1512;
  --ink-soft: #5B504A;
  --ink-mute: #938880;

  /* Ocre / sable — chaleur d'atelier (détails, étoiles, placeholders) */
  --wood:    #B07C3C;
  --wood-2:  #D6A861;
  --wood-bg: #E7D7BD;

  /* ACCENT — ROUGE DE MARQUE (maroon du logo R.G.C) : CTA & points de conversion */
  --brand:       #641311; /* maroon exact de la porte du logo */
  --accent:      #6E1512;
  --accent-deep: #4E0C0A;
  --accent-ink:  #FFFFFF;
  --accent-bg:   #F4E1DD;

  /* Lignes & ombres (chaudes) */
  --line:        rgba(27, 21, 18, 0.14);
  --line-soft:   rgba(27, 21, 18, 0.07);
  --shadow-sm:   0 1px 2px rgba(20, 16, 14, 0.06), 0 2px 8px rgba(20, 16, 14, 0.06);
  --shadow-md:   0 12px 32px rgba(20, 16, 14, 0.12), 0 2px 8px rgba(20, 16, 14, 0.07);
  --shadow-lg:   0 30px 70px rgba(20, 16, 14, 0.26);

  /* Typo (pilotée par les Tweaks) */
  --font-head: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --gutter: clamp(20px, 5vw, 64px);

  --header-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* When the serif heading tweak is active, ease the tracking */
body[data-headfont="serif"] h1,
body[data-headfont="serif"] h2,
body[data-headfont="serif"] h3 { letter-spacing: -0.01em; font-weight: 600; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 120px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--forest-600);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.eyebrow svg { width: 15px; height: 15px; }

.section-head { max-width: 680px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 50px); }
.section-head .lead { margin-top: 16px; font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }

/* PRIMARY = devis = accent, dominant */
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 8px 20px -6px color-mix(in oklab, var(--accent), black 12%);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -8px color-mix(in oklab, var(--accent), black 18%); }

/* SECONDARY = RDV */
.btn-secondary {
  background: transparent; color: var(--forest-800); border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--forest-700); background: rgba(27,21,18,.05); }

.btn-on-dark.btn-secondary { color: #fff; border-color: rgba(255,255,255,.34); }
.btn-on-dark.btn-secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }

/* SAV / dépannage — service rapide, ton accent doux */
.btn-sav {
  background: color-mix(in oklab, var(--accent), transparent 90%);
  color: var(--accent-deep);
  border-color: color-mix(in oklab, var(--accent), transparent 62%);
}
.btn-sav:hover { background: color-mix(in oklab, var(--accent), transparent 80%); border-color: var(--accent); transform: translateY(-2px); }
.btn-sav svg { width: 17px; height: 17px; }

.btn-ghost { background: transparent; padding: 10px 14px; color: var(--forest-800); font-weight: 700; }
.btn-ghost:hover { color: var(--accent-deep); }

.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--forest-700); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover { color: var(--accent-deep); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--cream), white 18%);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.header[data-stuck="true"] {
  background: color-mix(in oklab, var(--cream), white 40%);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.header-inner { max-width: 1380px; margin: 0 auto; padding-inline: clamp(16px, 3vw, 44px); display: flex; align-items: center; gap: 16px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-img {
  height: 46px; width: auto; display: block; flex: none;
  border-radius: 9px; box-shadow: var(--shadow-sm);
}
.logo-mark {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  display: block; overflow: hidden; box-shadow: var(--shadow-sm);
}
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-text { line-height: 1.05; }
.logo-text b { font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; display: block; white-space: nowrap; }
.logo-text span { font-size: 11.5px; color: var(--ink-soft); font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.logo-text [data-rep] { color: var(--wood); }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 10px; position: relative; }
.nav a {
  font-weight: 600; font-size: 15px; color: var(--ink); padding: 9px 15px; border-radius: 999px;
  white-space: nowrap; position: relative; z-index: 1;
  transition: color .25s ease;
}
.nav a:hover { color: var(--accent-deep); }
.nav a[data-active="true"] { color: var(--accent-deep); }

/* Tubelight — pastille glissante + barre lumineuse */
.nav-lamp {
  position: absolute; top: 0; height: 100%; border-radius: 999px; z-index: 0; pointer-events: none;
  background: color-mix(in oklab, var(--accent), transparent 90%);
  opacity: 0;
}
.nav-lamp[data-ready="true"] { opacity: 1; }
.nav-lamp[data-animate="true"] {
  transition: left .42s cubic-bezier(.34, 1.28, .5, 1), width .42s cubic-bezier(.34, 1.28, .5, 1), opacity .3s ease;
}
.nav-bar {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 4px; background: var(--accent); border-radius: 0 0 7px 7px;
  box-shadow: 0 0 14px 1px color-mix(in oklab, var(--accent), transparent 25%);
}
.nav-bar::before {
  content: ""; position: absolute; left: 50%; top: -1px; transform: translateX(-50%);
  width: 52px; height: 22px; border-radius: 50%; filter: blur(7px);
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent), transparent 52%), transparent);
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tel-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--forest-800); padding: 9px 12px; border-radius: 9px; white-space: nowrap; }
.tel-link svg { width: 17px; height: 17px; color: var(--accent-deep); }
.tel-link:hover { background: rgba(27,21,18,.05); }
.tel-link small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); position: relative; flex: none;
}
.burger span { position: absolute; left: 12px; right: 12px; height: 2.4px; background: var(--forest-800); border-radius: 2px; transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(20,16,14,.46);
  opacity: 0; pointer-events: none; transition: opacity .3s ease; backdrop-filter: blur(2px);
}
.drawer-backdrop[data-open="true"] { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(86vw, 380px);
  background: var(--cream); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .34s cubic-bezier(.4,0,.1,1);
  display: flex; flex-direction: column; padding: 20px;
}
.drawer[data-open="true"] { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer-close { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; }
.drawer-close svg { width: 20px; height: 20px; }
.drawer-nav { display: flex; flex-direction: column; margin-top: 18px; }
.drawer-nav a {
  font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: -.02em;
  padding: 15px 6px; border-bottom: 1px solid var(--line-soft); color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-nav a span { color: var(--ink-mute); font-family: var(--font-body); font-size: 14px; font-weight: 700; }
.drawer-cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 18px; }
.drawer-tel { text-align: center; font-weight: 700; padding: 12px; color: var(--forest-800); }

/* ---------- Logo ---------- */
.logo-ph { position: relative; }

/* ============================================================
   BANDEAU MICRO-PREUVES (ticker défilant sous le hero)
   ============================================================ */
.proofbar { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.proof-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.proof-track {
  display: flex; width: max-content;
  animation: proofScroll 38s linear infinite;
  will-change: transform;
}
.proofbar:hover .proof-track,
.proofbar:focus-within .proof-track { animation-play-state: paused; }
@keyframes proofScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}
.proof { display: flex; align-items: center; gap: 13px; padding: 18px clamp(26px, 3vw, 46px); flex: none; white-space: nowrap; }
.proof:not(:last-child) { border-right: 1px solid var(--line-soft); }
.proof-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--cream-2); color: var(--forest-800); display: grid; place-items: center; flex: none; }
.proof-ic svg { width: 22px; height: 22px; }
.proof.is-key .proof-ic { background: var(--accent-bg); color: var(--accent-deep); }
.proof b { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.16; color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .proof-track { animation: none; }
}

/* ============================================================
   SCROLL EMPILÉ — sections qui se figent et se recouvrent
   (alternance clair / noir / clair, coins arrondis)
   ============================================================ */
.stack > section {
  position: relative; /* plus d'empilement collant : flux vertical classique */
  display: flex; align-items: center;
  padding-block: clamp(64px, 9vw, 120px);
  margin: 0;
}
.stack > section > .wrap { width: 100%; }
/* Séparation douce entre panneaux (coin arrondi, sans glissement) */
.stack > section:nth-child(n+2) {
  border-radius: 30px 30px 0 0;
  margin-top: -30px;
}
/* Alternance noir / clair : panneaux impairs en noir (sections à cartes) */
.stack > section:nth-child(odd) {
  background: var(--forest-900);
  border-top: 3px solid color-mix(in oklab, var(--accent), transparent 30%);
}
.stack > section:nth-child(odd) h2 { color: #fff; }
.stack > section:nth-child(odd) .lead { color: rgba(255, 255, 255, 0.78); }
.stack > section:nth-child(odd) .eyebrow { color: var(--wood-2); }
.stack > section:nth-child(odd) .eyebrow .dot { background: var(--accent); }

/* « Nos prestations » : panneau CLAIR (DA) malgré l'alternance noire */
.stack > section#prestations {
  background: var(--cream-2);
  border-top: 1px solid var(--line-soft);
}
.stack > section#prestations h2 { color: var(--ink); }
.stack > section#prestations .lead { color: var(--ink-soft); }
.stack > section#prestations .eyebrow { color: var(--accent-deep); }
/* Sur mobile, on désactive l'empilement (lecture verticale classique) */
@media (max-width: 1000px) {
  .stack > section {
    min-height: 0;
    border-radius: 0 !important; box-shadow: none !important; margin-top: 0 !important;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-block: clamp(40px, 6vw, 76px) clamp(40px, 6vw, 64px); overflow: hidden; }

/* ============================================================
   HERO SCROLL STAGE — empilement piloté au scroll
   (scale + rotate ; panneau sombre qui se révèle par-dessus)
   ============================================================ */
.scroll-stage { position: relative; background: var(--forest-900); overflow: clip; }
.scroll-stage .stage { transform-origin: 50% 50%; will-change: transform; backface-visibility: hidden; }
.scroll-stage .stage-1 {
  position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center;
  background: var(--cream); overflow: hidden; transform-origin: 50% 0%;
}
.scroll-stage .stage-1 .hero { width: 100%; padding-block: clamp(96px, 13vh, 150px) clamp(40px, 6vw, 64px); overflow: visible; }
.scroll-stage .stage-2 {
  position: relative; z-index: 5; min-height: 100vh; display: flex; align-items: center;
  border-radius: 30px 30px 0 0; overflow: hidden; box-shadow: 0 -30px 60px rgba(20,16,14,.4);
  transform-origin: 50% 100%;
}
.scroll-stage .stage-2 .rge { width: 100%; padding-block: clamp(56px, 9vh, 110px); }
@media (max-width: 1000px) {
  .scroll-stage .stage-1 { align-items: flex-start; }
  .scroll-stage .stage-1 .hero { padding-block: clamp(96px, 12vh, 140px) 40px; }
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero-loc {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 11px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); white-space: nowrap;
  font-weight: 700; font-size: 13.5px; color: var(--forest-800); margin-bottom: 22px;
}
.hero-loc svg { width: 16px; height: 16px; color: var(--wood); }
.hero h1 { font-size: clamp(38px, 6.1vw, 70px); }
.hero-materials { margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: clamp(15px, 1.9vw, 21px); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.hero h1 .hl { color: var(--forest-700); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 0.07em; height: 0.30em; z-index: -1;
  background: color-mix(in oklab, var(--accent), transparent 58%); border-radius: 3px;
}
.hero-sub { margin-top: 22px; font-size: clamp(17px, 2.1vw, 21px); color: var(--ink-soft); max-width: 30ch; }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-signals { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 24px; border-top: 1px solid var(--line); }
.signal { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14.5px; color: var(--forest-800); }
.signal svg { width: 19px; height: 19px; color: var(--accent-deep); flex: none; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo { aspect-ratio: 4/5; border-radius: var(--radius-lg); }
img.hero-photo { width: 100%; height: 100%; object-fit: cover; display: block; box-shadow: var(--shadow-md); }
.hero-badge {
  position: absolute; left: -18px; bottom: 26px; background: var(--paper); border-radius: 16px;
  padding: 15px 18px; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 13px; max-width: 248px;
}
.hero-badge .rge { width: 46px; height: 46px; border-radius: 11px; background: var(--forest-800); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 13px; flex: none; }
.hero-badge b { display: block; font-family: var(--font-head); font-size: 15px; }
.hero-badge span { font-size: 12.5px; color: var(--ink-soft); }

/* ============================================================
   AURORA CHALEUREUSE — lumière animée derrière le hero.
   Adaptation DA noir/rouge : braise maroon + ocre/ambre d'atelier,
   floutée, atmosphérique, concentrée près du header. Pas de stripes.
   ============================================================ */
.hero-aurora {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  /* La lueur nappe le haut du hero (derrière le titre) puis se fond vers le bas */
  -webkit-mask-image: radial-gradient(150% 100% at 50% -8%, #000 34%, transparent 78%);
          mask-image: radial-gradient(150% 100% at 50% -8%, #000 34%, transparent 78%);
}
/* Foyers de lumière chaude (braise + ambre) qui respirent doucement */
.hero-aurora::before {
  content: ""; position: absolute; inset: -25%;
  background:
    radial-gradient(38% 46% at 24% 6%,  color-mix(in oklab, var(--wood-2), transparent 35%), transparent 60%),
    radial-gradient(44% 52% at 80% 10%, color-mix(in oklab, var(--accent), transparent 46%), transparent 62%),
    radial-gradient(40% 48% at 54% 0%,  color-mix(in oklab, var(--wood), transparent 50%), transparent 64%);
  filter: blur(38px);
  opacity: .7;
  will-change: transform, opacity;
  animation: heroEmbers 15s ease-in-out infinite alternate;
}
/* Nappe diagonale qui dérive lentement — le mouvement « aurora » signature */
.hero-aurora::after {
  content: ""; position: absolute; inset: -40%;
  background-image: repeating-linear-gradient(
    100deg,
    color-mix(in oklab, var(--accent), transparent 14%) 0%,
    transparent 6%,
    transparent 10%,
    color-mix(in oklab, var(--wood-2), transparent 22%) 15%,
    transparent 20%,
    color-mix(in oklab, var(--wood), transparent 34%) 25%,
    transparent 30%
  );
  background-size: 200% 200%;
  background-position: 0% 50%;
  filter: blur(58px) saturate(115%);
  opacity: .42;
  will-change: background-position, transform;
  animation: heroAurora 32s linear infinite;
}
@keyframes heroAurora {
  from { background-position: 0% 50%; transform: translate3d(0, 0, 0); }
  to   { background-position: 220% 50%; transform: translate3d(0, -2%, 0); }
}
@keyframes heroEmbers {
  0%   { opacity: .42; transform: translate3d(0, 0, 0) scale(1); }
  100% { opacity: .62; transform: translate3d(-3%, 2%, 0) scale(1.06); }
}
/* Le contenu passe au-dessus de la lueur */
.hero > .hero-grid,
.home-hero > .home-hero-copy { position: relative; z-index: 1; }
/* Coupe la lueur si l'utilisateur préfère moins d'animation, mais garde une lueur fixe */
@media (prefers-reduced-motion: reduce) {
  .hero-aurora::before, .hero-aurora::after { animation: none; }
}
/* Toggle Tweak */
body[data-aurora="off"] .hero-aurora { display: none; }

/* ---------- Photo placeholders ---------- */
.ph {
  position: relative; overflow: hidden; background: var(--wood-bg);
  background-image:
    linear-gradient(135deg, color-mix(in oklab, var(--forest-700), transparent 86%) 0%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(192,133,62,.16) 0 2px, transparent 2px 26px);
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line);
}
.ph.ph-forest {
  background-color: var(--forest-700);
  background-image:
    linear-gradient(160deg, var(--forest-600), var(--forest-800)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, transparent 2px 30px);
}
.ph-tag {
  margin: 14px; padding: 8px 12px; background: rgba(255,255,255,.92); border-radius: 9px;
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; max-width: calc(100% - 28px);
  box-shadow: var(--shadow-sm);
}
.ph-tag svg { width: 16px; height: 16px; color: var(--forest-700); flex: none; }
.ph-tag b { font-size: 13px; font-weight: 700; color: var(--forest-800); line-height: 1.25; }
.ph-tag b em { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--wood); text-transform: uppercase; }
.ph-cam {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.82); display: grid; place-items: center;
}
.ph.ph-top { justify-content: flex-start; }
.ph.ph-top .ph-cam { top: auto; bottom: 14px; }
.ph-cam svg { width: 18px; height: 18px; color: var(--forest-700); }
.ph.ph-forest .ph-cam { background: rgba(255,255,255,.16); }
.ph.ph-forest .ph-cam svg { color: #fff; }

/* ============================================================
   RGE / AIDES (bande sombre)
   ============================================================ */
.rge { background: var(--forest-800); color: #fff; position: relative; overflow: hidden; box-shadow: inset 0 3px 0 0 color-mix(in oklab, var(--accent), transparent 35%); }
.rge::before {
  content: ""; position: absolute; inset: 0; opacity: .85;
  background: radial-gradient(120% 90% at 100% 0%, rgba(209,43,28,.22), transparent 58%);
}
.rge .wrap { position: relative; }
.rge-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.rge h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); }
.rge .eyebrow { color: var(--wood-2); }
.rge-lead { margin-top: 18px; font-size: clamp(16px, 1.9vw, 19px); color: rgba(255,255,255,.82); }
.rge-cert { margin-top: 24px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }
.rge-cert svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.rge-cert b { display: block; font-family: var(--font-head); font-size: 15px; }
.rge-cert span { font-size: 12.5px; color: rgba(255,255,255,.6); }
.rge-logo { height: 52px; width: auto; display: block; flex: none; border-radius: 8px; background: #fff; padding: 5px; box-shadow: var(--shadow-sm); }

.aides { display: grid; gap: 14px; }
.aide {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  transition: background .2s ease, transform .2s ease;
}
.aide:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.aide-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--wood); color: var(--forest-900); display: grid; place-items: center; flex: none; }
.aide-ic svg { width: 22px; height: 22px; }
.aide b { font-family: var(--font-head); font-size: 18px; display: block; }
.aide p { color: rgba(255,255,255,.72); font-size: 14.5px; margin-top: 3px; }

/* ============================================================
   PRESTATIONS
   ============================================================ */
.presta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }

/* Entrée des 3 cartes prestations : montée depuis le bas, chacune à son tour.
   Le mouvement est porté par .reveal-cell (wrapper) pour préserver le hover de .card. */
.reveal-cell {
  display: flex;
  transition: opacity .62s ease, transform .72s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.reveal-cell > .card { flex: 1; }
@media (prefers-reduced-motion: reduce) {
  .reveal-cell { transition: none; }
}

/* Bordure dégradée animée (conique) sur les 3 cartes Prestations — tons DA chauds.
   Anneau subtil + arc maroon/ocre/ambre qui tourne lentement autour de chaque carte. */
@property --presta-ga {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes prestaBorderSpin { to { --presta-ga: 360deg; } }
#prestations .card {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    conic-gradient(from var(--presta-ga),
      color-mix(in oklab, var(--line), transparent 35%) 0deg,
      color-mix(in oklab, var(--line), transparent 35%) 78deg,
      var(--wood-2) 104deg,
      var(--accent) 134deg,
      var(--wood) 162deg,
      color-mix(in oklab, var(--line), transparent 35%) 196deg,
      color-mix(in oklab, var(--line), transparent 35%) 360deg
    ) border-box;
  animation: prestaBorderSpin 7s linear infinite;
}
#prestations .reveal-cell:nth-child(2) .card { animation-delay: -2.33s; }
#prestations .reveal-cell:nth-child(3) .card { animation-delay: -4.66s; }
/* garder la bordure dégradée au survol (ne pas la repasser en uni) + halo chaud */
#prestations .card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md), 0 0 0 1px color-mix(in oklab, var(--accent), transparent 78%);
}
@media (prefers-reduced-motion: reduce) {
  #prestations .card { animation: none; }
}
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card-photo { aspect-ratio: 16/11; }
img.card-photo { display: block; width: 100%; object-fit: cover; }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-ic { width: 50px; height: 50px; border-radius: 13px; background: var(--cream-2); color: var(--forest-700); display: grid; place-items: center; margin-bottom: 16px; margin-top: -42px; position: relative; border: 4px solid var(--paper); }
.card-ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 23px; }
.card-body p { color: var(--ink-soft); margin-top: 9px; font-size: 15.5px; flex: 1; }
.card .link-arrow { margin-top: 18px; }
.card-list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12.5px; font-weight: 600; color: var(--forest-700); background: var(--cream-2); padding: 5px 11px; border-radius: 999px; }

/* ============================================================
   RÉALISATIONS
   ============================================================ */
.real-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.real-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 18px; margin-top: 44px; }
.real-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.real-item .ph { height: 100%; aspect-ratio: 4/3; }
.real-item img.real-photo { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .4s ease; }
.real-item.tall img.real-photo { aspect-ratio: auto; }
.real-item:hover img.real-photo { transform: scale(1.015); }
.real-item.tall { grid-row: span 2; }
.real-item.tall .ph { aspect-ratio: auto; }
.real-item:hover .ph { transform: scale(1.015); }
.real-item .ph { transition: transform .4s ease; }

/* ---------- Galerie 3D circulaire (Réalisations) ---------- */
.real-stage {
  --rc-w: 300px; --rc-h: 400px; --ring-radius: 460px;
  position: relative;
  height: clamp(430px, 50vw, 560px);
  margin-top: clamp(34px, 4vw, 52px);
  perspective: 1700px;
  perspective-origin: 50% 46%;
  cursor: grab;
  -webkit-user-select: none; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.real-stage.is-grabbing { cursor: grabbing; }
.real-ring {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.real-card {
  position: absolute; top: 50%; left: 50%;
  width: var(--rc-w); height: var(--rc-h);
  margin-left: calc(var(--rc-w) / -2);
  margin-top: calc(var(--rc-h) / -2);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px -22px rgba(20,16,14,.55), 0 0 0 1px rgba(20,16,14,.06);
  backface-visibility: hidden;
  will-change: transform, opacity;
}
.real-card .ph { width: 100%; height: 100%; border-radius: 18px; pointer-events: none; }
.real-card img.real-photo { width: 100%; height: 100%; border-radius: 18px; object-fit: cover; display: block; pointer-events: none; }
.real-card .ph-cam { display: none; }
.real-hint {
  position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  letter-spacing: .02em; color: var(--wood); white-space: nowrap;
}
.real-hint svg { width: 15px; height: 15px; color: var(--accent); }
@media (max-width: 1000px) {
  .real-stage { --rc-w: 240px; --rc-h: 320px; height: clamp(380px, 62vw, 460px); }
}
@media (max-width: 620px) {
  .real-stage { --rc-w: 200px; --rc-h: 270px; height: 400px; perspective: 1100px; }
}

/* ============================================================
   POUR QUI
   ============================================================ */
.pourqui-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.audience { border-radius: var(--radius-lg); padding: 36px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.audience.part { background: var(--paper); }
.audience.pro { background: var(--forest-800); color: #fff; }
.audience-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; margin-bottom: 18px; }
.audience.part .audience-tag { background: var(--cream-2); color: var(--forest-700); }
.audience.pro .audience-tag { background: rgba(255,255,255,.12); color: var(--wood-2); }
.audience h3 { font-size: clamp(24px, 3vw, 32px); }
.audience.pro h3 { color: #fff; }
.audience > p { margin-top: 12px; font-size: 16px; }
.audience.part > p { color: var(--ink-soft); }
.audience.pro > p { color: rgba(255,255,255,.78); }
.audience ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; }
.audience li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; }
.audience li svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.audience.part li svg { color: var(--accent-deep); }
.audience.pro li svg { color: var(--wood-2); }
.audience.pro li { color: rgba(255,255,255,.86); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--cream-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 15px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--forest-800); color: #fff; margin-bottom: 18px; }
.step h3 { font-size: 20px; }
.step p { color: var(--ink-soft); margin-top: 8px; font-size: 15px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 52px; right: -10px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }

/* Apparition séquentielle : point + description, puis le trait pointillé se trace, puis le point suivant */
.steps.anim .step {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .55s cubic-bezier(.22,1,.36,1);
}
.steps.anim .step.is-in { opacity: 1; transform: translateY(0); }
.steps.anim .step:not(:last-child)::after {
  clip-path: inset(0 100% 0 0);
  transition: clip-path .42s ease;
}
.steps.anim .step.line-in:not(:last-child)::after { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .steps.anim .step { opacity: 1; transform: none; transition: none; }
  .steps.anim .step::after { clip-path: none; transition: none; }
}

/* ============================================================
   AVIS
   ============================================================ */
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.avis-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.stars svg { width: 19px; height: 19px; color: var(--wood); }
.avis-card blockquote { margin: 0; font-size: 16.5px; color: var(--ink); line-height: 1.55; flex: 1; }
.avis-foot { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.avis-av { width: 44px; height: 44px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: var(--forest-700); flex: none; }
.avis-foot b { display: block; font-size: 15px; }
.avis-foot span { font-size: 13px; color: var(--ink-mute); }

/* Murs d'avis qui défilent (marquee vertical, en boucle) */
.avis-marquee {
  display: flex; gap: 20px; margin-top: 46px;
  max-height: clamp(440px, 60vh, 600px); overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 11%, #000 89%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 11%, #000 89%, transparent);
}
.avis-col { flex: 1 1 0%; min-width: 0; }
.avis-col--md { display: none; }
.avis-col--lg { display: none; }
.avis-track {
  display: flex; flex-direction: column; align-items: stretch; gap: 20px;
  animation: avisScroll var(--dur, 34s) linear infinite;
  will-change: transform;
}
.avis-marquee .avis-card { width: 100%; box-sizing: border-box; }
.avis-marquee:hover .avis-track,
.avis-marquee:focus-within .avis-track { animation-play-state: paused; }
@keyframes avisScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.avis-marquee .avis-card { cursor: default; transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease; }
.avis-marquee .avis-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in oklab, var(--accent), transparent 70%); }
@media (min-width: 760px)  { .avis-col--md { display: block; } }
@media (min-width: 1040px) { .avis-col--lg { display: block; } }
@media (prefers-reduced-motion: reduce) {
  .avis-track { animation: none; }
  .avis-marquee { max-height: none; -webkit-mask-image: none; mask-image: none; }
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.finalcta { background: var(--forest-800); color: #fff; position: relative; overflow: hidden; box-shadow: inset 0 3px 0 0 color-mix(in oklab, var(--accent), transparent 35%); }
.finalcta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 120% at 0% 100%, rgba(209,43,28,.26), transparent 52%); }
.finalcta .wrap { position: relative; }
.finalcta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.finalcta h2 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); }
.finalcta .lead { margin-top: 16px; color: rgba(255,255,255,.82); font-size: 19px; }
.finalcta-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.zone-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 28px; }
.zone-card b { font-family: var(--font-head); font-size: 17px; display: flex; align-items: center; gap: 9px; }
.zone-card b svg { width: 19px; height: 19px; color: var(--wood-2); }
.zone-list { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.zone-list span { font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.zone-list span[data-main] { background: var(--wood); color: var(--forest-900); border-color: transparent; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--forest-900); color: rgba(255,255,255,.74); padding-block: clamp(48px, 7vw, 80px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer a { color: rgba(255,255,255,.74); display: inline-block; padding: 5px 0; font-size: 15px; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer .logo-mark { box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.footer .logo-img { box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.footer-brand p { margin-top: 16px; font-size: 14.5px; color: rgba(255,255,255,.6); max-width: 30ch; }
.footer-rge { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.footer-rge svg { width: 20px; height: 20px; color: var(--accent); }
.footer-rge b { color: #fff; font-size: 13.5px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; font-size: 15px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--wood-2); margin-top: 4px; flex: none; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.55); }
.footer-bottom a { font-size: 13.5px; }

.repl { background: rgba(192,133,62,.18); color: var(--wood-2); padding: 0 5px; border-radius: 4px; font-size: 0.86em; font-weight: 700; white-space: normal; overflow-wrap: break-word; }
.footer .repl, .rge .repl { background: rgba(216,167,101,.2); }

/* ============================================================
   MODALE devis / RDV
   ============================================================ */
.modal-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(20,16,14,.55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; pointer-events: none; }
.modal-backdrop[data-open="true"] { opacity: 1; visibility: visible; pointer-events: auto; }
.modal { width: min(560px, 100%); max-height: 92vh; overflow: auto; background: var(--cream); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transform: translateY(14px) scale(.985); transition: transform .28s cubic-bezier(.3,1.2,.5,1); }
.modal-backdrop[data-open="true"] .modal { transform: translateY(0) scale(1); }
.modal-head { padding: 26px 28px 20px; position: relative; border-bottom: 1px solid var(--line); }
.modal-tabs { display: flex; gap: 6px; background: var(--cream-2); padding: 5px; border-radius: 12px; width: max-content; margin-top: 16px; }
.modal-tab { padding: 9px 18px; border-radius: 9px; border: none; background: transparent; font-weight: 700; font-size: 14.5px; color: var(--ink-soft); transition: all .18s ease; }
.modal-tab[data-active="true"] { background: var(--paper); color: var(--forest-800); box-shadow: var(--shadow-sm); }
.sav-banner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: color-mix(in oklab, var(--accent), transparent 92%); border: 1px solid color-mix(in oklab, var(--accent), transparent 70%); }
.sav-banner-ic { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.sav-banner-ic svg { width: 20px; height: 20px; }
.sav-banner b { display: block; font-family: var(--font-head); font-size: 15px; color: var(--accent-deep); }
.sav-banner span { font-size: 13px; color: var(--ink-soft); }
.modal-head h3 { font-size: 26px; }
.modal-head p { margin-top: 6px; color: var(--ink-soft); font-size: 15px; }
.modal-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; }
.modal-close:hover { background: var(--cream-2); }
.modal-close svg { width: 19px; height: 19px; }
.modal-body { padding: 24px 28px 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 7px; color: var(--forest-800); }
.field label .req { color: var(--accent-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--paper);
  font-family: var(--font-body); font-size: 15.5px; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 80%); }
.field textarea { resize: vertical; min-height: 88px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #D5552C; }
.field .err { color: #C0451E; font-size: 12.5px; font-weight: 600; margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); gap: 10px; }
.choice { padding: 13px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--paper); text-align: center; font-weight: 700; font-size: 14px; color: var(--ink-soft); transition: all .15s ease; }
.choice[data-on="true"] { border-color: var(--accent); background: color-mix(in oklab, var(--accent), transparent 92%); color: var(--forest-800); }
.modal-foot { margin-top: 8px; }
.modal-foot .fineprint { font-size: 12.5px; color: var(--ink-mute); margin-top: 14px; text-align: center; }
.modal-success { padding: 46px 32px 50px; text-align: center; }
.modal-success .check { width: 72px; height: 72px; border-radius: 50%; background: color-mix(in oklab, var(--accent), transparent 85%); color: var(--accent-deep); display: grid; place-items: center; margin: 0 auto 22px; }
.modal-success .check svg { width: 38px; height: 38px; }
.modal-success h3 { font-size: 27px; }
.modal-success p { margin-top: 12px; color: var(--ink-soft); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Bande intermédiaire : la nav desktop est encore affichée mais l'espace
   est compté → on masque le téléphone et le bouton secondaire pour que
   le CTA devis (primaire) ne soit jamais tronqué. */
@media (max-width: 1360px) {
  .header-actions .tel-link { display: none; }
  .header-actions .btn-secondary { display: none; }
}
@media (max-width: 1180px) {
  .nav, .site-nav, .tel-link small { display: none; }
  .burger { display: block; }
  /* nav repliée dans le burger → on récupère le téléphone (numéro seul) */
  .header-actions .tel-link { display: inline-flex; }
  /* SAV accessible dans le tiroir → on libère l'en-tête mobile */
  .header-actions .btn-sav { display: none; }
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-photo { aspect-ratio: 16/10; }
  img.hero-photo { height: auto; }
  .rge-grid, .finalcta-grid { grid-template-columns: 1fr; }
  .presta-grid, .real-grid, .avis-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .pourqui-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .real-item.tall { grid-row: span 1; }
  .real-item.tall .ph { aspect-ratio: 4/3; }
  .real-item.tall img.real-photo { aspect-ratio: 4/3; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-actions .tel-link { display: none; }
  .presta-grid, .real-grid, .avis-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .finalcta-cta .btn { flex: 1; }
  .field-row { grid-template-columns: 1fr; }
  .hero-badge { left: 12px; right: 12px; max-width: none; }
  .audience { padding: 26px; }
}
@media (max-width: 540px) {
  .logo-text { display: none; }
  .logo-img { height: 38px; }
  .header-actions .btn-primary { padding: 12px 16px; font-size: 15px; }
  .header-inner { gap: 10px; }
  :root { --header-h: 68px; }
}

/* ============================================================
   PAGE PRESTATIONS — hero de section, axes, pourquoi RGC
   (classes nouvelles : n'affecte pas l'accueil)
   ============================================================ */

/* ---------- Fil d'ariane ---------- */
.crumb { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink-mute); margin-bottom: 20px; }
.crumb a { color: var(--ink-soft); }
.crumb a:hover { color: var(--forest-700); }
.crumb svg { width: 15px; height: 15px; color: var(--ink-mute); }
.crumb [aria-current] { color: var(--forest-800); }

/* ---------- Hero de section (compact) ---------- */
.page-hero { position: relative; padding-block: clamp(30px, 5vw, 56px) clamp(34px, 5vw, 60px); overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -8%; top: -30%; width: 46%; height: 150%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--wood-bg), transparent 30%), transparent 72%);
  opacity: .8;
}
.page-hero-inner { max-width: 880px; }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 60px); margin-top: 16px; }
.page-hero .ph-lead { margin-top: 20px; font-size: clamp(17px, 2.1vw, 21px); color: var(--ink-soft); max-width: 56ch; }
.page-hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.page-hero-jump { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.jump-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 13px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-weight: 700; font-size: 14px; color: var(--forest-800);
  transition: transform .15s ease, border-color .15s ease, box-shadow .2s ease;
}
.jump-chip:hover { transform: translateY(-2px); border-color: var(--forest-600); box-shadow: var(--shadow-md); }
.jump-chip svg { width: 17px; height: 17px; color: var(--accent-deep); }
.jump-chip b { font-family: var(--font-head); font-weight: 800; color: var(--ink-mute); font-size: 12px; }

/* ---------- Intro SEO ---------- */
.presta-intro { padding-block: clamp(28px, 4vw, 44px); border-block: 1px solid var(--line-soft); background: var(--cream-2); }
.presta-intro .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.presta-intro .intro-eyebrow { white-space: nowrap; }
.presta-intro p { font-size: clamp(17px, 2vw, 20px); color: var(--ink); line-height: 1.6; max-width: 70ch; }
.presta-intro p strong { color: var(--forest-700); }

/* ---------- Les 3 axes (blocs développés) ---------- */
.axes { display: grid; gap: clamp(34px, 6vw, 72px); margin-top: clamp(40px, 6vw, 64px); }
.axis { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(26px, 4vw, 60px); align-items: center; }
.axis-media { position: relative; }
.axis-media .ph { aspect-ratio: 4/3; border-radius: var(--radius-lg); height: 100%; }
.axis-media img.axis-photo { aspect-ratio: 4/3; border-radius: var(--radius-lg); width: 100%; height: 100%; object-fit: cover; display: block; }
.axis-media .axis-flag {
  position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: 999px; background: var(--forest-800); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 13px; box-shadow: var(--shadow-md);
}
.axis-media .axis-flag em { font-style: normal; color: var(--wood-2); }
.axis:nth-child(even) .axis-media { order: 2; }
.axis:nth-child(even) .axis-body { order: 1; }
.axis-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--cream-2); color: var(--forest-700); display: grid; place-items: center; margin-bottom: 18px; border: 1px solid var(--line-soft); }
.axis-ic svg { width: 28px; height: 28px; }
.axis-body .eyebrow { margin-bottom: 12px; }
.axis-body h2 { font-size: clamp(27px, 3.6vw, 40px); }
.axis-body .axis-desc { margin-top: 14px; font-size: clamp(16px, 1.9vw, 18.5px); color: var(--ink-soft); max-width: 46ch; }
.axis-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 11px 20px; }
.axis-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.axis-list li svg { width: 19px; height: 19px; color: var(--accent-deep); flex: none; margin-top: 1px; }
.axis-materials { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.axis-materials .mat-label { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); margin-right: 4px; }
.axis-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Pourquoi RGC ---------- */
.why { background: var(--cream-2); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(38px, 5vw, 52px); }
.why-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-ic { width: 50px; height: 50px; border-radius: 13px; background: var(--forest-800); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.why-ic svg { width: 25px; height: 25px; }
.why-item.is-cta .why-ic { background: var(--accent); }
.why-item h3 { font-size: 19px; }
.why-item p { margin-top: 9px; font-size: 14.5px; color: var(--ink-soft); }

@media (max-width: 1000px) {
  .axis { grid-template-columns: 1fr; }
  .axis:nth-child(even) .axis-media, .axis:nth-child(even) .axis-body { order: 0; }
  .axis-media { order: -1 !important; }
  .axis-media .ph { aspect-ratio: 16/10; }
  .axis-media img.axis-photo { aspect-ratio: 16/10; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .presta-intro .wrap { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 620px) {
  .why-grid { grid-template-columns: 1fr; }
  .axis-list { grid-template-columns: 1fr; }
  .page-hero-cta .btn { flex: 1; }
}

/* ============================================================
   HOME HERO + SÉLECTEUR DE SPÉCIALITÉS (panneaux extensibles)
   ============================================================ */
.home-hero { padding-block: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 36px); overflow: visible; }
.home-hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; max-width: 900px; margin-inline: auto; }
.home-hero-copy .hero-loc { margin-bottom: 20px; }
.home-hero-copy h1 { font-size: clamp(34px, 5vw, 64px); }
.home-hero-copy h1 .hl { white-space: normal; }
/* Le surlignage ::after (barre absolue) casse quand la phrase passe sur 2 lignes
   dans le hero d'accueil → on le retire ici (la couleur du .hl suffit à le distinguer). */
.home-hero-copy h1 .hl::after { content: none; }
.home-hero-copy .hero-sub { max-width: 56ch; margin: 22px auto 0; }
.home-hero-copy .hero-cta { justify-content: center; margin-top: 30px; }

/* Bande photo en pleine largeur, seule */
.showcase-band { padding-bottom: clamp(28px, 4vw, 48px); }
.showcase-band .showcase-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.showcase-band .sel { min-height: clamp(380px, 52vh, 560px); }
.hero-by { margin-top: 24px; display: inline-flex; align-items: center; gap: 9px; font-size: 15px; color: var(--ink-soft); }
.hero-by svg { width: 20px; height: 20px; color: var(--wood); flex: none; }
.hero-by strong { color: var(--ink); font-weight: 800; }

.home-hero-showcase { display: flex; flex-direction: column; min-width: 0; }
.showcase-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.showcase-hint { font-size: 13px; font-weight: 700; color: var(--ink-mute); letter-spacing: .01em; white-space: nowrap; }

.sel { display: flex; width: 100%; flex: 1; min-height: clamp(380px, 56vh, 540px); gap: 10px; }
.sel-panel {
  position: relative; flex: 1 1 0%; min-width: 52px; padding: 0; border: none; cursor: pointer;
  border-radius: var(--radius-lg); overflow: hidden;
  background-color: var(--forest-900);
  box-shadow: var(--shadow-sm); outline: 2.5px solid transparent; outline-offset: -2.5px;
  transition: flex-grow .7s cubic-bezier(.4,0,.1,1), box-shadow .45s ease, transform .6s ease, opacity .6s ease, outline-color .4s ease;
  will-change: flex-grow;
}
.sel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sel-panel[data-on="true"] { box-shadow: var(--shadow-lg); outline-color: var(--accent); }
.sel-grad { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(16,12,10,.9) 0%, rgba(16,12,10,.36) 40%, transparent 68%); }
.sel-label { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 13px; padding: 16px 14px; pointer-events: none; }
.sel-ic {
  width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(28,23,20,.55); backdrop-filter: blur(8px); border: 1.5px solid rgba(255,255,255,.30);
}
.sel-ic svg { width: 22px; height: 22px; }
.sel-text { color: #fff; white-space: nowrap; overflow: hidden; opacity: 0; transform: translateX(16px);
  transition: opacity .5s ease .08s, transform .6s ease .08s; }
.sel-text[data-on="true"] { opacity: 1; transform: translateX(0); }
.sel-text b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -.01em; line-height: 1.1; }
.sel-text em { font-style: normal; font-size: 13.5px; color: rgba(255,255,255,.82); }

@media (max-width: 1000px) {
  .home-hero-grid { grid-template-columns: 1fr; gap: clamp(28px, 5vw, 44px); }
  .home-hero-copy { text-align: center; align-items: center; }
  .home-hero-copy .hero-loc { align-self: center; }
  .home-hero-copy .hero-sub { max-width: 52ch; }
  .home-hero-copy .hero-cta, .home-hero-copy .hero-signals { justify-content: center; }
  .sel { min-height: clamp(340px, 50vh, 460px); }
}
@media (max-width: 620px) {
  .sel { min-height: clamp(320px, 62vh, 440px); gap: 6px; }
  .sel-panel { min-width: 58px; }
  .sel-ic { width: 40px; height: 40px; }
  .sel-ic svg { width: 19px; height: 19px; }
  .sel-text b { font-size: 17px; }
  .showcase-cap { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ============================================================
   MENU DÉROULANT « PRESTATIONS » (header cross-page)
   ============================================================ */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-caret { width: 13px; height: 13px; transition: transform .25s ease; color: var(--ink-mute); }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); color: var(--accent-deep); }

.nav-dd {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 8px);
  width: 312px; padding: 8px; z-index: 40;
  background: color-mix(in oklab, var(--cream), white 42%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--line-soft); border-radius: 18px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .24s ease, transform .28s cubic-bezier(.3,1,.5,1), visibility .24s;
}
.nav-dd::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-item:hover .nav-dd, .nav-item:focus-within .nav-dd, .nav-item[data-open="true"] .nav-dd {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.dd-link {
  display: grid; grid-template-columns: 38px 1fr; gap: 13px; align-items: center;
  padding: 12px 13px; border-radius: 12px; transition: background .16s ease;
}
.dd-link:hover { background: rgba(27,21,18,.06); }
.dd-link[data-active="true"] { background: color-mix(in oklab, var(--accent), transparent 91%); }
.dd-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--cream-2); color: var(--forest-700); display: grid; place-items: center; }
.dd-link[data-active="true"] .dd-ic { background: var(--accent); color: #fff; }
.dd-ic svg { width: 20px; height: 20px; }
.dd-link b { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--ink); display: block; letter-spacing: -.01em; }
.dd-link span { font-size: 12.5px; color: var(--ink-soft); display: block; margin-top: 1px; }
.dd-all {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 6px 5px 2px; padding: 11px 13px; border-radius: 11px;
  font-weight: 700; font-size: 14px; color: var(--accent-deep);
  border-top: 1px solid var(--line-soft);
}
.dd-all svg { width: 17px; height: 17px; transition: transform .2s ease; }
.dd-all:hover { background: color-mix(in oklab, var(--accent), transparent 93%); }
.dd-all:hover svg { transform: translateX(4px); }

/* Nav cross-page (statique, sans tubelight) */
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: 10px; }
.site-nav > a, .site-nav .nav-item > a {
  font-weight: 600; font-size: 15px; color: var(--ink); padding: 9px 15px; border-radius: 999px;
  white-space: nowrap; transition: color .2s ease, background .2s ease;
}
.site-nav > a:hover, .site-nav .nav-item > a:hover { color: var(--accent-deep); }
.site-nav a[data-active="true"] { color: var(--accent-deep); background: color-mix(in oklab, var(--accent), transparent 91%); }

/* Collapse cross-page desktop nav into the burger ≤1180px.
   Authored AFTER `.site-nav{display:flex}` so source order beats the base rule. */
@media (max-width: 1180px) {
  .site-nav { display: none; }
}

/* Drawer — sous-menu accordéon (mobile) */
.drawer-acc { border-bottom: 1px solid var(--line-soft); }
.drawer-acc-hd {
  width: 100%; background: none; border: none; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: var(--ink);
  padding: 15px 6px; display: flex; align-items: center; justify-content: space-between;
}
.drawer-acc-hd svg { width: 22px; height: 22px; color: var(--ink-mute); transition: transform .3s ease; flex: none; }
.drawer-acc[data-open="true"] .drawer-acc-hd svg { transform: rotate(180deg); }
.drawer-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s cubic-bezier(.4,0,.1,1); }
.drawer-acc[data-open="true"] .drawer-sub { grid-template-rows: 1fr; }
.drawer-sub-inner { overflow: hidden; }
.drawer-sub a {
  font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--ink-soft);
  padding: 11px 6px 11px 16px; border: none; display: flex; align-items: center; gap: 11px;
}
.drawer-sub a:last-child { padding-bottom: 16px; }
.drawer-sub a[data-active="true"] { color: var(--accent-deep); }
.drawer-sub a svg { width: 18px; height: 18px; color: var(--wood); flex: none; }
.drawer-sub a[data-active="true"] svg { color: var(--accent-deep); }
.drawer-sub a em { font-style: normal; font-weight: 700; }

/* ============================================================
   PAGE VOLETS — hero média, grilles de types, bénéfices, FAQ
   ============================================================ */
.vhero { position: relative; padding-block: clamp(26px, 4vw, 52px) clamp(34px, 5vw, 60px); overflow: hidden; }
.vhero::after {
  content: ""; position: absolute; right: -10%; top: -36%; width: 50%; height: 160%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--wood-bg), transparent 32%), transparent 72%); opacity: .8;
}
.vhero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.vhero h1 { font-size: clamp(33px, 5vw, 58px); margin-top: 16px; }
.vhero .vhero-sub { margin-top: 20px; font-size: clamp(17px, 2.1vw, 21px); color: var(--ink-soft); max-width: 44ch; }
.vhero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.vhero-jump { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.vhero-visual { position: relative; }
.vhero-visual .ph { aspect-ratio: 4/5; border-radius: var(--radius-lg); height: 100%; }
.vhero-visual img.vhero-photo { aspect-ratio: 4/5; border-radius: var(--radius-lg); width: 100%; height: 100%; object-fit: cover; display: block; box-shadow: var(--shadow-md); }
.vhero-badge {
  position: absolute; left: -18px; bottom: 24px; background: var(--paper); border-radius: 16px;
  padding: 14px 17px; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 12px; max-width: 252px;
}
.vhero-badge .v-ic { width: 46px; height: 46px; border-radius: 11px; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.vhero-badge .v-ic svg { width: 24px; height: 24px; }
.vhero-badge b { display: block; font-family: var(--font-head); font-size: 15px; }
.vhero-badge span { font-size: 12.5px; color: var(--ink-soft); }
@media (max-width: 1000px) {
  .vhero-grid { grid-template-columns: 1fr; }
  .vhero-visual { order: -1; }
  .vhero-visual .ph { aspect-ratio: 16/10; }
  .vhero-visual img.vhero-photo { aspect-ratio: 16/10; height: auto; }
}

/* Sous-section (Les volets / Les portes de garage) */
.subsec { padding-block: clamp(52px, 8vw, 104px); }

/* Note RGE discrète sous le bloc confiance (pergolas/stores) */
.trust-rge {
  margin-top: clamp(28px, 4vw, 40px); max-width: 760px; margin-inline: auto; text-align: center;
  font-size: 14.5px; line-height: 1.65; color: var(--ink-soft);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md, 14px);
  padding: 16px 22px; box-shadow: var(--shadow-sm);
}
.trust-rge strong { color: var(--ink); }
.subsec.alt { background: var(--cream-2); }
.subsec .sub-tag { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .04em; color: var(--accent-deep); }
.subsec .sub-tag em { font-style: normal; width: 26px; height: 26px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; }

/* Grille de types (4 cartes) */
.types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(36px, 5vw, 50px); }
.types-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 985px; margin-left: auto; margin-right: auto; }
.type-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.type-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.type-card .ph { aspect-ratio: 4/3; }
.type-card img.tc-photo-img { aspect-ratio: 4/3; width: 100%; height: auto; object-fit: cover; display: block; }
.type-card .tc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tc-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--cream-2); color: var(--forest-700); display: grid; place-items: center; margin: -42px 0 14px; position: relative; border: 4px solid var(--paper); }
.tc-ic svg { width: 24px; height: 24px; }
.type-card.feat .tc-ic { background: var(--accent); color: #fff; }
.type-card h3 { font-size: 20px; }
.tc-body p { color: var(--ink-soft); margin-top: 8px; font-size: 14.5px; flex: 1; }
.tc-benefit { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; color: var(--forest-800); }
.tc-benefit svg { width: 16px; height: 16px; color: var(--accent-deep); flex: none; }
.subsec.alt .type-card { background: var(--paper); }
.subsec.alt .tc-ic { border-color: var(--paper); }
.mat-note { margin-top: clamp(26px, 4vw, 38px); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mat-note .mat-label { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); margin-right: 4px; }
@media (max-width: 1000px) { .types-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .types-grid { grid-template-columns: 1fr; } }

/* Bénéfices / pourquoi rénover */
.benefits { background: var(--forest-900); color: #fff; position: relative; overflow: hidden; box-shadow: inset 0 3px 0 0 color-mix(in oklab, var(--accent), transparent 35%); }
.benefits::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 110% at 100% 0%, rgba(209,43,28,.18), transparent 56%); }
.benefits .wrap { position: relative; }
.benefits h2 { color: #fff; }
.benefits .eyebrow { color: var(--wood-2); }
.benefits .lead { color: rgba(255,255,255,.78); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(38px, 5vw, 52px); }
.benefit {
  padding: 26px 24px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  transition: background .2s ease, transform .2s ease;
}
.benefit:hover { background: rgba(255,255,255,.09); transform: translateY(-3px); }
.benefit .b-ic { width: 50px; height: 50px; border-radius: 13px; background: var(--wood); color: var(--forest-900); display: grid; place-items: center; margin-bottom: 16px; }
.benefit .b-ic svg { width: 26px; height: 26px; }
.benefit.is-key .b-ic { background: var(--accent); color: #fff; }
.benefit h3 { color: #fff; font-size: 19px; }
.benefit p { margin-top: 9px; font-size: 14.5px; color: rgba(255,255,255,.72); }
@media (max-width: 1000px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits-grid { grid-template-columns: 1fr; } }

/* Aperçu réalisations (grille filtrée) */
.real-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(34px, 4vw, 46px); }
.real-mini .ph { aspect-ratio: 4/5; border-radius: var(--radius); }
.real-mini .ph:first-child { grid-row: span 2; }
.real-mini .real-mini-item { position: relative; margin: 0; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.real-mini .real-mini-item:first-child { grid-row: span 2; }
.real-mini .real-mini-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.real-mini .real-mini-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px;
  font-size: 13px; font-weight: 600; color: #fff; line-height: 1.35;
  background: linear-gradient(transparent, rgba(22, 15, 11, 0.68));
}
@media (max-width: 1000px) { .real-mini { grid-template-columns: repeat(2, 1fr); } .real-mini .ph:first-child, .real-mini .real-mini-item:first-child { grid-row: span 1; } }
@media (max-width: 560px) { .real-mini { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { background: var(--cream-2); }
.faq-grid { max-width: 820px; margin: clamp(34px, 4vw, 48px) auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.faq-item[data-open="true"] { box-shadow: var(--shadow-sm); border-color: var(--line); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(17px, 2vw, 20px); color: var(--ink); letter-spacing: -.01em;
}
.faq-icn { width: 30px; height: 30px; border-radius: 50%; flex: none; background: var(--cream-2); display: grid; place-items: center; position: relative; transition: background .2s ease; }
.faq-item[data-open="true"] .faq-icn { background: var(--accent); }
.faq-icn::before, .faq-icn::after { content: ""; position: absolute; background: var(--forest-800); border-radius: 2px; transition: transform .28s ease, background .2s ease; }
.faq-icn::before { width: 13px; height: 2.4px; }
.faq-icn::after { width: 2.4px; height: 13px; }
.faq-item[data-open="true"] .faq-icn::before, .faq-item[data-open="true"] .faq-icn::after { background: #fff; }
.faq-item[data-open="true"] .faq-icn::after { transform: rotate(90deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s cubic-bezier(.4,0,.1,1); }
.faq-item[data-open="true"] .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p { padding: 0 24px 24px; color: var(--ink-soft); font-size: 15.5px; max-width: 64ch; }

/* Mini bande CTA inter-sections */
.midcta { background: var(--paper); border-block: 1px solid var(--line); }
.midcta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: clamp(28px, 4vw, 40px); }
.midcta-txt b { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.6vw, 27px); color: var(--ink); display: block; letter-spacing: -.01em; }
.midcta-txt span { color: var(--ink-soft); font-size: 15.5px; display: block; margin-top: 5px; }
.midcta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 620px) { .midcta-actions { width: 100%; } .midcta-actions .btn { flex: 1; } }

/* ============================================================
   PAGE RÉALISATIONS — barre de filtres, galerie, lightbox
   ============================================================ */
.gallery-sec { padding-block: clamp(40px, 5vw, 64px) clamp(52px, 8vw, 96px); }

/* Barre de filtres (sticky sous le header) */
.filterbar {
  position: sticky; top: var(--header-h, 72px); z-index: 30;
  background: color-mix(in oklab, var(--paper), transparent 6%);
  backdrop-filter: saturate(150%) blur(8px);
  border-block: 1px solid var(--line); margin-bottom: clamp(30px, 4vw, 44px);
}
.filterbar .wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 14px; }
.filterbar-label { font-family: var(--font-head); font-weight: 800; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-mute); display: inline-flex; align-items: center; gap: 8px; }
.filterbar-label svg { width: 16px; height: 16px; color: var(--accent); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  font-family: var(--font-head); font-weight: 700; font-size: 14px; cursor: pointer;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-soft); transition: all .18s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.filter-btn:hover { border-color: var(--ink-mute); color: var(--ink); }
.filter-btn[data-on="true"] { background: var(--forest-800); border-color: var(--forest-800); color: #fff; }
.filter-btn[data-on="true"] svg { color: #fff; }
.filter-btn svg { width: 16px; height: 16px; color: var(--accent); }
.filter-btn .fcount { font-size: 12px; opacity: .6; font-weight: 700; }

/* Grille galerie — masonry CSS via colonnes (robuste, sans JS) */
.gallery {
  column-count: 3; column-gap: clamp(14px, 1.6vw, 20px);
}
.gal-item {
  width: 100%; margin: 0 0 clamp(14px, 1.6vw, 20px); break-inside: avoid;
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); background: var(--cream-2);
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease;
  display: block; text-align: left; padding: 0; font: inherit; color: inherit;
}
.gal-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gal-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.gal-media { position: relative; overflow: hidden; height: 100%; }
.gal-media .ph { height: 100%; border-radius: 0; }
.gal-item:hover .gal-media .ph { transform: scale(1.04); }
.gal-media .ph { transition: transform .5s ease; }
/* voile + légende posée sur la photo */
.gal-cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(20,14,12,.82), rgba(20,14,12,.32) 55%, transparent);
  color: #fff; display: flex; flex-direction: column; gap: 6px;
}
.gal-cap b { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing: -.01em; }
.gal-cap .gal-meta { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255,255,255,.82); font-weight: 600; }
.gal-cap .gal-meta svg { width: 13px; height: 13px; }
.gal-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-head); font-weight: 700; font-size: 11.5px; letter-spacing: .02em;
  padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--forest-800);
  box-shadow: var(--shadow-sm);
}
.gal-zoom {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(20,14,12,.4); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.85);
  transition: opacity .2s ease, transform .2s ease; backdrop-filter: blur(2px);
}
.gal-item:hover .gal-zoom, .gal-item:focus-visible .gal-zoom { opacity: 1; transform: scale(1); }
.gal-zoom svg { width: 17px; height: 17px; }
.gal-zoom { border: 0; cursor: pointer; }
/* Emplacements photo (glisser-déposer) — galerie + lightbox */
.gal-media image-slot, .lb-media image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* Variante <img> statique (sans image-slot) */
.gal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gal-item:hover .gal-media img { transform: scale(1.04); }
.lb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-badge { pointer-events: none; }
.gal-cap { pointer-events: none; transition: opacity .25s ease; }
.gal-media image-slot:not([data-filled]) ~ .gal-cap { opacity: 0; }
.gallery-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--ink-mute); }

@media (max-width: 920px) { .gallery { column-count: 2; } }
@media (max-width: 560px) { .gallery { column-count: 1; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(14px, 3vw, 40px);
  background: rgba(16,11,9,.86); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.lightbox[data-open="true"] { opacity: 1; pointer-events: auto; }
.lb-card {
  position: relative; width: min(1040px, 100%); max-height: 92vh; overflow: hidden;
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: 0 40px 90px rgba(0,0,0,.5);
  display: grid; grid-template-columns: 1.25fr .9fr; transform: translateY(14px) scale(.98); transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.lightbox[data-open="true"] .lb-card { transform: none; }
.lb-media { position: relative; background: var(--cream-2); min-height: 320px; }
.lb-media .ph { height: 100%; border-radius: 0; aspect-ratio: auto; }
.lb-badge { position: absolute; top: 16px; left: 16px; z-index: 2; font-family: var(--font-head); font-weight: 700; font-size: 12px; padding: 6px 13px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--forest-800); }
.lb-body { padding: clamp(24px, 3vw, 40px); overflow-y: auto; display: flex; flex-direction: column; }
.lb-meta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; color: var(--accent-deep); }
.lb-meta svg { width: 16px; height: 16px; }
.lb-body h3 { font-family: var(--font-head); font-weight: 800; font-size: clamp(22px, 3vw, 30px); margin-top: 10px; letter-spacing: -.02em; line-height: 1.12; }
.lb-context { margin-top: 18px; }
.lb-context .lb-line { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.lb-context .lb-line:first-child { border-top: none; }
.lb-context .lb-k { flex: none; width: 78px; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-mute); padding-top: 2px; }
.lb-context .lb-v { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.lb-prepost { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-mute); background: var(--cream-2); padding: 8px 13px; border-radius: 10px; border: 1px dashed var(--line); }
.lb-prepost svg { width: 16px; height: 16px; color: var(--wood-2); }
.lb-cta { margin-top: auto; padding-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.lb-close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--paper); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform .15s ease; }
.lb-close:hover { transform: rotate(90deg); }
.lb-close svg { width: 20px; height: 20px; }
.lb-nav { position: absolute; top: 50%; z-index: 5; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--forest-800); display: grid; place-items: center; box-shadow: var(--shadow-md); transition: background .15s ease; }
.lb-nav:hover { background: #fff; }
.lb-nav svg { width: 22px; height: 22px; }
.lb-prev { left: 14px; } .lb-prev svg { transform: rotate(180deg); }
.lb-next { right: 14px; }
.lb-counter { position: absolute; bottom: 16px; left: 16px; z-index: 2; font-size: 12.5px; font-weight: 700; color: #fff; background: rgba(20,14,12,.5); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 760px) {
  .lb-card { grid-template-columns: 1fr; max-height: 94vh; }
  .lb-media { min-height: 240px; aspect-ratio: 4/3; }
  .lb-nav { width: 40px; height: 40px; margin-top: -20px; }
}

/* Bande témoignage intercalée (avis Google) */
.testi-band { background: var(--forest-800); color: #fff; position: relative; overflow: hidden; }
.testi-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 130% at 100% 0%, rgba(209,43,28,.22), transparent 55%); }
.testi-band .wrap { position: relative; }
.testi-head { display: flex; align-items: center; gap: 12px; }
.testi-head .eyebrow { color: var(--wood-2); }
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.testi-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: 28px 26px; }
.testi-card .stars { display: flex; gap: 3px; color: var(--accent); }
.testi-card .stars svg { width: 18px; height: 18px; }
.testi-card blockquote { margin: 16px 0 0; font-size: clamp(16px, 1.9vw, 18.5px); line-height: 1.55; color: #fff; font-family: var(--font-head); font-weight: 500; letter-spacing: -.01em; }
.testi-card .testi-foot { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.testi-av { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; flex: none; }
.testi-foot b { display: block; font-family: var(--font-head); font-size: 15px; }
.testi-foot span { font-size: 12.5px; color: rgba(255,255,255,.6); }
.testi-src { margin-top: 24px; font-size: 13px; color: rgba(255,255,255,.55); display: inline-flex; align-items: center; gap: 7px; }
.testi-src svg { width: 14px; height: 14px; flex: none; }
@media (max-width: 760px) { .testi-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PAGE À PROPOS — éditorial chaleureux
   ============================================================ */
/* Histoire / parcours : titre collant à gauche, prose à droite */
.about-story { padding-block: clamp(56px, 8vw, 104px); }
.about-story-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(34px, 6vw, 80px); align-items: start; }
.about-story-aside { position: sticky; top: calc(var(--header-h, 76px) + 24px); }
.about-story-aside h2 { font-size: clamp(28px, 3.6vw, 44px); margin-top: 14px; }
.about-story-aside .about-portrait { margin-top: 26px; }
.about-portrait .ph { aspect-ratio: 1/1; border-radius: var(--radius-lg); }
.about-portrait img {
  aspect-ratio: 1/1; width: 100%; height: auto; object-fit: cover; object-position: 50% 100%;
  border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow-md);
}
.about-prose > p { font-size: clamp(16.5px, 1.9vw, 19px); line-height: 1.72; color: var(--ink-soft); }
.about-prose > p + p { margin-top: 18px; }
.about-prose strong { color: var(--ink); font-weight: 700; }
.about-lead { font-family: var(--font-head); font-weight: 600; font-size: clamp(20px, 2.6vw, 26px) !important; line-height: 1.4 !important; color: var(--ink) !important; letter-spacing: -.01em; }
.about-sign { margin-top: 30px; display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.about-sign-mark { font-family: var(--font-head); font-weight: 800; font-size: clamp(22px, 3vw, 30px); color: var(--accent); letter-spacing: -.02em; line-height: 1; }
.about-sign-meta b { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); display: block; }
.about-sign-meta span { font-size: 13.5px; color: var(--ink-mute); }
@media (max-width: 880px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-story-aside { position: static; }
  .about-portrait { display: none; }
}

/* Qualifications & garanties */
.about-quali-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(20px, 3vw, 32px); margin-top: clamp(36px, 5vw, 50px); align-items: start; }
.quali-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.quali-card > h3 { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -.01em; display: flex; align-items: center; gap: 11px; }
.quali-card > h3 svg { width: 22px; height: 22px; color: var(--accent); }
.quali-list { margin-top: 20px; display: flex; flex-direction: column; gap: 2px; }
.quali-list li { list-style: none; display: flex; gap: 13px; padding: 13px 0; border-top: 1px solid var(--line-soft); align-items: flex-start; }
.quali-list li:first-child { border-top: none; padding-top: 0; }
.quali-list li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.quali-list b { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--ink); display: block; }
.quali-list span { font-size: 14px; color: var(--ink-soft); }
.quali-card.is-guarantee { background: var(--forest-800); color: #fff; border-color: var(--forest-800); }
.quali-card.is-guarantee > h3 { color: #fff; }
.guarantee-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.guarantee-row:first-of-type { border-top: none; }
.guarantee-row .g-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; color: var(--wood-2); }
.guarantee-row .g-ic svg { width: 23px; height: 23px; }
.guarantee-row b { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.guarantee-row p { font-size: 13.5px; color: rgba(255,255,255,.7); margin-top: 3px; }
@media (max-width: 880px) { .about-quali-grid { grid-template-columns: 1fr; } }

/* Zone d'intervention (clair) */
.about-zone { background: var(--cream-2); }
.about-zone-inner { max-width: 820px; }
.about-zone .zone-chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 9px; }
.about-zone .zone-chips span { font-size: 14px; font-weight: 600; color: var(--forest-700); background: var(--paper); border: 1px solid var(--line); padding: 8px 15px; border-radius: 999px; }
.about-zone .zone-chips span[data-main] { background: var(--accent); color: #fff; border-color: transparent; }
.about-zone .zone-note { margin-top: 22px; font-size: 14px; color: var(--ink-mute); display: inline-flex; align-items: center; gap: 8px; }
.about-zone .zone-note svg { width: 17px; height: 17px; color: var(--accent); }

/* Carte contact (colonne droite du CTA final À propos) */
.about-contact-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 28px; }
.about-contact-card .cc-row { display: flex; gap: 13px; align-items: center; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); }
.about-contact-card .cc-row:first-child { border-top: none; padding-top: 0; }
.about-contact-card .cc-row svg { width: 20px; height: 20px; color: var(--wood-2); flex: none; }
.about-contact-card .cc-row a, .about-contact-card .cc-row span { color: #fff; font-size: 15px; }
.about-contact-card .cc-row small { display: block; color: rgba(255,255,255,.55); font-size: 12.5px; }

/* ============================================================
   PAGE DEVIS & RDV — conversion (formulaire + agenda + carte)
   ============================================================ */
.contact-cols { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(20px, 2.6vw, 30px); align-items: start; padding-block: clamp(40px, 5vw, 64px); }
@media (max-width: 920px) { .contact-cols { grid-template-columns: 1fr; } }

.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.contact-card-hd { padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 34px) 4px; }
.contact-card-hd .cc-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-deep); }
.contact-card-hd .cc-eyebrow svg { width: 16px; height: 16px; }
.contact-card-hd h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(23px, 3vw, 30px); letter-spacing: -.02em; margin-top: 12px; line-height: 1.1; }
.contact-card-hd p { color: var(--ink-soft); font-size: 15px; margin-top: 10px; line-height: 1.55; }
.contact-form { padding: clamp(18px, 2.4vw, 26px) clamp(24px, 3vw, 34px) clamp(26px, 3vw, 34px); }

/* Champ fichier (upload photo) */
.file-drop { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border: 1.5px dashed var(--line); border-radius: 11px; background: var(--cream-2); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.file-drop:hover { border-color: var(--accent); background: color-mix(in oklab, var(--accent), transparent 95%); }
.file-drop svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.file-drop b { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--ink); display: block; }
.file-drop span { font-size: 12.5px; color: var(--ink-mute); }
.file-drop input { display: none; }
.file-chip { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--forest-800); background: color-mix(in oklab, var(--accent), transparent 92%); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.file-chip button { border: none; background: none; cursor: pointer; color: var(--ink-mute); display: grid; place-items: center; padding: 0; }
.file-chip button svg { width: 14px; height: 14px; }

/* Consentement RGPD */
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); cursor: pointer; }
.consent label { font-size: 13px; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.consent label a { color: var(--accent-deep); font-weight: 600; }
.consent[data-err="true"] label { color: #C0451E; }

.send-reassure { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.send-reassure span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.send-reassure svg { width: 15px; height: 15px; color: var(--accent); }

/* Succès formulaire (inline) */
.form-success { padding: clamp(34px, 5vw, 54px) clamp(24px, 3vw, 34px); text-align: center; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: color-mix(in oklab, var(--accent), transparent 88%); color: var(--accent); display: grid; place-items: center; margin: 0 auto 20px; }
.form-success .check svg { width: 34px; height: 34px; }
.form-success h3 { font-family: var(--font-head); font-weight: 800; font-size: clamp(22px, 3vw, 28px); letter-spacing: -.02em; }
.form-success p { color: var(--ink-soft); margin-top: 12px; line-height: 1.6; max-width: 38ch; margin-inline: auto; }

/* Badge intégration [INTÉGRATION] */
.integ-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono, monospace); font-weight: 700; font-size: 11px; letter-spacing: .04em; color: #B5651D; background: #FBF1E4; border: 1px dashed #E0B080; padding: 5px 11px; border-radius: 7px; }
.integ-badge svg { width: 14px; height: 14px; }

/* Agenda (placeholder embed) */
.agenda-card { display: flex; flex-direction: column; }
.agenda-embed { margin: 0 clamp(24px,3vw,34px) clamp(24px,3vw,34px); flex: 1; min-height: 420px; border-radius: var(--radius); border: 1.5px dashed var(--line); background:
  linear-gradient(135deg, var(--cream-2), var(--paper));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 36px 28px; position: relative; }
.agenda-embed .ag-ic { width: 72px; height: 72px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--accent); }
.agenda-embed .ag-ic svg { width: 36px; height: 36px; }
.agenda-embed b { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--ink); }
.agenda-embed p { font-size: 14px; color: var(--ink-soft); max-width: 34ch; line-height: 1.55; }
.agenda-embed .ag-slots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 4px; opacity: .55; }
.agenda-embed .ag-slots span { font-size: 12.5px; font-weight: 700; color: var(--ink-mute); background: var(--paper); border: 1px solid var(--line); padding: 7px 13px; border-radius: 8px; }

/* Coordonnées & infos pratiques */
.infos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 20px); }
@media (max-width: 860px) { .infos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .infos-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.info-card .i-ic { width: 46px; height: 46px; border-radius: 13px; background: color-mix(in oklab, var(--accent), transparent 92%); color: var(--accent); display: grid; place-items: center; }
.info-card .i-ic svg { width: 23px; height: 23px; }
.info-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); margin-top: 16px; }
.info-card a, .info-card p { font-size: 16px; color: var(--ink); margin-top: 6px; line-height: 1.45; font-weight: 600; display: block; }
.info-card a:hover { color: var(--accent-deep); }
.info-card small { display: block; font-size: 13px; color: var(--ink-soft); font-weight: 400; margin-top: 7px; line-height: 1.45; }

/* Carte (zone d'intervention) */
.map-sec { background: var(--cream-2); }
.map-embed { margin-top: clamp(28px, 4vw, 40px); height: clamp(280px, 42vw, 440px); border-radius: var(--radius-lg); border: 1.5px dashed var(--line); overflow: hidden; position: relative;
  background:
    radial-gradient(circle at 38% 44%, color-mix(in oklab, var(--accent), transparent 78%), transparent 26%),
    repeating-linear-gradient(0deg, transparent 0 38px, color-mix(in oklab, var(--line), transparent 40%) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, color-mix(in oklab, var(--line), transparent 40%) 38px 39px),
    var(--paper);
  display: grid; place-items: center; text-align: center; }
.map-embed .map-pin { position: absolute; top: 44%; left: 38%; transform: translate(-50%, -100%); color: var(--accent); }
.map-embed .map-pin svg { width: 44px; height: 44px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.map-embed .map-pin b { position: absolute; top: -8px; left: 50%; transform: translate(-50%, -100%); white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: 13px; background: var(--forest-800); color: #fff; padding: 5px 12px; border-radius: 999px; }
.map-embed .map-center { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px; box-shadow: var(--shadow-md); z-index: 2; }
.map-embed .map-center .integ-badge { margin-bottom: 8px; }
.map-embed .map-center p { font-size: 13.5px; color: var(--ink-soft); }
.map-zones { margin-top: clamp(22px, 3vw, 30px); }
.map-zones .zone-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.map-zones .zone-chips span { font-size: 13.5px; font-weight: 600; color: var(--forest-700); background: var(--paper); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }
.map-zones .zone-chips span[data-main] { background: var(--accent); color: #fff; border-color: transparent; }

/* ============================================================
   ADAPTATIONS PRODUCTION (implémentation statique, sans React)
   ============================================================ */

/* Jeu d'icônes : le sprite <use> hérite du trait depuis le svg hôte */
svg.ic { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* L'attribut hidden doit l'emporter sur les display définis plus haut */
[hidden] { display: none !important; }

/* Sélecteur de spécialités : panneau actif élargi (équivalent du style inline React) */
.sel-panel[data-on="true"] { flex: 7 1 0%; }

/* Entrée en scène décalée des panneaux (ajoutée par JS, hors reduced-motion) */
.sel.js-stagger .sel-panel { opacity: 0; transform: translateX(-42px); }
.sel.js-stagger .sel-panel.is-in { opacity: 1; transform: translateX(0); }

/* Cartes prestations : état initial avant révélation (ajouté par JS) */
.presta-grid.js-reveal .reveal-cell { opacity: 0; transform: translateY(58px); }
.presta-grid.js-reveal .reveal-cell.is-in { opacity: 1; transform: translateY(0); }

/* Sélecteur de spécialités — MOBILE : accordéon vertical.
   En ligne, 5 panneaux × min-width ne tiennent pas sous 620px (panneau actif
   écrasé, photos illisibles) → on empile : bandeaux pleine largeur, titre
   toujours visible, le panneau actif s'ouvre en hauteur. */
.showcase-hint .hint-mobile { display: none; }
@media (max-width: 620px) {
  .showcase-hint .hint-desktop { display: none; }
  .showcase-hint .hint-mobile { display: inline; }

  .sel { flex-direction: column; min-height: 0; height: clamp(440px, 72vh, 560px); gap: 8px; }
  .sel-panel { min-width: 0; min-height: 56px; }
  .sel-panel[data-on="true"] { flex: 4 1 0%; }

  /* Entrée en scène alignée sur l'empilement vertical */
  .sel.js-stagger .sel-panel { transform: translateY(-20px); }
  .sel.js-stagger .sel-panel.is-in { transform: translateY(0); }

  /* Titre lisible sur chaque bandeau replié ; sous-titre réservé au panneau actif */
  .sel-label { padding: 10px 12px; gap: 11px; }
  .sel-ic { width: 34px; height: 34px; }
  .sel-ic svg { width: 17px; height: 17px; }
  .sel-text { opacity: 1; transform: none; }
  .sel-text b { font-size: 16px; }
  .sel-text em { display: none; }
  .sel-text[data-on="true"] em { display: block; }
  .sel-text[data-on="true"] b { font-size: 18px; }
}

/* Ancres (jump-chips, liens #section) : ne pas passer sous le header sticky */
section[id], article[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ===================== Page « Réalisations » — galerie filtrable ===================== */

/* En-tête simple */
.gallery-hero { padding: clamp(56px,9vw,96px) 0 clamp(40px,6vw,60px); }
.gallery-hero .wrap { max-width: 760px; }
.gallery-hero h1 { font-size: clamp(34px, 5.4vw, 60px); margin-top: 16px; }
.gallery-hero .lead { margin-top: 16px; font-size: clamp(17px,2vw,20px); color: var(--ink-soft); max-width: 620px; }
.gallery-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
