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

body {
    height: 100vh;
    overflow: hidden;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, #071A30, #163D68);
    color: #FFFFFF;
}

.container {
    height: 100vh;
    display: flex;
}

/* =========================
   ÁREA INSTITUCIONAL
========================= */

.brand-area {
    width: 58%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.brand-content {
    max-width: 650px;
    text-align: center;
}

.illustration {
    width: 85%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 30px 55px rgba(0, 0, 0, .35));
}

.brand-content h1 {
    margin-top: 15px;
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .5px;
}

.brand-content h1 small {
    display: block;
    margin-top: 10px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #D9E2EC;
}

.brand-content p {
    margin: 12px auto 0;
    max-width: 500px;
    font-size: 16px;
    line-height: 1.4;
    color: #D9E2EC;
}

/* =========================
   ÁREA LOGIN
========================= */

.login-area {
    width: 42%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.login-card {
    width: 420px;
    background: #FFFFFF;
    color: #081B31;
    padding: 35px 45px;
    border-radius: 26px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

/* Marca */

.logo {
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: bold;
    color: #163D68;
}

.logo span {
    display: block;
    margin-top: 8px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
    letter-spacing: .3px;
}

.logo::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    margin-top: 10px;
    border-radius: 10px;
    background: #C8A951;
}

/* Portal */

.portal {
    display: inline-block;
    margin-top: 18px;
    padding: 7px 15px;
    border-radius: 20px;
    background: #F4E7BF;
    color: #8B6A1F;
    font-size: 13px;
    font-weight: 600;
}

.login-card h2 {
    margin-top: 25px;
    font-size: 28px;
    color: #081B31;
}

.subtitle {
    margin-top: 8px;
    margin-bottom: 25px;
    color: #64748B;
}

/* Campos */

label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    margin-bottom: 18px;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    font-size: 15px;
}

input:focus {
    outline: none;
    border-color: #C8A951;
    box-shadow: 0 0 0 3px rgba(200, 169, 81, .15);
}

/* Opções */

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.remember input {
    accent-color: #163D68;
}

.options a {
    color: #2D6CDF;
    text-decoration: none;
    font-size: 14px;
}

/* Botão */

button {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #C8A951, #E8C96A);
    color: #081A30;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(200, 169, 81, .35);
}

/* Segurança */

.security {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #64748B;
}

/* Copyright */

.copyright {
    margin-top: 14px;
    text-align: center;
    font-size: 12px;
    color: #94A3B8;
    letter-spacing: .2px;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 1000px) {
    body {
        height: auto;
        overflow: auto;
    }

    .container {
        height: auto;
        flex-direction: column;
    }

    .brand-area,
    .login-area {
        width: 100%;
    }

    .brand-area {
        padding: 30px;
    }

    .illustration {
        max-width: 430px;
    }

    .brand-content h1 {
        font-size: 32px;
    }
}

@media (max-width: 500px) {
    .login-area {
        padding: 20px;
    }

    .login-card {
        padding: 30px;
    }

    .brand-content h1 {
        font-size: 27px;
    }
}
