/* Oledsmith — a mesma linguagem visual do frankz.cloud: preto de verdade, traço fino,
   rótulos em caixa alta espaçada, ciano como única cor, mono para o que é "de máquina"
   (rótulos, números, botões). Nada de brilho, nada de sombra, nada de emoji. */
:root {
    --bg: #000;
    --bg-2: #0a0a0a;
    --bg-3: #111;
    --line: #222;
    --line-2: #333;
    --text: #e0e0e0;
    --text-2: #c8c8c8;
    --muted: #8a8a8a;
    --accent: #00d4ff;
    --accent-rgb: 0, 212, 255;
    --accent-soft: rgba(0, 212, 255, 0.07);
    --header: rgba(0, 0, 0, 0.88);
    --grid: rgba(255, 255, 255, 0.045);
    --erro: #ff6b6b;
    --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color-scheme: dark;
}
/* Tema claro: o fundo de propósito NÃO é #fff. Um branco quente, quase imperceptível,
   cansa menos a vista em uso longo e não "estoura" em tela OLED. */
:root[data-theme="light"] {
    --bg: #f4f4f1;
    --bg-2: #fbfbf9;
    --bg-3: #ecece8;
    --line: #dcdcd6;
    --line-2: #c9c9c2;
    --text: #1a1a1a;
    --text-2: #333;
    --muted: #666;
    --accent: #0099bb;
    --accent-rgb: 0, 153, 187;
    --accent-soft: rgba(0, 153, 187, 0.08);
    --header: rgba(244, 244, 241, 0.9);
    --grid: rgba(0, 0, 0, 0.06);
    --erro: #c0392b;
    color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.mono { font-family: var(--mono); }

/* Cabeçalho */
header { position: sticky; top: 0; z-index: 10; background: var(--header); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 17px; letter-spacing: -0.3px; }
.brand svg { width: 24px; height: 24px; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.menu { display: flex; gap: 22px; }
.menu a { color: var(--muted); text-decoration: none; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.menu a:hover { color: var(--accent); }
.tema { width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.tema:hover { color: var(--accent); border-color: var(--accent); }
.tema svg { width: 16px; height: 16px; }
.tema .lua { display: none; }
:root[data-theme="light"] .tema .sol { display: none; }
:root[data-theme="light"] .tema .lua { display: inline; }

/* Abertura: grade fina de fundo, como papel milimetrado de terminal, que some para baixo */
.hero { padding: 88px 0 64px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }
.hero .wrap { position: relative; }
.kicker { font-family: var(--mono); color: var(--accent); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; }
.kicker::before { content: '— '; }
.kicker::after { content: ' —'; }
h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; letter-spacing: -1.5px; margin: 0 0 22px; font-weight: 800; }
.cursor { display: inline-block; width: 0.45em; height: 0.85em; margin-left: 0.12em; background: var(--accent); vertical-align: -0.08em; animation: pisca 1.1s steps(2, start) infinite; }
@keyframes pisca { to { visibility: hidden; } }
.lead { max-width: 640px; font-size: clamp(16px, 1.9vw, 19px); color: var(--muted); margin: 0 0 30px; }
.lead strong { color: var(--text); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 6px; font-family: var(--mono); font-weight: 600; text-decoration: none; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--text); background: transparent; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn.primary { border-color: var(--accent); color: var(--accent); }
.btn.primary:hover { background: var(--accent); color: #000; }
.btn svg { width: 16px; height: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 36px; }
.chip { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.chip::before { content: '[ '; color: var(--line-2); }
.chip::after { content: ' ]'; color: var(--line-2); }

/* Seções numeradas, como índice de terminal */
main { counter-reset: sec; }
section { padding: 64px 0; border-top: 1px solid var(--line); }
section > .wrap > h2::before { counter-increment: sec; content: counter(sec, decimal-leading-zero) ' /'; font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: 2px; color: var(--accent); display: block; margin-bottom: 10px; }
h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.8px; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 620px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-height: 100%; transition: border-color 0.15s; }
.card:hover { border-color: rgba(var(--accent-rgb), 0.5); }
.card .ico { width: 36px; height: 36px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(var(--accent-rgb), 0.18); }
.card .ico svg { width: 18px; height: 18px; }
.card h3 { margin: 6px 0 0; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.badge { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 4px; padding: 2px 8px; width: max-content; }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.step { border-top: 1px solid var(--line-2); padding-top: 16px; }
.step .n { font-family: var(--mono); color: var(--accent); font-weight: 600; font-size: 11px; letter-spacing: 2px; }
.step h3 { margin: 8px 0 6px; font-size: 16px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* Prova */
.proof { background: var(--bg-2); border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: 8px; padding: 22px 24px; margin-bottom: 18px; }
.proof.mt { margin: 18px 0 0; }
.proof p { margin: 0; font-size: 16px; color: var(--text-2); }
.mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.mini a { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; text-decoration: none; color: var(--text); background: var(--bg-2); transition: border-color 0.15s; }
.mini a:hover { border-color: rgba(var(--accent-rgb), 0.5); }
.mini .ico { width: 32px; height: 32px; flex: none; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(var(--accent-rgb), 0.18); }
.mini .ico svg { width: 16px; height: 16px; }
.mini strong { display: block; font-size: 15px; }
.mini span { color: var(--muted); font-size: 13px; }

/* Lançamento */
.launch { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: 8px; padding: 14px 18px; margin: -8px 0 22px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.launch .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.launch p { margin: 0; font-size: 14.5px; color: var(--text-2); }

/* Preços */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.price { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; }
.price.feature { border-color: var(--accent); }
.price .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.price h3 { margin: 8px 0 4px; font-size: 18px; }
.price .desc { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.price .val { font-family: var(--mono); font-size: 28px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.15; }
.price .val small { font-family: var(--mono); font-size: 10.5px; font-weight: 400; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; display: block; margin-top: 6px; }
.price .pix { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 8px; }
.price .pix strong { color: var(--accent); font-weight: 600; }
.price ul { list-style: none; padding: 0; margin: 16px 0 20px; flex: 1; }
.price li { position: relative; padding-left: 18px; font-size: 14px; color: var(--text-2); margin-bottom: 8px; }
.price li::before { content: '>'; position: absolute; left: 0; top: 0; font-family: var(--mono); color: var(--accent); font-weight: 600; }
.price .btn { justify-content: center; }
.h3-sub { margin: 40px 0 6px; font-size: 18px; letter-spacing: -0.3px; }
.terms { font-family: var(--mono); color: var(--muted); font-size: 12.5px; line-height: 1.7; margin: 18px 0 0; max-width: 820px; }

/* Perguntas */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 15px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); color: var(--accent); font-weight: 400; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq p { color: var(--muted); font-size: 14.5px; margin: 12px 0 0; }

/* Chamada final */
.final { text-align: center; }
.final h2::before { display: none; }
.final h2 { margin-bottom: 12px; }
.final .sub { margin: 0 auto 26px; }
.final .ctas { justify-content: center; }

/* Formulário de contato. Nada é enviado daqui: os campos viram o texto que a própria
   pessoa manda pelo WhatsApp ou pelo e-mail dela. */
.ficha { max-width: 720px; margin: 0 auto; text-align: left; display: grid; grid-template-columns: 1fr 1fr; gap: 15px 16px; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo.largo { grid-column: 1 / -1; }
.ficha label { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.ficha .opt { text-transform: none; letter-spacing: 0; color: var(--line-2); }
.ficha input, .ficha select, .ficha textarea { width: 100%; padding: 11px 12px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.5; transition: border-color 0.15s; }
.ficha input::placeholder, .ficha textarea::placeholder { color: var(--muted); opacity: 0.7; }
.ficha input:focus, .ficha select:focus, .ficha textarea:focus { outline: none; border-color: var(--accent); }
.ficha textarea { resize: vertical; min-height: 88px; }
.campo.faltando input, .campo.faltando select, .campo.faltando textarea { border-color: var(--erro); }
.ficha .erro { grid-column: 1 / -1; margin: 0; color: var(--erro); font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; }
.envio { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 4px; }
.btn.grande { width: 100%; justify-content: center; padding: 15px 20px; font-size: 13.5px; }
.link-email { font-family: var(--mono); font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.link-email:hover { color: var(--accent); border-color: var(--accent); }
.ficha .nota { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 11.5px; line-height: 1.7; margin: 2px 0 0; }
@media (max-width: 640px) { .ficha { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font-family: var(--mono); font-size: 12px; line-height: 1.7; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer p { margin: 0 0 6px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }

/* Páginas de texto (privacidade, 404) */
.page { padding: 52px 0 20px; }
.page h1 { font-size: clamp(30px, 4.5vw, 42px); margin-bottom: 10px; }
.page .date { font-family: var(--mono); color: var(--muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin: 0; }
.prose { max-width: 720px; padding-bottom: 64px; }
.prose h2 { font-size: 20px; letter-spacing: -0.3px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--text-2); font-size: 15px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--text); }
.center { text-align: center; padding: 96px 0 120px; }
.center h1 { font-family: var(--mono); font-size: clamp(40px, 7vw, 72px); color: var(--accent); }

@media (max-width: 640px) {
    .menu { display: none; }
    .kicker { font-size: 11px; letter-spacing: 2.5px; }
    .kicker::after { content: none; }   /* o traço de fechamento quebrava linha no celular */
    .hero { padding: 60px 0 48px; }
    section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .card, .mini a { transition: none; }
    .cursor { animation: none; }
}
