/* ==========================================================================
   Carports Normandie · thème « Volt »
   Anthracite (RAL 7016) + vert électrique + béton clair. Red Hat Display (titres),
   Albert Sans (texte), Red Hat Mono (cotes et données).
   Motifs : cotes d'architecte, cellules photovoltaïques, papier de plan.
   Structure : bandeau haut léger, navigation dans un dock fixé en bas d'écran (desktop et
   mobile), hero photo cotée + configuration express, rail de modèles, configurateur en plan,
   estimateur solaire, vérificateur de démarches, volet latéral et écran plein de sortie.
   ========================================================================== */
:root {
    --asphalt: #1d2124;
    --asphalt2: #272c30;
    --asphalt3: #343a3f;
    --ink: #15181a;
    --paper: #f5f6f2;
    --concrete: #e9ebe6;
    --white: #ffffff;
    --volt: #c6f432;
    --volt-l: #ecfbbf;
    --volt-d: #4f6b00;
    --text: #30363a;
    --muted: #62686c;
    --line: rgba(21, 24, 26, .12);
    --line-d: rgba(255, 255, 255, .12);
    --head: "Red Hat Display", system-ui, sans-serif;
    --body: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "Red Hat Mono", ui-monospace, Menlo, monospace;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --r: 14px;
    --r-sm: 10px;
    --gx: clamp(1.2rem, 4vw, 3.5rem);
    --space: clamp(3.8rem, 7.5vw, 6.8rem);
    --sh: 0 18px 40px -26px rgba(21, 24, 26, .4);
    --cells: repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 34px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 22px);
}
*, *::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.05rem; line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.8vw, 5rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
h3 { font-size: clamp(1.08rem, 1.3vw, 1.22rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 300; padding: .6rem 1rem; background: var(--volt); color: var(--ink); border-radius: 8px; }
.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; }
.big { font-size: 1.13rem; color: var(--muted); }
.note { margin-top: 1.2rem; color: var(--muted); font-size: .86rem; }
.hl { text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: .16em; text-underline-offset: .1em; text-decoration-skip-ink: none; }
.hero .hl, .ph .hl, .sec-dark .hl, .devis .hl, .takeover .hl, .drawer .hl { color: var(--volt); text-decoration: none; }
.label { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem; font-family: var(--mono); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 3px rgba(198, 244, 50, .25); }
.hero .label, .ph .label, .sec-dark .label, .devis .label, .takeover .label { color: rgba(255, 255, 255, .7); }
.label-gap { margin-top: 1.5rem; }
.act { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 18px; height: 6px; border-radius: 3px; background: rgba(21, 24, 26, .12); }
.dots i.on { background: var(--ink); }
.stars { display: inline-flex; gap: 2px; }
.star { width: 15px; height: 15px; fill: rgba(21, 24, 26, .15); }
.star.on { fill: var(--ink); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .75rem 1.3rem; border: 1.5px solid transparent; border-radius: var(--r-sm); font-family: var(--head); font-weight: 800; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn .icon-sm { transition: transform .25s var(--ease); }
.btn:hover .icon-sm { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: .5rem 1rem; font-size: .93rem; }
.btn-lg { min-height: 58px; padding: 1rem 1.6rem; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-volt { background: var(--volt); color: var(--ink); box-shadow: 0 10px 26px -12px rgba(198, 244, 50, .8); }
.btn-volt:hover { background: #d4fa55; }
.btn-dark { background: var(--asphalt); color: var(--white); }
.btn-dark:hover { background: var(--asphalt3); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); background: transparent; color: var(--white); }
.btn-ghost:hover { border-color: var(--volt); color: var(--volt); }
.btn-line { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.link { display: inline-flex; align-items: center; gap: .45rem; padding: 0; border: 0; background: none; font: inherit; font-family: var(--head); font-weight: 800; color: var(--ink); text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 3px; text-underline-offset: 5px; cursor: pointer; }
.link .icon-sm { transition: transform .25s var(--ease); }
.link:hover .icon-sm { transform: translateX(4px); }
.link-light { color: var(--white); }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tags li { padding: .25rem .65rem; border-radius: 999px; background: var(--concrete); font-size: .82rem; color: var(--ink); }
.checks { display: grid; gap: .55rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checks .icon-sm { margin-top: .2rem; padding: 3px; width: 22px; height: 22px; border-radius: 6px; background: var(--volt); color: var(--ink); }
.alert { display: flex; gap: .7rem; align-items: flex-start; margin: 2rem 0 0; padding: 1rem 1.2rem; border-radius: var(--r-sm); border-left: 4px solid var(--volt-d); background: var(--volt-l); color: var(--ink); font-size: .96rem; }
.alert .icon-sm { flex: none; margin-top: .22rem; }

/* Cotes d'architecte (décor) */
.cote { position: absolute; pointer-events: none; color: var(--white); font-family: var(--mono); font-size: .76rem; font-weight: 600; }
.cote::before { content: ""; position: absolute; background: currentColor; }
.cote i { position: absolute; padding: .1rem .45rem; border-radius: 4px; background: var(--ink); color: var(--volt); font-style: normal; white-space: nowrap; }
.cote-h { left: 6%; right: 6%; bottom: 16px; height: 14px; border-left: 2px solid; border-right: 2px solid; }
.cote-h::before { left: 0; right: 0; top: 6px; height: 1.5px; }
.cote-h i { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.cote-v { top: 10%; bottom: 22%; right: 16px; width: 14px; border-top: 2px solid; border-bottom: 2px solid; }
.cote-v::before { top: 0; bottom: 0; left: 6px; width: 1.5px; }
.cote-v i { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-90deg); }

/* ─── Bandeau haut ───────────────────────────────────────────── */
.hd { position: relative; z-index: 20; background: var(--asphalt); border-bottom: 1px solid var(--line-d); }
.hd-in { display: flex; align-items: center; gap: 1.5rem; max-width: 1400px; height: 76px; margin: 0 auto; padding: 0 var(--gx); }
.logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--white); text-decoration: none; flex: none; }
.logo-img { display: block; width: auto; height: 54px; }
.ft .logo-img { height: 70px; }
.logo-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--asphalt3); color: var(--white); }
.logo-mark svg { width: 34px; height: 34px; }
.logo-txt { display: grid; line-height: 1; font-family: var(--head); }
.logo-txt b { font-size: 1.25rem; font-weight: 900; letter-spacing: -0.03em; }
.logo-txt span { margin-top: .22rem; font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--volt); }
.logo-light { color: var(--white); }
.hd-tag { display: flex; align-items: center; gap: .55rem; margin: 0 auto; color: rgba(255, 255, 255, .62); font-family: var(--mono); font-size: .8rem; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); animation: live 2s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 6px rgba(198, 244, 50, 0); } 0% { box-shadow: 0 0 0 0 rgba(198, 244, 50, .55); } }
.hd-act { display: flex; align-items: center; gap: .5rem; }
.hd-tel { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .7rem; color: var(--white); font-family: var(--mono); font-weight: 600; text-decoration: none; }
.hd-tel .icon-sm { color: var(--volt); }

/* ─── Dock de navigation (bas d'écran) ───────────────────────── */
.dock { position: fixed; left: 50%; bottom: 16px; z-index: 80; display: flex; align-items: center; gap: 2px; max-width: calc(100% - 24px); padding: 6px; border-radius: 16px; background: rgba(29, 33, 36, .94); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .65), 0 0 0 1px var(--line-d); transform: translateX(-50%); }
.dock-prog { position: absolute; left: 14px; right: 14px; top: 0; height: 2px; overflow: hidden; border-radius: 2px; }
.dock-prog i { display: block; width: 0; height: 100%; background: var(--volt); }
.dock a, .dock button { display: inline-flex; align-items: center; gap: .45rem; height: 46px; padding: 0 .95rem; border: 0; border-radius: 11px; background: none; color: rgba(255, 255, 255, .78); font: inherit; font-size: .94rem; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s; }
.dock a:hover, .dock button:hover { background: rgba(255, 255, 255, .08); color: var(--white); }
.dock a[aria-current="page"] { background: rgba(198, 244, 50, .14); color: var(--volt); }
.dock-home { padding: 0 .8rem !important; }
.dock .dock-cta { margin-left: 4px; padding: 0 1.1rem; background: var(--volt); color: var(--ink); font-family: var(--head); font-weight: 800; }
.dock .dock-cta:hover { background: #d4fa55; color: var(--ink); }
.dock-top { width: 46px; justify-content: center; padding: 0 !important; opacity: .35; pointer-events: none; }
.dock-top.is-on { opacity: 1; pointer-events: auto; }
.dock-top svg { width: 20px; height: 20px; }
.dock-m { display: none !important; }
.panel { position: fixed; inset: 0; z-index: 79; overflow-y: auto; background: var(--asphalt); background-image: var(--cells); }
.panel[hidden] { display: none; }
.panel-in { max-width: 640px; margin: 0 auto; padding: 2.5rem var(--gx) 8rem; animation: rise .4s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.panel-t { margin: 1.4rem 0 .6rem; font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--volt); }
.panel nav { display: grid; }
.panel nav a { padding: .7rem 0; border-bottom: 1px solid var(--line-d); color: var(--white); font-family: var(--head); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.panel nav a[aria-current="page"] { color: var(--volt); }
.panel-svc { display: flex; flex-wrap: wrap; gap: .4rem; }
.panel-svc a { display: block; padding: .5rem .85rem; border-radius: 999px; background: var(--asphalt3); color: var(--white); font-size: .95rem; text-decoration: none; }
.panel-open { overflow: hidden; }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero { padding: clamp(2.2rem, 5vw, 4rem) var(--gx) clamp(2.5rem, 5vw, 4rem); background: var(--asphalt); background-image: var(--cells); color: rgba(255, 255, 255, .78); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: 1400px; margin: 0 auto; }
.hero h1 { color: var(--white); }
.hero-lead { max-width: 540px; font-size: clamp(1.08rem, 1.4vw, 1.22rem); }
.hero-pic { position: relative; margin: 0; aspect-ratio: 16 / 10.5; overflow: hidden; border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.hero-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21, 24, 26, .45), transparent 40%); pointer-events: none; }
.hero-pic .cote { z-index: 2; }
.hero-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .75rem; border-radius: 999px; background: rgba(21, 24, 26, .82); color: var(--white); font-size: .84rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-chip .icon-xs { color: var(--volt); }
.hero-chip-1 { left: 16px; top: 16px; }
.hero-chip-2 { left: 16px; top: 58px; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; max-width: 1400px; margin: 2rem auto 0; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--asphalt2); box-shadow: 0 0 0 1px var(--line-d); }
.quick-t { margin: 0 .4rem 0 0; font-family: var(--mono); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--volt); }
.quick .btn { margin-left: auto; }

/* Contrôles segmentés */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--concrete); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: .55rem .95rem; border-radius: 9px; color: var(--ink); font-size: .93rem; font-weight: 600; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg label:hover span { background: rgba(255, 255, 255, .7); }
.seg input:checked + span { background: var(--asphalt); color: var(--white); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .6); }
.seg input:focus-visible + span { outline: 3px solid var(--volt); outline-offset: 1px; }
.seg-dark { background: rgba(255, 255, 255, .06); }
.seg-dark span { color: rgba(255, 255, 255, .8); }
.seg-dark label:hover span { background: rgba(255, 255, 255, .08); }
.seg-dark input:checked + span { background: var(--volt); color: var(--ink); }
.seg-col { display: grid; }
.chk { display: flex; flex-wrap: wrap; gap: .4rem; }
.chk label { position: relative; cursor: pointer; }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk span { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border: 1.5px solid var(--line); border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--ink); transition: border-color .2s, background-color .2s; }
.chk span::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--muted); border-radius: 4px; }
.chk input:checked + span { border-color: var(--ink); background: var(--volt-l); }
.chk input:checked + span::before { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 2px var(--volt); }
.chk input:focus-visible + span { outline: 3px solid var(--volt); outline-offset: 1px; }

/* ─── Sections ───────────────────────────────────────────────── */
.sec { position: relative; padding: var(--space) var(--gx); }
.sec > * { max-width: 1320px; margin-left: auto; margin-right: auto; }
.sec-tight { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2rem, 4vw, 3rem); background: var(--white); border-bottom: 1px solid var(--line); }
.sec-grey { background: var(--concrete); }
.sec-dark { background: var(--asphalt); color: rgba(255, 255, 255, .78); }
.sec-dark h2, .sec-dark h3 { color: var(--white); }
.sec-dark .big { color: rgba(255, 255, 255, .7); }
.sec-dark .note { color: rgba(255, 255, 255, .5); }
.sec-cells { background-image: var(--cells); }
.sec-plan { background-color: #f1f4ee; background-image: linear-gradient(rgba(79, 107, 0, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 107, 0, .07) 1px, transparent 1px); background-size: 24px 24px; }
.sh { margin-bottom: clamp(2rem, 4vw, 3rem); }
.sh > * { max-width: 780px; }
.sh h2 { margin: 0; }
.sh-p { margin: .9rem 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; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-top { align-items: start; }
.split-ba { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.split-ba + .split-ba { margin-top: 3rem; }
.pic { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); box-shadow: var(--sh); }
.prose p { font-size: 1.07rem; }

/* Avantages */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.perks li { display: flex; gap: .9rem; align-items: flex-start; }
.perks .icon { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--asphalt); color: var(--volt); }
.perks h3 { margin-bottom: .25rem; }
.perks p { margin: 0; color: var(--muted); font-size: .95rem; }
.perks-4 li { padding: 1.4rem; border-radius: var(--r); background: var(--white); }
.perk-n { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--volt); color: var(--ink); font-family: var(--mono); font-weight: 600; }

/* Rail des modèles */
.rail-nav { display: flex; gap: .4rem; }
.rail-nav button { width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 12px; background: transparent; color: var(--ink); font-size: 1.2rem; cursor: pointer; transition: background-color .2s, color .2s; }
.rail-nav button:hover { background: var(--ink); color: var(--volt); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 1.1rem; overflow-x: auto; padding: .4rem .2rem 1.4rem; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; max-width: none !important; margin-right: calc(-1 * var(--gx)) !important; padding-right: var(--gx); }
.card { display: flex; flex-direction: column; scroll-snap-align: start; overflow: hidden; border-radius: var(--r); background: var(--white); color: var(--text); text-decoration: none; box-shadow: var(--sh); transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -28px rgba(21, 24, 26, .55); }
.card-pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-pic img { transition: transform .7s var(--ease); }
.card:hover .card-pic img { transform: scale(1.06); }
.card-n { position: absolute; left: 12px; top: 12px; padding: .15rem .5rem; border-radius: 6px; background: var(--ink); color: var(--volt); font-family: var(--mono); font-size: .78rem; font-weight: 600; }
.card-body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 1.8rem 1.4rem 1.4rem; }
.card-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--volt); color: var(--ink); }
.card-body .card-ico { position: absolute; z-index: 2; top: -21px; right: 1.2rem; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5); }
.card h3 { margin-bottom: .35rem; font-size: 1.3rem; }
.card p { flex: 1; margin: 0 0 1rem; color: var(--muted); font-size: .96rem; }
.card-go { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--head); font-weight: 800; color: var(--ink); }
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.minis-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini { display: grid; gap: .5rem; align-content: start; padding: 1.4rem; border-radius: var(--r); background: var(--white); color: var(--text); text-decoration: none; box-shadow: var(--sh); transition: transform .3s var(--ease); }
.mini:hover { transform: translateY(-4px); }
.mini h3 { margin: .4rem 0 0; }
.mini p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ─── Configurateur ──────────────────────────────────────────── */
.cfg { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 1.2rem; align-items: start; }
.cfg-in { display: grid; gap: 1.2rem; padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.cfg-g { margin: 0; padding: 0; border: 0; min-width: 0; }
.cfg-g legend { margin-bottom: .55rem; padding: 0; font-family: var(--mono); font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cfg-out { position: sticky; top: 1.2rem; padding: clamp(1.1rem, 2.5vw, 1.6rem); border-radius: var(--r); background: var(--asphalt); background-image: var(--cells); color: rgba(255, 255, 255, .78); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.cfg-plan { position: relative; border-radius: var(--r-sm); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-d); }
.cfg-plan-t { position: absolute; left: 12px; top: 10px; font-family: var(--mono); font-size: .72rem; color: rgba(255, 255, 255, .5); }
.cfg-plan svg { display: block; width: 100%; height: auto; }
.p-wall { fill: url(#hatch); stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
.p-roof { fill: rgba(255, 255, 255, .06); stroke: var(--white); stroke-width: 2; }
.p-ribs { stroke: rgba(255, 255, 255, .18); stroke-width: 1; }
.p-poly { fill: rgba(143, 200, 255, .12); }
.p-pv { fill: #1b3a5c; stroke: #5e86ad; stroke-width: 1; }
.p-pv-l { stroke: rgba(94, 134, 173, .55); stroke-width: .6; }
.p-post { fill: var(--volt); stroke: var(--ink); stroke-width: 1; }
.p-car { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.5; stroke-dasharray: 5 4; }
.p-dim { stroke: var(--volt); stroke-width: 1.2; fill: none; }
.p-txt { fill: var(--volt); font-family: var(--mono); font-size: 13px; font-weight: 600; }
.p-sub { fill: rgba(255, 255, 255, .55); font-family: var(--mono); font-size: 11px; }
.p-borne { fill: var(--white); stroke: var(--volt); stroke-width: 2; }
.cfg-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 1rem 0; border-radius: var(--r-sm); overflow: hidden; background: var(--line-d); }
.cfg-sum div { padding: .75rem .9rem; background: var(--asphalt2); }
.cfg-sum div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cfg-sum dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .5); }
.cfg-sum dd { margin: .15rem 0 0; color: var(--white); font-family: var(--head); font-weight: 700; line-height: 1.3; }
.cfg-sum dd b { color: var(--volt); }
.cfg-out .note { color: rgba(255, 255, 255, .5); }

/* ─── Estimateur solaire ─────────────────────────────────────── */
.sol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; }
.sol-in, .sol-out { padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--r); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-d); }
.sol-r { display: grid; gap: .3rem; margin-bottom: 1.4rem; }
.sol-r .label { margin: 0; }
.sol-v { font-family: var(--mono); font-size: 1.6rem; font-weight: 600; color: var(--white); }
.sol-v small { font-size: .9rem; color: rgba(255, 255, 255, .55); }
.sol-r input { width: 100%; height: 34px; accent-color: var(--volt); cursor: pointer; }
.sol .cfg-g legend { color: rgba(255, 255, 255, .55); }
.sol .seg { background: rgba(255, 255, 255, .06); }
.sol .seg span { color: rgba(255, 255, 255, .8); }
.sol .seg label:hover span { background: rgba(255, 255, 255, .08); }
.sol .seg input:checked + span { background: var(--volt); color: var(--ink); }
.sol-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; margin: 0 0 1rem; font-family: var(--head); font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; color: var(--volt); }
.sol-big small { font-family: var(--mono); font-size: 1rem; font-weight: 600; color: var(--white); letter-spacing: 0; }
.sol-bar { height: 10px; margin-bottom: 1.4rem; border-radius: 10px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.sol-bar i { display: block; height: 100%; width: 40%; border-radius: 10px; background: linear-gradient(90deg, #8fb51f, var(--volt)); transition: width .5s var(--ease); }
.sol-eq { display: grid; gap: .6rem; }
.sol-eq li { display: flex; gap: .6rem; align-items: flex-start; color: rgba(255, 255, 255, .85); }
.sol-eq .icon-sm { margin-top: .2rem; color: var(--volt); }
.sol-eq b { color: var(--white); }

/* ─── Vérificateur de démarches ──────────────────────────────── */
.pmt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 1.2rem; }
.pmt-in { display: grid; gap: 1.3rem; padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.pmt-dims { display: flex; align-items: flex-end; gap: .8rem; }
.pmt-dims label { display: grid; gap: .3rem; flex: 1; }
.pmt-dims span { font-family: var(--mono); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pmt-dims input { width: 100%; height: 54px; padding: 0 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 1.3rem; font-weight: 600; }
.pmt-dims input:focus { border-color: var(--ink); outline: none; }
.pmt-x { padding-bottom: .9rem; font-family: var(--mono); font-size: 1.4rem; color: var(--muted); }
.pmt-out { padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--r); background: var(--asphalt); color: rgba(255, 255, 255, .78); }
.pmt-out .label { color: rgba(255, 255, 255, .6); }
.pmt-surf { margin: 0; font-family: var(--head); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 900; line-height: 1; color: var(--white); }
.pmt-res { display: inline-block; margin: 1.2rem 0 .6rem; padding: .45rem .9rem; border-radius: 999px; background: var(--volt); color: var(--ink); font-family: var(--head); font-weight: 800; }
.pmt-res[data-level="pc"] { background: #ffb547; }
.pmt-res[data-level="none"] { background: var(--white); }
.pmt-txt { color: rgba(255, 255, 255, .8); }
.pmt-out .note { color: rgba(255, 255, 255, .5); }
.steps-sz { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.sz { padding: 1.4rem; background: var(--white); }
.sz:first-child { border-radius: var(--r) 0 0 var(--r); }
.sz:last-child { border-radius: 0 var(--r) var(--r) 0; }
.sz b { display: inline-block; margin-bottom: .9rem; padding: .2rem .55rem; border-radius: 6px; background: var(--asphalt); color: var(--volt); font-family: var(--mono); font-size: .85rem; }
.sz:nth-child(4) b { background: #ffb547; color: var(--ink); }
.sz p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Avant / après */
.two { margin: 0; }
.two-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.two-imgs > div { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r); }
.two-imgs img { width: 100%; height: 100%; object-fit: cover; }
.two-tag { position: absolute; left: 12px; top: 12px; padding: .2rem .65rem; border-radius: 6px; background: var(--white); color: var(--ink); font-family: var(--mono); font-size: .78rem; font-weight: 600; text-transform: uppercase; }
.two-tag-v { background: var(--volt); }
.two figcaption { display: grid; gap: .2rem; padding-top: 1rem; }
.two figcaption .label { margin: 0; }
.two figcaption b { font-family: var(--head); font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.two figcaption span:last-child { color: var(--muted); font-size: .95rem; }

/* Matériaux */
.mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mat { padding: 1.5rem; border-radius: var(--r); background: var(--white); }
.mat h3 { font-size: 1.3rem; }
.mat p { color: var(--muted); font-size: .96rem; }
.mat dl { display: grid; gap: .45rem; margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.mat dl div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .9rem; }
.mat dt { color: var(--muted); }
.mat dd { margin: 0; }
.roofs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.roof { display: flex; gap: 1rem; align-items: center; padding: 1rem; border-radius: var(--r); background: var(--white); }
.roof-sw { flex: none; width: 64px; height: 64px; border-radius: 10px; }
.roof-bac .roof-sw { background: repeating-linear-gradient(90deg, #5d6368 0 6px, #7b8186 6px 9px, #5d6368 9px 18px); }
.roof-poly .roof-sw { background: linear-gradient(135deg, rgba(190, 220, 255, .7), rgba(255, 255, 255, .9)), repeating-linear-gradient(90deg, rgba(0, 0, 0, .06) 0 1px, transparent 1px 12px); box-shadow: inset 0 0 0 1px var(--line); }
.roof-solaire .roof-sw { background-color: #1b3a5c; background-image: linear-gradient(rgba(140, 180, 220, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 180, 220, .5) 1px, transparent 1px); background-size: 16px 21px; }
.roof b { display: block; font-family: var(--head); color: var(--ink); }
.roof span { font-size: .9rem; color: var(--muted); }

/* Étapes */
.track { display: grid; gap: 0; margin-top: 1.2rem; }
.track li { position: relative; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding-bottom: 1.4rem; }
.track li::before { content: ""; position: absolute; left: calc(1.6rem - 1px); top: 2.6rem; bottom: 0; width: 2px; background: repeating-linear-gradient(0deg, var(--ink) 0 4px, transparent 4px 9px); opacity: .35; }
.track li:last-child::before { display: none; }
.track b { display: grid; place-items: center; width: 3.2rem; height: 2.4rem; border-radius: 8px; background: var(--asphalt); color: var(--volt); font-family: var(--mono); font-weight: 600; }
.track h3 { margin: .3rem 0 .2rem; }
.track p { margin: 0; color: var(--muted); font-size: .96rem; }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; counter-reset: f; }
.flow li { position: relative; padding: 1.4rem; border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -.85rem; top: 2rem; z-index: 2; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--volt); color: var(--ink); font-size: .85rem; font-weight: 700; }
.flow span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1rem; border-radius: 12px; background: var(--asphalt); color: var(--volt); }
.flow p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Avis */
.revs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.rev { display: flex; flex-direction: column; margin: 0; padding: 1.5rem; border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.rev blockquote { flex: 1; margin: .8rem 0 1.2rem; color: var(--ink); font-size: 1.02rem; line-height: 1.55; }
.rev figcaption { display: flex; align-items: center; gap: .7rem; font-size: .86rem; color: var(--muted); }
.rev figcaption b { display: block; color: var(--ink); }
.rev-av { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--volt); color: var(--ink); font-family: var(--head); font-weight: 900; }
.gnote { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; }
.gnote b { font-family: var(--head); font-size: 2.2rem; font-weight: 900; }

/* 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-list { display: grid; gap: .5rem; }
.faq { border-radius: var(--r-sm); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.faq summary { display: grid; grid-template-columns: 2.4rem 1fr 30px; align-items: center; gap: .7rem; padding: 1.05rem 1.2rem; cursor: pointer; list-style: none; color: var(--ink); font-family: var(--head); font-size: 1.03rem; font-weight: 700; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq-n { font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--volt-d); }
.faq summary i { position: relative; width: 30px; height: 30px; border-radius: 8px; background: var(--concrete); transition: background-color .2s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
.faq[open] summary i { background: var(--volt); }
.faq[open] summary i::after { transform: translate(-50%, -50%); }
.faq-body { padding: 0 1.2rem 1.2rem 4.3rem; }
.faq-body p { margin: 0; }

/* Départements */
.depts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.depts-full { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.dept { padding: 1.3rem; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.dept-h { display: grid; gap: .1rem; color: var(--ink); text-decoration: none; }
.dept-h b { font-family: var(--mono); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--volt-d); }
.dept-h span { font-family: var(--head); font-size: 1.12rem; font-weight: 800; }
.dept-h:hover span { text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 3px; }
.dept-m { margin: .3rem 0 0; color: var(--muted); font-size: .86rem; }
.dept ul { display: grid; gap: .25rem; margin-top: .9rem; }
.dept ul a { color: var(--text); text-decoration: none; font-size: .95rem; }
.dept ul a:hover { color: var(--volt-d); }
.chips-big { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips-big a { padding: .6rem 1rem; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.chips-big a:hover { background: var(--volt); }

/* Devis */
.devis { background: var(--asphalt); background-image: var(--cells); color: rgba(255, 255, 255, .78); }
.devis h2 { color: var(--white); }
.devis-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.devis-list { display: grid; gap: .6rem; margin: 1.4rem 0 1.8rem; }
.devis-list li { display: flex; align-items: center; gap: .6rem; color: var(--white); }
.devis-list .icon-sm { padding: 3px; width: 22px; height: 22px; border-radius: 6px; background: var(--volt); color: var(--ink); }
.devis-tel { display: inline-flex; align-items: center; gap: .6rem; color: var(--white); font-family: var(--mono); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; text-decoration: none; }
.devis-tel .icon { color: var(--volt); }
.fcard { min-width: 0; padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--r); background: var(--white); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.fcard-t { margin: 0; font-family: var(--head); font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 900; color: var(--ink); }
.fcard-s { margin: .2rem 0 1.2rem; color: var(--muted); font-size: .9rem; }
.fcard-config { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: var(--r-sm); background: var(--volt-l); color: var(--ink); font-family: var(--mono); font-size: .82rem; }
.tally-frame { display: block; min-height: 420px; }
.form-mock { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; min-width: 0; }
.mock-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; }
.mock-field { position: relative; min-width: 0; display: flex; align-items: center; height: 52px; padding: 0 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
.mock-field small { font-size: .94rem; color: #868c90; 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 var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); }
.mock-select small { padding-right: 1.5rem; }
.mock-area small { white-space: normal; }
.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: var(--r-sm); background: var(--volt); color: var(--ink); font-family: var(--head); font-weight: 800; }

/* ─── Pied de page ───────────────────────────────────────────── */
.ft { background: var(--ink); color: rgba(255, 255, 255, .62); }
.ft-in { max-width: 1320px; margin: 0 auto; padding: clamp(3rem, 6vw, 4.5rem) var(--gx) 110px; }
.ft-head { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; padding-bottom: 2.2rem; border-bottom: 1px solid var(--line-d); }
.ft-pitch { margin: 0 auto 0 0; max-width: 360px; font-size: .95rem; }
.ft-tel { color: var(--volt); font-family: var(--mono); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; text-decoration: none; }
.ft-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding: 2.2rem 0; }
.ft-t { margin-bottom: .8rem; color: var(--white); font-family: var(--mono); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ft ul { display: grid; gap: .4rem; }
.ft a:not(.btn):not(.logo):not(.ft-tel) { color: rgba(255, 255, 255, .8); text-decoration: none; }
.ft a:not(.btn):not(.logo):not(.ft-tel):hover { color: var(--volt); }
.ft-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.3rem; border-top: 1px solid var(--line-d); font-family: var(--mono); font-size: .76rem; }
.ft-bot p { margin: 0; }

/* ─── Pop-ups ────────────────────────────────────────────────── */
.drawer { position: fixed; right: 16px; top: 16px; bottom: 92px; z-index: 90; display: flex; flex-direction: column; width: min(380px, calc(100% - 32px)); overflow-y: auto; border-radius: var(--r); background: var(--asphalt); color: rgba(255, 255, 255, .8); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px var(--line-d); transform: translateX(calc(100% + 30px)); transition: transform .5s var(--ease); }
.drawer[hidden] { display: none; }
.drawer.is-open { transform: none; }
.drawer-pic { position: relative; flex: none; aspect-ratio: 16 / 10; overflow: hidden; }
.drawer-plan { background: var(--asphalt2); background-image: var(--cells); }
.drawer-plan svg { display: block; width: 100%; height: 100%; }
.drawer-body { padding: 1.4rem; }
.drawer-t { margin: 0 0 .6rem; font-family: var(--head); font-size: 1.55rem; font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; color: var(--white); }
.drawer-x { position: absolute; right: 10px; top: 10px; z-index: 3; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 10px; background: rgba(21, 24, 26, .8); color: var(--white); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.takeover { position: fixed; inset: 0; z-index: 100; overflow-y: auto; background: var(--asphalt); background-image: var(--cells); color: rgba(255, 255, 255, .8); opacity: 0; transition: opacity .35s; }
.takeover[hidden] { display: none; }
.takeover.is-open { opacity: 1; }
.takeover-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: 1200px; min-height: 100%; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) var(--gx); transform: translateY(20px); transition: transform .5s var(--ease); }
.takeover.is-open .takeover-in { transform: none; }
.takeover h2 { color: var(--white); font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 900; }
.takeover-tel { display: flex; align-items: center; gap: .55rem; margin: .5rem 0 1.4rem; color: var(--volt); font-family: var(--mono); font-size: 1.5rem; font-weight: 600; text-decoration: none; }
.takeover-form { min-width: 0; padding: 1.5rem; border-radius: var(--r); background: var(--white); }
.takeover-txt { min-width: 0; }
[data-pop]:focus { outline: none; box-shadow: none; }
.takeover-x { position: fixed; right: 18px; top: 18px; z-index: 2; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 12px; background: var(--volt); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.pop-open { overflow: hidden; }

/* ─── En-tête des pages internes ─────────────────────────────── */
.ph { padding: clamp(2rem, 4vw, 3rem) var(--gx) 0; background: var(--asphalt); background-image: var(--cells); color: rgba(255, 255, 255, .78); }
.ph-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: 1320px; margin: 0 auto; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.ph-solo { grid-template-columns: minmax(0, 1fr); }
.ph-solo .ph-text { max-width: 860px; }
.ph h1 { color: var(--white); font-size: clamp(2.3rem, 5vw, 4.2rem); }
.ph-lead { max-width: 600px; font-size: clamp(1.05rem, 1.4vw, 1.18rem); }
.ph-pic { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; font-family: var(--mono); font-size: .8rem; color: rgba(255, 255, 255, .5); }
.crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.crumbs a:hover { color: var(--volt); }
.crumbs [aria-current] { color: var(--volt); }
.ph-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; max-width: 1320px; margin: 0 auto; border-top: 1px solid var(--line-d); }
.ph-facts div { padding: 1.1rem 1.2rem 1.3rem 0; }
.ph-facts dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .5); }
.ph-facts dd { margin: .15rem 0 0; font-family: var(--head); font-weight: 900; color: var(--white); font-size: 1.25rem; }

/* Page gamme */
.list { display: grid; gap: 1rem; }
.line { display: grid; grid-template-columns: 300px minmax(0, 1fr) 220px; gap: 1.6rem; align-items: center; padding: 1rem; border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.line-pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-sm); }
.line-pic img { transition: transform .7s var(--ease); }
.line:hover .line-pic img { transform: scale(1.05); }
.line-n { font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--volt-d); }
.line-txt h2 { margin: .1rem 0 .4rem; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.line-txt h2 a { color: inherit; text-decoration: none; }
.line-txt h2 a:hover { text-decoration: underline; text-decoration-color: var(--volt); text-decoration-thickness: 4px; }
.line-txt p { color: var(--muted); }
.line-side { display: grid; gap: .7rem; justify-items: start; }
.line-side > span { font-family: var(--mono); font-weight: 600; color: var(--ink); }

/* Page modèle */
.spec { position: sticky; top: 1.2rem; overflow: hidden; border-radius: var(--r); background: var(--white); box-shadow: var(--sh); }
.spec-t { display: flex; align-items: center; gap: .5rem; margin: 0; padding: .95rem 1.2rem; background: var(--asphalt); color: var(--volt); font-family: var(--mono); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.spec dl { margin: 0; padding: .3rem 1.2rem 1rem; }
.spec dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.spec dt { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.spec dd { margin: 0; color: var(--ink); font-weight: 600; }
.spec .btn { margin: 0 1.2rem; width: calc(100% - 2.4rem); }
.spec-tel { display: flex; justify-content: center; align-items: center; gap: .45rem; padding: 1rem; color: var(--ink); font-family: var(--mono); font-weight: 600; text-decoration: none; }

/* Galerie */
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gal-i { position: relative; display: block; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); }
.gal-i img { transition: transform .7s var(--ease); }
.gal-i:hover img { transform: scale(1.05); }
.gal-i span { position: absolute; left: 12px; bottom: 12px; padding: .3rem .7rem; border-radius: 8px; background: rgba(21, 24, 26, .85); color: var(--white); font-size: .86rem; font-weight: 600; }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin-top: 2rem; }
.legal h2:first-child { margin-top: 0; }

/* Apparitions */
.js .appear { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s 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: 1240px) {
    .dock-link { padding: 0 .65rem !important; font-size: .88rem !important; }
    .hd-tag { display: none; }
    .hd-act { margin-left: auto; }
    .perks, .revs { grid-template-columns: 1fr 1fr; }
    .depts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .flow li:nth-child(3)::after { display: none; }
    .line { grid-template-columns: 240px minmax(0, 1fr); }
    .line-side { grid-column: 2; grid-auto-flow: column; align-items: center; justify-content: start; }
}
@media (max-width: 1060px) {
    .hero-grid, .split, .split-ba, .cfg, .sol, .pmt, .faq-wrap, .devis-in, .ph-in, .takeover-in { grid-template-columns: 1fr; }
    .cfg-out, .spec { position: static; }
    .mats, .roofs, .minis, .minis-6, .gal { grid-template-columns: 1fr 1fr; }
    .steps-sz { grid-template-columns: 1fr 1fr; }
    .sz { border-radius: 0 !important; }
    .quick .btn { margin-left: 0; }
}
@media (max-width: 900px) {
    .ft-in { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
    .dock { left: 0; right: 0; bottom: 0; max-width: none; justify-content: space-around; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; transform: none; }
    .dock-link, .dock-home, .dock-top { display: none !important; }
    .dock-m { display: inline-flex !important; flex: 1; flex-direction: column; justify-content: center; gap: 2px !important; height: 56px !important; padding: 0 .3rem !important; font-size: .7rem !important; }
    .dock .dock-cta { flex: 1.3; flex-direction: column; justify-content: center; gap: 2px; height: 56px; padding: 0 .4rem; font-size: .74rem; }
    .dock-prog { left: 16px; right: 16px; }
    .drawer { top: auto; bottom: 84px; max-height: calc(100% - 100px); }
}
@media (max-width: 760px) {
    .hd-in { height: 66px; }
    .hd-tel span { display: none; }
    .logo-mark { width: 38px; height: 38px; }
    .logo-txt b { font-size: 1.1rem; }
    .logo-img { height: 44px; }
    .perks, .revs, .depts, .mats, .roofs, .minis, .minis-6, .gal, .flow, .steps-sz, .mock-row, .ft-grid, .cfg-sum { grid-template-columns: 1fr; }
    .flow li::after { display: none; }
    .line { grid-template-columns: 1fr; }
    .line-side { grid-column: auto; grid-auto-flow: row; }
    .sh-row { flex-direction: column; align-items: flex-start; }
    .rail { grid-auto-columns: 82%; }
    .faq-body { padding-left: 1.2rem; }
    .quick { flex-direction: column; align-items: stretch; }
    .quick .seg { justify-content: stretch; }
    .quick .seg label { flex: 1; text-align: center; }
    .pmt-dims { flex-wrap: wrap; }
    .hero-chip-2 { display: none; }
}
