@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap;
  font-weight: 400; src: url('/fonts/jakarta-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap;
  font-weight: 500; src: url('/fonts/jakarta-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap;
  font-weight: 600; src: url('/fonts/jakarta-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap;
  font-weight: 700; src: url('/fonts/jakarta-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap;
  font-weight: 800; src: url('/fonts/jakarta-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora'; font-style: normal; font-display: swap;
  font-weight: 700; src: url('/fonts/sora-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora'; font-style: normal; font-display: swap;
  font-weight: 800; src: url('/fonts/sora-800.woff2') format('woff2');
}

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Sora', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --primary: #7C3AED;
  --primary-dark: #6D28D9;
  --pink: #EC4899;
  --pink-50: #FDF2F8;
  --success: #10B981;
  --bg: #F8F7FC;
  --card: #FFFFFF;
  --text: #1E1B3A;
  --text-muted: #64748B;
  --border: #E9E5F5;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -10px rgba(124,58,237,.18);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.eyebrow { color: var(--primary); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.lead { color: var(--text-muted); font-size: 1.08rem; max-width: 600px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; text-decoration: none;
  font-weight: 700; font-size: .98rem; border-radius: 999px;
  padding: 14px 26px; transition: transform .15s, box-shadow .15s;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--pink)); color: #fff; box-shadow: 0 10px 24px -8px rgba(124,58,237,.55); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-full { width: 100%; }

/* ---------- header ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,247,252,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1120px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { font-weight: 800; font-size: 1.15rem; color: var(--text); }
.brand .casal { color: var(--pink); font-style: italic; font-weight: 600; }
.nav-links { display: flex; gap: 28px; font-weight: 600; font-size: .92rem; color: var(--text-muted); }
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero { padding-top: 64px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin-bottom: 18px; }
.hero h1 .grad { background: linear-gradient(135deg, var(--primary), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cta { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { font-size: .85rem; color: var(--text-muted); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- phone mockup (CSS, não screenshot) ---------- */
.phone {
  width: 280px; margin: 0 auto;
  background: #0F0E1A; border-radius: 36px; padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(30,27,58,.45);
}
.phone-screen { background: var(--bg); border-radius: 26px; overflow: hidden; padding: 18px 16px 22px; min-height: 480px; }
.phone-greet { font-weight: 800; font-size: 1.05rem; margin-bottom: 14px; }
.phone-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.phone-card { background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow); }
.phone-card .pc-label { font-size: .62rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.phone-card .pc-value { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; margin-top: 2px; }
.phone-balance {
  background: linear-gradient(135deg, var(--primary), var(--pink)); color: #fff;
  border-radius: 14px; padding: 16px; margin-bottom: 14px;
}
.phone-balance .pb-label { font-size: .68rem; opacity: .85; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.phone-balance .pb-amount { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; margin: 4px 0 2px; }
.phone-balance .pb-desc { font-size: .78rem; opacity: .9; }
.phone-list { display: flex; flex-direction: column; gap: 8px; }
.phone-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 9px 10px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.phone-row .pr-ic { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: .95rem; flex-shrink: 0; }
.phone-row .pr-mid { flex: 1; min-width: 0; }
.phone-row .pr-title { font-size: .82rem; font-weight: 700; }
.phone-row .pr-sub { font-size: .68rem; color: var(--text-muted); }
.phone-row .pr-amt { font-family: var(--font-display); font-size: .85rem; font-weight: 800; white-space: nowrap; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 42px; }
.step { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.step .num {
  width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--pink));
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: .92rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.feature { background: var(--card); border-radius: var(--radius-sm); padding: 24px; border: 1px solid var(--border); }
.feature .f-ic { font-size: 1.6rem; margin-bottom: 12px; }
.feature h3 { font-size: .98rem; margin-bottom: 6px; }
.feature p { color: var(--text-muted); font-size: .87rem; }
@media (max-width: 860px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; align-items: stretch; }
.price-card { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--pink); box-shadow: 0 18px 40px -16px rgba(236,72,153,.35); position: relative; }
.price-card.featured::before {
  content: 'Mais popular'; position: absolute; top: -13px; left: 26px;
  background: var(--pink); color: #fff; font-size: .7rem; font-weight: 800;
  padding: 5px 12px; border-radius: 999px; letter-spacing: .03em;
}
.price-card h3 { font-size: 1.1rem; }
.price-card .p-trial { color: var(--text-muted); font-size: .82rem; margin: 6px 0 18px; }
.price-card .p-amount { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; letter-spacing: -.01em; }
.price-card .p-amount span { font-size: .95rem; font-weight: 600; color: var(--text-muted); }
.price-card .p-billed { color: var(--text-muted); font-size: .78rem; margin: 8px 0 22px; }
.price-card .btn { margin-top: auto; }
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } .price-card.featured { order: -1; } }
.price-note { text-align: center; color: var(--text-muted); font-size: .8rem; margin-top: 18px; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 42px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: .96rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--primary); font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--text-muted); font-size: .9rem; margin-top: 12px; }

/* ---------- final cta ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--primary), var(--pink));
  border-radius: 28px; padding: 56px 40px; text-align: center; color: #fff;
  margin: 0 24px;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,.9); max-width: 480px; margin: 0 auto 26px; }
.final-cta .btn-ghost { background: #fff; color: var(--primary); border: none; }

/* ---------- footer ---------- */
footer { padding: 48px 0 32px; border-top: 1px solid var(--border); margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 22px; font-size: .85rem; color: var(--text-muted); }
.footer-copy { font-size: .8rem; color: var(--text-muted); }

/* ---------- páginas legais (Termos / Privacidade) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.legal .back { font-size: .85rem; font-weight: 700; color: var(--primary); text-decoration: none; display: inline-block; margin-bottom: 24px; }
.legal h1 { font-size: 1.8rem; margin-bottom: 6px; }
.legal .updated { color: var(--text-muted); font-size: .82rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.1rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--text); font-size: .94rem; margin-bottom: 10px; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 14px; }
.legal strong { color: var(--text); }

/* ---------- mini gráfico do mockup "Evolução por Categoria" ---------- */
.hero-grid-rev { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 860px) { .hero-grid-rev { grid-template-columns: 1fr; } }
.hero-grid-rev > div:first-child { order: 1; }
.hero-grid-rev > div:last-child { order: 2; }
@media (max-width: 860px) { .hero-grid-rev > div:first-child { order: 2; } .hero-grid-rev > div:last-child { order: 1; } }

.chart-bars { display: flex; flex-direction: column; gap: 11px; margin-bottom: 14px; }
.chart-bar-row { display: grid; grid-template-columns: 84px 1fr 56px; align-items: center; gap: 8px; }
.cb-label { font-size: .68rem; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-track { height: 8px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.cb-fill { height: 100%; border-radius: 999px; }
.cb-val { font-family: var(--font-display); font-size: .7rem; font-weight: 700; text-align: right; white-space: nowrap; }
.insight-chip {
  background: var(--pink-50); color: var(--pink);
  font-size: .72rem; font-weight: 700; padding: 9px 12px; border-radius: 10px;
}
