/* Innovaflux, Marrakech. Direction : cinema, pierre chaude, verre fume, laiton. */
:root {
  --ink: #0c0a08;
  --ink-2: #16120e;
  --ivory: #f4eee5;
  --ivory-dim: rgba(244, 238, 229, .72);
  --ivory-faint: rgba(244, 238, 229, .42);
  --brass: #cfa972;
  --cool: #8fd2ff;
  --cool-deep: #3a9be8;
  --warm: #ffa35c;
  --warm-deep: #ff6a2b;
  --accent: var(--cool);
  --glass: rgba(18, 14, 11, .34);
  --glass-strong: rgba(14, 11, 9, .62);
  --line: rgba(244, 238, 229, .16);
  --line-strong: rgba(244, 238, 229, .32);
  --sx: 70vw;
  --sy: 26vh;
  --split-w: 15vw;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(20px, 4.2vw, 64px);
  color-scheme: dark;
}

body[data-mode="heat"] { --accent: var(--warm); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--ink);
  color: var(--ivory);
  font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  overscroll-behavior: none;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

/* ---------- Scene ---------- */
.stage { position: fixed; inset: 0; overflow: hidden; z-index: 0; background: var(--ink); }
.rooms { position: absolute; inset: 0; }
.room {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: circle(0% at var(--sx) var(--sy));
  visibility: hidden;
}
.room.is-active { clip-path: circle(160% at var(--sx) var(--sy)); visibility: visible; }
.room.is-entering { visibility: visible; transition: clip-path 1.6s var(--ease-io); }
.room.is-leaving { visibility: visible; clip-path: circle(160% at var(--sx) var(--sy)); }
.layer { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: opacity; }
.layer img, .layer video { display: block; width: 100%; height: 100%; object-fit: fill; }
.layer--winter { opacity: 0; transition: opacity 2.4s var(--ease-io); }
body[data-season="hiver"] .layer--winter { opacity: 1; }
.layer video { opacity: 0; transition: opacity 1.2s ease; position: absolute; inset: 0; }
.layer video.is-ready { opacity: 1; }
.room.is-entering .layer img, .room.is-entering .layer video { animation: roomZoom 2.4s var(--ease) both; }
@keyframes roomZoom { from { transform: scale(1.06); filter: brightness(1.25) saturate(.8); } to { transform: none; filter: none; } }

/* voile de confort : le frais ou la chaleur se propage depuis le split */
.veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60vmax 44vmax at var(--sx) calc(var(--sy) + 4vh), var(--veil-color, rgba(120, 190, 255, .55)), transparent 70%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transform-origin: var(--sx) var(--sy);
  transform: scale(.35);
  transition: opacity 5s var(--ease), transform 7s var(--ease), background 2s ease;
}
body.is-on .veil { opacity: var(--veil-strength, .9); transform: scale(1); }
body[data-mode="heat"] .veil { --veil-color: rgba(255, 150, 70, .6); }
body[data-mode="fan"] .veil { --veil-color: rgba(230, 240, 255, .35); }

.airflow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }

.grade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 8, 6, .82) 0%, rgba(10, 8, 6, .55) 26%, rgba(10, 8, 6, .12) 52%, transparent 70%),
    linear-gradient(180deg, rgba(10, 8, 6, .55) 0%, transparent 18%, transparent 70%, rgba(10, 8, 6, .7) 100%),
    radial-gradient(120% 90% at 60% 45%, transparent 55%, rgba(6, 5, 4, .55) 100%);
}
.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }

/* ---------- Le split (fixe, ne bouge jamais) ---------- */
.split {
  position: absolute;
  left: calc(var(--sx) - var(--split-w) / 2);
  top: calc(var(--sy) - var(--split-w) * var(--split-ratio, .27) / 2);
  width: var(--split-w);
  aspect-ratio: var(--split-aspect, 3.7);
  pointer-events: none;
  z-index: 2;
}
.split__body { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: var(--split-filter, none); transition: filter 2s ease; user-select: none; }
.split__shadow {
  position: absolute; left: 3%; right: 3%; top: 22%; bottom: -14%;
  background: radial-gradient(50% 50% at 50% 60%, rgba(25, 15, 8, .55), transparent 75%);
  filter: blur(10px);
  transform: translateY(6%);
}
.split__display {
  position: absolute; right: 9.5%; top: 34%;
  font: 400 calc(var(--split-w) * .052)/1 'Jost', sans-serif; letter-spacing: .04em;
  color: var(--accent);
  text-shadow: 0 0 6px var(--accent), 0 0 18px var(--accent);
  opacity: 0; transition: opacity .6s ease, color 1s ease;
  display: flex; align-items: flex-start; gap: .1em;
}
.split__display i { width: .22em; height: .22em; border: 1px solid currentColor; border-radius: 50%; margin-top: .05em; }
body.is-on .split__display { opacity: .9; }
.split__led {
  position: absolute; left: 7%; top: 70%;
  width: calc(var(--split-w) * .01); height: calc(var(--split-w) * .01); min-width: 3px; min-height: 3px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent);
  opacity: 0; transition: opacity .6s ease;
}
body.is-on .split__led { opacity: 1; }
/* le volet mobile */
.split__flap {
  position: absolute; left: var(--flap-l, 6.5%); right: var(--flap-r, 6.5%); top: var(--flap-t, 78%); height: var(--flap-h, 9%);
  transform-origin: 50% 0;
  transform: perspective(400px) rotateX(var(--flap-angle, 0deg));
  background: linear-gradient(180deg, #f2ebe0 0%, #e4d9c8 45%, #cdbfa9 100%);
  border-radius: 0 0 40% 40% / 0 0 100% 100%;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 6px 14px -6px rgba(0, 0, 0, .55);
  transition: transform 1.4s var(--ease-io);
}
.split__flap::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 22%;
  background: linear-gradient(90deg, transparent, rgba(207, 169, 114, .9) 12%, rgba(207, 169, 114, .9) 88%, transparent);
  opacity: .8;
}
.split__glow {
  position: absolute; left: 8%; right: 8%; top: 84%; height: 40%;
  background: radial-gradient(50% 60% at 50% 0%, var(--accent), transparent 70%);
  opacity: 0; filter: blur(12px); mix-blend-mode: screen;
  transition: opacity 1.5s ease, background 1s ease;
}
body.is-on .split__glow { opacity: .28; }

/* annotation architecte */
.callout {
  position: fixed; z-index: 5; pointer-events: none;
  left: calc(var(--sx) + var(--split-w) / 2 + 12px);
  top: calc(var(--sy) + var(--split-w) * .16);
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateX(-8px);
  transition: opacity 1s var(--ease) .4s, transform 1s var(--ease) .4s;
}
body.is-ready .callout { opacity: 1; transform: none; }
.callout__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 0 4px rgba(244, 238, 229, .15); }
.callout__line { width: clamp(24px, 4vw, 70px); height: 1px; background: var(--line-strong); }
.callout__text { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.7; color: var(--ivory-dim); white-space: nowrap; }
.callout__text em { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ivory); }

/* ---------- Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 50; background: var(--ink);
  display: grid; place-content: center; justify-items: center; gap: 22px;
  transition: opacity 1.1s var(--ease-io), visibility 1.1s;
}
.intro__temp { font-weight: 200; font-size: clamp(88px, 16vw, 220px); line-height: .9; letter-spacing: -.02em; color: var(--warm); transition: color 1.4s ease; }
.intro__temp sup { font-size: .35em; vertical-align: top; margin-left: .04em; }
.intro.is-cool .intro__temp { color: var(--cool); }
.intro__line { width: min(260px, 50vw); height: 1px; background: var(--line); overflow: hidden; }
.intro__line span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--warm), var(--cool)); transform-origin: 0 0; transform: scaleX(0); animation: introLine 1.9s var(--ease-io) forwards .2s; }
@keyframes introLine { to { transform: scaleX(1); } }
.intro__label { font-size: 11px; letter-spacing: .38em; text-transform: uppercase; color: var(--ivory-faint); }
body:not(.is-loading) .intro { opacity: 0; visibility: hidden; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; z-index: 10; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: calc(env(safe-area-inset-top) + clamp(18px, 3vh, 34px)) var(--gutter) 0;
}
.brand { display: flex; align-items: baseline; gap: 12px; letter-spacing: .32em; font-size: clamp(14px, 1.25vw, 18px); font-weight: 400; }
.brand__word b { font-weight: 400; color: var(--brass); }
.brand__slash { color: var(--ivory-faint); font-weight: 200; letter-spacing: 0; }
.brand__city { font-size: .62em; letter-spacing: .34em; text-transform: uppercase; color: var(--ivory-dim); }
.nav__links { display: flex; gap: clamp(22px, 3.2vw, 56px); margin-left: auto; }
.nav__links a { position: relative; font-size: 13px; letter-spacing: .06em; color: var(--ivory-dim); transition: color .4s ease; padding: 6px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 0 0; transition: transform .6s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ivory); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__wa {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--glass); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: border-color .4s ease, background .4s ease;
}
.nav__wa:hover { border-color: rgba(37, 211, 102, .6); background: rgba(37, 211, 102, .12); }
.nav__wa svg { width: 16px; height: 16px; fill: #25d366; }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ivory); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 24px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: fixed; inset: 0; z-index: 4; pointer-events: none; }
.hero__copy {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-46%);
  width: min(560px, 44vw); pointer-events: auto;
}
.kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ivory-dim); }
.kicker__index { color: var(--accent); transition: color 1s ease; }
.kicker__sep { width: 34px; height: 1px; background: var(--line-strong); }
.title {
  margin: 0; font-weight: 300; text-transform: uppercase;
  font-size: clamp(42px, 5.6vw, 98px); line-height: .98; letter-spacing: .005em;
  text-wrap: balance;
}
.title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .04em; }
.title .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 60ms + 150ms); }
.title.is-in .w > span { transform: none; }
.title .num { color: var(--accent); transition: color 1s ease; font-variant-numeric: tabular-nums; }
.lede { margin: 26px 0 0; font-size: clamp(17px, 1.5vw, 23px); line-height: 1.45; color: var(--ivory-dim); max-width: 32em; opacity: 0; transform: translateY(10px); transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s; }
.lede.is-in { opacity: 1; transform: none; }
.lede em { color: var(--ivory); font-size: 1.12em; }

.thermo { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 18px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.thermo__bar { width: 38px; height: 2px; border-radius: 2px; }
.thermo__bar--out { background: var(--out-color, var(--warm)); box-shadow: 0 0 12px var(--out-color, var(--warm)); }
.thermo__bar--in { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.thermo__out { color: var(--ivory); }
.thermo__in { color: var(--accent); transition: color 1s ease; }
.thermo__arrow { color: var(--ivory-faint); }
body[data-season="hiver"] { --out-color: var(--cool); }

.cta { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.btn--ring { padding: 17px 28px; border-radius: 999px; border: 1px solid rgba(244, 238, 229, .7); position: relative; overflow: hidden; transition: color .5s ease, border-color .5s ease; isolation: isolate; }
.btn--ring::before { content: ''; position: absolute; inset: 0; background: var(--ivory); transform: translateY(101%); transition: transform .6s var(--ease); z-index: -1; border-radius: inherit; }
.btn--ring:hover { color: var(--ink); }
.btn--ring:hover::before { transform: none; }
.btn--text { padding: 10px 0; color: var(--ivory); }
.btn--text span { display: inline-block; transition: transform .5s var(--ease); }
.btn--text:hover span { transform: translateX(6px); }
.btn--solid { width: 100%; padding: 18px 24px; border-radius: 16px; background: #25d366; color: #06230f; }
.btn--solid svg { width: 18px; height: 18px; fill: currentColor; }
.btn--solid:hover { background: #2fe273; }

.services { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; max-width: 520px; }
.services li { font-size: 12px; letter-spacing: .08em; color: var(--ivory-faint); display: flex; align-items: center; gap: 18px; opacity: 0; transform: translateY(6px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * 70ms + 700ms); }
.services li + li::before { content: '·'; color: var(--ivory-faint); }
.services.is-in li { opacity: 1; transform: none; }

/* ---------- Meteo ---------- */
.weather {
  position: fixed; z-index: 6; left: var(--gutter); bottom: calc(env(safe-area-inset-bottom) + 30px);
  display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 18px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--glass); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  font-size: 12px; letter-spacing: .04em; color: var(--ivory-dim);
}
.weather__live { display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .18em; font-size: 10px; }
.weather__live i { width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.weather__main { display: flex; align-items: center; gap: 8px; color: var(--ivory); }
.weather__main b { font-weight: 400; font-size: 15px; }
.weather__icon { width: 18px; height: 18px; display: inline-grid; }
.weather__icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.weather__meta { color: var(--ivory-faint); }
.weather__sim { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ivory-dim); transition: border-color .3s, color .3s; }
.weather__sim:hover { border-color: var(--line-strong); color: var(--ivory); }

/* ---------- Telecommande ---------- */
.remote {
  position: fixed; z-index: 7; right: var(--gutter); bottom: calc(env(safe-area-inset-bottom) + 30px);
  width: 268px; padding: 16px; border-radius: 28px;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(26px) saturate(150%); -webkit-backdrop-filter: blur(26px) saturate(150%);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: transform .8s var(--ease), opacity .8s var(--ease);
}
.remote__handle { display: none; }
.remote__screen {
  border-radius: 18px; padding: 14px 16px 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .25));
  border: 1px solid rgba(255, 255, 255, .06);
  transition: opacity .6s ease;
}
body:not(.is-on) .remote__screen { opacity: .35; }
.remote__row { display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-dim); }
.remote__row--sub { letter-spacing: .06em; text-transform: none; font-size: 11px; color: var(--ivory-faint); }
.remote__row--sub b { color: var(--ivory); font-weight: 400; font-variant-numeric: tabular-nums; }
.remote__mode { color: var(--accent); transition: color .8s ease; }
.remote__fan { display: flex; gap: 3px; align-items: flex-end; height: 12px; }
.remote__fan i { width: 3px; border-radius: 1px; background: var(--ivory-faint); }
.remote__fan i:nth-child(1) { height: 5px; } .remote__fan i:nth-child(2) { height: 8px; } .remote__fan i:nth-child(3) { height: 12px; }
.remote__fan[data-level="1"] i:nth-child(-n+1), .remote__fan[data-level="2"] i:nth-child(-n+2), .remote__fan[data-level="3"] i { background: var(--accent); }
.remote__temp { font-weight: 200; font-size: 64px; line-height: 1; margin: 8px 0 6px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.remote__temp sup { font-size: 16px; font-weight: 300; margin-left: 4px; vertical-align: top; position: relative; top: 10px; color: var(--ivory-dim); }
.remote__keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.key {
  height: 50px; border-radius: 16px; display: grid; place-items: center; align-content: center; gap: 2px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07);
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-dim);
  transition: background .3s ease, border-color .3s ease, transform .15s ease, color .3s ease;
}
.key:hover { background: rgba(255, 255, 255, .1); color: var(--ivory); }
.key:active { transform: scale(.94); }
.key svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.key--temp { font-size: 24px; font-weight: 200; letter-spacing: 0; color: var(--ivory); }
.key--power { grid-row: span 1; }
.key--power.is-on { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.key.is-on:not(.key--power) { color: var(--ivory); border-color: var(--line-strong); }
.key--mute[aria-pressed="true"] { color: var(--ivory); border-color: var(--line-strong); }
#kMode, #kFan, #kSwing { grid-column: span 1; }
.remote__keys { grid-template-areas: 'power mode down up' 'fan swing sound sound'; }
#kPower { grid-area: power; } #kMode { grid-area: mode; } #kDown { grid-area: down; } #kUp { grid-area: up; }
#kFan { grid-area: fan; } #kSwing { grid-area: swing; } #kSound { grid-area: sound; }
.remote.bump { animation: bump .25s ease; }
@keyframes bump { 50% { transform: translateY(-2px); } }

/* ---------- Pied ---------- */
.foot { position: fixed; z-index: 5; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 34px); transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; pointer-events: none; }
.pager { display: flex; gap: 10px; pointer-events: auto; }
.pager a { width: 30px; height: 2px; background: var(--line-strong); position: relative; overflow: hidden; }
.pager a::after { content: ''; position: absolute; inset: 0; background: var(--ivory); transform: scaleX(0); transform-origin: 0 0; transition: transform .8s var(--ease); }
.pager a[aria-current="page"]::after { transform: scaleX(1); }
.foot__legal { display: none; margin: 0; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-faint); }

/* ---------- Tiroirs ---------- */
.drawer { position: fixed; inset: 0; z-index: 9; background: rgba(8, 6, 5, .86); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: grid; place-items: center; }
.drawer nav { display: grid; gap: 22px; text-align: center; }
.drawer a { font-size: 34px; font-weight: 200; text-transform: uppercase; letter-spacing: .04em; }

.sheet { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 16px; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(6, 5, 4, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .5s ease both; }
.sheet__card {
  position: relative; width: min(460px, 100%); padding: 32px 28px 24px; border-radius: 28px;
  background: rgba(20, 16, 13, .72); border: 1px solid var(--line);
  backdrop-filter: blur(30px) saturate(150%); -webkit-backdrop-filter: blur(30px) saturate(150%);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9);
  display: grid; gap: 14px; animation: rise .7s var(--ease) both;
  max-height: calc(100dvh - 32px); overflow: auto;
}
.sheet__card h2 { margin: 0 0 6px; font-weight: 300; font-size: 32px; line-height: 1.05; text-transform: uppercase; }
.sheet__card h2 em { text-transform: none; font-size: 1.15em; color: var(--accent); }
.sheet__card .kicker { margin: 0; }
.sheet__close { position: absolute; right: 16px; top: 12px; font-size: 28px; font-weight: 200; width: 40px; height: 40px; color: var(--ivory-dim); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; letter-spacing: .06em; color: var(--ivory-dim); transition: all .3s ease; }
.chip[aria-pressed="true"] { border-color: var(--accent); color: var(--ivory); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.field { display: grid; gap: 6px; }
.field span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-faint); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04); color: var(--ivory); font: 300 16px/1.3 'Jost', sans-serif; resize: none;
  transition: border-color .3s ease, background .3s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(244, 238, 229, .28); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .07); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sheet__note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ivory-faint); text-align: center; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }

.noscript { position: fixed; inset: 0; display: grid; place-items: center; background: var(--ink); z-index: 99; }

/* ---------- Tablette / mobile ---------- */
@media (max-width: 1100px) {
  .hero__copy { width: min(520px, 52vw); }
  .callout { display: none; }
}

@media (max-width: 820px) {
  body { overflow: hidden; }
  .nav { padding-top: calc(env(safe-area-inset-top) + 14px); }
  .nav__links, .nav__wa span { display: none; }
  .nav__wa { padding: 10px; margin-left: auto; }
  .nav__burger { display: block; }
  .brand__city { display: none; }
  .brand__slash { display: none; }
  .grade {
    background:
      linear-gradient(180deg, rgba(10, 8, 6, .6) 0%, transparent 16%, transparent 34%, rgba(10, 8, 6, .72) 58%, rgba(10, 8, 6, .94) 100%);
  }
  .hero__copy { left: 16px; right: 16px; width: auto; top: auto; bottom: calc(env(safe-area-inset-bottom) + 132px); transform: none; }
  .kicker { margin-bottom: 14px; font-size: 10px; }
  .title { font-size: clamp(34px, 10.5vw, 52px); }
  .lede { margin-top: 12px; font-size: 16px; }
  .thermo { margin-top: 16px; font-size: 15px; }
  .thermo__bar { width: 24px; }
  .cta { margin-top: 20px; gap: 18px; }
  .btn--ring { padding: 14px 20px; }
  .services { display: none; }
  .weather { left: 16px; right: auto; top: calc(env(safe-area-inset-top) + 66px); bottom: auto; padding: 7px 8px 7px 12px; gap: 10px; font-size: 11px; }
  .weather__live { display: none; }
  .weather__meta { display: none; }
  .foot { display: none; }
  .remote {
    left: 12px; right: 12px; width: auto; bottom: calc(env(safe-area-inset-bottom) + 12px);
    padding: 10px; border-radius: 22px; display: grid; grid-template-columns: 1fr; gap: 0;
  }
  .remote__screen { display: none; }
  .remote__keys { margin-top: 0; grid-template-columns: repeat(6, 1fr); grid-template-areas: 'power mode down up fan swing'; }
  #kSound { display: none; }
  .key { height: 46px; border-radius: 14px; }
  .key span { display: none; }
  .remote__mini { display: flex; }
}

@media (min-width: 1680px) { .foot__legal { display: block; } }

@media (max-height: 640px) and (min-width: 821px) {
  .services { display: none; }
  .title { font-size: clamp(36px, 4.6vw, 72px); }
}

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