/* Aurora — landing premium (tema escuro, auroras animadas, vidro, transições suaves) */
:root {
  --bg: #05060d; --bg2: #0a0d1c; --card: rgba(20, 24, 52, .62); --line: rgba(140, 150, 255, .16);
  --text: #eef0ff; --muted: #a3a9d6; --dim: #6d73a3; --brand: #7c6cf0; --brand2: #9f8cff; --mint: #38f2c0; --warm: #ff9b6a;
  --r: 20px; --shadow: 0 30px 80px rgba(0, 0, 0, .45);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: Sora, Inter, sans-serif; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 40px); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); font-weight: 600; margin-bottom: 14px; }
.lede { color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); max-width: 62ch; }
.note { color: var(--dim); font-size: 14px; } .center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text); cursor: pointer; font: 600 16px Inter, sans-serif;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(120deg, var(--brand), #5aa2ff 55%, var(--mint)); border: 0; color: #050713; box-shadow: 0 12px 40px rgba(124,108,240,.45); }
.btn.primary:hover { box-shadow: 0 18px 60px rgba(56,242,192,.4); }
.btn.sm { padding: 10px 18px; font-size: 14px; } .btn.wide { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

/* topo */
.top { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(16px) saturate(140%); background: rgba(5,6,13,.62); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 21px Sora, sans-serif; text-decoration: none; }
.links { display: flex; gap: 26px; margin-left: 24px; } .links a { color: var(--muted); text-decoration: none; font-size: 15px; } .links a:hover { color: var(--text); }
.right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.langs { display: inline-flex; gap: 2px; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs a { font-size: 12.5px; font-weight: 700; padding: 5px 9px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.langs a[aria-current] { background: var(--brand); color: #fff; }
.login { color: var(--muted); text-decoration: none; font-size: 15px; }

/* auroras animadas */
.aurora { position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none; filter: blur(70px); opacity: .55; z-index: 0; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 52vw; height: 40vw; left: -8vw; top: 4vw; background: radial-gradient(circle, rgba(124,108,240,.9), transparent 65%); }
.aurora i:nth-child(2) { width: 46vw; height: 36vw; right: -6vw; top: -4vw; background: radial-gradient(circle, rgba(56,242,192,.55), transparent 65%); animation-duration: 22s; }
.aurora i:nth-child(3) { width: 40vw; height: 30vw; left: 30vw; top: 20vw; background: radial-gradient(circle, rgba(255,120,170,.35), transparent 65%); animation-duration: 26s; }
@keyframes drift { to { transform: translate3d(6vw, 3vw, 0) scale(1.15) rotate(8deg); } }

/* hero */
.hero { position: relative; padding: clamp(40px, 7vw, 100px) 0 40px; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { background: linear-gradient(180deg, #fff 30%, #c9c4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 26px; }
.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); }
.bullets li::before { content: "✓"; color: var(--mint); font-weight: 800; margin-right: 10px; }
.stage { position: relative; aspect-ratio: 1; border-radius: 32px; overflow: hidden; background: #000; box-shadow: var(--shadow), 0 0 0 1px var(--line), 0 0 120px rgba(56,242,192,.15) inset; }
.stage .poster, .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage canvas { opacity: 0; transition: opacity 1.2s ease; } .stage.on canvas { opacity: 1; } .stage.on .poster { opacity: 0; transition: opacity 1.2s ease; }
.live { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 7px 12px; border-radius: 999px;
  background: rgba(0,0,0,.55); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.industries { position: relative; z-index: 1; margin-top: 56px; text-align: center; color: var(--dim); }
.industries ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: var(--muted); font-weight: 500; }

/* seções */
.sec { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.sec.alt { background: linear-gradient(180deg, transparent, rgba(124,108,240,.06) 30%, rgba(56,242,192,.04) 70%, transparent); }
.head { max-width: 760px; margin-bottom: 48px; }
.facts { padding: 30px 0 10px; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; backdrop-filter: blur(10px); }
.fact b { display: block; font: 800 44px Sora, sans-serif; background: linear-gradient(90deg, #fff, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact span { color: var(--muted); }
.src { color: var(--dim); font-size: 13px; margin-top: 14px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; position: relative; }
.steps li span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--mint)); color: #04060e; font: 800 18px Sora; margin-bottom: 18px; }
.steps p, .feat p { color: var(--muted); }
.feats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s; }
.feat:hover { transform: translateY(-6px); border-color: rgba(56,242,192,.4); }
.feat .ic { font: 700 13px Sora; color: var(--mint); letter-spacing: .1em; }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { font-family: Sora; font-size: 15px; color: var(--muted); }
.cmp thead th:nth-child(3), .cmp thead th:nth-child(4) { color: var(--mint); }
.cmp tbody th { font-weight: 500; color: var(--muted); }
.cmp td:nth-child(3), .cmp td:nth-child(4) { font-weight: 600; }

/* calculadora */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 48px); }
.calc label { display: grid; gap: 8px; margin: 18px 0; color: var(--muted); font-weight: 500; }
.calc output { color: var(--text); font-weight: 700; float: right; }
input[type=range] { width: 100%; accent-color: var(--mint); }
select, .calc select, dialog input { background: var(--bg2); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 16px Inter; width: 100%; }
.calc-out { text-align: center; padding: 30px; border-radius: 22px; background: radial-gradient(circle at 50% 0%, rgba(56,242,192,.18), transparent 70%), var(--bg2); border: 1px solid var(--line); }
.calc-out b { display: block; font: 800 clamp(44px, 6vw, 68px) Sora; color: var(--mint); margin: 8px 0 18px; }
.calc-out .line { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); }

/* planos */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 32px; backdrop-filter: blur(12px); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.plan:hover { transform: translateY(-6px); }
.plan.hot { border: 1px solid transparent; background: linear-gradient(var(--bg2), var(--bg2)) padding-box, linear-gradient(140deg, var(--brand), var(--mint)) border-box; box-shadow: 0 30px 90px rgba(124,108,240,.35); }
.ribbon { position: absolute; top: -13px; left: 32px; background: linear-gradient(90deg, var(--brand), var(--mint)); color: #04060e; font: 700 12px Sora; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan .tag { color: var(--muted); min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 10px 0 18px; } .price .amt { font: 800 54px Sora; } .price .cur, .price .per { color: var(--muted); }
.kpis, .feats { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.kpis { padding-bottom: 18px; border-bottom: 1px solid var(--line); } .kpis b { color: var(--mint); }
.feats { flex: 1; align-content: start; color: var(--muted); font-size: 15.5px; } .feats li::before { content: "✓"; color: var(--mint); margin-right: 9px; font-weight: 800; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.faq summary h3 { margin: 0; font-size: 19px; } .faq summary::after { content: "+"; font-size: 26px; color: var(--mint); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 14px; }

.final { position: relative; overflow: hidden; padding: 130px 0; text-align: center; } .final .wrap { position: relative; z-index: 1; } .final .lede { margin-inline: auto; }
.foot { border-top: 1px solid var(--line); padding: 50px 0 30px; color: var(--muted); font-size: 15px; }
.fcols { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 30px; align-items: start; } .fcols a { text-decoration: none; }
.sec-note { font-size: 14px; } .copy { color: var(--dim); font-size: 13px; margin-top: 30px; }

/* checkout */
dialog { border: 1px solid var(--line); border-radius: 24px; background: var(--bg2); color: var(--text); padding: 30px; width: min(480px, 94vw); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(3,4,10,.7); backdrop-filter: blur(6px); }
dialog label { display: grid; gap: 6px; margin: 12px 0; color: var(--muted); font-size: 15px; }
dialog .x { position: absolute; right: 18px; top: 14px; background: none; border: 0; color: var(--muted); font-size: 28px; cursor: pointer; }
.plan-pick { color: var(--mint); font-weight: 600; } .msg { min-height: 1.2em; color: var(--warm); } .hp { position: absolute; left: -9999px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 140%); background: var(--bg2); border: 1px solid var(--line); padding: 14px 22px; border-radius: 14px; transition: transform .4s cubic-bezier(.2,.8,.2,1); z-index: 50; max-width: 92vw; }
.toast.show { transform: translate(-50%, 0); }

/* revelação ao rolar (transição premium) */
.reveal { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(6px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1), filter .9s; }
.reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; filter: none; transition: none; } .aurora i { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 1000px) {
  .links { display: none; } .hero-grid, .calc { grid-template-columns: 1fr; } .stage { max-width: 520px; margin: 0 auto; width: 100%; }
  .feats-grid { grid-template-columns: repeat(2, 1fr); } .plans, .steps, .fgrid { grid-template-columns: 1fr; } .fcols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .feats-grid { grid-template-columns: 1fr; } .login { display: none; } .right .btn { display: none; } body { font-size: 16px; } }
