/* Nanalu — site. Mesmas cores e fontes do app ("O céu da Lu"). Sem JavaScript, sem fontes externas: os efeitos são só CSS. */

@font-face { font-family: 'Figtree'; font-weight: 400; font-display: swap; src: url('/assets/fonts/figtree-400.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 600; font-display: swap; src: url('/assets/fonts/figtree-600.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 700; font-display: swap; src: url('/assets/fonts/figtree-700.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 700; font-display: swap; src: url('/assets/fonts/bricolage-700.woff2') format('woff2'); }

:root {
  --bg: #fbf7f2;
  --surface: #ffffff;
  --surface-2: #f4eee6;
  --ink: #23302b;
  --muted: #5b6660;
  --line: #ece4da;
  --primary: #b5562f;
  --on-primary: #ffffff;
  --moon: #f3d58a;
  --moon-deep: #e7b04a;
  --moon-soft: #fbefd5;
  --sky: #46658a;
  --sky-soft: #e4ecf4;
  --have: #4b6a57;
  --have-soft: #e3ece5;
  --danger: #a23b3b;
  --night: #141b33;
  --night-2: #1e2747;
  --night-ink: #f4eedf;
  --night-muted: #c9cfe0;
  --radius: 22px;
  --shadow: 0 18px 40px -22px rgba(20, 27, 51, 0.35);
  --display: 'Bricolage Grotesque', ui-rounded, system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141b33;
    --surface: #1e2747;
    --surface-2: #252f55;
    --ink: #f4eedf;
    --muted: #aeb6cc;
    --line: #2c3760;
    --primary: #f3d58a;
    --on-primary: #141b33;
    --moon-soft: #33395e;
    --sky: #93afcb;
    --sky-soft: #25345a;
    --have: #8fb59d;
    --have-soft: #22383a;
    --danger: #e07a7a;
    --shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: var(--primary); }
:focus-visible { outline: 3px solid var(--moon-deep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.6rem; display: inline-block; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--moon); color: var(--night); padding: 10px 14px; border-radius: 10px; z-index: 10; font-weight: 700; }
.skip:focus { left: 8px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* A página inicial tem o próprio roteiro de cores: noite no topo, dia no meio, noite no fim. */
.home {
  --bg: #fbf7f2; --surface: #ffffff; --surface-2: #f4eee6; --ink: #23302b; --muted: #5b6660; --line: #ece4da;
  --primary: #b5562f; --on-primary: #ffffff; --moon-soft: #fbefd5; --sky: #46658a; --sky-soft: #e4ecf4;
  --have: #4b6a57; --have-soft: #e3ece5; --shadow: 0 24px 60px -30px rgba(20, 27, 51, 0.35);
  color-scheme: light;
}

/* ---------- topo ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--night) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.topbar nav { margin-left: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--night-ink); text-decoration: none; font: 700 1.35rem var(--display); letter-spacing: -0.02em; }
.brand:hover { color: var(--moon); }
.nav { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--night-muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 10px 14px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--night-ink); background: rgba(255, 255, 255, 0.08); }
@media (max-width: 900px) { .topbar nav { display: none; } .topbar .btn { margin-left: auto; } }

.home .topbar { position: fixed; inset: 0 0 auto; background: rgba(14, 20, 44, 0.35); border-bottom-color: transparent; }
@supports (animation-timeline: scroll()) {
  .home .topbar { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; animation: bar-in linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
  @keyframes bar-in {
    to { background: rgba(14, 20, 44, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(255, 255, 255, 0.07); }
  }
}

/* ---------- botões ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center-row { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.06rem; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.btn-moon { background: linear-gradient(180deg, #f8e2a6, var(--moon)); color: var(--night); box-shadow: 0 12px 32px -12px rgba(243, 213, 138, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-moon:hover { color: var(--night); transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(243, 213, 138, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: var(--night-ink); background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { border-color: var(--moon); color: var(--moon); transform: translateY(-2px); }

/* ---------- céu animado (herói, recursos e final) ---------- */
.sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.stars { position: absolute; top: 0; left: 0; width: 1px; height: 1px; border-radius: 50%; }
.s1 { box-shadow: 1326px 308px 0 0.6px rgba(243,213,138,0.55), 1617px 98px 0 0.6px rgba(243,213,138,0.55), 296px 1097px 0 0.6px rgba(243,213,138,0.55), 385px 748px 0 0.6px rgba(243,213,138,0.55), 2387px 118px 0 0.6px rgba(243,213,138,0.55), 2078px 439px 0 0.6px rgba(243,213,138,0.55), 153px 176px 0 0.6px rgba(243,213,138,0.55), 1776px 856px 0 0.6px rgba(243,213,138,0.55), 286px 492px 0 0.6px rgba(243,213,138,0.55), 371px 1128px 0 0.6px rgba(243,213,138,0.55), 1738px 121px 0 0.6px rgba(243,213,138,0.55), 2316px 253px 0 0.6px rgba(243,213,138,0.55), 914px 1291px 0 0.6px rgba(243,213,138,0.55), 2387px 126px 0 0.6px rgba(243,213,138,0.55), 2363px 1199px 0 0.6px rgba(243,213,138,0.55), 1624px 101px 0 0.6px rgba(243,213,138,0.55), 905px 95px 0 0.6px rgba(243,213,138,0.55), 2280px 272px 0 0.6px rgba(243,213,138,0.55), 1186px 858px 0 0.6px rgba(243,213,138,0.55), 590px 1107px 0 0.6px rgba(243,213,138,0.55), 482px 1169px 0 0.6px rgba(243,213,138,0.55), 1263px 1147px 0 0.6px rgba(243,213,138,0.55), 740px 211px 0 0.6px rgba(243,213,138,0.55), 2382px 1169px 0 0.6px rgba(243,213,138,0.55), 769px 762px 0 0.6px rgba(243,213,138,0.55), 399px 1121px 0 0.6px rgba(243,213,138,0.55), 257px 1155px 0 0.6px rgba(243,213,138,0.55), 244px 1267px 0 0.6px rgba(243,213,138,0.55), 843px 1016px 0 0.6px rgba(243,213,138,0.55), 2177px 875px 0 0.6px rgba(243,213,138,0.55), 1286px 953px 0 0.6px rgba(243,213,138,0.55), 2398px 928px 0 0.6px rgba(243,213,138,0.55), 1481px 613px 0 0.6px rgba(243,213,138,0.55), 1017px 368px 0 0.6px rgba(243,213,138,0.55), 999px 167px 0 0.6px rgba(243,213,138,0.55), 2352px 614px 0 0.6px rgba(243,213,138,0.55), 2151px 1013px 0 0.6px rgba(243,213,138,0.55), 1406px 919px 0 0.6px rgba(243,213,138,0.55), 1179px 1247px 0 0.6px rgba(243,213,138,0.55), 299px 241px 0 0.6px rgba(243,213,138,0.55), 2096px 856px 0 0.6px rgba(243,213,138,0.55), 675px 700px 0 0.6px rgba(243,213,138,0.55), 622px 1001px 0 0.6px rgba(243,213,138,0.55), 1727px 80px 0 0.6px rgba(243,213,138,0.55), 317px 1142px 0 0.6px rgba(243,213,138,0.55), 2347px 642px 0 0.6px rgba(243,213,138,0.55), 1393px 717px 0 0.6px rgba(243,213,138,0.55), 2034px 1187px 0 0.6px rgba(243,213,138,0.55), 1868px 140px 0 0.6px rgba(243,213,138,0.55), 383px 552px 0 0.6px rgba(243,213,138,0.55), 1941px 133px 0 0.6px rgba(243,213,138,0.55), 248px 634px 0 0.6px rgba(243,213,138,0.55), 2367px 912px 0 0.6px rgba(243,213,138,0.55), 1165px 790px 0 0.6px rgba(243,213,138,0.55), 1421px 46px 0 0.6px rgba(243,213,138,0.55), 1891px 727px 0 0.6px rgba(243,213,138,0.55), 688px 1251px 0 0.6px rgba(243,213,138,0.55), 479px 1011px 0 0.6px rgba(243,213,138,0.55), 241px 446px 0 0.6px rgba(243,213,138,0.55), 1177px 264px 0 0.6px rgba(243,213,138,0.55), 1014px 814px 0 0.6px rgba(243,213,138,0.55), 1601px 1016px 0 0.6px rgba(243,213,138,0.55), 330px 340px 0 0.6px rgba(243,213,138,0.55), 1839px 822px 0 0.6px rgba(243,213,138,0.55), 2250px 569px 0 0.6px rgba(243,213,138,0.55), 560px 881px 0 0.6px rgba(243,213,138,0.55), 2253px 570px 0 0.6px rgba(243,213,138,0.55), 1701px 734px 0 0.6px rgba(243,213,138,0.55), 1558px 472px 0 0.6px rgba(243,213,138,0.55), 618px 169px 0 0.6px rgba(243,213,138,0.55), 721px 309px 0 0.6px rgba(243,213,138,0.55), 950px 477px 0 0.6px rgba(243,213,138,0.55), 49px 993px 0 0.6px rgba(243,213,138,0.55), 746px 538px 0 0.6px rgba(243,213,138,0.55), 1154px 8px 0 0.6px rgba(243,213,138,0.55), 596px 858px 0 0.6px rgba(243,213,138,0.55), 2189px 756px 0 0.6px rgba(243,213,138,0.55), 2319px 652px 0 0.6px rgba(243,213,138,0.55), 514px 1055px 0 0.6px rgba(243,213,138,0.55), 221px 935px 0 0.6px rgba(243,213,138,0.55), 2290px 803px 0 0.6px rgba(243,213,138,0.55), 1630px 817px 0 0.6px rgba(243,213,138,0.55), 1614px 212px 0 0.6px rgba(243,213,138,0.55), 1972px 1299px 0 0.6px rgba(243,213,138,0.55), 1640px 127px 0 0.6px rgba(243,213,138,0.55), 780px 137px 0 0.6px rgba(243,213,138,0.55), 855px 902px 0 0.6px rgba(243,213,138,0.55), 664px 225px 0 0.6px rgba(243,213,138,0.55), 1392px 1230px 0 0.6px rgba(243,213,138,0.55), 215px 209px 0 0.6px rgba(243,213,138,0.55); }
.s2 { box-shadow: 0px 1160px 0 1px rgba(243,213,138,0.75), 619px 1098px 0 1px rgba(243,213,138,0.75), 415px 744px 0 1px rgba(243,213,138,0.75), 104px 144px 0 1px rgba(243,213,138,0.75), 851px 1257px 0 1px rgba(243,213,138,0.75), 1541px 304px 0 1px rgba(243,213,138,0.75), 1033px 711px 0 1px rgba(243,213,138,0.75), 1491px 971px 0 1px rgba(243,213,138,0.75), 503px 236px 0 1px rgba(243,213,138,0.75), 1999px 954px 0 1px rgba(243,213,138,0.75), 1967px 990px 0 1px rgba(243,213,138,0.75), 1277px 175px 0 1px rgba(243,213,138,0.75), 590px 209px 0 1px rgba(243,213,138,0.75), 1403px 542px 0 1px rgba(243,213,138,0.75), 1960px 330px 0 1px rgba(243,213,138,0.75), 2114px 47px 0 1px rgba(243,213,138,0.75), 840px 1081px 0 1px rgba(243,213,138,0.75), 1481px 300px 0 1px rgba(243,213,138,0.75), 2224px 55px 0 1px rgba(243,213,138,0.75), 2163px 610px 0 1px rgba(243,213,138,0.75), 372px 534px 0 1px rgba(243,213,138,0.75), 2123px 751px 0 1px rgba(243,213,138,0.75), 684px 728px 0 1px rgba(243,213,138,0.75), 912px 1090px 0 1px rgba(243,213,138,0.75), 2218px 1029px 0 1px rgba(243,213,138,0.75), 1350px 456px 0 1px rgba(243,213,138,0.75), 799px 490px 0 1px rgba(243,213,138,0.75), 1641px 464px 0 1px rgba(243,213,138,0.75), 818px 1060px 0 1px rgba(243,213,138,0.75), 2018px 728px 0 1px rgba(243,213,138,0.75), 118px 57px 0 1px rgba(243,213,138,0.75), 1144px 967px 0 1px rgba(243,213,138,0.75), 1061px 396px 0 1px rgba(243,213,138,0.75), 1410px 915px 0 1px rgba(243,213,138,0.75), 1431px 746px 0 1px rgba(243,213,138,0.75), 329px 451px 0 1px rgba(243,213,138,0.75), 418px 464px 0 1px rgba(243,213,138,0.75), 1925px 402px 0 1px rgba(243,213,138,0.75), 1383px 418px 0 1px rgba(243,213,138,0.75), 1976px 1278px 0 1px rgba(243,213,138,0.75), 7px 981px 0 1px rgba(243,213,138,0.75), 1409px 173px 0 1px rgba(243,213,138,0.75), 491px 795px 0 1px rgba(243,213,138,0.75), 816px 979px 0 1px rgba(243,213,138,0.75), 731px 888px 0 1px rgba(243,213,138,0.75); }
.s3 { box-shadow: 1361px 177px 0 1.5px rgba(243,213,138,0.95), 1621px 948px 0 1.5px rgba(243,213,138,0.95), 1644px 173px 0 1.5px rgba(243,213,138,0.95), 650px 348px 0 1.5px rgba(243,213,138,0.95), 520px 56px 0 1.5px rgba(243,213,138,0.95), 619px 1209px 0 1.5px rgba(243,213,138,0.95), 1906px 299px 0 1.5px rgba(243,213,138,0.95), 1942px 717px 0 1.5px rgba(243,213,138,0.95), 638px 1123px 0 1.5px rgba(243,213,138,0.95), 2245px 268px 0 1.5px rgba(243,213,138,0.95), 87px 29px 0 1.5px rgba(243,213,138,0.95), 420px 1078px 0 1.5px rgba(243,213,138,0.95), 570px 888px 0 1.5px rgba(243,213,138,0.95), 797px 432px 0 1.5px rgba(243,213,138,0.95), 114px 515px 0 1.5px rgba(243,213,138,0.95), 871px 599px 0 1.5px rgba(243,213,138,0.95), 2052px 492px 0 1.5px rgba(243,213,138,0.95), 1335px 531px 0 1.5px rgba(243,213,138,0.95); }
.glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
.g1 { width: 520px; height: 520px; right: 4%; top: 6%; background: radial-gradient(circle, rgba(243, 213, 138, 0.45), transparent 65%); }
.g2 { width: 640px; height: 640px; left: -12%; bottom: 0; background: radial-gradient(circle, rgba(147, 175, 203, 0.35), transparent 65%); }
.shoot { position: absolute; top: 14%; left: 78%; width: 140px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(243, 213, 138, 0), #fff6dc); transform: rotate(-24deg); opacity: 0; }
.shoot.late { top: 30%; left: 46%; width: 100px; }

/* ---------- herói ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--night-ink); background: #141b33 url('/assets/img/ceu-nuvens-1600.webp') center bottom / cover no-repeat; background-image: image-set(url('/assets/img/ceu-nuvens-1600.webp') 1x, url('/assets/img/ceu-nuvens-2400.webp') 2x); }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(180deg, transparent, var(--bg)); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(100svh, 940px); padding-block: 120px 160px; }
.hero-copy { max-width: 600px; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); font-weight: 600; font-size: 0.92rem; color: var(--night-ink); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--moon); box-shadow: 0 0 0 0 rgba(243, 213, 138, 0.7); }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 4.9rem); line-height: 1.02; letter-spacing: -0.035em; color: #fff8ea; margin-bottom: 22px; }
.hero h1 em { font-style: normal; display: inline; background: linear-gradient(100deg, #f3d58a 10%, #fff3cf 40%, #e7b04a 70%, #f3d58a 90%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.6; color: #d5daea; max-width: 50ch; margin-bottom: 32px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 30px 0 0; padding: 0; color: #c9cfe0; font-weight: 600; font-size: 0.95rem; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: rgba(243, 213, 138, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23F3D58A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Celular com a tela real do app. */
.device { position: relative; width: 300px; aspect-ratio: 780 / 1688; padding: 10px; border-radius: 48px; background: linear-gradient(160deg, #3a4472, #0d1226 55%); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.75), 0 0 0 1.5px rgba(255, 255, 255, 0.12) inset, 0 0 80px -20px rgba(243, 213, 138, 0.35); }
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 38px; }
.device::after { content: ''; position: absolute; inset: 10px; border-radius: 38px; background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 30%); pointer-events: none; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 600px; }
.hero-visual .device { width: min(310px, 74vw); transform: rotate(-4deg); z-index: 1; }
.hero-lu { position: absolute; z-index: 4; width: 180px; bottom: 2%; left: -2%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35)); }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; background: rgba(255, 252, 245, 0.94); color: var(--ink); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); max-width: 260px; }
.float-card img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.float-card small { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--primary); }
.float-card strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.float-card span { font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.fc-week { left: -6%; top: 22%; }
.fc-notify { right: -8%; bottom: 20%; background: rgba(30, 39, 71, 0.82); color: var(--night-ink); border: 1px solid rgba(255, 255, 255, 0.12); }
.fc-notify img { width: 36px; height: 36px; border-radius: 10px; background: #141b33; padding: 3px; }
.fc-notify small { color: var(--moon); }
.check { width: 30px; height: 30px; border-radius: 50%; flex: none; background: var(--have) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-block: 112px 120px; gap: 48px; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero .lead { margin-inline: auto; }
  .hero .cta-row, .proof { justify-content: center; }
  .hero-visual { min-height: 0; padding-block: 10px 30px; }
  .hero-visual .device { width: min(270px, 62vw); }
  .hero-lu { width: min(130px, 30vw); left: max(-6px, calc(50% - 250px)); bottom: 0; }
  .fc-week { left: max(0px, calc(50% - 260px)); top: 18%; }
  .fc-notify { right: max(0px, calc(50% - 270px)); bottom: 16%; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: clamp(2.35rem, 11vw, 3rem); }
  .hero .btn-lg { width: 100%; }
  .float-card { padding: 9px 12px 9px 9px; gap: 9px; border-radius: 16px; max-width: 200px; }
  .float-card img { width: 38px; height: 38px; }
  .float-card strong { font-size: 0.82rem; }
  .float-card small { font-size: 0.68rem; }
  .fc-notify img { width: 30px; height: 30px; }
  .fc-week { left: -4px; }
  .fc-notify { right: -4px; }
}

/* ---------- seções ---------- */
.section { position: relative; padding-block: clamp(64px, 8.5vw, 112px); }
.day { background: var(--bg); }
.day.alt { background: var(--surface-2); }
.night { background: #141b33; color: var(--night-ink); isolation: isolate; overflow: hidden; }
.night h2, .night h3 { color: #fff8ea; }
.night .eyebrow { color: var(--moon); }
.section-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -0.03em; }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.night .section-head p { color: var(--night-muted); }
.center { text-align: center; margin-inline: auto; }
p.big { font-size: 1.15rem; color: var(--muted); }

/* ---------- explorador de semanas (só CSS) ---------- */
.explorer { max-width: 880px; margin: 0 auto; --p: 62.5%; }
.weeks { position: relative; display: flex; justify-content: space-between; border: 0; margin: 0 auto 30px; padding: 0; max-width: 760px; }
.weeks input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.weeks label { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; background: var(--surface); border: 2px solid var(--line); font-weight: 700; color: var(--muted); transition: transform 0.25s, background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s; }
.weeks label:hover { border-color: var(--moon-deep); color: var(--ink); }
.weeks input:checked + label { background: var(--moon); border-color: var(--moon-deep); color: var(--night); transform: scale(1.18); box-shadow: 0 0 0 6px rgba(243, 213, 138, 0.3), 0 10px 24px -8px rgba(231, 176, 74, 0.8); }
.weeks input:focus-visible + label { outline: 3px solid var(--primary); outline-offset: 4px; }
.track { position: absolute; left: 24px; right: 24px; top: 22px; height: 4px; border-radius: 4px; background: var(--line); }
.fill { position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: 4px; background: linear-gradient(90deg, var(--moon), var(--moon-deep)); transition: width 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.explorer:has(#w8:checked) { --p: 0%; }
.explorer:has(#w11:checked) { --p: 12.5%; }
.explorer:has(#w12:checked) { --p: 25%; }
.explorer:has(#w16:checked) { --p: 37.5%; }
.explorer:has(#w18:checked) { --p: 50%; }
.explorer:has(#w20:checked) { --p: 62.5%; }
.explorer:has(#w28:checked) { --p: 75%; }
.explorer:has(#w34:checked) { --p: 87.5%; }
.explorer:has(#w39:checked) { --p: 100%; }
.panel { display: none; grid-template-columns: 260px 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 36px; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); }
.explorer:has(#w8:checked) .p8, .explorer:has(#w11:checked) .p11, .explorer:has(#w12:checked) .p12,
.explorer:has(#w16:checked) .p16, .explorer:has(#w18:checked) .p18, .explorer:has(#w20:checked) .p20,
.explorer:has(#w28:checked) .p28, .explorer:has(#w34:checked) .p34, .explorer:has(#w39:checked) .p39 { display: grid; }
/* Sem :has(), mostra a semana 20. */
@supports not selector(:has(*)) { .p20 { display: grid; } .track { display: none; } }
.panel img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 34px; border-radius: 50%; background: radial-gradient(circle, var(--moon-soft) 55%, transparent 72%); }
.panel small { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); font-size: 0.85rem; }
.panel h3 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 6px 0 6px; }
.panel .size { font: 700 clamp(1.4rem, 2.6vw, 1.9rem) var(--display); color: var(--sky); margin-bottom: 10px; }
.panel p:last-child { color: var(--muted); font-size: 1.08rem; margin: 0; }
.fine { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 18px; }
@media (max-width: 640px) {
  .weeks label { width: 34px; height: 34px; font-size: 0.85rem; }
  .track { left: 17px; right: 17px; top: 15px; height: 3px; }
  .panel { grid-template-columns: 1fr; text-align: center; border-radius: 28px; }
  .panel img { width: 180px; margin-inline: auto; padding: 24px; }
}

/* ---------- como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 30px; padding: 22px 24px 28px; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -34px rgba(20, 27, 51, 0.45); }
.shot { height: 320px; overflow: hidden; border-radius: 22px; background: linear-gradient(160deg, var(--sky-soft), var(--moon-soft)); margin-bottom: 22px; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.shot img { width: 78%; margin: 22px auto 0; border-radius: 22px 22px 0 0; box-shadow: 0 0 0 6px #0d1226; }
.num { position: absolute; top: 300px; left: 24px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--moon); color: var(--night); font: 700 1.2rem var(--display); box-shadow: 0 0 0 6px var(--surface); }
.step h3 { font-size: 1.35rem; margin: 18px 0 6px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(80%, 320px); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 6px 16px 24px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: center; }
}

/* ---------- baú ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -0.03em; }
.qs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0; }
.qs li { padding: 8px 14px; border-radius: 999px; background: var(--sky-soft); color: var(--sky); font-weight: 700; font-size: 0.92rem; }
.math { display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 24px; }
.math img { width: 60px; height: 60px; object-fit: contain; flex: none; padding: 6px; border-radius: 16px; background: var(--moon-soft); }
.math strong { display: block; font-size: 1.05rem; }
.math span { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--ink); }
.ticks li::before, .big-ticks li::before { content: ''; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--have-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%234B6A57' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.split-visual { position: relative; display: grid; place-items: center; padding: 40px 0; }
.split-visual::before { content: ''; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--moon-soft), transparent 70%); }
.split-visual .device { width: min(290px, 70vw); transform: rotate(3deg); }
.bau-lu { position: absolute; z-index: 2; width: min(190px, 42vw); left: -2%; bottom: 0; filter: drop-shadow(0 20px 30px rgba(20, 27, 51, 0.25)); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .bau-lu { left: 2%; } }

/* ---------- recursos (bento, noite) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(210px, auto); gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: 30px; padding: 28px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)); border: 1px solid rgba(255, 255, 255, 0.09); transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.tile:hover { transform: translateY(-5px); border-color: rgba(243, 213, 138, 0.45); box-shadow: 0 30px 60px -30px rgba(243, 213, 138, 0.35); }
.tile h3 { font-size: 1.4rem; margin-bottom: 8px; }
.tile p { color: var(--night-muted); margin: 0; }
.t-sky { grid-row: span 2; display: flex; flex-direction: column; padding-bottom: 0; }
.t-sky .crop { flex: 1; min-height: 300px; margin-top: 24px; position: relative; }
.t-sky .crop img { position: absolute; left: 50%; top: 0; width: 82%; transform: translateX(-50%); border-radius: 26px 26px 0 0; box-shadow: 0 0 0 8px #0d1226, 0 0 60px -10px rgba(243, 213, 138, 0.35); }
.t-lock { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.lockscreen { border-radius: 26px; padding: 22px 16px 26px; text-align: center; background: linear-gradient(180deg, #2a3a6b, #46658a 70%, #93afcb); box-shadow: 0 0 0 6px #0d1226; }
.lockscreen .time { display: block; font: 700 3rem/1 var(--display); color: #fff; margin-bottom: 18px; letter-spacing: -0.02em; }
.notif { display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.82); color: var(--ink); }
.notif img { width: 32px; height: 32px; padding: 3px; border-radius: 9px; background: #141b33; flex: none; }
.notif b { display: block; font-size: 0.9rem; }
.notif span { font-size: 0.86rem; color: var(--muted); }
.samu { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 18px; border-radius: 999px; background: #f2b8a2; color: #3b1408; font-weight: 700; }
.samu::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #a23b3b; }
.t-care { grid-column: span 2; display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; }
.t-care img { width: 120px; }
.tile-art { float: right; width: 76px; height: 76px; object-fit: contain; margin: -6px -6px 8px 12px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35)); }
.tile-art.twins { display: flex; width: 104px; }
.tile-art.twins img { width: 60px; height: 60px; object-fit: contain; }
.tile-art.twins img + img { margin-left: -16px; margin-top: 14px; transform: rotate(10deg); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .t-sky { grid-row: span 1; grid-column: span 2; }
  .t-sky .crop { min-height: 260px; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .t-sky, .t-lock, .t-care { grid-column: auto; }
  .t-lock { grid-template-columns: 1fr; }
  .t-care { grid-template-columns: 84px 1fr; }
  .t-care img { width: 84px; }
}

/* ---------- privacidade ---------- */
.vault { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.vault h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -0.03em; }
.vault-art { position: relative; display: grid; place-items: center; }
.vault-art::before { content: ''; position: absolute; width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #1e2747 0 58%, transparent 59%); }
.vault-art::after { content: ''; position: absolute; width: 100%; aspect-ratio: 1; border-radius: 50%; background-image: radial-gradient(1.5px 1.5px at 22% 30%, #f3d58a, transparent), radial-gradient(1px 1px at 70% 22%, #f3d58a, transparent), radial-gradient(1.5px 1.5px at 80% 64%, #f3d58a, transparent), radial-gradient(1px 1px at 30% 72%, #f3d58a, transparent); }
.vault-art img { position: relative; z-index: 1; width: 78%; }
.big-ticks { list-style: none; padding: 0; margin: 24px 0 26px; display: grid; gap: 16px; }
.big-ticks li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 1.1rem; color: var(--muted); }
.big-ticks b { color: var(--ink); }
.link-arrow { font-weight: 700; color: var(--primary); text-decoration: none; }
.link-arrow::after { content: ' →'; transition: margin 0.2s; }
.link-arrow:hover::after { margin-left: 4px; }
@media (max-width: 860px) { .vault { grid-template-columns: 1fr; } .vault-art { max-width: 340px; margin-inline: auto; } }

/* ---------- quem faz ---------- */
.doctor { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.doctor h2 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -0.03em; }
.people { display: grid; gap: 12px; margin-top: 26px; }
.person { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.person b { display: block; font-size: 1.05rem; }
.person span { color: var(--muted); font-size: 0.94rem; line-height: 1.45; }
.avatar { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--night); color: var(--moon); font: 700 1.05rem var(--display); object-fit: contain; padding: 0; }
img.avatar { padding: 8px; }
.sources { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.sources li { display: grid; gap: 2px; padding: 16px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--moon-deep); }
.sources b { font-size: 1.02rem; }
.sources span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .doctor { grid-template-columns: 1fr; } }

/* ---------- chamada final ---------- */
.final-night { position: relative; isolation: isolate; overflow: hidden; text-align: center; color: var(--night-ink); padding-block: clamp(80px, 10vw, 128px); background: radial-gradient(ellipse at 50% 40%, #26305a, #141b33 70%); }
.final-lu { width: min(300px, 70vw); margin: 0 auto 8px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4)); }
.final-night h2 { color: #fff8ea; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.03em; }
.final-night p { color: var(--night-muted); font-size: 1.15rem; margin-bottom: 28px; }
.home .footer { border-top: 1px solid rgba(255, 255, 255, 0.06); }

/* ---------- movimento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .s1 { animation: twinkle 5s ease-in-out infinite alternate; }
  .s2 { animation: twinkle 3.6s ease-in-out infinite alternate-reverse; }
  .s3 { animation: twinkle 2.4s ease-in-out infinite alternate; }
  @keyframes twinkle { from { opacity: 0.35; } to { opacity: 1; } }
  .shoot { animation: shoot 9s ease-in 2.5s infinite; }
  .shoot.late { animation-delay: 6.5s; animation-duration: 11s; }
  @keyframes shoot {
    0% { opacity: 0; translate: 0 0; }
    2% { opacity: 1; }
    9% { opacity: 0; translate: -460px 205px; }
    100% { opacity: 0; translate: -460px 205px; }
  }
  .glow { animation: drift 16s ease-in-out infinite alternate; }
  .g2 { animation-duration: 22s; }
  @keyframes drift { to { transform: translate(40px, -30px) scale(1.1); } }
  .dot { animation: pulse 2.2s ease-out infinite; }
  @keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(243, 213, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(243, 213, 138, 0); } }
  .hero h1 em { animation: shimmer 7s ease-in-out infinite; }
  @keyframes shimmer { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

  /* Entrada do herói. */
  .hero-copy > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.32s; }
  .hero-visual .device { animation: phone-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }
  @keyframes phone-in { from { opacity: 0; transform: translateY(60px) rotate(2deg); } }
  .float-card, .hero-lu { animation: pop 0.7s cubic-bezier(0.3, 1.4, 0.5, 1) both, bob 6s ease-in-out infinite; }
  .fc-week { animation-delay: 0.7s, 1.4s; }
  .fc-notify { animation-delay: 0.95s, 0.2s; }
  .hero-lu { animation-delay: 0.5s, 0s; animation-duration: 0.7s, 7s; }
  @keyframes pop { from { opacity: 0; scale: 0.6; } }
  @keyframes bob { 50% { translate: 0 -12px; } }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } }

  .final-lu, .bau-lu { animation: bob 7s ease-in-out infinite; }
  .panel { animation: swap 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .panel img { animation: grow 0.6s cubic-bezier(0.3, 1.4, 0.5, 1); }
  @keyframes swap { from { opacity: 0; transform: translateY(12px); } }
  @keyframes grow { from { scale: 0.5; rotate: -12deg; } }

  /* Revela as seções ao rolar, onde o navegador suporta. Sem suporte, tudo aparece normalmente. */
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .hero-visual { animation: lift linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
    @keyframes lift { to { transform: translateY(-70px); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- perguntas ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 1.06rem; padding: 18px 32px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--muted); padding-bottom: 6px; }


/* ---------- páginas de texto (privacidade, termos, suporte) ---------- */
.page-hero { background: var(--night); color: var(--night-ink); padding-block: 56px 48px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); color: var(--night-ink); }
.page-hero p { color: var(--night-muted); margin: 0; }
.prose { padding-block: 48px 96px; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose .callout { background: var(--moon-soft); border-radius: 18px; padding: 18px 22px; margin: 24px 0; }
.prose .callout p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.97rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 700; }
@media (max-width: 600px) {
  .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; }
  .prose thead { display: none; }
  .prose tr { border: 1px solid var(--line); border-radius: 14px; padding: 6px 0; margin-bottom: 10px; }
  .prose td { border: 0; padding: 4px 14px; }
  .prose td:first-child { font-weight: 700; }
}
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 22px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* ---------- rodapé ---------- */
.footer { background: var(--night); color: var(--night-muted); padding-block: 48px 32px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-note { margin-top: 10px; max-width: 34ch; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--night-ink); }
.footer a:hover { color: var(--moon); }
.footer-alert { margin-top: 28px; padding: 14px 18px; background: rgba(255, 255, 255, 0.05); border-radius: 14px; font-size: 0.95rem; }
.footer-legal { font-size: 0.85rem; margin: 18px 0 0; }

