/* MotriX — página de vendas
   Minimalista como a logo: preto dominante, branco no texto, verde só no que
   importa (CTA, números, checks, destaques). */

:root {
  --verde: #12a650;
  --verde-claro: #22c55e;
  --verde-escuro: #0d7d3c;

  --preto: #08090a;
  --preto-alt: #0d0f11;
  --preto-card: #121517;
  --borda: #21262b;
  --borda-forte: #333a41;

  --branco: #ffffff;
  --texto: #b9c0c8;
  --texto-fraco: #7d858f;

  --largura: 1120px;
  --raio: 14px;

  /* Altura do header — usada pra âncora não passar por baixo dele. */
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter,
    Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--branco);
  background: var(--preto);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Foco visível pra quem navega no teclado — sem isso a página é inacessível. */
:focus-visible {
  outline: 2px solid var(--verde-claro);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(18, 166, 80, 0.35);
  color: var(--branco);
}

.container {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 24px;
}

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

.center {
  text-align: center;
}

/* Âncora não fica escondida atrás do header fixo. */
[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ---------- Tipografia ---------- */

h1 {
  font-size: clamp(2.25rem, 5.4vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.038em;
  font-weight: 700;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--branco);
}

.accent {
  color: var(--verde-claro);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--verde-claro);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texto);
  max-width: 620px;
  margin-top: 18px;
  text-wrap: pretty;
}

.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--verde);
  color: var(--branco);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 8px 24px -12px rgba(18, 166, 80, 0.9);
}

.btn-primary:hover {
  background: var(--verde-claro);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 12px 30px -12px rgba(34, 197, 94, 0.95);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  border: 1px solid var(--borda-forte);
  color: var(--branco);
}

.btn-ghost:hover {
  border-color: #4d555e;
  background: rgba(255, 255, 255, 0.03);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(8, 9, 10, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--borda);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.brand img {
  height: 22px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9375rem;
}

.header-nav a:not(.btn) {
  position: relative;
  color: var(--texto-fraco);
  font-weight: 500;
  transition: color 0.18s ease;
  padding: 4px 0;
}

.header-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--verde-claro);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.header-nav a:not(.btn):hover {
  color: var(--branco);
}

.header-nav a:not(.btn):hover::after {
  transform: scaleX(1);
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 92px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Brilho verde discreto atrás do título — o único efeito da página. */
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 460px;
  max-width: 140vw;
  background: radial-gradient(
    ellipse at center,
    rgba(18, 166, 80, 0.18) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero-sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.6;
  color: var(--texto);
  max-width: 620px;
  margin: 26px auto 0;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 22px;
  font-size: 0.8125rem;
  color: var(--texto-fraco);
  letter-spacing: 0.01em;
}

/* ---------- Seções ---------- */

.section {
  padding: clamp(68px, 9vw, 108px) 0;
}

.section-tight {
  padding: clamp(24px, 4vw, 40px) 0 clamp(44px, 6vw, 68px);
}

.section-alt {
  background: var(--preto-alt);
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
}

/* Bloco do tráfego: leve tom verde pra separar sem sair do preto. */
.section-accent {
  background: linear-gradient(180deg, #0a1310 0%, #091a12 100%);
  border-top: 1px solid #17402a;
  border-bottom: 1px solid #17402a;
}

/* ---------- Problema ---------- */

.problem {
  border-left: 2px solid var(--verde);
  padding: 4px 0 4px 26px;
  max-width: 780px;
}

.problem p {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--texto);
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.problem strong {
  color: var(--branco);
  font-weight: 600;
}

/* ---------- Pilares ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.pillar {
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 30px 26px;
  background: var(--preto-card);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.pillar:hover {
  border-color: var(--borda-forte);
  transform: translateY(-2px);
}

.pillar-accent {
  border-color: rgba(18, 166, 80, 0.55);
  background: linear-gradient(180deg, rgba(18, 166, 80, 0.1) 0%, var(--preto-card) 100%);
}

.pillar-accent:hover {
  border-color: var(--verde);
}

.pillar-num,
.card-num {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--verde-claro);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.pillar p {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--texto);
  text-wrap: pretty;
}

/* ---------- Tráfego pago ---------- */

.traffic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.traffic-card {
  border: 1px solid #1d3a2a;
  border-radius: var(--raio);
  padding: 28px 26px;
  background: rgba(8, 20, 13, 0.6);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.traffic-card:hover {
  border-color: #2a5c3f;
  background: rgba(10, 26, 17, 0.8);
}

.traffic-card h3 {
  position: relative;
  padding-left: 18px;
}

.traffic-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--verde-claro);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.traffic-card p {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--texto);
  text-wrap: pretty;
}

.traffic-close {
  margin-top: 52px;
  text-align: center;
}

.traffic-close p {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--texto);
  max-width: 620px;
  margin: 0 auto 28px;
  text-wrap: balance;
}

.traffic-close strong {
  color: var(--branco);
  font-weight: 600;
}

/* ---------- Grid de recursos ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.card {
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 28px 26px;
  background: var(--preto-card);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: var(--borda-forte);
  transform: translateY(-2px);
}

.card p {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--texto);
  text-wrap: pretty;
}

/* ---------- Split (site integrado) ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.split-sub {
  margin-top: 18px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texto);
  text-wrap: pretty;
}

.split .check-list {
  margin-top: 28px;
}

.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-box {
  width: 100%;
  max-width: 250px;
  text-align: center;
  padding: 18px 16px;
  border: 1px solid var(--borda);
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--texto);
  background: var(--preto-card);
}

.flow-box-accent {
  border-color: var(--verde);
  color: var(--branco);
  background: rgba(18, 166, 80, 0.12);
  box-shadow: 0 0 32px -12px rgba(18, 166, 80, 0.8);
}

.flow-arrow {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, var(--borda), var(--verde));
  position: relative;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--verde);
}

/* ---------- Lista com check ---------- */

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--texto);
}

.check-list li strong {
  color: var(--branco);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--verde);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}

/* ---------- Planos ---------- */

.plans {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 24px;
  align-items: start;
  margin-top: 56px;
}

.plan {
  border: 1px solid var(--borda);
  border-radius: 18px;
  padding: 34px 32px;
  background: var(--preto-card);
  position: relative;
}

.plan-featured {
  border-color: rgba(18, 166, 80, 0.6);
  background: linear-gradient(180deg, rgba(18, 166, 80, 0.09) 0%, var(--preto-card) 55%);
  box-shadow: 0 0 60px -24px rgba(18, 166, 80, 0.65);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 32px;
  background: var(--verde);
  color: var(--branco);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.plan-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--verde-claro);
}

.plan-for {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--texto-fraco);
  min-height: 42px;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 24px 0 28px;
  min-height: 54px;
  font-variant-numeric: tabular-nums;
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--texto);
}

.price-number {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--texto-fraco);
}

.price-custom {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--branco);
}

.plan-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--texto-fraco);
  text-align: center;
  text-wrap: pretty;
}

.plan .check-list {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--borda);
}

/* ---------- CTA final ---------- */

.section-cta {
  background: radial-gradient(
      ellipse 60% 80% at 50% 0%,
      rgba(18, 166, 80, 0.13) 0%,
      transparent 70%
    ),
    var(--preto);
  border-top: 1px solid var(--borda);
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--borda);
  padding: 44px 0;
  background: var(--preto-alt);
}

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

.footer-logo {
  height: 18px;
  width: auto;
  opacity: 0.85;
}

.footer-nav {
  display: flex;
  gap: 22px;
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--texto-fraco);
  transition: color 0.18s ease;
}

.footer-nav a:hover {
  color: var(--branco);
}

.footer-copy {
  font-size: 0.8125rem;
  color: #5b626a;
}

/* ---------- Revelação no scroll ---------- */

/* Só esconde se o JS estiver vivo pra revelar de novo (o .js vem do <head>).
   Sem JS, ou se o script falhar, a página aparece inteira. */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media print {
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Quem tem animação desligada no sistema não vê nada se mexendo. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsivo ---------- */

@media (max-width: 900px) {
  .pillars,
  .grid,
  .traffic-grid,
  .plans {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .plan-featured {
    order: -1;
  }

  .plan-for {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  /* Some com os links de âncora, mas o "Entrar" fica — cliente que já paga
     precisa achar o login no celular. */
  .header-nav a:not(.btn) {
    display: none;
  }

  .header-nav a.link-quiet {
    display: inline;
  }

  .header-nav .btn-sm {
    padding: 9px 14px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .plan {
    padding: 30px 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
