.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 1.1fr) minmax(340px, 520px); background: var(--bg); }
.auth-felt {
  position: relative; overflow: hidden; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  color: #f4f1ff; background: radial-gradient(120% 90% at 0% 0%, var(--stage-2), var(--stage-1) 60%);
}
.auth-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.auth-brand .brand-mark circle:first-of-type { fill: var(--stage-1); }
.auth-brand .brand-mark circle:last-of-type { fill: #fff; }
.auth-hero { display: grid; gap: 18px; max-width: 30ch; position: relative; z-index: 1; }
.auth-mark { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -0.035em; }
.auth-tag { font-size: 1.1rem; color: #cfc6f5; max-width: 34ch; }
.auth-wheel { position: absolute; right: -120px; bottom: -120px; width: 440px; height: 440px; opacity: .9; }
.auth-wheel .brand-mark circle:first-of-type { fill: var(--stage-1); }
.auth-wheel .brand-mark circle:last-of-type { fill: #fff; }
.auth-chips { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.auth-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: rgb(255 255 255 / 10%); font-size: .85rem; backdrop-filter: blur(6px); }
.auth-chips svg { width: 15px; height: 15px; }
.auth-side { display: grid; grid-template-rows: auto 1fr; padding: 20px 24px 32px; }
.auth-side-top { display: flex; justify-content: flex-end; }
.auth-card { width: 100%; max-width: 380px; justify-self: center; align-self: center; display: grid; gap: 16px; }
.auth-card h1 { font-size: 1.7rem; }
.password-input { display: flex; align-items: center; position: relative; }
.password-input input { flex: 1; min-width: 0; padding-right: 84px; }
.password-input .link-btn { position: absolute; right: 12px; font-size: .85rem; }
.forgot-link { margin: -6px 0 0; text-align: right; font-size: .875rem; }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-felt { padding: 24px 20px 28px; min-height: 0; }
  .auth-hero { gap: 8px; }
  .auth-mark { font-size: 1.9rem; }
  .auth-wheel { width: 220px; height: 220px; right: -60px; bottom: -70px; }
  .auth-chips { display: none; }
  .auth-side { padding: 12px 20px 40px; }
}

/* Segunda etapa do login */
.mfa-step-head { display: grid; gap: 12px; justify-items: start; }
.mfa-step-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--primary-soft); color: var(--primary); }
.mfa-step-icon svg { width: 24px; height: 24px; }
.code-input { font-size: 1.25rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.code-input.is-digits { font-size: 1.6rem; letter-spacing: .5em; text-align: center; padding-left: .5em; }
.mfa-others { border-top: 1px solid var(--border); padding-top: 14px; display: grid; gap: 8px; }
.mfa-others ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mfa-other {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; text-align: left;
}
.mfa-other:hover { border-color: var(--border-strong); background: var(--surface-2); }
.mfa-other svg { width: 18px; height: 18px; color: var(--text-2); flex: none; }
