/* BitContas — site institucional. Tokens do design system BitContas. */
:root {
  --tinta: #0F1B2D; --ambar: #E0A526; --ambar-h: #EBB540; --azulejo: #2F5D8A;
  --bg: #F5F2ED; --surface: #FFFFFF; --sunken: #E8E2D8; --border: #E8E2D8; --border-strong: #8C8476;
  --text: #0F1B2D; --muted: #4A5468; --accent: #8A5A00; --accent-bg: #F7ECD5;
  --in: #276B4E; --out: #B3261E; --success-bg: #E3F1EA; --warning: #A14A0B; --warning-bg: #FBE6D6;
  --display: Sora, Manrope, system-ui, sans-serif; --sans: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/28px var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--azulejo); }
:focus-visible { outline: 2px solid var(--azulejo); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.overline { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 10px;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid var(--border-strong); color: var(--text); background: var(--surface); white-space: nowrap; }
.btn:hover { background: var(--sunken); }
.btn-primary { background: var(--ambar); border-color: var(--ambar); color: var(--tinta); }
.btn-primary:hover { background: var(--ambar-h); border-color: var(--ambar-h); }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }

/* Cabeçalho */
.topo { position: sticky; top: 0; z-index: 10; background: rgba(245,242,237,.88); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.topo.sombra { border-bottom-color: var(--border); }
.topo .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 600 20px/1 var(--display); letter-spacing: -0.02em; }
.topo nav { display: flex; gap: 4px; }
.topo nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.topo nav a:hover { color: var(--text); background: var(--sunken); }
.topo .acoes { display: flex; gap: 8px; }

/* Herói */
.heroi { padding: 72px 0 40px; }
.heroi .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.heroi h1 { font-size: 56px; line-height: 62px; letter-spacing: -0.035em; margin-top: 14px; }
.heroi h1 em { font-style: normal; color: var(--accent); }
.heroi .lead { font-size: 19px; line-height: 30px; color: var(--muted); margin-top: 20px; max-width: 540px; }
.heroi .ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.heroi .nota { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Maquete do produto (dados fictícios) */
.maquete { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 30px 60px rgba(15,27,45,.14), 0 4px 12px rgba(15,27,45,.06); overflow: hidden; }
.maquete::before { content: ""; position: absolute; top: -40px; right: -40px; width: 140px; height: 140px; border-radius: 36px; background: var(--ambar); opacity: .18; }
.mq-topo { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 14px; }
.mq-topo strong { font-family: var(--display); }
.mq-pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--accent-bg); color: var(--accent); }
.mq-linha { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--border); align-items: center; }
.mq-linha:last-child { border-bottom: 0; }
.mq-desc { font-weight: 600; font-size: 15px; line-height: 20px; }
.mq-sub { font-size: 13px; line-height: 18px; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.mq-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent-bg); color: var(--accent); }
.mq-tag.ok { background: var(--success-bg); color: var(--in); }
.mq-valor { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 15px; }
.in { color: var(--in); } .out { color: var(--out); }
.mq-acao { margin: 12px 18px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--accent-bg); border: 1px solid var(--ambar); font-size: 14px; }
.mq-acao span.btn { height: 34px; font-size: 14px; padding: 0 14px; pointer-events: none; }

/* Bancos */
.bancos { padding: 28px 0 8px; }
.bancos p { text-align: center; font-size: 14px; color: var(--muted); }
.bancos ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font: 600 16px/1 var(--display); color: #6B7385; }

/* Secções */
section.bloco { padding: 88px 0; }
.cab { max-width: 680px; margin-bottom: 44px; }
.cab h2 { font-size: 40px; line-height: 48px; margin-top: 10px; }
.cab p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: p; }
.passo { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.passo::before { counter-increment: p; content: counter(p); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tinta); color: #fff; font: 700 17px var(--display); margin-bottom: 18px; }
.passo h3 { font-size: 21px; line-height: 28px; }
.passo p { color: var(--muted); margin-top: 8px; font-size: 16px; line-height: 26px; }

.escuro { background: var(--tinta); color: #fff; }
.escuro .overline { color: var(--ambar); }
.escuro .cab p { color: #B9C3D3; }
.funcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: 18px; overflow: hidden; }
.func { background: var(--tinta); padding: 30px; }
.func svg { width: 26px; height: 26px; color: var(--ambar); }
.func h3 { font-size: 19px; line-height: 26px; margin-top: 16px; }
.func p { color: #B9C3D3; margin-top: 8px; font-size: 15px; line-height: 24px; }

.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cartao { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 32px; }
.cartao h3 { font-size: 24px; line-height: 32px; }
.cartao ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cartao li { display: flex; gap: 10px; font-size: 16px; line-height: 24px; color: var(--muted); }
.cartao li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: var(--success-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23276B4E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Preços */
.alternar { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px; margin-bottom: 28px; }
.alternar button { border: 0; background: none; font: 700 15px var(--sans); color: var(--muted); padding: 8px 16px; border-radius: 9px; cursor: pointer; }
.alternar button[aria-pressed="true"] { background: var(--tinta); color: #fff; }
.precos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.preco { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.preco.destaque { border: 2px solid var(--ambar); box-shadow: 0 20px 40px rgba(15,27,45,.08); }
.preco .selo { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--accent-bg); color: var(--accent); }
.preco h3 { font-size: 22px; }
.preco .resumo { color: var(--muted); font-size: 15px; line-height: 24px; }
.preco .valor { font: 600 44px/1 var(--display); letter-spacing: -0.03em; }
.preco .valor small { font: 500 15px var(--sans); color: var(--muted); letter-spacing: 0; }
.preco .anual { font-size: 14px; color: var(--muted); min-height: 22px; }
.preco ul { list-style: none; padding: 0; margin: 4px 0 auto; display: grid; gap: 10px; font-size: 15px; line-height: 22px; }
.preco li { display: flex; gap: 10px; }
.preco li::before { content: "✓"; color: var(--in); font-weight: 800; }
.precos-nota { color: var(--muted); font-size: 14px; margin-top: 20px; }

/* Perguntas */
.faq { max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 22px/1 var(--display); color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 16px; line-height: 26px; }

.final { text-align: center; }
.final h2 { font-size: 44px; line-height: 52px; max-width: 760px; margin: 0 auto; }
.final p { color: #B9C3D3; margin: 16px auto 32px; max-width: 560px; }

footer { padding: 48px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Páginas legais */
.legal { max-width: 760px; padding: 56px 0 80px; }
.legal h1 { font-size: 40px; line-height: 48px; }
.legal h2 { font-size: 22px; line-height: 30px; margin-top: 36px; }
.legal p, .legal li { color: #2C3646; margin-top: 12px; }
.legal .data { color: var(--muted); font-size: 15px; margin-top: 8px; }

@media (max-width: 960px) {
  .heroi .wrap, .duas { grid-template-columns: 1fr; }
  .heroi h1 { font-size: 42px; line-height: 48px; }
  .passos, .funcs, .precos { grid-template-columns: 1fr; }
  .topo nav { display: none; }
  .cab h2, .final h2 { font-size: 32px; line-height: 40px; }
  section.bloco { padding: 64px 0; }
}
@media (max-width: 480px) { .topo .acoes .btn-ghost { display: none; } .heroi { padding-top: 40px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.breve { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--sunken); color: var(--muted); margin-left: 4px; white-space: nowrap; }
