﻿/* ===== Tokens ===== */
:root {
  --bg: #f7f6fb;
  --card: #ffffff;
  --card-2: #f1eff8;
  --ink: #16122b;
  --muted: #6b6582;
  --line: #e7e4f0;
  --brand: #6d3df5;
  --brand-2: #5a2be0;
  --brand-soft: #efe9ff;
  --on-brand: #ffffff;
  --lime: #c6f432;
  --danger: #d93d42;
  --ok: #138a4c;
  --warn: #b26a00;
  --shadow: 0 1px 2px rgb(22 18 43 / .06), 0 8px 24px rgb(22 18 43 / .06);
  --radius: 16px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0d18; --card: #191626; --card-2: #221e33; --ink: #f2effa; --muted: #a49fb8;
    --line: #2c2843; --brand: #8b67ff; --brand-2: #9d7dff; --brand-soft: #2a2247;
    --danger: #ff6b70; --ok: #3ccf7f; --warn: #f0a838;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.15; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== Botões & campos ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--brand); color: var(--on-brand); font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, opacity .15s; white-space: nowrap; }
.btn:hover { background: var(--brand-2); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { background: var(--card-2); }
.btn.soft { background: var(--brand-soft); color: var(--brand); }
.btn.danger { background: transparent; color: var(--danger); border: 1.5px solid color-mix(in srgb, var(--danger) 35%, transparent); }
.btn.lime { background: var(--lime); color: #16122b; }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn.block { width: 100%; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px; border: 0; background: transparent; color: var(--muted); cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--card-2); color: var(--ink); }
.icon-btn svg, .btn svg { width: 20px; height: 20px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); font-size: 16px; /* 16px evita zoom no iOS */ transition: border-color .15s, box-shadow .15s; }
textarea.input { resize: vertical; min-height: 84px; line-height: 1.45; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.input.bad { border-color: var(--danger); }
.hint { font-size: 13px; color: var(--muted); }
.hint.bad { color: var(--danger); }
.hint.ok { color: var(--ok); }
.prefix-input { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.prefix-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.prefix-input em { font-style: normal; color: var(--muted); padding-left: 14px; white-space: nowrap; font-size: 15px; }
.prefix-input .input { border: 0; box-shadow: none !important; padding-left: 2px; min-width: 0; }

.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: var(--line); transition: background .2s; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .2s; }
.switch input:checked + i { background: var(--ok); }
.switch input:checked + i::after { transform: translateX(18px); }

.seg { display: flex; background: var(--card-2); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { flex: 1; min-height: 40px; border: 0; border-radius: 9px; background: transparent; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 20px; text-decoration: none; letter-spacing: -.02em; }
.logo b { width: 30px; height: 30px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 17px; }

.toast-wrap { position: fixed; left: 0; right: 0; bottom: calc(84px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 100; pointer-events: none; padding: 0 16px; }
.toast { background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 14px; font-weight: 500; font-size: 14px; box-shadow: var(--shadow); animation: toast-in .25s ease; max-width: 420px; }
.toast.error { background: var(--danger); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
@media (min-width: 1024px) { .toast-wrap { bottom: 24px; } }

/* ===== Landing ===== */
body > main { overflow-x: clip; }
.lp-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lp-nav nav { display: flex; align-items: center; gap: 6px; }
.lp-nav .link { padding: 10px 12px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.lp-nav .link:hover { color: var(--ink); }
.lp-nav .hide-sm { display: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

.hero { display: grid; gap: 40px; padding-top: 28px; padding-bottom: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--card); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; }
.eyebrow b { background: var(--lime); color: #16122b; padding: 2px 8px; border-radius: 99px; font-size: 12px; }
.hero h1 { font-size: clamp(38px, 10vw, 68px); margin: 18px 0 16px; font-weight: 700; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--brand), #e0408a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 520px; }
.claim { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.claim .prefix-input { min-height: 58px; border-radius: 16px; }
.claim .prefix-input em { font-size: 17px; }
.claim .input { font-size: 17px; min-height: 54px; }
.claim .btn { min-height: 58px; font-size: 17px; }
.claim small { color: var(--muted); font-size: 13px; display: flex; gap: 14px; flex-wrap: wrap; }
.claim small span::before { content: '✓ '; color: var(--ok); font-weight: 700; }

.phone { width: min(300px, 78vw); aspect-ratio: 9/19; margin: 0 auto; border-radius: 44px; padding: 10px; background: #16122b; box-shadow: 0 30px 80px rgb(109 61 245 / .35), 0 0 0 1px rgb(255 255 255 / .06) inset; position: relative; }
.phone .screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(160deg, #7c3aed, #db2777); color: #fff; padding: 46px 18px 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: 'Outfit', sans-serif; }
.phone .notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; background: #16122b; border-radius: 99px; z-index: 1; }
.mock-av { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #fde68a, #f9a8d4); display: grid; place-items: center; font-size: 30px; }
.mock-name { font-weight: 700; font-size: 18px; }
.mock-bio { font-size: 12px; opacity: .85; text-align: center; }
.mock-soc { display: flex; gap: 14px; opacity: .95; margin: 2px 0 4px; }
.mock-soc svg { width: 18px; height: 18px; }
.mock-btn { width: 100%; padding: 13px; border-radius: 99px; background: #fff; color: #4c1d95; font-weight: 600; font-size: 13px; text-align: center; }
.mock-btn.wa { background: rgb(255 255 255 / .2); color: #fff; border: 1px solid rgb(255 255 255 / .3); }
.mock-btn.hl { animation: wiggle 3s infinite; }
.mock-vid { width: 100%; aspect-ratio: 16/9; border-radius: 14px; background: rgb(0 0 0 / .25); display: grid; place-items: center; }
.mock-vid i { width: 40px; height: 28px; border-radius: 8px; background: #ff0033; display: grid; place-items: center; }
.mock-vid i::after { content: ''; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
@keyframes wiggle { 0%, 85%, 100% { transform: none; } 88% { transform: rotate(-2deg) scale(1.03); } 92% { transform: rotate(2deg) scale(1.03); } }
.float-chip { position: absolute; background: var(--card); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 12px; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.float-chip strong { font-family: var(--font-display); font-size: 18px; }
.float-chip.a { left: -36px; top: 22%; }
.float-chip.b { right: -8px; bottom: 18%; }
.float-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }

.section { padding: 64px 0; }
.section h2 { font-size: clamp(30px, 7vw, 46px); text-align: center; margin-bottom: 12px; }
.section .sub { text-align: center; color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto 36px; }
.features { display: grid; gap: 14px; }
.feature { padding: 22px; }
.feature .fi { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; font-size: 22px; }
.feature h3 { font-size: 19px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }
.steps { display: grid; gap: 14px; counter-reset: s; }
.step { padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.step::before { counter-increment: s; content: counter(s); flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { color: var(--muted); }

.pricing { max-width: 440px; margin: 0 auto; padding: 28px 22px; position: relative; overflow: hidden; }
.pricing .seg { margin-bottom: 22px; }
.pricing .tag { position: absolute; top: 18px; right: 18px; background: var(--lime); color: #16122b; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.price { font-family: var(--font-display); font-size: 52px; font-weight: 700; letter-spacing: -.03em; }
.price small { font-size: 17px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-note { color: var(--muted); font-size: 14px; min-height: 21px; }
.checks { list-style: none; display: grid; gap: 10px; margin: 22px 0 26px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; }
.cta-final { margin: 0 16px 48px; border-radius: 28px; background: var(--ink); color: var(--bg); padding: 48px 22px; text-align: center; }
.cta-final h2 { font-size: clamp(30px, 7vw, 44px); margin-bottom: 12px; }
.cta-final p { opacity: .75; margin-bottom: 26px; }
.lp-footer { padding: 28px 16px 40px; text-align: center; color: var(--muted); font-size: 14px; }

@media (min-width: 720px) {
  .lp-nav { padding: 14px 28px; }
  .lp-nav .hide-sm { display: inline-block; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; }
  .claim { flex-direction: row; flex-wrap: wrap; }
  .claim .prefix-input { flex: 1; }
  .claim small { width: 100%; }
}
@media (min-width: 980px) {
  .hero { grid-template-columns: 1.15fr .85fr; padding-top: 56px; padding-bottom: 88px; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .cta-final { max-width: 1088px; margin: 0 auto 64px; }
}
@media (max-width: 420px) { .float-chip { display: none; } }

/* ===== Login / Cadastro ===== */
.auth { min-height: 100dvh; display: flex; flex-direction: column; }
.auth header { padding: 16px; }
.auth main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 8px 16px 40px; }
.auth .box { width: 100%; max-width: 420px; }
.auth h1 { font-size: 30px; margin-bottom: 6px; }
.auth .box > p { color: var(--muted); margin-bottom: 26px; }
.auth form { display: grid; gap: 16px; }
.auth .alt { text-align: center; margin-top: 22px; color: var(--muted); }
.auth .alt a { color: var(--brand); font-weight: 600; text-decoration: none; }
.form-error { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 500; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 52px; }
.pw-wrap button { position: absolute; right: 4px; top: 4px; }
@media (min-width: 720px) { .auth main { align-items: center; } .auth .box { background: var(--card); box-shadow: var(--shadow); border-radius: 24px; padding: 36px; } }
