/* ==========================================================================
   Pergolas Normandie : thème « Dehors »
   Lin clair, anthracite (RAL 7016), corail, bleu ciel · Sora (titres) + Figtree (texte)
   Structure : barre latérale fixe (bureau) + barre d'onglets en bas (mobile), hero photo arrondi
   avec carte météo, démonstrateur de lames, liste de modèles à aperçu flottant, configurateur
   avec aperçu SVG et démarche d'urbanisme, comparatif des toitures, galerie en mosaïque.
   ========================================================================== */
:root {
    --linen: #f5f3ee;
    --white: #ffffff;
    --anth: #2c3236;
    --anth2: #3a4146;
    --coral: #ff6a4d;
    --coral-d: #ea5236;
    --coral-t: #d9442a;
    --sky: #dbe9f1;
    --sky-d: #b9d4e3;
    --text: #3d4448;
    --muted: #737c82;
    --line: rgba(44, 50, 54, .12);
    --line-l: rgba(255, 255, 255, .14);
    --head: "Sora", system-ui, sans-serif;
    --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --r: 22px;
    --sw: 264px;
    --gx: clamp(1.2rem, 4vw, 4rem);
    --space: clamp(3.8rem, 7vw, 6.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.06rem; line-height: 1.65; color: var(--text); background: var(--linen); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--coral-t); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; color: var(--anth); letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.08rem, 1.4vw, 1.25rem); letter-spacing: -0.02em; line-height: 1.2; }
.hl { color: var(--coral-t); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 300; padding: .6rem 1rem; background: #fff; border-radius: 10px; }
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; flex: none; }
.icon-xs { width: 14px; height: 14px; flex: none; }
.fill { width: 100%; height: 100%; object-fit: cover; }
.note { margin-top: 1.2rem; color: var(--muted); font-size: .9rem; }
.big { font-size: 1.15rem; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .9rem; font-family: var(--head); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--coral); }
.eyebrow-light { color: rgba(255, 255, 255, .8); }
.eyebrow-gap { margin-top: 1.4rem; }
.act { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.8rem; }
.chip { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: var(--sky); color: var(--anth); font-size: .8rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { padding: .35rem .8rem; border-radius: 999px; background: var(--linen); color: var(--anth); font-size: .88rem; }
.ticks { display: grid; gap: .5rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.45; }
.ticks .icon-xs { margin-top: .3rem; padding: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--coral); color: #fff; }
.ticks-lg li { font-size: 1.05rem; color: var(--anth); }
.info { display: flex; gap: .7rem; align-items: flex-start; margin: 1.6rem 0 0; padding: 1rem 1.2rem; border-radius: 16px; background: var(--sky); color: var(--anth); font-size: .96rem; }
.info .icon-sm { flex: none; margin-top: .2rem; color: var(--coral-t); }
.stars { display: inline-flex; gap: 2px; }
.star { width: 16px; height: 16px; fill: rgba(44, 50, 54, .15); }
.star.on { fill: var(--coral); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .8rem 1.35rem; border: 2px solid transparent; border-radius: 14px; font-family: var(--head); font-weight: 600; font-size: .98rem; line-height: 1.15; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 58px; padding: 1rem 1.6rem; font-size: 1.03rem; }
.btn-block { width: 100%; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 14px 30px -14px rgba(255, 106, 77, .8); }
.btn-coral:hover { background: var(--coral-d); }
.btn-dark { background: var(--anth); color: #fff; }
.btn-dark:hover { background: #1f2427; }
.btn-line { border-color: var(--anth); color: var(--anth); }
.btn-line:hover { background: var(--anth); color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .26); }
.btn-ghost-dark { border-color: var(--line); color: var(--anth); }
.link { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--head); font-weight: 600; color: var(--anth); text-decoration: none; }
.link .icon-sm { padding: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--coral); color: #fff; transition: transform .3s var(--ease); }
.link:hover .icon-sm { transform: translateX(4px); }

/* ─── Barre latérale (bureau) ────────────────────────────────── */
.side { position: fixed; left: 0; top: 0; bottom: 0; z-index: 60; display: flex; flex-direction: column; width: var(--sw); padding: 1.6rem 1.2rem 1.4rem; background: var(--anth); color: rgba(255, 255, 255, .8); overflow-y: auto; scrollbar-width: none; }
.side::-webkit-scrollbar { display: none; }
.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--anth); text-decoration: none; }
.logo-ic { width: 44px; height: 44px; flex: none; }
.logo-txt { display: grid; font-family: var(--head); line-height: 1; }
.logo-txt b { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; }
.logo-txt span { margin-top: .2rem; font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--coral-t); }
.side .logo { color: #fff; padding: 0 .4rem; }
.logo-img { display: block; width: auto; height: 44px; }
.side .logo-img { width: 100%; max-width: 220px; height: auto; }
.ft .logo-img { height: 60px; }
.side .logo-txt span { color: var(--coral); }
.side-nav { display: grid; gap: .15rem; margin-top: 2.2rem; }
.side-nav > a { display: flex; align-items: center; gap: .8rem; padding: .75rem .9rem; border-radius: 12px; color: rgba(255, 255, 255, .78); font-family: var(--head); font-weight: 500; font-size: .96rem; text-decoration: none; transition: background-color .2s, color .2s; }
.side-nav > a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.side-nav > a[aria-current="page"] { background: #fff; color: var(--anth); }
.side-nav > a[aria-current="page"] .icon-sm { color: var(--coral); }
.side-sub { display: none; gap: .1rem; margin: .2rem 0 .5rem 2.4rem; padding-left: .8rem; border-left: 1px solid var(--line-l); }
.side-nav > a[aria-current="page"] + .side-sub { display: grid; }
.side-sub a { padding: .35rem .5rem; border-radius: 8px; color: rgba(255, 255, 255, .65); font-size: .9rem; text-decoration: none; }
.side-sub a:hover, .side-sub a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .06); }
.side-sub a[aria-current="page"] { color: var(--coral); }
.side-foot { display: grid; gap: .8rem; margin-top: auto; padding-top: 1.5rem; }
.side-tel { display: grid; grid-template-columns: 40px 1fr; column-gap: .7rem; align-items: center; padding: .8rem; border-radius: 14px; background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.side-tel span { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--coral); }
.side-tel b { font-family: var(--head); font-size: 1.05rem; }
.side-tel small { color: rgba(255, 255, 255, .55); font-size: .78rem; }
.side-tel:hover { background: rgba(255, 255, 255, .1); }
.side-progress { position: absolute; top: 0; right: 0; bottom: 0; width: 3px; background: rgba(255, 255, 255, .06); }
.side-progress i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--coral); }
.page { margin-left: var(--sw); min-height: 100vh; }

/* Barre mobile + menu mobile + barre d'onglets */
.mbar { position: sticky; top: 0; z-index: 70; display: none; justify-content: space-between; align-items: center; gap: 1rem; height: 66px; padding: 0 1rem; background: rgba(245, 243, 238, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.mbar .logo-ic { width: 38px; height: 38px; }
.mbar-act { display: flex; gap: .5rem; }
.mbar-ic { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--white); color: var(--anth); cursor: pointer; }
.mbar-menu { gap: 5px; align-content: center; background: var(--anth); }
.mbar-menu i { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s; }
.mm-open .mbar-menu i:first-child { transform: translateY(3.5px) rotate(45deg); }
.mm-open .mbar-menu i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mmenu { position: fixed; left: 0; right: 0; top: 66px; bottom: 0; z-index: 69; overflow-y: auto; padding: 1rem 1rem calc(90px + env(safe-area-inset-bottom)); background: var(--linen); }
.mmenu[hidden] { display: none; }
.mmenu nav { display: grid; gap: .3rem; }
.mmenu nav a { display: flex; align-items: center; gap: .8rem; padding: .95rem 1rem; border-radius: 14px; background: var(--white); color: var(--anth); font-family: var(--head); font-weight: 600; text-decoration: none; }
.mmenu nav a[aria-current="page"] { background: var(--anth); color: #fff; }
.mmenu-t { margin: 1.4rem 0 .6rem; font-family: var(--head); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mmenu-svc { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.mmenu-svc a { padding: .55rem .9rem; border-radius: 999px; border: 1px solid var(--line); color: var(--anth); font-size: .92rem; text-decoration: none; }
.mm-open { overflow: hidden; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 72; display: none; justify-content: space-around; gap: .2rem; padding: .4rem .5rem calc(.4rem + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -10px 30px -18px rgba(44, 50, 54, .4); }
.tabbar a { display: grid; justify-items: center; gap: .15rem; flex: 1; padding: .4rem .2rem; border-radius: 12px; color: var(--muted); font-size: .72rem; font-weight: 600; text-decoration: none; }
.tabbar a[aria-current="page"] { color: var(--anth); }
.tabbar a[aria-current="page"] .icon-sm { color: var(--coral); }
.tabbar .tabbar-cta { background: var(--coral); color: #fff; }
.tabbar .tabbar-cta .icon-sm { color: #fff !important; }

/* ─── Hero accueil ───────────────────────────────────────────── */
.hero { position: relative; margin: 14px; min-height: min(860px, calc(100vh - 28px)); border-radius: 30px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.hero-pic { position: absolute; inset: 0; margin: 0; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(20deg, rgba(20, 24, 27, .82) 10%, rgba(20, 24, 27, .35) 50%, rgba(20, 24, 27, 0) 75%); }
.hero-txt { position: relative; max-width: 760px; padding: clamp(1.8rem, 5vw, 4rem); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 5.2rem); letter-spacing: -0.045em; }
.hero .hl { color: #ff8a70; }
.hero-lead { max-width: 560px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: rgba(255, 255, 255, .9); }
.wx { position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); width: min(340px, calc(100% - 2rem)); padding: 1.1rem; border-radius: 20px; background: rgba(255, 255, 255, .92); color: var(--text); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.wx-t { margin: 0 0 .7rem; font-family: var(--head); font-weight: 700; color: var(--anth); }
.wx-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; margin-bottom: .8rem; }
.wx-btns button { display: grid; justify-items: center; gap: .2rem; padding: .55rem .2rem; border: 0; border-radius: 12px; background: var(--linen); color: var(--anth); font: inherit; font-size: .76rem; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.wx-btns button[aria-selected="true"] { background: var(--anth); color: #fff; }
.wx-btns button[aria-selected="true"] .icon-sm { color: var(--coral); }
.wx-txt { margin: 0; font-size: .95rem; line-height: 1.5; }

/* ─── Sections ───────────────────────────────────────────────── */
.sec { position: relative; padding: var(--space) var(--gx); }
.sec > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.sec-tight { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.sec-white { background: var(--white); }
.sec-sky { background: var(--sky); }
.sh { margin-bottom: clamp(2rem, 4vw, 3rem); }
.sh > * { max-width: 760px; }
.sh h2 { margin: 0; }
.sh-p { margin: 1rem 0 0; color: var(--muted); font-size: 1.08rem; }
.sh-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.2rem 3rem; }

/* Points clés */
.keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.keys li { display: grid; grid-template-columns: 48px 1fr; column-gap: .9rem; align-items: center; padding: 1.1rem; border-radius: 18px; background: var(--white); }
.keys .icon { grid-row: span 2; width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--sky); color: var(--anth); }
.keys b { font-family: var(--head); color: var(--anth); line-height: 1.2; }
.keys span { color: var(--muted); font-size: .88rem; line-height: 1.35; }

/* Démonstrateur de lames */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-lv { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.split-top { align-items: start; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.lv { padding: 1rem; border-radius: var(--r); background: var(--white); box-shadow: 0 30px 60px -40px rgba(44, 50, 54, .5); }
.lv-stage { overflow: hidden; border-radius: 16px; }
.lv-stage svg { display: block; width: 100%; height: auto; }
.lv-ctrl { padding: 1.2rem .4rem .4rem; }
.lv-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin: 1rem 0; }
.lv-presets button { display: flex; align-items: center; justify-content: center; gap: .35rem; padding: .6rem .3rem; border: 1.5px solid var(--line); border-radius: 12px; background: none; color: var(--anth); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.lv-presets button:hover { border-color: var(--anth); }
.lv-state { margin: 0; min-height: 3em; color: var(--anth); font-weight: 500; }
.range { display: grid; gap: .5rem; margin-bottom: 1rem; }
.range > span { display: flex; justify-content: space-between; gap: 1rem; color: var(--anth); font-weight: 600; font-size: .95rem; }
.range output { font-family: var(--head); color: var(--coral-t); }
.range input { width: 100%; height: 30px; margin: 0; background: transparent; accent-color: var(--coral); cursor: pointer; }
.range input::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--coral) var(--p, 50%), var(--sky) var(--p, 50%)); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border: 4px solid #fff; border-radius: 50%; background: var(--coral); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.range input::-moz-range-track { height: 8px; border-radius: 8px; background: var(--sky); }
.range input::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--coral); }
.range input::-moz-range-thumb { width: 20px; height: 20px; border: 4px solid #fff; border-radius: 50%; background: var(--coral); }
.range input { -webkit-appearance: none; appearance: none; }

/* Liste des modèles avec aperçu flottant */
.models { position: relative; border-top: 1px solid var(--line); }
.mrow { position: relative; display: grid; grid-template-columns: 4rem 1fr auto 52px; align-items: center; gap: 1.2rem; padding: 1.5rem .5rem; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; transition: padding .35s var(--ease), background-color .3s; }
.mrow:hover { padding-left: 1.4rem; background: var(--linen); }
.mrow-n { font-family: var(--head); font-weight: 700; color: var(--coral-t); }
.mrow-thumb { display: none; width: 72px; height: 72px; overflow: hidden; border-radius: 14px; }
.mrow-main { display: grid; gap: .15rem; }
.mrow-main b { font-family: var(--head); font-size: clamp(1.25rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.035em; color: var(--anth); line-height: 1.1; }
.mrow-main small { color: var(--muted); font-size: .96rem; }
.mrow-tag { padding: .35rem .8rem; border-radius: 999px; background: var(--sky); color: var(--anth); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.mrow-go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--anth); transition: background-color .25s, color .25s, transform .35s var(--ease); }
.mrow:hover .mrow-go { background: var(--coral); border-color: var(--coral); color: #fff; transform: rotate(-45deg); }
.mprev { position: absolute; left: 0; top: 0; z-index: 3; width: 300px; height: 220px; overflow: hidden; border-radius: 18px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .25s, transform .35s var(--ease); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .45); }
.mprev.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.mprev img { width: 100%; height: 100%; object-fit: cover; }

/* Configurateur */
.cfg { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.2rem, 3vw, 2.5rem); align-items: start; }
.cfg-view { position: sticky; top: 1.5rem; padding: 1rem; border-radius: var(--r); background: var(--white); box-shadow: 0 30px 60px -40px rgba(44, 50, 54, .5); }
.cfg-stage { border-radius: 16px; background: linear-gradient(#e6f0f5, #f7f5f0 75%); overflow: hidden; }
.cfg-stage svg { display: block; width: 100%; height: auto; }
.cfg-sum { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1rem 0 0; }
.cfg-sum div { padding: .9rem 1rem; border-radius: 14px; background: var(--linen); }
.cfg-sum dt { font-size: .8rem; color: var(--muted); }
.cfg-sum dd { margin: .1rem 0 0; font-family: var(--head); font-weight: 700; color: var(--anth); line-height: 1.25; }
.cfg-rule-note { margin: .8rem .2rem 0; color: var(--muted); font-size: .86rem; }
.cfg-form { display: grid; gap: .8rem; }
.cfg-step { margin: 0; padding: 1.2rem; border: 0; border-radius: 18px; background: var(--white); }
.cfg-step legend { display: flex; align-items: center; gap: .6rem; float: left; width: 100%; margin-bottom: .9rem; padding: 0; font-family: var(--head); font-weight: 700; color: var(--anth); }
.cfg-step legend + * { clear: both; }
.cfg-step legend span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--anth); color: #fff; font-size: .85rem; }
.cfg-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.opt, .chip-opt, .sw, .chk { position: relative; cursor: pointer; }
.opt input, .chip-opt input, .sw input, .chk input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: grid; gap: .1rem; height: 100%; padding: .9rem 1rem; border: 2px solid var(--line); border-radius: 14px; transition: border-color .2s, background-color .2s; }
.opt b { font-family: var(--head); color: var(--anth); }
.opt small { color: var(--muted); font-size: .86rem; line-height: 1.35; }
.opt input:checked + span { border-color: var(--coral); background: #fff4f1; }
.cfg-chips, .cfg-opts { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip-opt span, .chk span { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .95rem; border: 2px solid var(--line); border-radius: 999px; color: var(--anth); font-weight: 600; font-size: .92rem; transition: border-color .2s, background-color .2s, color .2s; }
.chip-opt input:checked + span, .chk input:checked + span { border-color: var(--anth); background: var(--anth); color: #fff; }
.chk input:checked + span .icon-sm { color: var(--coral); }
.opt input:focus-visible + span, .chip-opt input:focus-visible + span, .chk input:focus-visible + span, .sw input:focus-visible + span { outline: 2.5px solid var(--coral); outline-offset: 2px; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; }
.sw { display: grid; justify-items: center; gap: .3rem; text-align: center; }
.sw span { width: 44px; height: 44px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); transition: box-shadow .2s; }
.sw input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--coral); }
.sw small { font-size: .74rem; color: var(--muted); line-height: 1.2; }
.cfg-go { padding: 1.2rem; border-radius: 18px; background: var(--anth); color: rgba(255, 255, 255, .85); }
.cfg-text { margin: 0 0 1rem; font-size: .98rem; }
.cfg-text b { color: #fff; }

/* Adossée / autoportée */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; }
.vs-card { padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--r); background: var(--white); }
.vs-card svg { width: 100%; max-width: 260px; height: auto; margin-bottom: 1rem; }
.vs-card h3 { font-size: 1.5rem; }
.vs-card > p { color: var(--muted); }
.vs-or { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--coral); color: #fff; font-family: var(--head); font-weight: 700; }

/* Toitures */
.roofs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
.roof { display: flex; flex-direction: column; padding: 1.3rem; border-radius: 20px; background: var(--white); }
.sec-white .roof { background: var(--linen); }
.roof-h { display: flex; gap: .8rem; align-items: center; margin-bottom: .8rem; }
.roof-h h3 { margin: 0; font-size: 1.05rem; }
.roof-h small { color: var(--muted); font-size: .8rem; }
.roof-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--anth); }
.roof-lames { background: repeating-linear-gradient(115deg, var(--anth) 0 6px, var(--sky-d) 6px 10px); }
.roof-toile { background: linear-gradient(160deg, #f0e3d4, #d9c3a8); }
.roof-poly { background: linear-gradient(135deg, #f4f7f9, #cfdde6); box-shadow: inset 0 0 0 2px var(--anth); }
.roof-verre { background: linear-gradient(135deg, #bfe0f0 0 45%, #e9f5fb 45% 55%, #bfe0f0 55%); box-shadow: inset 0 0 0 2px var(--anth); }
.roof-panneau { background: var(--anth); }
.roof > p { flex: 1; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.roof dl { display: grid; gap: .35rem; margin: .4rem 0 0; padding-top: .8rem; border-top: 1px solid var(--line); }
.roof dl div { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.roof dt { font-size: .82rem; color: var(--muted); }
.roof dd { margin: 0; }
.meter { display: inline-flex; gap: 3px; }
.meter i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.meter i.on { background: var(--coral); }

/* Galerie mosaïque */
.masonry { columns: 3 280px; column-gap: 1rem; }
.masonry figure { position: relative; margin: 0 0 1rem; break-inside: avoid; border-radius: 20px; overflow: hidden; }
.masonry figure img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption { position: absolute; left: .8rem; right: .8rem; bottom: .8rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding: .6rem .8rem; border-radius: 12px; background: rgba(255, 255, 255, .92); color: var(--anth); font-size: .86rem; font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.masonry figure:hover figcaption, .masonry figure:focus-within figcaption { opacity: 1; transform: none; }
.masonry figure[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.6rem; }
.filters button { padding: .55rem 1rem; border: 2px solid var(--line); border-radius: 999px; background: none; color: var(--anth); font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--anth); border-color: var(--anth); color: #fff; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; counter-reset: s; }
.steps li { position: relative; padding: 1.5rem; border-radius: 20px; background: var(--white); overflow: hidden; }
.sec-white .steps li { background: var(--linen); }
.steps span { display: block; margin-bottom: 2.2rem; font-family: var(--head); font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--sky-d); }
.sec-sky .steps span { color: var(--sky); }
.steps li:hover span { color: var(--coral); }
.steps h3 { margin-bottom: .35rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Avis (un à la fois) */
.rvs { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 30px; background: var(--anth); color: rgba(255, 255, 255, .85); }
.rvs h2 { color: #fff; }
.rvs .hl { color: #ff8a70; }
.rvs .eyebrow { color: rgba(255, 255, 255, .7); }
.rvs-nav { display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem; font-family: var(--head); font-weight: 600; }
.rvs-nav button { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 1.5px solid var(--line-l); border-radius: 14px; background: none; color: #fff; cursor: pointer; }
.rvs-nav button:hover { background: var(--coral); border-color: var(--coral); }
.rvs-nav button:first-child svg { transform: rotate(180deg); }
.rvs-item { margin: 0; }
.rvs-item blockquote { margin: 1rem 0 1.5rem; font-family: var(--head); font-size: clamp(1.25rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.3; color: #fff; }
.rvs-item figcaption { display: grid; grid-template-columns: 48px 1fr; column-gap: .8rem; align-items: center; }
.rvs-av { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--coral); color: #fff; font-family: var(--head); font-weight: 700; }
.rvs-item figcaption b { color: #fff; }
.rvs-item figcaption span:last-child { color: rgba(255, 255, 255, .6); font-size: .9rem; }
.rvs .star { fill: rgba(255, 255, 255, .2); }
.rvs .star.on { fill: var(--coral); }
.gnote { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; }
.gnote b { font-family: var(--head); font-size: 2rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-wrap .btn { margin-top: 1rem; }
.faq { margin-bottom: .55rem; border-radius: 18px; background: var(--white); }
.sec-white .faq { background: var(--linen); }
.faq summary { display: grid; grid-template-columns: 2.3rem 1fr 36px; align-items: center; gap: .8rem; padding: 1.1rem 1.2rem; cursor: pointer; list-style: none; color: var(--anth); font-family: var(--head); font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq-n { font-weight: 700; color: var(--coral-t); }
.faq summary i { position: relative; width: 36px; height: 36px; border-radius: 12px; background: var(--sky); transition: background-color .25s, transform .3s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--anth); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq[open] summary i { background: var(--coral); }
.faq[open] summary i::before, .faq[open] summary i::after { background: #fff; }
.faq[open] summary i::after { transform: translate(-50%, -50%); }
.faq-body { padding: 0 1.2rem 1.3rem 4.3rem; }
.faq-body p { margin: 0; color: var(--muted); }

/* Secteurs */
.areas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
.areas-full { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.area { padding: 1.3rem; border-radius: 20px; background: var(--white); }
.area-h { display: flex; align-items: center; gap: .6rem; color: var(--anth); font-family: var(--head); font-size: 1.1rem; font-weight: 700; text-decoration: none; }
.area-h b { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .5rem; border-radius: 12px; background: var(--anth); color: #fff; font-size: .95rem; }
.area-h:hover { color: var(--coral-t); }
.area-m { margin: .5rem 0 0; color: var(--muted); font-size: .88rem; }
.area-c { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.area-c a { padding: .35rem .75rem; border-radius: 999px; background: var(--linen); color: var(--anth); font-size: .88rem; text-decoration: none; transition: background-color .2s, color .2s; }
.area-c a:hover { background: var(--coral); color: #fff; }
.area-c-big a { padding: .65rem 1.1rem; font-size: 1rem; }

/* Bloc devis */
.devis { background: var(--anth); color: rgba(255, 255, 255, .82); }
.devis-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.devis h2 { color: #fff; }
.devis .hl { color: #ff8a70; }
.devis-steps { display: grid; gap: .9rem; margin: 1.6rem 0 2rem; }
.devis-steps li { display: grid; grid-template-columns: 42px 1fr; gap: .9rem; align-items: center; }
.devis-steps b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--coral); font-family: var(--head); }
.devis-tel { display: inline-flex; align-items: center; gap: .7rem; color: #fff; font-family: var(--head); font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; text-decoration: none; }
.devis-tel .icon { color: var(--coral); }
.fcard { padding: clamp(1.3rem, 3vw, 1.9rem); border-radius: var(--r); background: var(--white); color: var(--text); }
.fcard-h { margin-bottom: 1.2rem; }
.fcard-t { margin: 0 0 .2rem; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.fcard-h > p { margin: 0; color: var(--muted); font-size: .94rem; }
.fcard-config { margin-top: .8rem !important; padding: .8rem 1rem; border-radius: 12px; background: #fff4f1; color: var(--anth) !important; font-size: .9rem !important; }
.tally-frame { display: block; min-height: 420px; }
.form-mock { display: grid; gap: .6rem; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.mock-field { position: relative; display: flex; align-items: center; height: 52px; padding: 0 1rem; border-radius: 12px; background: var(--linen); }
.mock-field small { font-size: .94rem; color: #8a9196; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-select::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 8px; height: 8px; border-right: 2px solid #8a9196; border-bottom: 2px solid #8a9196; transform: translateY(-70%) rotate(45deg); }
.mock-select small { padding-right: 1.5rem; }
.mock-area { height: 96px; align-items: flex-start; padding-top: .85rem; }
.mock-btn { display: grid; place-items: center; height: 54px; margin-top: .2rem; border-radius: 14px; background: var(--coral); color: #fff; font-family: var(--head); font-weight: 600; }

/* ─── Pied de page (bleu ciel) ───────────────────────────────── */
.ft { padding: clamp(3rem, 6vw, 4.5rem) var(--gx) calc(1.5rem + env(safe-area-inset-bottom)); background: var(--sky); color: var(--text); }
.ft > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.ft-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(44, 50, 54, .15); }
.ft-brand p { max-width: 460px; margin: 1rem 0 0; color: var(--muted); }
.ft-call { display: grid; justify-items: start; gap: .6rem; }
.ft-tel { color: var(--anth); font-family: var(--head); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.04em; text-decoration: none; }
.ft-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding: 2.5rem 0; }
.ft-t { margin-bottom: .8rem; font-family: var(--head); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--anth); }
.ft ul { display: grid; gap: .4rem; }
.ft a:not(.btn):not(.logo):not(.ft-tel) { color: var(--text); text-decoration: none; }
.ft a:not(.btn):not(.logo):not(.ft-tel):hover { color: var(--coral-t); }
.ft-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid rgba(44, 50, 54, .15); color: var(--muted); font-size: .88rem; }
.ft-bot p { margin: 0; }

/* Remonter */
.top { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 50; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--anth); color: #fff; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .2s; }
.top svg { width: 22px; height: 22px; }
.top.is-visible { opacity: 1; visibility: visible; transform: none; }
.top:hover { background: var(--coral); }

/* ─── Pop-ups ────────────────────────────────────────────────── */
.toast { position: fixed; left: calc(var(--sw) + 1.4rem); bottom: 1.4rem; z-index: 90; display: grid; grid-template-columns: 130px 1fr; width: min(500px, calc(100vw - var(--sw) - 2.8rem)); overflow: hidden; border-radius: 22px; background: var(--white); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); transform: translateY(calc(100% + 2rem)); transition: transform .55s var(--ease); }
.toast[hidden] { display: none; }
.toast.is-open { transform: none; }
.toast-pic { position: relative; }
.toast-pic img { position: absolute; inset: 0; }
.toast-body { padding: 1.2rem 1.3rem 1.3rem; }
.toast-body h2 { margin-bottom: .3rem; font-size: 1.35rem; padding-right: 2rem; }
.toast-body p:not(.eyebrow) { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.toast-body .eyebrow { margin-bottom: .4rem; }
.toast-act { display: flex; flex-wrap: wrap; gap: .4rem; }
.toast-act .btn { min-height: 44px; padding: .6rem 1rem; font-size: .9rem; }
.pop-x { position: absolute; top: .7rem; right: .7rem; z-index: 3; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 12px; background: var(--linen); color: var(--anth); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.pop-x:hover { background: var(--anth); color: #fff; }
.pop { position: fixed; inset: 0; z-index: 100; }
.pop[hidden] { display: none; }
.pop-bg { position: absolute; inset: 0; background: rgba(28, 32, 35, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.pop.is-open .pop-bg { opacity: 1; }
.pop-box { position: absolute; left: 50%; top: 50%; display: grid; grid-template-columns: .9fr 1.1fr; width: min(900px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); overflow: auto; border-radius: 28px; background: var(--white); transform: translate(-50%, -46%) scale(.97); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.pop.is-open .pop-box { transform: translate(-50%, -50%); opacity: 1; }
.pop-sky { padding: clamp(1.6rem, 4vw, 2.6rem); background: linear-gradient(170deg, var(--sky) 0%, #fbe3da 100%); }
.pop-sky h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.pop-sky p:last-child { color: var(--text); }
.pop-form { padding: clamp(1.6rem, 4vw, 2.4rem); padding-top: 3.2rem; }
.pop-tel { margin: 1rem 0 0; text-align: center; color: var(--muted); }
.pop-open { overflow: hidden; }

/* ─── En-tête des pages internes ─────────────────────────────── */
.ph { padding: clamp(1.4rem, 3vw, 2rem) var(--gx) clamp(2.5rem, 5vw, 4rem); }
.ph > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--anth); text-decoration: none; }
.crumbs a:hover { color: var(--coral-t); }
.crumbs [aria-current] { color: var(--coral-t); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ph-solo { grid-template-columns: minmax(0, 1fr); max-width: 1240px; }
.ph-solo .ph-text { max-width: 820px; }
.ph-lead { max-width: 600px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); }
.ph-facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 0; }
.ph-facts div { padding: .8rem 1.1rem; border-radius: 16px; background: var(--white); }
.ph-facts dt { font-size: .8rem; color: var(--muted); }
.ph-facts dd { margin: 0; font-family: var(--head); font-weight: 700; color: var(--anth); }
.ph-pic { margin: 0; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 28px; }

/* Cartes pergolas */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pcard { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: var(--white); }
.pcard-pic { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.pcard-pic img { transition: transform .8s var(--ease); }
.pcard:hover .pcard-pic img { transform: scale(1.05); }
.pcard-ic { position: absolute; left: 1rem; top: 1rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--white); color: var(--coral-t); }
.pcard-b { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.4rem; }
.pcard-b h2 { margin-bottom: .4rem; font-size: 1.35rem; }
.pcard-b h2 a { color: inherit; text-decoration: none; }
.pcard-b h2 a:hover { color: var(--coral-t); }
.pcard-b > p { color: var(--muted); font-size: .96rem; }
.pcard-b .chips { margin-bottom: 1.2rem; }
.pcard-f { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.pcard-f > span { font-family: var(--head); font-weight: 700; color: var(--anth); }

/* Page modèle */
.prose p { font-size: 1.07rem; }
.spec { position: sticky; top: 1.5rem; display: grid; gap: .6rem; padding: 1.5rem; border-radius: var(--r); background: var(--white); }
.spec-t { margin: 0 0 .4rem; font-family: var(--head); font-weight: 700; color: var(--anth); font-size: 1.15rem; }
.spec dl { margin: 0 0 .4rem; }
.spec dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; color: var(--anth); font-weight: 500; }
.spec-price { display: flex; justify-content: space-between; align-items: baseline; margin: .2rem 0 .4rem; }
.spec-price span { color: var(--muted); font-size: .9rem; }
.spec-price b { font-family: var(--head); font-size: 1.3rem; color: var(--anth); }
.spec-tel { display: flex; justify-content: center; align-items: center; gap: .45rem; margin-top: .2rem; color: var(--anth); font-family: var(--head); font-weight: 600; text-decoration: none; }
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.perk { padding: 1.5rem; border-radius: 20px; background: var(--linen); }
.sec:not(.sec-white) .perk { background: var(--white); }
.perk > span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.2rem; border-radius: 14px; background: var(--anth); color: #fff; font-family: var(--head); font-weight: 700; }
.perk h3 { margin-bottom: .35rem; }
.perk p { margin: 0; color: var(--muted); font-size: .95rem; }
.optlist { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
.optlist li { display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem; border-radius: 14px; background: var(--white); color: var(--anth); font-weight: 500; }
.sec-white .optlist li { background: var(--linen); }
.optlist .icon-sm { color: var(--coral); }
.pic-tall { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px; }
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mini { display: flex; flex-direction: column; color: var(--text); text-decoration: none; }
.mini figure { margin: 0 0 1rem; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 20px; }
.mini figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mini:hover figure img { transform: scale(1.05); }
.mini h3 { margin-bottom: .3rem; }
.mini p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Conseils */
.toc { display: flex; flex-wrap: wrap; gap: .5rem; }
.toc a { padding: .8rem 1.2rem; border-radius: 14px; background: var(--white); color: var(--anth); font-family: var(--head); font-weight: 600; text-decoration: none; }
.toc a:hover { background: var(--anth); color: #fff; }
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.rule { display: grid; gap: .4rem; align-content: start; padding: 1.4rem; border-radius: 20px; background: var(--white); }
.rule b { font-family: var(--head); font-size: 1.2rem; color: var(--anth); }
.rule span { color: var(--muted); font-size: .95rem; }
.rule-alert { background: var(--anth); }
.rule-alert b { color: #fff; }
.rule-alert span { color: rgba(255, 255, 255, .75); }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.legal h2:first-child { margin-top: 0; }

/* Apparitions */
.js .appear { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .appear.in { opacity: 1; transform: none; }
.js .appear:not(.in) { animation: appear-safe .4s 3s forwards; }
@keyframes appear-safe { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .appear { opacity: 1; transform: none; }
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1280px) {
    .roofs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .keys, .perks, .rules, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
    :root { --sw: 0px; }
    .side { display: none; }
    .mbar { display: flex; }
    .tabbar { display: flex; }
    body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    .hero { margin: 10px; min-height: auto; flex-direction: column; align-items: stretch; }
    .hero-pic { position: relative; aspect-ratio: 4 / 3; }
    .hero-shade { display: none; }
    .hero-txt { background: var(--anth); }
    .wx { position: relative; top: auto; right: auto; width: auto; margin: 0; border-radius: 0; background: var(--white); box-shadow: none; }
    .toast { left: 1rem; right: 1rem; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); }
    .top { bottom: calc(84px + env(safe-area-inset-bottom)); right: 1rem; }
    .cfg, .split, .split-lv, .split-top, .faq-wrap, .devis-in, .ph-grid, .rvs { grid-template-columns: 1fr; }
    .cfg-view, .spec { position: static; }
    .pcards, .minis { grid-template-columns: 1fr 1fr; }
    .mprev { display: none; }
    .mrow-thumb { display: block; }
    .mrow { grid-template-columns: 72px 1fr 44px; }
    .mrow-n, .mrow-tag { display: none; }
    .mrow-go { width: 44px; height: 44px; }
}
@media (max-width: 720px) {
    .keys, .perks, .rules, .steps, .roofs, .areas, .pcards, .minis, .optlist, .ft-grid, .mock-row, .cfg-sum { grid-template-columns: 1fr; }
    .vs { grid-template-columns: 1fr; justify-items: center; }
    .swatches { grid-template-columns: repeat(3, 1fr); }
    .sh-row { flex-direction: column; align-items: flex-start; }
    .pop-box { grid-template-columns: 1fr; }
    .toast { grid-template-columns: 1fr; }
    .toast-pic { display: none; }
    .faq-body { padding-left: 1.2rem; }
    .lv-presets { grid-template-columns: 1fr 1fr; }
    .ph-pic, .pic-tall { aspect-ratio: 4 / 3; }
}
