/* =========================================
   RESET
========================================= */

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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    background: #1d1d1d;
    color: #ffffff;
}


/* =========================================
   HOME
========================================= */

.capa {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 0;
    overflow: hidden;
}


/* =========================================
   IMAGEM DE FUNDO
========================================= */

.imagem-fundo {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;
}


/* =========================================
   SOBREPOSIÇÃO
========================================= */

.sobreposicao-capa {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.48) 0%,
            rgba(0, 0, 0, 0.18) 55%,
            rgba(0, 0, 0, 0.38) 100%
        );

    z-index: 1;
}


/* =========================================
   CABEÇALHO
========================================= */

.cabecalho-capa {
    position: relative;
    z-index: 3;

    width: 100%;
    height: 82px;

    padding: 0 55px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================
   LOGO
========================================= */

.logo-capa {
    position: absolute;

    top: 50%;
    right: 9%;

    transform: translateY(20%);

    display: flex;
    align-items: center;

    text-decoration: none;

    z-index: 4;
}

.logo-capa img {
    width: 360px;
    height: auto;

    display: block;
}


/* =========================================
   NAVEGAÇÃO
========================================= */

.navegacao-capa {
    display: flex;
    align-items: center;

    gap: 38px;
}

.navegacao-capa a {
    position: relative;

    color: #ffffff;

    text-decoration: none;

    font-size: 10px;
    font-weight: 500;

    letter-spacing: 1.8px;

    transition: opacity 0.25s ease;
}

.navegacao-capa a:hover {
    opacity: 0.65;
}


/* LINK ATIVO */

.navegacao-capa .navegacao-ativa::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -8px;

    height: 1px;

    background: #ffffff;
}


/* =========================================
   CONTEÚDO PRINCIPAL
========================================= */

.conteudo-capa {
    position: relative;
    z-index: 2;

    width: 100%;
    height: calc(100vh - 82px);

    padding: 20px 8% 40px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: flex-start;

    text-align: left;

    transform: translateY(-5%);
}


/* =========================================
   TÍTULO
========================================= */

.titulo-capa {
    max-width: 650px;
}

.subtitulo-capa {
    display: block;

    margin-bottom: 15px;

    font-size: 11px;
    font-weight: 500;

    letter-spacing: 4px;
}

.titulo-capa h1 {
    font-size: clamp(40px, 4.3vw, 62px);

    font-weight: 300;

    line-height: 1.12;

    letter-spacing: 0.5px;
}

.titulo-capa p {
    margin-top: 18px;

    font-size: 14px;
    font-weight: 300;

    line-height: 1.5;

    letter-spacing: 0.5px;

    color: rgba(255, 255, 255, 0.88);
}


/* =========================================
   ACESSOS
========================================= */

.acessos-capa {
    display: grid;

    grid-template-columns: repeat(2, 280px);

    gap: 14px;

    margin-top: 30px;
}


/* =========================================
   CARD DE ACESSO
========================================= */

.acesso-capa {
    min-height: 155px;
    padding: 25px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: #ffffff;

    background: rgba(20, 20, 20, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.35);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.acesso-capa:hover {
    background: rgba(20, 20, 20, 0.58);
    border-color: rgba(255, 255, 255, 0.75);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}


/* =========================================
   TÍTULO DO ACESSO
========================================= */

.acesso-titulo {
    display: block;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 2px;
}


/* =========================================
   DESCRIÇÃO
========================================= */

.acesso-descricao {
    display: block;

    margin-top: 10px;

    max-width: 215px;

    font-size: 11px;
    font-weight: 300;

    line-height: 1.6;

    color: rgba(255, 255, 255, 0.78);
}


/* =========================================
   LINK DO ACESSO
========================================= */

.acesso-link {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 18px;

    font-size: 9px;
    font-weight: 500;

    letter-spacing: 1.5px;
}

.acesso-link span {
    font-size: 18px;
    font-weight: 300;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.acesso-capa:hover .acesso-link span {
    transform: translateX(7px);
    opacity: 0.85;
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {

    .cabecalho-capa {
        padding: 0 30px;
    }

    .conteudo-capa {
        padding-left: 7%;
        padding-right: 7%;
    }

    .acessos-capa {
        grid-template-columns: repeat(2, 250px);
    }

    .indicador-scroll {
        right: 30px;
    }
}


/* =========================================
   CELULAR
========================================= */

@media screen and (max-width: 700px) {
    
    .cabecalho-capa {
        height: 70px;
        padding: 0 20px;
    }

    .logo-capa {
        position: relative;

        top: auto;
        right: auto;

        transform: none;
    }

    .logo-capa img {
        width: 65px;
    }

    .conteudo-capa {
        height: calc(100vh - 70px);
        padding: 35px 20px 80px;
        justify-content: center;
        transform: none;
    }

    .navegacao-capa {
        gap: 16px;
    }

    .navegacao-capa a {
        font-size: 8px;
        letter-spacing: 1.2px;
    }

    .navegacao-capa a:nth-child(3) {
        display: none;
    }

    .conteudo-capa {
        height: calc(100vh - 70px);

        padding: 35px 20px 80px;

        justify-content: center;

        text-align: left;
    }

    .subtitulo-capa {
        font-size: 9px;
        letter-spacing: 3px;

        margin-bottom: 12px;
    }

    .titulo-capa h1 {
        font-size: 38px;
        line-height: 1.15;
    }

    .titulo-capa p {
        font-size: 12px;
        margin-top: 14px;
    }

    .acessos-capa {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 10px;

        margin-top: 30px;
    }

    .acesso-capa {
        width: 100%;
        min-height: 125px;

        padding: 20px;
    }

    .acesso-descricao {
        margin-top: 7px;
    }

    .acesso-link {
        margin-top: 12px;
    }

}