/* ============================================================================
   Tela de autenticacao — layout dividido (brand + formulario)
   ============================================================================ */

.auth-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* ── Painel de marca (esquerda) ──────────────────────────────────────────── */
.auth-brand {
    background: linear-gradient(155deg, var(--ink-900) 0%, var(--ink-800) 55%, var(--ink-700) 100%);
    color: #fff;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Filete de "margem de documento" — assinatura visual */
.auth-brand::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: 4.5rem;
    width: 1px;
    background: rgba(255, 255, 255, .08);
}
/* Numeracao de linha sutil, evocando um documento */
.auth-brand::after {
    content: "01\A 02\A 03\A 04\A 05\A 06\A 07\A 08";
    white-space: pre;
    position: absolute;
    top: 3.5rem;
    left: 2.2rem;
    font-family: var(--font-mono);
    font-size: .7rem;
    line-height: 2.4;
    color: rgba(255, 255, 255, .13);
    letter-spacing: .05em;
}

.auth-brand .brand-lockup {
    display: flex; align-items: center; gap: .6rem;
    font-family: var(--font-display);
    font-size: 1.25rem; font-weight: 600;
    position: relative; z-index: 1;
    margin-left: 2.5rem;
}
.auth-brand .brand-lockup .bi { color: var(--teal-500); font-size: 1.5rem; }

.auth-brand .brand-thesis {
    position: relative; z-index: 1;
    margin-left: 2.5rem;
}
.auth-brand .brand-thesis .eyebrow {
    font-family: var(--font-mono);
    font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--teal-500); margin-bottom: 1.25rem;
}
.auth-brand .brand-thesis h1 {
    font-family: var(--font-display);
    color: #fff;
    font-size: 2.4rem;
    line-height: 1.15;
    font-weight: 600;
    margin-bottom: 1.1rem;
    letter-spacing: -.02em;
}
.auth-brand .brand-thesis p {
    color: rgba(255, 255, 255, .6);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 30ch;
}

.auth-brand .brand-foot {
    position: relative; z-index: 1;
    margin-left: 2.5rem;
    font-size: .8rem;
    color: rgba(255, 255, 255, .4);
}

/* ── Painel de formulario (direita) ──────────────────────────────────────── */
.auth-form-panel {
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem;
}
.auth-form {
    width: 100%;
    max-width: 380px;
}
.auth-form .form-eyebrow {
    font-family: var(--font-mono);
    font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--teal-600); margin-bottom: .6rem;
}
.auth-form h2 {
    font-size: 1.65rem; margin-bottom: .4rem; color: var(--ink-900);
}
.auth-form .subtitle {
    color: var(--slate-500); font-size: .95rem; margin-bottom: 2rem;
}
.auth-form .form-control { padding: .65rem .85rem; }
.auth-form .btn-submit {
    background: var(--ink-900); border: none; color: #fff;
    width: 100%; padding: .7rem; font-weight: 500; font-size: .95rem;
    border-radius: var(--radius-sm); transition: var(--transition);
    display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.auth-form .btn-submit:hover { background: var(--teal-600); }

/* ── Responsivo: some o painel de marca em telas estreitas ───────────────── */
@media (max-width: 860px) {
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
    .auth-form-panel { padding: 2rem 1.5rem; min-height: 100vh; }
}
