@font-face {
    font-family: "fonteTitulo";
    src: url("../fonte/fontePrincipal.ttf") format("opentype");
    font-weight: 500;

}

@font-face {
    font-family: "fonte2";
    src: url("../fonte/fontePrincipal2.ttf") format("opentype");
    font-weight: 500;

}
@font-face {
    font-family: "fonte3";
    src: url("../fonte/fontePrincipal3.ttf") format("opentype");
    font-weight: 500;

}
@font-face {
    font-family: "fonte4";
    src: url("../fonte/fontePrincipal4.ttf") format("opentype");
    font-weight: 500;

}
@font-face {
    font-family: "fonte5";
    src: url("../fonte/fontePrincipal5.ttf") format("opentype");
    font-weight: 500;

}
@font-face {
    font-family: "fonte6";
    src: url("../fonte/fontePrincipal6.ttf") format("opentype");
    font-weight: 500;

}

html {
    scroll-behavior: smooth;
}

h1 {
    font-family: "fonteTitulo";
}

h2, h3 {
    font-family: "fonte5";
    font-size: 60px;
}

.carrosel, .carrosel1 {
    position: relative;
    width: 100%;
    height: 650px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;

    h3 {
        font-size: 28px;
        font-weight: 500;
        margin-bottom: 30px;
        z-index: 5;
    }
}

.setaEsquerda, .setaDireita {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 65px;
    height: 65px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(3,0, 19, .85);
    color: white;
    font-size: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: .3s;
}

.setaEsquerda {
    left: 25px;
}
.setaDireita {
    right: 25px;
}

.setaDireita:hover, .setaEsquerda:hover {
    background: rgba(165, 94, 255, .25);
    border-color: orange;
    transform: translateY(-50%) scale(1.1);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: orange;
    color: rgba(255, 255, 255, .9);
    font-family: "fonte2";
}

button {
    font-family: "fonte2";
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    border: none;
    outline: none;
    font-size: 16px;
    cursor: pointer;
    opacity: .8;
    transition: all .3s;
}

p {
    font-family: "fonte4";
    font-size: 1.2vw;
    opacity: .7;
}

a {
    color: white;
    opacity: .7;
    transition: all .3s;
    text-decoration: none;
    &:hover {
        opacity: 1;
    }
}

header {
    width: 100%;
    display: flex;
    padding: 4%;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 99;

    ul {
        display: flex;
        gap: 20px;
        list-style-type: none;
        background-color: rgb(255, 255, 255, 0.1);
        padding: 16px 20px;
        border-radius: 12px;
        backdrop-filter: blur(20px);
    }
}

.logoTipo {
    width: 60px;
}

section {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 4%;
}

.secao1 {
    background-image: url("../img/fundo1v2.webp");
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    height: 100vh;
    justify-content: center;
    align-items: center;

    h1 {
        font-size: 10vw;
        color: #FF5C00;
        opacity: .85;
        background-image: linear-gradient(90deg, #FF5C00, #FF0055, #FFB000, #FF0055, #FF5C00);
        background-size: 300% 100%;
        background-position: 0% 50%;

        -webkit-background-clip: text;
            background-clip: text;
        
        -webkit-text-fill-color: transparent;
            color: transparent;

        animation: lavaTexto 7s ease-in-out infinite;
    }
    p {
        color: #FF5C00;
        opacity: .85;
        background-image: linear-gradient(90deg, #FF5C00, #FF0055, #FFB000, #FF0055, #FF5C00);
        background-size: 300% 100%;
        background-position: 0% 50%;

        -webkit-background-clip: text;
            background-clip: text;
        
        -webkit-text-fill-color: transparent;
            color: transparent;

        animation: lavaTexto 7s ease-in-out infinite;
    }
}

@keyframes lavaTexto {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.kode {
    color: #f7342b;
}

.secao1::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(
        to bottom,
        transparent,
        #020113
    );
    z-index: 0;
}

.conteudoPrincipal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    .divBotoes {
        display: flex;
        gap: 20px;
        margin-top: 28px;
        opacity: 1;
    }
}

.botaoPrimario {
    background-color: rgb(255, 255, 255, 0.9);
    gap: 12px;
    padding: 6px 6px 6px 20px;

    a {
        font-family: "fonte2";
        color: #000000;
    }

    img {
        width: 44px;
    }

    &:hover {
        transition: .3s;
        opacity: 1;
    }
}

.botaoSecundario {
    padding: 16px;
    background-color: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .9);
    &:hover {
        transition: .3s;
        opacity: 1;
    }
}

.tituloSecao {
    z-index: 2;
    font-weight: 60px;
    font-weight: 500;
}

.secao2 {
    align-items: center;
    background-image: url("../img/fundo2.webp");
    position: relative;
    background-size: cover;
    background-position: center;
    height: 120vh;

    p {
        z-index: 1;
        opacity: 1;
        text-align: justify;
    }

    .centro {
        text-align: center;
    }
}

.secao2::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(
        to bottom,
        transparent,
        #020113
    );
    z-index: 0;
}

.secao2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(
        to bottom,
        #020113,
        transparent
    );
    z-index: 0;
}

.secao3 {
    align-items: center;
    background-image: url("../img/fundo3.webp");
    position: relative;
    background-size: cover;
    background-position: center;
    height: 375vh;
    
    p {
        opacity: 1;
        z-index: 2;
    }

    .texto {
        color: #ffc30b;
    }

    .divImagens {
        display: flex;
        align-items: center;
        gap: 30px;
        position: absolute;
        left: 50%;
        top: 55%;
        transition: transform 0.6s ease;

        a {
            flex-shrink: 0;
            opacity: 0.35;
            filter: grayscale(100%);
            transition: opacity 0.6s ease, filter 0.6s ease;
        }

        img {
            display: block;
            width: 323px;
            height: 530px;
            object-fit: contain;
            border-radius: 20px;
        }

        a.ativa {
            opacity: 1;
            filter: grayscale(0%);
        }
    }
}

.secao3::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(
        to bottom,
        transparent,
        #020113
    );
    z-index: 2;
}

.secao3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(
        to bottom,
        #020113,
        transparent
    );
    z-index: 2;
}

.secaoFinal {
    background-color: #020113;
    text-align: center;
    align-items: center;
    position: relative;
    padding: 30px 0;

    img {
        height: 40px;
        width: 40px;
    }

    footer {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    a {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
    }

    p {
        margin: 5px 0 0;
    }
}

.secaoFinal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        #020113,
        transparent
    );
    z-index: 0;
}

.menuLateral {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    padding: 100px 40px 40px;
    background: rgb(3, 0, 19, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 200;
    transition: right 0.4s ease;

    h2 {
        font-size: 35px;
        margin-bottom: 40px;
    }

    nav {
        display: flex;
        flex-direction: column;
        gap: 25px;

        a{
            font-size: 20px;
            color: white;
            opacity: .7;

            &:hover {
                opacity: 1;
                color: #FF5C00;
            }
        }
    }
}

.menuLateral.aberto {
    right: 0;

    .animarMenu {
        opacity: 1;
        transform: translateX(0);
    }
    
    .animarMenu:nth-child(1) {
        transition-delay: .2s;
    }
    .animarMenu:nth-child(2) {
        transition-delay: .3s;
    }
    .animarMenu:nth-child(3) {
        transition-delay: .4s;
    }
    .animarMenu:nth-child(4) {
        transition-delay: .5s;
    }
    .animarMenu:nth-child(5) {
        transition-delay: .6s;
    }
    .animarMenu:nth-child(6) {
        transition-delay: .7s;
    }
    .animarMenu:nth-child(7) {
        transition-delay: .8s;
    }
    .animarMenu:nth-child(8) {
        transition-delay: .9s;
    }
}

.fecharMenu {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.fundoMenu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 150;
    transition: .4s;
}

.fundoMenu.aberto {
    opacity: 1;
    visibility: visible;
}

.animar {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animarEsquerda {
    opacity: 0;
    transform: translateX(-80px);
    transition: .8s ease;
}

.animarDireita {
    opacity: 0;
    transform: translateX(80px);
    transition: .8s ease;
}

.animarCima {
    opacity: 0;
    transform: translateY(80px);
    transition: .8s ease;
}

.animarMenu {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity .5s ease, transform .5s ease;
}

.animar.visivel, .animarEsquerda.visivel,
.animarDireita.visivel, .animarCima.visivel {
    opacity: 1;
    transform: translateY(0);
}


@media (min-width: 1600px) {

    .carrosel,
    .carrosel1 {
        height: 650px;
    }

    .divImagens {
        gap: 30px;

        img {
            width: 323px;
            height: 530px;
            object-fit: contain;
        }
    }

    .setaEsquerda {
        left: 50px;
    }

    .setaDireita {
        right: 50px;
    }
}


@media (min-width: 1025px) and (max-width: 1599px) {

    .carrosel,
    .carrosel1 {
        height: 620px;
    }

    .divImagens {
        gap: 25px;

        img {
            width: 300px;
            height: 500px;
            object-fit: contain;
        }
    }

    .setaEsquerda {
        left: 20px;
    }

    .setaDireita {
        right: 20px;
    }
}


@media (min-width: 601px) and (max-width: 1024px) {

    .carrosel,
    .carrosel1 {
        width: 100%;
        height: 600px;
        margin-top: 30px;

        h3 {
            font-size: 26px;
            margin-bottom: 25px;
        }
    }

    p {
        font-size: 18px;
    }

    .divImagens {
        gap: 20px;

        img {
            width: 280px;
            height: 460px;
            object-fit: contain;
        }
    }

    .setaEsquerda,
    .setaDireita {
        width: 55px;
        height: 55px;
        font-size: 35px;
    }

    .setaEsquerda {
        left: 15px;
    }

    .setaDireita {
        right: 15px;
    }
}


@media (max-width: 600px) {

    .carrosel,
    .carrosel1 {
        width: 100%;
        height: 570px;
        margin-top: 25px;

        h3 {
            font-size: 22px;
            margin-bottom: 20px;
            text-align: center;
        }
    }

    p {
        font-size: 17px;
        line-height: 1.5;
    }

    .divImagens {
        gap: 15px !important;

        img {
            width: 240px !important;
            height: 390px !important;
            object-fit: contain !important;
        }
    }

    .setaEsquerda,
    .setaDireita {
        width: 48px;
        height: 48px;
        font-size: 30px;
    }

    .setaEsquerda {
        left: 8px;
    }

    .setaDireita {
        right: 8px;
    }
}


@media (max-width: 400px) {

    .carrosel,
    .carrosel1 {
        height: 530px;

        h3 {
            font-size: 20px;
            margin-bottom: 15px;
        }
    }

    p {
        font-size: 16px;
        line-height: 1.5;
    }

    .divImagens {
        gap: 10px !important;

        img {
            width: 200px !important;
            height: 325px !important;
            object-fit: contain !important;
        }
    }

    .setaEsquerda,
    .setaDireita {
        width: 42px;
        height: 42px;
        font-size: 25px;
    }

    .setaEsquerda {
        left: 5px;
    }

    .setaDireita {
        right: 5px;
    }
}


/* ============================= */
/* CORREÇÕES PARA TEXTOS NO CELULAR */
/* ============================= */

@media (max-width: 600px) {

    h1,
    h2,
    h3 {
        max-width: 100%;
        overflow-wrap: break-word;
        line-height: 1.2;
    }

    h2,
    h3 {
        font-size: 26px;
    }

    p {
        font-size: 16px;
        line-height: 1.7;
        overflow-wrap: break-word;
        word-break: normal;
    }

    header {
        padding: 15px;
        gap: 10px;
        align-items: center;

        nav {
            flex: 1;
            min-width: 0;
        }

        ul {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
            padding: 10px;
        }

        a {
            font-size: 12px;
            white-space: normal;
        }
    }

    .logoTipo {
        width: 40px;
        flex-shrink: 0;
    }

    .secao1 {
        h1 {
            width: 100%;
            font-size: clamp(38px, 13vw, 76px);
            line-height: 1.1;
            text-align: center;
            overflow-wrap: normal;
        }
    }

    .secao2 {
        height: auto;
        min-height: 100vh;
        padding: 100px 20px 80px;
        gap: 25px;

        .tituloSecao {
            font-size: 30px;
            line-height: 1.2;
            text-align: center;
        }

        p {
            width: 100%;
            max-width: 100%;
            font-size: 16px;
            line-height: 1.7;
            text-align: left;
        }

        .centro {
            text-align: center;
        }
    }

    .secao3 {
        height: auto;
        min-height: 0;
        padding: 80px 10px;

        > .tituloSecao {
            font-size: 30px;
            line-height: 1.2;
            text-align: center;
        }
    }

    .carrosel,
    .carrosel1 {
        flex-shrink: 0;
        min-width: 0;
        height: 530px;
        margin-top: 25px;

        h3 {
            width: 100%;
            padding: 0 55px;
            font-size: 20px;
            line-height: 1.3;
            text-align: center;
            overflow-wrap: break-word;
        }
    }

    .secaoFinal {
        footer {
            flex-wrap: wrap;
            gap: 20px;
        }

        p {
            font-size: 14px;
            line-height: 1.4;
        }
    }

    .menuLateral {
        max-width: 90%;
        padding: 80px 25px 25px;

        h2 {
            font-size: 28px;
            line-height: 1.2;
        }

        nav a {
            font-size: 18px;
            line-height: 1.4;
        }
    }
}


/* ============================= */
/* CELULARES PEQUENOS */
/* ============================= */

@media (max-width: 400px) {

    header {
        padding: 12px 10px;
        gap: 6px;

        ul {
            gap: 6px;
            padding: 8px;
        }

        a {
            font-size: 11px;
        }
    }

    .logoTipo {
        width: 34px;
    }

    .secao1 {
        h1 {
            font-size: clamp(34px, 12vw, 48px);
        }
    }

    .secao2 {
        padding: 90px 16px 65px;

        .tituloSecao {
            font-size: 27px;
        }

        p {
            font-size: 15px;
            line-height: 1.65;
        }
    }

    .secao3 {
        padding: 70px 8px;

        > .tituloSecao {
            font-size: 27px;
        }
    }

    .carrosel,
    .carrosel1 {
        height: 480px;

        h3 {
            padding: 0 45px;
            font-size: 18px;
            line-height: 1.3;
        }
    }

    .secaoFinal {
        footer {
            gap: 15px;
        }

        p {
            font-size: 12px;
        }
    }
}
