/* ==========================================================================
   Mon Carnet d'Eau — landing (Liquid Glass, clair/sombre)
   ========================================================================== */
:root {
  --bg: #f2f8fd;
  --bg-elev: #ffffff;
  --bg-soft: #e6f2fb;
  --text: #0a2540;
  --text-muted: #48627a;
  --border: #d3e4f1;
  --primary: #0EA5E9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-soft: #dcefff;
  --accent: #22d3ee;
  --accent-2: #14b8a6;
  --success: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
  --navy: #0A2540;
  --shadow: 0 18px 50px rgba(10, 37, 64, .12);
  --shadow-sm: 0 6px 20px rgba(10, 37, 64, .08);
  --radius: 22px;
  --radius-sm: 14px;
  /* glass */
  --glass-bg: rgba(255, 255, 255, .55);
  --glass-bg-strong: rgba(255, 255, 255, .72);
  --glass-border: rgba(255, 255, 255, .75);
  --glass-shine: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,0) 55%);
  --glass-shadow: 0 10px 40px rgba(10, 37, 64, .10), inset 0 1px 0 rgba(255,255,255,.9);
  --header-bg: rgba(255, 255, 255, .62);
  --header-border: rgba(10, 37, 64, .08);
  --page-bg:
    radial-gradient(1000px 600px at -10% 10%, rgba(14,165,233,.14), transparent 60%),
    radial-gradient(900px 600px at 110% 30%, rgba(20,184,166,.12), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(139,92,246,.10), transparent 60%);
  --hero-grad: linear-gradient(135deg, #061a30 0%, #0A2540 30%, #0b4f8a 68%, #0EA5E9 130%);
  --dur: .6s;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #061421;
  --bg-elev: #0c1f30;
  --bg-soft: #0a1a2a;
  --text: #e8f1f8;
  --text-muted: #9db4c7;
  --border: #173047;
  --primary: #38bdf8;
  --primary-600: #0ea5e9;
  --primary-700: #0284c7;
  --primary-soft: #0f3552;
  --shadow: 0 18px 50px rgba(0, 0, 0, .5);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, .35);
  --glass-bg: rgba(255, 255, 255, .06);
  --glass-bg-strong: rgba(255, 255, 255, .10);
  --glass-border: rgba(255, 255, 255, .14);
  --glass-shine: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 55%);
  --glass-shadow: 0 10px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255,255,255,.12);
  --header-bg: rgba(6, 20, 33, .62);
  --header-border: rgba(255, 255, 255, .08);
  --page-bg:
    radial-gradient(1000px 600px at -10% 10%, rgba(14,165,233,.16), transparent 60%),
    radial-gradient(900px 600px at 110% 30%, rgba(20,184,166,.12), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(139,92,246,.14), transparent 60%);
  --hero-grad: linear-gradient(135deg, #03101c 0%, #061a30 30%, #083a66 68%, #0b78b8 130%);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-display: swap;
  background: var(--page-bg), var(--bg);
  background-attachment: fixed, fixed, fixed, scroll;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--primary-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--text-muted); }
.muted { color: var(--text-muted); }
.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.desktop-only { display: initial; }
.mobile-only { display: none; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-600); margin-bottom: .6rem; }
[data-theme="dark"] .eyebrow { color: var(--primary); }

/* ---------- Glass primitives ---------- */
.glass-card {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.glass-card::before { /* reflet haut */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 60%; pointer-events: none;
  background: var(--glass-shine); opacity: .7; z-index: 0;
}
.glass-card::after { /* reflet qui glisse au hover */
  content: ""; position: absolute; top: -50%; bottom: -50%; left: -30%; width: 40%; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transform: translateX(-120%) rotate(12deg); transition: transform .9s var(--ease); opacity: .8; z-index: 1;
}
[data-theme="dark"] .glass-card::after { background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.12) 50%, transparent 100%); }
.glass-card > * { position: relative; z-index: 2; }
.glass-card:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.9); }
.glass-card:hover::after { transform: translateX(420%) rotate(12deg); }
.glass-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border-radius: 999px; padding: .4rem .9rem; font-size: .85rem; font-weight: 600; color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.35);
}

/* ---------- Buttons (hauteur unique 48px) ---------- */
.btn, .btn-primary, .btn-ghost, .btn-glass, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; font-size: 15px; font-weight: 600; line-height: 1;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  text-decoration: none; font-family: inherit; -webkit-appearance: none; appearance: none;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s;
  will-change: transform;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--primary); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, #0EA5E9 0%, #0284c7 100%); color: #fff;
  box-shadow: 0 10px 26px -8px rgba(14,165,233,.7), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover { box-shadow: 0 14px 30px -8px rgba(14,165,233,.85), inset 0 1px 0 rgba(255,255,255,.4); filter: brightness(1.05); }
.btn-ghost, .btn-outline { color: var(--text); background: var(--glass-bg-strong); border-color: var(--border); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-ghost:hover, .btn-outline:hover { border-color: var(--primary); color: var(--primary-600); }
[data-theme="dark"] .btn-ghost:hover { color: var(--primary); }
.btn-glass {
  color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 24px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-glass:hover { background: rgba(255,255,255,.24); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none;
  border-radius: 999px; border: 1px solid var(--border); background: var(--glass-bg-strong); color: var(--text);
  cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.icon-btn:hover { border-color: var(--primary); }
.icon-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--primary); }
.theme-toggle:hover { transform: rotate(15deg); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-scrolled {
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  border-bottom-color: var(--header-border);
  box-shadow: 0 8px 30px rgba(10,37,64,.08);
}
[data-theme="dark"] .site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: 72px; transition: height .3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--text); font-size: 1.08rem; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 12px rgba(14,165,233,.35); }
.main-nav { display: flex; gap: 1.6rem; margin-left: 1rem; }
.main-nav a { color: var(--text-muted); font-weight: 600; font-size: .95rem; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover { color: var(--primary-600); text-decoration: none; }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.lang-switch { position: relative; }
.lang-switch summary {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem; height: 44px; min-width: 62px;
  padding: 0 .85rem; list-style: none; background: var(--glass-bg-strong); color: var(--text); border: 1px solid var(--border);
  border-radius: 999px; font-weight: 700; font-size: .85rem; cursor: pointer; user-select: none;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::marker { content: ""; }
.lang-switch[open] summary { border-color: var(--primary); }
.lang-menu {
  position: absolute; top: calc(100% + .5rem); right: 0; min-width: 76px; padding: .35rem;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-sm); z-index: 60;
}
.lang-menu a { display: block; padding: .45rem .6rem; border-radius: 6px; color: var(--text); font-weight: 700; font-size: .85rem; text-align: center; }
.lang-menu a:hover, .lang-menu a[aria-current="true"] { color: var(--primary-700); background: var(--primary-soft); text-decoration: none; }
/* Header transparent sur la hero (texte blanc) */
.site-header--hero:not(.is-scrolled):not(.menu-open) .brand,
.site-header--hero:not(.is-scrolled):not(.menu-open) .main-nav a { color: #fff; }
.site-header--hero:not(.is-scrolled):not(.menu-open) .main-nav a { color: rgba(255,255,255,.82); }
.site-header--hero:not(.is-scrolled):not(.menu-open) .main-nav a:hover { color: #fff; }
.site-header--hero:not(.is-scrolled):not(.menu-open) .icon-btn,
.site-header--hero:not(.is-scrolled):not(.menu-open) .lang-switch summary {
  color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3);
}
.site-header--hero:not(.is-scrolled):not(.menu-open) .icon-btn { background-image: none; }
.site-header--hero:not(.is-scrolled):not(.menu-open) .btn-login {
  background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); color: #fff; box-shadow: none;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.site-header--hero:not(.is-scrolled):not(.menu-open) .btn-login:hover { background: rgba(255,255,255,.24); }
/* Hamburger */
.nav-toggle { position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.menu-open .nav-toggle-bar { background: transparent; }
.menu-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile-actions { flex-direction: column; gap: 1rem; margin-top: 1rem; align-items: stretch; }
.nav-mobile-actions .lang-switch summary { width: 100%; justify-content: space-between; }
.nav-mobile-actions .lang-menu { left: 0; right: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--hero-grad); color: #fff; overflow: hidden;
  padding: calc(72px + 4.5rem) 0 8rem; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.hero-bg .blob-1 { width: 520px; height: 520px; background: radial-gradient(circle, #38bdf8 0%, rgba(56,189,248,0) 70%); top: -160px; left: -120px; animation: blob-a 18s ease-in-out infinite; }
.hero-bg .blob-2 { width: 460px; height: 460px; background: radial-gradient(circle, #2dd4bf 0%, rgba(45,212,191,0) 70%); bottom: -120px; right: 5%; animation: blob-b 22s ease-in-out infinite; }
.hero-bg .blob-3 { width: 380px; height: 380px; background: radial-gradient(circle, #818cf8 0%, rgba(129,140,248,0) 70%); top: 20%; right: 35%; opacity: .4; animation: blob-c 26s ease-in-out infinite; }
.hero-grid {
  position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
}
@keyframes blob-a { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(80px, 60px) scale(1.15); } 66% { transform: translate(-40px, 120px) scale(.95); } }
@keyframes blob-b { 0%,100% { transform: translate(0,0) scale(1); } 40% { transform: translate(-100px, -60px) scale(1.2); } 70% { transform: translate(40px, -120px) scale(.9); } }
@keyframes blob-c { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-120px, 80px) scale(1.25); } }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.pill { margin-bottom: 1.4rem; }
.hero h1 { color: #fff; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; transform: translateY(110%); opacity: 0; animation: word-up .8s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .07s); }
@keyframes word-up { to { transform: translateY(0); opacity: 1; } }
.hero .lead { color: rgba(255,255,255,.86); max-width: 34rem; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.5rem; }
.anim-up { opacity: 0; transform: translateY(18px); animation: fade-up .8s var(--ease) forwards; animation-delay: var(--d, 0s); }
.anim-in { opacity: 0; transform: translateY(30px) scale(.96); animation: fade-in .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { to { opacity: 1; transform: translateY(0) scale(1); } }
.store-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.store-row.center { justify-content: center; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: .6rem; height: 52px; padding: 0 1rem; border-radius: 14px;
  background: rgba(0,0,0,.35); color: #fff; border: 1px solid rgba(255,255,255,.22); line-height: 1.1; font-weight: 700; font-size: .92rem;
  transition: transform .2s var(--ease), background .2s;
}
.store-badge small { display: block; font-size: .64rem; opacity: .8; font-weight: 500; letter-spacing: .02em; }
.store-badge:hover { text-decoration: none; background: rgba(0,0,0,.5); transform: translateY(-1px); }
.store-badge.glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.3); }
.store-badge.glass:hover { background: rgba(255,255,255,.22); }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1200px; }
.tilt { position: relative; transform-style: preserve-3d; transition: transform .25s ease-out; will-change: transform; animation: float 7s ease-in-out infinite; }
.phone {
  position: relative; width: 290px; height: 590px; border-radius: 46px; background: linear-gradient(160deg, #1b2b3d, #06111c);
  padding: 12px; box-shadow: 0 40px 90px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,255,255,.14), inset 0 0 0 6px #0b1a29; z-index: 2;
}
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: #06111c; border-radius: 999px; z-index: 4; }
.phone-shine { position: absolute; inset: 0; border-radius: 46px; pointer-events: none; z-index: 5; background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 65%, rgba(255,255,255,.08) 100%); }
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; z-index: 3;
  padding: 58px 14px 14px; color: #0a2540;
  background: linear-gradient(180deg, #e9f4fc 0%, #f6fbff 45%, #eaf6ff 100%);
}
.phone-screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(300px 200px at 90% 0%, rgba(14,165,233,.28), transparent 60%), radial-gradient(240px 200px at 0% 100%, rgba(45,212,191,.28), transparent 60%); pointer-events: none; }
.phone-screen > * { position: relative; }
.mock-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.mock-house { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #0EA5E9; box-shadow: 0 0 0 4px rgba(14,165,233,.2); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(14,165,233,.5); } 100% { box-shadow: 0 0 0 10px rgba(14,165,233,0); } }
.mock-avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #0EA5E9, #14b8a6); }
.phone-screen .glass-card { background: rgba(255,255,255,.62); border-color: rgba(255,255,255,.9); border-radius: 18px; box-shadow: 0 8px 24px rgba(10,37,64,.10), inset 0 1px 0 #fff; }
.phone-screen .glass-card:hover { transform: none; }
.mock-card { padding: 14px; margin-bottom: 10px; }
.mock-card-title { font-size: .72rem; color: #48627a; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.mock-big { display: flex; align-items: baseline; gap: .3rem; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: #0a2540; line-height: 1.1; margin: .1rem 0 .2rem; }
.mock-big small { font-size: .95rem; font-weight: 700; color: #0EA5E9; }
.mock-trend { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; color: #10b981; margin-bottom: .6rem; }
.mock-chart { display: flex; align-items: flex-end; gap: 4px; height: 64px; }
.mock-chart span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #38bdf8, #0284c7); transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.mock-chart.in-view span { transform: scaleY(1); }
.mock-chart span:last-child { background: linear-gradient(180deg, #2dd4bf, #14b8a6); }
.mock-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.mock-kpis .glass-card { padding: 10px 12px; }
.mock-kpis strong { display: block; font-size: 1.05rem; font-weight: 800; color: #0a2540; }
.mock-kpis span { font-size: .66rem; color: #48627a; font-weight: 600; }
.mock-alert { display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; padding: 10px 12px; color: #047857; }
.mock-alert.ok { background: rgba(16,185,129,.14) !important; border-color: rgba(16,185,129,.35) !important; }
.mock-check { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #10b981; color: #fff; font-size: .7rem; }
.mock-tabbar { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 46px; border-radius: 16px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: space-around; padding: 0 12px; }
.mock-tabbar span { width: 22px; height: 6px; border-radius: 3px; background: #c6d8e6; }
.mock-tabbar span.on { background: #0EA5E9; width: 30px; }
.float-chip { position: absolute; z-index: 3; white-space: nowrap; animation: float 6s ease-in-out infinite; transform: translateZ(40px); }
.chip-1 { top: 12%; left: -18%; animation-delay: -1.5s; }
.chip-2 { bottom: 26%; right: -22%; animation-delay: -3s; }
.chip-3 { bottom: 8%; left: -12%; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* Vagues animées (hero + CTA) */
.waves { position: absolute; left: 0; right: 0; bottom: -2px; height: 110px; overflow: hidden; pointer-events: none; z-index: 3; }
.wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; display: block; will-change: transform; }
.wave path { fill: var(--bg); }
.wave-1 { animation: wave-scroll 14s linear infinite; opacity: .28; }
.wave-2 { animation: wave-scroll 20s linear infinite reverse; opacity: .5; }
.wave-3 { animation: wave-scroll 11s linear infinite; }
@keyframes wave-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; position: relative; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 3.2rem; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.glass-card.reveal.is-visible { transition: opacity .8s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }

/* Features */
.feature { padding: 1.7rem; }
.feature-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(14,165,233,.18), rgba(20,184,166,.18)); color: var(--primary-600); margin-bottom: 1rem; border: 1px solid rgba(14,165,233,.25); }
[data-theme="dark"] .feature-icon { color: var(--primary); }
.feature p { color: var(--text-muted); margin: 0; }

/* Showcase */
.showcase-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-top: 4.5rem; }
.showcase-row.reverse .showcase-copy { order: 2; }
.showcase-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.showcase-copy p { color: var(--text-muted); font-size: 1.05rem; }
.mini-checks { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.mini-checks li { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px; background: var(--glass-bg-strong); border: 1px solid var(--border); }
.mini-checks li::before { content: "✓"; color: var(--success); font-weight: 800; }
.chart-card, .leak-card, .notif-card { padding: 1.5rem; }
.chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.chart-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.chart-sub { font-size: .9rem; font-weight: 600; margin-top: .2rem; }
.chart-value { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.chart-value small { font-size: 1rem; color: var(--primary-600); }
.trend-pill { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 700; padding: .35rem .7rem; border-radius: 999px; }
.trend-pill.down { background: rgba(16,185,129,.14); color: #059669; }
[data-theme="dark"] .trend-pill.down { color: #34d399; }
.bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 190px; padding-top: 44px; }
.bar-col { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .4rem; }
.bar-col .bar { display: block; width: 100%; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #38bdf8, #0284c7); transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.bar-chart.in-view .bar { transform: scaleY(1); }
.bar-col.current .bar { background: linear-gradient(180deg, #2dd4bf, #0d9488); box-shadow: 0 0 0 3px rgba(20,184,166,.2); }
.bar-col em { font-style: normal; font-size: .68rem; font-weight: 700; color: var(--text-muted); }
.bar-tooltip { position: absolute; bottom: calc(var(--h, 55%) + 2rem); left: 50%; transform: translate(-50%, 8px); flex-direction: column; align-items: flex-start; gap: 0; padding: .45rem .7rem; border-radius: 12px; opacity: 0; transition: opacity .5s var(--ease) 1.2s, transform .5s var(--ease) 1.2s; color: var(--text); background: var(--glass-bg-strong); border-color: var(--border); box-shadow: var(--shadow-sm); white-space: nowrap; }
.bar-tooltip strong { font-size: .85rem; }
.bar-tooltip span { font-size: .68rem; color: var(--text-muted); font-weight: 600; }
.bar-tooltip::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; background: inherit; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transform: translateX(-50%) rotate(45deg); }
.bar-chart.in-view .bar-tooltip { opacity: 1; transform: translate(-50%, 0); }
.bar-col.current { --h: 55%; }

.badge-warn { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 800; padding: .4rem .8rem; border-radius: 999px; background: rgba(245,158,11,.16); color: #b45309; border: 1px solid rgba(245,158,11,.4); }
[data-theme="dark"] .badge-warn { color: #fbbf24; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; }
.pulse { animation: pulse-warn 1.8s ease-in-out infinite; }
@keyframes pulse-warn { 0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,.45); } 60% { box-shadow: 0 0 0 10px rgba(245,158,11,0); } }
.ring-wrap { position: relative; width: 190px; height: 190px; margin: 0 auto .8rem; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--border); stroke-width: 10; }
.ring-fg { fill: none; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.ring-wrap.in-view .ring-fg { stroke-dashoffset: 65; }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-center strong { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; background: linear-gradient(135deg, #f59e0b, #ef4444); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ring-center span { font-size: .75rem; color: var(--text-muted); font-weight: 600; margin-top: .3rem; }
.leak-hint { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--text-muted); font-weight: 600; justify-content: center; margin-bottom: 1rem; }
.spark-rows { display: flex; align-items: flex-end; gap: 6px; height: 48px; padding: 0 1rem; }
.spark-rows span { flex: 1; height: var(--h); border-radius: 4px; background: rgba(14,165,233,.35); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); transition-delay: calc(var(--i) * 80ms + .4s); }
.spark-rows span.hot { background: linear-gradient(180deg, #f59e0b, #ef4444); }
.in-view ~ .leak-hint ~ .spark-rows span, .leak-card.is-visible .spark-rows span { transform: scaleY(1); }

.notif-card { padding: 0; }
.notif-stage { position: relative; height: 240px; overflow: hidden; background: linear-gradient(160deg, #0A2540, #0b4f8a 60%, #0EA5E9 130%); display: flex; align-items: center; justify-content: center; }
.notif-clock { display: flex; flex-direction: column; align-items: center; color: #fff; opacity: .9; }
.notif-time { font-size: 3.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.notif-date { font-size: .85rem; font-weight: 600; opacity: .8; margin-top: .3rem; }
.ios-notif { position: absolute; top: 16px; left: 16px; right: 16px; border-radius: 20px; padding: 12px 14px; align-items: flex-start; gap: .7rem; text-align: left; background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.45); animation: notif-drop 6s var(--ease) infinite; will-change: transform, opacity; }
.ios-notif img { border-radius: 10px; flex: none; }
.ios-notif-body { min-width: 0; }
.ios-notif-head { display: flex; justify-content: space-between; gap: .5rem; font-size: .8rem; }
.ios-notif-head span { font-weight: 500; opacity: .8; font-size: .72rem; }
.ios-notif p { margin: .1rem 0 0; font-size: .82rem; font-weight: 500; line-height: 1.35; opacity: .95; }
@keyframes notif-drop { 0% { transform: translateY(-140%); opacity: 0; } 12%, 78% { transform: translateY(0); opacity: 1; } 90%, 100% { transform: translateY(-140%); opacity: 0; } }
.notif-schedule { padding: 1rem 1.5rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.sched-pill { font-size: .8rem; font-weight: 700; padding: .4rem .8rem; border-radius: 999px; background: var(--glass-bg-strong); border: 1px solid var(--border); }
.sched-pill.on { border-color: rgba(14,165,233,.5); color: var(--primary-600); background: rgba(14,165,233,.12); }
[data-theme="dark"] .sched-pill.on { color: var(--primary); }

.house-stack { position: relative; height: 340px; }
.house-card { position: absolute; left: calc(var(--i) * 6%); right: calc((2 - var(--i)) * 6%); top: calc(var(--i) * 92px); padding: 1.1rem 1.2rem 0; height: 150px; border-radius: 20px; animation: house-float 7s ease-in-out infinite; animation-delay: calc(var(--i) * -2s); z-index: calc(var(--i) + 1); }
.house-card::before { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); opacity: 1; }
.house-head { display: flex; align-items: center; gap: .8rem; }
.house-head strong { display: block; font-size: 1rem; }
.house-head span { font-size: .78rem; color: var(--text-muted); font-weight: 600; }
.house-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: #fff; box-shadow: 0 6px 16px -4px var(--c); }
.house-wave { position: absolute; left: 0; bottom: 0; width: 225%; height: 44px; fill: var(--c); opacity: .35; animation: wave-scroll 8s linear infinite; animation-delay: calc(var(--i) * -1.7s); z-index: 0; }
@keyframes house-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Web / dashboard */
.web-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: center; }
.web-copy p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.browser { padding: 0; }
.browser-bar { display: flex; align-items: center; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--border); background: var(--glass-bg-strong); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #fb7185; }
.browser-bar .dots i:nth-child(2) { background: #fbbf24; }
.browser-bar .dots i:nth-child(3) { background: #34d399; }
.browser-bar .url { flex: 1; text-align: center; font-size: .78rem; font-weight: 600; color: var(--text-muted); background: var(--bg); border-radius: 8px; padding: .3rem 1rem; }
.browser-body { display: grid; grid-template-columns: 56px 1fr; min-height: 320px; }
.dash-side { border-right: 1px solid var(--border); padding: 1rem .8rem; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.dash-logo img { border-radius: 7px; }
.dash-nav { width: 26px; height: 8px; border-radius: 4px; background: var(--border); }
.dash-nav.on { background: var(--primary); }
.dash-main { padding: 1.1rem 1.2rem 1.2rem; }
.dash-title { font-weight: 800; font-size: 1.05rem; margin-bottom: .8rem; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-bottom: .8rem; }
.dash-kpis .glass-card { padding: .7rem .8rem; border-radius: 14px; }
.dash-kpis span { font-size: .68rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.dash-kpis strong { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.dash-chart { padding: .8rem 1rem 1rem; border-radius: 14px; }
.dash-chart svg { width: 100%; height: 120px; margin-top: .4rem; overflow: visible; }
.spark-line { stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 2s var(--ease) .2s; }
.spark-area { opacity: 0; transition: opacity 1s ease 1.4s; }
.spark-dot { opacity: 0; transition: opacity .4s ease 2s; }
.dash-chart.in-view .spark-line { stroke-dashoffset: 0; }
.dash-chart.in-view .spark-area, .dash-chart.in-view .spark-dot { opacity: 1; }
.dash-chart.in-view .spark-dot { animation: ping-dot 2s ease-out 2.2s infinite; }
@keyframes ping-dot { 0% { r: 5; opacity: 1; } 100% { r: 5; opacity: 1; } }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.steps-line { position: absolute; top: 34px; left: calc(16.66% + 40px); right: calc(16.66% + 40px); height: 3px; border-radius: 3px; background: var(--border); overflow: hidden; }
.steps-line span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #0EA5E9, #14b8a6); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
.steps.in-view .steps-line span { transform: scaleX(1); }
.step { text-align: center; }
.step-icon { width: 72px; height: 72px; border-radius: 22px; margin: 0 auto 1.1rem; display: grid; place-items: center; color: var(--primary-600); overflow: visible; }
[data-theme="dark"] .step-icon { color: var(--primary); }
.step-icon b { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; background: linear-gradient(135deg, #0EA5E9, #0284c7); color: #fff; box-shadow: 0 6px 14px -4px rgba(14,165,233,.7); z-index: 3; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--text-muted); margin: 0; }

/* Pricing */
.price { display: flex; flex-direction: column; text-align: center; padding: 1.8rem 1.6rem; overflow: visible; }
.price.featured { border-color: rgba(14,165,233,.6); box-shadow: 0 20px 60px rgba(14,165,233,.22), inset 0 1px 0 rgba(255,255,255,.9); }
.price.featured::before { background: linear-gradient(180deg, rgba(14,165,233,.16), transparent 70%); opacity: 1; }
.pricing-grid { align-items: stretch; }
@media (min-width: 961px) { .price.featured { transform: scale(1.04); } .price.featured:hover { transform: scale(1.04) translateY(-4px); } }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #0EA5E9, #0284c7); color: #fff; font-size: .72rem; font-weight: 800; padding: .3rem .85rem; border-radius: 999px; letter-spacing: .04em; white-space: nowrap; box-shadow: 0 6px 16px -4px rgba(14,165,233,.7); z-index: 3; }
.ribbon.alt { background: linear-gradient(135deg, #14b8a6, #0d9488); box-shadow: 0 6px 16px -4px rgba(20,184,166,.7); }
.price-amount { margin: .4rem 0 .6rem; }
.price-amount .amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(135deg, var(--primary), var(--primary-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="dark"] .price-amount .amount { background: linear-gradient(135deg, #7dd3fc, #38bdf8); -webkit-background-clip: text; background-clip: text; }
.price-amount .period { color: var(--text-muted); margin-left: .3rem; font-weight: 600; }
.price p { color: var(--text-muted); min-height: 3em; }
.checks { list-style: none; padding: 0; margin: 0 0 1.4rem; text-align: left; flex: 1; }
.checks li { padding: .4rem 0 .4rem 1.7rem; position: relative; font-size: .95rem; border-bottom: 1px dashed var(--border); }
.checks li:last-child { border-bottom: none; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }
.pricing-note { text-align: center; color: var(--text-muted); margin-top: 2rem; font-weight: 600; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: .8rem; }
.faq-item { padding: 0; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; font-weight: 700; font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--primary); border-radius: var(--radius); }
.faq-chevron { flex: none; color: var(--primary-600); transition: transform .35s var(--ease); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item p { margin: 0; padding: 0 1.4rem 1.2rem; color: var(--text-muted); animation: fade-up .4s var(--ease); }
.faq-item:hover { transform: none; }

/* CTA final */
.download { padding-top: 2rem; }
.cta-panel { position: relative; overflow: hidden; border-radius: 32px; background: var(--hero-grad); color: #fff; padding: 5rem 2rem 8rem; text-align: center; isolation: isolate; box-shadow: var(--shadow); }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg .blob-1 { width: 420px; height: 420px; background: radial-gradient(circle, #38bdf8, transparent 70%); top: -180px; left: -100px; animation: blob-a 20s ease-in-out infinite; }
.cta-bg .blob-2 { width: 400px; height: 400px; background: radial-gradient(circle, #2dd4bf, transparent 70%); bottom: -160px; right: -80px; animation: blob-b 24s ease-in-out infinite; }
.cta-content { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.cta-logo { margin: 0 auto 1.4rem; border-radius: 20px; box-shadow: 0 16px 40px rgba(0,0,0,.35); animation: float 6s ease-in-out infinite; }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(255,255,255,.86); font-size: 1.1rem; margin-bottom: 1.8rem; }
.cta-actions { margin-top: 1.2rem; display: flex; justify-content: center; }
.cta-waves { height: 90px; }
.cta-waves .wave path { fill: rgba(255,255,255,.14); }
.cta-waves .wave-3 path { fill: rgba(255,255,255,.22); }

/* Legal */
.legal { padding-top: calc(72px + 4rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal p { color: var(--text-muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 3rem 0; background: var(--glass-bg-strong); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.footer-brand { display: flex; flex-direction: column; gap: .4rem; }
.footer-brand > span { color: var(--text-muted); font-size: .9rem; }
.footer-links { display: flex; gap: 1.4rem; margin-left: auto; }
.footer-links a { color: var(--text-muted); font-weight: 600; }
.footer-links a:hover { color: var(--primary-600); }
.footer-copy { width: 100%; margin: 0; color: var(--text-muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.footer-dev a { font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .chip-1 { left: -6%; } .chip-2 { right: -8%; } .chip-3 { left: -2%; }
}
@media (max-width: 960px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: flex; }
  .hero { padding: calc(72px + 3rem) 0 7rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 3.5rem; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .store-row { justify-content: center; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .showcase-row, .web-inner { grid-template-columns: 1fr; gap: 2rem; margin-top: 3.5rem; }
  .showcase-row.reverse .showcase-copy { order: 0; }
  .steps { grid-template-columns: 1fr; gap: 2.2rem; max-width: 460px; margin: 0 auto; }
  .steps-line { display: none; }
  /* Menu mobile */
  .main-nav {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; margin: 0; padding: calc(72px + 1.5rem) 1.5rem 2rem;
    flex-direction: column; gap: .4rem; background: var(--bg-elev); border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(10,37,64,.18);
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; z-index: -1;
  }
  .main-nav a { color: var(--text) !important; font-size: 1.3rem; padding: .8rem 0; border-bottom: 1px solid var(--border); }
  .main-nav a::after { display: none; }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
  .site-header.menu-open { background: var(--bg-elev); border-bottom-color: var(--border); }
  .site-header.menu-open .brand, .site-header.menu-open .icon-btn { color: var(--text); }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .hero { padding: calc(72px + 2rem) 0 6rem; }
  .hero-title .w { padding-bottom: .05em; }
  .phone { width: 250px; height: 510px; }
  .phone-screen { padding-top: 52px; }
  .float-chip { font-size: .75rem; }
  .chip-1 { left: -4%; top: 8%; } .chip-2 { right: -6%; } .chip-3 { left: 0; bottom: 4%; }
  .footer-links { margin-left: 0; }
  .bar-chart { height: 170px; }
  .bar-col em { font-size: .6rem; }
  .cta-panel { padding: 3.5rem 1.2rem 6.5rem; border-radius: 24px; }
  .header-inner { gap: .6rem; }
  .brand-name { font-size: 1rem; }
  .house-stack { height: 300px; }
  .house-card { top: calc(var(--i) * 80px); height: 135px; }
}
@media (max-width: 380px) { .brand-name { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-title .w > span, .anim-up, .anim-in, .reveal { opacity: 1; transform: none; animation: none; }
  .mock-chart span, .bar-col .bar, .spark-rows span, .steps-line span { transform: scaleY(1) scaleX(1); }
  .ring-fg { stroke-dashoffset: 65; }
  .spark-line { stroke-dashoffset: 0; }
  .spark-area, .spark-dot, .bar-tooltip { opacity: 1; }
  .ios-notif { transform: none; opacity: 1; }
  .glass-card::after { display: none; }
  .tilt { transform: none !important; }
}
