@font-face { font-family: Inter; src: url('/InterVariable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #0B1017; --bg-2: #101820; --surface: #151E28; --surface-2: #1B2633; --line: #243140;
  --ink: #EEF3F9; --muted: #9AA9BA; --accent: #2F6BFF; --accent-2: #5B8CFF; --glow: rgb(47 107 255 / 35%);
  --radius: 16px; --max: 1160px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.1; }
p { margin: 0; }

/* topo */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgb(11 16 23 / 72%); border-bottom: 1px solid rgb(255 255 255 / 6%); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.menu { display: flex; gap: 24px; margin-left: 16px; font-size: 14px; color: var(--muted); }
.menu a:hover { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 600; }
.lang a { padding: 4px 9px; border-radius: 999px; color: var(--muted); }
.lang a[aria-current] { background: var(--surface-2); color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: 15px; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px var(--glow); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.link-login { font-size: 14px; color: var(--muted); }
.link-login:hover { color: var(--ink); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 900px; background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); background: rgb(255 255 255 / 3%); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 { margin-top: 20px; font-size: clamp(38px, 5.4vw, 62px); font-weight: 750; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #fff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 560px; }
.hero .cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* janela do produto (mock em CSS) */
.mock { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: 0 30px 80px rgb(0 0 0 / 45%), 0 0 0 1px rgb(255 255 255 / 3%) inset; overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-channel { display: flex; align-items: center; gap: 12px; }
.mock-avatar { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e9d8a6, #6b4f2a); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px rgb(47 107 255 / 50%); }
.mock-channel small { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mock-channel strong { font-size: 15px; }
.mock-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.mock-step { min-width: 0; padding: 10px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.mock-step.done::after { content: "✓"; color: #6BD38A; font-weight: 700; }
.mock-step.run { border-color: rgb(47 107 255 / 60%); color: var(--ink); }
.mock-step.run::after { content: ""; width: 34px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) 60%, var(--line) 60%); }
.mock-chat { padding: 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13.5px; }
.mock-chat b { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 6px; }
.mock-actions { display: flex; gap: 8px; margin-top: 12px; }
.mock-actions span { padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; border: 1px solid var(--line); }
.mock-actions span:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }

/* seções */
section.block { padding: 88px 0; }
.block-head { max-width: 680px; margin-bottom: 44px; }
.block-head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 720; }
.block-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 18px; font-size: 13px; font-weight: 700; color: var(--accent-2); letter-spacing: .08em; }
.step h3 { font-size: 19px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card { padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgb(47 107 255 / 45%); transform: translateY(-2px); }
.card .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgb(47 107 255 / 14%); color: var(--accent-2); margin-bottom: 18px; }
.card .ico svg { width: 20px; height: 20px; }
.card h3 { font-size: 18px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.local { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 48px; align-items: center; padding: 48px; border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(120% 140% at 100% 0%, rgb(47 107 255 / 18%), transparent 55%), var(--surface); }
.local h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 720; }
.local p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.local ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.local li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-weight: 500; }
.local li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: rgb(47 107 255 / 18%); color: var(--accent-2); font-size: 13px; font-weight: 700; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.plan.featured { border-color: var(--accent); box-shadow: 0 20px 60px rgb(47 107 255 / 18%); background: linear-gradient(180deg, rgb(47 107 255 / 10%), var(--surface) 40%); }
.plan .tag { position: absolute; top: -12px; left: 28px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; }
.plan h3 { font-size: 22px; }
.plan .price { margin-top: 8px; color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--accent-2); font-weight: 700; }
.plan .btn { margin-top: auto; }
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); }
.final { text-align: center; padding: 72px 24px; border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(60% 120% at 50% 0%, rgb(47 107 255 / 28%), transparent 70%), var(--surface); }
.final h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 750; }
.final p { margin: 14px auto 28px; max-width: 560px; color: var(--muted); font-size: 17px; }
footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; border-top: 1px solid var(--line); padding-top: 28px; }
footer .brand { font-size: 16px; color: var(--ink); }
footer .brand img { width: 24px; height: 24px; }
footer nav { display: flex; gap: 20px; }
footer nav a:hover { color: var(--ink); }
footer .copy { margin-left: auto; }

@media (max-width: 980px) {
  .hero .wrap, .local { grid-template-columns: minmax(0,1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid, .plans { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .menu { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 64px 0 48px; }
  .steps, .grid, .plans { grid-template-columns: minmax(0,1fr); }
  .mock-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero h1 { overflow-wrap: anywhere; }
  .hero .cta .btn { flex: 1 1 auto; }
  .local { padding: 28px; }
  section.block { padding: 64px 0; }
  .link-login { display: none; }
  .top .btn-sm { display: none; }
  footer .copy { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.plan .price { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.plan .price del { font-size: 15px; }
.plan .price strong { font-size: 34px; letter-spacing: -.03em; color: var(--ink); }
.plan .yearly { margin-top: 4px; font-size: 13px; color: var(--muted); }
.plan .trial-badge { margin-top: 12px; display: inline-block; justify-self: start; align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #6BD38A; background: rgb(107 211 138 / 12%); }


/* Chave de período (Mensal | Anual) acima dos planos */
.period-switch { display: inline-flex; gap: 4px; padding: 5px; margin: 0 0 28px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.period-switch button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 14px var(--font); cursor: pointer; transition: background .15s, color .15s; }
.period-switch button[aria-checked="true"] { background: var(--accent); color: #fff; box-shadow: 0 6px 18px var(--glow); }
.period-switch .save { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #6BD38A; background: rgb(107 211 138 / 14%); }
.period-switch button[aria-checked="true"] .save { color: #fff; background: rgb(255 255 255 / 20%); }
.price-block { display: none; }
.plans[data-period="month"] .price-block[data-period="month"], .plans[data-period="semester"] .price-block[data-period="semester"], .plans[data-period="year"] .price-block[data-period="year"] { display: block; }
