:root {
  --green-700: #0f7a38;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-50: #f0fdf4;
  --ink-900: #0b1220;
  --ink-800: #111c33;
  --ink-700: #1c2a45;
  --ink-600: #33445f;
  --ink-500: #52617c;
  --ink-300: #9aa7bd;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1120px, 92%); margin-inline: auto; }
.container-narrow { width: min(820px, 92%); }

section { scroll-margin-top: 80px; }

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(22, 163, 74, 0.45); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11, 18, 32, 0.06);
}
.navbar-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-900); }
.brand-badge {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: var(--white); display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem; flex-shrink: 0;
}
.brand-name { font-size: 1.25rem; letter-spacing: -0.02em; }

.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-600); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--green-600); }

.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--ink-800); cursor: pointer; }

/* ===== HERO ===== */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(34, 197, 94, 0.18), transparent 60%),
    linear-gradient(160deg, var(--ink-900) 0%, var(--ink-800) 55%, var(--ink-700) 100%);
  color: var(--white);
  padding: 96px 0 110px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }

.hero-badge {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: rgba(34, 197, 94, 0.16); color: #86efac;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.12; letter-spacing: -0.02em; }
.hero h1 span { color: var(--green-500); }
.hero p.hero-note { color: var(--ink-300); }
.hero-content > p:not(.hero-note) { margin-top: 20px; font-size: 1.1rem; color: #c7d2e5; max-width: 56ch; }

.hero-list { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.hero-list li { color: #e6edf7; font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin-top: 22px; font-size: 0.9rem; }

/* mockup */
.hero-visual { display: flex; justify-content: center; }
.mockup {
  width: min(360px, 100%);
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(1.5deg);
}
.mockup-bar {
  display: flex; align-items: center; gap: 6px; padding: 12px 14px;
  background: var(--ink-800); color: #c7d2e5; font-size: 0.8rem;
}
.mockup-title { margin-left: 8px; font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #34d399; }
.mockup-body { padding: 18px; display: grid; gap: 14px; }
.mockup-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mockup-row .label { color: var(--ink-500); font-size: 0.82rem; font-weight: 600; }
.mockup-row .value { color: var(--ink-800); font-weight: 700; font-size: 0.95rem; }
.mockup-row .value.ok { color: var(--green-600); }
.barcode { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.barcode span { background: var(--ink-800); height: 100%; border-radius: 1px; }
.barcode span:nth-child(1) { width: 2px; } .barcode span:nth-child(2) { width: 5px; }
.barcode span:nth-child(3) { width: 1px; } .barcode span:nth-child(4) { width: 6px; }
.barcode span:nth-child(5) { width: 3px; } .barcode span:nth-child(6) { width: 2px; }
.mockup-btn {
  text-align: center; padding: 10px; border-radius: 10px;
  background: var(--green-50); color: var(--green-700); font-weight: 700; font-size: 0.9rem;
}

/* ===== SEÇÕES GENÉRICAS ===== */
.section { padding: 88px 0; }
.section-alt { background: #f8fafc; }

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--green-50); color: var(--green-700);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 16px;
  text-transform: uppercase;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.02em; color: var(--ink-900); }
.section-head h2 em { color: var(--green-600); font-style: normal; }
.section-head p { margin-top: 14px; color: var(--ink-500); font-size: 1.05rem; }

/* ===== PROBLEMA ===== */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain-card {
  background: var(--white); border: 1px solid #e8edf4; border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pain-icon { font-size: 1.7rem; }
.pain-card h3 { margin-top: 14px; font-size: 1.15rem; color: var(--ink-900); }
.pain-card p { margin-top: 8px; color: var(--ink-500); font-size: 0.98rem; }

/* ===== RECURSOS ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid #e8edf4; box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green-500); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-500), var(--green-700)); color: var(--white); font-size: 1.5rem;
}
.feature-card h3 { margin-top: 16px; font-size: 1.12rem; color: var(--ink-900); }
.feature-card p { margin-top: 8px; color: var(--ink-500); font-size: 0.97rem; }

/* ===== COMO FUNCIONA ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { text-align: center; padding: 20px 12px; }
.step-num {
  width: 58px; height: 58px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-600), var(--green-700)); color: var(--white);
  font-size: 1.5rem; font-weight: 800; box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35);
}
.step h3 { margin-top: 18px; font-size: 1.15rem; color: var(--ink-900); }
.step p { margin-top: 8px; color: var(--ink-500); font-size: 0.98rem; max-width: 34ch; margin-inline: auto; }

/* ===== NÚMEROS ===== */
.stats {
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  color: var(--white); padding: 56px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: 2.4rem; letter-spacing: -0.02em; }
.stat span { color: #d1fae5; font-weight: 600; }

/* ===== DEPOIMENTOS ===== */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial {
  background: var(--white); border-radius: var(--radius); padding: 30px 28px;
  border: 1px solid #e8edf4; box-shadow: var(--shadow);
}
.stars { color: #fbbf24; letter-spacing: 2px; }
.testimonial blockquote { margin-top: 12px; color: var(--ink-700); font-size: 1.02rem; }
.testimonial figcaption { margin-top: 16px; display: grid; }
.testimonial figcaption strong { color: var(--ink-900); }
.testimonial figcaption span { color: var(--ink-500); font-size: 0.9rem; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white); border: 1px solid #e8edf4; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--ink-900);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--green-600); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 10px; color: var(--ink-500); }

/* ===== CTA / FORMULÁRIO ===== */
.cta {
  background:
    radial-gradient(700px 400px at 10% 10%, rgba(34, 197, 94, 0.12), transparent 60%),
    var(--ink-900);
  color: var(--white);
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta .section-tag { background: rgba(34, 197, 94, 0.16); color: #86efac; }
.cta-content h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.02em; }
.cta-content p { margin-top: 16px; color: #c7d2e5; font-size: 1.05rem; }
.cta-list { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.cta-list li { color: #e6edf7; font-weight: 600; }

.form-card {
  background: var(--white); border-radius: 18px; padding: 34px; color: var(--ink-800);
  box-shadow: var(--shadow-lg);
}
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-weight: 700; font-size: 0.88rem; color: var(--ink-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid #dbe3ee; background: #f8fafc;
  font: inherit; color: var(--ink-800); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15); background: var(--white);
}
.field input.invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12); }
.field .error { color: #ef4444; font-size: 0.8rem; font-weight: 600; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--ink-500); margin: 18px 0; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green-600); }

.honeypot { display: none !important; }

.form-status { margin-top: 14px; font-weight: 700; text-align: center; min-height: 1.4em; }
.form-status.success { color: var(--green-700); }
.form-status.error { color: #ef4444; }

/* ===== FOOTER ===== */
.footer { background: var(--ink-900); color: #c7d2e5; padding: 48px 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.footer .brand-name { color: var(--white); }
.footer-brand p { margin-top: 10px; font-size: 0.92rem; color: var(--ink-300); }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: #c7d2e5; text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: var(--green-500); }
.footer-contact { display: grid; gap: 8px; font-size: 0.92rem; justify-items: end; }

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .hero { padding: 72px 0 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid, .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { justify-items: start; }
}

@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 6px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); padding: 16px 5%; border-bottom: 1px solid #e8edf4;
    box-shadow: var(--shadow);
  }
  .features-grid, .pain-grid, .steps, .testimonials, .stats-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
