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

:root {
    --navy: #07111f;
    --navy-light: #0d1b2e;
    --panel: #101e31;
    --gold: #f5b82e;
    --gold-hover: #ffc94d;
    --white: #ffffff;
    --text: #d7deea;
    --muted: #8492a6;
    --border: #26364c;
    --danger: #ff6262;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--navy);
    color: var(--white);
    min-height: 100vh;
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
}

/* LADO ESQUERDO */

.brand-panel {
    position: relative;
    display: flex;
    align-items: center;
    padding: 70px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 25% 25%,
            rgba(31, 73, 125, 0.35),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #07111f 0%,
            #0b1a2c 55%,
            #07111f 100%
        );
}

.brand-panel::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(245, 184, 46, 0.08);
    border-radius: 50%;
    right: -140px;
    bottom: -160px;
}

.brand-content {
    width: 100%;
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 100px;
}

.logo-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;

    background: var(--gold);
    color: var(--navy);

    font-weight: 900;
    font-size: 18px;

    border-radius: 12px;
}

.logo strong {
    display: block;
    font-size: 22px;
    letter-spacing: 1.5px;
}

.logo small {
    display: block;
    margin-top: 3px;

    color: var(--muted);
    font-size: 10px;
    letter-spacing: 2.5px;
}

.eyebrow,
.auth-label {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-text h1 {
    margin-top: 18px;

    font-size: clamp(46px, 5vw, 74px);
    line-height: 1.02;
    letter-spacing: -2px;
}

.hero-text h1 span {
    color: var(--gold);
}

.hero-text p {
    max-width: 570px;
    margin-top: 28px;

    color: var(--text);
    font-size: 18px;
    line-height: 1.7;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;

    margin-top: 65px;
}

.features div {
    padding: 20px;

    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
}

.features strong {
    display: block;
    color: var(--gold);
    margin-bottom: 7px;
}

.features span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

/* LOGIN */

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;

    background: #0a1524;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-box {
    width: 100%;
    max-width: 420px;
}

.mobile-logo {
    display: none;
}

.auth-box h2 {
    margin-top: 14px;
    font-size: 34px;
    letter-spacing: -1px;
}

.auth-subtitle {
    margin-top: 10px;
    margin-bottom: 36px;

    color: var(--muted);
    line-height: 1.5;
}

form label {
    display: block;

    margin-top: 19px;
    margin-bottom: 8px;

    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

form input {
    width: 100%;
    height: 52px;

    padding: 0 16px;

    color: var(--white);
    background: var(--panel);

    border: 1px solid var(--border);
    border-radius: 10px;

    font-size: 15px;
    outline: none;

    transition: 0.2s;
}

form input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 184, 46, 0.08);
}

form input::placeholder {
    color: #617087;
}

#btnLogin,
.secondary-button {
    width: 100%;
    height: 52px;

    border-radius: 10px;

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

    cursor: pointer;
    transition: 0.2s;
}

#btnLogin {
    margin-top: 22px;

    border: none;
    background: var(--gold);
    color: var(--navy);
}

#btnLogin:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
}

#btnLogin:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

.secondary-button {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--white);
}

.secondary-button:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.mensagem {
    min-height: 18px;
    margin-top: 14px;

    color: var(--danger);
    font-size: 13px;
}

.auth-links {
    margin-top: 18px;
    text-align: right;
}

.auth-links a {
    color: var(--gold);
    font-size: 13px;
    text-decoration: none;
}

.separator {
    display: flex;
    align-items: center;
    gap: 15px;

    margin: 30px 0;
}

.separator::before,
.separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.separator span {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
}

.copyright {
    margin-top: 45px;

    color: #526177;
    text-align: center;
    font-size: 11px;
}

/* RESPONSIVO */

@media (max-width: 900px) {

    .login-page {
        display: block;
    }

    .brand-panel {
        display: none;
    }

    .auth-panel {
        min-height: 100vh;
        padding: 28px 22px;
        border-left: none;
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        gap: 12px;

        margin-bottom: 55px;
    }

    .mobile-logo .logo-mark {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .mobile-logo strong {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .auth-box h2 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {

    .auth-panel {
        align-items: flex-start;
        padding-top: 35px;
    }

    .mobile-logo {
        margin-bottom: 45px;
    }

    .auth-subtitle {
        margin-bottom: 28px;
    }
}
