/* ============================================================
   NEO DOMOTIQUE — Cinematic dark theme
   Brand: premium, nocturnal, "Apple product page" energy.
   Cool electric blue (smart) + warm amber (living light).
   ============================================================ */

:root {
  /* ---- surfaces ---- */
  --bg:        #06080c;
  --bg-2:      #0a0e15;
  --bg-3:      #0f1420;
  --panel:     #0c111a;
  --glass:     rgba(255, 255, 255, 0.045);
  --glass-2:   rgba(255, 255, 255, 0.07);
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.16);

  /* ---- ink ---- */
  --ink:       #f3f6fb;
  --ink-2:     #aab4c4;
  --ink-3:     #767f92;
  --ink-4:     rgba(120,130,150,.25);

  /* ---- brand ---- */
  --neo:       #5b8cff;   /* electric blue — actions, smart accent */
  --neo-2:     #93b4ff;
  --neo-press: #4a73e6;
  --neo-soft:  rgba(91, 140, 255, 0.14);
  --warm:      #ffb259;   /* living light — window glow */
  --warm-2:    #ffd9a3;
  --ok:        #46d98a;   /* secured / ok */
  --alert:     #ff6f5e;   /* incidents */

  /* ---- type ---- */
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* ---- motion ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.1, 1);

  /* ---- glows ---- */
  --glow-neo: 0 0 0 1px rgba(91,140,255,.4), 0 8px 40px -8px rgba(91,140,255,.55);
  --glow-warm-sh: 0 0 60px -8px rgba(255,178,89,.6);

  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ambient grain / vignette layered on body */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(91,140,255,.10), transparent 55%),
    radial-gradient(80% 60% at 50% 120%, rgba(255,178,89,.05), transparent 60%);
  mix-blend-mode: screen;
}

::selection { background: var(--neo); color: #fff; }

img, svg { display: block; max-width: 100%; }

.wrap { width: min(1180px, 92vw); margin-inline: auto; }
.narrow { width: min(820px, 92vw); margin-inline: auto; }

/* ====================== TYPOGRAPHY ====================== */
.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neo-2);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--neo);
  box-shadow: 0 0 12px 2px var(--neo);
}
.eyebrow.warm { color: var(--warm-2); }
.eyebrow.warm::before { background: var(--warm); box-shadow: 0 0 12px 2px var(--warm); }
.eyebrow.ok { color: #8ef0bd; }
.eyebrow.ok::before { background: var(--ok); box-shadow: 0 0 12px 2px var(--ok); }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.03; }

.display {
  font-size: clamp(40px, 8.2vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.display .serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}
.scene-title {
  font-size: clamp(34px, 6vw, 76px);
  letter-spacing: -0.035em;
  line-height: 1.06;
  overflow-wrap: break-word;
}
.scene-title .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.muted { color: var(--ink-2); }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); line-height: 1.55; }

/* gradient ink for highlight words */
.grad {
  background: linear-gradient(120deg, var(--warm-2), var(--warm) 40%, var(--neo-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-right: 0.16em; margin-right: -0.1em;
  padding-bottom: 0.06em;
}
.neo-ink { color: var(--neo-2); }
.warm-ink { color: var(--warm-2); }
/* italic serif glyphs overhang their box; pad so background-clip:text paints them fully */
.serif.grad { padding-right: 0.5em; margin-right: -0.42em; padding-bottom: 0.12em; margin-bottom: -0.12em; overflow: visible; }

/* ====================== BUTTONS ====================== */
.btn {
  --bg: var(--neo);
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  font: inherit; font-weight: 600; font-size: 15.5px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  background: var(--bg);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
  box-shadow: var(--glow-neo);
  white-space: nowrap;
}
.btn:hover { background: var(--neo-press); box-shadow: 0 0 0 1px rgba(91,140,255,.5), 0 14px 50px -8px rgba(91,140,255,.7); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 18px; height: 18px; }

.btn.ghost {
  background: var(--glass);
  color: var(--ink);
  border: 1px solid var(--line-2);
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.btn.ghost:hover { background: var(--glass-2); border-color: var(--line-2); box-shadow: none; }

.btn.lg { padding: 17px 30px; font-size: 16.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--neo-2); font-weight: 600; text-decoration: none;
  font-size: 15.5px;
  transition: gap .2s var(--ease);
}
.link-arrow:hover { gap: 11px; }
.link-arrow .ico { width: 17px; height: 17px; }

/* ====================== NAV ====================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 46px);
  transition: background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 8, 12, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand .logo {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #1b2740, #0c1018);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.brand .logo .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--neo);
  box-shadow: 0 0 12px 2px var(--neo), inset 0 0 4px rgba(255,255,255,.6);
  animation: pulse 3.4s var(--ease) infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .65; transform: scale(.82); }
}
.brand b { font-weight: 600; letter-spacing: -0.02em; font-size: 18px; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--glass); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nav-phone:hover { color: var(--ink); }
@media (max-width: 940px) {
  .nav-links, .nav-phone { display: none; }
}

/* ====================== SECTION SCAFFOLD ====================== */
section { position: relative; z-index: 2; }
.pad { padding-block: clamp(96px, 14vh, 180px); }

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ====================== HERO ====================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding-top: 92px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero { padding-top: 104px; justify-content: flex-start; }
}

.hero-copy { position: relative; z-index: 5; }
.hero h1 { margin: 22px 0 38px; }
.hero .lead { max-width: 30ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-proof {
  margin-top: 30px; display: flex; align-items: center; gap: 16px;
  color: var(--ink-3); font-size: 14px;
}
.hero-proof .stars { color: var(--warm); letter-spacing: 2px; }
.hero-proof .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-4); }

/* word-build headline (robust: visible once body.ready, animates as enhancement) */
.build > span { display: inline-block; }
.build .w {
  opacity: 0; transform: translateY(0.5em);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: calc(var(--i, 0) * 85ms + 150ms);
}
body.ready .build .w { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .build .w { opacity: 1; transform: none; transition: none; }
}

/* ---- the house ---- */
.house-stage {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
}
.house-stage svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 960px) {
  .house-stage { margin-top: 18px; }
}

/* floating glass chips around the house */
.chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 13px 9px 11px;
  background: rgba(12, 17, 26, 0.66);
  border: 1px solid var(--line-2);
  border-radius: 13px;
  backdrop-filter: blur(14px) saturate(1.3);
  font-size: 13.5px; font-weight: 500;
  color: var(--ink);
  box-shadow: 0 18px 50px -16px rgba(0,0,0,.8);
  white-space: nowrap;
  z-index: 6;
  opacity: 0; transform: translateY(10px) scale(.96);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--cd, 1.6s);
}
body.ready .chip { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .chip { opacity: 1; transform: none; transition: none; }
}
.chip .ic {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none;
  background: var(--neo-soft); color: var(--neo-2);
}
.chip .ic.warm { background: rgba(255,178,89,.16); color: var(--warm-2); }
.chip .ic.ok { background: rgba(70,217,138,.16); color: #8ef0bd; }
.chip .ic svg { width: 15px; height: 15px; }
.chip small { display: block; color: var(--ink-3); font-size: 11px; font-weight: 500; }
@media (max-width: 600px) {
  .chip { font-size: 12px; padding: 7px 10px; }
  .chip small { display: none; }
}

/* scroll cue */
.scroll-cue {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--ink-2, #b6bfd0); font-size: 13px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  z-index: 40; cursor: pointer; text-align: center;
  animation: cue-bob 2.4s var(--ease) infinite;
  transition: opacity .4s ease, color .25s ease;
}
.scroll-cue.cue-hidden { opacity: 0; pointer-events: none; }
.scroll-cue:hover { color: var(--neo-2); }
.scroll-cue-label {
  padding: 6px 14px; border-radius: 999px;
  background: rgba(91, 140, 255, 0.10);
  border: 1px solid rgba(147, 180, 255, 0.22);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.scroll-cue .mouse {
  width: 24px; height: 38px; border: 2px solid var(--neo-2); border-radius: 13px; position: relative;
  box-shadow: 0 0 16px rgba(91, 140, 255, 0.25);
}
.scroll-cue .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3.5px; height: 8px; border-radius: 2px; background: var(--neo-2);
  animation: scrolly 1.8s var(--ease) infinite;
}
.scroll-cue .scroll-chevrons {
  width: 22px; height: 26px; color: var(--neo-2); margin-top: -2px;
}
.scroll-cue .scroll-chevrons path { opacity: .35; animation: chev 1.8s var(--ease) infinite; }
.scroll-cue .scroll-chevrons path:nth-child(2) { animation-delay: .22s; }
@keyframes scrolly { 0%{opacity:0; transform:translate(-50%,0)} 30%{opacity:1} 70%{opacity:1} 100%{opacity:0; transform:translate(-50%,12px)} }
@keyframes chev { 0%,100%{opacity:.25} 50%{opacity:1} }
@keyframes cue-bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }
@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }
  .scroll-cue .scroll-chevrons path, .scroll-cue .mouse::after { animation: none; }
}
@media (max-width: 600px) {
  .scroll-cue-label { font-size: 11px; }
}

/* ====================== SCENES (scrollytelling) ====================== */
.scene {
  position: relative;
  min-height: 105vh;
  display: flex; align-items: center;
  padding-block: clamp(80px, 12vh, 150px);
}
.scene-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.scene.rev .scene-inner { direction: rtl; }
.scene.rev .scene-inner > * { direction: ltr; }
@media (max-width: 900px) {
  .scene-inner { grid-template-columns: 1fr; gap: 36px; }
  .scene.rev .scene-inner { direction: ltr; }
  .scene { min-height: auto; }
}
.scene-copy p.lead { margin-top: 20px; max-width: 34ch; }

/* a "device frame" / visual panel for scenes */
.panel {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(91,140,255,.06), transparent 60%),
    linear-gradient(180deg, var(--bg-3), var(--bg-2));
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
}
.panel.warmlit {
  background:
    radial-gradient(120% 90% at 50% 110%, rgba(255,178,89,.18), transparent 60%),
    linear-gradient(180deg, var(--bg-3), var(--bg-2));
}

/* stacked status cards inside scenes */
.statcards { display: grid; gap: 12px; }
.statcard {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--line);
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--sd, 0ms);
}
.scene.is-in .statcard { opacity: 1; transform: none; }
.statcard .sc-ic {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: var(--neo-soft); color: var(--neo-2);
}
.statcard .sc-ic.warm { background: rgba(255,178,89,.15); color: var(--warm-2); }
.statcard .sc-ic.ok { background: rgba(70,217,138,.15); color: #8ef0bd; }
.statcard .sc-ic svg { width: 20px; height: 20px; }
.statcard b { font-weight: 600; font-size: 15.5px; }
.statcard small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 1px; }
.statcard .sc-val { margin-left: auto; font-family: var(--font-mono); font-size: 14px; color: var(--ink-2); }
.statcard .sc-dot { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px 1px var(--ok); }

/* room-light visual: a window grid that lights with scroll progress (--p) */
.rooms { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(2,1fr); gap: 10px; padding: 26px; }
.room {
  border-radius: 14px;
  background: #070a11;
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: background .5s var(--ease), box-shadow .5s var(--ease);
}
.room::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 70% 20%, var(--warm), transparent 65%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.room.lit { background: #1a130a; box-shadow: inset 0 0 40px rgba(255,178,89,.35); }
.room.lit::after { opacity: .8; }
.room .label { position: absolute; left: 12px; bottom: 10px; font-size: 11px; color: var(--ink-3); z-index: 2; }
.room.lit .label { color: var(--warm-2); }

/* ====================== TIMELINE (morning / vacation) ====================== */
.timeline { display: grid; gap: 2px; }
.tl-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  opacity: .3;
  transition: opacity .5s var(--ease);
}
.tl-item:first-child { border-top: none; }
.tl-item.on { opacity: 1; }
.tl-time { font-family: var(--font-mono); font-size: 15px; color: var(--warm-2); padding-top: 1px; font-variant-numeric: tabular-nums; }
.tl-item.on .tl-time { color: var(--warm); }
.tl-body b { font-weight: 600; font-size: 16px; display: block; }
.tl-body small { color: var(--ink-3); font-size: 13px; }

/* ====================== PHONE (vacances) ====================== */
.phone {
  position: relative;
  width: min(300px, 78vw);
  margin-inline: auto;
  aspect-ratio: 9 / 19;
  border-radius: 42px;
  background: linear-gradient(180deg, #14161c, #0a0c11);
  border: 1px solid var(--line-2);
  padding: 11px;
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08);
}
.phone-screen {
  position: relative; height: 100%; border-radius: 32px; overflow: hidden;
  background: radial-gradient(120% 60% at 50% 0%, #14233f, #070a12 60%);
  display: flex; flex-direction: column;
}
.phone-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 96px; height: 22px; background: #05070b; border-radius: 999px; z-index: 4; }
.phone-status { display: flex; justify-content: space-between; padding: 13px 22px 6px; font-size: 12px; color: var(--ink-2); font-family: var(--font-mono); }
.phone-hero { padding: 26px 20px 18px; text-align: center; }
.phone-hero .shield {
  width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 20px;
  display: grid; place-items: center; color: var(--ok);
  background: rgba(70,217,138,.12); border: 1px solid rgba(70,217,138,.3);
  box-shadow: 0 0 40px -6px rgba(70,217,138,.5);
}
.phone-hero .shield svg { width: 30px; height: 30px; }
.phone-hero b { font-size: 18px; display: block; }
.phone-hero small { color: var(--ink-3); font-size: 12.5px; }
.phone-log { flex: 1; padding: 8px 14px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.log-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  font-size: 12.5px;
}
.log-row .lt { font-family: var(--font-mono); color: var(--warm-2); font-size: 11.5px; flex: none; width: 38px; }
.log-row .ld { width: 7px; height: 7px; border-radius: 50%; background: var(--warm); margin-left: auto; flex: none; box-shadow: 0 0 8px 1px var(--warm); }
.log-row.sec .ld { background: var(--ok); box-shadow: 0 0 8px 1px var(--ok); }

/* ====================== STAT BADGES ====================== */
.bigstats { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.bigstat {
  flex: 1; min-width: 140px;
  padding: 22px 20px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--line);
}
.bigstat .n { font-size: clamp(34px, 5vw, 48px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.bigstat .n.warm { color: var(--warm-2); }
.bigstat .n.ok { color: #8ef0bd; }
.bigstat .l { color: var(--ink-3); font-size: 13.5px; margin-top: 8px; }

/* ====================== SERVICES ====================== */
.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(30px, 4.6vw, 52px); margin: 16px 0 0; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .cards-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .cards-grid { grid-template-columns: 1fr; } }
.scard {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.scard::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% -10%, var(--neo-soft), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.scard:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 30px 70px -30px rgba(0,0,0,.8); }
.scard:hover::before { opacity: 1; }
.scard .s-ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--neo-soft); color: var(--neo-2); margin-bottom: 20px;
  position: relative; z-index: 2;
  transition: transform .35s var(--ease);
}
.scard:hover .s-ic { transform: scale(1.06) rotate(-3deg); }
.scard.warm .s-ic { background: rgba(255,178,89,.15); color: var(--warm-2); }
.scard.ok .s-ic { background: rgba(70,217,138,.15); color: #8ef0bd; }
.scard .s-ic svg { width: 24px; height: 24px; }
.scard h3 { font-size: 19px; position: relative; z-index: 2; }
.scard p { color: var(--ink-2); font-size: 14.5px; margin-top: 10px; line-height: 1.55; position: relative; z-index: 2; }

/* ====================== STEPS ====================== */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 30px 26px; border-radius: 18px;
  background: var(--glass); border: 1px solid var(--line);
  position: relative;
}
.step .num {
  font-family: var(--font-mono); font-size: 13px; color: var(--neo-2);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; display: inline-block;
}
.step h3 { font-size: 21px; margin: 22px 0 10px; }
.step p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.step .dur { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; color: var(--ink-3); font-size: 13px; }
.step .dur svg { width: 15px; height: 15px; }

/* ====================== TESTIMONIALS ====================== */
.t-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 820px) { .t-grid { grid-template-columns: 1fr; } }
.tcard {
  padding: 28px 26px; border-radius: 18px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
}
.tcard .stars { color: var(--warm); letter-spacing: 2px; font-size: 14px; }
.tcard q { display: block; font-size: 17px; line-height: 1.5; margin: 16px 0 22px; quotes: "«" "»"; color: var(--ink); }
.tcard q::before { content: "« "; color: var(--ink-3); }
.tcard q::after { content: " »"; color: var(--ink-3); }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .av {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--neo), #2a3c6e); color: #fff; font-weight: 600; font-size: 14px;
}
.tcard .who b { font-size: 14.5px; }
.tcard .who small { display: block; color: var(--ink-3); font-size: 12.5px; }

/* ====================== FINAL CTA ====================== */
.finale {
  position: relative; text-align: center; overflow: hidden;
  border-top: 1px solid var(--line);
}
.finale::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 80% at 50% 120%, rgba(255,178,89,.16), transparent 60%),
    radial-gradient(50% 60% at 50% -10%, rgba(91,140,255,.16), transparent 60%);
}
.finale > * { position: relative; z-index: 2; }
.finale h2 { font-size: clamp(38px, 7vw, 84px); letter-spacing: -0.04em; }
.finale .lead { margin: 22px auto 0; max-width: 46ch; }
.finale-cta { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.ticks { display: flex; gap: 22px; justify-content: center; margin-top: 30px; flex-wrap: wrap; color: var(--ink-2); font-size: 14px; }
.ticks span { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 17px; height: 17px; color: var(--ok); }

/* ====================== FOOTER ====================== */
footer { border-top: 1px solid var(--line); padding-block: 56px 36px; background: var(--bg-2); position: relative; z-index: 2; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; } }
.foot-grid h5 { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; font-weight: 600; }
.foot-grid a { display: block; color: var(--ink-2); text-decoration: none; font-size: 14px; padding: 5px 0; transition: color .2s; }
.foot-grid a:hover { color: var(--ink); }
.foot-about p { color: var(--ink-3); font-size: 14px; line-height: 1.6; margin: 14px 0 18px; max-width: 30ch; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--ink-3); font-size: 13px;
}

/* ====================== HERO HOUSE (SVG windows) ====================== */
.hw { transition: fill .7s var(--ease), filter .7s var(--ease); }
.hw.on { fill: var(--warm); filter: drop-shadow(0 0 10px rgba(255,178,89,.85)) drop-shadow(0 0 22px rgba(255,178,89,.45)); }
.house-glow { opacity: 0; transition: opacity 1.4s var(--ease); }
.house-stage.lit .house-glow { opacity: 1; }
.hsmart { animation: smartblink 3s var(--ease) infinite; }
@keyframes smartblink { 0%,100%{opacity:.5} 50%{opacity:1} }
@media (prefers-reduced-motion: reduce) {
  .hw { fill: var(--warm); filter: drop-shadow(0 0 10px rgba(255,178,89,.7)); }
  .house-glow { opacity: 1; }
  .hsmart { animation: none; }
}

/* ====================== CINEMA DEMO ====================== */
.cinema { position: absolute; inset: 0; padding: 22px; display: grid; grid-template-rows: 1fr auto; gap: 14px; }
.cinema-room {
  position: relative; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #0c1018, #070a10);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background 1.2s var(--ease);
}
.cinema-ceiling {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 70%; height: 60%;
  background: radial-gradient(80% 100% at 50% 0%, rgba(255,178,89,.5), transparent 70%);
  opacity: .55; transition: opacity 1.2s var(--ease);
}
.cinema-tv {
  width: 64%; aspect-ratio: 16/9; border-radius: 8px;
  background: #05070b; border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--ink-3); font-size: 12px;
  box-shadow: inset 0 0 0 3px #0b0e14;
  transition: background 1s var(--ease), box-shadow 1s var(--ease), color 1s var(--ease);
  position: relative; z-index: 4;
}
.cinema-blinds {
  position: absolute; top: 0; left: 0; right: 0; height: 0%;
  background: repeating-linear-gradient(180deg, #11151d, #11151d 6px, #0a0d13 6px, #0a0d13 12px);
  border-bottom: 1px solid var(--line-2);
  transition: height 1.1s var(--ease); z-index: 3;
}
.cinema-actions { display: flex; gap: 8px; }
.cinema-act {
  flex: 1; display: flex; align-items: center; gap: 8px; justify-content: center;
  padding: 11px 10px; border-radius: 12px; font-size: 12.5px; font-weight: 500;
  background: var(--glass); border: 1px solid var(--line); color: var(--ink-3);
  transition: all .5s var(--ease);
}
.cinema-act svg { width: 15px; height: 15px; }
.cinema-act .ckdot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4); transition: background .4s; }

/* playing state */
.cinema.playing .cinema-blinds { height: 100%; }
.cinema.playing .cinema-ceiling { opacity: .12; }
.cinema.playing .cinema-room { background: linear-gradient(180deg, #0a0e16, #05070c); }
.cinema.playing .cinema-tv { background: linear-gradient(135deg, #5b8cff, #b1163f); color: #fff; box-shadow: inset 0 0 0 3px #0b0e14, 0 0 40px -6px rgba(91,140,255,.7); }
.cinema.playing .cinema-act { color: var(--ink); border-color: var(--line-2); background: var(--glass-2); }
.cinema.playing .cinema-act:nth-child(1) { transition-delay: .15s; }
.cinema.playing .cinema-act:nth-child(2) { transition-delay: .35s; }
.cinema.playing .cinema-act:nth-child(3) { transition-delay: .55s; }
.cinema.playing .cinema-act .ckdot { background: var(--ok); box-shadow: 0 0 8px 1px var(--ok); }
.cinema-replay {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 999px; cursor: pointer;
  background: rgba(12,17,26,.7); border: 1px solid var(--line-2); color: var(--ink-2);
  font: inherit; font-size: 12.5px; font-weight: 500; backdrop-filter: blur(10px);
  transition: color .2s, border-color .2s;
}
.cinema-replay:hover { color: var(--ink); border-color: var(--line-2); }
.cinema-replay svg { width: 14px; height: 14px; }

/* ====================== DAY / NIGHT scrub panel ====================== */
.daynight {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      color-mix(in oklab, #0a1326, #2a4a86 calc(var(--sun,0) * 70%)) 0%,
      color-mix(in oklab, #05070c, #c9863f calc(var(--sun,0) * 45%)) 100%);
  transition: background .1s linear;
}
.daynight .sun {
  position: absolute; left: 50%;
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, #fff3d6, var(--warm) 55%, transparent 72%);
  filter: blur(2px);
  transform: translate(-50%, 0);
  bottom: calc(-12% + var(--sun, 0) * 62%);
  opacity: calc(0.2 + var(--sun, 0) * 0.8);
  box-shadow: 0 0 90px 30px rgba(255,178,89,.35);
}
.daynight .horizon {
  position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(180deg, transparent, rgba(5,7,12,.7) 60%, #05070c);
}
.daynight .skyline {
  position: absolute; left: 0; right: 0; bottom: 30%;
  display: flex; align-items: flex-end; justify-content: center; gap: 4px; padding: 0 30px;
  opacity: .85;
}
.daynight .skyline i {
  display: block; width: 26px; background: #070a11; border-top: 1px solid var(--line);
  border-radius: 3px 3px 0 0;
}

/* ====================== CONTINUOUS SKY (fil conducteur) ====================== */
.sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--sky-top, #06080c) 0%, var(--sky-bot, #0a0e16) 100%);
}
.sky::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 50% at 50% var(--sky-sun, 120%), var(--sky-glow, transparent), transparent 60%);
  opacity: var(--sky-glow-o, 0); transition: opacity .3s linear;
}

/* ====================== NARRATIVE THREAD ====================== */
.narrative { position: relative; }
.thread {
  position: absolute; top: 7%; bottom: 4%; left: 50%;
  width: 2px; transform: translateX(-50%); z-index: 1; pointer-events: none;
}
.thread-track {
  position: absolute; inset: 0; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.10) 5%, rgba(255,255,255,.10) 95%, transparent);
}
.thread-fill {
  position: absolute; top: 0; left: 0; width: 2px; height: 0; border-radius: 2px;
  background: linear-gradient(180deg, var(--neo) 0%, var(--neo-2) 30%, var(--warm) 100%);
  box-shadow: 0 0 10px 1px rgba(91,140,255,.6);
  will-change: height;
}

/* the follower orb ("comet") + its trailing tail */
.thread-comet {
  position: absolute; left: 50%; top: 0; width: 14px; height: 14px;
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .35s var(--ease);
  will-change: top;
  z-index: 3;
}
.thread.active .thread-comet { opacity: 1; }
/* upward fading tail (where the orb came from) */
.thread-comet::before {
  content: ""; position: absolute; left: 50%; bottom: 50%; transform: translateX(-50%);
  width: 3px; height: 76px; border-radius: 3px;
  background: linear-gradient(180deg, transparent, rgba(255,178,89,.0) 0%, rgba(255,178,89,.55) 78%, rgba(255,233,200,.95));
  filter: blur(.4px);
}
/* the glowing core */
.thread-comet::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, #fff 14%, var(--warm-2) 38%, var(--warm) 56%, transparent 74%);
  box-shadow: 0 0 26px 7px rgba(255,178,89,.6), 0 0 10px 3px rgba(255,255,255,.6);
  animation: cometPulse 1.8s var(--ease) infinite;
}
@keyframes cometPulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 26px 7px rgba(255,178,89,.6), 0 0 10px 3px rgba(255,255,255,.6); }
  50%     { transform: scale(1.18); box-shadow: 0 0 34px 10px rgba(255,178,89,.75), 0 0 14px 4px rgba(255,255,255,.7); }
}
@media (prefers-reduced-motion: reduce) { .thread-comet::after { animation: none; } }

.thread-node {
  position: absolute; left: 50%; width: 11px; height: 11px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-3); border: 2px solid rgba(255,255,255,.18);
  transition: background .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
  z-index: 2;
}
.thread-node.on {
  background: var(--warm); border-color: var(--warm-2);
  box-shadow: 0 0 16px 3px rgba(255,178,89,.65);
  transform: translate(-50%, -50%) scale(1.15);
}

/* burst FX layer spawned when the orb crosses a node */
.thread-fx {
  position: absolute; left: 50%; transform: translate(-50%, -50%);
  width: 0; height: 0; z-index: 4; pointer-events: none;
}
.thread-ring {
  position: absolute; left: 50%; top: 50%; width: 14px; height: 14px;
  margin: -7px 0 0 -7px; border-radius: 50%;
  border: 2px solid rgba(255,210,150,.9);
  animation: threadRing .72s var(--ease) forwards;
}
@keyframes threadRing {
  0%   { transform: scale(.4); opacity: .95; }
  100% { transform: scale(4.6); opacity: 0; }
}
.thread-spark {
  position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px;
  border-radius: 50%; background: var(--spk, var(--warm-2));
  box-shadow: 0 0 7px 1px rgba(255,200,130,.8);
  animation: threadSpark var(--dur, .8s) var(--ease) forwards;
}
@keyframes threadSpark {
  0%   { transform: translate(0,0) scale(1); opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translate(var(--tx,0), var(--ty,0)) scale(.2); opacity: 0; }
}
@media (max-width: 900px) { .thread { display: none; } }

/* ====================== PARALLAX (scroll-linked depth) ====================== */
@media (prefers-reduced-motion: no-preference) {
  .scene .panel, #securite .phone {
    transform: translateY(calc((var(--p, 0.5) - 0.5) * -38px));
    will-change: transform;
  }
  .scene-copy .eyebrow {
    transform: translateY(calc((var(--p, 0.5) - 0.5) * -16px));
  }
}

/* cursor glow (desktop only) */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px; border-radius: 50%;
  pointer-events: none; z-index: 0; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(91,140,255,.10), transparent 60%);
  transition: opacity .4s var(--ease); opacity: 0;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow { opacity: 1; } }

/* ====================== V2 — INTERACTIVE SCENE HINT ====================== */
.scene-hint {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 15px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line-2);
  color: var(--ink-2); font-size: 13.5px; font-weight: 500;
}
.scene-hint svg { width: 18px; height: 18px; color: var(--neo-2); }

/* ====================== V2 — SALON CONSOLE (interactive) ====================== */
.salon {
  border-radius: 24px; border: 1px solid var(--line); padding: 16px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05);
}
.salon-room {
  position: relative; border-radius: 16px; overflow: hidden;
  min-height: 268px; border: 1px solid var(--line);
  background: #05070c; display: grid; place-items: center;
}
/* window view behind blinds */
.salon-sky {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, #16213f 0%, #0c1326 45%, #070b16 100%);
}
.salon-sky::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 26%; height: 30%;
  background:
    radial-gradient(2px 2px at 12% 60%, rgba(255,210,140,.9), transparent),
    radial-gradient(2px 2px at 28% 40%, rgba(150,180,255,.8), transparent),
    radial-gradient(2px 2px at 46% 70%, rgba(255,220,160,.9), transparent),
    radial-gradient(2px 2px at 63% 50%, rgba(180,200,255,.7), transparent),
    radial-gradient(2px 2px at 78% 65%, rgba(255,210,140,.9), transparent),
    radial-gradient(2px 2px at 90% 45%, rgba(150,180,255,.8), transparent);
}
.salon-sky::after { /* city silhouette */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background:
    linear-gradient(90deg, #04060c 0 14%, transparent 14%) 0 0/40px 100%,
    linear-gradient(180deg, transparent, #04060c);
  -webkit-mask: linear-gradient(90deg, #000 0 8%, transparent 8% 12%, #000 12% 22%, transparent 22% 25%, #000 25% 40%, transparent 40% 44%, #000 44% 60%, transparent 60% 63%, #000 63% 78%, transparent 78% 82%, #000 82% 100%);
          mask: linear-gradient(90deg, #000 0 8%, transparent 8% 12%, #000 12% 22%, transparent 22% 25%, #000 25% 40%, transparent 40% 44%, #000 44% 60%, transparent 60% 63%, #000 63% 78%, transparent 78% 82%, #000 82% 100%);
  background-color: #04060c;
}
.salon-blinds {
  position: absolute; top: 0; left: 0; right: 0; height: var(--blinds, 0%);
  z-index: 2;
  background: repeating-linear-gradient(180deg, #12161f, #12161f 7px, #0a0d14 7px, #0a0d14 14px);
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 6px 14px -4px rgba(0,0,0,.7);
  transition: height .8s var(--ease);
}
.salon-ceiling {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 78%; height: 65%; z-index: 3; pointer-events: none;
  background: radial-gradient(75% 100% at 50% 0%, rgba(255,184,96,.55), transparent 72%);
  opacity: var(--bright, 1);
  transition: opacity .5s var(--ease);
}
.salon-dim {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; background: #02040a;
  opacity: calc((1 - var(--bright, 1)) * 0.72);
  transition: opacity .5s var(--ease);
}
.salon-tvglow {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(60% 46% at 50% 56%, rgba(91,140,255,.32), transparent 72%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.salon[data-tv="on"] .salon-tvglow { opacity: 1; }
.salon-tv {
  position: relative; z-index: 5;
  width: 62%; aspect-ratio: 16/9; border-radius: 9px;
  background: #05070b; border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--ink-3); font-size: 12.5px; font-weight: 500;
  box-shadow: inset 0 0 0 3px #0b0e14;
  transition: background .7s var(--ease), box-shadow .7s var(--ease), color .5s var(--ease);
}
.salon[data-tv="on"] .salon-tv {
  background: linear-gradient(135deg, #5b8cff, #8b3fb1 55%, #b1163f);
  color: #fff; box-shadow: inset 0 0 0 3px #0b0e14, 0 0 46px -6px rgba(91,140,255,.75);
}
.salon-toast {
  position: absolute; top: 50%; left: 50%; z-index: 7;
  transform: translate(-50%, -50%) scale(.92);
  padding: 12px 20px; border-radius: 14px; font-weight: 600; font-size: 15px;
  background: rgba(8,11,18,.82); border: 1px solid var(--line-2);
  backdrop-filter: blur(12px); color: var(--ink);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.salon-toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* controls */
.salon-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.ctrl {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px; font: inherit; text-align: left;
  background: var(--glass); border: 1px solid var(--line); color: var(--ink);
  cursor: pointer; transition: border-color .25s var(--ease), background .25s var(--ease), transform .08s var(--ease);
}
.ctrl:hover { border-color: var(--line-2); background: var(--glass-2); }
.ctrl:active { transform: translateY(1px); }
.ctrl-ic {
  width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: var(--glass-2); color: var(--ink-3);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.ctrl-ic svg { width: 19px; height: 19px; }
.ctrl[aria-pressed="true"] .ctrl-ic { background: var(--neo-soft); color: var(--neo-2); }
.ctrl-dim .ctrl-ic.warm { background: rgba(255,178,89,.16); color: var(--warm-2); }
.ctrl-txt { min-width: 0; }
.ctrl-txt b { display: block; font-size: 14.5px; font-weight: 600; }
.ctrl-txt small { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.sw {
  margin-left: auto; flex: none; position: relative;
  width: 46px; height: 27px; border-radius: 999px;
  background: var(--glass-2); border: 1px solid var(--line-2);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.sw-knob {
  position: absolute; top: 2px; left: 2px; width: 21px; height: 21px; border-radius: 50%;
  background: #e9edf5; box-shadow: 0 2px 6px rgba(0,0,0,.5);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.ctrl[aria-pressed="true"] .sw { background: var(--neo); border-color: var(--neo); }
.ctrl[aria-pressed="true"] .sw-knob { transform: translateX(19px); background: #fff; }

/* dim control + slider */
.ctrl-dim { grid-column: 1 / -1; cursor: default; }
.ctrl-dim:hover { background: var(--glass); border-color: var(--line); }
.ctrl-dim .ctrl-txt { flex: none; width: 92px; }
.dim-range {
  -webkit-appearance: none; appearance: none; flex: 1; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--warm) 100%, rgba(255,255,255,.12) 100%);
  outline: none; cursor: pointer;
}
.dim-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.55), 0 0 0 4px rgba(255,178,89,.18); cursor: pointer;
}
.dim-range::-moz-range-thumb {
  width: 20px; height: 20px; border: none; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.55); cursor: pointer;
}

/* master button */
.salon-master {
  position: relative; overflow: hidden;
  margin-top: 12px; width: 100%; padding: 15px; border-radius: 14px;
  border: 1px solid var(--line-2); color: var(--ink); font: inherit; font-weight: 600; font-size: 15px;
  background: linear-gradient(180deg, var(--glass-2), var(--glass)); cursor: pointer;
  transition: border-color .25s var(--ease), transform .08s var(--ease);
}
.salon-master:hover { border-color: var(--neo); }
.salon-master:active { transform: translateY(1px); }
.master-sweep {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(91,140,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); 
}
.salon-master.sweeping .master-sweep { animation: sweep .9s var(--ease); }
@keyframes sweep { to { transform: translateX(120%); } }

/* clickable rooms (scene 1) */
button.room { font: inherit; color: inherit; cursor: pointer; }
button.room:hover { border-color: var(--line-2); }
button.room:not(.lit):hover { background: #0c111b; }
button.room:active { transform: scale(.985); }
.rooms-hint {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px; white-space: nowrap;
  background: rgba(8,11,18,.7); border: 1px solid var(--line-2); backdrop-filter: blur(10px);
  font-size: 12px; color: var(--ink-2); z-index: 4;
  transition: opacity .4s var(--ease);
}
.rooms-hint .rh-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 8px 1px var(--warm); animation: pulse 2.4s var(--ease) infinite; }
.panel.warmlit { position: relative; }

@media (max-width: 480px) {
  .salon-controls { grid-template-columns: 1fr; }
  .ctrl-dim .ctrl-txt { width: auto; }
}

/* ====================== V2 — GSAP / LENIS INTEGRATION ====================== */
/* when GSAP drives entrances, kill CSS transitions on those props to avoid double-anim */
html.gsap .reveal,
html.gsap .build .w,
html.gsap .chip,
html.gsap .statcard { transition: none !important; }

/* GSAP uses autoAlpha (visibility+opacity); these stay hidden until tweened in.
   Card groups animated by children stagger — hide initial. */
html.gsap .cards-grid > *,
html.gsap .steps > *,
html.gsap .t-grid > *,
html.gsap .bigstats > *,
html.gsap .ticks > * { opacity: 0; }

/* hard fallback — no GSAP or reduced motion: force everything visible */
html.nogsap .reveal,
html.nogsap .build .w,
html.nogsap .chip,
html.nogsap .statcard,
html.nogsap .cards-grid > *,
html.nogsap .steps > *,
html.nogsap .t-grid > *,
html.nogsap .bigstats > *,
html.nogsap .ticks > * { opacity: 1 !important; visibility: visible !important; transform: none !important; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
