* {
    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);
}

.cadastro-acoes {
    position: relative;
    margin-top: 30px;
    padding: 28px 20px 20px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 19px;
    background:
        radial-gradient(
            circle at 12% 0%,
            rgba(37, 99, 235, 0.15),
            transparent 42%
        ),
        radial-gradient(
            circle at 92% 100%,
            rgba(236, 72, 153, 0.11),
            transparent 44%
        ),
        rgba(8, 17, 31, 0.48);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 14px 38px rgba(0, 0, 0, 0.16);
}

.cadastro-acoes::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 54%;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
        90deg,
        transparent,
        #3b82f6,
        #8b5cf6,
        #ec4899,
        transparent
    );
}

.cadastro-chamada {
    margin-bottom: 18px;
    color: #cbd5e1;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.cadastro-botoes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.botao-cadastro {
    position: relative;
    min-height: 54px;
    padding: 11px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.01em;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease,
        transform 0.2s ease;
}

.botao-cadastro::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 20%,
        rgba(255, 255, 255, 0.12) 48%,
        transparent 76%
    );
    opacity: 0;
    transform: translateX(-35%);
    transition:
        opacity 0.25s ease,
        transform 0.35s ease;
}

.botao-cadastro:hover {
    transform: translateY(-2px);
}

.botao-cadastro:hover::after {
    opacity: 1;
    transform: translateX(35%);
}

.botao-cadastro:active {
    transform: translateY(0);
}

.botao-cadastro:focus-visible {
    outline: 3px solid rgba(147, 197, 253, 0.38);
    outline-offset: 3px;
}

.botao-cadastro-secundario {
    border: 1px solid rgba(96, 165, 250, 0.38);
    background:
        linear-gradient(
            145deg,
            rgba(37, 99, 235, 0.16),
            rgba(139, 92, 246, 0.10)
        ),
        #111c2f;
    color: #e0e7ff;
}

.botao-cadastro-secundario:hover {
    border-color: rgba(129, 140, 248, 0.72);
    background:
        linear-gradient(
            145deg,
            rgba(37, 99, 235, 0.24),
            rgba(139, 92, 246, 0.17)
        ),
        #142038;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.16);
}

.botao-cadastro-principal {
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: linear-gradient(
        135deg,
        #2563eb 0%,
        #7c3aed 52%,
        #db2777 100%
    );
    color: #ffffff;
    box-shadow:
        0 13px 30px rgba(37, 99, 235, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.botao-cadastro-principal:hover {
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    filter: brightness(1.08) saturate(1.06);
    box-shadow:
        0 17px 36px rgba(124, 58, 237, 0.27),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.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;
    }

    .cadastro-botoes {
        grid-template-columns: 1fr;
    }

    .cadastro-acoes {
        margin-top: 26px;
        padding: 25px 16px 17px;
    }

    .botao-cadastro {
        min-height: 53px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .botao-cadastro,
    .botao-cadastro::after {
        transition: none;
    }
}
