/* =========================================================
   UltraIA — tema escuro "digital technology"
   ========================================================= */
:root {
  --accent: #e8794f;
  --accent-2: #ff9f73;
  --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 42%, transparent);
  --cyan: #4fd8ff;
  --cyan-soft: rgba(79, 216, 255, .12);
  --violet: #8b7bff;

  --bg: #06070b;
  --bg-2: #0a0c12;
  --surface: rgba(14, 16, 24, .78);
  --surface-2: rgba(20, 23, 34, .85);
  --surface-solid: #0f1119;
  --border: rgba(255, 255, 255, .075);
  --border-2: rgba(255, 255, 255, .13);
  --text: #eceef4;
  --text-2: #b4b8c7;
  --muted: #7d8193;
  --ok: #3ddc97;
  --warn: #ffc857;
  --err: #ff6b6b;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
code, pre, kbd, .mono { font-family: var(--mono); }
::selection { background: var(--accent); color: #111; }
.ico { flex-shrink: 0; }
[hidden] { display: none !important; }

/* ---------- Fundo tecnológico ---------- */
.tech-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: radial-gradient(1200px 700px at 75% -10%, rgba(232, 121, 79, .13), transparent 60%), radial-gradient(900px 600px at -10% 30%, rgba(79, 216, 255, .07), transparent 60%), radial-gradient(800px 500px at 50% 110%, rgba(139, 123, 255, .07), transparent 60%), var(--bg); }
.tech-bg .grid {
  position: absolute; inset: -2px;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  animation: gridmove 30s linear infinite;
}
@keyframes gridmove { to { background-position: 56px 56px; } }
.tech-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }
.tech-bg .scan { position: absolute; left: 0; right: 0; height: 240px; top: -240px; background: linear-gradient(180deg, transparent, rgba(79, 216, 255, .045), transparent); animation: scan 9s linear infinite; }
@keyframes scan { to { top: 110%; } }
.tech-bg .noise { position: absolute; inset: 0; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.panel-body .tech-bg canvas { opacity: .35; }
@media (prefers-reduced-motion: reduce) { .tech-bg .grid, .tech-bg .scan { animation: none; } .tech-bg .scan { display: none; } }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 56px 0; }
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
h2.title { font-size: clamp(30px, 4vw, 44px); margin-top: 14px; }
.lead { color: var(--text-2); font-size: 17px; margin: 16px 0 0; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.accent { color: var(--accent); }
.grad { background: linear-gradient(100deg, #fff 10%, var(--accent-2) 55%, var(--accent) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-3.plan-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 800px; margin: 0 auto; }
@media (max-width: 640px) { .grid-3.plan-grid-two { grid-template-columns: 1fr; max-width: none; } }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 72px 0; } .container { padding: 0 16px; } }

/* ---------- Botões ---------- */
.btn {
  --b: var(--border-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 10px; border: 1px solid var(--b); background: rgba(255, 255, 255, .03); color: var(--text);
  font: 600 14px/1 var(--font); cursor: pointer; transition: .18s ease; white-space: nowrap; position: relative;
}
.btn:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); }
.btn-primary { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 8px 30px -8px color-mix(in srgb, var(--accent) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #fff); border-color: transparent; transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.btn-danger { color: #ffb3b3; border-color: rgba(255, 107, 107, .3); background: rgba(255, 107, 107, .06); }
.btn-danger:hover { background: rgba(255, 107, 107, .14); border-color: rgba(255, 107, 107, .5); }
.btn-ok { color: #b9f5da; border-color: rgba(61, 220, 151, .3); background: rgba(61, 220, 151, .07); }
.btn-ok:hover { background: rgba(61, 220, 151, .15); }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 8px; }
.btn-xs { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 7px; gap: 6px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.loading { opacity: .6; pointer-events: none; }
.btn.loading::after { content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.inline-form { display: inline; margin: 0; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); border-bottom: 1px solid transparent; transition: .25s; }
.site-header.scrolled { background: rgba(6, 7, 11, .78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--border); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; padding: 0 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.logo img { height: 30px; width: auto; }
.logo-mark { width: 32px; height: 32px; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 14px; border-radius: 8px; color: var(--text-2); font-size: 14px; font-weight: 500; transition: .15s; }
.nav a:hover, .nav a.active { color: var(--text); background: rgba(255, 255, 255, .05); }
.header-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--border-2); color: var(--text); border-radius: 9px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-2); font: 600 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; }
.badge-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero h1 { font-size: clamp(40px, 6vw, 68px); margin: 22px 0 0; line-height: 1.02; letter-spacing: -.04em; }
.hero .lead { font-size: 19px; max-width: 540px; margin-top: 22px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-2); font-size: 14px; }
.hero-checks span { display: inline-flex; align-items: center; gap: 7px; }
.hero-checks .ico { color: var(--accent); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Janela de código ---------- */
.code-window { border: 1px solid var(--border-2); border-radius: 16px; background: linear-gradient(180deg, rgba(18, 20, 30, .92), rgba(10, 11, 17, .95)); box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .02) inset, 0 0 80px -30px color-mix(in srgb, var(--accent) 50%, transparent); overflow: hidden; position: relative; }
.code-window::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-line), rgba(79, 216, 255, .4), transparent); }
.code-tabs { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .015); }
.code-tab { background: none; border: 1px solid transparent; color: var(--muted); font: 500 13px/1 var(--mono); padding: 8px 12px; border-radius: 8px; cursor: pointer; transition: .15s; }
.code-tab:hover { color: var(--text); }
.code-tab.active { color: var(--text); background: rgba(255, 255, 255, .06); border-color: var(--border-2); }
.code-tabs .copy-btn { margin-left: auto; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border-2); color: var(--text-2); font: 500 12px/1 var(--font); padding: 7px 10px; border-radius: 7px; cursor: pointer; transition: .15s; }
.copy-btn:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.copy-btn.copied { color: var(--ok); border-color: rgba(61, 220, 151, .4); }
pre.code { margin: 0; padding: 20px 22px; overflow-x: auto; font-size: 13px; line-height: 1.7; color: #d5d9e6; tab-size: 2; }
pre.code::-webkit-scrollbar { height: 8px; }
pre.code::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .12); border-radius: 8px; }
.tok-k { color: #ff9f73; } .tok-s { color: #9be29b; } .tok-n { color: #f5c46b; } .tok-c { color: #6b7088; font-style: italic; } .tok-f { color: #7cc7ff; } .tok-p { color: #c6a6ff; }
.code-response { border-top: 1px solid var(--border); padding: 16px 22px 20px; font: 13px/1.7 var(--mono); }
.code-response .label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.code-response .out { color: var(--text-2); min-height: 44px; }
.caret { display: inline-block; width: 8px; height: 15px; background: var(--accent); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.win-dots { display: inline-flex; gap: 7px; margin: 0 10px 0 4px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win-dots i:nth-child(2) { background: #febc2e; }
.win-dots i:nth-child(3) { background: #28c840; }
.ok-pill { display: inline-flex; align-items: center; gap: 7px; font: 600 12px/1 var(--mono); color: var(--ok); background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .25); padding: 6px 10px; border-radius: 999px; }
.ok-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
@media (max-width: 560px) { .ok-pill { display: none; } }

/* ---------- Seção "A mesma conta nos seus apps" ---------- */
.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent); }
.apps-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.apps-grid h2 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.02; letter-spacing: -.04em; }
.apps-grid h2 .serif { font-size: 1.08em; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 15.5px; font-weight: 500; }
.check-list .ck { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; color: var(--accent-2); background: var(--accent-soft); border: 1px solid var(--accent-line); margin-top: 1px; }
.endpoint-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.endpoint-card { border: 1px solid var(--border-2); border-radius: 12px; background: var(--surface); padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; justify-content: space-between; font-family: var(--mono); }
.endpoint-card span { color: var(--muted); font-size: 12px; }
.endpoint-card b { font-size: 13px; font-weight: 600; word-break: break-all; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.tool-card h3 { display: flex; align-items: center; gap: 9px; font-size: 16px; }
.tool-card .code-window { margin: 12px 0 0; }
@media (max-width: 960px) { .apps-grid { grid-template-columns: 1fr; gap: 36px; } .endpoint-cards, .tool-grid { grid-template-columns: 1fr; } }

/* ---------- Fluxo ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; padding: 22px 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(8px); }
.flow-step { display: flex; align-items: center; gap: 14px; }
.flow-num { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font: 600 13px/1 var(--mono); color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); flex-shrink: 0; }
.flow-step b { display: block; font-size: 15px; }
.flow-step span { color: var(--muted); font-size: 13.5px; }
.flow-arrow { color: var(--muted); position: relative; width: 60px; height: 2px; background: linear-gradient(90deg, transparent, var(--border-2), transparent); overflow: hidden; }
.flow-arrow::after { content: ''; position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: flowdata 1.8s linear infinite; }
@keyframes flowdata { to { left: 100%; } }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } .flow-arrow { width: 2px; height: 26px; margin-left: 16px; background: linear-gradient(180deg, transparent, var(--border-2), transparent); } .flow-arrow::after { width: 100%; height: 30%; left: 0; top: -30%; animation-name: flowdatav; } }
@keyframes flowdatav { to { top: 100%; } }

/* ---------- Cards ---------- */
.card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 24px; position: relative; }
.card-hover { transition: .2s ease; }
.card-hover:hover { border-color: var(--border-2); transform: translateY(-2px); background: var(--surface-2); }
.card h3 { font-size: 17px; letter-spacing: -.01em; }
.card p { color: var(--text-2); margin: 8px 0 0; font-size: 14.5px; }
.feature-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: var(--accent); background: linear-gradient(135deg, var(--accent-soft), rgba(79, 216, 255, .06)); border: 1px solid var(--accent-line); margin-bottom: 18px; }
.card-glow::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--accent-line), transparent 40%, transparent 60%, rgba(79, 216, 255, .3)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

/* ---------- Modelos ---------- */
.model-card { display: flex; flex-direction: column; gap: 14px; }
.model-card .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.model-id { font: 600 14px/1.3 var(--mono); color: var(--text); word-break: break-all; }
.model-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 14px; border-top: 1px dashed var(--border-2); }
.model-meta div { font-size: 12px; color: var(--muted); }
.model-meta b { display: block; color: var(--text); font: 600 13.5px/1.4 var(--mono); }
.empty { text-align: center; padding: 48px 24px; color: var(--muted); border: 1px dashed var(--border-2); border-radius: var(--radius); }

/* ---------- Planos ---------- */
.plan { display: flex; flex-direction: column; padding: 30px 28px; }
.plan.featured { border-color: var(--accent-line); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, rgba(14, 16, 24, .85)), var(--surface)); box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--accent) 70%, transparent); }
.plan .tag { position: absolute; top: -12px; left: 28px; background: var(--accent); color: #fff; font: 700 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; }
.plan .name { font-size: 15px; font-weight: 700; color: var(--text-2); }
.plan-type-badge { display: inline-flex; align-self: flex-start; margin-bottom: 10px; padding: 5px 9px; border: 1px solid var(--border-2); border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-size: 10px; font-weight: 700; letter-spacing: .06em; line-height: 1.2; text-transform: uppercase; }
.plan-type-badge.unlimited { border-color: var(--accent-line); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent-2); }
.plan .price { font-size: 42px; font-weight: 800; letter-spacing: -.04em; margin: 14px 0 2px; display: flex; align-items: baseline; gap: 4px; flex-wrap: nowrap; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
/* Sufixo "/mês" das assinaturas: menor que o preço e travado na mesma linha */
.plan .price .per-month { font-size: .3em; font-weight: 600; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.plan .tags { position: absolute; top: -12px; left: 28px; right: 28px; display: flex; gap: 6px; flex-wrap: wrap; }
.plan .tags .tag { position: static; }
.plan .tags .tag-sub { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border-2); }
.plan .credits { font: 500 13px/1.4 var(--mono); color: var(--accent-2); }
.plan-description { margin: 12px 0 0; line-height: 1.5; }
.plan ul.plan-benefits { list-style: none; padding: 15px 0 0; margin: 16px 0 26px; border-top: 1px solid var(--border); display: grid; gap: 9px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.plan-benefits li { display: flex; min-width: 0; gap: 10px; align-items: flex-start; }
.plan-benefits li span { min-width: 0; overflow-wrap: anywhere; }
.plan-benefits li .ico { flex: 0 0 15px; width: 15px; height: 15px; color: var(--ok); margin-top: 3px; }
.plan .btn { margin-top: auto; }
/* Plano de compra única já adquirido: ocupa o lugar do botão. */
.plan-owned { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border-radius: var(--radius-sm, 10px); border: 1px solid rgba(61, 220, 151, .3); background: rgba(61, 220, 151, .07); color: var(--ok); font-weight: 600; font-size: 13.5px; }
.plan-share { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; white-space: nowrap; margin-top: 12px; color: var(--muted); font-size: 13px; }
.plan-share .share-label { flex: 0 0 auto; }
.plan-share a { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 7px; color: var(--text-2); transition: color .15s, background .15s, transform .15s; }
.plan-share a:hover { color: var(--accent-2); background: var(--surface-2); transform: translateY(-1px); }
.plan-share .ico { display: block; }
@media (max-width: 640px) {
  .plan { min-width: 0; overflow: hidden; padding: 26px 20px; }
  .plan .tags { position: static; margin: -4px 0 12px; gap: 5px; }
  .plan .tags .tag { max-width: 100%; white-space: normal; line-height: 1.2; }
  .plan .price { min-width: 0; font-size: clamp(30px, 8vw, 38px); letter-spacing: -.045em; flex-wrap: wrap; align-items: baseline; column-gap: 5px; row-gap: 0; }
  .plan .price .per-month { font-size: 12px; }
  .plan-share { flex-wrap: wrap; white-space: normal; column-gap: 8px; }
}

/* ---------- Passos ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 26px; }
.step::before { counter-increment: step; content: '0' counter(step); font: 700 13px/1 var(--mono); color: var(--accent); display: block; margin-bottom: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); transition: .2s; }
.faq details[open] { border-color: var(--border-2); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 22px/1 var(--mono); color: var(--accent); transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--text-2); }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 64px 32px; border-radius: 22px; border: 1px solid var(--accent-line); background: radial-gradient(600px 220px at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent), var(--surface); overflow: hidden; position: relative; }
.cta h2 { font-size: clamp(28px, 4vw, 42px); }
.cta .hero-actions { justify-content: center; }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 32px; margin-top: 40px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .4)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-grid h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; font-weight: 700; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); font-size: 14px; transition: .15s; }
.footer-grid a:hover { color: var(--text); }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 320px; margin: 14px 0; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, .02); }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Tabelas ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font: 600 11.5px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; background: rgba(255, 255, 255, .015); }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: rgba(255, 255, 255, .02); }
.table .num { text-align: right; font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.table .actions { text-align: right; white-space: nowrap; }
.table .actions > * { margin-left: 4px; }
.table td.empty-row { text-align: center; color: var(--muted); padding: 36px; }

/* ---------- Badges / alertas ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font: 600 11.5px/1.5 var(--font); border: 1px solid var(--border-2); color: var(--text-2); white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.plain::before { display: none; }
.b-ok, .b-approved, .b-active, .b-available, .b-paid, .b-online { color: var(--ok); border-color: rgba(61, 220, 151, .3); background: rgba(61, 220, 151, .07); }
.b-pending, .b-in_process, .b-warn { color: var(--warn); border-color: rgba(255, 200, 87, .3); background: rgba(255, 200, 87, .07); }
.b-rejected, .b-blocked, .b-cancelled, .b-revoked, .b-error, .b-refunded, .b-expired, .b-err { color: var(--err); border-color: rgba(255, 107, 107, .3); background: rgba(255, 107, 107, .07); }
.b-simulated { color: var(--cyan); border-color: rgba(79, 216, 255, .3); background: var(--cyan-soft); }
.b-accent { color: var(--accent-2); border-color: var(--accent-line); background: var(--accent-soft); }
.b-cyan { color: var(--cyan); border-color: rgba(79, 216, 255, .3); background: var(--cyan-soft); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface-2); font-size: 14px; color: var(--text-2); }
.alert .ico { margin-top: 2px; }
.alert-success { border-color: rgba(61, 220, 151, .3); background: rgba(61, 220, 151, .07); color: #c9f7e2; }
.alert-error { border-color: rgba(255, 107, 107, .35); background: rgba(255, 107, 107, .08); color: #ffd0d0; }
.alert-warn { border-color: rgba(255, 200, 87, .3); background: rgba(255, 200, 87, .07); color: #ffe7b0; }
.alert-info { border-color: rgba(79, 216, 255, .25); background: rgba(79, 216, 255, .06); color: #cdf2ff; }
.alert b { color: var(--text); }
.toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.toast { animation: toastin .25s ease; box-shadow: var(--shadow); backdrop-filter: blur(12px); word-break: break-word; }
@keyframes toastin { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Formulários ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 18px; }
@media (max-width: 760px) { .form-grid, .form-grid-3, .form-grid-4 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field > span, .label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field small, .hint { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.input, select.input, textarea.input {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border-2);
  background: rgba(5, 6, 10, .6); color: var(--text); font: 14px var(--font); transition: .15s; outline: none;
}
textarea.input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237d8193' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
select.input option { background: #11131b; }
.input:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); background: rgba(5, 6, 10, .85); }
.input.mono { font-family: var(--mono); font-size: 13px; }
.input-sm { height: 36px; font-size: 13px; padding: 0 11px; border-radius: 8px; }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; min-width: 0; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text-2); user-select: none; }
.check input { appearance: none; width: 38px; height: 22px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid var(--border-2); position: relative; cursor: pointer; transition: .2s; flex-shrink: 0; margin: 0; }
.check input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #c9ccd8; transition: .2s; }
.check input:checked { background: var(--accent); border-color: transparent; }
.check input:checked::after { left: 18px; background: #fff; }
.checkbox { display: inline-flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.checkbox input { accent-color: var(--accent); width: 16px; height: 16px; margin-top: 3px; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }

/* ---------- Autenticação ---------- */
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 40px 16px 80px; }
.auth-card { width: 100%; max-width: 440px; padding: 36px; }
.auth-card h1 { font-size: 28px; }
.auth-card form { display: grid; gap: 16px; margin-top: 26px; }
.auth-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }
.auth-foot a { color: var(--accent-2); font-weight: 600; }

/* ---------- Documentação ---------- */
.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; padding: 48px 0 80px; }
.docs-nav { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 2px; }
.docs-nav .label { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 12px 12px; }
.docs-nav a { padding: 8px 12px; border-radius: 8px; color: var(--text-2); font-size: 14px; border-left: 2px solid transparent; transition: .15s; }
.docs-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .03); }
.docs-nav a.active { color: var(--text); border-left-color: var(--accent); background: var(--accent-soft); border-radius: 0 8px 8px 0; }
.docs-content { min-width: 0; }
.docs-content section { padding: 8px 0 40px; scroll-margin-top: calc(var(--header-h) + 16px); border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.docs-content section:last-child { border-bottom: 0; }
.docs-content h1 { font-size: clamp(32px, 4vw, 44px); }
.docs-content h2 { font-size: 26px; margin-bottom: 14px; }
.docs-content h3 { font-size: 17px; margin: 24px 0 8px; }
.docs-content p, .docs-content li { color: var(--text-2); }
.docs-content .code-window { margin: 16px 0; box-shadow: none; }
.endpoint { display: inline-flex; align-items: center; gap: 10px; font: 500 13.5px/1 var(--mono); padding: 10px 14px; border-radius: 9px; border: 1px solid var(--border-2); background: rgba(0, 0, 0, .3); margin: 6px 0 10px; max-width: 100%; overflow-x: auto; }
.method { font-weight: 700; font-size: 11.5px; padding: 4px 8px; border-radius: 6px; }
.method.post { color: var(--accent-2); background: var(--accent-soft); }
.method.get { color: var(--cyan); background: var(--cyan-soft); }
code.inline { font-size: .88em; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .06); border: 1px solid var(--border); color: #f0d2c4; word-break: break-word; }
.doc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
@media (max-width: 960px) { .docs { grid-template-columns: 1fr; gap: 24px; } .docs-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding-bottom: 6px; } .docs-nav .label { display: none; } .docs-nav a { white-space: nowrap; border-left: 0; } .docs-nav a.active { border-radius: 8px; } .doc-steps { grid-template-columns: 1fr; } }

/* Playground */
.playground { border: 1px solid var(--border-2); border-radius: 16px; background: var(--surface); overflow: hidden; }
.pg-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; padding: 18px; border-bottom: 1px solid var(--border); }
.pg-chat { min-height: 280px; max-height: 520px; overflow-y: auto; padding: 20px; display: grid; gap: 14px; align-content: start; }
.pg-msg { max-width: 85%; padding: 12px 16px; border-radius: 14px; font-size: 14.5px; white-space: pre-wrap; word-break: break-word; line-height: 1.6; }
.pg-msg.user { justify-self: end; background: var(--accent-soft); border: 1px solid var(--accent-line); border-bottom-right-radius: 4px; }
.pg-msg.assistant { justify-self: start; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.pg-msg.error { justify-self: stretch; max-width: 100%; color: #ffd0d0; background: rgba(255, 107, 107, .08); border: 1px solid rgba(255, 107, 107, .3); font-family: var(--mono); font-size: 13px; }
.pg-meta { font: 11.5px/1 var(--mono); color: var(--muted); justify-self: start; margin-top: -6px; }
.pg-input { border-top: 1px solid var(--border); padding: 14px; display: grid; gap: 10px; }
.pg-input textarea { min-height: 70px; }
@media (max-width: 700px) { .pg-top { grid-template-columns: 1fr; } }

/* ---------- Painéis (cliente e admin) ---------- */
.panel-body { --sidebar: 256px; }
.panel { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; border-right: 1px solid var(--border); background: rgba(8, 9, 14, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; flex-direction: column; padding: 18px 14px; z-index: 40; }
.sidebar .logo { padding: 4px 8px 20px; }
.sidebar .area-tag { font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 4px 7px; border-radius: 6px; margin-left: auto; }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 9px; color: var(--text-2); font-size: 14px; font-weight: 500; transition: .15s; position: relative; }
.side-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.side-nav a.active { color: var(--text); background: linear-gradient(90deg, var(--accent-soft), transparent); }
.side-nav a.active::before { content: ''; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.side-nav a.active .ico { color: var(--accent); }
.side-nav .count { margin-left: auto; font: 700 11px/1 var(--mono); background: var(--accent); color: #fff; border-radius: 999px; padding: 4px 7px; }
.side-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.side-user { display: flex; align-items: center; gap: 10px; padding: 6px 8px; }
.avatar { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--violet)); flex-shrink: 0; }
.side-user .info { min-width: 0; }
.side-user b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 32px; border-bottom: 1px solid var(--border); background: rgba(6, 7, 11, .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 30; }
.topbar h1 { font-size: 18px; letter-spacing: -.01em; }
.topbar .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.balance-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--accent-line); background: var(--accent-soft); font: 600 13.5px/1 var(--mono); color: var(--accent-2); }
.content { padding: 28px 32px 64px; display: grid; gap: 24px; align-content: start; }
.side-toggle { display: none; background: none; border: 1px solid var(--border-2); color: var(--text); border-radius: 9px; width: 38px; height: 38px; align-items: center; justify-content: center; cursor: pointer; }
.side-backdrop { display: none; }
@media (max-width: 980px) {
  .panel { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 272px; transform: translateX(-100%); transition: transform .25s ease; background: rgba(8, 9, 14, .98); }
  .panel.side-open .sidebar { transform: none; }
  .panel.side-open .side-backdrop { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 35; }
  .side-toggle { display: inline-flex; }
  .topbar { padding: 0 16px; }
  .content { padding: 20px 16px 56px; }
}

.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { font-size: 16px; letter-spacing: -.01em; display: flex; align-items: center; gap: 9px; }
.card-head h2 .ico, .card-head h3 .ico { color: var(--accent); }
.card-flush { padding: 0; }
.card-flush .card-head { padding: 18px 20px 0; }
.card-flush .table-wrap { border: 0; border-radius: 0 0 var(--radius) var(--radius); background: transparent; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr; } }
.kpi { padding: 20px; overflow: hidden; }
.kpi .k-label { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.kpi .k-label .ico { color: var(--accent); }
.kpi .k-value { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.kpi .k-sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.kpi::after { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); pointer-events: none; }

/* Gráfico de barras simples */
.bars { display: flex; align-items: flex-end; gap: 4px; height: 160px; padding-top: 10px; }
.bars .bar { flex: 1; min-width: 3px; position: relative; height: 100%; display: flex; align-items: flex-end; }
.bars .bar i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 35%, transparent)); min-height: 2px; transition: .2s; }
.bars .bar.zero i { background: rgba(255, 255, 255, .07); }
.bars .bar:hover i { filter: brightness(1.25); }
.bars .bar .tip { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: #151823; border: 1px solid var(--border-2); border-radius: 8px; padding: 6px 9px; font: 12px/1.4 var(--mono); white-space: nowrap; color: var(--text); opacity: 0; pointer-events: none; transition: .15s; z-index: 5; }
.bars .bar:hover .tip { opacity: 1; }
.bars-axis { display: flex; justify-content: space-between; margin-top: 8px; font: 11px/1 var(--mono); color: var(--muted); }
.meter { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: inherit; }

.key-reveal { border: 1px solid var(--accent-line); background: linear-gradient(135deg, var(--accent-soft), rgba(79, 216, 255, .05)); border-radius: var(--radius); padding: 22px; }
.key-box { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(0, 0, 0, .45); border: 1px dashed var(--accent-line); font: 500 14px/1.4 var(--mono); word-break: break-all; }
.key-box code { flex: 1; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 4px; overflow-x: auto; }
.tabs a, .tabs button { padding: 10px 14px; color: var(--muted); font-size: 14px; font-weight: 500; border: 0; background: none; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; font-family: inherit; }
.tabs a:hover, .tabs button:hover { color: var(--text); }
.tabs a.active, .tabs button.active { color: var(--text); border-bottom-color: var(--accent); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-2); color: var(--text-2); font-size: 13px; }
.chip.active, .chip:hover { border-color: var(--accent-line); color: var(--text); background: var(--accent-soft); }

details.edit { border-top: 1px solid var(--border); }
details.edit > summary { list-style: none; cursor: pointer; }
details.edit > summary::-webkit-details-marker { display: none; }
.list-item { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.list-item + .list-item { margin-top: 10px; }
.list-item > summary { padding: 14px 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; cursor: pointer; list-style: none; }
.list-item > summary::-webkit-details-marker { display: none; }
.list-item[open] { border-color: var(--border-2); }
.list-item .body { padding: 0 18px 18px; border-top: 1px solid var(--border); padding-top: 18px; }
.list-item .chev { margin-left: auto; color: var(--muted); transition: .2s; }
.list-item[open] .chev { transform: rotate(90deg); }

.checklist { display: grid; gap: 8px; }
.checklist a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255, 255, 255, .015); color: var(--text-2); font-size: 14px; transition: .15s; }
.checklist a:hover { border-color: var(--border-2); color: var(--text); }
.checklist .tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border-2); display: grid; place-items: center; flex-shrink: 0; }
.checklist .done .tick { background: var(--ok); border-color: var(--ok); color: #062; }
.checklist .done span { text-decoration: line-through; color: var(--muted); }

.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; border: 1px solid var(--border-2); background: rgba(255, 255, 255, .02); cursor: pointer; transition: .15s; color: var(--text-2); font-weight: 600; font-size: 14.5px; }
.pay-method:hover { border-color: rgba(255, 255, 255, .25); }
.pay-method.active { border-color: var(--accent); background: var(--accent-soft); color: var(--text); box-shadow: 0 0 0 3px var(--accent-soft); }
.pay-method .ico { color: var(--accent); }
.summary-line { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; color: var(--text-2); }
.summary-line.total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 16px; font-size: 20px; color: var(--text); font-weight: 800; }
.pix-box { text-align: center; }
.pix-qr { width: 230px; height: 230px; margin: 8px auto 16px; padding: 12px; background: #fff; border-radius: 14px; }
.pix-qr img { width: 100%; height: 100%; }
.pix-code { font: 12px/1.5 var(--mono); word-break: break-all; padding: 12px; border-radius: 10px; background: rgba(0, 0, 0, .4); border: 1px dashed var(--border-2); color: var(--text-2); max-height: 92px; overflow: auto; text-align: left; }
.waiting { display: inline-flex; align-items: center; gap: 10px; color: var(--warn); font-size: 14px; }
.waiting::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.success-burst { text-align: center; padding: 30px 10px; }
.success-burst .ring { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; color: var(--ok); background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .4); box-shadow: 0 0 40px rgba(61, 220, 151, .25); }

.provider-box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
@media (max-width: 1100px) { .provider-box { grid-template-columns: 1fr; } }
.how { counter-reset: how; display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.how li { display: flex; gap: 12px; color: var(--text-2); font-size: 14px; }
.how li::before { counter-increment: how; content: counter(how); width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0; display: grid; place-items: center; font: 700 12px/1 var(--mono); color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.status-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status-dot.online { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.status-dot.error { background: var(--err); box-shadow: 0 0 10px var(--err); }
.result-box { font: 13px/1.6 var(--mono); padding: 14px; border-radius: 10px; background: rgba(0, 0, 0, .35); border: 1px solid var(--border); color: var(--text-2); white-space: pre-wrap; }
.table input.input-sm { min-width: 90px; }
.sticky-actions { position: sticky; bottom: 0; padding: 14px 18px; background: rgba(10, 11, 17, .92); backdrop-filter: blur(10px); border-top: 1px solid var(--border); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.logo-preview { width: 72px; height: 72px; border-radius: 14px; border: 1px solid var(--border-2); background: rgba(0, 0, 0, .3); display: grid; place-items: center; overflow: hidden; }
.logo-preview img { max-width: 80%; max-height: 80%; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; font-size: 14px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; word-break: break-word; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mb-0 { margin-bottom: 0; }
.w-full { width: 100%; }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.truncate { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legal { max-width: 780px; padding: 56px 0 80px; }
.legal h1 { font-size: 38px; margin-bottom: 20px; }
.legal h2 { font-size: 20px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--text-2); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* VSL Section Styles */
.vsl-section { padding-top: 0; padding-bottom: 64px; }
.vsl-grid { display: grid; grid-template-columns: 1.35fr .8fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .vsl-grid { grid-template-columns: 1fr; gap: 48px; } }
.vsl-copy { max-width: 640px; }
.vsl-copy .eyebrow { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 16px; }
.vsl-copy .title { font-size: clamp(36px, 5vw, 52px); margin: 0 0 24px; line-height: 1.04; letter-spacing: -.04em; }
.vsl-copy .lead { font-size: 19px; line-height: 1.6; max-width: 520px; margin: 0 0 32px; color: var(--text); }
.vsl-copy .check-list { margin: 24px 0 32px; }
.vsl-copy .check-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255, 255, 255, .015); color: var(--text-2); font-size: 14px; transition: .15s; }
.vsl-copy .check-list a:hover { border-color: var(--border-2); color: var(--text); }
.vsl-media { display: flex; justify-content: center; }
.vsl-media .vsl-frame { position: relative; width: 100%; max-width: 380px; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06); }
.vsl-media .vsl-video { width: 100%; height: auto; display: block; border-radius: 16px; }
@media (max-width: 960px) { .vsl-media .vsl-frame { max-width: 100%; } .vsl-media .vsl-video { height: auto; } }
.vsl-media .poster-image { position: absolute; inset: 0; background: var(--surface); border-radius: 16px; }
.vsl-media video { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.vsl-media .controls { position: absolute; bottom: 16px; left: 16px; right: 16px; display: flex; gap: 8px; }
.vsl-media .controls .btn { padding: 8px 16px; font-size: 13px; }
.vsl-media .play { background: var(--accent); color: #06070b; border: 0; border-radius: 6px; font-weight: 600; }
.vsl-media .play:hover { background: var(--accent-2); }
.vsl-media .muted { color: var(--muted); font-size: 12px; }

/* WhatsApp floating button (site-wide) */
.whatsapp-float {
  position: fixed;
  z-index: 9999;
  bottom: 92px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 42%, transparent);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  touch-action: manipulation;
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 62%, transparent); }
.whatsapp-float:active { transform: scale(.94); }
.whatsapp-ico { width: 26px; height: 26px; display: block; }

@media (max-width: 640px) {
  .whatsapp-float { bottom: 16px; left: 16px; width: 50px; height: 50px; }
  .whatsapp-ico { width: 24px; height: 24px; }
}

/* ---------- Mobile layout hardening ---------- */
@media (max-width: 900px) {
  .site-header { height: auto; min-height: var(--header-h); }
  .site-header .container { min-height: var(--header-h); height: auto; gap: 12px; padding: 10px 16px; }
  .site-header .nav, .site-header .header-cta { display: none; }
  .site-header .menu-btn { display: inline-flex; flex: 0 0 44px; width: 44px; height: 44px; }
  .site-header.open { background: rgba(6, 7, 11, .97); }
  .site-header.open .container { flex-wrap: wrap; }
  .site-header.open .nav, .site-header.open .header-cta { display: flex; flex-direction: column; align-items: stretch; width: 100%; margin: 0; }
  .site-header.open .nav a, .site-header.open .header-cta .btn { width: 100%; min-height: 44px; }
  .hero { padding: 42px 0 28px; }
  .hero-grid, .apps-grid, .vsl-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-grid > *, .apps-grid > *, .vsl-grid > * { min-width: 0; }
  .hero h1 { font-size: clamp(34px, 8vw, 52px); overflow-wrap: anywhere; }
  .hero .lead { font-size: clamp(16px, 4.5vw, 19px); }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .hero-actions .btn { width: 100%; min-width: 0; min-height: 48px; height: auto; white-space: normal; text-align: center; padding: 12px 16px; }
  .hero-checks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hero-checks span { min-width: 0; }
  .flow { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; }
  .content { min-width: 0; padding: 20px 16px 48px; }
  .topbar { min-width: 0; padding: 0 16px; }
  .topbar .right { min-width: 0; gap: 6px; }
  .panel, .main, .card, .card-flush, .table-wrap { min-width: 0; }
  .table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  img, video, iframe, canvas { max-width: 100%; }
}

@media (max-width: 560px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .site-header .container { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 34px; }
  .hero h1 { font-size: clamp(32px, 9vw, 42px); letter-spacing: -.035em; }
  .hero .lead { line-height: 1.5; }
  .badge-pill { max-width: 100%; white-space: normal; line-height: 1.35; }
  .code-window { max-width: 100%; }
  .code-tabs { overflow-x: auto; }
  .code-tabs .copy-btn { flex: 0 0 auto; }
  pre, code { max-width: 100%; }
  pre { overflow-x: auto; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .pay-methods { grid-template-columns: minmax(0, 1fr); }
  .topbar h1 { font-size: 16px; }
  .balance-chip { max-width: 48vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .card { padding: 18px; }
  .card-flush { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}
