/* ══════════════════════════════════════════════════════════
   GREEN CONFORT — Design system + motion design
   Palette forêt/émeraude, typo Bricolage Grotesque (titres) + Inter (texte)
   ══════════════════════════════════════════════════════════ */

:root {
  --forest: #072a20;
  --forest-2: #0b3b2e;
  --green: #0f6b4a;
  --green-2: #12805a;
  --emerald: #10b981;
  --mint: #d1fae5;
  --mint-soft: #eef7f2;
  --ink: #0f1a16;
  --ink-2: #40514a;
  --muted: #6b7c74;
  --line: #e3ebe6;
  --paper: #ffffff;
  --paper-2: #f6faf8;
  --gold: #e9c46a;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 18px rgba(7, 42, 32, 0.06);
  --shadow: 0 20px 50px rgba(7, 42, 32, 0.12);
  --shadow-lg: 0 40px 90px rgba(7, 42, 32, 0.20);

  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(var(--wrap), 92%); margin-inline: auto; }

h1, h2, h3, h4 { font-family: "Bricolage Grotesque", Georgia, serif; line-height: 1.08; letter-spacing: -0.01em; }

/* ─── BOUTONS ─────────────────────────────────────────── */
.btn {
  --pad-y: 13px; --pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font: 600 15px/1 "Inter", sans-serif;
  cursor: pointer; border: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  position: relative; white-space: nowrap;
}
.btn--sm { --pad-y: 11px; --pad-x: 18px; font-size: 14px; }
.btn--lg { --pad-y: 16px; --pad-x: 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--primary { background: var(--green); color: #fff; box-shadow: 0 12px 26px rgba(15, 107, 74, .32); }
.btn--primary:hover { background: var(--green-2); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(15, 107, 74, .42); }
.btn--ghost { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--forest-2); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ─── TOPBAR ──────────────────────────────────────────── */
.topbar {
  background: var(--forest); color: #cdeadd; font-size: 13px;
  position: relative; z-index: 60;
}
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; }
.topbar strong { color: #fff; font-weight: 700; }
.topbar__right { display: flex; align-items: center; gap: 12px; }
.topbar__right a:hover { color: #fff; }
.topbar .sep { opacity: .4; }
.topbar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); margin-right: 6px; box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(16,185,129,.5)} 70%{box-shadow:0 0 0 8px rgba(16,185,129,0)} 100%{box-shadow:0 0 0 0 rgba(16,185,129,0)} }

/* ─── HEADER ──────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), background .4s, border-color .4s, padding .4s;
}
.header.is-stuck { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(255,255,255,.94); }
.header__in { display: flex; align-items: center; gap: 24px; padding: 14px 0; transition: padding .4s var(--ease); }
.header.is-stuck .header__in { padding: 9px 0; }
.brand__logo { height: 62px; width: auto; transition: height .4s var(--ease); }
.header.is-stuck .brand__logo { height: 50px; }

.nav { display: flex; gap: 6px; margin-left: auto; }
.nav__link {
  position: relative; padding: 9px 13px; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  border-radius: 10px; transition: color .25s, background .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px;
  background: var(--green); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--green); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--green); }
.header__cta { margin-left: 6px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.burger span { width: 24px; height: 2.5px; background: var(--forest-2); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ─── HERO ────────────────────────────────────────────── */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: -8% 0 0 0; z-index: 0; will-change: transform; }
.hero__bg img { width: 100%; height: 116%; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(7,42,32,.94) 0%, rgba(7,42,32,.78) 42%, rgba(7,42,32,.32) 100%); }
.hero__mesh {
  position: absolute; inset: 0; opacity: .5; mix-blend-mode: screen;
  background:
    radial-gradient(60% 60% at 12% 20%, rgba(16,185,129,.35), transparent 60%),
    radial-gradient(50% 50% at 85% 80%, rgba(15,107,74,.5), transparent 60%);
  animation: meshFloat 14s ease-in-out infinite alternate;
}
@keyframes meshFloat { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(2%, -2%, 0) scale(1.08); } }

.hero__in { position: relative; z-index: 2; padding: 120px 0 90px; }
.hero__col { max-width: 720px; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(16,185,129,.16); border: 1px solid rgba(16,185,129,.4); color: #a7f3d0;
}
.pill__spark { color: var(--emerald); }

.hero__title { font-size: clamp(3.4rem, 9vw, 7rem); font-weight: 600; margin: 26px 0 22px; letter-spacing: -0.03em; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .accent { color: var(--emerald); }

.hero__lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 620px; color: #dcefe6; }
.hero__lead strong { color: #fff; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 44px; }

.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat__num { display: block; font-family: "Bricolage Grotesque", serif; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; color: #fff; line-height: 1; }
.stat__label { font-size: 13.5px; color: #a7f3d0; font-weight: 600; letter-spacing: .02em; }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; }
.hero__mouse { display: block; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.55); border-radius: 14px; position: relative; }
.hero__mouse span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0%{opacity:0; transform:translateY(-3px)} 40%{opacity:1} 80%{opacity:0; transform:translateY(10px)} 100%{opacity:0} }

/* ─── MARQUEE ─────────────────────────────────────────── */
.marquee { background: var(--forest-2); color: #7fd1ac; overflow: hidden; padding: 15px 0; border-block: 1px solid rgba(255,255,255,.06); }
.marquee__track { display: inline-flex; gap: 26px; white-space: nowrap; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: 14px; animation: marquee 34s linear infinite; will-change: transform; }
.marquee__track span { opacity: .85; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── SECTIONS génériques ─────────────────────────────── */
.section { padding: clamp(64px, 9vw, 118px) 0; }
.section--soft { background: var(--paper-2); }
.section__head { max-width: 720px; margin-bottom: 54px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; max-width: none; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.eyebrow--light { color: var(--emerald); }
.section__title { font-size: clamp(2rem, 4.4vw, 3.15rem); font-weight: 600; color: var(--ink); }
.section__title--light { color: #fff; }
.section__sub { margin-top: 16px; font-size: 1.08rem; color: var(--muted); max-width: 620px; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--green); font-size: 15px; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }
.link-arrow.sm { font-size: 14px; }

/* ─── GRILLES CARTES ──────────────────────────────────── */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* Feature (engagements) */
.feature {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--green), var(--emerald)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature:hover::before { transform: scaleX(1); }
.feature__num { position: absolute; top: 22px; right: 26px; font-family: "Bricolage Grotesque", serif; font-size: 2.4rem; font-weight: 600; color: var(--mint); }
.feature__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--mint-soft); color: var(--green); font-size: 22px; margin-bottom: 20px; transition: transform .4s var(--ease); }
.feature:hover .feature__icon { transform: scale(1.08) rotate(-4deg); }
.feature h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .98rem; }

/* Products */
.products { margin-top: 6px; }
.product {
  background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  transform-style: preserve-3d;
}
.product:hover { box-shadow: var(--shadow-lg); }
.product__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product__media img { transform: scale(1.08); }
.product__price { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.95); color: var(--forest-2); font-weight: 800; font-size: 13px; padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.product__body { padding: 24px 24px 26px; }
.product__tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.product__body h3 { font-size: 1.45rem; margin: 8px 0 10px; }
.product__body p { color: var(--muted); font-size: .96rem; }
.product__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.chip { font-size: 12px; font-weight: 700; color: var(--green); background: var(--mint-soft); padding: 6px 12px; border-radius: 999px; }

/* Mini (rénovation) */
.mini { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px 22px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.mini:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mini__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--forest-2); color: #fff; font-family: "Bricolage Grotesque", serif; font-weight: 600; margin-bottom: 16px; }
.mini h3 { font-size: 1.12rem; margin-bottom: 8px; }
.mini p { color: var(--muted); font-size: .92rem; }

/* ─── TVA ─────────────────────────────────────────────── */
.tva { background: radial-gradient(120% 120% at 0% 0%, var(--green) 0%, var(--forest-2) 55%, var(--forest) 100%); color: #fff; position: relative; overflow: hidden; }
.tva::after { content: ""; position: absolute; right: -8%; top: -20%; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(16,185,129,.28), transparent 65%); }
.tva__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: center; }
.tva__lead { color: #d7efe4; margin-top: 16px; font-size: 1.06rem; max-width: 560px; }
.tva__lead strong { color: #fff; } .tva__lead em { color: var(--emerald); font-style: normal; font-weight: 700; }
.tva__compare { margin-top: 30px; }
.tva__compare-lbl { font-size: 14px; color: #a7f3d0; margin-bottom: 12px; font-weight: 600; }
.tva__rows { display: grid; gap: 12px; max-width: 520px; }
.tva__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 20px; border-radius: 14px; font-size: 15px; }
.tva__row span { color: #cfe9df; }
.tva__row--old { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.tva__row--old strong { text-decoration: line-through; opacity: .7; }
.tva__row--new { background: rgba(16,185,129,.18); border: 1px solid rgba(16,185,129,.5); }
.tva__row--new strong { color: #fff; }

.tva__card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-lg); }
.tva__badge { display: inline-block; font-size: 12.5px; font-weight: 800; color: var(--green); background: var(--mint-soft); padding: 7px 13px; border-radius: 999px; margin-bottom: 16px; }
.tva__card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.tva__card p { color: var(--muted); font-size: .96rem; margin-bottom: 22px; }
.tva__note { margin-top: 14px; margin-bottom: 0; font-size: 13px; color: var(--green); font-weight: 600; }

/* ─── DEVIS ───────────────────────────────────────────── */
.devis__in { display: grid; grid-template-columns: .95fr 1.05fr; gap: 54px; align-items: start; }
.devis__perks { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.devis__perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-2); }
.devis__perks span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mint-soft); color: var(--green); font-size: 13px; flex-shrink: 0; }

.devis__form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: 500 15px "Inter", sans-serif; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper-2);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(15,107,74,.1); }
.field textarea { resize: vertical; }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 600; display: none; }
.form-status.is-ok { display: block; color: var(--green); }
.form-status.is-err { display: block; color: #c0392b; }
.devis__legal { margin-top: 14px; font-size: 12px; color: var(--muted); }
.devis__legal a { color: var(--green); font-weight: 600; }

/* ─── CTA ─────────────────────────────────────────────── */
.cta { background: var(--forest); color: #fff; padding: clamp(56px, 8vw, 90px) 0; text-align: center; }
.cta__in { max-width: 780px; margin-inline: auto; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; }
.cta p { margin: 16px auto 30px; color: #cfe9df; max-width: 560px; }
.cta p a { color: var(--emerald); font-weight: 600; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ──────────────────────────────────────────── */
.footer { background: #ffffff; color: var(--ink-2); padding: 66px 0 30px; border-top: 1px solid #e6eae8; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid #e6eae8; }
.footer__logo { height: 78px; width: auto; margin-bottom: 18px; opacity: 1; }
.footer__brand p { font-size: .94rem; color: var(--ink-2); max-width: 320px; }
.footer__contact { list-style: none; margin-top: 18px; display: grid; gap: 9px; font-size: .92rem; }
.footer__contact a:hover { color: var(--green); }
.footer__col h4 { font-family: "Inter", sans-serif; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); margin-bottom: 16px; }
.footer__col a:not(.btn) { display: block; font-size: .92rem; color: var(--ink-2); padding: 5px 0; transition: color .2s, transform .2s; }
.footer__col a:not(.btn):hover { color: var(--green); transform: translateX(3px); }
.footer__col--cta p { font-size: .9rem; color: var(--ink-2); margin-bottom: 16px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: 13px; color: #6b7a73; flex-wrap: wrap; }
.footer__bottom strong { color: var(--forest); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--green); }

/* ─── FAB mobile ──────────────────────────────────────── */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 45;
  background: var(--green); color: #fff; font-weight: 700; font-size: 14px;
  padding: 14px 20px; border-radius: 999px; box-shadow: 0 14px 30px rgba(15,107,74,.4);
  display: none; align-items: center; gap: 8px;
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.fab.is-visible { transform: translateY(0); }

/* ══════════════════════════════════════════════════════════
   PAGES DÉDIÉES (fenetres / portes / volets)
   ══════════════════════════════════════════════════════════ */
.subhero { position: relative; color: #fff; overflow: hidden; padding: clamp(120px, 16vw, 190px) 0 clamp(60px, 8vw, 90px); }
.subhero__bg { position: absolute; inset: 0; z-index: 0; }
.subhero__bg img { width: 100%; height: 100%; object-fit: cover; }
.subhero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(7,42,32,.95) 0%, rgba(7,42,32,.72) 55%, rgba(7,42,32,.4) 100%); }
.subhero__in { position: relative; z-index: 2; max-width: 720px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #a7f3d0; font-weight: 600; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }
.subhero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 600; letter-spacing: -0.02em; }
.subhero__lead { margin-top: 18px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: #dcefe6; max-width: 600px; }
.subhero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.subhero__price { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 26px; }
.subhero__price b { font-family: "Bricolage Grotesque", serif; font-size: 2rem; color: var(--emerald); }
.subhero__price span { color: #a7f3d0; font-size: 14px; }

/* Split texte / image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split + .split { margin-top: clamp(56px, 8vw, 96px); }
.split--rev .split__media { order: -1; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.split__media:hover img { transform: scale(1.05); }
.split__body h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; margin-bottom: 16px; }
.split__body p { color: var(--muted); font-size: 1.02rem; }

/* Checklist */
.checklist { list-style: none; margin-top: 22px; display: grid; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink-2); }
.checklist li b { color: var(--ink); }
.checklist li::before { content: "✓"; display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--mint-soft); color: var(--green); font-size: 13px; font-weight: 700; margin-top: 1px; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-sm); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }

/* Bandeau spécifs (chiffres) */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.specs__item { padding: 26px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.specs__num { font-family: "Bricolage Grotesque", serif; font-size: 2.3rem; font-weight: 700; color: var(--green); line-height: 1; }
.specs__lbl { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted); font-weight: 600; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--rev .split__media { order: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
}

/* ══════════ MOTION : reveal on scroll ══════════ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }

/* Galerie Réalisations (6 vignettes paysage) */
.gallery--6 { grid-template-columns: repeat(3, 1fr); }
.gallery--6 .gallery__item { aspect-ratio: 4 / 3; border-radius: var(--radius); }

/* Barre de progression de lecture (motion) */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100; background: linear-gradient(90deg, var(--green), var(--emerald)); box-shadow: 0 0 10px rgba(16,185,129,.5); transition: width .1s linear; }

/* Titre héro : lignes qui montent derrière un masque (motion) */
.hero__title .line { overflow: hidden; }
.hero__title .line b { display: inline-block; font-weight: inherit; transform: translateY(115%); opacity: 0; animation: heroLine .9s var(--ease) forwards; }
.hero__title .line:nth-child(1) b { animation-delay: .15s; }
.hero__title .line:nth-child(2) b { animation-delay: .30s; }
.hero__title .line:nth-child(3) b { animation-delay: .45s; }
@keyframes heroLine { to { transform: none; opacity: 1; } }

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

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .tva__in { grid-template-columns: 1fr; gap: 34px; }
  .devis__in { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 860px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 14px 5%; box-shadow: var(--shadow); border-top: 1px solid var(--line);
  }
  .nav.is-open .nav__link { padding: 12px 10px; font-size: 16px; }
  .nav.is-open .nav__link::after { display: none; }
  .cards-3 { grid-template-columns: 1fr; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .fab { display: flex; }
  .devis__form { grid-template-columns: 1fr; }
  .topbar__left { display: none; }
  .topbar__in { justify-content: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero__stats { gap: 26px; }
  .cards-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .cta__actions { flex-direction: column; }
  .cta__actions .btn { width: 100%; }
}

/* ══════════ Accessibilité : réduire le mouvement ══════════
   On garde des apparitions douces en FONDU (sans déplacement, sans gêne),
   mais on coupe les animations en boucle et le parallaxe. Cela permet au site
   de rester vivant même en mode économie d'énergie (qui force ce réglage). */
@media (prefers-reduced-motion: reduce) {
  /* Animations continues coupées */
  .marquee__track, .hero__mesh, .topbar .dot, .hero__mouse span { animation: none !important; }
  .hero__bg { transform: none !important; }
  /* Apparitions : fondu seul, sans translation verticale */
  .reveal { transform: none; transition: opacity .7s var(--ease); }
  /* Intro du titre : fondu doux au lieu du glissé */
  .hero__title .line b { transform: none; animation: heroFade .7s var(--ease) forwards; }
  html { scroll-behavior: auto; }
}
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }

/* Renvoi vers MS Green (pôle rénovation énergétique) */
.ms-redirect {
  margin-top: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--forest), var(--green));
  color: #fff; border-radius: var(--radius); padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow);
}
.ms-redirect__txt { flex: 1 1 420px; }
.ms-redirect .eyebrow { color: var(--emerald); }
.ms-redirect h3 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin: 8px 0 12px; }
.ms-redirect p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0; }
.ms-redirect p strong { color: #fff; }
.ms-redirect .btn { flex: 0 0 auto; }
@media (max-width: 700px){ .ms-redirect { flex-direction: column; align-items: flex-start; } .ms-redirect .btn { width: 100%; text-align: center; justify-content: center; } }

/* ══════════════════════════════════════════════════════════
   PAGES LÉGALES (mentions, confidentialité, CGV)
   ══════════════════════════════════════════════════════════ */
.legal-hero { background: var(--forest); color: #fff; padding: 130px 0 44px; }
.legal-hero .breadcrumb { font-size: 13px; letter-spacing: .04em; color: #9fc3b2; margin-bottom: 14px; }
.legal-hero .breadcrumb a { color: #9fc3b2; }
.legal-hero .breadcrumb a:hover { color: #fff; }
.legal-hero h1 { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 600; letter-spacing: -0.02em; }
.legal-hero p { color: #cfe3d9; max-width: 640px; margin-top: 12px; font-size: 1.02rem; }
.legal { max-width: 880px; margin: 0 auto; padding: 60px 0 90px; color: var(--ink-2); }
.legal section { margin-bottom: 34px; }
.legal h2 { color: var(--forest); font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.legal p { line-height: 1.78; font-size: 1rem; margin-bottom: 10px; }
.legal ul { margin: 8px 0 12px; padding-left: 22px; }
.legal li { line-height: 1.7; font-size: 1rem; margin: 5px 0; }
.legal strong { color: var(--ink); }
.legal a { color: var(--green); text-decoration: underline; }
.legal a:hover { color: var(--green-2); }
.legal__updated { color: #8a9a92; font-size: .9rem; margin-top: 22px; }
.legal__back { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--green); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.legal-nav a { font-size: 13px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 40px; color: #fff; }
.legal-nav a:hover, .legal-nav a[aria-current="page"] { background: var(--emerald); border-color: var(--emerald); color: var(--forest); }
