/* ============================================================
   Gerencia Agora! — Páginas internas (Planos, Login, Cadastro)
   Depende de tokens.css + landing/landing.css
   ============================================================ */

/* ---------- Page hero (interno, compacto) ---------- */
.lp-page-hero {
  padding: 152px 0 56px;
  background: var(--lp-hero-bg);
  color: var(--lp-hero-fg);
  position: relative;
  overflow: hidden;
}
.lp-page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 360px at 10% -20%, var(--brand-orange-100), transparent 60%),
    radial-gradient(700px 360px at 95% 120%, var(--brand-blue-100), transparent 60%);
  opacity: .5;
  pointer-events: none;
}
.lp-page-hero > .container { position: relative; }
.lp-page-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: var(--lp-display-weight);
  letter-spacing: var(--lp-display-tracking);
  line-height: 1.08;
  margin: 0 0 14px;
  color: var(--lp-heading);
  text-wrap: balance;
}
.lp-page-hero p {
  font-size: 18px;
  color: var(--neutral-500);
  max-width: 58ch;
  margin: 0;
  text-wrap: pretty;
}
.lp-page-hero.lp-center p { margin-left: auto; margin-right: auto; }

/* ---------- Tabela de comparação de planos ---------- */
.lp-compare-wrap {
  border: 1px solid var(--border);
  border-radius: var(--lp-card-radius);
  background: var(--neutral-0);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}
.lp-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 720px;
}
.lp-compare th, .lp-compare td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.lp-compare th:first-child, .lp-compare td:first-child {
  text-align: left;
  color: var(--neutral-700);
}
.lp-compare thead th {
  position: sticky;
  top: 72px;
  background: var(--neutral-0);
  z-index: 2;
  padding-top: 20px;
  padding-bottom: 20px;
  vertical-align: top;
}
.lp-compare thead .plan-name {
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--lp-heading);
  display: block;
}
.lp-compare thead .plan-price {
  font-size: 13px;
  font-weight: var(--fw-regular);
  color: var(--neutral-500);
  display: block;
  margin-top: 2px;
}
.lp-compare thead th.hot {
  background: var(--primary-soft);
  border-radius: 10px 10px 0 0;
}
.lp-compare thead th.hot .plan-name { color: var(--brand-orange-700); }
.lp-compare td.hot { background: var(--brand-orange-50); }
.lp-compare .cat td {
  background: var(--neutral-50);
  font-size: 12px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--neutral-500);
  padding: 10px 20px;
}
.lp-compare .yes {
  color: var(--success-500);
  font-weight: 700;
}
.lp-compare .no { color: var(--neutral-300); }
.lp-compare .val { font-weight: var(--fw-semibold); color: var(--neutral-800); }
.lp-compare tbody tr:last-child td { border-bottom: 0; }
.lp-compare tfoot td { padding: 20px; border-bottom: 0; }

/* ============================================================
   Auth (Login / Cadastro)
   ============================================================ */
body.lp-auth {
  min-height: 100vh;
  background: var(--neutral-50);
}
.lp-auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.lp-auth-form-side {
  display: flex;
  flex-direction: column;
  padding: 32px 48px;
  background: var(--neutral-0);
}
.lp-auth-form-side .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lp-auth-form-side .top img { height: 34px; width: auto; }
.lp-auth-form-side .top a {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--neutral-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lp-auth-form-side .top a:hover { color: var(--neutral-900); }

.lp-auth-card {
  margin: auto;
  width: 100%;
  max-width: 420px;
  padding: 40px 0;
}
.lp-auth-card h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--lp-heading);
  margin: 0 0 8px;
}
.lp-auth-card .sub {
  font-size: 15px;
  color: var(--neutral-500);
  margin: 0 0 32px;
}
.lp-auth-card .sub a { color: var(--brand-blue-600); font-weight: var(--fw-semibold); }
.lp-auth-card .sub a:hover { text-decoration: underline; }

.lp-form { display: flex; flex-direction: column; gap: 18px; }
.lp-form .field { gap: 7px; }
.lp-form .label { font-size: 13px; }
.lp-form .input { padding: 12px 14px; font-size: 15px; border-radius: var(--radius-lg); }
.lp-form .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.lp-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
}
.lp-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--neutral-600);
  cursor: pointer;
}
.lp-check input {
  width: 16px; height: 16px;
  accent-color: var(--primary);
  margin: 0;
}
.lp-form-row .forgot { color: var(--brand-blue-600); font-weight: var(--fw-medium); }
.lp-form-row .forgot:hover { text-decoration: underline; }

.lp-form .lp-btn { width: 100%; margin-top: 4px; }

.lp-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 6px 0;
}
.lp-auth-divider::before, .lp-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.lp-auth-terms {
  font-size: 12.5px;
  color: var(--neutral-400);
  line-height: 1.6;
  margin: 0;
}
.lp-auth-terms a { color: var(--neutral-600); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Legal pages (terms, privacy) ---------- */
.lp-legal h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--lp-heading);
  margin: 40px 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.lp-legal h2:first-child { margin-top: 0; }
.lp-legal p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--neutral-600);
  margin: 0 0 16px;
}
.lp-legal ul {
  padding-left: 20px;
  margin: 0 0 20px;
}
.lp-legal li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--neutral-600);
  margin-bottom: 6px;
}
.lp-legal a { color: var(--brand-blue-600); text-decoration: underline; text-underline-offset: 2px; }
.lp-legal a:hover { color: var(--brand-blue-800); }

/* — Painel de marca (lado direito) — */
.lp-auth-brand-side {
  background: var(--brand-blue-800);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.lp-auth-brand-side::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(640px 400px at 90% 0%, rgba(237,126,54,.22), transparent 60%),
    radial-gradient(640px 420px at 0% 100%, rgba(91,164,224,.18), transparent 60%);
  pointer-events: none;
}
.lp-auth-brand-side > * { position: relative; }
.lp-auth-brand-side h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 18ch;
  text-wrap: balance;
}
.lp-auth-brand-side .lede {
  font-size: 16px;
  color: var(--brand-blue-200);
  margin: 0 0 36px;
  max-width: 44ch;
  line-height: 1.6;
}
.lp-auth-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}
.lp-auth-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--brand-blue-100);
}
.lp-auth-points svg {
  width: 20px; height: 20px;
  color: #5EE07A;
  flex: none;
  margin-top: 1px;
}
.lp-auth-quote {
  border-left: 3px solid var(--primary);
  padding-left: 18px;
  max-width: 46ch;
}
.lp-auth-quote blockquote {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
}
.lp-auth-quote cite {
  font-style: normal;
  font-size: 13px;
  color: var(--brand-blue-300);
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .lp-auth-layout { grid-template-columns: 1fr; }
  .lp-auth-brand-side { display: none; }
  .lp-auth-form-side { padding: 24px; }
  .lp-compare thead th { top: 0; }
}
