/* ================= TOKENS ================= */
:root {
  --bg:          #171717;
  --bg-soft:     #1e1e1e;
  --surface:     #232323;
  --surface-2:   #2a2a2a;
  --border:      rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.06);

  --gold:        #ffcc33;
  --gold-strong: #ffd24d;
  --gold-soft:   #ffe08a;
  --gold-deep:   #f5b800;

  --text:        #f4f4f5;
  --text-muted:  #a1a1aa;
  --text-dim:    #71717a;

  --radius:      28px;
  --radius-pill: 999px;
  --maxw:        1240px;

  --shadow-gold: 0 0 40px rgba(255, 204, 51, 0.25);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.45);

  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-head: "Poppins", "Plus Jakarta Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 32px;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--gold);
  color: #1a1a1a;
  box-shadow: 0 8px 24px rgba(255, 204, 51, 0.28);
}
.btn-primary:hover {
  background: var(--gold-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 204, 51, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  transform: translateY(-2px);
}

.btn-block { width: 100%; margin-top: 26px; padding-block: 17px; }

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 20, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  height: 54px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  gap: 34px;
  margin-inline: auto;
}
.main-nav a {
  color: #e4e4e7;
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  transition: color .2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }
.nav-fatura { display: none; }
.main-nav .nav-theme { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}
.link-fatura {
  color: #e4e4e7;
  font-weight: 500;
  font-size: 0.96rem;
  transition: color .2s ease;
}
.link-fatura:hover { color: var(--gold-soft); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 26px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s ease;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
}
/* Grid de pontinhos sutil */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
/* Brilho dourado */
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(255, 204, 51, 0.14), transparent 65%);
  pointer-events: none;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--gold-soft);
  margin-bottom: 22px;
}
.eyebrow-dash {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section-head .eyebrow { justify-content: center; }

.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #f5f5f5;
  margin-bottom: 28px;
}
.hero-hl { color: var(--gold-soft); }

.hero-sub {
  color: var(--text-muted);
  font-size: 1.18rem;
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  max-width: 620px;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.94rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-trust svg { color: var(--gold); flex-shrink: 0; }

/* ================= OFFER CARD ================= */
.offer-card {
  position: relative;
  background: linear-gradient(180deg, #202020, #1a1a1a);
  border: 1px solid rgba(255, 204, 51, 0.28);
  border-radius: var(--radius);
  padding: 40px 40px 44px;
  box-shadow: var(--shadow-card), 0 0 60px rgba(255, 204, 51, 0.08);
}

.offer-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-soft);
  background: rgba(255, 204, 51, 0.1);
  border: 1px solid rgba(255, 204, 51, 0.35);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

.offer-price { line-height: 1; }
.offer-from {
  display: block;
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.offer-from s { color: var(--text-muted); text-decoration-color: var(--gold); }
.offer-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.offer-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 5.4rem;
  color: var(--gold-soft);
  letter-spacing: -0.02em;
  line-height: 0.9;
}
.offer-mega {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: #f4f4f5;
}
.offer-month {
  display: block;
  color: var(--text-muted);
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: 16px;
}
.offer-month strong {
  color: #f4f4f5;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.7rem;
}
.offer-foot {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 16px;
}

.offer-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

.offer-list { display: grid; gap: 16px; }
.offer-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: #e4e4e7;
}
.offer-list svg { color: var(--gold); flex-shrink: 0; }

/* ================= SECTION HEAD ================= */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #f5f5f5;
  margin-bottom: 18px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ================= PLANOS ================= */
.plans {
  padding: 100px 0;
  border-top: 1px solid var(--border-soft);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 204, 51, 0.06), transparent 55%),
    var(--bg);
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #202020, #191919);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px 32px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 204, 51, 0.35);
  box-shadow: var(--shadow-card);
}

.plan-card--featured {
  border-color: rgba(255, 204, 51, 0.6);
  box-shadow: var(--shadow-card), 0 0 50px rgba(255, 204, 51, 0.12);
  background: linear-gradient(180deg, #242017, #1b1813);
}

.plan-flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #1a1a1a;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(255, 204, 51, 0.35);
}

.plan-name {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-soft);
  margin-bottom: 14px;
}
.plan-speed { display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.plan-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3.4rem;
  color: #f4f4f5;
  letter-spacing: -0.02em;
}
.plan-unit {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.plan-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 16px 0 24px;
  min-height: 44px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.plan-currency { color: var(--gold-soft); font-weight: 700; font-size: 1.2rem; }
.plan-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3rem;
  color: var(--gold-soft);
  letter-spacing: -0.02em;
  line-height: 1;
}
.plan-period { color: var(--text-muted); font-weight: 500; font-size: 1rem; }

.plan-features {
  display: grid;
  gap: 13px;
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.95rem;
  color: #e4e4e7;
}
.plan-features svg { color: var(--gold); flex-shrink: 0; }

.plan-card .btn-block { margin-top: auto; }

/* ================= LOCALIZAÇÃO ================= */
.location {
  padding: 100px 0;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-soft);
}
.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
}

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 204, 51, 0.28);
  box-shadow: var(--shadow-card);
  min-height: 420px;
}
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

.location-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.location-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.location-ico {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(255, 204, 51, 0.1);
  border: 1px solid rgba(255, 204, 51, 0.25);
  color: var(--gold);
}
.location-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.location-item p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}
.location-btn {
  align-self: flex-start;
  margin-top: 6px;
}

/* ================= POR QUE SER CLIENTE ================= */
.why {
  padding: 100px 0;
  border-top: 1px solid var(--border-soft);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 204, 51, 0.06), transparent 55%),
    var(--bg);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: linear-gradient(180deg, #202020, #191919);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 204, 51, 0.35);
  box-shadow: var(--shadow-card);
}
.why-ico {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(255, 204, 51, 0.1);
  border: 1px solid rgba(255, 204, 51, 0.25);
  color: var(--gold);
  margin-bottom: 22px;
}
.why-card h4 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.why-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ================= FAQ ================= */
.faq {
  padding: 100px 0;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-soft);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.faq-item {
  background: linear-gradient(180deg, #202020, #191919);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq-item[open] { border-color: rgba(255, 204, 51, 0.4); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 600;
  color: #f4f4f5;
  list-style: none;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-soft); }

.faq-plus {
  position: relative;
  flex-shrink: 0;
  width: 22px; height: 22px;
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  border-radius: 2px;
  transition: transform .28s ease, opacity .2s ease;
}
.faq-plus::before { width: 14px; height: 2px; }
.faq-plus::after  { width: 2px;  height: 14px; }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-answer {
  padding: 0 26px 24px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.faq-answer a {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer a:hover { opacity: .8; }

/* ================= FOOTER ================= */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  padding-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr 1.3fr;
  gap: 44px;
  padding-bottom: 64px;
}
.footer-hours {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-top: 4px;
}
.footer-hours svg { color: var(--text-dim); flex-shrink: 0; margin-top: 3px; }
.footer-logo {
  height: 72px;
  width: auto;
  display: block;
  margin-bottom: 22px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 260px;
  margin-bottom: 24px;
}
.footer-social {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: .2s ease;
}
.footer-social:hover { color: var(--gold); border-color: var(--gold); }

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 22px;
  color: #fff;
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 15px;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-col svg { color: var(--text-dim); flex-shrink: 0; }

.footer-address {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-top: 4px;
}
.footer-address svg { color: var(--text-dim); flex-shrink: 0; margin-top: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 26px 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ================= WHATSAPP FLUTUANTE ================= */
.wa-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 14px 20px 14px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform .2s ease, box-shadow .25s ease;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25d366;
  z-index: -1;
  animation: wa-pulse 2.2s ease-out infinite;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.6);
}
.wa-float svg { flex-shrink: 0; }

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  .link-fatura,
  .header-actions .theme-toggle { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { gap: 14px; }
  .header-actions { margin-left: auto; margin-right: 0; }

  /* Menu dropdown mobile */
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 20px 16px;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  :root[data-theme="light"] .main-nav { background: rgba(255, 255, 255, 0.98); }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav a {
    padding: 15px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-soft);
  }
  .main-nav a::after { display: none; }
  .nav-fatura { display: block; color: var(--gold-soft); font-weight: 600; }

  /* Botão de tema dentro do menu */
  .main-nav .nav-theme {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: auto;
    padding: 15px 4px 4px;
    background: none;
    border: 0;
    border-radius: 0;
    color: inherit;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
  }
  .main-nav .nav-theme:hover { color: var(--gold-soft); background: none; }
  .main-nav .nav-theme svg { width: 20px; height: 20px; color: var(--gold-soft); }

  /* Ícone do menu vira "X" quando aberto */
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .offer-card { max-width: 480px; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .location-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 20px; }
  .header-inner { height: 74px; gap: 12px; }
  .brand-logo { height: 40px; }
  .brand { font-size: 1.35rem; }
  .header-actions { gap: 12px; }
  .theme-toggle { width: 38px; height: 38px; }
  .btn-assine { font-size: 0.9rem; padding: 11px 18px; gap: 7px; }
  .btn-assine svg { width: 16px; height: 16px; }
  .hero { padding: 64px 0 80px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .offer-number { font-size: 4.2rem; }
  .plans { padding: 70px 0; }
  .plans-grid { grid-template-columns: 1fr; }
  .location { padding: 70px 0; }
  .location-map, .location-map iframe { min-height: 320px; }
  .why { padding: 70px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .faq { padding: 70px 0; }
  .faq-item summary { padding: 18px 20px; font-size: 1rem; }
  .faq-answer { padding: 0 20px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { right: 18px; bottom: 18px; padding: 14px; }
  .wa-float-text { display: none; }
}

/* ================= BOTÃO DE TEMA ================= */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gold-soft);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.theme-toggle:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(255, 204, 51, 0.08);
}
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ================= TEMA CLARO ================= */
:root[data-theme="light"] {
  --bg:          #f7f7f4;
  --bg-soft:     #ffffff;
  --surface:     #ffffff;
  --surface-2:   #f0f0ec;
  --border:      rgba(0, 0, 0, 0.10);
  --border-soft: rgba(0, 0, 0, 0.07);

  --gold-soft:   #e09600;
  --gold-deep:   #c98200;

  --text:        #1a1a1a;
  --text-muted:  #52525b;
  --text-dim:    #71717a;

  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.10);
}

/* Fundos de superfície */
:root[data-theme="light"] .site-header { background: rgba(255, 255, 255, 0.85); }
:root[data-theme="light"] .offer-card,
:root[data-theme="light"] .plan-card,
:root[data-theme="light"] .why-card,
:root[data-theme="light"] .faq-item { background: #ffffff; }
:root[data-theme="light"] .plan-card--featured { background: #fffaeb; }
:root[data-theme="light"] .offer-card { box-shadow: var(--shadow-card); }

/* Textos que eram claros no dark */
:root[data-theme="light"] .hero-title,
:root[data-theme="light"] .section-title,
:root[data-theme="light"] .why-card h4,
:root[data-theme="light"] .location-item h4,
:root[data-theme="light"] .footer-col h4,
:root[data-theme="light"] .faq-item summary,
:root[data-theme="light"] .plan-num,
:root[data-theme="light"] .offer-mega,
:root[data-theme="light"] .offer-month strong { color: #1a1a1a; }

:root[data-theme="light"] .main-nav a,
:root[data-theme="light"] .link-fatura,
:root[data-theme="light"] .offer-list li,
:root[data-theme="light"] .plan-features li { color: #3f3f46; }

/* Dourado dos destaques grandes: o tom de --gold-soft existe para manter
   os textos pequenos legíveis e fica escuro demais em número/título display. */
:root[data-theme="light"] .hero-hl,
:root[data-theme="light"] .offer-number,
:root[data-theme="light"] .plan-value,
:root[data-theme="light"] .plan-currency { color: #f0a200; }

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  :root[data-theme="light"] .hero-hl,
  :root[data-theme="light"] .offer-number,
  :root[data-theme="light"] .plan-value {
    background-image: linear-gradient(180deg, #ffc02e 0%, #f5a300 52%, #e08c00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* Botão fantasma e detalhes */
:root[data-theme="light"] .btn-ghost {
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.18);
}
:root[data-theme="light"] .btn-ghost:hover { color: var(--gold-deep); }

/* Grid de pontinhos do hero */
:root[data-theme="light"] .hero::after {
  background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1.4px, transparent 1.4px);
}

/* ================= 2ª VIA DA FATURA ================= */
.via {
  padding: 140px 0 100px;
  min-height: 70vh;
}
.via-inner { max-width: 780px; }

.via-head {
  text-align: center;
  margin-bottom: 44px;
}
.via-head .eyebrow { justify-content: center; }
.via-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 14px 0 16px;
}
.via-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-inline: auto;
}

/* ---- Formulário ---- */
.via-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.via-label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 12px;
}
.via-field { display: flex; gap: 12px; }
.via-input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.via-input::placeholder { color: var(--text-dim); font-weight: 500; }
.via-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 204, 51, 0.16);
}
.via-input[aria-invalid="true"] { border-color: #ef4444; }

.via-submit { position: relative; }
.via-submit:disabled { opacity: .75; cursor: wait; }
.via-submit.is-loading .via-submit-text { visibility: hidden; }
.via-spinner { display: none; }
.via-submit.is-loading .via-spinner {
  display: block;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-top-color: #171717;
  border-radius: 50%;
  animation: via-spin .7s linear infinite;
}
@keyframes via-spin { to { transform: rotate(360deg); } }

.via-erro {
  margin-top: 14px;
  color: #ef4444;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---- Resultado ---- */
.via-resultado {
  margin-top: 36px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.via-resultado.is-visivel { opacity: 1; transform: none; }

.via-saudacao {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 22px;
}

/* ---- Seletor de contrato (só aparece com 2+ contratos) ---- */
.via-seletor {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px 24px;
  margin-bottom: 22px;
}
.via-seletor-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.via-select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 13px 46px 13px 22px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.via-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 204, 51, 0.16);
}

/* ---- Grupos: "Em atraso" / "Próxima fatura" ---- */
.via-grupo {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 4px;
}
/* Encosta o cabeçalho no card que ele nomeia, sem colar no card anterior. */
.via-grupo + .via-boleto { margin-top: -8px; }
.via-boleto + .via-grupo { margin-top: 12px; }

.via-grupo-titulo {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.via-grupo--atraso .via-grupo-titulo { color: #f87171; }

.via-grupo-resumo {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}
.via-grupo--atraso .via-grupo-resumo { color: #f87171; }

/* ---- Card do boleto ---- */
.via-boletos { display: grid; gap: 20px; }

.via-boleto {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
/* Faixa de status na lateral do card */
.via-boleto::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold);
}
.via-boleto.is-vencido::before { background: #ef4444; }

.via-boleto-topo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 30px 22px;
  border-bottom: 1px dashed var(--border);
}
.via-boleto-num {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.via-boleto-valor {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.05;
}
/* Composição do valor: "R$ 100,00 original + R$ 2,00 multa + R$ 1,07 juros" */
.via-boleto-acrescimo {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-top: 4px;
}

.via-boleto-venc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 6px;
}
/* Prazo do boleto reemitido. É a informação acionável de uma fatura atrasada:
   diz até quando ainda dá para pagar ESTE boleto. */
.via-boleto-pagar {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-soft);
  background: rgba(255, 204, 51, 0.1);
  border: 1px solid rgba(255, 204, 51, 0.25);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}
:root[data-theme="light"] .via-boleto-pagar { color: var(--gold-deep); }

.via-badge {
  flex-shrink: 0;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 204, 51, 0.12);
  color: var(--gold-soft);
  border: 1px solid rgba(255, 204, 51, 0.3);
}
.via-badge--vencido {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
}

/* ---- Meios de pagamento (Pix / código de barras) ---- */
.via-meios { padding: 8px 30px 26px; }

.via-meio { padding: 20px 0; }
.via-meio + .via-meio { border-top: 1px solid var(--border-soft); }

.via-meio-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.via-meio-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  flex-shrink: 0;
}
/* Verde-água do Pix — é a cor da marca, o cliente reconhece de imediato. */
.via-meio--pix .via-meio-ico {
  color: #32bcad;
  background: rgba(50, 188, 173, 0.12);
}
.via-meio--barras .via-meio-ico {
  color: var(--text);
  background: var(--surface-2);
}
.via-meio-nome {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
}

/* A caixa leva o padding; o texto lá dentro leva o corte. Se o line-clamp
   morasse no mesmo elemento do padding, o Chromium desenharia a linha seguinte
   dentro da área do padding-bottom. */
.via-meio-codigo {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 12px 16px;
  overflow: hidden;
}
.via-meio-codigo-txt {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
  word-break: break-all;
  /* O Pix copia e cola não cabe: 2 linhas e reticências. O botão copia inteiro. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
/* A linha digitável cabe inteira: nada de cortar o que o cliente pode digitar. */
.via-meio--barras .via-meio-codigo-txt {
  display: block;
  letter-spacing: 0.04em;
}

.via-meio-acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.via-copy {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  color: #171717;
  background: var(--gold);
  border: none;
  border-radius: var(--radius-pill);
  padding: 11px 22px;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.via-copy:hover { background: var(--gold-strong); transform: translateY(-1px); }
.via-copy.is-copiado { background: #22c55e; color: #fff; }

.via-link-acao {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  transition: color .2s ease, border-color .2s ease;
}
.via-link-acao:hover { color: var(--gold); border-color: var(--gold); }
.via-link-ico { display: grid; place-items: center; }

/* ---- Sem faturas ---- */
.via-vazio {
  display: grid;
  justify-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  color: var(--text-muted);
  text-align: center;
}
.via-vazio-ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
}

/* ---- Ajuda ---- */
.via-ajuda {
  margin-top: 48px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.via-ajuda h2 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.via-ajuda a {
  color: var(--gold-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Tema claro ---- */
:root[data-theme="light"] .via-form,
:root[data-theme="light"] .via-boleto,
:root[data-theme="light"] .via-seletor,
:root[data-theme="light"] .via-vazio { background: #ffffff; }
:root[data-theme="light"] .via-boleto-valor { color: var(--gold-deep); }
:root[data-theme="light"] .via-input,
:root[data-theme="light"] .via-select,
:root[data-theme="light"] .via-meio-codigo { background: #f7f7f4; }
:root[data-theme="light"] .via-badge { color: var(--gold-deep); }
:root[data-theme="light"] .via-link-acao:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

/* ---- Mobile ---- */
@media (max-width: 640px) {
  .via { padding: 116px 0 72px; }
  .via-form { padding: 24px 20px; border-radius: 22px; }
  .via-field { flex-direction: column; }
  .via-input { text-align: center; }
  .via-submit { width: 100%; }

  .via-seletor { padding: 18px; border-radius: 20px; }
  .via-boleto { border-radius: 22px; }
  .via-boleto-topo { padding: 22px 20px 18px; }
  .via-boleto-valor { font-size: 1.8rem; }
  .via-meios { padding: 4px 20px 22px; }

  .via-copy,
  .via-link-acao { flex: 1 1 100%; justify-content: center; text-align: center; }
}
