/* ──────────────────────────────────────────────
   PÁGINA: Cadastro
   Layout específico desta tela. Estilos de form
   multi-step reutilizáveis estão em
   app/components/steps-form.css
   ────────────────────────────────────────────── */

body.cadastro-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--silver-100);
}

/* ── TOPBAR ── */
.cadastro-topbar {
  background: var(--blue-900);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.cadastro-topbar .logo {
  display: flex; align-items: center; gap: 9px;
  color: var(--white); font-weight: 800; font-size: 1.15rem;
}
.cadastro-topbar .logo-icon {
  width: 32px; height: 32px; background: var(--blue-500);
  border-radius: 7px; display: flex; align-items: center;
  justify-content: center; font-size: 1rem;
}
.cadastro-topbar-link { font-size: .85rem; color: rgba(255,255,255,.65); }
.cadastro-topbar-link a { color: #93c5fd; font-weight: 600; }
.cadastro-topbar-link a:hover { text-decoration: underline; }

/* ── LAYOUT EM DUAS COLUNAS ── */
.cadastro-page-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 60px);
}

/* PAINEL ESQUERDO — BENEFÍCIOS */
.cadastro-benefits-panel {
  background: linear-gradient(150deg, var(--blue-900) 0%, var(--blue-800) 60%, var(--blue-600) 100%);
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cadastro-benefits-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 30% 20%, rgba(59,130,224,.2) 0%, transparent 70%);
  pointer-events: none;
}
.cadastro-benefits-panel h2 {
  font-size: 1.7rem; font-weight: 800; color: var(--white);
  line-height: 1.2; letter-spacing: -.3px;
}
.cadastro-benefits-panel h2 span { color: #93c5fd; }

.benefit-list { display: flex; flex-direction: column; gap: 20px; }
.benefit-item { display: flex; align-items: flex-start; gap: 14px; }
.benefit-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.benefit-title { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.benefit-desc  { font-size: .8rem; color: rgba(255,255,255,.6); line-height: 1.55; }

.trust-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1);
}
.trust-item { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255,255,255,.55); }
.trust-item svg { color: #4ade80; }

/* PAINEL DIREITO — FORMULÁRIO */
.cadastro-form-panel {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
  overflow-y: auto;
}
.cadastro-form-wrap {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
}

.cadastro-login-link {
  text-align: center;
  font-size: .85rem;
  color: var(--silver-700);
  margin-top: 8px;
}
.cadastro-login-link a { color: var(--blue-600); font-weight: 600; }
.cadastro-login-link a:hover { text-decoration: underline; }

.cadastro-footer {
  text-align: center;
  padding: 16px 24px;
  font-size: .75rem;
  color: var(--silver-400);
  background: var(--white);
  border-top: 1px solid var(--silver-200);
}
.cadastro-footer a { color: var(--silver-400); }
.cadastro-footer a:hover { text-decoration: underline; }

/* ── RESPONSIVO ──
   Maioria dos usuários acessa pelo celular: abaixo de 860px
   escondemos o painel de benefícios e damos foco total ao formulário. */
@media (max-width: 860px) {
  .cadastro-page-grid { grid-template-columns: 1fr; }
  .cadastro-benefits-panel { display: none; }
  .cadastro-form-panel { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .cadastro-topbar { padding: 0 16px; }
  .cadastro-form-panel { padding: 20px 14px; }
}
