/* ═══════════════════════════════════
   BASE
════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-50:  #eff6ff;
  --dark:     #0f172a;
  --gray-900: #111827;
  --gray-600: #4b5563;
  --gray-400: #9ca3af;
  --gray-100: #f3f4f6;
  --white:    #ffffff;
  --green:    #22c55e;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(0,0,0,.08);
  --transition: .2s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

img, svg { display: block; }
a { text-decoration: none; color: inherit; }

/* ═══════════════════════════════════
   TIPOGRAFIA
════════════════════════════════════ */
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.1rem; font-weight: 700; }

.gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════
   BOTÕES
════════════════════════════════════ */
.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--blue-700); }

.btn-ghost {
  color: var(--gray-600);
  padding: 10px 16px;
  font-size: .9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.btn-ghost:hover { background: var(--gray-100); color: var(--dark); }

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-600);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(37,99,235,.35);
  transition: all var(--transition);
}
.btn-hero:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37,99,235,.4); }

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  padding: 16px 28px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  color: var(--gray-600);
  font-size: 1.05rem;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-outline-hero:hover { border-color: var(--blue-600); color: var(--blue-600); }

.btn-pricing {
  display: block;
  background: var(--blue-600);
  color: var(--white);
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 28px 0 12px;
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
  transition: all var(--transition);
}
.btn-pricing:hover { background: var(--blue-700); transform: translateY(-1px); }

.btn-hero-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--blue-600);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  transition: all var(--transition);
}
.btn-hero-white:hover { background: var(--blue-50); transform: translateY(-2px); }

/* ═══════════════════════════════════
   NAVEGAÇÃO
════════════════════════════════════ */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow var(--transition);
}
.nav-wrapper.scrolled { box-shadow: var(--shadow); }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  padding: 8px 12px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--dark); background: var(--gray-100); }

.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-600);
  border-radius: 2px;
  transition: all .3s;
}

/* ═══════════════════════════════════
   HERO
════════════════════════════════════ */
.hero {
  background: linear-gradient(160deg, #f0f7ff 0%, #fafafe 60%, #fff 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 100px;
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-600);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero-sub {
  max-width: 600px;
  font-size: 1.15rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.hero-trust { font-size: .85rem; color: var(--gray-400); }

/* Mockup browser */
/* Screenshot real do sistema */
.hero-mockup { width: 100%; max-width: 900px; margin-top: 32px; }

.screenshot-frame {
  background: #1e293b;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.06);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #334155;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ef4444; }
.dot.y { background: #f59e0b; }
.dot.g { background: #22c55e; }

.mockup-url {
  flex: 1;
  background: #1e293b;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: .75rem;
  color: #94a3b8;
  margin: 0 8px;
}

.hero-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-top: none;
}

/* ═══════════════════════════════════
   SECTION HEADERS
════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-sub { margin-top: 12px; color: var(--gray-600); max-width: 520px; margin-inline: auto; }

/* ═══════════════════════════════════
   FUNCIONALIDADES
════════════════════════════════════ */
.features { padding: 96px 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px;
  transition: all var(--transition);
}
.feature-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); transform: translateY(-3px); }

.feature-icon {
  width: 48px; height: 48px;
  background: var(--c);
  color: var(--ci);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: .9rem; color: var(--gray-600); line-height: 1.6; }

/* ═══════════════════════════════════
   COMO FUNCIONA
════════════════════════════════════ */
.how-it-works {
  background: #f8fafc;
  padding: 96px 0;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.step-number {
  width: 52px; height: 52px;
  background: var(--blue-600);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
}

.step-content h3 { margin-bottom: 8px; }
.step-content p { font-size: .9rem; color: var(--gray-600); }

.step-divider {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-600), #7c3aed);
  margin-top: 26px;
  border-radius: 2px;
}

/* ═══════════════════════════════════
   DEPOIMENTOS
════════════════════════════════════ */
.social-proof { padding: 96px 0; }

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px;
  position: relative;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 4rem;
  line-height: 1;
  color: var(--blue-600);
  opacity: .15;
  font-family: Georgia, serif;
}
.testimonial p {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  padding-top: 24px;
}
.testimonial footer strong { display: block; font-weight: 700; font-size: .9rem; }
.testimonial footer span { font-size: .8rem; color: var(--gray-400); }

/* ═══════════════════════════════════
   PREÇO
════════════════════════════════════ */
.pricing {
  background: #f8fafc;
  padding: 96px 0;
}

.pricing-card-wrapper { display: flex; justify-content: center; }

.pricing-card {
  background: white;
  border: 2px solid var(--blue-600);
  border-radius: 24px;
  padding: 40px 48px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 8px 40px rgba(37,99,235,.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-600);
  color: white;
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name { font-size: .9rem; font-weight: 600; color: var(--gray-400); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .08em; }

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 4px;
}
.price-currency { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; color: var(--gray-600); }
.price-value    { font-size: 5rem; font-weight: 900; line-height: 1; color: var(--dark); letter-spacing: -0.04em; }
.price-cents    { font-size: 2rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.price-period   { font-size: 1rem; color: var(--gray-400); margin-bottom: 8px; }

.plan-desc { font-size: .9rem; color: var(--gray-600); margin-bottom: 24px; }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--gray-600); }
.plan-features .check { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

.plan-note { text-align: center; font-size: .8rem; color: var(--gray-400); }

/* ═══════════════════════════════════
   FAQ
════════════════════════════════════ */
.faq { padding: 96px 0; }
.faq-inner { max-width: 680px; margin: 0 auto; }

.faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; }

.faq-item { border-bottom: 1px solid #e5e7eb; }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: white;
  border: none;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: background var(--transition);
}
.faq-question:hover { background: #f9fafb; }
.faq-question[aria-expanded="true"] { background: #f0f7ff; color: var(--blue-600); }

.faq-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform .3s;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }

.faq-answer { padding: 0 24px 20px; background: white; }
.faq-answer p { font-size: .9rem; color: var(--gray-600); line-height: 1.7; }

/* ═══════════════════════════════════
   CTA FINAL
════════════════════════════════════ */
.cta-final {
  background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%);
  padding: 96px 0;
  text-align: center;
  color: white;
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-final h2 { color: white; margin-bottom: 16px; }
.cta-final p { color: rgba(255,255,255,.8); margin-bottom: 32px; font-size: 1.1rem; }

/* ═══════════════════════════════════
   FOOTER
════════════════════════════════════ */
.footer { background: var(--dark); color: white; padding: 64px 0 0; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo-white { color: white; }
.footer-brand p { margin-top: 12px; font-size: .9rem; color: #94a3b8; max-width: 280px; line-height: 1.6; }

.footer-links { display: flex; gap: 48px; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; margin-bottom: 4px; }
.footer-col a { font-size: .9rem; color: #cbd5e1; transition: color var(--transition); }
.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: .8rem; color: #64748b; }

/* ═══════════════════════════════════
   RESPONSIVO
════════════════════════════════════ */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; gap: 0; }
  .step-divider { width: 2px; height: 40px; background: linear-gradient(180deg, var(--blue-600), #7c3aed); margin: 0 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { gap: 6px; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding: 60px 0 40px; }
  .pricing-card { padding: 32px 24px; }
  .footer-links { flex-direction: column; gap: 24px; }
  h1 { font-size: 2.2rem; }
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px;
    box-shadow: var(--shadow);
    z-index: 99;
  }
}
