/* ============================================================
   Gerencia Agora! — Páginas da campanha 90 dias
   Extensões construídas SOMENTE com os tokens do Design System.
   Ordem de carregamento:
     ../Design System/tokens.css
     ../Design System/landing/landing.css
     ../Design System/landing/pages.css
     assets/paginas.css   (este arquivo)
   ============================================================ */

/* ---------- Utilitários ---------- */
.ga-hide { display: none !important; }
.ga-muted { color: var(--neutral-500); }
.ga-small { font-size: 13px; }
.ga-stack { display: flex; flex-direction: column; gap: 16px; }

/* Logo no header: o DS usa logo.svg com altura de 36px */
.lp-logo img { height: 36px; }

/* ---------- Selo "assistente com IA" ---------- */
.ga-ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-blue-50);
  color: var(--brand-blue-700);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: .02em;
}
.ga-ai-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-blue-400); }
.ga-dark .ga-ai-tag { background: rgba(91,164,224,.16); color: var(--brand-blue-200); }

/* ---------- Provas (RTBs) ---------- */
.ga-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ga-proof {
  background: var(--neutral-0);
  border: 1px solid var(--border);
  border-radius: var(--lp-card-radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ga-proof .num {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--lp-heading);
}
.ga-proof .num small { font-size: 18px; font-weight: var(--fw-bold); color: var(--neutral-500); letter-spacing: -0.01em; }
.ga-proof .num .hl { color: var(--primary); }
.ga-proof strong { font-size: 15px; color: var(--neutral-900); }
.ga-proof span { font-size: 14px; color: var(--neutral-500); line-height: 1.55; }

/* ---------- Passos (como funciona) ---------- */
.ga-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: ga-step;
}
.ga-step {
  position: relative;
  background: var(--neutral-0);
  border: 1px solid var(--border);
  border-radius: var(--lp-card-radius);
  padding: 32px 28px 28px;
}
.ga-step::before {
  counter-increment: ga-step;
  content: counter(ga-step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 18px;
}
.ga-step h3 { margin: 0 0 8px; font-size: 19px; font-weight: var(--fw-bold); color: var(--lp-heading); letter-spacing: -0.01em; }
.ga-step p { margin: 0; font-size: 15px; color: var(--neutral-500); line-height: 1.6; }
.ga-step .time { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: var(--fw-semibold); color: var(--brand-orange-700); background: var(--primary-soft); padding: 3px 10px; border-radius: var(--radius-pill); }

/* ---------- Faixa escura (Paulo / quem criou) ---------- */
.ga-dark {
  background: var(--lp-dark-band);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ga-dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(640px 380px at 90% 10%, rgba(237,126,54,.18), transparent 60%),
    radial-gradient(640px 380px at 0% 100%, rgba(91,164,224,.16), transparent 60%);
  pointer-events: none;
}
.ga-dark > .container { position: relative; }
.ga-dark .lp-h2 { color: #fff; }
.ga-dark .lp-section-lede { color: rgba(255,255,255,.72); }

.ga-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Paulo */
.ga-paulo-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-2xl);
  padding: 24px;
  max-width: 440px;
  justify-self: center;
  width: 100%;
}
.ga-paulo-id { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ga-paulo-id image-slot { width: 64px; height: 64px; flex: none; }
.ga-paulo-id strong { display: block; font-size: 17px; }
.ga-paulo-id small { font-size: 13px; color: var(--brand-blue-200); }
.ga-paulo-card .lp-chat { max-width: none; box-shadow: none; }
.ga-paulo-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--brand-blue-200);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.ga-paulo-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--brand-blue-300); }
.ga-quotes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ga-quotes span {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: #fff;
}

/* Quem criou */
.ga-creator {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}
.ga-creator image-slot { width: 100%; height: 380px; display: block; }
.ga-creator blockquote {
  margin: 0 0 20px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--lp-heading);
  text-wrap: pretty;
}
.ga-creator p { margin: 0 0 14px; color: var(--neutral-600); font-size: 16px; max-width: 58ch; }
.ga-creator .sig { font-size: 14px; color: var(--neutral-500); }
.ga-creator .sig strong { color: var(--neutral-900); }

/* ---------- Depoimentos em vídeo (cortes autorizados) ---------- */
.ga-video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ga-video {
  margin: 0;
  background: var(--neutral-0);
  border: 1px solid var(--border);
  border-radius: var(--lp-card-radius);
  overflow: hidden;
}
.ga-video image-slot { width: 100%; aspect-ratio: 9 / 16; height: auto; display: block; }
.ga-video figcaption { padding: 14px 16px; font-size: 13.5px; color: var(--neutral-500); }
.ga-video figcaption strong { display: block; color: var(--neutral-900); font-size: 14px; }

/* ---------- Planos (4 colunas, escada) ---------- */
.ga-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.ga-plans-grid .lp-plan { padding: 28px 24px; }
.ga-plans-grid .lp-plan .price .val { font-size: 38px; }
.ga-plans-grid .lp-plan .price .cents { font-size: 18px; font-weight: 800; color: var(--lp-heading); letter-spacing: -0.02em; }
.lp-plan .msg {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--brand-blue-600);
  margin: 0 0 16px;
  min-height: 2.6em;
}
.lp-plan .step-tag {
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--neutral-400);
  margin-bottom: 6px;
}
.lp-plan .support {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #178A2C;
  background: #E7F8EC;
  border-radius: var(--radius-md);
  padding: 8px 10px;
  margin: -12px 0 20px;
  font-weight: var(--fw-medium);
}
.lp-plan .support svg { width: 15px; height: 15px; flex: none; }
.ga-modules {
  margin: -8px 0 20px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--brand-orange-50);
  border: 1px dashed var(--brand-orange-200);
}
.ga-modules .t { font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-orange-700); margin-bottom: 8px; }
.ga-modules dl { margin: 0; display: grid; gap: 6px; }
.ga-modules dt { font-size: 13.5px; font-weight: var(--fw-bold); color: var(--neutral-900); }
.ga-modules dd { margin: 0 0 4px; font-size: 12.5px; color: var(--neutral-600); line-height: 1.45; }

/* A tabela fica dentro de um contêiner com overflow; o top:72px do pages.css
   empurrava o cabeçalho para cima das primeiras linhas. */
.lp-compare thead th { top: 0; }

/* Escada visual */
.ga-ladder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: end;
  margin: 0 auto 48px;
  max-width: 760px;
}
.ga-ladder div {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--brand-blue-100);
  color: var(--brand-blue-700);
  font-size: 13px;
  font-weight: var(--fw-bold);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px 6px;
  text-align: center;
}
.ga-ladder div:nth-child(1) { height: 56px; }
.ga-ladder div:nth-child(2) { height: 84px; background: var(--brand-blue-200); }
.ga-ladder div:nth-child(3) { height: 112px; background: var(--brand-blue-400); color: #fff; }
.ga-ladder div:nth-child(4) { height: 140px; background: var(--brand-blue-700); color: #fff; }

/* ---------- Lead capture (checklist / cobrar) ---------- */
.ga-lead-hero .lp-hero-grid { align-items: start; }
.ga-form-card {
  background: var(--neutral-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: 32px;
  position: relative;
}
.ga-form-card h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lp-heading);
}
.ga-form-card .sub { margin: 0 0 22px; font-size: 14.5px; color: var(--neutral-500); }
.ga-form-card .lp-form .lp-btn { margin-top: 6px; }
.ga-form-card .lp-auth-terms { margin-top: 14px; }
.ga-form-ok {
  display: none;
  text-align: center;
  padding: 12px 0 4px;
}
.ga-form-ok .ico {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--success-50); color: var(--success-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.ga-form-card.is-sent .lp-form,
.ga-form-card.is-sent .lp-form-wrap { display: none; }
.ga-form-card.is-sent .ga-form-ok { display: block; }

/* Checklist interativo */
.ga-quiz { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ga-sign {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 18px;
  background: var(--neutral-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur);
  font-size: 15px;
  color: var(--neutral-700);
  line-height: 1.45;
}
.ga-sign:hover { border-color: var(--border-strong); }
.ga-sign input { position: absolute; opacity: 0; pointer-events: none; }
.ga-sign .box {
  width: 24px; height: 24px; flex: none;
  border-radius: var(--radius-md);
  border: 2px solid var(--neutral-300);
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  transition: all var(--dur-fast);
  margin-top: 1px;
}
.ga-sign .box svg { width: 14px; height: 14px; }
.ga-sign .n { font-weight: 800; color: var(--neutral-400); margin-right: 4px; }
.ga-sign:has(input:checked) { border-color: var(--primary); background: var(--brand-orange-50); box-shadow: 0 0 0 3px var(--primary-soft); }
.ga-sign:has(input:checked) .box { background: var(--primary); border-color: var(--primary); color: #fff; }
.ga-sign:has(input:checked) .n { color: var(--brand-orange-700); }
.ga-sign:has(input:focus-visible) { box-shadow: var(--shadow-focus); }

.ga-score {
  position: sticky;
  bottom: 16px;
  z-index: 20;
  margin-top: 28px;
  background: var(--neutral-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.ga-score .count { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--lp-heading); line-height: 1; }
.ga-score .count small { font-size: 16px; color: var(--neutral-400); font-weight: var(--fw-bold); }
.ga-score .verdict strong { display: block; font-size: 16px; color: var(--neutral-900); }
.ga-score .verdict span { font-size: 14px; color: var(--neutral-500); }
.ga-meter { display: flex; gap: 4px; margin-top: 10px; }
.ga-meter i { flex: 1; height: 6px; border-radius: 3px; background: var(--neutral-100); transition: background var(--dur); }
.ga-meter i.on { background: var(--success-500); }
.ga-score[data-level="2"] .ga-meter i.on { background: var(--warning-500); }
.ga-score[data-level="3"] .ga-meter i.on { background: var(--primary); }

.ga-ranges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ga-range { border-radius: var(--lp-card-radius); padding: 22px; border: 1px solid var(--border); background: var(--neutral-0); }
.ga-range .k { font-size: 12px; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.ga-range strong { display: block; font-size: 17px; color: var(--neutral-900); margin-bottom: 4px; }
.ga-range p { margin: 0; font-size: 14px; color: var(--neutral-500); }
.ga-range--1 .k { color: var(--success-700); }
.ga-range--2 .k { color: var(--warning-700); }
.ga-range--3 { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.ga-range--3 .k { color: var(--brand-orange-700); }

/* ---------- Mensagens prontas (COBRAR) ---------- */
.ga-msgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ga-msg {
  background: var(--neutral-0);
  border: 1px solid var(--border);
  border-radius: var(--lp-card-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ga-msg header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ga-msg .when { font-size: 12px; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-orange-700); }
.ga-msg h3 { margin: 2px 0 0; font-size: 17px; color: var(--lp-heading); font-weight: var(--fw-bold); }
.ga-msg .bubble {
  background: #DCF5C8;
  border-radius: 12px;
  border-top-right-radius: 4px;
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--neutral-800);
  white-space: pre-line;
  flex: 1;
}
.ga-msg.is-locked .bubble { filter: blur(5px); user-select: none; }
.ga-msg .tip { font-size: 13px; color: var(--neutral-500); margin: 0; }
.ga-copy {
  border: 1px solid var(--border-strong);
  background: var(--neutral-0);
  border-radius: var(--radius-md);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--neutral-700);
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.ga-copy:hover { border-color: var(--primary); color: var(--brand-orange-700); }
.ga-copy.is-done { border-color: var(--success-500); color: var(--success-700); }
.ga-copy svg { width: 14px; height: 14px; }

/* ---------- Página de obrigado ---------- */
.ga-thanks { max-width: 640px; margin: 0 auto; text-align: center; }
.ga-thanks .ico {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--success-50); color: var(--success-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.ga-next {
  display: grid;
  gap: 12px;
  text-align: left;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.ga-next li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--neutral-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
}
.ga-next li .n {
  width: 32px; height: 32px; flex: none;
  border-radius: 50%;
  background: var(--brand-blue-50);
  color: var(--brand-blue-700);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.ga-next strong { display: block; color: var(--neutral-900); font-size: 15px; }
.ga-next span { font-size: 14px; color: var(--neutral-500); }

/* ---------- Link na bio ---------- */
body.ga-links-page {
  background: var(--brand-blue-800);
  min-height: 100vh;
  color: #fff;
}
.ga-links {
  max-width: 460px;
  margin: 0 auto;
  padding: 48px 20px 56px;
  text-align: center;
  position: relative;
}
.ga-links .avatar-ring {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 0 4px rgba(237,126,54,.35);
}
.ga-links .avatar-ring img { width: 62px; height: auto; }
.ga-links h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
.ga-links .bio { font-size: 14.5px; color: var(--brand-blue-200); margin: 0 0 28px; line-height: 1.6; }
.ga-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  margin-bottom: 12px;
  transition: background var(--dur), transform var(--dur) var(--ease-out);
}
.ga-link:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.ga-link .ico {
  width: 40px; height: 40px; flex: none;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
}
.ga-link .ico svg { width: 20px; height: 20px; }
.ga-link strong { display: block; font-size: 15px; color: #fff; }
.ga-link span { font-size: 13px; color: var(--brand-blue-200); }
.ga-link--primary { background: var(--primary); border-color: var(--primary); box-shadow: 0 8px 24px rgba(237,126,54,.35); }
.ga-link--primary:hover { background: var(--primary-hover); }
.ga-link--primary span { color: rgba(255,255,255,.85); }
.ga-link--primary .ico { background: rgba(255,255,255,.18); }
.ga-links .foot { margin-top: 28px; font-size: 12.5px; color: var(--brand-blue-300); }

/* ---------- Footer: endosso ---------- */
.ga-endorse { color: var(--neutral-300); }
.ga-endorse strong { color: #fff; font-weight: var(--fw-semibold); }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .ga-proof-grid { grid-template-columns: 1fr 1fr; }
  .ga-steps { grid-template-columns: 1fr; }
  .ga-split, .ga-creator { grid-template-columns: 1fr; gap: 40px; }
  .ga-creator image-slot { height: 320px; max-width: 320px; }
  .ga-video-grid { grid-template-columns: 1fr 1fr; }
  .ga-plans-grid { grid-template-columns: 1fr 1fr; }
  .ga-msgs { grid-template-columns: 1fr; }
  .ga-ranges { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .lp-header-inner { gap: 12px; }
  .lp-logo img { height: 30px; }
  .lp-header-cta { gap: 4px; }
  .lp-header-cta .lp-btn--primary { padding: 8px 12px; font-size: 13px; }
  .ga-plans-2, .ga-video-3 { grid-template-columns: 1fr !important; }
  .ga-proof-grid, .ga-plans-grid { grid-template-columns: 1fr; }
  .ga-quiz { grid-template-columns: 1fr; }
  .ga-score { grid-template-columns: auto 1fr; gap: 16px; padding: 16px; }
  .ga-score .lp-btn { grid-column: 1 / -1; width: 100%; }
  .ga-form-card { padding: 24px 20px; }
  .ga-ladder { margin-bottom: 32px; }
  .ga-ladder div { font-size: 11px; }
}
