:root {
  --navy: #1a1a2e;
  --navy-light: #23233d;
  --teal: #08bcdc;
  --purple: #895bfc;
  --gradient: linear-gradient(135deg, var(--teal), var(--purple));
  --text-light: #ffffff;
  --text-muted: rgba(255,255,255,0.62);
  --text-dark: #1a1a2e;
  --text-dark-muted: #5b5b6b;
  --radius: 16px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(8,188,220,0.28);
}
.btn-primary:hover { transform: translateY(-1px); opacity: 0.95; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }
.btn-nav { padding: 9px 16px; font-size: 13px; }

/* ---------- nav ---------- */

.nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand-logo { height: 34px; width: auto; display: block; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-select {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 600;
}
.lang-select option {
  color: var(--text-dark);
  background: #fff;
}
.nav .btn-nav { display: none; }

/* ---------- hero ---------- */

.hero {
  background: var(--navy);
  color: #fff;
  padding: 44px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: var(--gradient);
  filter: blur(90px);
  opacity: 0.35;
  border-radius: 50%;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
.badge {
  display: inline-block;
  background: rgba(8,188,220,0.14);
  color: var(--teal);
  border: 1px solid rgba(8,188,220,0.35);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 30px;
  line-height: 1.18;
  font-weight: 800;
  margin: 0 0 16px;
  max-width: 640px;
}
.hero-subtitle {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 28px;
}
.hero-ctas { display: flex; flex-direction: column; gap: 12px; }
.hero-ctas .btn { width: 100%; }

/* ---------- hero visual (mockup de app, CSS puro) ---------- */

.hero-visual { display: none; }

.phone-mock {
  position: relative;
  width: 230px;
  height: 460px;
  background: #0d0d1a;
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06);
}
.phone-mock-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 16px;
  background: #0d0d1a;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}
.phone-mock-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f4f4f9;
  border-radius: 27px;
  padding: 26px 14px 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pm-topbar { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.pm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gradient); flex-shrink: 0; }
.pm-topbar-lines { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pm-topbar-lines span { display: block; height: 6px; border-radius: 3px; background: #dcdce6; }
.pm-topbar-lines span:first-child { width: 60%; }
.pm-topbar-lines span:last-child { width: 35%; }

.pm-hero-card {
  background: var(--gradient);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pm-line { display: block; height: 7px; border-radius: 4px; background: #dcdce6; }
.pm-line.light { background: rgba(255,255,255,0.55); }
.pm-line-xs { width: 40%; height: 6px; }
.pm-line-sm { width: 55%; }
.pm-line-md { width: 75%; }
.pm-line-lg { width: 90%; height: 9px; }
.pm-chip {
  align-self: flex-start;
  margin-top: 2px;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}

.pm-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #ececf2;
  border-radius: 12px;
  padding: 9px 10px;
}
.pm-avatar { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, #c7d2fe, #a5b4fc); flex-shrink: 0; }
.pm-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.pm-check { width: 18px; height: 18px; border-radius: 50%; background: rgba(8,188,220,0.15); color: var(--teal); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.pm-chat { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.pm-chat-bubble {
  border-radius: 14px;
  padding: 8px 11px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
  max-width: 78%;
}
.pm-chat-in {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #ececf2;
  color: var(--text-dark);
  border-radius: 14px 14px 14px 4px;
}
.pm-chat-out {
  align-self: flex-end;
  background: var(--gradient);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
}

.hero-visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: var(--gradient);
  filter: blur(80px);
  opacity: 0.3;
  border-radius: 50%;
  z-index: 0;
}
.phone-mock { position: relative; z-index: 1; }

/* ---------- secções gerais ---------- */

section h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--navy);
}
.section-subtitle {
  color: var(--text-dark-muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 520px;
  margin: 0 0 32px;
}

/* ---------- faixa de numeros/prova ---------- */

.stats-strip { padding: 28px 0; background: #f8f8fc; border-top: 1px solid #ececf2; border-bottom: 1px solid #ececf2; }
.stats-strip-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-number { font-size: 26px; font-weight: 800; color: var(--navy); }
.stat-label { font-size: 12px; color: var(--text-dark-muted); font-weight: 600; }

.features { padding: 56px 0; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.feature-card {
  position: relative;
  border: 1px solid #ececf2;
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}
.feature-card-ai { border-color: rgba(137,91,252,0.35); }
.ai-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--gradient);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 4px 9px;
  border-radius: 100px;
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gradient);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 22px; height: 22px; color: #fff; }
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy);
}
.feature-card-ai h3 { padding-right: 90px; }
.feature-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dark-muted);
  margin: 0;
}

.cta-mid { padding: 8px 0 56px; }
.cta-mid-inner { display: flex; justify-content: center; }
.cta-mid .btn { width: 100%; }

/* ---------- pricing ---------- */

.pricing { padding: 8px 0 56px; background: #f8f8fb; }
.discount-note {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  background: rgba(137,91,252,0.1);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 28px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.plan-card {
  background: #fff;
  border: 1.5px solid #ececf2;
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}
.plan-card.highlight {
  border-color: var(--teal);
  box-shadow: 0 14px 32px rgba(8,188,220,0.14);
}
.plan-highlight-tag {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.plan-name { font-size: 18px; font-weight: 800; color: var(--navy); margin: 4px 0 4px; }
.plan-desc { font-size: 13px; color: var(--text-dark-muted); margin: 0 0 18px; }
.plan-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; flex-wrap: wrap; }
.plan-price { font-size: 32px; font-weight: 800; color: var(--navy); }
.plan-price-original { font-size: 15px; color: #b6b6c2; text-decoration: line-through; }
.plan-period { font-size: 13px; color: var(--text-dark-muted); margin: 0 0 20px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li {
  font-size: 13.5px;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.plan-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 800;
  flex-shrink: 0;
}
.plan-card .btn { width: 100%; }
.plan-card:not(.highlight) .btn-primary {
  background: var(--navy);
  box-shadow: none;
}

/* ---------- social proof ---------- */

.social { padding: 8px 0 56px; }
.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.social-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
}
.social-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.social-card .avatar svg { width: 22px; height: 22px; color: #fff; }
.social-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.social-card p { font-size: 14px; line-height: 1.55; color: var(--text-muted); margin: 0; }
.social-card--soon { opacity: 0.92; }
.soon-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  background: rgba(8,188,220,0.16);
  border: 1px solid rgba(8,188,220,0.35);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.feature-soon-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--teal);
  background: rgba(8,188,220,0.16);
  border: 1px solid rgba(8,188,220,0.35);
  border-radius: 100px;
  padding: 1px 8px;
  margin-left: 6px;
  white-space: nowrap;
}

/* ---------- final CTA ---------- */

.final-cta { padding: 56px 0 64px; background: #f8f8fb; }
.final-cta-inner { text-align: center; }
.final-cta h2 { margin-bottom: 10px; }
.final-cta p { color: var(--text-dark-muted); font-size: 15px; margin: 0 0 26px; }
.final-cta .btn { width: 100%; }

/* ---------- footer ---------- */

.footer { background: var(--navy); color: #fff; padding: 40px 0 28px; }
.footer-inner { text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.footer-logo { height: 30px; width: auto; }
.footer-tagline { font-size: 13px; color: var(--text-muted); margin: 0 0 18px; }
.footer-links { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; margin-bottom: 18px; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--teal); }
.footer-links span { color: rgba(255,255,255,0.25); }
.footer-rights { font-size: 12px; color: rgba(255,255,255,0.4); margin: 0; }
.footer-legal { font-size: 11px; color: rgba(255,255,255,0.3); margin: 4px 0 0; }

/* ---------- tablet+ ---------- */

@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
  .hero-ctas .btn { width: auto; }
  .cta-mid .btn { width: auto; }
  .final-cta .btn { width: auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip-inner { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 860px) {
  .nav .btn-nav { display: inline-flex; }
  .brand-logo { height: 44px; }
  .hero-inner { display: grid; grid-template-columns: 1fr 280px; align-items: center; gap: 32px; }
  .hero-content { min-width: 0; }
  .hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
  .hero h1 { font-size: 42px; }
  .hero-subtitle { font-size: 18px; }
  section h2 { font-size: 32px; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 340px; gap: 48px; }
  .phone-mock { width: 260px; height: 520px; }
}

@media (min-width: 1024px) {
  .hero { padding: 84px 0 96px; }
  .hero h1 { font-size: 50px; }
}

/* ---------- fade-in leve ao scroll ---------- */

.reveal-on-scroll { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
}
