
* {
    box-sizing: border-box;
    margin: 0;
}

:root {
    --navy: #0a2a66;
    --navy2: #0d3a85;
    --orange: #f59e0b;
    --bg: #f5f8fc;
    --card: #ffffff;
    --text: #0f1b33;
    --muted: #64748b;
    --line: #e6ebf2;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 14px;
}


.login-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.site-footer {
    padding: 10px 16px;
    color: var(--muted);
    text-align: center;
}

.login-text {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 64px;
    background: var(--navy);
    color: white;
    border-right: 10px solid var(--orange);
    text-align: center;
}

.conquiste {
    color: var(--orange);
}

.login-text h2 {
    max-width: 16ch;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.2px;
}

.login-text .lead {
    max-width: 48ch;
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
    line-height: 1.65;
}

.benefits {
    display: grid;
    gap: 12px;
    margin-top: 8px;
    padding: 0;
    list-style: none;
}

.benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    font-weight: 600;
}

.benefits li::before {
    content: "";
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--orange);
}

.login-card {
    align-self: center;
    justify-self: center;
    width: 100%;
    max-width: 440px;
    margin: 32px 0;
    padding: 38px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(15, 27, 51, .08);
}

.logo-link {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.logo-link img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.intro {
    margin-bottom: 28px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.intro h1 {
    margin-bottom: 9px;
    color: var(--navy);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -.7px;
}

.intro p {
    color: var(--muted);
    line-height: 1.6;
}

.login-error {
    margin-bottom: 18px;
    padding: 11px 12px;
    border: 1px solid #f1b9b5;
    border-radius: 9px;
    background: #fff1f0;
    color: #9f2d25;
    font-size: 13px;
}

.cadastro-link {
    margin-top: 18px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.cadastro-link a {
    color: #0a3d8f;
    font-weight: 700;
    text-decoration: none;
}

.cadastro-link a:hover {
    text-decoration: underline;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.field input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: none;
    background: #fbfcfe;
    color: var(--text);
    font: inherit;
    transition: .2s;
}

.field input:focus {
    border-color: var(--navy2);
    background: white;

}

.field input::placeholder {
    color: #9aa6b8;
}

.submit-button {
    width: 100%;
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 10px;
    background: var(--navy);
    color: white;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    transition: .2s;
}

.submit-button span {
    color: var(--orange);
    font-size: 20px;
    line-height: 1;
}

.submit-button:hover {
    background: var(--navy2);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .login-page {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .login-text {
        padding: 36px 24px 32px;
        gap: 12px;
        display: none;
    }

    .login-text h2 {
        max-width: none;
        font-size: 34px;
    }

    .login-text .lead {
        max-width: 52ch;
    }

    .benefits {
        display: none;
    }

    .login-card {
        align-self: start;
        max-width: 480px;
        margin: 32px auto;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .login-text {
        padding: 28px 20px 64px;
    }

    .login-text h2 {
        font-size: 32px;
    }

    .login-text .lead {
        font-size: 16px;
    }

    .login-card {
        width: auto;
        justify-self: stretch;
        margin-right: 12px;
        margin-left: 12px;
        padding: 26px 20px;
        border-radius: 16px;
    }

    .logo-link {
        margin-bottom: 22px;
    }

    .logo-link img {
        width: 150px;
    }

    .intro {
        margin-bottom: 22px;
    }

    .intro h1 {
        font-size: 23px;
    }

    .field input {
        font-size: 16px;
    }
}

@media (max-height: 560px) and (min-width: 901px) {
    .login-text {
        padding-block: 32px;
    }

    .benefits {
        display: none;
    }
}
