/* ============================================================
   VitaZelo — Design system + landing profissional
   ============================================================ */

:root {
  --primary: #2BB673;
  --primary-dark: #1B7A4E;
  --secondary: #2196F3;
  --secondary-dark: #1565C0;
  --accent: #FF8A65;
  --text: #0F172A;
  --text-2: #334155;
  --muted: #64748B;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.15);
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   Sticky top strip — causa social
   ============================================================ */
.cause-strip {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  padding: 8px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  z-index: 100;
}
.cause-strip a { color: white; text-decoration: underline; }
.cause-strip a:hover { opacity: 0.9; }

/* ============================================================
   Nav
   ============================================================ */
.nav-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, 0.85);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none !important;
}
.nav-links {
  display: none;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.15s;
}
.nav-links a:hover { background: var(--bg); text-decoration: none; }
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  color: white !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-md);
}
.nav-cta:hover { transform: translateY(-1px); text-decoration: none; }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 60px 0 40px;
  background:
    radial-gradient(circle at 20% 0%, rgba(43, 182, 115, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(33, 150, 243, 0.12) 0%, transparent 45%);
}
.hero h1 {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  max-width: 780px;
  margin: 0 auto 16px;
  text-align: center;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 17px;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
  line-height: 1.55;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .hero { padding: 96px 0 60px; }
  .hero h1 { font-size: 52px; }
  .hero-lead { font-size: 19px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 10px 30px -5px rgba(43, 182, 115, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 35px -5px rgba(43, 182, 115, 0.6); }
.btn-secondary {
  background: white;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 18px 36px; font-size: 17px; }

/* Trust badges no hero */
.trust-badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.trust-badges span { display: inline-flex; align-items: center; gap: 6px; }
.trust-badges svg { width: 16px; height: 16px; color: var(--primary); }

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: 60px 0;
}
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-alt { background: white; }
.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-lead {
  font-size: 17px;
  color: var(--text-2);
  max-width: 620px;
  margin: 0 0 40px;
}
.text-center { text-align: center; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .section-title { font-size: 40px; } }

/* Steps: como funciona */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: steps;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  counter-increment: steps;
}
.step::before {
  content: counter(steps);
  position: absolute;
  top: -18px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: var(--shadow-md);
}
.step h3 { margin: 16px 0 8px; font-size: 20px; font-weight: 800; }
.step p { color: var(--text-2); font-size: 15px; }

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: white;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.feature .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(43, 182, 115, 0.15), rgba(33, 150, 243, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature .ico svg { width: 24px; height: 24px; color: var(--primary); }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: 15px; }

/* Cause teaser (Badeco) */
.cause-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 40px 32px;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cause-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cause-card .badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cause-card h2 {
  color: white;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cause-card p {
  font-size: 17px;
  opacity: 0.95;
  max-width: 560px;
  margin: 0 auto 28px;
  position: relative;
}
.cause-card .btn {
  background: white;
  color: var(--primary);
  position: relative;
}
@media (min-width: 768px) { .cause-card h2 { font-size: 36px; } }

/* Planos */
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan {
  background: white;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.plan.featured {
  border-color: var(--primary);
  box-shadow: 0 20px 40px -10px rgba(43, 182, 115, 0.25);
  transform: scale(1.02);
}
.plan.featured::before {
  content: 'Mais escolhido';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan .p-name { font-size: 15px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.plan .p-price { font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -1px; }
.plan .p-price .cents { font-size: 18px; }
.plan .p-price small { font-size: 13px; font-weight: 500; color: var(--muted); }
.plan .p-yearly { font-size: 13px; color: var(--muted); margin: 4px 0 20px; }
.plan .p-list { list-style: none; padding: 0; margin: 0 0 24px; }
.plan .p-list li {
  position: relative;
  padding: 4px 0 4px 24px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-2);
}
.plan .p-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--primary);
  font-weight: 800;
}

/* FAQ Accordion */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq details[open] { box-shadow: var(--shadow-md); border-color: var(--primary); }
.faq summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 24px;
  color: var(--primary);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq .faq-body { padding: 0 24px 20px; color: var(--text-2); font-size: 15px; line-height: 1.65; }

/* Trust section */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: center;
}
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  padding: 24px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.trust-item .t-ico {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  color: var(--primary);
}
.trust-item .t-ico svg { width: 100%; height: 100%; }
.trust-item h4 { font-size: 14px; font-weight: 800; margin-bottom: 4px; color: var(--text); }
.trust-item p { font-size: 12px; color: var(--muted); }

/* Big CTA final */
.final-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 72px 24px;
  border-radius: 24px;
  text-align: center;
  margin: 40px 0;
  box-shadow: var(--shadow-lg);
}
.final-cta h2 { color: white; font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.final-cta p { font-size: 17px; opacity: 0.95; max-width: 520px; margin: 0 auto 28px; }
.final-cta .btn {
  background: white;
  color: var(--primary);
}
@media (min-width: 768px) { .final-cta h2 { font-size: 42px; } }

/* Footer */
footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 20px 24px;
  margin-top: 0;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) { footer .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
footer .brand-footer {
  font-size: 26px;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
footer .col h4 { color: white; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
footer .col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 0;
  font-size: 14px;
  text-decoration: none;
}
footer .col a:hover { color: white; }
footer .bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  max-width: 1120px;
  margin: 0 auto;
}

/* ============================================================
   Páginas internas (privacidade, termos, badeco)
   Estilo antigo mantido pra compatibilidade
   ============================================================ */
header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 24px 0;
  text-align: center;
}
header .logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: white !important;
}
header .logo a { color: white !important; text-decoration: none; }
header .tagline {
  font-size: 16px;
  opacity: 0.95;
  margin-top: 8px;
  line-height: 1.4;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}
@media (min-width: 700px) { header .tagline { font-size: 18px; } }
header nav {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
header nav a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.2s;
}
header nav a:hover { background: rgba(255, 255, 255, 0.28); }
@media (min-width: 700px) { header nav a { font-size: 16px; padding: 10px 22px; } }

main article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  margin: 32px auto;
  max-width: 800px;
  box-shadow: var(--shadow-sm);
}
main article h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
main article .subtitle { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
main article h2 { font-size: 22px; font-weight: 700; margin: 28px 0 12px; color: var(--primary); }
main article h3 { font-size: 17px; font-weight: 700; margin: 18px 0 6px; }
main article p, main article ul, main article ol { margin-bottom: 14px; }
main article ul, main article ol { padding-left: 24px; }
main article strong { color: var(--text); }
@media (max-width: 600px) {
  main article { padding: 24px 20px; }
  main article h1 { font-size: 24px; }
}

/* AOS-lite (fallback simples se AOS não carregar) */
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
[data-aos].aos-init.aos-animate,
.no-js [data-aos] { opacity: 1; transform: none; }
