/* Categoria: autenticacao. autenticacao; composição e estados deste módulo. */
/* Acesso público: tokens, marca e fotografia compartilhados com a landing. */
.auth-body {
    --font-display: Georgia, Cambria, "Times New Roman", serif;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--cream);
}

.auth-shell {
    display: grid;
    min-height: 100vh;
    min-height: 100dvh;
    grid-template-columns: minmax(360px, .88fr) minmax(0, 1.12fr);
}

.auth-identity {
    position: relative;
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-12);
    overflow: hidden;
    padding: clamp(28px, 4vw, 56px);
    isolation: isolate;
    background: var(--deep) url("../../img/hero-turismo-rural-1280.webp") center/cover no-repeat;
    color: var(--white);
}

.auth-identity::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, #10231de8 0%, #10231d9c 44%, #10231dd9 100%);
    content: "";
}

.auth-identity .ui-brand {
    align-self: flex-start;
}

.auth-identity-copy {
    max-width: 560px;
    margin: auto 0;
}

.auth-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 var(--space-4);
    color: #f1dfbb;
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: .04em;
}

.auth-eyebrow::before {
    width: 24px;
    height: 1px;
    background: var(--gold);
    content: "";
}

.auth-identity-title {
    max-width: 12ch;
    margin: 0;
    color: var(--white);
    font: 500 clamp(36px, 4.5vw, 60px)/1.04 var(--font-display);
    letter-spacing: -.03em;
    text-wrap: balance;
}

.auth-identity-owner {
    max-width: 36ch;
    margin: 22px 0 0;
    color: #f2f2e8;
    font-size: var(--text-base);
}

.auth-main {
    display: grid;
    min-width: 0;
    place-items: center;
    padding: var(--space-8);
    background: var(--cream);
}

.auth-content {
    width: min(100%, 460px);
}

.auth-content h1 {
    margin: 0 0 var(--space-2);
    color: var(--forest);
    font: 500 clamp(30px, 3vw, 38px)/1.12 var(--font-display);
    letter-spacing: -.02em;
}

.auth-description {
    max-width: 48ch;
    margin: 0 0 26px;
    color: var(--muted);
}

@media (max-width: 760px) {
    .auth-shell {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(190px, 26svh) 1fr;
    }

    .auth-identity {
        min-height: 190px;
        gap: var(--space-5);
        padding: var(--space-5) var(--space-6);
    }

    .auth-identity-copy {
        margin: 0;
    }

    .auth-eyebrow {
        margin-bottom: 6px;
        font-size: var(--text-xs);
    }

    .auth-identity-title {
        max-width: 26ch;
        font-size: clamp(24px, 6vw, 34px);
    }

    .auth-identity-owner {
        display: none;
    }

    .auth-main {
        place-items: start center;
        padding: var(--space-8) var(--space-6) var(--space-6);
    }

    .auth-content h1 {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 420px) {
    .auth-shell {
        grid-template-rows: 176px 1fr;
    }

    .auth-identity {
        min-height: 176px;
        padding: var(--space-4) var(--space-5);
    }

    .auth-identity .ui-brand__mark {
        width: 36px;
        height: 36px;
    }

    .auth-identity .ui-brand__name {
        font-size: 17px;
    }

    .auth-identity-copy {
        margin-top: var(--space-2);
    }

    .auth-identity-title {
        font-size: 26px;
    }

    .auth-main {
        padding: 26px var(--space-5) var(--space-5);
    }

    .auth-description {
        margin-bottom: var(--space-5);
    }

}
