* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: #08111f;
    color: #f8fafc;
}

button,
input {
    font: inherit;
}

.login-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) minmax(420px, 0.9fr);
}

.login-apresentacao {
    position: relative;
    overflow: hidden;
    padding: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(37, 99, 235, 0.32),
            transparent 34%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(236, 72, 153, 0.22),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #0f172a,
            #111827
        );
    border-right: 1px solid rgba(148, 163, 184, 0.16);
}

.login-apresentacao::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -130px;
    top: -130px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    box-shadow:
        0 0 0 60px rgba(255, 255, 255, 0.02),
        0 0 0 120px rgba(255, 255, 255, 0.015);
}

.etiqueta {
    width: fit-content;
    margin-bottom: 24px;
    padding: 9px 14px;
    border: 1px solid rgba(96, 165, 250, 0.30);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: #93c5fd;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-apresentacao h1 {
    max-width: 720px;
    margin-bottom: 22px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.login-apresentacao > p {
    max-width: 620px;
    margin-bottom: 42px;
    color: #aab8cc;
    font-size: 19px;
    line-height: 1.7;
}

.recursos {
    max-width: 680px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.recurso {
    min-height: 125px;
    padding: 20px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(12px);
}

.recurso strong {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 16px;
}

.recurso span {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
}

.login-area {
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            circle at top right,
            rgba(37, 99, 235, 0.12),
            transparent 32%
        ),
        #08111f;
}

.login-cartao {
    width: 100%;
    max-width: 510px;
    padding: 40px;
    border: 1px solid #243249;
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.login-topo {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: linear-gradient(135deg, #2563eb, #ec4899);
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.26);
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
}

.login-topo h2 {
    margin-bottom: 5px;
    font-size: 29px;
}

.login-topo p {
    color: #94a3b8;
    line-height: 1.5;
}

.mensagem-erro {
    margin-bottom: 22px;
    padding: 14px 16px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 13px;
    background: rgba(239, 68, 68, 0.10);
    color: #fca5a5;
    line-height: 1.5;
}

.campo {
    margin-bottom: 20px;
}

.campo label {
    display: block;
    margin-bottom: 9px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 800;
}

.campo input {
    width: 100%;
    min-height: 56px;
    padding: 0 17px;
    border: 1px solid #334155;
    border-radius: 14px;
    outline: none;
    background: #111c2f;
    color: #f8fafc;
    font-size: 16px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.campo input::placeholder {
    color: #64748b;
}

.campo input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

.campo-senha {
    position: relative;
}

.campo-senha input {
    padding-right: 96px;
}

.mostrar-senha {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    min-height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    background: #1e293b;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
}

.lembrar {
    width: fit-content;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #aab8cc;
    font-size: 14px;
}

.lembrar input {
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
}

.botao-entrar {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 15px;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #ec4899);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.botao-entrar:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.botao-entrar:active {
    transform: translateY(0);
}

.rodape-login {
    margin-top: 24px;
    color: #64748b;
    text-align: center;
    font-size: 13px;
}

@media (max-width: 1050px) {
    .login-layout {
        grid-template-columns: 1fr;
    }

    .login-apresentacao {
        min-height: auto;
        padding: 44px 32px;
        border-right: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    }

    .login-apresentacao h1 {
        max-width: 780px;
        font-size: 44px;
    }

    .login-apresentacao > p {
        margin-bottom: 28px;
    }

    .login-area {
        min-height: 620px;
    }
}

@media (max-width: 700px) {
    .login-apresentacao {
        padding: 32px 20px;
    }

    .login-apresentacao h1 {
        font-size: 35px;
    }

    .login-apresentacao > p {
        font-size: 16px;
    }

    .recursos {
        grid-template-columns: 1fr;
    }

    .recurso {
        min-height: auto;
    }

    .login-area {
        min-height: auto;
        padding: 22px 16px 32px;
    }

    .login-cartao {
        padding: 28px 20px;
        border-radius: 21px;
    }

    .login-topo h2 {
        font-size: 25px;
    }
}