:root {
  --brand-green: #8db81e; /* principal */
  --brand-navy: #2c3e50;  /* escuro (navbar/footer) */
  --brand-teal: #1abc9c;  /* acento */
  --brand-blue: #126ca2;  /* secundário */

  --bs-primary: var(--brand-navy);
  --bs-secondary: var(--brand-blue);
}

.bg-brand { background-color: var(--brand-green) !important; }
.text-brand { color: var(--brand-green) !important; }
.btn-accent { background-color: var(--brand-teal); color: #fff; }
.btn-accent:hover { background-color: #149c86; color: #fff; }
.bg-accent { background-color: var(--brand-teal) !important; color: #fff !important; }

.bg-brand-soft { background-color: rgba(141, 184, 30, 0.12); }
.bg-primary-soft { background-color: rgba(44, 62, 80, 0.12); }
.bg-accent-soft { background-color: rgba(26, 188, 156, 0.12); }
.bg-secondary-soft { background-color: rgba(18, 108, 162, 0.12); }

.navbar.bg-primary { background-color: var(--brand-navy) !important; }

.gradient-hero {
  background: linear-gradient(135deg, var(--brand-navy), #234058 55%, var(--brand-blue));
}

.hero-card { border: 0; }
.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.timeline { list-style: none; padding-left: 0; }
.timeline li { position: relative; padding-left: 44px; margin-bottom: 12px; }
.timeline .step {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
}

/* Timeline educativa */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 1.5rem;
  width: 2px;
  height: calc(100% + 0.5rem);
  background: linear-gradient(to bottom, var(--brand-primary), var(--brand-accent));
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px currentColor;
}

.timeline-content {
  margin-left: 0.5rem;
}

.pricing-card .card-header { border-bottom: 0; }
.pricing-card.recommended { border-color: var(--brand-blue) !important; }
.pricing-card.recommended .card-header { background: var(--brand-blue) !important; }

/* Destaque do card recomendado */
@media (min-width: 992px) {
  .pricing-card.recommended {
    transform: scale(1.03);
    box-shadow: 0 1.25rem 2rem rgba(0,0,0,.12) !important;
  }
}
.pricing-card.recommended:hover {
  transform: scale(1.04);
  box-shadow: 0 1.5rem 2.25rem rgba(0,0,0,.16) !important;
}

.cta-final { background: #f7f9fb; }

/* Utilidades */
.py-lg-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

/* Interações e animações para Tipos de Notas */
.filter-pills .btn { border-radius: 999px; }
.filter-pills .btn.active {
  background: var(--brand-teal);
  color: #fff;
  border-color: var(--brand-teal);
}

.note-card { transition: transform .2s ease, box-shadow .2s ease; border: 0; }
.note-card:hover { transform: translateY(-4px); box-shadow: 0 0.75rem 1.25rem rgba(0,0,0,.08); }
.benefit-card .icon-circle { font-size: 18px; }
.benefit-card .btn-link { color: var(--brand-blue); }
.benefit-card .btn-link:hover { color: var(--brand-teal); }

/* Destaque do botão "Saiba mais" nos benefícios (sem sublinhado) */
#beneficios .benefit-card .btn-link {
  text-decoration: none;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
#beneficios.section-accent .benefit-card .btn-link {
  color: #fff;
  background: rgba(255,255,255,0.14);
}
#beneficios.section-accent .benefit-card .btn-link:hover,
#beneficios.section-accent .benefit-card .btn-link:focus {
  color: #fff;
  background: rgba(255,255,255,0.24);
}

/* Ícones maiores, centralizados e interativos */
.benefit-card .card-body { text-align: center; }
.benefit-card .icon-circle {
  width: 64px;
  height: 64px;
  font-size: 28px;
  margin: 0 auto 12px auto;
}
.benefit-card:hover .icon-circle {
  transform: scale(1.06);
  box-shadow: 0 0 0 6px rgba(26,188,156,0.08), 0 8px 18px rgba(0,0,0,.12);
}

/* Tipos de Notas: centralizar e dar interatividade semelhante */
#tipos-notas .note-card .card-body { text-align: center; }
#tipos-notas .note-card .icon-circle { margin: 0 auto 12px auto; }
#tipos-notas .note-card:hover .icon-circle {
  transform: scale(1.05);
  box-shadow: 0 0 0 6px rgba(141,184,30,0.10), 0 8px 18px rgba(0,0,0,.12);
}

/* Aumentar contraste dos ícones no tema escuro */
.section-dark .icon-circle { color: #fff; }
.section-dark .bg-brand-soft { background-color: rgba(141, 184, 30, 0.35); }
.section-dark .bg-primary-soft { background-color: rgba(44, 62, 80, 0.35); }
.section-dark .bg-accent-soft { background-color: rgba(26, 188, 156, 0.35); }
.section-dark .bg-secondary-soft { background-color: rgba(18, 108, 162, 0.35); }
.section-dark .note-card:hover .icon-circle {
  box-shadow: 0 0 0 8px rgba(255,255,255,0.10), 0 10px 22px rgba(0,0,0,.22);
}

@media (prefers-reduced-motion: reduce) {
  .icon-circle { transition: none; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .4s ease both; }

/* util animate on scroll */
[data-animate] { opacity: 0; transform: translateY(12px); }
.animate-in { opacity: 1 !important; transform: translateY(0) !important; transition: opacity .4s ease, transform .4s ease; }

/* Seção Benefícios destacada */
.section-accent {
  background: radial-gradient(1200px 600px at 10% 10%, rgba(26, 188, 156, 0.18), transparent 40%),
              radial-gradient(1000px 600px at 90% 20%, rgba(141, 184, 30, 0.14), transparent 45%),
              linear-gradient(135deg, #126ca2, #0f5b89 60%, #2c3e50);
  color: #fff;
}
.section-accent table { color: #fff; }
.section-accent .table-responsive { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); border-radius: .5rem; }
.section-accent .table { background: transparent; }
.section-accent .table thead th { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.18); }
.section-accent .table tbody tr { background: transparent; }
.section-accent .table tbody td, .section-accent .table tbody th { border-color: rgba(255,255,255,0.12); }
.section-accent .table-hover tbody tr:hover { background-color: rgba(255,255,255,0.08); }
.section-accent .badge.bg-secondary { background-color: var(--brand-blue) !important; }

/* Espaçamento extra para seções destacadas quando necessário */
.section-spacious { padding-top: 6rem !important; padding-bottom: 6rem !important; margin-top: 2rem; margin-bottom: 2rem; }
.section-accent .card { background: #3b8fbe; border-color: rgba(255,255,255,0.25); color: #ffffff; }
.section-accent .card .card-body { color: #ffffff; }
.section-accent .card .text-muted { color: rgba(255,255,255,0.9) !important; }
.section-accent .text-muted { color: rgba(255,255,255,.85) !important; }

/* KPIs */
.kpi-card { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.kpi-card .kpi-icon { font-size: 22px; color: var(--brand-navy); }
.kpi-card:hover { transform: translateY(-3px); box-shadow: 0 .75rem 1.25rem rgba(0,0,0,.08); background-color: #fff; }
.section-dark .kpi-card { background: rgba(255,255,255,0.06) !important; border-color: rgba(255,255,255,0.18) !important; }
.section-dark .kpi-card .kpi-icon { color: #fff; }
.section-dark .kpi-card:hover { box-shadow: 0 1rem 1.5rem rgba(0,0,0,.22); }

/* Footer moderno */
.footer-modern h5, .footer-modern h6 { margin-bottom: .5rem; }
.footer-modern .back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  border-radius: 999px;
  box-shadow: 0 .75rem 1.25rem rgba(0,0,0,.18);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.footer-modern .back-to-top.show {
  opacity: 1; visibility: visible; transform: translateY(0);
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  right: 16px;
  bottom: 80px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 .75rem 1.25rem rgba(0,0,0,.18);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, visibility .2s ease;
  opacity: 0; visibility: hidden; transform: translateY(8px);
}
.whatsapp-fab.show { opacity: 1; visibility: visible; transform: translateY(0); }
.whatsapp-fab:hover { transform: translateY(-2px); box-shadow: 0 1rem 1.5rem rgba(0,0,0,.22); }

/* CTA FAB secundário (Falar com especialista) */
.cta-fab {
  position: fixed;
  right: 84px;
  bottom: 80px;
  height: 44px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font-weight: 600;
  box-shadow: 0 .75rem 1.25rem rgba(0,0,0,.18);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, visibility .2s ease;
  opacity: 0; visibility: hidden; transform: translateY(8px);
}
.cta-fab.show { opacity: 1; visibility: visible; transform: translateY(0); }
.cta-fab:hover { transform: translateY(-2px); box-shadow: 0 1rem 1.5rem rgba(0,0,0,.22); }

/* Stepper - Como funciona */
.stepper .list-group-item { border: 1px solid #e7edf3; }
.stepper .list-group-item.active {
  background-color: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(18,108,162,.18);
}
.stepper .list-group-item.active .text-muted { color: rgba(255,255,255,.85) !important; }
.step-badge {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand-green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.stepper-detail .icon-circle { width: 44px; height: 44px; font-size: 20px; }

/* Botão "Ativar agora" com azul do hero */
.stepper-detail .btn-outline-primary {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}
.stepper-detail .btn-outline-primary:hover,
.stepper-detail .btn-outline-primary:focus {
  background-color: #0f5b89;
  border-color: #0f5b89;
  color: #fff;
}

/* Stepper: padronizar Prev/Next */
.stepper-detail #stepPrev {
  background-color: #f2f5f7;
  border-color: #e1e7ee;
  color: #3b4a5a;
}
.stepper-detail #stepPrev:hover,
.stepper-detail #stepPrev:focus {
  background-color: #e9eef3;
  border-color: #d6dee7;
  color: #2c3e50;
}
.stepper-detail #stepNext {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}
.stepper-detail #stepNext:hover,
.stepper-detail #stepNext:focus {
  background-color: #0f5b89;
  border-color: #0f5b89;
  color: #fff;
}

/* Tema escuro para seção Tipos */
.section-dark {
  background: radial-gradient(1200px 600px at 10% 10%, rgba(26, 188, 156, 0.15), transparent 40%),
              radial-gradient(1000px 600px at 90% 20%, rgba(141, 184, 30, 0.12), transparent 45%),
              linear-gradient(135deg, #1b2a38, #0f1a25 65%, #0a1420);
  color: #fff;
}
.glass-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}
.glass-card .badge { box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset; }
.glass-card .icon-circle { box-shadow: 0 6px 18px rgba(0,0,0,.18); }

/* Legibilidade no tema escuro */
.text-white-75 { color: rgba(255, 255, 255, 0.75) !important; }
.section-dark, .section-dark p, .section-dark li, .section-dark small, .section-dark .card-body {
  color: #ffffff;
}
.section-dark .text-muted { color: rgba(255, 255, 255, 0.8) !important; }


