@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Montserrat:wght@300;400&display=swap');
/* =========================
   CONFIGURAÇÕES GERAIS
========================= */

* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


html {
    background-color: #02050b;
}


body {
    min-height: 100vh;

    background-color: #02050b;

    color: #ffffff;

    font-family: 'Montserrat', sans-serif;

    overflow-x: hidden;
}


/* =========================
   CABEÇALHO
========================= */

.cabecalho {

    width: 100%;

    height: 117px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 2%;

    position: absolute;

    top: 0;
    left: 0;

    z-index: 10;

    border-bottom:

        1px solid rgba(
            180,
            190,
            220,
            0.12
        );
}


/* =========================
   LOGO
========================= */

.logo {

    display: flex;

    align-items: center;
}


.logo__imagem {

    width: 324px;

    max-width: 30vw;

    object-fit: contain;

    transition: 0.3s ease;
}


.logo__imagem:hover {

    opacity: 0.8;
}


/* =========================
   MENU
========================= */

.cabecalho__menu {

    display: flex;

    align-items: center;
}


.cabecalho__menu a {

    color: #bfc3ce;

    text-decoration: none;

    font-size: 12px;

    letter-spacing: 3px;

    padding: 18px 28px;

    border-right:

        1px solid rgba(
            180,
            190,
            220,
            0.15
        );

    transition: 0.3s ease;
}


.cabecalho__menu a:last-child {

    border-right: none;
}


.cabecalho__menu a:hover {

    color: #ffffff;

    text-shadow:

        0 0 10px
        rgba(255, 255, 255, 0.4);
}


/* MENU ATIVO */

.menu__ativo {

    color: #ffffff !important;
}


/* =========================
   ÁREA PRINCIPAL
========================= */

.login {

    min-height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;
}


/* =========================
   FUNDO
========================= */

.login__fundo {

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(

            to bottom,

            rgba(1, 4, 10, 0.65),

            rgba(1, 4, 10, 0.4),

            rgba(1, 4, 10, 0.9)

        ),

        url("../assets/Background.png");


    background-size: cover;

    background-position: center;

    z-index: 0;

    transform: scale(1.03);

    animation:

        fundoEntrada
        2s
        ease
        forwards;
}


/* =========================
   ESCURECIMENTO DO FUNDO
========================= */

.login::after {

    content: "";

    position: absolute;

    inset: 0;

    background:

        radial-gradient(

            circle at center,

            rgba(0, 0, 0, 0.05) 15%,

            rgba(0, 0, 0, 0.6) 100%

        );

    z-index: 1;
}


/* =========================
   CONTEÚDO
========================= */

.login__conteudo {

    width: 450px;

    max-width: 90vw;

    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    margin-top: 70px;

    padding:

        55px
        50px;


    background:

        rgba(
            2,
            5,
            11,
            0.45
        );


    border:

        1px solid
        rgba(
            180,
            190,
            230,
            0.35
        );


    box-shadow:

        0 0 50px
        rgba(
            70,
            90,
            160,
            0.08
        );


    backdrop-filter:

        blur(8px);
}


/* =========================
   TÍTULO
========================= */

.login__titulo {

    margin-bottom: 45px;
}


.login__titulo h1 {

    font-family:

        Georgia,
        "Times New Roman",
        serif;


    font-size:

        clamp(
            35px,
            4vw,
            55px
        );


    font-weight: 300;

    letter-spacing: 8px;

    color: #e5e7ee;


    text-shadow:

        0 0 15px
        rgba(
            255,
            255,
            255,
            0.15
        );
}


.login__titulo p {

    margin-top: 15px;

    font-size: 10px;

    letter-spacing: 5px;

    color: #9299aa;
}


/* =========================
   FORMULÁRIO
========================= */

.login__formulario {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 28px;
}


/* =========================
   GRUPOS
========================= */

.formulario__grupo {

    display: flex;

    flex-direction: column;

    text-align: left;

    gap: 10px;
}


/* LABEL */

.formulario__grupo label {

    font-size: 10px;

    letter-spacing: 4px;

    color: #aeb4c2;
}


/* INPUT */

.formulario__grupo input {

    width: 100%;

    padding:

        16px
        0;


    background: transparent;

    border: none;

    border-bottom:

        1px solid
        rgba(
            180,
            190,
            220,
            0.35
        );


    outline: none;

    color: #ffffff;

    font-size: 14px;

    letter-spacing: 1px;

    transition: 0.3s ease;
}


/* PLACEHOLDER */

.formulario__grupo input::placeholder {

    color: #5f6572;

    font-size: 12px;

    letter-spacing: 1px;
}


/* INPUT FOCADO */

.formulario__grupo input:focus {

    border-bottom-color:

        rgba(
            220,
            225,
            255,
            0.9
        );


    box-shadow:

        0 8px 15px
        rgba(
            120,
            140,
            220,
            0.08
        );
}


/* =========================
   OPÇÕES
========================= */

.formulario__opcoes {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    font-size: 9px;

    letter-spacing: 2px;
}


/* LEMBRAR */

.lembrar {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #8d94a3;

    cursor: pointer;
}


.lembrar input {

    accent-color: #8c96c7;
}


/* LINK ESQUECEU A SENHA */

.formulario__opcoes a {

    color: #aeb4c2;

    text-decoration: none;

    transition: 0.3s ease;
}


.formulario__opcoes a:hover {

    color: #ffffff;
}


/* =========================
   BOTÃO
========================= */

.login__formulario button {

    width: 100%;

    margin-top: 15px;

    padding:

        20px
        30px;


    background:

        rgba(
            0,
            0,
            0,
            0.15
        );


    border:

        1px solid
        rgba(
            170,
            180,
            230,
            0.55
        );


    color: #e8e8eb;

    font-size: 12px;

    letter-spacing: 7px;

    cursor: pointer;

    transition: 0.4s ease;
}


/* SETA */

.login__formulario button span {

    display: inline-block;

    margin-left: 20px;

    font-size: 20px;

    transition: 0.3s ease;
}


/* HOVER DO BOTÃO */

.login__formulario button:hover {

    background:

        rgba(
            130,
            145,
            210,
            0.12
        );


    border-color:

        rgba(
            220,
            225,
            255,
            0.9
        );


    box-shadow:

        0 0 30px
        rgba(
            150,
            170,
            255,
            0.15
        );
}


/* MOVIMENTO DA SETA */

.login__formulario button:hover span {

    transform:

        translateX(8px);
}


/* =========================
   CADASTRO
========================= */

.login__cadastro {

    margin-top: 35px;

    display: flex;

    flex-direction: column;

    gap: 12px;
}


.login__cadastro p {

    font-size: 9px;

    letter-spacing: 3px;

    color: #707887;
}


.login__cadastro a {

    color: #c7ccdc;

    text-decoration: none;

    font-size: 10px;

    letter-spacing: 4px;

    transition: 0.3s ease;
}


.login__cadastro a:hover {

    color: #ffffff;

    text-shadow:

        0 0 10px
        rgba(
            255,
            255,
            255,
            0.4
        );
}


/* =========================
   ANIMAÇÃO DO FUNDO
========================= */

@keyframes fundoEntrada {

    from {

        opacity: 0;

        transform:

            scale(1);

    }


    to {

        opacity: 1;

        transform:

            scale(1);

    }

}


/* =========================
   RESPONSIVIDADE
========================= */

@media (max-width: 900px) {

    .cabecalho {

        height: auto;

        padding: 20px;

        flex-direction: column;

        gap: 20px;
    }


    .logo__imagem {

        width: 250px;

        max-width: 70vw;
    }


    .cabecalho__menu {

        flex-wrap: wrap;

        justify-content: center;
    }


    .cabecalho__menu a {

        padding:

            10px
            12px;

        font-size: 9px;

        letter-spacing: 2px;
    }


    .login__conteudo {

        margin-top: 130px;

        padding:

            45px
            30px;
    }


    .login__titulo h1 {

        letter-spacing: 5px;
    }

}


@media (max-width: 500px) {

    .formulario__opcoes {

        flex-direction: column;

        align-items: flex-start;
    }


    .login__titulo h1 {

        font-size: 32px;
    }

}

/* =========================
   MENSAGEM DE ERRO
========================= */

.formulario__mensagem {

    padding: 12px 14px;

    border: 1px solid rgba(230, 110, 120, 0.45);

    background: rgba(120, 20, 30, 0.2);

    color: #f0b8bd;

    font-size: 11px;

    letter-spacing: 1px;

    line-height: 1.6;

    text-align: left;

    white-space: pre-line;
}


/* BOTÃO ENQUANTO ENVIA */

.login__formulario button:disabled {

    opacity: 0.5;

    cursor: wait;
}
