/* ══════════════════════════════════════════════════════
   Inmobly App — jornada login → tour → planos → checkout → obrigado
   Estilo próprio do Inmobly (não é o template white-label por
   corretor — aqui não tem tema customizável por tenant).
   ══════════════════════════════════════════════════════ */
:root {
  --bg: #0F172A; --surface: #1A2438; --surface-2: #0B1428; --line: #2A3752;
  --text: #E7ECF5; --muted: #8B98B2; --accent: #C8922A; --accent-dark: #A67722;
  --ok: #22C55E; --warn: #F59E0B; --err: #EF4444;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  min-height: 100vh;
}
.hidden { display: none !important; }
a { color: var(--accent); }

.btn {
  cursor: pointer; border: none; border-radius: 10px; padding: 0.75rem 1.5rem;
  font-size: 0.95rem; font-weight: 600; font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn--primary { background: var(--accent); color: #1a1200; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Tela centralizada (login, criar-conta, obrigado) ─────── */
.center-screen {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 2.5rem; max-width: 420px; width: 100%;
}
.card__logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.3rem; margin-bottom: 1.5rem; }
.card__logo span { color: var(--accent); }
.card h1 { font-size: 1.3rem; margin: 0 0 0.5rem; }
.card p.sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.75rem; }

.field { margin-bottom: 1.1rem; text-align: left; }
.field label { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 0.4rem; }
.field input, .field select {
  width: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); padding: 0.65rem 0.85rem; font-size: 0.95rem; font-family: inherit;
}
.field__hint { font-size: 0.75rem; color: var(--muted); margin-top: 0.3rem; }
.field__error { font-size: 0.78rem; color: var(--err); margin-top: 0.3rem; min-height: 1.1em; }

.msg { font-size: 0.85rem; margin-top: 1rem; text-align: center; }
.msg--err { color: var(--err); }
.msg--ok { color: var(--ok); }

/* ── Tour (onboarding) ─────────────────────────────────────── */
.tour {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 2rem 1.5rem;
}
.tour__dots { display: flex; gap: 0.5rem; margin-bottom: 2rem; }
.tour__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background 200ms, width 200ms; }
.tour__dot.is-active { background: var(--accent); width: 24px; border-radius: 4px; }
.tour__slide { max-width: 480px; text-align: center; }
.tour__icon {
  width: 64px; height: 64px; margin: 0 auto 1.5rem; border-radius: 16px;
  background: rgba(200, 146, 42, 0.12); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.tour__slide h2 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.tour__slide p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 2rem; }
.tour__nav { display: flex; gap: 0.75rem; justify-content: center; }
.tour__skip { text-align: center; margin-top: 1.5rem; }
.tour__skip button { background: none; border: none; color: var(--muted); font-size: 0.82rem; cursor: pointer; }

/* ── Planos ────────────────────────────────────────────────── */
.planos-wrap { max-width: 960px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.planos-head { text-align: center; margin-bottom: 2.5rem; }
.planos-head h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.planos-head p { color: var(--muted); }
.planos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.plano-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.75rem; display: flex; flex-direction: column;
}
.plano-card--destaque { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plano-card__badge {
  align-self: flex-start; background: var(--accent); color: #1a1200; font-size: 0.7rem;
  font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; margin-bottom: 0.75rem;
}
.plano-card h3 { font-size: 1.1rem; margin: 0 0 0.3rem; }
.plano-card__preco { font-size: 2rem; font-weight: 800; margin: 0.5rem 0; }
.plano-card__preco small { font-size: 0.9rem; color: var(--muted); font-weight: 400; }
.plano-card ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; }
.plano-card li { font-size: 0.88rem; color: var(--text); display: flex; gap: 0.5rem; }
.plano-card li::before { content: '✓'; color: var(--ok); font-weight: 700; }
.plano-card .btn { margin-top: auto; }

/* ── Painel (stub pós-onboarding) ─────────────────────────── */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.75rem; border-bottom: 1px solid var(--line);
}
.painel-wrap { max-width: 720px; margin: 2rem auto; padding: 0 1.5rem; }
.status-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 2rem; }
.status-card dt { font-size: 0.72rem; text-transform: uppercase; color: var(--muted); margin-top: 1rem; }
.status-card dd { margin: 0.15rem 0 0; font-size: 1rem; }

/* ── Foco visível (acessibilidade) ────────────────────────── */
.btn:focus-visible, .field input:focus-visible, .field select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
