/* Visual "cósmico": fundo escuro com o cérebro 3D (brain.js) e cartões de vidro fosco por cima */
:root {
  --bg: #0a0720; --card: rgba(24, 17, 58, .46); --card-solid: #171036; --field: rgba(255, 255, 255, .07);
  --ink: #eeeaff; --muted: #aaa4d6; --accent: #7c3aed; --gold: #5ee7f5; --line: rgba(196, 181, 253, .18);
  --red: #ff6b7d; color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--ink); padding-bottom: 84px; }
.top { display: flex; justify-content: space-between; align-items: center;
  padding: 16px 16px 4px; max-width: 560px; margin: 0 auto; }
h1 { font-size: 22px; margin: 0; letter-spacing: .3px; }
h1 span { color: var(--gold); }
h2 { font-size: 18px; margin: 0 0 6px; }
main { max-width: 560px; margin: 0 auto; padding: 8px 16px; }
.tab { display: none; } .tab.active { display: block; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px; margin: 12px 0; position: relative; }
.center { text-align: center; }
.muted { color: var(--muted); margin: 0 0 12px; }
.hello { font-size: 20px; margin: 8px 0 0; }
.affirm blockquote { font-size: 21px; margin: 6px 0 12px; font-family: Georgia, serif; }
.affirm small { color: var(--gold); text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }
button { font: inherit; border: 0; border-radius: 12px; padding: 12px 18px;
  background: var(--accent); color: #fff; cursor: pointer; width: 100%; margin-top: 8px; }
button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
input { font: inherit; width: 100%; padding: 12px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--field); color: var(--ink); margin: 4px 0; }
.moods { display: flex; gap: 6px; }
.moods button { background: var(--field); font-size: 26px; padding: 8px 0; border: 2px solid transparent; }
.moods button.sel { border-color: var(--gold); }
.ritual { display: grid; gap: 10px; margin-top: 12px; }
.ritual .row b { display: block; font-size: 14px; margin-bottom: 4px; }
.dots { display: flex; flex-wrap: wrap; gap: 6px; }
.dots button { width: 34px; height: 34px; padding: 0; margin: 0; border-radius: 50%;
  background: var(--field); border: 2px solid var(--line); color: var(--ink); }
.dots button.on { background: var(--gold); border-color: var(--gold); color: #0a0720; }
.breath { width: 180px; height: 180px; border-radius: 50%; margin: 20px auto;
  background: radial-gradient(circle, var(--gold), var(--accent)); display: grid; place-items: center;
  color: #fff; font-weight: 600; transform: scale(.6); transition: transform 4s ease-in-out; }
.breath.big { transform: scale(1); }
.list { list-style: none; padding: 0; margin: 12px 0 0; }
.list li { border-top: 1px solid var(--line); padding: 10px 0; font-size: 14px; }
.list li b { color: var(--muted); font-weight: 500; }
.price { font-size: 34px; font-weight: 700; margin: 8px 0 0; }
.price small { font-size: 15px; color: var(--muted); font-weight: 400; }
.ticks { padding-left: 0; list-style: none; text-align: left; }
.ticks li::before { content: "✓ "; color: var(--gold); font-weight: 700; }
.fine { font-size: 12px; color: var(--muted); text-align: center; }
.top-actions { display: flex; gap: 8px; align-items: center; }
.lang-select { font: inherit; font-size: 13px; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); }
.lang-full { width: 100%; font-size: 16px; padding: 12px; margin-top: 8px; }
.sos { width: auto; margin: 0; padding: 6px 12px; background: var(--red); color: #fff; font-weight: 700; font-size: 13px; }
.call { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px; margin: 8px 0; text-align: left; }
.call.red { border-color: var(--red); color: var(--red); font-weight: 700; }
.sheet { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex;
  align-items: flex-end; justify-content: center; z-index: 20; }
.sheet[hidden] { display: none; }
.sheet-box { background: var(--card); width: 100%; max-width: 560px; border-radius: 22px 22px 0 0;
  padding: 22px 18px 28px; text-align: center; max-height: 90vh; overflow: auto; }
.premium-only.locked > *:not(.lock) { filter: blur(3px); pointer-events: none; user-select: none; }
.lock { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.lock button { width: auto; }
.tabs { position: fixed; bottom: 0; left: 0; right: 0; display: flex; background: var(--card);
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); z-index: 10; }
.tabs button { background: none; color: var(--muted); margin: 0; border-radius: 0; padding: 8px 0;
  font-size: 20px; display: flex; flex-direction: column; align-items: center; }
.tabs button span { font-size: 11px; }
.tabs button.active { color: var(--accent); }
body.logged-out main, body.logged-out .tabs { display: none; }
body:not(.logged-out) .login { display: none; }
.login { min-height: 70vh; display: grid; place-items: center; padding: 16px; }
.login-box { max-width: 380px; text-align: center; }
.login-box img { border-radius: 22px; }
.gbtn { display: flex; justify-content: center; min-height: 44px; margin: 16px 0 4px; }
.user { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 8px; }
.user img { width: 44px; height: 44px; border-radius: 50%; }
.demo { background: var(--gold); color: #000; text-align: center; font-size: 13px; padding: 4px; }
.toast { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); background: var(--accent);
  color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 30; font-size: 14px; }

/* ---------- Livro + audiobook ---------- */
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }
.book-title { font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.3; text-wrap: balance; }
.book-cover { text-align: center; }
.chapters { list-style: none; padding: 0; margin: 0; }
.chap { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left;
  background: none; color: var(--ink); border-top: 1px solid var(--line); border-radius: 0; margin: 0; padding: 12px 0; }
.chap em { font-style: normal; color: var(--gold); font-size: 13px; white-space: nowrap; }
.back { width: auto; margin: 4px 0 0; }
.reader { padding-bottom: 90px; }
.reader p, .reader li { font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.65; }
.bk { border-radius: 8px; transition: background .3s; }
.bk.reading { background: color-mix(in srgb, var(--gold) 22%, transparent); }
.bk-sub { color: var(--muted); font-style: italic; margin-top: 0; }
.reader h3 { font-size: 17px; margin: 22px 0 6px; color: var(--accent); }
.reader blockquote { margin: 14px 0; padding-left: 14px; border-left: 3px solid var(--gold);
  font-family: Georgia, serif; font-style: italic; font-size: 17px; }
.reader aside { background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 14px 0; font-size: 15px; }
.book-list { padding-left: 20px; }
.player { position: fixed; left: 0; right: 0; bottom: 64px; z-index: 9; display: flex; gap: 8px; justify-content: center;
  align-items: center; padding: 10px 16px; background: var(--card); border-top: 1px solid var(--line); }
.player button { margin: 0; }
.player .play { flex: 1; max-width: 260px; }
.player .icon { width: 48px; padding: 12px 0; background: var(--field); color: var(--ink); border: 1px solid var(--line); }
.player .icon:disabled { opacity: .35; }
.player .rate { width: 60px; font-size: 14px; }
body.logged-out .player { display: none; }
.pro-badge { color: var(--gold); margin: -2px 0 10px; }

/* ---------- Período grátis ---------- */
.trial-banner { background: var(--accent); color: #fff; text-align: center; font-size: 13px; padding: 6px 16px; cursor: pointer; }
.expired { position: fixed; inset: 0; z-index: 15; background: rgba(10, 7, 32, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); overflow: auto;
  display: flex; align-items: center; justify-content: center; padding: 24px max(16px, env(safe-area-inset-left, 0px)); }
.expired[hidden] { display: none; }
.expired-box { max-width: 420px; width: 100%; text-align: center; }
.expired-box img { border-radius: 18px; }
button.sos-link { color: var(--red); border-color: var(--red); font-weight: 700; }
body.logged-out .trial-banner, body.logged-out .expired { display: none; }

/* ---------- Cérebro 3D de fundo ---------- */
#brain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block; }
body { background: radial-gradient(120% 80% at 50% 30%, #1a0f4a 0%, #0a0720 60%, #05040f 100%) fixed var(--bg); }
.card, .tabs, .player { backdrop-filter: blur(7px) saturate(140%); -webkit-backdrop-filter: blur(7px) saturate(140%); }
.sheet-box { background: var(--card-solid); }
.login { align-items: end; min-height: 82vh; }
.login-box { padding: 20px 18px; border-radius: 24px; background: rgba(10, 7, 32, .45);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.demo { background: #5b21b6; color: #fff; }
.freq { color: var(--gold); font-size: 14px; margin: -4px 0 4px; }

/* ---------- 9 técnicas de respiração ---------- */
.techniques { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tech { margin: 0; padding: 10px 6px; border-radius: 14px; background: var(--field); color: var(--ink);
  border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; line-height: 1.25; }
.tech .ico { font-size: 22px; }
.tech small { color: var(--gold); font-size: 11px; }
.tech.sel { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset, 0 0 18px rgba(94, 231, 245, .25); }
.tech-desc { text-align: left; }
.breath { flex-direction: column; transition-property: transform; transition-timing-function: ease-in-out; }
.breath small { font-size: 22px; font-weight: 700; opacity: .9; }
.sos-breath { background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: 14px; text-align: left; }
#narratorSel { font: inherit; border-radius: 10px; border: 1px solid var(--line); background: var(--card-solid); color: var(--ink); }
.narr-label { display: block; margin-top: 14px; }
.player .bg { opacity: .45; }
.player .bg.on { opacity: 1; border-color: var(--gold); box-shadow: 0 0 12px rgba(94, 231, 245, .35); }
.bg-panel { position: absolute; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(100% + 8px); background: var(--card-solid); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.bg-panel[hidden] { display: none; }
.bg-panel label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.bg-row { display: flex; align-items: center; gap: 10px; }
.bg-row input[type=range] { flex: 1; min-width: 0; accent-color: var(--gold); padding: 0; margin: 0; border: 0; background: transparent; height: 28px; }
.bg-row output { min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; color: var(--gold); font-weight: 600; }

/* ---------- Reprodução automática ---------- */
.reader-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; }
.reader-top .back { margin: 0; }
.auto-switch { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); cursor: pointer; position: relative; }
.auto-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.auto-switch .knob { width: 46px; height: 26px; border-radius: 13px; background: var(--field); border: 1px solid var(--line);
  position: relative; font-size: 10px; color: transparent; transition: background .2s; flex: none; }
.auto-switch .knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--muted); transition: transform .2s, background .2s; }
.auto-switch input:checked + .knob { background: var(--accent); }
.auto-switch input:checked + .knob::after { transform: translateX(20px); background: #fff; }
.auto-switch input:focus-visible + .knob { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Gerir assinatura + suporte ---------- */
.manage { text-align: left; }
.manage h2 { text-align: center; }
.sub-box { background: var(--field); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 10px 0; }
.sub-box .price { font-size: 26px; margin: 0; }
.sub-state { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.sub-state.ok { background: rgba(52, 211, 153, .16); color: #6ee7b7; }
.sub-state.end { background: rgba(255, 107, 125, .16); color: var(--red); }
button.danger { background: transparent; color: var(--red); border: 1px solid var(--red); }
button.danger-solid { background: var(--red); color: #fff; }
.confirm { border: 1px solid var(--red); border-radius: 14px; padding: 12px; margin-top: 10px; }
.wa-btn { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 600;
  background: #25d366; color: #062b16; border-radius: 12px; padding: 12px 18px; margin-top: 8px; }
.wa-btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.wa-small { padding: 10px 16px; font-size: 15px; }
.impact { background: linear-gradient(135deg, rgba(124, 58, 237, .22), rgba(94, 231, 245, .14)); border: 1px solid rgba(196, 181, 253, .3);
  border-radius: 12px; padding: 10px 12px; font-size: 14px; line-height: 1.45; color: var(--ink); margin: 10px 0; text-align: center; }
.mission { background: linear-gradient(135deg, rgba(124, 58, 237, .30), rgba(94, 231, 245, .14)), var(--card); }
.mission p { margin: 6px 0; line-height: 1.55; }
.signature { text-align: right; font-family: Georgia, serif; font-style: italic; color: var(--gold); }
/* Computador/tablet: barra de baixo centrada, sem ícones espalhados pela largura toda */
@media (min-width: 640px) { .tabs { justify-content: center; } .tabs button { max-width: 112px; } }

/* ---------- Cérebro como menu ---------- */
.hub-intro { text-align: center; margin-top: 8px; position: relative; z-index: 6; }
.hub-intro h2 { font-size: 22px; text-wrap: balance; }
.hub-chips { position: fixed; left: 0; right: 0; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 6;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0 max(16px, env(safe-area-inset-left, 0px)); }
.hub-chips button { width: auto; margin: 0; padding: 7px 12px; font-size: 13px; border-radius: 999px;
  background: rgba(10, 7, 32, .55); color: var(--ink); border: 1px solid var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
body:not(.hub) .hub-chips, .hub-chips:empty { display: none; }
#brainLabels { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
#brainLabels[hidden] { display: none; }
body.logged-out #brainLabels, body:has(#expired:not([hidden])) #brainLabels { display: none; }
.brain-label { position: absolute; left: 0; top: 0; width: auto; margin: 0; pointer-events: auto;
  display: flex; flex-direction: column; align-items: center; gap: 0; padding: 4px 9px; border-radius: 12px;
  background: rgba(10, 7, 32, .55); border: 1px solid rgba(94, 231, 245, .35); color: var(--ink);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); line-height: 1.2; white-space: nowrap;
  transition: opacity .3s, box-shadow .2s, border-color .2s; will-change: transform; }
.brain-label .bl-ico { font-size: 16px; }
.brain-label b { font-size: 13px; }
.brain-label small { font-size: 10px; color: var(--muted); }
@media (max-width: 480px) { .brain-label small { display: none; } .brain-label.on small { display: block; } }
.brain-label:hover, .brain-label.on, .brain-label:focus-visible { border-color: var(--gold); box-shadow: 0 0 18px rgba(94, 231, 245, .45); opacity: 1 !important; }
.brain-nav { justify-content: center; align-items: center; gap: 12px; padding: 8px 16px; }
.tabs .hub-btn { width: auto; max-width: none; margin: 0; flex-direction: row; display: flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #3b82f6); color: #fff; font-size: 15px; font-weight: 600; }
.tabs .hub-btn .hub-ico { font-size: 20px; }
.tabs .hub-btn span:not(.hub-ico) { font-size: 15px; }
body.hub .tabs .hub-btn { box-shadow: 0 0 0 2px var(--gold), 0 0 20px rgba(94, 231, 245, .35); }
.area-name { color: var(--muted); font-size: 14px; }
body.hub .area-name { display: none; }
@media (prefers-reduced-motion: reduce) { .brain-label { transition: none; } }

/* ---------- Tutorial guiado ---------- */
.tour-spot { position: fixed; left: 50%; top: 52%; width: min(78vw, 420px); aspect-ratio: 1.15; transform: translate(-50%, -50%);
  pointer-events: none; visibility: hidden; }
body.hub .tour-spot { visibility: visible; }
.tour { position: fixed; inset: 0; z-index: 60; }
.tour-hole { position: fixed; border-radius: 18px; pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(6, 4, 22, .72), 0 0 0 2px var(--gold), 0 0 24px 4px rgba(94, 231, 245, .35);
  transition: left .3s ease, top .3s ease, width .3s ease, height .3s ease; }
.tour-card { position: fixed; left: 16px; right: 16px; max-width: 460px; margin: 0 auto; background: var(--card-solid);
  border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 14px; box-shadow: 0 12px 40px rgba(0,0,0,.5);
  transition: top .3s ease; }
.tour-card.center { top: 50% !important; transform: translateY(-50%); }
.tour-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.tour-step { font-size: 13px; color: var(--gold); font-weight: 600; letter-spacing: .4px; }
.tour-skip { background: none; border: 0; color: var(--muted); font-size: 14px; padding: 6px 4px; width: auto; margin: 0; cursor: pointer; }
.tour-title { margin: 0 0 6px; font-size: 18px; }
.tour-text { margin: 0 0 12px; color: var(--ink); opacity: .92; font-size: 15px; line-height: 1.5; }
.tour-dots { display: flex; gap: 5px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
.tour-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.tour-dots i.on { background: var(--gold); width: 16px; border-radius: 3px; }
.tour-nav { display: flex; gap: 10px; }
.tour-nav button { flex: 1; margin: 0; }
.tour-nav button[hidden] { display: none; }
body.touring .player { z-index: 9; }
@media (prefers-reduced-motion: reduce) { .tour-hole, .tour-card { transition: none; } }

/* Botão do Google: evita o fundo branco do iframe no tema escuro */
#googleBtn iframe { color-scheme: light; }

/* No menu do cérebro, arrastar roda o cérebro em vez de deslizar a página */
html.brain-hub, html.brain-hub body { touch-action: none; overscroll-behavior: none; }

/* ---------- Lembretes ---------- */
.rem-btn { margin-top: 10px; }
.rem-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 10px 0 6px; }
.rem-times label { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; font-size: 13px; line-height: 1.25; color: var(--muted); min-width: 0; }
.rem-times input { font: inherit; color: var(--ink); background: var(--field); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 2px; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box;
  font-size: 14px; text-align: center; color-scheme: dark; }
.rem-times input::-webkit-calendar-picker-indicator { display: none; }
#remCard button { width: 100%; }
.rem-help-link { display: block; margin: -2px 0 10px; color: var(--gold); font-size: 14px; }
.rem-help-link[hidden] { display: none; }
.help-steps { margin: 6px 0 16px; padding-left: 22px; line-height: 1.55; text-align: left; }
.help-steps li { margin: 6px 0; }
.btn-link { display: block; text-align: center; text-decoration: none; background: var(--accent); color: #fff;
  border-radius: 12px; padding: 12px 18px; margin: 8px 0; font-weight: 600; }
.btn-link[hidden] { display: none; }
.help-code { margin-top: 10px; word-break: break-word; font-size: 12px; opacity: .8; }

/* ---------- Página de vendas (navegador) ---------- */
html { background: var(--bg); }
body.landing { overflow: hidden; }
body.landing .top { position: fixed; top: 0; left: 0; right: 0; z-index: 17; max-width: none;
  padding: 14px max(16px, calc(50% - 264px)) 10px; background: linear-gradient(180deg, var(--bg) 60%, rgba(10, 7, 32, 0)); }
body.landing main, body.landing .tabs, body.landing #login, body.landing #expired, body.landing #trialBanner,
body.landing #demoBanner, body.landing #brainLabels, body.landing .hub-chips { display: none !important; }
.landing { position: fixed; inset: 0; z-index: 16; overflow-y: auto; overflow-x: hidden; padding: 0 16px 120px;
  --tiltX: 0deg; --tiltY: 0deg; scroll-behavior: smooth;
  background: radial-gradient(120% 70% at 50% 0%, rgba(10, 7, 32, 0) 0 40%, rgba(10, 7, 32, .78) 75%),
              linear-gradient(180deg, rgba(10, 7, 32, 0) 0, rgba(10, 7, 32, .55) 90vh, rgba(10, 7, 32, .9) 140vh); }
.landing[hidden] { display: none; }
.landing > * { max-width: 560px; margin-left: auto; margin-right: auto; }

/* Hero */
.lp-hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  text-align: center; padding: 96px 0 40px; position: relative; perspective: 900px; }
.lp-kicker { display: inline-block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(94, 231, 245, .35); border-radius: 999px; padding: 6px 12px; margin: 0 0 14px;
  background: rgba(94, 231, 245, .07); backdrop-filter: blur(6px); }
.lp-h1 { font-size: clamp(30px, 8.4vw, 46px); line-height: 1.08; margin: 0 0 12px; letter-spacing: -.02em;
  background: linear-gradient(120deg, #fff 0%, #e9ddff 45%, #7ee8f8 100%); -webkit-background-clip: text; background-clip: text;
  color: transparent; text-shadow: 0 0 40px rgba(124, 58, 237, .25); }
.lp-sub { color: #cfc9f3; font-size: 17px; line-height: 1.5; margin: 0 0 22px; max-width: 440px; }
.lp-cta { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 380px;
  font-size: 18px; font-weight: 700; padding: 17px 22px; border-radius: 16px; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 50%, #22d3ee 130%); border: 0;
  box-shadow: 0 10px 30px rgba(124, 58, 237, .45), 0 0 0 1px rgba(255, 255, 255, .12) inset; transform: translateZ(0);
  transition: transform .15s ease, box-shadow .2s ease; overflow: hidden; }
.lp-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); animation: lpShine 3.2s ease-in-out infinite; }
.lp-cta:active { transform: scale(.98); }
@keyframes lpShine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.lp-note { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.lp-scroll { margin: 22px 0 0; font-size: 26px; color: var(--muted); animation: lpBob 2s ease-in-out infinite; }
@keyframes lpBob { 50% { transform: translateY(6px); opacity: .5; } }

/* 3, 6 e 9 a orbitar no topo (3D) */
.lp-orbit { position: absolute; top: max(70px, 9vh); left: 50%; width: 260px; height: 260px; margin-left: -130px;
  transform-style: preserve-3d; transform: rotateX(68deg); animation: lpSpin 18s linear infinite; pointer-events: none; }
.lp-orb { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%;
  display: grid; place-items: center; font: 700 20px/1 Georgia, serif; color: #fff; transform-style: preserve-3d;
  background: radial-gradient(circle at 35% 30%, #c4b5fd, #7c3aed 55%, #3b0ea8); box-shadow: 0 0 24px rgba(124, 58, 237, .8); }
.lp-orb.o3 { transform: rotateZ(0deg) translateX(130px) rotateZ(0deg) rotateX(-68deg); }
.lp-orb.o6 { transform: rotateZ(120deg) translateX(130px) rotateZ(-120deg) rotateX(-68deg);
  background: radial-gradient(circle at 35% 30%, #a5f3fc, #3b82f6 55%, #1e3a8a); box-shadow: 0 0 24px rgba(59, 130, 246, .8); }
.lp-orb.o9 { transform: rotateZ(240deg) translateX(130px) rotateZ(-240deg) rotateX(-68deg);
  background: radial-gradient(circle at 35% 30%, #cffafe, #22d3ee 55%, #0e7490); box-shadow: 0 0 24px rgba(34, 211, 238, .8); }
@keyframes lpSpin { to { transform: rotateX(68deg) rotateZ(360deg); } }

/* Secções */
.lp-sec { padding: 48px 0 8px; }
.lp-h2 { font-size: clamp(24px, 6.4vw, 32px); line-height: 1.15; text-align: center; margin: 0 0 10px; letter-spacing: -.01em; }
.lp-lead { text-align: center; color: var(--muted); margin: 0 0 22px; }
.reveal { opacity: 0; transform: perspective(900px) translateY(40px) rotateX(10deg); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.tilt { transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease; will-change: transform; }

/* Telemóveis 3D */
.lp-phones { position: relative; height: 470px; perspective: 1200px; margin-top: 18px;
  transform-style: preserve-3d; transform: rotateY(var(--tiltX)) rotateX(var(--tiltY)); transition: transform .3s ease-out; }
.lp-phone { position: absolute; top: 0; left: 50%; width: 210px; height: 428px; margin-left: -105px; border-radius: 30px; padding: 7px;
  background: linear-gradient(145deg, #2a2160, #0d0a24); box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(196, 181, 253, .25) inset,
  0 0 40px rgba(124, 58, 237, .25); transform-style: preserve-3d; animation: lpFloat 6s ease-in-out infinite; }
.lp-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px; display: block; background: #0a0720; }
.lp-phone.p-c { z-index: 3; transform: translateZ(60px); }
.lp-phone.p-l { z-index: 1; transform: translateX(-118px) translateZ(-40px) rotateY(24deg) scale(.88); animation-delay: -2s; opacity: .9; }
.lp-phone.p-r { z-index: 1; transform: translateX(118px) translateZ(-40px) rotateY(-24deg) scale(.88); animation-delay: -4s; opacity: .9; }
@keyframes lpFloat { 50% { translate: 0 -10px; } }

/* Método */
.lp-method { display: grid; gap: 12px; }
.lp-step { position: relative; border-radius: 20px; padding: 18px 18px 16px 86px; min-height: 92px;
  background: linear-gradient(140deg, rgba(124, 58, 237, .22), rgba(23, 16, 54, .85)); border: 1px solid var(--line); }
.lp-step h4 { margin: 0 0 4px; font-size: 17px; }
.lp-step p { margin: 0; color: #cfc9f3; font-size: 15px; line-height: 1.45; }
.lp-num { position: absolute; left: 16px; top: 18px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font: 700 22px/1 Georgia, serif; color: #fff; background: linear-gradient(135deg, #7c3aed, #22d3ee);
  box-shadow: 0 8px 24px rgba(124, 58, 237, .45); transform: translateZ(30px); }

/* Funcionalidades */
.lp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lp-card { border-radius: 18px; padding: 16px 14px; background: rgba(23, 16, 54, .82); border: 1px solid var(--line);
  backdrop-filter: blur(6px); }
.lp-card i { font-style: normal; font-size: 28px; display: block; margin-bottom: 6px; filter: drop-shadow(0 4px 10px rgba(124, 58, 237, .5)); }
.lp-card h4 { margin: 0 0 4px; font-size: 15px; }
.lp-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.4; }

/* História */
.lp-story { margin: 0; border-radius: 22px; padding: 26px 22px; position: relative;
  background: linear-gradient(150deg, rgba(34, 211, 238, .12), rgba(124, 58, 237, .18) 60%, rgba(23, 16, 54, .9));
  border: 1px solid rgba(94, 231, 245, .25); }
.lp-story::before { content: '“'; position: absolute; top: -18px; left: 16px; font: 700 80px/1 Georgia, serif; color: var(--gold); opacity: .6; }
.lp-story blockquote { margin: 0 0 12px; font: 400 18px/1.55 Georgia, serif; color: #eeeaff; }
.lp-story figcaption { color: var(--gold); font-weight: 600; text-align: right; }

/* Missão */
.lp-mission { text-align: center; border-radius: 20px; padding: 20px; background: rgba(23, 16, 54, .8); border: 1px solid var(--line); }
.lp-mission h3 { margin: 0 0 6px; }
.lp-mission p { margin: 0; color: #cfc9f3; }

/* Preço */
.lp-price { text-align: center; border-radius: 24px; padding: 24px 20px; position: relative;
  background: linear-gradient(160deg, rgba(124, 58, 237, .35), rgba(23, 16, 54, .95) 55%);
  border: 1px solid rgba(196, 181, 253, .35); box-shadow: 0 20px 60px rgba(124, 58, 237, .25); }
.lp-badge { display: inline-block; margin: 0 0 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: #0a0720; background: linear-gradient(90deg, #5ee7f5, #a78bfa); }
.lp-amount { font-size: 44px; font-weight: 800; margin: 4px 0 10px; }
.lp-amount small { font-size: 16px; color: var(--muted); font-weight: 400; }
.lp-price .ticks { text-align: left; display: inline-block; margin: 0 0 18px; }

/* Instalação */
#instalar .ld-install { background: var(--card-solid); border: 1px solid var(--line); border-radius: 18px; padding: 16px; text-align: left; }
#instalar.flash .ld-install { animation: lpFlash 1.4s ease; }
@keyframes lpFlash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 3px var(--gold), 0 0 40px rgba(94, 231, 245, .5); } }
.ld-big { width: 100%; font-size: 18px; padding: 16px; }
.ld-install .muted.small { text-align: center; margin: 8px 0 0; }
.ld-done { margin: 0; font-weight: 600; text-align: center; }
.ld-notice { background: rgba(94, 231, 245, .12); border: 1px solid var(--gold); border-radius: 14px; padding: 12px; margin: 14px 0 0; }

/* Perguntas */
.lp-faq { border-radius: 14px; background: rgba(23, 16, 54, .82); border: 1px solid var(--line); margin: 0 0 8px; padding: 0 16px; }
.lp-faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; position: relative; padding-right: 24px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; position: absolute; right: 0; top: 12px; font-size: 20px; color: var(--gold); transition: transform .2s; }
.lp-faq[open] summary::after { transform: rotate(45deg); }
.lp-faq p { margin: 0 0 14px; color: #cfc9f3; line-height: 1.5; }

/* Final e rodapé */
.lp-final { text-align: center; padding-bottom: 20px; }
.lp-foot { text-align: center; padding: 20px 0 10px; }
.lp-foot .wa-btn { max-width: 380px; margin: 0 auto 10px; }

/* Botão fixo em baixo */
.lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 18; max-width: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(0deg, var(--bg) 55%, rgba(10, 7, 32, 0)); display: flex; justify-content: center;
  transform: translateY(110%); transition: transform .35s ease; }
.lp-sticky.show { transform: none; }
.lp-sticky .lp-cta { padding: 14px 20px; font-size: 17px; }

@media (min-width: 720px) {
  .lp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-phone.p-l { transform: translateX(-190px) translateZ(-40px) rotateY(26deg) scale(.9); }
  .lp-phone.p-r { transform: translateX(190px) translateZ(-40px) rotateY(-26deg) scale(.9); }
}
@media (max-height: 820px) { .lp-orbit { top: 56px; width: 200px; height: 200px; margin-left: -100px; }
  .lp-orb.o3 { transform: rotateZ(0deg) translateX(100px) rotateX(-68deg); }
  .lp-orb.o6 { transform: rotateZ(120deg) translateX(100px) rotateZ(-120deg) rotateX(-68deg); }
  .lp-orb.o9 { transform: rotateZ(240deg) translateX(100px) rotateZ(-240deg) rotateX(-68deg); } }
@media (prefers-reduced-motion: reduce) {
  .lp-orbit, .lp-phone, .lp-cta::after, .lp-scroll { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
