:root {
  --bg: #0c0e12;
  --bg-2: #11141a;
  --fg: #e8edf2;
  --muted: #9aa6b2;
  --brand: #4afb7a;
  --brand-2: #2f7bff;
  --card: #1a1f27;
  --border: #2a313c;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --container-pad: max(16px, env(safe-area-inset-left));
  --container-pad-r: max(16px, env(safe-area-inset-right));
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  color: var(--fg);
  background: radial-gradient(
      1200px 600px at 20% -10%,
      #1a2030 0%,
      rgba(26, 32, 48, 0) 70%
    ),
    radial-gradient(900px 500px at 100% 0%, #1b2436 0%, rgba(27, 36, 54, 0) 60%),
    var(--bg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
.container {
  width: min(1120px, 100%);
  padding-inline: var(--container-pad);
  padding-right: var(--container-pad-r);
  margin-inline: auto;
}
.section {
  padding: clamp(48px, 8vw, 72px) 0;
  padding-left: 16px;
  padding-right: 16px;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a {
  color: inherit;
}

/* Buttons & inputs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.1rem;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--card);
  color: var(--fg);
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.ghost {
  background: transparent;
  border-color: var(--border);
}
.btn.primary {
  background: var(--brand);
  color: #0a0f0e;
  border-color: transparent;
}
.btn.primary:hover {
  filter: saturate(1.1) brightness(1.05);
}
.btn.wide {
  width: 100%;
  padding: 1rem 1.2rem;
}

/* Header */
.site-header {
  padding-left: 16px;
  padding-right: 16px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(
    to bottom,
    rgba(12, 14, 18, 0.85),
    rgba(12, 14, 18, 0.55) 60%,
    rgba(12, 14, 18, 0)
  );
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 12px 0;
  min-height: 56px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--fg);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.brand-mark {
  font-size: 1.25rem;
}
.nav {
  display: flex;
  gap: 1rem;
  margin-left: auto;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}
.nav a:hover {
  color: var(--fg);
}
.auth {
  display: flex;
  gap: 0.6rem;
  margin-left: 0.5rem;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  min-height: 40px;
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 56px 0 auto 0;
  background: rgba(17, 20, 26, 0.98);
  border-bottom: 1px solid var(--border);
  transform: translateY(-16px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}
.mobile-nav.open {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav .container {
  display: grid;
  gap: 12px;
  padding-block: 16px;
}
.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #d6dfeb;
  text-decoration: none;
  font-weight: 700;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-auth {
  display: flex;
  gap: 10px;
  padding: 10px 0 4px;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(56px, 6vw, 96px) 0 60px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
}
.hero-left {
  position: relative;
}
.social-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.stars {
  letter-spacing: 2px;
  color: #ffc83d;
}
.headline {
  font-weight: 900;
  font-size: 48px;
  line-height: 0.98;
  margin: 0 0 12px;
}
.outlined {
  padding: 0 0.14em;
  border: 3px solid #ffffff1a;
  border-radius: 10px;
  box-shadow: inset 0 0 0 2px #ffffff0a;
}
.flash {
  filter: drop-shadow(0 0 10px #fff);
}
.subhead {
  color: #c8d2dd;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  max-width: 66ch;
}
.bullets {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  color: #d7e0eb;
}
.bullets li {
  margin: 0.5rem 0;
}
.bullets strong {
  color: #fff;
}

/* Card (CTA) */
.card {
  background: linear-gradient(180deg, #1e2530 0%, #161b22 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(18px, 3vw, 26px);
  box-shadow: var(--shadow);
}
.card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
}
.speed-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-2);
  color: white;
  font-weight: 800;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(47, 123, 255, 0.35);
  transform: translateY(-10px);
  white-space: nowrap;
}
.cta-offer {
  display: grid;
  gap: 0.45rem;
  margin: 18px 0 14px;
}
.cta-offer__label {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.cta-offer__price {
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
}
.cta-offer__installments {
  color: #c8d2dd;
  font-size: 0.95rem;
}
.fineprint {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Decorative */
.scribble {
  color: #ffffff40;
  width: min(260px, 50vw);
  margin-top: 14px;
}
.mountains {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(
      180deg,
      rgba(12, 14, 18, 0) 0%,
      rgba(12, 14, 18, 0.6) 40%,
      var(--bg) 100%
    ),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="160" viewBox="0 0 1440 160" fill="none"><path d="M0 120L60 110C120 100 240 60 360 70C480 80 600 120 720 130C840 140 960 120 1080 100C1200 80 1320 80 1380 70L1440 60V160H0V120Z" fill="%2311161e"/></svg>');
  background-size: cover;
  opacity: 0.85;
}

/* Features grid */
.features {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
}
.feature {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.feature h4 {
  margin: 0 0 6px;
  font-size: clamp(1rem, 2.4vw, 1.1rem);
}

/* ========== Pricing & Comparison ========== */
.pricing {
  display: flex;
  justify-content: center;
}
.comparison-wrap {
  width: 100%;
  max-width: 980px;
  position: relative;
}

.save-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-150%);
  background: linear-gradient(90deg, #2f7bff, #6ee7ff);
  color: #001527;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(47, 123, 255, 0.35);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .vs-divider {
    display: none;
  }
  .save-pill {
    position: static;
    transform: none;
    display: inline-flex;
    margin-bottom: 10px;
  }
}

.compare-card {
  background: linear-gradient(180deg, #1d232c, #151a21);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.compare-card .compare-head h3 {
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  margin: 4px 0;
}
.compare-card .muted {
  color: var(--muted);
  margin: 0;
}
.compare-card .muted-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  color: #cbd6e3;
}
.compare-card .muted-list li {
  margin: 8px 0;
}

.compare-tag {
  display: inline-block;
  font-weight: 900;
  letter-spacing: 0.3px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
}
.compare-tag.good {
  background: #42f56e22;
  color: #b7ffcd;
  border: 1px dashed #42f56e88;
}
.compare-tag.warn {
  background: #ffb02022;
  color: #ffd8a0;
  border: 1px dashed #ffb02088;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0f1319;
}
.price-row .total {
  font-size: clamp(1.3rem, 4vw, 1.8rem);
}
.total--red {
  color: #ff383c;
}
.vs-divider {
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0f1319;
  border: 1px solid var(--border);
  font-weight: 900;
  color: #9fb0c6;
}

/* Trust row */
.trust-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  color: #c8d2dd;
  margin-top: 14px;
}
.trust-row span {
  background: #0f1319;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
}

/* FAQ */
.faq details {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 10px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
}

/* Final CTA */
.final-cta-card {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  padding: clamp(24px, 5vw, 36px);
}
.final-cta-card h3 {
  margin: 0;
  font-size: clamp(1.3rem, 4.5vw, 1.7rem);
}
.final-cta-card p {
  margin: 0;
  color: #c8d2dd;
  max-width: 60ch;
}
.final-cta-price {
  font-size: clamp(1.1rem, 3.6vw, 1.3rem);
  color: #fff;
  font-weight: 800;
}
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.final-cta-actions .btn {
  min-width: 200px;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: #0b0e13;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--fg);
}

/* Página de compra em construção */
.construction-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(360px, 60vh, 520px);
}
.construction-card {
  display: grid;
  gap: 1.1rem;
  text-align: center;
}
.construction-card h1 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2rem);
}
.construction-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.construction-emoji {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  filter: drop-shadow(0 0 16px rgba(74, 251, 122, 0.3));
}

/* Small screens */
@media (max-width: 960px) {
  .nav,
  .auth {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .headline {
    font-size: 30px;
  }
}

/* Motion reduction */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
