/* =========================================================
   YLLIRIA — feuille de style
   Luxe méditerranéen : ivoire, sable, bleu marine, lumière.
   ========================================================= */

/* Polices hébergées sur le site (performance, aucune donnée transmise à un tiers) */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-italic-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 Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-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: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-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;
}

:root {
  --bg: #f7f3ee;          /* ivoire */
  --bg-2: #efe8de;        /* sable */
  --bg-3: #e6ddd0;        /* pierre */
  --paper: #ffffff;
  --ink: #0e1b34;         /* marine du logo */
  --text: #2f3a50;
  --mist: #5e687c;
  --dim: #8b92a1;
  --line: rgba(14, 27, 52, .1);
  --line-2: rgba(14, 27, 52, .18);
  --sea: #2c6ba0;         /* bleu Méditerranée */
  --sky: #7fa7d6;         /* bleu du logo */
  --sun: #c9825a;         /* terre cuite */
  --accent: rgb(58 95 149);
  --tint-rgb: 255 255 255;
  --tint: 0;
  --fr-blue: #2f55b5;
  --fr-red: #d93c46;
  --radius: 26px;
  --radius-sm: 16px;
  --shadow: 0 40px 90px -45px rgba(14, 27, 52, .45);
  --shadow-sm: 0 18px 44px -26px rgba(14, 27, 52, .38);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 76px;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { padding: 0; border: 0; background: none; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(44, 107, 160, .18); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 600;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Étiquettes (petites capitales espacées) */
.kicker, .eyebrow, .hero__pillars, .stab__num, .stab__tag, .panel__title, .specs dt, .media__toggle, .media__cap,
.marque__badge, .tile__k, .energy__cap, .quiz__top, .quiz__back, .range__scale, .qresult__k, .qresult__specs dt,
.qresult__restart, .infocard__k, .status, .field > label, .field > legend, .cp__zone, .footer__label, .footer__brand .fr,
.dial__mode, .dial__hint, .dial__label, .menu nav small, .nav__tel {
  font-family: var(--f-sans);
  font-weight: 600;
  text-transform: uppercase;
}

/* ---------- Typographie ---------- */
.section { position: relative; padding-block: clamp(96px, 12vw, 168px); }
.section__head { max-width: 880px; margin-bottom: clamp(44px, 6vw, 80px); }
.kicker { display: flex; align-items: center; gap: .9em; margin-bottom: 1.4rem; font-size: .68rem; letter-spacing: .22em; color: var(--mist); }
.kicker span { display: inline-flex; align-items: center; gap: .9em; color: var(--sea); }
.kicker span::after { content: ""; width: 36px; height: 1px; background: var(--line-2); }
.h2 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(2.7rem, 1.3rem + 4.3vw, 5.4rem);
  line-height: 1; letter-spacing: -.02em; color: var(--ink);
  text-wrap: balance;
}
.h2 em, .hero__title em, .footer__claim em, .marque__sign em { font-style: italic; color: var(--sea); }
.section__lead { max-width: 640px; margin-top: 1.5rem; color: var(--mist); font-size: clamp(1rem, .96rem + .3vw, 1.15rem); line-height: 1.7; }
.link { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease-out); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Boutons ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--h); padding: 0 1.6em; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .005em; white-space: nowrap;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background-color .3s, border-color .3s, color .3s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.btn:hover .ico--go { transform: translateX(3px); }
.btn--pearl { color: var(--bg); background: var(--ink); box-shadow: 0 14px 30px -16px rgba(14, 27, 52, .7); }
.btn--pearl:hover { transform: translateY(-2px); background: #1b2d52; box-shadow: 0 22px 40px -18px rgba(14, 27, 52, .75); }
.btn--ghost {
  color: var(--ink); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--ink); background: #fff; }
.btn--sm { --h: 42px; padding: 0 1.25em; font-size: .86rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Intro ---------- */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; justify-items: center; gap: 26px;
  background: var(--bg);
  transition: transform 1.1s cubic-bezier(.76, 0, .24, 1), visibility 0s linear 1.1s;
}
.js.no-intro .intro { display: none; }
.is-ready .intro { transform: translateY(-100%); visibility: hidden; }
.intro__mark { width: 92px; height: 70px; opacity: 0; transform: scale(.85); animation: introIn 1s var(--ease-out) .1s forwards; }
.intro__word { width: 150px; height: 20px; color: var(--ink); opacity: 0; transform: translateY(8px); animation: introIn .8s var(--ease-out) .2s forwards; }
.intro__bar { width: 140px; height: 1px; overflow: hidden; background: var(--line); }
.intro__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--sea), var(--sky)); transform: scaleX(0); transform-origin: left; animation: introBar 1.2s var(--ease) .15s forwards; }
@keyframes introIn { to { opacity: 1; transform: none; } }
@keyframes introBar { to { transform: scaleX(1); } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s, box-shadow .4s, -webkit-backdrop-filter .4s, backdrop-filter .4s;
}
.nav.is-scrolled, .menu-open .nav {
  background: rgba(247, 243, 238, .82); border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(14, 27, 52, .4);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h); max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark { width: 40px; height: 31px; }
.brand__word { width: 108px; height: 14px; }
.nav__links { display: flex; gap: clamp(20px, 2.6vw, 36px); font-size: .92rem; font-weight: 500; color: var(--mist); }
.nav__links a { position: relative; padding: 6px 0; transition: color .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .08em; color: var(--ink); transition: color .3s; }
.nav__tel:hover { color: var(--sea); }
.nav__burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .6); }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .45s var(--ease-out); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 24.5px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 49;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--nav-h) + 24px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto; background: rgba(247, 243, 238, .98);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-serif); font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: 1.1; color: var(--ink);
  opacity: 0; transform: translateY(16px);
  transition: transform .6s var(--ease-out), opacity .6s var(--ease-out);
}
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open nav a:nth-child(5) { transition-delay: .2s; }
.menu nav small { font-size: .66rem; letter-spacing: .16em; color: var(--dim); }
.menu__foot { display: grid; gap: 10px; }
.menu__tel { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; font-size: .9rem; font-weight: 600; color: var(--ink); }

/* ---------- Médias (photo + repli illustré) ---------- */
.media { position: relative; isolation: isolate; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.media > img { position: relative; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.media.no-photo > img { display: none; }
.media__fallback, .media__tech {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center; padding: 6%;
  background: radial-gradient(80% 70% at 50% 40%, rgba(127, 167, 214, .16), transparent 70%), #fbf8f3;
}
.media__fallback::before, .media__tech::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(14, 27, 52, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 27, 52, .05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.media__fallback { display: none; }
.media.no-photo .media__fallback { display: grid; }
.media__fallback .ill, .media__tech .ill { position: relative; width: 100%; max-width: 560px; }
.media__tech { opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.media.show-tech .media__tech, .media.no-photo .media__tech { opacity: 1; visibility: visible; transition: opacity .6s var(--ease), visibility 0s; }
.media.no-photo .media__toggle { display: none; }
.media__toggle {
  position: absolute; z-index: 3; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm);
  font-size: .62rem; letter-spacing: .14em; color: var(--ink);
  transition: background-color .3s, border-color .3s;
}
.media__toggle:hover { background: #fff; }
.media__tint { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgb(var(--tint-rgb)); mix-blend-mode: soft-light; opacity: var(--tint); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 40px) 0 clamp(44px, 7vh, 84px);
  overflow: hidden; background: var(--bg);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
.hero__copy, .hero__widget { position: relative; z-index: 4; }
.hero__copy { max-width: 640px; }
.hero__media { position: absolute; inset: 0; z-index: 0; border-radius: 0; }
.hero__media > img { object-position: 60% 50%; transform: scale(1.07); transition: transform 2.6s var(--ease-out); }
.is-ready .hero__media > img { transform: none; }
.hero__media .media__fallback {
  justify-items: end; padding: 14vh 7vw 22vh 46%;
  background:
    radial-gradient(38% 46% at 82% 16%, rgba(255, 214, 170, .6), transparent 70%),
    linear-gradient(180deg, #cfe2f3 0%, #e7eff7 36%, #f4eee6 72%, #efe6da 100%);
}
.hero__media .media__fallback::before { display: none; }
.hero__air { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.hero__veil {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(247, 243, 238, .93) 0%, rgba(247, 243, 238, .8) 27%, rgba(247, 243, 238, .42) 44%, rgba(247, 243, 238, 0) 60%),
    linear-gradient(180deg, rgba(247, 243, 238, .7) 0%, rgba(247, 243, 238, 0) 18%),
    linear-gradient(0deg, rgba(247, 243, 238, .5) 0%, rgba(247, 243, 238, 0) 20%);
}
.media__cap {
  position: absolute; z-index: 4; left: 14px; top: 14px;
  display: none; align-items: center; gap: 10px; padding: 8px 14px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm);
  font-size: .6rem; letter-spacing: .14em; color: var(--mist);
}
.media__cap b { font-weight: 700; color: var(--ink); }
.media__live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: live 2s var(--ease) infinite; }
@keyframes live {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); }
  100% { box-shadow: 0 0 0 10px transparent; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 8px 15px 8px 11px; border: 1px solid rgba(255, 255, 255, .95); border-radius: 999px;
  background: rgba(255, 255, 255, .62); box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .64rem; letter-spacing: .16em; color: var(--ink);
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.hero__h1 { margin: 0; font: inherit; }
.hero__title {
  display: block;
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(3.4rem, 1.4rem + 6vw, 7.6rem);
  line-height: .94; letter-spacing: -.025em; color: var(--ink);
}
.hero__title .line { display: block; overflow: hidden; padding: 0 .12em .14em 0; margin-bottom: -.14em; }
.hero__title .line > * { display: inline-block; }
.hero__lead { max-width: 500px; margin-top: 26px; font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem); color: var(--text); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__pillars {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-2);
  font-size: .62rem; letter-spacing: .16em; color: var(--mist);
}
.hero__pillars li { display: inline-flex; align-items: center; gap: 8px; }
.hero__pillars .ico { width: 16px; height: 16px; color: var(--sea); stroke-width: 1.7; }

.js .hero [data-in] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms + 150ms);
}
.js .hero__title .line > * {
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 100ms + 60ms);
}
.is-ready .hero [data-in], .is-ready .hero__title .line > * { opacity: 1; transform: none; }

/* Thermostat en verre dépoli */
.hero__widget { width: clamp(248px, 21vw, 296px); margin-bottom: 6px; }
.dial {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%;
  cursor: grab; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
.dial.is-dragging { cursor: grabbing; }
.dial__disc {
  position: absolute; inset: 3%; border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .6) 62%), rgba(255, 255, 255, .45);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 1px 0 #fff, 0 34px 70px -30px rgba(14, 27, 52, .55), 0 0 70px -20px color-mix(in srgb, var(--accent) 55%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
}
.dial__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial__orbit { fill: none; stroke: rgba(14, 27, 52, .14); stroke-dasharray: 1 7; transform-box: fill-box; transform-origin: center; animation: spin 80s linear infinite; }
.tick { stroke: rgba(14, 27, 52, .16); stroke-width: 1.4; stroke-linecap: round; transition: stroke .25s; }
.tick--major { stroke: rgba(14, 27, 52, .32); stroke-width: 2; }
.tick.is-lit { stroke: var(--accent); }
.dial__track { fill: none; stroke: url(#gDial); stroke-width: 3; stroke-linecap: round; opacity: .25; }
.dial__arc { fill: none; stroke: url(#gDial); stroke-width: 4.5; stroke-linecap: round; }
.dial__end { font-family: var(--f-sans); font-size: 14px; font-weight: 600; fill: var(--dim); }
.dial__halo { fill: var(--accent); opacity: .18; transform-box: fill-box; transform-origin: center; animation: halo 2.4s var(--ease) infinite; }
.dial__dot { fill: #fff; stroke: var(--accent); stroke-width: 3; filter: drop-shadow(0 4px 8px rgba(14, 27, 52, .3)); }
@keyframes halo { 50% { transform: scale(1.4); opacity: .05; } }
.dial__center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px; text-align: center; pointer-events: none; }
.dial__mode { font-size: .56rem; letter-spacing: .2em; color: var(--accent); }
.dial__temp {
  display: flex; align-items: flex-start;
  font-size: clamp(2.8rem, 2rem + 2.2vw, 4.2rem); font-weight: 200; line-height: 1; letter-spacing: -.05em;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.dial__dec { margin-top: .2em; font-size: .42em; letter-spacing: -.02em; color: var(--mist); }
.dial__temp sup { margin: .28em 0 0 .2em; font-size: .24em; font-weight: 500; letter-spacing: 0; color: var(--mist); }
.dial__hint { font-size: .5rem; letter-spacing: .16em; color: var(--dim); transition: opacity .5s; }
.dial.is-touched .dial__hint { opacity: 0; }
.dial__controls {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding: 5px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .95); background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm);
}
.dial__btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; font-size: 1.1rem; line-height: 1; color: var(--ink); transition: background-color .3s, border-color .3s, color .3s; }
.dial__btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.dial__label { font-size: .54rem; letter-spacing: .14em; color: var(--mist); text-align: center; }

/* ---------- Bandeau défilant ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: clamp(24px, 3.4vw, 52px); padding-right: clamp(24px, 3.4vw, 52px); }
.marquee span, .marquee em { font-size: clamp(2.2rem, 1rem + 4.2vw, 5.2rem); line-height: 1.12; white-space: nowrap; }
.marquee span { font-weight: 300; letter-spacing: -.035em; color: transparent; -webkit-text-stroke: 1px rgba(14, 27, 52, .3); }
.marquee em { font-family: var(--f-serif); font-style: italic; letter-spacing: -.01em; color: var(--sea); }
.marquee i { font-style: normal; font-size: clamp(1rem, .8rem + .6vw, 1.5rem); color: var(--sun); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 01 — Gamme ---------- */
.showroom { display: grid; gap: clamp(22px, 3vw, 36px); }
.showroom__tabs { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--line-2); }
.stab {
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline;
  padding: 18px 12px 18px 0; text-align: left; color: var(--mist); transition: color .35s;
}
.stab__num { grid-row: 1 / 3; align-self: start; padding-top: .6em; font-size: .62rem; letter-spacing: .1em; color: var(--dim); transition: color .35s; }
.stab__name { font-family: var(--f-serif); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); line-height: 1.15; }
.stab__tag { margin-top: 6px; font-size: .56rem; letter-spacing: .16em; color: var(--dim); }
.stab:hover, .stab[aria-selected="true"] { color: var(--ink); }
.stab[aria-selected="true"] .stab__num { color: var(--sea); }
.showroom__ink {
  position: absolute; left: 0; bottom: -1px; height: 2px;
  width: var(--iw, 20%); transform: translateX(var(--ix, 0));
  background: linear-gradient(90deg, var(--sea), var(--sky));
  transition: transform .7s var(--ease-out), width .7s var(--ease-out);
}
.showroom__stage { display: grid; }
.panel {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 3.6vw, 60px);
  opacity: 0; visibility: hidden;
  transition: opacity .7s var(--ease), visibility 0s linear .7s;
}
.panel.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }
.panel__media { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.panel__media > img { transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.panel.is-active .panel__media > img { transform: none; }
.panel__info { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.panel__tagline { font-family: var(--f-serif); font-style: italic; font-size: clamp(2.2rem, 1.5rem + 2vw, 3.4rem); line-height: 1.02; letter-spacing: -.01em; color: var(--ink); }
.panel__title { font-size: .66rem; letter-spacing: .18em; color: var(--sea); }
.panel__info > p:not([class]) { color: var(--mist); }
.panel__note { margin-top: -10px; font-size: .74rem; color: var(--dim); }
.trio { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.trio li { display: flex; align-items: center; gap: 10px; max-width: 12em; font-size: .82rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
.trio .ico { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: #eef4fb; color: var(--sea); stroke-width: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: .8rem; font-weight: 500; color: var(--text); }
.specs { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--line); }
.specs div { padding: 13px 15px; background: #fff; }
.specs dt { font-size: .56rem; letter-spacing: .16em; color: var(--dim); }
.specs dd { margin: 5px 0 0; font-size: .9rem; line-height: 1.4; color: var(--ink); }
.panel.is-active .panel__info > * { animation: rise .8s var(--ease-out) both; }
.panel.is-active .panel__info > :nth-child(2) { animation-delay: .05s; }
.panel.is-active .panel__info > :nth-child(3) { animation-delay: .1s; }
.panel.is-active .panel__info > :nth-child(4) { animation-delay: .15s; }
.panel.is-active .panel__info > :nth-child(5) { animation-delay: .2s; }
.panel.is-active .panel__info > :nth-child(n+6) { animation-delay: .25s; }

/* Illustrations techniques (dessins d’architecte) */
.ill { width: 100%; height: auto; overflow: visible; }
.ill text { font-family: var(--f-sans); font-size: 9.5px; font-weight: 600; letter-spacing: .16em; fill: var(--mist); }
.ill .dim { fill: var(--dim); }
.ill .lcd { font-size: 17px; font-weight: 300; letter-spacing: 0; fill: var(--ink); }
.ill .lcd.sm { font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.ill .lcd.xs { font-size: 9px; font-weight: 700; letter-spacing: .1em; fill: var(--mist); }
.ill .body { fill: url(#gBody); stroke: rgba(14, 27, 52, .55); stroke-width: 1.2; }
.ill .det { fill: none; stroke: rgba(14, 27, 52, .3); stroke-width: 1; }
.ill .faint { fill: none; stroke: rgba(14, 27, 52, .12); stroke-width: 1; }
.ill .dashed { stroke: rgba(14, 27, 52, .3); stroke-dasharray: 3 4; }
.ill .room { fill: rgba(255, 255, 255, .6); stroke: rgba(14, 27, 52, .14); stroke-width: 1; }
.ill .pipe { fill: none; stroke: rgba(14, 27, 52, .1); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.ill .flow { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 13; animation: dash 1.4s linear infinite; }
.ill .flow.sm { stroke-width: 1.4; stroke-dasharray: 2 8; animation-name: dash10; animation-duration: 1s; }
.ill .flow--warm { stroke: #d0784a; }
.ill .flow--cold { stroke: #2f8fd8; }
.ill .d2 { animation-delay: -.28s; }
.ill .d3 { animation-delay: -.56s; }
.ill .d4 { animation-delay: -.84s; }
.ill .d5 { animation-delay: -1.12s; }
.ill .fan { transform-box: fill-box; transform-origin: center; animation: spin 2.6s linear infinite; }
.ill .flap { transform-box: fill-box; transform-origin: 50% 0; animation: flap 7s var(--ease) infinite; }
.ill .led { fill: var(--accent); }
.ill .pulse { animation: pulse 2.4s var(--ease) infinite; }
.ill .zone { fill: var(--accent); animation: pulse 3s var(--ease) infinite; }
.ill .z2 { animation-delay: -.75s; }
.ill .z3 { animation-delay: -1.5s; }
.ill .z4 { animation-delay: -2.25s; }
.ill .drop { fill: #2f8fd8; animation: drop 1.8s ease-in infinite; }
.ill .hose { fill: none; stroke: rgba(14, 27, 52, .06); stroke-width: 14; stroke-linecap: round; }
.ill .hose-rib { fill: none; stroke: rgba(14, 27, 52, .22); stroke-width: 13; stroke-dasharray: 1.2 4.4; }
.panel:not(.is-active) .ill *,
.media:not(.show-tech):not(.no-photo) .media__tech .ill * { animation-play-state: paused; }

/* ---------- La marque ---------- */
.marque { position: relative; padding-bottom: clamp(96px, 12vw, 160px); }
.marque__frame { position: relative; margin-inline: clamp(8px, 1.6vw, 24px); }
.marque__media { height: clamp(380px, 80vh, 840px); border-radius: clamp(20px, 2.4vw, 36px); box-shadow: var(--shadow); }
.marque__media > img { position: absolute; inset: -12% 0 auto; height: 124%; object-position: 78% 50%; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.marque__media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(14, 27, 52, .5)); }
.marque__media .media__fallback { background: radial-gradient(40% 50% at 75% 20%, rgba(255, 214, 170, .55), transparent 70%), linear-gradient(180deg, #d3e4f3, #efe6da); }
.marque__media .media__fallback::before { display: none; }
.marque__ghost { position: relative; width: 36%; max-width: 400px; height: auto; aspect-ratio: 64 / 49; opacity: .22; }
.marque__badge {
  position: absolute; z-index: 3; left: clamp(20px, 3vw, 48px); right: clamp(20px, 3vw, 48px); bottom: clamp(20px, 3vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: .64rem; letter-spacing: .18em; color: #fff;
}
.marque__inner { display: grid; justify-items: start; padding-top: clamp(72px, 9vw, 130px); }
.marque__text { max-width: 1120px; font-family: var(--f-serif); font-size: clamp(2rem, 1.1rem + 3.1vw, 4.1rem); line-height: 1.12; letter-spacing: -.015em; color: var(--ink); }
.marque__text .w { opacity: .5; transition: opacity .5s var(--ease); }
.marque__text .w.is-on { opacity: 1; }
.marque__sign { margin-top: clamp(32px, 4vw, 56px); font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); color: var(--mist); }
.marque__sign em { font-family: var(--f-serif); font-size: 1.35em; }
.fr { display: inline-flex; align-items: center; gap: 10px; }
.fr i { width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--fr-blue) 0 33.3%, #fff 33.3% 66.6%, var(--fr-red) 66.6%); box-shadow: 0 0 0 1px rgba(14, 27, 52, .08); }
.fr--lg i { width: 64px; height: 4px; }

/* ---------- 03 — Technologie ---------- */
.cycle { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.cycle__visual {
  position: relative; padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--radius);
  background: radial-gradient(90% 80% at 50% 45%, rgba(127, 167, 214, .12), transparent 70%), #fff;
  box-shadow: var(--shadow-sm);
}
.season { position: relative; display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.season__btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--mist); transition: color .35s; }
.season__btn.is-active { color: var(--bg); }
.season__pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--ink); box-shadow: 0 8px 20px -10px rgba(14, 27, 52, .7); transition: transform .55s var(--ease-out), width .55s var(--ease-out); }
.cycle__svg { width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.cycle__svg .q { fill: none; stroke: rgba(14, 27, 52, .12); stroke-width: 2.5; stroke-linecap: round; transition: stroke .8s var(--ease); }
.cycle__svg .qf { fill: none; stroke: rgba(14, 27, 52, .35); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 1 11; animation: dash12 1.6s linear infinite; }
.cycle__svg.is-ete .qf { animation-direction: reverse; }
.cycle__svg.is-hiver .q-tr, .cycle__svg.is-ete .q-lt { stroke: #d0784a; }
.cycle__svg.is-hiver .q-bl, .cycle__svg.is-ete .q-rb { stroke: #2f8fd8; }
.cycle__svg .tag { font-family: var(--f-sans); font-size: 10px; font-weight: 700; letter-spacing: .2em; opacity: 0; transition: opacity .6s; }
.cycle__svg .tag--hot { fill: #d0784a; }
.cycle__svg .tag--cold { fill: #2f8fd8; }
.cycle__svg.is-hiver .tag-tr, .cycle__svg.is-hiver .tag-bl, .cycle__svg.is-ete .tag-lt, .cycle__svg.is-ete .tag-rb { opacity: 1; }
.node .ring { fill: #fff; stroke: rgba(14, 27, 52, .16); transition: stroke .5s, filter .5s; }
.node .nd { fill: none; stroke: rgba(14, 27, 52, .5); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.node.is-on .ring { stroke: var(--ink); filter: drop-shadow(0 8px 14px rgba(14, 27, 52, .22)); }
.node.is-on .nd { stroke: var(--ink); }
.nlabel { font-family: var(--f-sans); font-size: 10.5px; font-weight: 700; letter-spacing: .18em; fill: var(--ink); }
.nsub { font-family: var(--f-sans); font-size: 9px; font-weight: 600; letter-spacing: .16em; fill: var(--dim); }
.cycle__mode { font-family: var(--f-serif); font-size: 22px; font-style: italic; letter-spacing: 0; fill: var(--ink); }
.cycle__sub { font-family: var(--f-sans); font-size: 8.5px; font-weight: 600; letter-spacing: .22em; fill: var(--dim); }
.comet circle { fill: var(--sea); }
.comet circle:first-child { filter: drop-shadow(0 0 5px rgba(44, 107, 160, .6)); }
.ambient circle { fill: rgba(14, 27, 52, .25); }
.cycle__steps { border-top: 1px solid var(--line-2); }
.cstep { border-bottom: 1px solid var(--line-2); }
.cstep__btn { display: grid; grid-template-columns: 52px 1fr; width: 100%; padding: 22px 0; text-align: left; opacity: .42; transition: opacity .5s var(--ease); }
.cstep.is-active .cstep__btn, .cstep__btn:hover { opacity: 1; }
.cstep__n { padding-top: .7em; font-size: .68rem; font-weight: 700; letter-spacing: .1em; color: var(--sea); }
.cstep__title { display: block; font-family: var(--f-serif); font-size: 2rem; line-height: 1.1; color: var(--ink); }
.cstep__text { display: block; margin-top: 6px; font-size: .95rem; color: var(--mist); }

.bento__head { max-width: 760px; margin: clamp(80px, 10vw, 140px) 0 clamp(28px, 3.5vw, 44px); }
.h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.h3 em { font-style: italic; color: var(--sea); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 240px; padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm);
}
.tile::before, .quiz::before, .lead::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(127, 167, 214, .14), transparent 45%);
  opacity: 0; transition: opacity .5s;
}
.tile:hover::before, .quiz:hover::before, .lead:hover::before { opacity: 1; }
.tile__k { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: .6rem; letter-spacing: .2em; color: var(--sea); }
.tile__k .ico { width: 16px; height: 16px; stroke-width: 1.8; }
.tile h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + .8vw, 2.2rem); line-height: 1.1; color: var(--ink); }
.tile__copy p:not(.tile__k) { max-width: 38ch; margin-top: 8px; font-size: .93rem; color: var(--mist); }
.tile--app { grid-column: span 3; grid-row: span 2; min-height: 540px; background: linear-gradient(180deg, #fff 30%, #eef3f9); }
.tile--silence, .tile--energy { grid-column: span 3; }
.tile--small { grid-column: span 2; min-height: 210px; }
.tile__ico { width: 34px; height: 34px; color: var(--sea); stroke-width: 1.3; }

.phone {
  --p-text: #eef1f8; --p-mist: #9aa6c4;
  position: relative; align-self: center; width: min(250px, 72%); aspect-ratio: 9 / 18;
  margin-bottom: -120px; padding: 10px; border-radius: 40px;
  background: linear-gradient(160deg, #26324f, #0c1326);
  box-shadow: 0 50px 80px -40px rgba(14, 27, 52, .7), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.phone__screen {
  display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 22px 16px; overflow: hidden; border-radius: 31px;
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 35%, #0b1430), #070c1b 70%);
  color: var(--p-text);
}
.phone__bar { display: flex; align-items: center; justify-content: space-between; color: var(--p-text); }
.phone__bar svg { width: 64px; height: 9px; }
.phone__on { display: inline-flex; align-items: center; gap: 5px; font-size: .5rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7ee2a8; }
.phone__on::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.phone__ring { position: relative; width: 150px; aspect-ratio: 1; margin: 6px auto 0; }
.phone__ring svg { width: 100%; height: 100%; transform: rotate(135deg); }
.pr-track, .pr-val { fill: none; stroke-width: 5; stroke-linecap: round; }
.pr-track { stroke: rgba(255, 255, 255, .1); stroke-dasharray: 245 327; }
.pr-val { stroke: color-mix(in srgb, var(--accent) 60%, #fff); stroke-dasharray: var(--pr, 105) 327; transition: stroke-dasharray .4s var(--ease-out); }
.phone__temp { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; font-weight: 200; line-height: 1; letter-spacing: -.04em; color: var(--p-text); }
.phone__temp small { align-self: flex-start; margin-top: 52px; font-size: .8rem; letter-spacing: 0; color: var(--p-mist); }
.phone__mode { text-align: center; font-size: .54rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--p-mist); }
.phone__zones { display: grid; gap: 8px; margin-top: 4px; }
.phone__zones li {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .06);
  font-size: .78rem; color: var(--p-text);
}
.phone__zones b { font-weight: 600; }
.tog { position: relative; width: 30px; height: 18px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.tog.is-on { background: color-mix(in srgb, var(--accent) 70%, #fff); }
.tog.is-on::after { transform: translateX(12px); }
.tog--anim { animation: togbg 2.6s var(--ease) infinite alternate; }
.tog--anim::after { animation: togk 2.6s var(--ease) infinite alternate; }
@keyframes togbg { 0%, 40% { background: rgba(255, 255, 255, .16); } 60%, 100% { background: color-mix(in srgb, var(--accent) 70%, #fff); } }
@keyframes togk { 0%, 40% { transform: none; } 60%, 100% { transform: translateX(12px); } }

.bars { display: flex; align-items: center; gap: 5px; height: 84px; }
.bars i { flex: 1; height: 100%; border-radius: 3px; background: linear-gradient(180deg, var(--sea), var(--sky)); transform: scaleY(.08); animation: hush 3.6s var(--ease) infinite; animation-delay: calc(var(--i) * -.14s); }
@keyframes hush { 0%, 100% { transform: scaleY(.06); opacity: .45; } 50% { transform: scaleY(.3); opacity: 1; } }

.energy { display: grid; gap: 12px; }
.energy__row { display: grid; grid-template-columns: 128px 1fr; align-items: center; gap: 14px; font-size: .8rem; color: var(--mist); }
.energy__row i { display: flex; height: 10px; overflow: hidden; border-radius: 999px; transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out); }
.energy__row .e-elec { width: 25%; background: var(--ink); }
.energy__row .e-air { width: 75%; background: linear-gradient(90deg, #7fb4e6, var(--sea)); }
.energy__row .e-out { width: 100%; }
.e-out b:first-child { width: 25%; background: var(--ink); }
.e-out b:last-child { flex: 1; background: linear-gradient(90deg, var(--sea), var(--sun)); }
.energy__row--sum { padding-top: 12px; border-top: 1px dashed var(--line-2); font-weight: 600; color: var(--ink); }
.tile.is-in .energy__row i { transform: none; }
.tile.is-in .energy__row:nth-child(2) i { transition-delay: .25s; }
.tile.is-in .energy__row:nth-child(3) i { transition-delay: .5s; }
.energy__cap { font-size: .54rem; letter-spacing: .16em; color: var(--dim); text-align: right; }

/* ---------- 02 — Simulateur ---------- */
.config { background: var(--bg-2); }
.config__wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(36px, 6vw, 96px); }
.config__list { display: grid; gap: 12px; margin-top: 32px; }
.config__list li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--text); }
.config__list .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); color: var(--sea); stroke-width: 2; }
.quiz {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; min-height: 440px; padding: clamp(22px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: calc(var(--radius) + 4px);
  background: #fff; box-shadow: var(--shadow);
}
.quiz__top { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; font-size: .6rem; letter-spacing: .16em; color: var(--dim); }
.quiz__count { white-space: nowrap; }
.quiz__count b { color: var(--ink); }
.quiz__bar { flex: 1; height: 2px; overflow: hidden; border-radius: 2px; background: var(--line); }
.quiz__bar span { display: block; width: 25%; height: 100%; background: linear-gradient(90deg, var(--sea), var(--sky)); transition: width .7s var(--ease-out); }
.quiz__back { font-size: .6rem; letter-spacing: .16em; color: var(--mist); transition: color .3s, opacity .3s; }
.quiz__back:hover { color: var(--ink); }
.quiz__back:disabled { opacity: .3; cursor: default; }
.qstep { display: none; min-width: 0; margin: 0; padding: 0; border: 0; }
.qstep.is-active { display: block; animation: rise .6s var(--ease-out) both; }
.qstep legend { margin-bottom: 26px; padding: 0; font-family: var(--f-serif); font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); line-height: 1.1; color: var(--ink); }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts--num { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.opt span {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  height: 100%; min-height: 118px; padding: 18px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fbf8f3;
  font-weight: 600; line-height: 1.3; color: var(--ink);
  transition: border-color .3s, background-color .3s, transform .45s var(--ease-out), box-shadow .3s;
}
.opt .ico { width: 28px; height: 28px; color: var(--sea); stroke-width: 1.4; }
.opt:hover span { transform: translateY(-2px); border-color: rgba(14, 27, 52, .4); background: #fff; }
.opt input:checked + span { border-color: var(--ink); background: #eef4fb; box-shadow: inset 0 0 0 1px var(--ink), var(--shadow-sm); }
.opt input:focus-visible + span { outline: 2px solid var(--sea); outline-offset: 3px; }
.opts--num span { min-height: 88px; align-items: center; justify-content: center; font-family: var(--f-serif); font-size: 2rem; font-weight: 400; }
.range { display: grid; gap: 18px; margin-bottom: 30px; }
.range__out { font-family: var(--f-serif); font-size: clamp(3.4rem, 2.4rem + 3vw, 5rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.range input[type="range"] { width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.range input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--sea), var(--sky)) 0 0 / var(--p, 13%) 100% no-repeat, rgba(14, 27, 52, .1);
}
.range input[type="range"]::-webkit-slider-thumb {
  width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: #fff; -webkit-appearance: none;
  border: 2px solid var(--ink); box-shadow: 0 6px 16px rgba(14, 27, 52, .25);
}
.range input[type="range"]::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(14, 27, 52, .1); }
.range input[type="range"]::-moz-range-progress { height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--sea), var(--sky)); }
.range input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; box-shadow: 0 6px 16px rgba(14, 27, 52, .25); }
.range__scale { display: flex; justify-content: space-between; font-size: .58rem; letter-spacing: .14em; color: var(--dim); }
.quiz__next { align-self: flex-start; }
.qresult { animation: rise .7s var(--ease-out) both; outline: none; }
.qresult__k { font-size: .6rem; letter-spacing: .2em; color: var(--sea); }
.qresult__title { margin-top: 10px; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(2.8rem, 2rem + 2.6vw, 4.2rem); line-height: 1; color: var(--ink); }
.qresult__why { max-width: 52ch; margin-top: 14px; color: var(--mist); }
.qresult__specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 24px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--line); }
.qresult__specs div { padding: 14px 16px; background: #fbf8f3; }
.qresult__specs dt { font-size: .56rem; letter-spacing: .16em; color: var(--dim); }
.qresult__specs dd { margin: 4px 0 0; font-size: 1rem; font-weight: 600; color: var(--ink); }
.qresult__alt { margin-top: 16px; font-size: .9rem; color: var(--text); }
.qresult__alt b { font-weight: 700; color: var(--ink); }
.qresult__note { margin-top: 10px; font-size: .74rem; color: var(--dim); }
.qresult__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.qresult__restart { margin-top: 18px; font-size: .6rem; letter-spacing: .16em; color: var(--mist); transition: color .3s; }
.qresult__restart:hover { color: var(--ink); }

/* ---------- 04 — Devis & installateurs ---------- */
.installers { background: var(--bg-2); }
.installers__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(32px, 5vw, 80px); }
.installers__side { display: grid; gap: 28px; }
.steps { position: relative; display: grid; }
.steps::before, .steps::after { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 1px; }
.steps::before { background: var(--line-2); }
.steps::after { background: linear-gradient(var(--sea), var(--sky)); transform: scaleY(var(--progress, 0)); transform-origin: top; }
.step { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 20px; padding-bottom: 26px; }
.step:last-child { padding-bottom: 0; }
.step__n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-2);
  font-size: .64rem; font-weight: 700; color: var(--mist);
  transition: border-color .5s, color .5s, background-color .5s, box-shadow .5s;
}
.step.is-on .step__n { border-color: var(--ink); background: var(--ink); color: var(--bg); box-shadow: 0 8px 20px -8px rgba(14, 27, 52, .6); }
.step h3 { padding-top: 5px; font-family: var(--f-serif); font-size: 1.5rem; font-weight: 400; color: var(--ink); }
.step p { margin-top: 2px; font-size: .92rem; color: var(--mist); }
.infocard {
  display: grid; gap: 16px; padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm);
}
.infocard__k { font-size: .6rem; letter-spacing: .18em; color: var(--mist); }
.bigtel { justify-self: start; }
.bigtel__num {
  font-family: var(--f-serif); font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3rem); line-height: 1.1; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--ease-out);
}
.bigtel:hover .bigtel__num { background-size: 100% 1px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: .6rem; letter-spacing: .16em; color: #b4453c; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #d4574c; }
.status.is-open { color: #1f7a4d; }
.status.is-open .status__dot { background: #2aa56a; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(42, 165, 106, .45); } 100% { box-shadow: 0 0 0 10px rgba(42, 165, 106, 0); } }
.hours { display: grid; gap: 2px; margin: 0; font-size: .88rem; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; color: var(--mist); }
.hours dd { margin: 0; color: var(--text); font-variant-numeric: tabular-nums; }
.hours .is-today dt, .hours .is-today dd { font-weight: 700; color: var(--ink); }
.hours .is-today dt::after { content: " · aujourd’hui"; font-size: .8em; font-weight: 600; color: var(--sea); }
.addr { display: flex; align-items: flex-start; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-style: normal; font-size: .92rem; line-height: 1.5; color: var(--text); }
.addr .ico { margin-top: 3px; color: var(--sea); }
.link-arrow { justify-self: start; padding-bottom: 2px; border-bottom: 1px solid var(--line-2); font-size: .88rem; font-weight: 600; color: var(--ink); transition: border-color .3s; }
.link-arrow:hover { border-color: var(--ink); }

.lead {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: calc(var(--radius) + 6px);
  background: #fff; box-shadow: var(--shadow);
}
.lead > * { grid-column: 1 / -1; }
.lead > .field:not(.field--full) { grid-column: auto; }
.lead__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.intent { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.intent__opt { position: relative; z-index: 1; cursor: pointer; }
.intent__opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.intent__opt span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 10px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--mist); white-space: nowrap; transition: color .35s; }
.intent__opt b { font-weight: inherit; }
.intent__opt .l-short { display: none; }
.intent__opt input:checked + span { color: var(--bg); }
.intent__opt input:focus-visible + span { outline: 2px solid var(--sea); outline-offset: 2px; }
.intent__pill {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  border-radius: 999px; background: var(--ink); box-shadow: 0 10px 24px -12px rgba(14, 27, 52, .7);
  transition: transform .55s var(--ease-out);
}
.lead[data-kind="installateur"] .intent__pill { transform: translateX(100%); }
.lead__head h3 { font-family: var(--f-serif); font-size: clamp(2rem, 1.5rem + 1.2vw, 2.6rem); font-weight: 400; line-height: 1.05; color: var(--ink); }
.lead__head p { margin-top: 6px; font-size: .92rem; color: var(--mist); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { padding: 0; font-size: .58rem; letter-spacing: .16em; color: var(--mist); }
.field > legend { margin-bottom: 8px; }
.field label small { font-size: 1.1em; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line-2); border-radius: 12px; background: #fbf8f3;
  font-size: 1rem; line-height: 1.4; color: var(--ink);
  -webkit-appearance: none; appearance: none;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(44, 107, 160, .14); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c9483e; }
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230e1b34' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.cp { position: relative; display: flex; align-items: center; }
.cp .ico { position: absolute; left: 16px; width: 20px; height: 20px; color: var(--sea); pointer-events: none; }
.field .cp input { padding-left: 46px; font-size: 1.15rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.cp__zone {
  position: absolute; right: 10px; max-width: 58%; padding: 6px 10px;
  border-radius: 999px; border: 1px solid rgba(44, 107, 160, .25); background: #eef4fb;
  font-size: .56rem; letter-spacing: .12em; color: var(--sea);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
  opacity: 0; transform: translateX(6px); transition: opacity .4s, transform .4s var(--ease-out);
}
.cp__zone.is-on { opacity: 1; transform: none; }
.seg__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.seg__opts label { position: relative; cursor: pointer; }
.seg__opts input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.seg__opts span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fbf8f3; font-size: .86rem; font-weight: 500; color: var(--text); transition: background-color .3s, border-color .3s, color .3s; }
.seg__opts label:hover span { border-color: rgba(14, 27, 52, .45); }
.seg__opts input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.seg__opts input:focus-visible + span { outline: 2px solid var(--sea); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 12px; font-size: .8rem; line-height: 1.5; color: var(--mist); cursor: pointer; }
.consent input {
  display: grid; place-items: center; width: 22px; height: 22px; margin: 1px 0 0;
  border: 1px solid var(--line-2); border-radius: 7px; background: #fff;
  -webkit-appearance: none; appearance: none; cursor: pointer; transition: background-color .3s, border-color .3s;
}
.consent input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .3s var(--ease-out); }
.consent input:checked { border-color: var(--ink); background: var(--ink); }
.consent input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lead__submit { --h: 58px; font-size: 1rem; }
.lead__submit.is-loading { opacity: .7; }
.lead__status { font-size: .86rem; color: var(--mist); }
.lead__status:empty { display: none; }
.lead__status a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lead__success { display: none; outline: none; }
.lead.is-sent > :not(.lead__success) { display: none; }
.lead.is-sent .lead__success { display: grid; justify-items: start; gap: 14px; padding: 24px 0; animation: rise .8s var(--ease-out) both; }
.lead__check { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: var(--bg); box-shadow: 0 16px 30px -14px rgba(14, 27, 52, .7); }
.lead__check .ico { width: 28px; height: 28px; stroke-width: 2.2; }
.lead__success h3 { font-family: var(--f-serif); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); font-weight: 400; color: var(--ink); }
.lead__success p { max-width: 44ch; color: var(--mist); }

.partner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  margin-top: clamp(40px, 5vw, 64px); padding: clamp(20px, 2.6vw, 30px) clamp(20px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--radius);
  background: linear-gradient(100deg, #eef4fb, #fff 45%); box-shadow: var(--shadow-sm);
}
.partner__ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); color: var(--sea); }
.partner__ico .ico { width: 26px; height: 26px; stroke-width: 1.4; }
.partner h3 { font-family: var(--f-serif); font-size: 1.7rem; font-weight: 400; line-height: 1.1; color: var(--ink); }
.partner p { margin-top: 4px; font-size: .93rem; color: var(--mist); }

/* ---------- 05 — FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(32px, 6vw, 96px); }
.faq .section__head { margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0;
  list-style: none; cursor: pointer;
  font-family: var(--f-serif); font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); line-height: 1.2; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; transition: background-color .3s, border-color .3s, transform .5s var(--ease-out); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: var(--ink); transition: transform .5s var(--ease-out), background-color .3s; }
.qa__icon::after { transform: rotate(90deg); }
.qa summary:hover .qa__icon { border-color: var(--ink); }
.qa[open] .qa__icon { transform: rotate(180deg); border-color: var(--ink); background: var(--ink); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: var(--bg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__body { padding: 0 56px 24px 0; color: var(--mist); }
.qa[open] .qa__body { animation: rise .5s var(--ease-out) both; }

/* ---------- Pied de page ---------- */
.footer {
  --f-text: rgba(247, 243, 238, .72);
  --f-dim: rgba(247, 243, 238, .46);
  --f-line: rgba(247, 243, 238, .12);
  position: relative; overflow: hidden;
  padding: clamp(80px, 10vw, 130px) 0 calc(28px + env(safe-area-inset-bottom));
  background: radial-gradient(60% 50% at 50% 100%, rgba(127, 167, 214, .16), transparent 70%), var(--ink);
  color: var(--f-text);
}
.footer .brand { color: var(--bg); }
.footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: clamp(48px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--f-line); }
.footer__claim { font-family: var(--f-serif); font-size: clamp(2.8rem, 1.4rem + 4.4vw, 5.6rem); line-height: 1; letter-spacing: -.02em; color: var(--bg); }
.footer__claim em { color: var(--sky); }
.footer__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.footer .btn--pearl { color: var(--ink); background: var(--bg); box-shadow: none; }
.footer .btn--pearl:hover { background: #fff; }
.footer .btn--ghost { color: var(--bg); border-color: rgba(247, 243, 238, .3); background: transparent; }
.footer .btn--ghost:hover { border-color: var(--bg); background: rgba(247, 243, 238, .08); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand p { max-width: 30ch; margin-top: 18px; }
.footer__brand .fr { margin-top: 18px; font-size: .58rem; letter-spacing: .18em; color: var(--f-dim); }
.footer__label { margin-bottom: 18px; font-size: .58rem; letter-spacing: .2em; color: var(--f-dim); }
.footer ul { display: grid; gap: 10px; font-size: .92rem; }
.footer ul a { transition: color .3s; }
.footer ul a:hover { color: var(--bg); }
.footer__word { width: 100%; height: auto; margin: clamp(56px, 8vw, 100px) 0 clamp(18px, 2vw, 28px); color: rgba(247, 243, 238, .07); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--f-line); font-size: .8rem; color: var(--f-dim); }
.footer__bottom a { transition: color .3s; }
.footer__bottom a:hover { color: var(--bg); }

/* ---------- Barre d’action mobile ---------- */
.dock {
  position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; grid-template-columns: auto 1fr auto; gap: 8px; padding: 7px;
  border: 1px solid rgba(255, 255, 255, .95); border-radius: 999px; background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 20px 50px -20px rgba(14, 27, 52, .5);
  transform: translateY(calc(100% + 30px)); transition: transform .6s var(--ease-out);
}
.dock.is-visible { transform: none; }
.dock__call, .dock__alt { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink); }
.dock__main { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .95rem; font-weight: 700; }

/* ---------- Apparitions ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-all .reveal, .reveal-all .hero [data-in], .reveal-all .hero__title .line > * { opacity: 1 !important; transform: none !important; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes dash { to { stroke-dashoffset: -30; } }
@keyframes dash10 { to { stroke-dashoffset: -20; } }
@keyframes dash12 { to { stroke-dashoffset: -24; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .25; } }
@keyframes flap { 0%, 100% { transform: none; } 50% { transform: translateY(3px) scaleY(1.25); } }
@keyframes drop { 0% { transform: translateY(-3px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__tel span { display: none; }
}

@media (max-width: 1080px) {
  .hero { display: block; min-height: 0; padding-bottom: 72px; background: radial-gradient(60% 40% at 90% 0%, rgba(255, 214, 170, .35), transparent 70%), var(--bg); }
  .hero__inner { grid-template-columns: 1fr; gap: 0; }
  .hero__media { position: relative; inset: auto; z-index: 1; margin-top: 40px; aspect-ratio: 4 / 3.3; border-radius: var(--radius); box-shadow: var(--shadow); }
  .hero__media .media__fallback { justify-items: center; padding: 8%; }
  .hero__veil { display: none; }
  .media__cap { display: inline-flex; }
  .hero__widget { justify-self: center; width: min(280px, 74vw); margin-top: -110px; }
  .panel { grid-template-columns: 1fr; align-items: start; }
  .cycle, .config__wrap, .installers__grid, .faq__grid { grid-template-columns: 1fr; }
  .showroom__tabs {
    display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .showroom__tabs::-webkit-scrollbar { display: none; }
  .stab { flex: 0 0 auto; padding-right: 26px; scroll-snap-align: start; }
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--app { grid-column: span 2; grid-row: auto; min-height: 480px; }
  .tile--silence, .tile--energy { grid-column: span 1; }
  .tile--small { grid-column: span 1; }
  .tile--small:last-child { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .dock { display: grid; }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  .nav__cta, .nav__tel { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 64px; }
  .eyebrow { font-size: .56rem; letter-spacing: .12em; }
  .hero__ctas .btn { width: 100%; }
  .hero__media { aspect-ratio: 4 / 3.8; }
  .hero__widget { width: min(256px, 72vw); margin-top: -92px; }
  .bento { grid-template-columns: 1fr; }
  .tile--app, .tile--silence, .tile--energy, .tile--small, .tile--small:last-child { grid-column: auto; }
  .energy__row { grid-template-columns: 110px 1fr; }
  .opts { grid-template-columns: 1fr 1fr; }
  .opts > .opt:last-child:nth-child(odd) { grid-column: span 2; }
  .opts--num { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .opts--num > .opt:last-child:nth-child(odd) { grid-column: auto; }
  .opt span { min-height: 104px; padding: 16px; }
  .lead { grid-template-columns: 1fr; }
  .lead > .field:not(.field--full) { grid-column: 1 / -1; }
  .intent__opt span { gap: 6px; font-size: .82rem; }
  .specs, .qresult__specs { grid-template-columns: 1fr; }
  .partner { grid-template-columns: 1fr; justify-items: start; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__ctas, .footer__ctas .btn { width: 100%; }
  .marque__badge { flex-direction: column; align-items: flex-start; gap: 8px; }
  .qa__body { padding-right: 0; }
  .qresult__ctas .btn { width: 100%; }
}

@media (max-width: 440px) {
  .intent__opt .l-long { display: none; }
  .intent__opt .l-short { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
