/* alonga LP — dark/lime, matches app tokens (src/design-system/tokens.ts) */
:root {
  --bg: #0a0a0a;
  --surface: #161616;
  --surface-high: #1f1f1f;
  --border: #2a2a2a;
  --text: #ffffff;
  --text-2: #9a9a9a;
  --accent: #dcf34a;
  --on-accent: #0a0a0a;
  --eyebrow: #4ade80;
  --display: 'Unbounded', sans-serif;
  --body: 'Instrument Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* atmosphere: faint lime glow top-left + grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 12% -10%, rgba(220, 243, 74, 0.07), transparent 60%),
    radial-gradient(40rem 30rem at 100% 110%, rgba(74, 222, 128, 0.05), transparent 60%);
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- nav ---------- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 0;
}
.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo em { color: var(--accent); font-style: normal; }

/* ---------- hero ---------- */
.hero {
  padding: 4rem 0 5rem;
  max-width: 46rem;
}
.eyebrow {
  color: var(--eyebrow);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: rise 0.7s 0.05s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: rise 0.7s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
h1 .lime { color: var(--accent); }
.sub {
  color: var(--text-2);
  font-size: 1.15rem;
  margin-top: 1.5rem;
  max-width: 38rem;
  opacity: 0;
  animation: rise 0.7s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-cta { margin-top: 2.5rem; opacity: 0; animation: rise 0.7s 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  border-radius: 999px;
  padding: 1rem 2.25rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 0 0 0 rgba(220, 243, 74, 0);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(220, 243, 74, 0.25); }
.btn:active { transform: translateY(0); }
.btn-note { display: block; color: var(--text-2); font-size: 0.85rem; margin-top: 0.75rem; }
/* links dentro de nota de CTA herdavam o azul padrao do navegador. Branco
   sublinhado: visivel o bastante para ser clicado, sem disputar o lime. */
.btn-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.btn-note a:hover { color: var(--accent); }

/* ---------- benefit cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  padding: 0 0 4rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem;
}
.card .n {
  font-family: var(--display);
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.9rem;
}
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { color: var(--text-2); font-size: 0.98rem; }

/* ---------- steps ---------- */
.steps { padding: 2rem 0 4.5rem; }
.steps h2, .proof h2, .depoimentos h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}
.step {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}
.step:last-of-type { border-bottom: 1px solid var(--border); }
.step .num {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.step p { color: var(--text-2); font-size: 0.98rem; }

/* ---------- proof ---------- */
.proof { padding: 0 0 4.5rem; }
.proof h2 .lime, .depoimentos h2 .lime, .final h2 .lime { color: var(--accent); }
.proof-intro, .depo-intro {
  color: var(--text-2);
  max-width: 42rem;
  margin: -1rem 0 2rem;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}
.proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 1rem;
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.proof-card .stat {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.proof-card p { color: var(--text-2); font-size: 0.95rem; flex-grow: 1; }
.proof-card .cite {
  color: var(--text-2);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-top: 1px solid var(--border);
  padding-top: 0.8rem;
}
.proof-close {
  color: var(--text);
  max-width: 42rem;
  margin-top: 2rem;
  font-weight: 600;
}

/* ---------- depoimentos ---------- */
/* Sem a borda lime do .proof-card: depoimento não se confunde com estudo. */
.depoimentos { padding: 0 0 4.5rem; }
.depo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}
.depo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.depo blockquote { color: var(--text); font-size: 0.95rem; flex-grow: 1; }
.depo cite {
  color: var(--text-2);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-top: 1px solid var(--border);
  padding-top: 0.8rem;
}

/* ---------- final cta ---------- */
.final {
  text-align: center;
  padding: 3rem 0 6rem;
}
.final h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.final-sub { color: var(--text-2); max-width: 36rem; margin: -1rem auto 2rem; }
/* CTA secundário ao lado do principal: contorno em vez de preenchimento. A
   margem lateral simétrica mantém os dois centrados quando quebram de linha. */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: calc(1rem - 1px) calc(2.25rem - 1px);
  margin: 0.75rem 0.5rem 0;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }

/* ---------- pricing ---------- */
.pricing-head { padding: 3rem 0 1rem; max-width: 42rem; }
.pricing-head h1 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); animation-delay: 0.05s; }
.pricing-head p { color: var(--text-2); margin-top: 1rem; opacity: 0; animation: rise 0.7s 0.2s cubic-bezier(0.2,0.7,0.2,1) forwards; }

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.25rem;
  padding: 2.5rem 0 2rem;
  max-width: 46rem;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.plan.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(220, 243, 74, 0.06), transparent 55%), var(--surface);
}
.plan .badge {
  align-self: flex-start;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 0.75rem;
}
.plan h3 { font-family: var(--display); font-size: 1rem; font-weight: 600; color: var(--text-2); }
.plan .price {
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.plan .price small { font-size: 0.95rem; color: var(--text-2); font-weight: 400; font-family: var(--body); }
.plan p { color: var(--text-2); font-size: 0.95rem; flex-grow: 1; margin-top: 0.4rem; }
.plan .btn { margin-top: 1.5rem; text-align: center; }

.guarantee {
  background: var(--surface-high);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  max-width: 46rem;
  margin-bottom: 2rem;
}
.guarantee strong { color: var(--accent); }
.guarantee p { color: var(--text-2); font-size: 0.98rem; }

.fineprint { color: var(--text-2); font-size: 0.82rem; padding-bottom: 5rem; max-width: 46rem; }

/* ---------- formulário de e-mail ---------- */
.email-form { display: grid; gap: 0.9rem; opacity: 0; animation: rise 0.7s 0.5s cubic-bezier(0.2,0.7,0.2,1) forwards; }
.email-form input[type='email'] {
  background: var(--surface-high);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--body);
  font-size: 1.05rem;
  padding: 1rem 1.5rem;
  outline: none;
  transition: border-color 0.15s ease;
}
.email-form input[type='email']:focus { border-color: var(--accent); }
.consent { color: var(--text-2); font-size: 0.8rem; line-height: 1.55; }
.consent a { color: var(--eyebrow); }

.form-msg { font-size: 0.95rem; min-height: 1.4rem; }
.form-msg.ok { color: var(--eyebrow); }
.form-msg.err { color: #f87171; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  color: var(--text-2);
  font-size: 0.82rem;
}
footer a { color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  .eyebrow, h1, .sub, .hero-cta, .pricing-head p, .email-form { animation: none; opacity: 1; }
}

/* ---------- quiz funnel ---------- */
.quiz-wrap { max-width: 40rem; }
.quiz-step { padding: 2.5rem 0 5rem; animation: rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.quiz-step h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); animation: none; opacity: 1; }
.quiz-q {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.4vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.quiz-q .lime { color: var(--accent); }
.quiz-sub { color: var(--text-2); margin: 1.1rem 0 1.75rem; max-width: 34rem; }
.quiz-step .btn { margin-top: 0.5rem; }

.quiz-progress {
  height: 4px;
  background: var(--surface-high);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.25rem;
}
.quiz-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.quiz-loading-track { margin-top: 2rem; }

.quiz-options { display: grid; gap: 0.75rem; margin-top: 1.75rem; }
.quiz-opt {
  text-align: left;
  font-family: var(--body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.quiz-opt:hover { border-color: var(--accent); background: var(--surface-high); transform: translateY(-1px); }
.quiz-opt:active { transform: none; }

.quiz-inter-eyebrow {
  color: var(--eyebrow);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.quiz-email-form { animation: none; opacity: 1; }

.quiz-result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.7rem;
}
.quiz-result-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.98rem; }
.quiz-result-row span { color: var(--text-2); }
.quiz-result-row strong { color: var(--accent); text-align: right; }
.quiz-price { color: var(--text-2); font-size: 0.95rem; margin: 0 0 1.25rem; }
.quiz-price strong { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  .quiz-step { animation: none; }
  .quiz-progress-bar { transition: none; }
}
