@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #06080d;
  --surface: #0d1117;
  --card: #111827;
  --border: rgba(255, 255, 255, 0.08);
  --border-hi: rgba(245, 166, 35, 0.35);
  --gold: #f5a623;
  --gold-lt: #ffd166;
  --teal: #22d3a0;
  --teal-lt: #7cf0ff;
  --teal-vivid: #00e676;
  --danger: red;
  --whatsapp: #25D366;
  --text: #e6edf7;
  --muted: #8b96ab;
  --font-head: 'Bebas Neue', sans-serif;
  --font-sub: 'Montserrat', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  vertical-align: middle;
  color: currentColor;
}

.icon-brand { width: 24px; height: 24px; color: var(--teal); }

.icon-wp {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2 { margin: 0; font-family: var(--font-head); color: #fff; }
h3 { margin: 0; font-family: var(--font-sub); font-weight: 600; color: #fff; }
p { margin: 0; }
a { color: inherit; }

.eyebrow, .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
}

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 8, 13, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 0.5px;
  color: #fff;
}

.brand-dot { color: var(--teal); }

.main-nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease;
}

.main-nav a:hover { color: var(--text); }

.header-cta { white-space: nowrap; }
.header-cta .icon-wp { width: 18px; height: 18px; }

.nav-whatsapp-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 30px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 28px rgba(34, 211, 160, 0.35);
}

.btn-primary.is-glowing {
  animation: ctaGlow 2.6s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 8px 28px rgba(34, 211, 160, 0.35); }
  50% { box-shadow: 0 10px 34px rgba(34, 211, 160, 0.55), 0 0 46px rgba(34, 211, 160, 0.35); }
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff !important;
  border: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  white-space: nowrap;
  gap: 6px;
  font-size: 13.5px;
  padding: 13px 20px;
  letter-spacing: -0.1px;
}

.btn-whatsapp .icon-wp {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #28e16d 0%, #149c8c 100%);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

@media (prefers-reduced-motion: reduce) {
  .btn-primary.is-glowing { animation: none; }
  .btn:hover { transform: none; }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: 130px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(245, 166, 35, 0.10), transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(34, 211, 160, 0.12), transparent 45%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 160, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 160, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 85%);
  pointer-events: none;
}

.hero-inner { position: relative; text-align: center; }

.hero-eyebrow {
  justify-content: center;
  width: 100%;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0.5px;
  max-width: 820px;
  margin: 0 auto 22px;
}

.hero h1 .accent-gold { color: var(--gold); }
.hero h1 .accent-danger { color: var(--danger); }

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

/* ===================== STATS STRIP ===================== */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 46px;
  line-height: 1;
  color: var(--teal);
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* ===================== SECTIONS ===================== */
.section { padding: 90px 0; }
.section-alt { background: var(--surface); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 46px;
}

.section-tag { margin-bottom: 14px; justify-content: center; width: 100%; }

.section-head h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.05;
}

.section-intro-text {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}

/* ===================== RISK GRID ===================== */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.risk-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.risk-card:hover {
  border-color: rgba(245, 166, 35, 0.4);
  transform: translateY(-3px);
}

.risk-icon {
  margin: 0 auto 14px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(245, 166, 35, 0.14);
  color: var(--gold);
}

.risk-icon .icon { width: 22px; height: 22px; }

.risk-card h3 {
  font-family: var(--font-sub);
  font-size: 15.5px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.risk-card p {
  font-size: 13px;
  color: var(--muted);
}

/* ===================== STEPS ===================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.step {
  background: var(--card);
  padding: 34px 26px;
  text-align: center;
}

.step-num {
  font-family: var(--font-head);
  font-size: 38px;
  color: var(--teal);
  margin-bottom: 10px;
}

.step h3 {
  font-family: var(--font-sub);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.step p {
  font-size: 13.5px;
  color: var(--muted);
}

/* ===================== CHECK GRID ===================== */
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.check-col { background: var(--card); padding: 30px 32px; }

.check-col h3 {
  font-family: var(--font-sub);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-col h3 .icon { width: 20px; height: 20px; color: var(--teal); }

.check-list { list-style: none; margin: 0; padding: 0; }

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 11px;
  font-size: 13.5px;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

/* ===================== PRICING ===================== */
.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 26px;
  width: 260px;
  position: relative;
}

.price-card.featured {
  border-color: var(--border-hi);
  box-shadow: 0 0 60px rgba(245, 166, 35, 0.10), 0 40px 80px rgba(0, 0, 0, 0.45);
}

.price-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #06080d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 5px 18px;
  border-radius: 99px;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.price-amount {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1;
  color: #fff;
  margin-bottom: 6px;
}

.price-period {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.price-desc {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.55;
}

.price-features {
  list-style: none;
  margin: 0 0 22px 0;
  padding: 0;
  font-size: 12.5px;
}

.price-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-vivid);
  font-weight: 800;
}

/* ===================== CYCLE SELECTOR (plano de manutenção) ===================== */
.price-card-wide {
  width: 460px;
  max-width: 100%;
}

.cycle-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 24px;
}

.cycle-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cycle-option:hover { border-color: rgba(34, 211, 160, 0.45); }

.cycle-option.is-selected {
  border-color: var(--teal);
  background: rgba(34, 211, 160, 0.08);
}

.cycle-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
  flex-shrink: 0;
  margin: 0;
}

.cycle-option-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.cycle-option-price {
  text-align: right;
  flex: 0 0 150px;
  min-width: 0;
}

.cycle-option-month {
  display: block;
  font-family: var(--font-head);
  font-size: 30px;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.cycle-option-month small {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 2px;
}

.cycle-option-total {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.35;
}

.cycle-option-installment {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.35;
}

.cycle-highlight {
  color: #fff;
  font-weight: 700;
}

.cycle-tag {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}

.tag-best { background: var(--teal-vivid); color: #06080d; }

/* ===================== PAYMENT TRUST ===================== */
.pay-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.pay-pills-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.pay-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.pay-pill img { height: 18px; display: block; }

.pay-via {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 99px;
}

.pay-via .icon { width: 14px; height: 14px; color: var(--teal); }

.pay-via-logo {
  height: 20px;
  vertical-align: middle;
  margin-left: 2px;
}

.pricing-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 520px;
  margin: 22px auto 0;
}

/* ===================== TRUST ===================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-card { text-align: center; padding: 8px; }

.trust-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(34, 211, 160, 0.12);
  color: var(--teal);
}

.trust-icon .icon { width: 22px; height: 22px; }
.trust-icon .icon-wp { width: 22px; height: 22px; }

.trust-card h3 {
  font-family: var(--font-sub);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.trust-card p { font-size: 13px; color: var(--muted); }

/* ===================== TESTIMONIALS (ver fase6-prova-social.md) ===================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
}

.testimonial-quote {
  font-size: 14px;
  color: var(--text);
  font-style: italic;
  margin: 0 0 14px 0;
}

.testimonial-author {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--teal);
  margin: 0;
}

/* ===================== FAQ ===================== */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  color: var(--teal);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 22px;
}

.faq-item.open .faq-answer {
  max-height: 240px;
  padding: 0 22px 18px;
}

.faq-answer p { font-size: 13.5px; color: var(--muted); }

/* ===================== FINAL CTA ===================== */
.final-cta {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(34, 211, 160, 0.14), transparent 60%), var(--surface);
  border-top: 1px solid var(--border);
}

.final-cta-inner { position: relative; text-align: center; max-width: 660px; }

.final-cta h2 {
  font-size: clamp(30px, 4.6vw, 48px);
  margin-bottom: 16px;
}

.final-cta p {
  font-size: 15.5px;
  color: var(--muted);
  margin-bottom: 30px;
}



/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 18px;
  color: #fff;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.footer-contact a {
  color: var(--teal-vivid);
  text-decoration: none;
  font-weight: 700;
}

.footer-contact > a:first-child {
  color: #fff;
}

.footer-contact > a:first-child .icon-wp {
  width: 16px;
  height: 16px;
}

.footer-contact span { color: var(--muted); }
.footer-legal { color: var(--muted); font-size: 12px; }

.footer-emails {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2px;
}

.footer-emails a {
  font-weight: 400;
  font-size: 12.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-emails a:hover { color: var(--teal-vivid); }
.footer-emails .icon { width: 14px; height: 14px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .risk-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .price-card { width: 100%; max-width: 380px; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px 22px;
    gap: 16px;
  }

  .site-header.nav-open .header-cta {
    display: none;
  }

  .site-header.nav-open .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .site-header.nav-open .main-nav .nav-whatsapp-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 0;
    font-weight: 700;
    color: #25D366;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }

  .risk-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }

  .cycle-option {
    flex-wrap: wrap;
  }

  .cycle-option-price {
    text-align: left;
    margin-left: 32px;
  }
}

/* Modal — lead capture (analise gratuita) */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 8, 13, 0.78);
  backdrop-filter: blur(4px);
}

.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--border-hi);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.modal-close:hover { color: var(--text); border-color: var(--teal); }
.modal-close .icon { width: 16px; height: 16px; }

.modal h3 {
  font-size: 26px;
  letter-spacing: 0.3px;
  padding-right: 30px;
}

.modal-sub {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

#leadForm { margin-top: 24px; }

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-field .form-hint {
  font-weight: 400;
  color: var(--muted);
}

.form-field input:not([type="checkbox"]):not([type="radio"]),
.form-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.2s ease;
}

.form-field input:not([type="checkbox"]):not([type="radio"]):focus,
.form-field select:focus {
  outline: none;
  border-color: var(--teal);
}

.form-field select:disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.form-field input.is-invalid {
  border-color: var(--danger);
}

.form-field input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  flex-shrink: 0;
}

.form-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-error {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid var(--danger);
  color: var(--text);
  font-size: 14px;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.form-error[hidden] { display: none; }

#leadSubmitBtn { width: 100%; margin-top: 4px; }
#leadSubmitBtn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

#leadModalSuccess {
  text-align: center;
  padding: 16px 0 4px;
}

.modal-success-icon {
  width: 56px;
  height: 56px;
  color: var(--teal);
  margin-bottom: 8px;
}

#leadModalSuccess h3 { margin-top: 8px; }
#leadModalSuccess .modal-sub { margin-bottom: 24px; }

@media (max-width: 540px) {
  .modal { padding: 28px 22px; }
}

/* Blog */

.wrap-narrow { max-width: 760px; }

.blog-empty { color: var(--muted); margin-top: 24px; }

.blog-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
}

.blog-card-image {
  display: block;
  width: calc(100% + 52px);
  height: 160px;
  object-fit: cover;
  margin: -26px -26px 16px;
}

.blog-card-date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
}

.blog-modern-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(34, 211, 160, 0.12);
  color: var(--teal);
}

.blog-modern-icon .icon {
  width: 15px;
  height: 15px;
}

.blog-card h3 {
  margin-top: 12px;
  font-family: var(--font-sub);
  font-size: 21px;
  font-weight: 600;
}

.blog-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  flex-grow: 1;
}

.blog-card-more {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--teal);
}  

.blog-section-cta {
  text-align: center;
  margin-top: 32px;
}

.blog-post-title {
  margin-top: 14px;
  font-size: 40px;
  text-wrap: balance;
}

.blog-post-image {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 24px;
}

/* ===================== READING CONTAINER (Blog & Termos) ===================== */
.reading-container {
  margin-top: 28px;
  font-size: 16.5px;
  line-height: 1.85;
  color: #c9d6df; /* Cor mais suave para leitura prolongada */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.reading-container p { margin: 0 0 24px; }
.reading-container h2 { font-family: var(--font-sub); font-weight: 700; font-size: 28px; margin: 46px 0 18px; color: #fff; }
.reading-container h3 { font-family: var(--font-sub); font-weight: 600; font-size: 22px; margin: 34px 0 14px; color: #fff; }
.reading-container h4 { font-family: var(--font-sub); font-weight: 600; font-size: 18px; margin: 24px 0 10px; color: #fff; }
.reading-container ul, .reading-container ol { margin: 0 0 24px; padding-left: 24px; }
.reading-container li { margin-bottom: 12px; color: #c9d6df; }
.reading-container li::marker { color: var(--teal-vivid); font-weight: bold; }
.reading-container a { color: var(--teal); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(34, 211, 160, 0.3); padding-bottom: 1px; transition: all 0.2s; }
.reading-container a:hover { color: var(--teal-vivid); border-bottom-color: var(--teal-vivid); }
.reading-container strong { color: #fff; font-weight: 600; }
.reading-container img { border-radius: 12px; margin: 12px 0 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); width: 100%; height: auto; }

.alert-box {
  background: rgba(34, 211, 160, 0.08);
  border-left: 4px solid var(--teal);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin: 32px 0;
}
.alert-box.alert-danger {
  background: rgba(239, 68, 68, 0.08);
  border-left-color: #ef4444;
}
.alert-box h4 { margin-top: 0; color: #fff; }
.alert-box p:last-child { margin-bottom: 0; }

.note-box {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 12px;
  margin: 32px 0;
}

.blog-post-content { /* Fallback class keeping same styles */ }
.blog-post-content p { margin: 0 0 20px; }

.blog-post-content pre {
  position: relative;
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 44px 20px 20px;
  margin: 20px 0;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.7;
  color: var(--teal);
}

.blog-post-content pre code {
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.btn-copy {
  position: absolute;
  top: 10px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(34, 211, 160, 0.1);
  border: 1px solid rgba(34, 211, 160, 0.25);
  border-radius: 6px;
  color: var(--teal);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.btn-copy:hover {
  background: rgba(34, 211, 160, 0.18);
  border-color: var(--teal);
}

.btn-copy .copy-icon {
  width: 14px;
  height: 14px;
}

.blog-post-back { margin-top: 44px; }

/* Suporte */

.support-intro {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.support-intro a { color: var(--teal); font-weight: 600; }

.support-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.support-card {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 24px;
}

.support-card h3 {
  font-family: var(--font-sub);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.support-tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold);
  vertical-align: middle;
}

.support-channel {
  display: inline-block;
  margin: 10px 0 14px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-vivid);
  text-decoration: none;
}

.support-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

@media (max-width: 640px) {
  .support-grid { grid-template-columns: 1fr; }
}

/* Checkout (Mercado Pago) */

.modal-checkout { max-width: 480px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pay-tabs {
  display: flex;
  gap: 10px;
  margin: 20px 0 16px;
}

.pay-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.pay-tab.is-active {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(34, 211, 160, 0.08);
}

#ccBrandImg {
  height: 20px;
  margin-top: 6px;
}

#ccBrandImg[hidden] { display: none; }

.pix-info {
  background: rgba(34, 211, 160, 0.06);
  border: 1px solid rgba(34, 211, 160, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text) !important;
  text-align: left !important;
  margin-bottom: 16px !important;
}

.pix-box { text-align: center; margin-bottom: 16px; }

.pix-approved-note {
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 10px;
}

.pix-img {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.pix-code {
  margin: 12px 0;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: monospace;
  font-size: 11px;
  color: var(--muted);
  word-break: break-all;
  max-height: 80px;
  overflow-y: auto;
}

.pix-timer {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.form-success {
  background: rgba(34, 211, 160, 0.1);
  border: 1px solid var(--teal);
  color: var(--text);
  font-size: 14px;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.form-success[hidden] { display: none; }

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}
