/* Polices hébergées sur le site (Archivo à axe de largeur + Instrument Sans), latin + latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* AERIS ÉNERGIE — styles
   Tokens : 2 températures (glacier / terre cuite) + encre nuit + papier. */
:root {
  --paper: #F4F2EE; --paper-2: #ECE8E1; --white: #FBFAF8;
  --ink: #13202A; --slate: #4A5660; --line: rgba(19, 32, 42, .12);
  --frost: #5D93AD; --frost-d: #2F6C88; --frost-p: #DCEAF0;
  --ember: #C25A3C; --ember-d: #9C4128; --ember-p: #F4DED3;
  --font-d: 'Archivo', system-ui, sans-serif;
  --font-t: 'Instrument Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r: 20px; --nav-h: 68px;
  --mode: var(--ember); --mode-d: var(--ember-d); --mode-p: var(--ember-p);
}
[data-mode="froid"] { --mode: var(--frost); --mode-d: var(--frost-d); --mode-p: var(--frost-p); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
html.rm { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font-t); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus, var(--mode-d)); outline-offset: 3px; border-radius: 6px; }
.sec-dep, .foot, .drawer, .hx-lames, .ray-copy { --focus: var(--paper); }
::selection { background: var(--frost-p); color: var(--ink); }
input, textarea { caret-color: var(--ember); }
p, li { text-wrap: pretty; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--paper); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

/* ---------- Placeholders visibles (à compléter avec le client) ---------- */

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 999px; font: 600 16px/1 var(--font-d); font-stretch: 104%; text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease), background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #22323e; }
.btn-line { border-color: rgba(19, 32, 42, .3); border-color: color-mix(in srgb, var(--ink) 30%, transparent); background: transparent; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-ghost { border-color: rgba(244, 242, 238, .35); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; padding-bottom: 3px; border-bottom: 1.5px solid currentColor; font: 500 16px var(--font-d); text-decoration: none; }
.link-arrow > span { display: inline-block; transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover > span { transform: translateX(5px); } }

/* ---------- Barre de progression (sous la navbar) ---------- */
.prog { position: fixed; left: 0; right: 0; top: var(--nav-h); z-index: 58; height: 3px; pointer-events: none; opacity: 0; transition: opacity .3s; --p: 0; --pc: var(--mode); }
.prog.is-on { opacity: 1; }
.prog-fill { height: 100%; background: var(--pc); transform-origin: 0 50%; transform: scaleX(var(--p)); transition: background .45s; }

/* ---------- Navbar ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h); display: flex; align-items: center; gap: 20px; padding: 0 clamp(16px, 3vw, 40px); transition: background .35s, box-shadow .35s, color .35s; }
.nav.is-solid { background: rgba(244, 242, 238, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; color: currentColor; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-d); font-stretch: 125%; }
.brand-txt b { font-weight: 650; font-size: 20px; letter-spacing: .08em; }
.brand-txt small { margin-top: 4px; font-size: 11px; font-weight: 500; letter-spacing: .3em; }
.nav-links { display: none; margin-left: auto; gap: 26px; }
.nav-links a { font: 500 15px var(--font-d); text-decoration: none; opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-call { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 600 15px var(--font-d); text-decoration: none; }
.nav-call svg { width: 18px; height: 18px; }
.nav-call span { display: none; }
.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; position: relative; z-index: 2; }
.burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 250ms var(--ease); }
.nav.is-open { color: var(--paper); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.is-open .brand { color: var(--paper); }
.nav.is-open .nav-call { background: var(--paper); color: var(--ink); }
.nav.is-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 560px) { .nav-call span { display: inline; } }
@media (max-width: 767px) { .nav-call { display: none; } .burger { margin-left: auto; } }
@media (min-width: 1100px) { .nav-links { display: flex; } .nav-call { margin-left: 8px; } .burger { display: none; } }

/* ---------- Drawer (cercle qui s'ouvre depuis le burger) ---------- */
.drawer { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 20px) 28px 40px; background: var(--ink); color: var(--paper); clip-path: circle(0 at calc(100% - 38px) 34px); visibility: hidden; transition: clip-path 250ms var(--ease), visibility 0s linear 250ms; }
.drawer.is-open { clip-path: circle(150% at calc(100% - 38px) 34px); visibility: visible; transition: clip-path 400ms cubic-bezier(.32, .72, 0, 1); }
.drawer-in { display: flex; flex-direction: column; }
.drawer-in a { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(244, 242, 238, .1); font: 600 clamp(24px, 7vw, 34px)/1.1 var(--font-d); font-stretch: 108%; letter-spacing: -.02em; text-decoration: none; opacity: 0; transform: translateY(10px); transition: opacity 200ms, transform 250ms var(--ease); }
.drawer-in a i { font: 500 13px var(--font-d); font-style: normal; color: var(--mode); }
.drawer.is-open .drawer-in a { opacity: 1; transform: none; transition-delay: calc(.08s + var(--i) * .03s); }
.rm .drawer, .rm .drawer.is-open { clip-path: none; opacity: 0; transition: opacity 200ms, visibility 0s linear 200ms; }
.rm .drawer.is-open { opacity: 1; transition: opacity 200ms; }
.drawer-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.drawer-foot .btn-line { border-color: rgba(244, 242, 238, .35); color: var(--paper); }
.drawer-foot .btn-ink { background: var(--paper); color: var(--ink); flex: 1; }

/* =========================================================
   HERO — le volet s'ouvre
   ========================================================= */
.hx { position: relative; height: 290svh; }
.hx-stage { position: sticky; top: 0; height: 100svh; overflow: hidden;
  background: radial-gradient(90% 70% at 92% 0%, rgba(255, 251, 243, .95), transparent 62%), radial-gradient(70% 60% at 0% 100%, rgba(120, 104, 86, .10), transparent 70%), linear-gradient(180deg, #F3F0EA, #ECE8E1);
  --ct: 60%; --cr: 10%; --cb: 30%; --cl: 10%; --cR: 14px; --fo: 0; --co: 1; --mix: 0; --airA: 0; --rd: 0; --gap: 0; --lo: 0; }
.hx-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .4 0 0 0 0 .34 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* La pièce, découpée par la bouche du split puis plein écran */
.hx-room { position: absolute; inset: 0; z-index: 2; clip-path: inset(var(--ct) var(--cr) var(--cb) var(--cl) round var(--cR)); background: #2b343b; }
.hx-pic, .hx-pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx-pic img { object-fit: cover; object-position: 50.8% 45%; }
.hx-pic { transform-origin: var(--ox, 50%) var(--oy, 50%); transform: translate(var(--tx, 0), var(--ty, 0)) scale(var(--zs, 1)); }
.rm .hx-pic { transform: none; }
[data-mode="chaud"] .hx-before { background: radial-gradient(60% 50% at 72% 40%, #cfdbe2, transparent 70%), linear-gradient(170deg, #a9bcc7 0%, #7f97a5 55%, #5b6f7b 100%); }
[data-mode="chaud"] .hx-after  { background: radial-gradient(55% 45% at 40% 60%, #f6dcbc, transparent 70%), linear-gradient(170deg, #e8cdb0 0%, #c69a76 55%, #8d6449 100%); }
[data-mode="froid"] .hx-before { background: radial-gradient(60% 50% at 75% 35%, #fff6dc, transparent 70%), linear-gradient(170deg, #f1e2c2 0%, #d8b98c 55%, #a9845b 100%); }
[data-mode="froid"] .hx-after  { background: radial-gradient(55% 45% at 40% 60%, #e3eff2, transparent 70%), linear-gradient(170deg, #cfe0e6 0%, #95b5c2 55%, #5f8292 100%); }
.hx-after { opacity: var(--mix); }
.hx-pic:has(img[hidden])::after { content: "Image à venir : " attr(data-name); position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 4px 10px; border-radius: 6px; background: #FFF4C2; color: #5C4A00; font: 500 12px var(--font-t); white-space: nowrap; opacity: calc(1 - var(--lo)); }
.hx-after:has(img[hidden])::after { display: none; }
.hx-air { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--airA); pointer-events: none; mix-blend-mode: screen; }

/* Lecture de température pendant le souffle */
.hx-read { position: absolute; left: 50%; top: 50%; z-index: 2; display: flex; align-items: center; gap: clamp(16px, 4vw, 48px); transform: translate(-50%, -50%) translateY(calc((1 - var(--rd)) * 20px)); opacity: var(--rd); color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); pointer-events: none; }
.hx-read::before { content: ""; position: absolute; inset: -60% -30%; z-index: -1; background: radial-gradient(closest-side, rgba(19, 32, 42, .6), rgba(19, 32, 42, 0)); }
.hx-read > span { display: flex; flex-direction: column; align-items: center; }
.hx-read small { font: 600 clamp(13px, 1.3vw, 16px) var(--font-d); letter-spacing: .04em; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
.hx-read b { font: 600 clamp(64px, 12vw, 168px)/1 var(--font-d); font-stretch: 112%; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.hx-read b::after { content: "°"; font-weight: 300; }
.hx-arrow { width: clamp(40px, 7vw, 110px); height: 2px; background: currentColor; position: relative; opacity: .8; }
.hx-arrow::after { content: ""; position: absolute; right: -1px; top: -5px; width: 12px; height: 12px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.hx-read.solo .hx-arrow, .hx-read.solo .hx-in { display: none; }
.hx-read.off { display: none; }

/* Les 4 lames = les 4 prestations */
.hx-lames { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: repeat(4, 1fr); padding-top: var(--nav-h); pointer-events: none; }
.hx-stage.lames-on .hx-lames { pointer-events: auto; }
.lame { position: relative; display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: clamp(14px, 2vw, 28px); padding: 0 clamp(18px, 5vw, 72px); color: #fff; text-decoration: none; outline-offset: -4px; box-shadow: 0 0 0 100vmax rgba(244, 242, 238, 0); }
/* Entre deux lames, le papier apparaît : la pièce se découpe comme un volet */
.lame:not(:last-child) { box-shadow: inset 0 calc(var(--gap) * -1) 0 var(--paper); }
.lame::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19, 32, 42, .62), rgba(19, 32, 42, .18) 70%, rgba(19, 32, 42, .05)); opacity: var(--lo); transition: background .3s; }
.lame::after { content: ""; position: absolute; inset: 0; border-top: 1px solid rgba(255, 255, 255, calc(var(--lo) * .35)); box-shadow: inset 0 -14px 18px -14px rgba(0, 0, 0, calc(var(--lo) * .45)); pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .lame:hover::before { background: linear-gradient(90deg, rgba(19, 32, 42, .78), rgba(19, 32, 42, .3) 70%, rgba(19, 32, 42, .1)); } .lame:hover b::after { transform: translateX(6px); } }
.lame > * { position: relative; opacity: var(--lo); transform: translateX(calc((1 - var(--lo)) * -24px)); }
.lame i { grid-row: span 2; align-self: center; font: 500 13px var(--font-d); font-style: normal; color: rgba(255, 255, 255, .7); }
.lame b { font: 600 clamp(22px, 3.6vw, 52px)/1.02 var(--font-d); font-stretch: 110%; letter-spacing: -.03em; }
.lame span { font-size: clamp(14px, 1.3vw, 17px); opacity: calc(var(--lo) * .85); margin-top: 4px; }
.lame b::after { content: "→"; margin-left: .25em; font-weight: 400; display: inline-block; transition: transform 200ms var(--ease); }

/* La clim : un vrai split mural, vu de face et un peu d'en dessous */
.hx-unit { position: absolute; left: 50%; bottom: max(9svh, 64px); z-index: 1; width: min(86vw, 620px); transform: translateX(-50%) scale(calc(1 + (1 - var(--co)) * .25)); opacity: var(--co); }
.ac { position: relative; aspect-ratio: 3.15; border-radius: 16px 16px 26px 26px / 16px 16px 40px 40px;
  background:
    linear-gradient(90deg, rgba(19, 32, 42, .045), transparent 22%, transparent 70%, rgba(255, 255, 255, .55)),
    linear-gradient(180deg, #FFFFFF 0%, #FAF9F7 8%, #F4F3F0 52%, #ECEAE6 70%, #DCD9D3 80%, #E4E1DC 88%, #D2CFC9 100%);
  box-shadow:
    inset 0 1px 0 #fff, inset 1px 0 0 rgba(255, 255, 255, .9), inset -1px 0 0 rgba(19, 32, 42, .05), inset 0 -2px 3px rgba(19, 32, 42, .08),
    0 1px 1px rgba(19, 32, 42, .08), 0 10px 16px -8px rgba(19, 32, 42, .22), 0 34px 50px -26px rgba(19, 32, 42, .38); }
/* Grille d'aspiration sur le dessus */
.ac-grille { position: absolute; left: 3%; right: 3%; top: 0; height: 9%; border-radius: 14px 14px 0 0;
  background: repeating-linear-gradient(90deg, rgba(19, 32, 42, .13) 0 1px, transparent 1px 6px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(#000, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); opacity: .7; }
/* Jonction façade / dessous, avec un reflet */
.ac-seam { position: absolute; left: 1.5%; right: 1.5%; top: 72%; height: 2px; background: linear-gradient(180deg, rgba(19, 32, 42, .14), rgba(255, 255, 255, .7)); border-radius: 2px; }
/* Écran : la consigne s'allume à la mise en route */
.ac-disp { position: absolute; right: 7%; top: 44%; display: flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 6px; background: linear-gradient(180deg, #2A3238, #1A2026); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .8); }
.ac-dot { width: 5px; height: 5px; border-radius: 50%; background: #3a4248; transition: background .6s, box-shadow .6s; }
.ac-disp b { font: 600 13px/1 var(--font-d); font-variant-numeric: tabular-nums; letter-spacing: .04em; color: rgba(255, 255, 255, .08); transition: color .6s, text-shadow .6s; }
.ac-disp b::after { content: "°"; }
.hx-stage.on .ac-dot { background: var(--mode); box-shadow: 0 0 6px var(--mode); }
.hx-stage.on .ac-disp b { color: #F2C7B8; text-shadow: 0 0 8px rgba(194, 90, 60, .6); color: color-mix(in srgb, var(--mode) 55%, #fff); text-shadow: 0 0 8px color-mix(in srgb, var(--mode) 70%, transparent); }
/* Bouche de soufflage (la pièce apparaît dedans) */
.hx-slot { position: absolute; left: 6%; right: 6%; bottom: 7%; height: 15%; border-radius: 999px; background: #1E252B; box-shadow: inset 0 3px 6px rgba(0, 0, 0, .6); }
/* Ombre portée sur le mur */
.ac-shadow { position: absolute; left: 3%; right: 3%; top: 55%; height: 85%; border-radius: 50%; background: radial-gradient(50% 50% at 50% 30%, rgba(60, 50, 40, .22), transparent 70%); filter: blur(12px); }
/* Ailettes verticales derrière le volet */
.hx-vanes { position: absolute; z-index: 3; border-radius: 999px; pointer-events: none; opacity: calc(var(--co) * .55);
  background: repeating-linear-gradient(90deg, transparent 0 12px, rgba(20, 26, 31, .55) 12px 14px); }
/* Le volet : posé par le JS sur la bouche, il pivote en s'ouvrant */
.hx-flap { position: absolute; z-index: 3; transform-origin: 50% 0; transform: perspective(420px) rotateX(calc(var(--fo) * -78deg)); border-radius: 4px 4px 999px 999px;
  background: linear-gradient(180deg, #F2F0EC 0%, #E3E0DA 55%, #CFCBC5 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 2px 3px rgba(19, 32, 42, .12); opacity: calc(var(--co) * 1.4); pointer-events: none; }

/* Le texte du hero */
.hx-copy { position: absolute; inset: 0 0 auto; z-index: 4; padding: calc(var(--nav-h) + 3.5svh) clamp(16px, 5vw, 64px) 0; text-align: center; opacity: var(--co); transform: translateY(calc((1 - var(--co)) * -30px)); }
.hx-copy.is-gone { visibility: hidden; }
.wx { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font: 500 14px var(--font-d); color: var(--slate); }
.wx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mode); box-shadow: 0 0 0 4px rgba(194, 90, 60, .2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mode) 20%, transparent); }
.hx-copy h1 { margin-top: clamp(14px, 2.4svh, 26px); display: flex; flex-direction: column; align-items: center; gap: clamp(12px, 2svh, 20px); }
.hx-big { font: 600 clamp(44px, 8.6vw, 128px)/.9 var(--font-d); font-stretch: 112%; letter-spacing: -.045em; }
.hx-big > span { display: block; }
.w-hot { font-weight: inherit; color: var(--ember); }
.w-cold { font-weight: inherit; color: var(--frost-d); }
.hx-sub { max-width: 40ch; font: 400 clamp(16px, 1.45vw, 19px)/1.45 var(--font-t); color: var(--slate); }
.hx-cta { display: flex; justify-content: center; gap: 10px; margin-top: clamp(18px, 3svh, 30px); }
.hx-hint { position: absolute; pointer-events: none; left: 0; right: 0; bottom: max(2.5svh, 14px); z-index: 4; text-align: center; font: 500 13px var(--font-d); color: var(--slate); opacity: calc(var(--co) * .9); }
.hx-hint::after { content: ""; display: block; width: 1px; height: 18px; margin: 6px auto 0; background: currentColor; animation: hint 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 760px) {
  .hx-big { font-size: clamp(40px, 12.4vw, 56px); }
  .hx-sub { font-size: 15.5px; }
  .hx-cta .btn { flex: 1; min-width: 0; padding: 0 12px; font-size: 15px; }
  .hx-unit { width: 92vw; bottom: max(10svh, 70px); }
  .hx-slot { height: 16px; }
  .lame { grid-template-columns: 1fr; }
  .lame i { grid-row: auto; margin-bottom: 4px; }
  .lame span { font-size: 13.5px; }
}
@media (max-height: 640px) and (max-width: 760px) { .hx-sub { display: none; } }

/* Mouvement réduit : pas d'épinglage, état final directement */
.rm .hx { height: auto; }
.rm .hx-stage { position: relative; height: auto; display: flex; flex-direction: column; --co: 1; --mix: 1; --lo: 1; --gap: 6px; --airA: 0; --rd: 0; }
.rm .hx-copy { position: relative; padding-bottom: 32px; }
.rm .hx-room { position: relative; height: auto; min-height: 72svh; clip-path: none; }
.rm .hx-unit, .rm .hx-flap, .rm .hx-vanes, .rm .hx-hint { display: none; }
.rm .hx-lames { pointer-events: auto; padding-top: 0; }
.rm .nav { background: rgba(244, 242, 238, .94); box-shadow: 0 1px 0 var(--line); }
.rm .hx-copy { padding-bottom: 40px; }

/* =========================================================
   Sections
   ========================================================= */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; --c: var(--ink); --cd: var(--ink); --cp: var(--paper-2); }
.sec-clim { --c: var(--frost); --cd: var(--frost-d); --cp: var(--frost-p); }
.sec-pac { --c: var(--ember); --cd: var(--ember-d); --cp: var(--ember-p); padding-top: clamp(60px, 8vw, 110px); }
.sec-ent { --c: var(--frost); --cd: var(--frost-d); --cp: var(--frost-p); padding-top: 0; }
.sec-dep { --c: var(--ember); --cd: var(--ember); background: var(--ink); color: var(--paper); }
.sec-zone { --c: var(--frost); --cd: var(--frost-d); }

.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font: 500 15px var(--font-d); font-stretch: 105%; color: var(--cd); }
.kicker i { display: grid; place-items: center; min-width: 34px; height: 24px; padding: 0 8px; border-radius: 999px; border: 1.5px solid currentColor; font: 600 12px var(--font-d); font-style: normal; }
.sec-dep .kicker { color: var(--ember-p); }
h2 { font: 600 clamp(36px, 5.6vw, 80px)/.96 var(--font-d); font-stretch: 108%; letter-spacing: -.04em; text-wrap: balance; }
h2 .lt { font-weight: 400; color: var(--slate); }
h2 .lt-br { display: block; }
.sec-dep h2 .lt { color: rgba(244, 242, 238, .6); }
h3 { font: 600 clamp(22px, 2.2vw, 30px)/1.1 var(--font-d); font-stretch: 106%; letter-spacing: -.025em; }
.lead { margin-top: 26px; max-width: 34em; font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; }
.lead + p { margin-top: 16px; max-width: 34em; color: var(--slate); }
.sec-dep .lead + p { color: rgba(244, 242, 238, .82); }
.ticks { margin-top: 28px; display: grid; gap: 2px; }
.ticks li { position: relative; padding: 13px 0 13px 34px; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 23px; width: 20px; height: 7px; background: var(--c); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 7'%3E%3Cpath d='M1 4.5c3-3 6-3 9 0s6 3 9 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 7'%3E%3Cpath d='M1 4.5c3-3 6-3 9 0s6 3 9 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Médias + placeholders d'images */
.media { position: relative; overflow: hidden; border-radius: var(--r); background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(19, 32, 42, .035) 14px 15px), linear-gradient(160deg, var(--cp, var(--paper-2)), var(--paper-2)); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media:has(img[hidden])::after { content: "Image à venir : " attr(data-label); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 80%; padding: 6px 12px; border: 1px dashed #B79A1E; border-radius: 6px; background: #FFF4C2; color: #5C4A00; font: 500 13px/1.4 var(--font-t); text-align: center; }
.media figcaption { position: absolute; left: 12px; bottom: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(19, 32, 42, .55); color: #fff; font-size: 11.5px; }
.media:has(img[hidden]) figcaption { display: none; }

/* Repères */
.trust { padding: clamp(28px, 4vw, 48px) 0 0; }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(18px, 3vw, 40px); }
.trust li { padding-top: 14px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 4px; }
.trust b { font: 600 18px/1.2 var(--font-d); font-stretch: 106%; }
.trust span { font-size: 15px; color: var(--slate); }
.trust .ph { color: #5C4A00; align-self: flex-start; }
.trust a { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 900px) { .trust-in { grid-template-columns: 1fr 1fr; gap: 26px 18px; } }
@media (max-width: 520px) { .trust-in { grid-template-columns: 1fr; gap: 20px; } }

/* Séparateurs : souffle d'air + ligne chaud / froid */
.sep-air { position: relative; height: clamp(120px, 18vw, 210px); }
.sep-air canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sep-line { --x: .5; position: relative; height: 90px; margin: 0 clamp(16px, 4vw, 48px); }
.sep-line::before, .sep-line::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 2px; border-radius: 2px; }
.sep-line::before { background: linear-gradient(90deg, transparent, var(--frost) 30%); transform-origin: 0 50%; transform: scaleX(var(--x)); }
.sep-line::after { background: linear-gradient(270deg, transparent, var(--ember) 30%); transform-origin: 100% 50%; transform: scaleX(calc(1 - var(--x))); }
.sep-line span { position: absolute; top: 50%; left: 0; translate: calc(var(--x) * var(--w, 0px)) 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }

/* Split texte / image */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.split-media { aspect-ratio: 4 / 5; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-media { aspect-ratio: 4 / 4.4; } }

/* Pompes à chaleur : maison en coupe */
.pac-head { max-width: 860px; }
.coupe { margin-top: clamp(40px, 5vw, 64px); padding: clamp(18px, 3vw, 40px); border-radius: 30px; background: var(--white); border: 1px solid var(--line); }
.coupe-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.coupe-tabs button { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; font: 600 15px var(--font-d); cursor: pointer; transition: background .3s, color .3s, transform 160ms var(--ease); }
.coupe-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.coupe-tabs button:active, .chips label:active span, .nav-call:active { transform: scale(.97); }
.coupe-in { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(20px, 4vw, 56px); align-items: center; margin-top: 20px; }
.coupe-svg { width: 100%; height: auto; overflow: visible; }
.coupe-svg * { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.c-ground { stroke: var(--line); stroke-width: 2; stroke: rgba(19, 32, 42, .25); }
.c-house { stroke: var(--ink); stroke-width: 2.4; }
.c-floor, .c-wall { stroke: rgba(19, 32, 42, .3); stroke-width: 1.6; }
.c-out rect { stroke: var(--ink); stroke-width: 2; fill: var(--paper); }
.c-out circle, .c-out > path:not(.c-in-air) { stroke: rgba(19, 32, 42, .5); stroke-width: 1.6; }
.c-in-air { stroke: var(--frost); stroke-width: 2.2; stroke-dasharray: 6 8; animation: flow 1.4s linear infinite; }
.c-pipe { stroke: rgba(19, 32, 42, .45); stroke-width: 2; }
.c-pipe-w { stroke: var(--ember); stroke-width: 2.4; stroke-dasharray: 2 7; animation: flow 1.2s linear infinite; }
.c-split, .c-tank, .c-rad rect { stroke: var(--ink); stroke-width: 2; fill: #fff; }
.c-rad path { stroke: rgba(19, 32, 42, .4); stroke-width: 1.4; }
.c-water { stroke: var(--ember); stroke-width: 2; opacity: .8; }
.c-flow { stroke: var(--ember); stroke-width: 2.4; stroke-dasharray: 8 9; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -34; } }
.c-sys { transition: opacity 300ms var(--ease); }
.c-panel:not([hidden]) { transition: opacity 220ms var(--ease), translate 220ms var(--ease); }
@starting-style { .c-panel:not([hidden]) { opacity: 0; translate: 0 6px; } }
.rm .c-panel:not([hidden]) { translate: none; }
.coupe[data-sys="air"] .c-sys-eau, .coupe[data-sys="eau"] .c-sys-air { opacity: 0; }
.c-panel h3 { color: var(--ember-d); }
.c-panel p { margin-top: 12px; }
.c-for { padding: 14px 16px; border-radius: 14px; background: var(--ember-p); font-size: 16px; }
.c-note { margin-top: 18px; font-size: 15px; color: var(--slate); }
.pac-media { margin-top: clamp(40px, 5vw, 64px); aspect-ratio: 21 / 9; }
@media (max-width: 900px) { .coupe-in { grid-template-columns: 1fr; } .pac-media { aspect-ratio: 3 / 2; } }

/* Thermostat (repris d'Enelo, adapté : froid dehors = on chauffe) */
.thermo { --tint: var(--paper-2); background: var(--tint); transition: background 150ms ease; padding: clamp(80px, 10vw, 140px) 0; border-radius: clamp(28px, 4vw, 56px); margin: 0 clamp(8px, 1.2vw, 16px); }
.thermo .kicker { color: var(--ink); }
.thermo-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.dg-a { stop-color: var(--ember); } .dg-b { stop-color: var(--frost); }
.dial-wrap { position: relative; width: min(100%, 420px); margin: 0 auto; }
.dial { width: 100%; height: auto; touch-action: none; cursor: grab; clip-path: circle(50%); }
.dial-hole { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1; clip-path: circle(29%); touch-action: pan-y; }
.dial:active { cursor: grabbing; }
.dial-track { fill: none; stroke: rgba(19, 32, 42, .1); stroke-width: 18; stroke-linecap: round; }
.dial-fill { fill: none; stroke: url(#dialGrad); stroke-width: 18; stroke-linecap: round; }
#ticks line { stroke: rgba(19, 32, 42, .25); stroke-width: 1.5; }
.dial-knob { fill: #fff; stroke: var(--ink); stroke-width: 2; filter: drop-shadow(0 4px 10px rgba(19, 32, 42, .25)); }
.dial-read { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-58%); text-align: center; pointer-events: none; }
.dial-read span { display: block; font: 600 clamp(72px, 9vw, 120px)/1 var(--font-d); font-stretch: 110%; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.dial-read span::after { content: "°"; font-weight: 300; }
.dial-read small { display: block; margin-top: 8px; font-size: 14px; color: var(--slate); }
.thermo-range { width: 100%; height: 28px; margin-top: 18px; accent-color: var(--ink); }
.thermo-hint { margin-top: 18px; font-size: 16px; color: var(--slate); }
.thermo-ans { margin-top: 30px; padding: 28px; border-radius: var(--r); background: rgba(255, 255, 255, .66); }
.thermo-ans h3 { font-size: clamp(26px, 2.6vw, 36px); }
.thermo-ans p { margin: 12px 0 20px; max-width: 46ch; font-size: 16.5px; }
.ans-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
@media (max-width: 900px) {
  .thermo { padding: 56px 0 48px; }
  .thermo-in { grid-template-columns: 1fr; gap: 0; }
  .thermo-txt { display: contents; }
  .thermo-txt .kicker { order: 1; margin-bottom: 14px; }
  .thermo-txt h2 { order: 2; }
  .thermo-hint { order: 3; margin-top: 10px; font-size: 15px; }
  .dial-wrap { order: 4; width: min(66vw, 260px); margin: 18px auto 0; }
  .dial-read span { font-size: clamp(52px, 15vw, 68px); }
  .thermo-ans { order: 5; margin-top: 16px; padding: 20px; }
}

/* Entretien : le rayon de poussière */
.ray { position: relative; height: 175svh; }
.ray-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; --q: 0; }
.ray-pics { position: absolute; inset: 0; border-radius: 0; background: radial-gradient(70% 60% at 30% 30%, #3b4148, #1b2026 70%); }
.ray-pics img { position: absolute; inset: 0; object-position: 34% 50%; }
.ray-b { opacity: var(--q); }
.ray-pics:has(img[hidden])::after { top: calc(var(--nav-h) + 18px); transform: translateX(-50%); z-index: 2; }
#dustCv { position: absolute; inset: 0; width: 100%; height: 100%; }
.ray-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(16px, 5vw, 64px) clamp(36px, 7svh, 72px); color: #fff; padding-top: 34svh; background: linear-gradient(0deg, rgba(14, 20, 25, .86) 0%, rgba(14, 20, 25, .6) 45%, transparent); }
.ray-copy .kicker { color: #fff; }
.ray-copy h2 { max-width: 13em; }

.ray-copy h2 .lt { color: rgba(255, 255, 255, .86); }
.ent-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: start; padding-top: clamp(56px, 7vw, 96px); }
.law { margin-top: 22px; font-size: 15px; color: var(--slate); }
.remind { padding: clamp(24px, 3vw, 36px); border-radius: 26px; background: var(--frost-p); }
.remind-ico { width: 30px; height: 30px; color: var(--frost-d); margin-bottom: 18px; }
.remind p { margin-top: 10px; font-size: 16px; }
.remind-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 900px) { .ent-grid { grid-template-columns: 1fr; } }
.rm .ray { height: auto; } .rm .ray-stage { position: relative; height: 80svh; --q: 1; }

/* Dépannage */
.dep-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.dep-tip { margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--ember); background: rgba(244, 242, 238, .06); border-radius: 0 14px 14px 0; }
.dep-tip b { font: 600 16px var(--font-d); }
.dep-tip p { margin-top: 6px; font-size: 15.5px; color: rgba(244, 242, 238, .78); }
.dep-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.dep-media { aspect-ratio: 4 / 5; --cp: #26343f; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, .04) 14px 15px), #1d2a34; }
@media (max-width: 900px) { .dep-in { grid-template-columns: 1fr; } .dep-media { aspect-ratio: 3 / 2; } .dep-cta .btn { flex: 1 1 100%; } }

/* Équipe */
.team-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.team-latin { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--slate); }
.team-latin b { font-family: var(--font-d); font-stretch: 125%; letter-spacing: .08em; color: var(--ink); }
@media (max-width: 900px) { .team-in { grid-template-columns: 1fr; } }

/* Zone */
.zone-in { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(32px, 4vw, 56px); }
.zmap { padding: clamp(10px, 2vw, 24px); border-radius: 28px; background: var(--white); border: 1px solid var(--line); }
.zmap svg { width: 100%; height: auto; overflow: visible; }
.zmap figcaption { margin-top: 8px; font-size: 12.5px; color: var(--slate); text-align: right; }
.z-gier { fill: none; stroke: var(--frost); stroke-width: 5; stroke-linecap: round; opacity: .55; }
.z-river { font: italic 500 22px var(--font-t); fill: var(--frost-d); }
.z-ring { fill: rgba(194, 90, 60, .06); fill: color-mix(in srgb, var(--ember) 6%, transparent); stroke: var(--ember); stroke-width: 1.5; stroke-dasharray: 4 7; opacity: .7; }
.z-towns circle { fill: var(--ink); }
.z-towns text { font: 500 17px var(--font-t); fill: var(--slate); }
.z-towns .z-base circle { fill: var(--ember); }
.z-towns .z-base text { font: 700 22px var(--font-d); fill: var(--ink); }
.z-pulse { fill: none !important; stroke: var(--ember); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) 3 paused; }
.zmap.is-seen .z-pulse { animation-play-state: running; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.zone-list > p:first-child { font-size: 17px; }
.zone-list details { border-top: 1px solid var(--line); }
.zone-list details:last-child { border-bottom: 1px solid var(--line); }
.zone-list summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font: 600 17px var(--font-d); cursor: pointer; list-style: none; }
.zone-list summary::-webkit-details-marker { display: none; }
.zone-list summary::after { content: "+"; font-weight: 400; font-size: 22px; transition: transform 200ms var(--ease); }
.zone-list { interpolate-size: allow-keywords; }
.zone-list details::details-content { block-size: 0; overflow: hidden; transition: block-size 250ms var(--ease), content-visibility 250ms allow-discrete; }
.zone-list details[open]::details-content { block-size: auto; }
.rm .zone-list details::details-content { transition: none; }
.zone-list details[open] summary::after { transform: rotate(45deg); }
.zone-list details p { padding: 0 0 18px; font-size: 15.5px; color: var(--slate); }
.zone-list .ph-block { margin-bottom: 18px; }
@media (max-width: 900px) {
  .zone-in { grid-template-columns: 1fr; }
  .z-towns .z-minor text { display: none; }
  .z-towns text { font-size: 34px; }
  .z-towns .z-base text { font-size: 40px; }
  .z-towns circle { r: 8px; }
  .z-river { display: none; }
}

/* Contact + devis SMS */
.sec-contact { padding-bottom: clamp(80px, 9vw, 130px); }
.odo-tel { display: block; margin-top: clamp(26px, 4vw, 48px); color: var(--ink); text-decoration: none; transition: opacity 120ms; }
.odo-tel:active { opacity: .7; }
.odo-n { display: flex; flex-wrap: nowrap; align-items: flex-end; height: 1em; font: 600 clamp(42px, 10.4vw, 150px)/1 var(--font-d); font-stretch: 108%; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.odo-col { display: block; height: 1em; overflow: hidden; margin-right: -.03em; }
.odo-col > span { display: block; transform: translateY(calc(var(--d, 0) * -1em)); transition: transform 1.1s cubic-bezier(.23, 1, .32, 1); }
.odo-col i { display: block; height: 1em; font-style: normal; }
.odo-gap { width: .22em; flex: none; }
.rm .odo-col > span { transition: none; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.contact-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.devis { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 4vw, 56px); margin-top: clamp(56px, 7vw, 96px); padding: clamp(20px, 3.5vw, 48px); border-radius: 32px; background: var(--white); border: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 16px); }
.devis h3 .lt { font-weight: 400; color: var(--slate); }
.devis-intro { margin-top: 12px; font-size: 15.5px; color: var(--slate); max-width: 46ch; }
.chips { margin-top: 26px; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend, .field label { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 600 15px var(--font-d); }
.chips legend i, .field label i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 600 12px var(--font-d); font-style: normal; }
.field label small { font-weight: 400; color: var(--slate); }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(19, 32, 42, .4); background: var(--paper); font-size: 15px; transition: background .25s, color .25s, border-color .25s, transform 160ms var(--ease); }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--mode-d); outline-offset: 2px; }
.field { margin-top: 26px; }
.field input, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid rgba(19, 32, 42, .4); border-radius: 14px; background: var(--paper); font-size: 16px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--mode-d); outline-offset: 2px; border-color: var(--ink); }
.field ::placeholder { color: #56616A; }
.devis-preview { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 24px; background: var(--paper-2); }
.bubble-to { font: 500 13px var(--font-d); color: var(--slate); }
.bubble { position: relative; padding: 16px 18px; border-radius: 20px 20px 6px 20px; background: var(--frost-d); color: #fff; font-size: 16px; line-height: 1.5; min-height: 90px; }
.bubble .gap { opacity: .85; font-style: italic; }
.devis-preview .btn { width: 100%; }
#smsGo.is-incomplete { background: var(--slate); }
.devis-status { min-height: 1.4em; font-size: 14px; color: var(--slate); text-align: center; }
.chips span::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--mode); opacity: 0; pointer-events: none; }
.chips span { position: relative; }
.chips span.is-preset::after { animation: chip-ping 700ms var(--ease) 1; }
@keyframes chip-ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.12); opacity: 0; } }
@media (max-width: 900px) { .devis { grid-template-columns: minmax(0, 1fr); } .devis-preview { position: relative; top: 0; } }

/* Footer */
.foot { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 90px) 0 calc(28px + env(safe-area-inset-bottom)); }
@media (max-width: 767px) { .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); } }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.brand-light { color: var(--paper); }
.foot-brand p { margin-top: 18px; max-width: 32ch; font-size: 15px; color: rgba(244, 242, 238, .7); }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col a { text-decoration: none; opacity: .85; font-size: 15.5px; }
.foot-col a:hover { opacity: 1; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(244, 242, 238, .12); font-size: 13px; color: rgba(244, 242, 238, .6); }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Bouton d'appel rond en bas à droite, avec de petites ondes (repris de TMS Multiservices) */
.call { position: fixed; z-index: 50; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); text-decoration: none; box-shadow: 0 10px 26px rgba(19, 32, 42, .32), 0 2px 6px rgba(19, 32, 42, .2); transition: background .2s, color .2s, transform 200ms var(--ease), opacity 200ms var(--ease); }
.call svg { width: 24px; height: 24px; }
.call:hover { background: #22323e; }
.call:active { transform: scale(.94); }
.call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--mode); pointer-events: none; opacity: 0; }
.call.is-ping::before { animation: call-wave 2.4s var(--ease) 2; }
@keyframes call-wave { 0% { transform: scale(1); opacity: .85; } 55%, 100% { transform: scale(1.65); opacity: 0; } }
body.drawer-open .call, .call.is-away { opacity: 0; pointer-events: none; transform: scale(.9); }
.call.on-dark { background: var(--paper); color: var(--ink); }
.call.on-dark:hover { background: #fff; }
@media (max-width: 767px) { .call { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 58px; height: 58px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Dépannage : disponibilités */
.dep-when { margin-top: 20px; font-size: 16px; color: rgba(244, 242, 238, .8); }
.dep-when b { color: var(--paper); font-family: var(--font-d); }
.dep-media img { object-position: 40% 50%; }
/* Équipe : la carte de visite */
.team-more { margin-top: 16px; max-width: 34em; color: var(--slate); }
.card-stage { display: grid; place-items: center; aspect-ratio: 4 / 4.2; border-radius: var(--r); background: radial-gradient(80% 70% at 30% 20%, #F7F4EE, #E6E1D8); overflow: hidden; }
.bcard { position: relative; width: min(82%, 380px); aspect-ratio: 85 / 55; padding: 7% 8%; display: flex; flex-direction: column; border-radius: 6px; rotate: -4deg;
  background: linear-gradient(135deg, #FFFFFF, #F6F4F0); color: var(--ink);
  box-shadow: 0 1px 1px rgba(19, 32, 42, .08), 0 6px 10px -4px rgba(19, 32, 42, .18), 0 28px 40px -20px rgba(19, 32, 42, .35); }
.bcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .48 0 0 0 0 .44 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.bcard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5%; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--frost) 50%, var(--ember) 50%); }
.bcard-top { display: flex; align-items: center; gap: 8px; }
.bcard-mark { width: 30px; height: 30px; color: var(--ink); }
.bcard-top .brand-txt b { font-size: 15px; } .bcard-top .brand-txt small { font-size: 7.5px; }
.bcard-names { margin-top: auto; font: 600 clamp(15px, 1.6vw, 19px)/1.2 var(--font-d); font-stretch: 106%; }
.bcard-role { font-size: 12px; color: var(--slate); }
.bcard-tel { margin-top: 8px; font: 600 14px var(--font-d); letter-spacing: .02em; }
.bcard-loc { font-size: 11.5px; color: var(--slate); padding-bottom: 6%; }
@media (max-width: 900px) { .card-stage { aspect-ratio: 3 / 2.2; order: 2; } }
/* Contact : horaires + e-mail */
.contact-meta { color: var(--slate); font-size: 15px; gap: 6px 18px; }
.contact-meta a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
/* Thermostat : un vrai boîtier mural rond */
.dial-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 35% 28%, #FFFFFF, #F1EEE9 60%, #E2DED7);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .9), inset 0 -3px 6px rgba(19, 32, 42, .08), 0 2px 2px rgba(19, 32, 42, .06), 0 22px 40px -18px rgba(19, 32, 42, .35); }
.dial-wrap { isolation: isolate; }

/* Indication de scroll masquée quand la place manque */
.hx-hint.is-hidden { display: none; }
/* Maison en coupe : la chaleur circule quand on arrive sur le schéma */
.coupe.is-paused .c-flow, .coupe.is-paused .c-in-air, .coupe.is-paused .c-pipe-w { animation-play-state: paused; }
.c-flow, .c-in-air, .c-pipe-w { transition: opacity 300ms var(--ease); }
.coupe.is-paused .c-flow { opacity: .25; }
/* Mode démo (?demo) : sélecteur Hiver / Été pour la présentation */
.demo { position: fixed; left: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 50; display: flex; padding: 4px; border-radius: 999px; background: rgba(19, 32, 42, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 22px rgba(19, 32, 42, .3); }
.demo a { padding: 9px 16px; border-radius: 999px; color: var(--paper); font: 600 14px var(--font-d); text-decoration: none; opacity: .7; }
.demo a.on { background: var(--paper); color: var(--ink); opacity: 1; }

/* =========================================================
   Progression : barre fine en haut sur mobile (sans icône), sur le côté sur ordinateur
   ========================================================= */
.side-prog { display: none; }
@media (min-width: 1024px) {
  .prog { display: none; }
  .side-prog { position: fixed; z-index: 52; right: 26px; top: 50%; height: min(52vh, 460px); translate: 0 -50%; display: block; opacity: 0; transition: opacity 300ms var(--ease); --p: 0; --pc: var(--ink); }
  .side-prog.is-on { opacity: 1; }
  .sp-mark { position: absolute; right: 0; top: calc(var(--at) * 100%); display: flex; align-items: center; gap: 10px; translate: 0 -50%; padding: 4px 0; border: 0; background: none; color: var(--ink); font: 500 13px var(--font-d); text-decoration: none; cursor: pointer; }
  .sp-mark span { order: -1; padding: 3px 9px; border-radius: 999px; background: rgba(244, 242, 238, .92); box-shadow: 0 1px 0 var(--line); white-space: nowrap; opacity: 0; translate: 6px 0; transition: opacity 200ms var(--ease), translate 200ms var(--ease); pointer-events: none; }
  .sp-mark.is-cur span { opacity: 1; translate: 0 0; }
  @media (hover: hover) and (pointer: fine) { .sp-mark:hover span { opacity: 1; translate: 0 0; } }
  .sp-mark:focus-visible span { opacity: 1; translate: 0 0; }
  body.drawer-open .side-prog { opacity: 0; }
  /* Sur les fonds sombres (dépannage, rayon de l'entretien), la progression passe en clair */
  .side-prog.on-dark .sp-mark { color: var(--paper); }
  .side-prog .sp-mark span { color: var(--ink); }
  .side-prog.on-dark::before { background: rgba(244, 242, 238, .12); box-shadow: inset 0 0 0 1.5px rgba(244, 242, 238, .45); }
  .side-prog.on-dark .sp-mark i { background: rgba(244, 242, 238, .55); }
  .side-prog.on-dark .sp-mark.is-cur i { background: var(--paper); }

  /* Le thermomètre : un tube gradué qui se remplit, bulbe à la couleur de la saison */
  .side-prog::before { content: ""; position: absolute; right: 7px; top: 0; bottom: 0; width: 8px; border-radius: 8px; background: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(19, 32, 42, .25); }
  .side-prog::after { content: ""; position: absolute; right: 9px; top: 2px; width: 4px; height: calc(100% - 4px); border-radius: 4px; background: var(--pc); transform-origin: 50% 0; transform: scaleY(var(--p)); transition: background 300ms ease; }
  .sp-bulb { position: absolute; right: 2px; bottom: -14px; width: 18px; height: 18px; border-radius: 50%; background: var(--mode); box-shadow: 0 0 0 1.5px var(--paper), 0 2px 6px rgba(19, 32, 42, .2); }
  .sp-mark i { width: 6px; height: 1.5px; margin-right: 18px; background: rgba(19, 32, 42, .45); }
  .sp-mark.is-cur i { width: 10px; background: var(--ink); }

}
