:root {
  color-scheme: dark;
  --bg-main: #121417;
  --bg-card: #1F242A;
  --bg-card-soft: #191D22;
  --border: #2A3038;
  --primary: #3B82F6;
  --primary-hover: #2563EB;
  --success: #22C55E;
  --text-main: #E5E7EB;
  --text-muted: #9CA3AF;
  --danger: #EF4444;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: "Comfortaa", sans-serif; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
}
.btn.primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59,130,246,0.35);
}

.btn.ghost {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border);
}
.btn.ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn.whatsapp {
  background: var(--success);
  color: #fff;
}
.btn.whatsapp:hover {
  background: #16A34A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34,197,94,0.35);
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 20, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}
.brand img {
  height: 38px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-main); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 28px;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 100px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(59,130,246,0.14), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(34,197,94,0.10), transparent 45%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.35);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--primary); }

.hero p.lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-note .material-symbols-outlined { color: var(--success); font-size: 18px; }

/* mockup card */
.hero-visual {
  position: relative;
}
.mock-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55);
  padding: 22px;
  transform: rotate(-1deg);
}
.mock-card .mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.mock-header strong { font-size: 15px; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.mock-row:last-child { border-bottom: none; }
.mock-row .name { font-weight: 600; }
.mock-row .muted { color: var(--text-muted); font-size: 12px; }
.mock-row .price { color: var(--success); font-weight: 700; }

.mock-float {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  font-size: 13px;
  font-weight: 600;
}
.mock-float.top { top: -18px; right: 10px; transform: rotate(3deg); }
.mock-float.bottom { bottom: -20px; left: -20px; transform: rotate(-2deg); }
.mock-float .material-symbols-outlined { color: var(--success); background: rgba(34,197,94,0.15); border-radius: 8px; padding: 6px; font-size: 20px; }

/* ===== SECTION HEADINGS ===== */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-card-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-head .eyebrow {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.section-head p { color: var(--text-muted); font-size: 15px; }

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(59,130,246,0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--text-muted); }

/* ===== BENEFITS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card { text-align: center; padding: 10px; }
.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(34,197,94,0.12);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 26px;
}
.benefit-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.benefit-card p { font-size: 14px; color: var(--text-muted); max-width: 300px; margin: 0 auto; }

/* ===== PRICING ===== */
.pricing-wrap { display: flex; justify-content: center; }
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--primary);
  border-radius: 20px;
  padding: 48px 44px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 70px rgba(59,130,246,0.12);
}
.pricing-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: 999px;
  text-transform: uppercase;
}
.pricing-card h3 { text-align: center; font-size: 18px; color: var(--text-muted); font-weight: 600; margin-bottom: 6px; }
.price-value {
  text-align: center;
  margin: 6px 0 6px;
}
.price-value .currency { font-size: 20px; color: var(--text-muted); vertical-align: top; margin-right: 4px; }
.price-value .amount { font-size: 56px; font-weight: 700; color: var(--text-main); }
.price-value .period { font-size: 15px; color: var(--text-muted); }
.pricing-sub { text-align: center; color: var(--text-muted); font-size: 13px; margin-bottom: 30px; }

.pricing-list { margin-bottom: 32px; }
.pricing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-list li:last-child { border-bottom: none; }
.pricing-list .material-symbols-outlined { color: var(--success); font-size: 20px; }

.pricing-card .btn { width: 100%; justify-content: center; padding: 15px; font-size: 16px; }

/* ===== CONTATO / CTA FINAL ===== */
.cta-final {
  text-align: center;
}
.cta-final h2 { font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.cta-final p { color: var(--text-muted); margin-bottom: 30px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-final .hero-actions { justify-content: center; }

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg-card-soft);
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer .brand { font-size: 16px; }
footer .brand img { height: 32px; max-width: 150px; }
footer .foot-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--text-muted);
}
footer .foot-contact a { color: var(--text-muted); transition: color 0.2s; }
footer .foot-contact a:hover { color: var(--primary); }
footer .foot-muted { font-size: 13px; color: var(--text-muted); }
footer .foot-muted a { color: var(--primary); }

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { height: 30px; max-width: 130px; }
  .nav-actions .btn { padding: 10px 14px; font-size: 13px; }
  .hero { padding: 70px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 36px 26px; }
  .price-value .amount { font-size: 46px; }
  footer .container { flex-direction: column; text-align: center; }
}

/* ===== DEMO ===== */
.demo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: 56px;
}
.demo-strip h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.demo-strip p { color: var(--text-muted); font-size: 14px; }

/* ===== BOTÃO SEM ESTILO (usado como link) ===== */
button.btn { font-family: inherit; }

/* ===== MODAIS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
  overflow-y: auto;
}
.modal-overlay.active { display: flex; }

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.modal-header h3 { font-size: 19px; font-weight: 700; }
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.modal-close:hover { color: var(--text-main); }

.modal-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0 14px; }
.modal-note { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; margin-bottom: 12px; }

.form-row { display: flex; gap: 14px; margin-bottom: 14px; }
.form-row .form-group { flex: 1; }
.form-group label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.form-group input {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--text-main);
  font-size: 14px;
  font-family: "Comfortaa", sans-serif;
}
.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group input.invalid {
  border-color: var(--danger);
}
.form-group input.invalid:focus {
  border-color: var(--danger);
}

.modal-error {
  display: none;
  background: rgba(239,68,68,0.12);
  border: 1px solid var(--danger);
  color: var(--danger);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.modal-error.show { display: block; }

.checkbox-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  cursor: pointer;
}
.checkbox-terms input {
  width: auto;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}
.checkbox-terms a {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 560px) {
  .form-row { flex-direction: column; gap: 14px; }
  .demo-strip { flex-direction: column; text-align: center; }
}
