/* ─── Reset e base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:       #6C3FD4;
  --brand-dark:  #4B2A9C;
  --brand-light: #9B72F0;
  --accent:      #25D366;   /* verde WhatsApp */
  --accent-dark: #1DA851;
  --dark:        #0F0A1E;
  --text:        #1A1033;
  --muted:       #6B7280;
  --surface:     #F9F7FF;
  --border:      #E5E1F5;
  --white:       #FFFFFF;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(108, 63, 212, 0.12);
  --shadow-lg:   0 12px 48px rgba(108, 63, 212, 0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Tipografia ──────────────────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
p  { font-size: 1.0625rem; color: var(--muted); line-height: 1.75; }

/* ─── Layout ──────────────────────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

/* ─── Botões ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 50px; font-size: 1rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none; transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }

.btn-secondary {
  background: var(--white); color: var(--brand);
  border: 2px solid var(--brand); box-shadow: none;
}
.btn-secondary:hover { background: var(--surface); transform: translateY(-2px); }

.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); }

.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* ─── NAV ─────────────────────────────────────────────────────────────────── */
nav.main-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 0 1.5rem;
}
.nav-logo {
  font-size: 1.375rem; font-weight: 800; color: var(--brand); text-decoration: none;
}
.logo-ai { color: var(--accent); }
.nav-logo .logo-dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text); font-size: .9375rem; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { display: flex; gap: .75rem; align-items: center; }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ─── HERO ────────────────────────────────────────────────────────────────── */
#hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1E0A4A 60%, #2D1060 100%);
  padding: 6rem 0 5rem;
  position: relative; overflow: hidden;
}
#hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(108,63,212,.25), transparent);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(37, 211, 102, .15); border: 1px solid rgba(37, 211, 102, .3);
  color: var(--accent); font-size: .875rem; font-weight: 600;
  padding: .35rem 1rem; border-radius: 50px; margin-bottom: 1.5rem;
}
.hero-badge .dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
#hero h1 { color: var(--white); max-width: 700px; margin-bottom: 1.25rem; }
#hero h1 span { color: var(--brand-light); }
#hero > .container > p { color: rgba(255,255,255,.7); max-width: 560px; font-size: 1.125rem; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-social-proof {
  display: flex; align-items: center; gap: 1rem;
  color: rgba(255,255,255,.55); font-size: .875rem;
}
.hero-social-proof .avatars { display: flex; }
.hero-social-proof .avatars img,
.hero-social-proof .avatars span {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--dark); margin-left: -8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; color: white;
}
.avatar-1 { background: #9B72F0; }
.avatar-2 { background: #F59E0B; }
.avatar-3 { background: #EF4444; }
.avatar-4 { background: #3B82F6; }

.hero-preview {
  position: relative; margin-top: 1rem;
  max-width: 520px;
}
.chat-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 1.5rem; backdrop-filter: blur(8px);
}
.chat-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.chat-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
}
.chat-name { color: white; font-weight: 600; font-size: .9375rem; }
.chat-status { color: var(--accent); font-size: .75rem; }
.chat-bubble {
  border-radius: 16px; padding: .75rem 1rem;
  font-size: .9rem; line-height: 1.5; max-width: 85%; margin-bottom: .5rem;
}
.bubble-bot { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); border-bottom-left-radius: 4px; }
.bubble-client { background: var(--accent); color: white; border-bottom-right-radius: 4px; align-self: flex-end; margin-left: auto; }
.chat-bubbles { display: flex; flex-direction: column; gap: .4rem; }
.chat-time { font-size: .7rem; color: rgba(255,255,255,.35); margin-top: .25rem; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* ─── PROBLEMAS ───────────────────────────────────────────────────────────── */
#problema { background: var(--surface); }
.problema-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.problema-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: box-shadow .2s;
}
.problema-card:hover { box-shadow: var(--shadow); }
.problema-icon { font-size: 2rem; margin-bottom: 1rem; }
.problema-card h3 { margin-bottom: .5rem; font-size: 1.05rem; }

/* ─── COMO FUNCIONA ───────────────────────────────────────────────────────── */
#como-funciona { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-top: 3rem; position: relative; }
.step { text-align: center; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: white; font-size: 1.375rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.step h3 { margin-bottom: .5rem; }

/* ─── BENEFÍCIOS ──────────────────────────────────────────────────────────── */
#beneficios {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  color: white;
}
#beneficios h2 { color: white; }
#beneficios .section-label { color: rgba(255,255,255,.6); }
.beneficios-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.beneficio-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 1.75rem; backdrop-filter: blur(8px);
  transition: background .2s;
}
.beneficio-card:hover { background: rgba(255,255,255,.15); }
.beneficio-icon { font-size: 2rem; margin-bottom: 1rem; }
.beneficio-card h3 { color: white; margin-bottom: .5rem; font-size: 1.05rem; }
.beneficio-card p { color: rgba(255,255,255,.7); font-size: .9375rem; }

/* ─── FEATURES ────────────────────────────────────────────────────────────── */
#features { background: var(--surface); }
.features-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem; margin-top: 3rem;
}
.feature-item {
  display: flex; align-items: flex-start; gap: .875rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem; transition: box-shadow .2s;
}
.feature-item:hover { box-shadow: var(--shadow); }
.feature-check {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: rgba(37, 211, 102, .12); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; margin-top: .1rem;
}
.feature-item h3 { font-size: .9375rem; margin-bottom: .2rem; }
.feature-item p { font-size: .875rem; }

/* ─── PARA QUEM ───────────────────────────────────────────────────────────── */
#para-quem { background: var(--white); }
.personas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.persona-chip {
  display: flex; align-items: center; gap: .5rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 50px; padding: .6rem 1.25rem;
  font-size: .9375rem; font-weight: 500; transition: all .2s;
}
.persona-chip:hover { border-color: var(--brand); color: var(--brand); background: rgba(108,63,212,.05); }

/* ─── NÚMEROS ─────────────────────────────────────────────────────────────── */
#numeros { background: var(--surface); padding: 3.5rem 0; }
.numeros-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.numero-card { text-align: center; padding: 2rem 1rem; }
.numero-value { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--brand); line-height: 1; }
.numero-label { font-size: .9rem; color: var(--muted); margin-top: .5rem; }

/* ─── DEPOIMENTO ──────────────────────────────────────────────────────────── */
#depoimento { background: var(--white); }
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 2.5rem; max-width: 720px; margin: 3rem auto 0;
  position: relative;
}
.testimonial-card::before { content: '"'; font-size: 5rem; line-height: 1; color: var(--brand); opacity: .12; position: absolute; top: 1rem; left: 1.5rem; font-family: Georgia, serif; }
.testimonial-text { font-size: 1.125rem; color: var(--text); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1.1rem;
}
.author-name { font-weight: 600; font-size: .9375rem; }
.author-role { font-size: .8rem; color: var(--muted); }
.stars { color: #F59E0B; font-size: 1rem; margin-bottom: .25rem; }

/* ─── PREÇOS ──────────────────────────────────────────────────────────────── */
#precos { background: var(--surface); }
.trial-banner {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: var(--radius); padding: 1.25rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem;
}
.trial-banner p { color: rgba(255,255,255,.85); font-size: .9375rem; margin: 0; }
.trial-banner strong { color: white; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.plan-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 2.25rem; position: relative; transition: box-shadow .2s;
}
.plan-card:hover { box-shadow: var(--shadow-lg); }
.plan-card.featured {
  border-color: var(--brand); border-width: 2px;
  background: var(--white);
}
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; } }

.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: white;
  font-size: .8rem; font-weight: 700; padding: .3rem 1rem; border-radius: 50px;
}
.plan-badge-soon { background: var(--muted); }
.plan-soon {
  border-style: dashed;
  opacity: .8;
}
.plan-soon:hover { box-shadow: none; opacity: 1; }
.plan-name { font-size: 1.125rem; font-weight: 700; margin-bottom: .25rem; }
.plan-desc { font-size: .875rem; color: var(--muted); margin-bottom: 1.5rem; }
.plan-price { margin-bottom: 1.5rem; }
.plan-price .amount { font-size: 3rem; font-weight: 800; color: var(--text); line-height: 1; }
.plan-price .currency { font-size: 1.25rem; font-weight: 700; vertical-align: super; color: var(--muted); }
.plan-price .period { font-size: .875rem; color: var(--muted); }
.plan-features { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.plan-features li { display: flex; align-items: flex-start; gap: .625rem; font-size: .9375rem; }
.plan-features li .check { color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: .1rem; }
.plan-features li .x { color: #D1D5DB; flex-shrink: 0; }
.plan-features li.disabled { color: var(--muted); }
.plan-cta { width: 100%; text-align: center; justify-content: center; }

/* ─── FAQ ─────────────────────────────────────────────────────────────────── */
#faq { background: var(--white); }
.faq-list { max-width: 720px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.25rem 1.5rem; font-size: 1rem; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; transition: background .15s;
}
.faq-question:hover { background: var(--surface); }
.faq-icon { font-size: 1.25rem; color: var(--brand); transition: transform .2s; flex-shrink: 0; }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-answer p { padding-bottom: 1.25rem; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ─── CTA FINAL ───────────────────────────────────────────────────────────── */
#cta-final {
  background: linear-gradient(135deg, var(--dark) 0%, #1E0A4A 100%);
  text-align: center; padding: 6rem 0;
}
#cta-final h2 { color: white; margin-bottom: 1rem; }
#cta-final p { color: rgba(255,255,255,.65); max-width: 520px; margin: 0 auto 2.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.no-card { color: rgba(255,255,255,.45); font-size: .875rem; margin-top: 2.25rem; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
footer {
  background: var(--dark); padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-size: 1.125rem; font-weight: 800; color: var(--brand-light); text-decoration: none; }
.footer-logo span { color: var(--accent); }
.footer-copy { font-size: .85rem; color: rgba(255,255,255,.35); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .85rem; color: rgba(255,255,255,.4); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,.7); }

/* ─── Utilitários ─────────────────────────────────────────────────────────── */
.section-label {
  font-size: .8125rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand); margin-bottom: .75rem;
}
.section-title { margin-bottom: 1rem; }
.section-sub { max-width: 580px; font-size: 1.0625rem; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ─── Responsivo ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  section { padding: 3.5rem 0; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .trial-banner { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .problema-grid,
  .beneficios-grid { grid-template-columns: 1fr; }
}
