:root {
    --azul: #2f80ff;
    --azul-escuro: #183461;
    --texto: #17305f;
    --muted: #7284a3;
    --borda: #dce6f2;
    --fundo: #f6f9fd;
    --verde: #22a974;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    color: var(--texto);
    background: white;
}

.login-page {
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(420px, 46%)
        1fr;
}

.login-intro {
    padding: 48px;

    display: flex;
    flex-direction: column;

    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(34,169,116,.14),
            transparent 34%
        ),
        radial-gradient(
            circle at 85% 85%,
            rgba(47,128,255,.12),
            transparent 40%
        ),
        linear-gradient(
            150deg,
            #fafffc,
            #eef6ff
        );
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    background: #ddf7e9;

    color: #16895e;

    font-size: 22px;
    font-weight: 900;
}

.brand strong {
    display: block;

    font-size: 20px;
}

.brand span {
    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-size: 13px;
}

.intro-content {
    margin: auto 0;

    max-width: 580px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 16px;

    color: var(--verde);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .13em;
}

.intro-content h1 {
    margin: 0 0 24px;

    font-size:
        clamp(42px, 4vw, 64px);

    line-height: 1.04;

    letter-spacing: -.04em;
}

.intro-content p {
    max-width: 480px;

    margin: 0;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.65;
}

.intro-footer {
    color: var(--muted);

    font-size: 13px;
}

.login-area {
    display: grid;

    place-items: center;

    padding: 32px;
}

.login-card {
    width: min(100%, 430px);
}

.login-header h2 {
    margin: 0;

    font-size: 34px;
}

.login-header p {
    margin:
        8px 0 30px;

    color: var(--muted);
}

.alert {
    margin-bottom: 20px;

    padding: 13px 15px;

    border:
        1px solid #ffd2d8;

    border-radius: 13px;

    background: #fff2f4;

    color: #a73341;
}

form {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

label > span {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 700;
}

input {
    width: 100%;
    height: 54px;

    padding: 0 15px;

    border:
        1px solid var(--borda);

    border-radius: 13px;

    outline: none;

    background: #fbfdff;

    color: var(--texto);

    font-size: 15px;
}

input:focus {
    border-color: #8ebcff;

    box-shadow:
        0 0 0 4px
        rgba(47,128,255,.08);
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 90px;
}

.password-wrap button {
    position: absolute;

    right: 9px;
    top: 9px;

    height: 36px;

    padding: 0 10px;

    border: 0;

    background: transparent;

    color: #286fcf;

    cursor: pointer;
}

.entrar {
    height: 54px;

    margin-top: 4px;

    border: 0;

    border-radius: 13px;

    background: var(--azul);

    color: white;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;
}

.entrar:hover {
    background: #246ede;
}

.security {
    margin-top: 22px;

    text-align: center;

    color: var(--muted);

    font-size: 12px;
}

@media (max-width: 900px) {

    .login-page {
        grid-template-columns: 1fr;
    }

    .login-intro {
        min-height: 300px;

        padding: 30px;
    }

    .intro-content {
        margin-top: 70px;
    }

    .intro-content h1 {
        font-size: 38px;
    }

    .intro-footer {
        margin-top: 50px;
    }
}
