
@font-face {
    font-family: "fonte2";
    src: url("../fonte/fontePrincipal2.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "fonte5";
    src: url("../fonte/fontePrincipal5.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "fonte4";
    src: url("../fonte/fontePrincipal4.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "fonte6";
    src: url("../fonte/fontePrincipal6.ttf") format("truetype");
    font-weight: 500;
}

:root {
    --azul-fundo: #030712;
    --azul-superficie: #0F172A;
    --azul-escuro: #1D4ED8;
    --azul-principal: #2563EB;
    --azul-neon: #00A6FF;
    --azul-claro: #93C5FD;
    --texto-principal: #F8FAFC;
    --texto-secundario: #CBD5E1;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

h1 {
    font-family: "fonte6";
}

h2 {
    font-family: "fonte5";
    font-size: 60px;
}

body {
    background-color: var(--azul-fundo);
    color: var(--texto-principal);
    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: var(--texto-principal);
    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: var(--azul-fundo);
        padding: 16px 20px;
        border-radius: 12px;
        backdrop-filter: blur(20px);
    }
}

.logoTipo {
    width: 60px;
}

.kode2 {
    color: var(--azul-neon);
}

.kode3 {
    color: #2563EB;
}

section {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 4%;
}

.secao1 {
    position: relative;
    isolation: isolate;
    background-image: url("../img/fundo1.webp");
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    justify-content: center;
    align-items: center;

    h1 {
        position: relative;
        z-index: 1;
        font-size: 10vw;
        color: var(--azul-neon);
        opacity: .85;
        background-image: linear-gradient(
            90deg,
            #1D4ED8,
            #00A6FF,
            #2563EB,
            #00A6FF,
            #1D4ED8
        );
        background-size: 300% 100%;
        background-position: 0% 50%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        animation: aquaTexto 7s ease-in-out infinite;
    }

    p {
        position: relative;
        z-index: 1;
        text-align: center;
    }
}

@keyframes aquaTexto {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.kode {
    color: var(--azul-claro);
}

.secao1::before,
.secao2::before,
.secao3::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 180px;
    background: linear-gradient(
        to bottom,
        var(--azul-fundo),
        transparent
    );
    z-index: 0;
    pointer-events: none;
}

.secao1::after,
.secao2::after,
.secao3::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--azul-fundo)
    );
    z-index: 0;
    pointer-events: none;
}

.conteudoPrincipal {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    .divBotoes {
        display: flex;
        gap: 20px;
        margin-top: 28px;
        opacity: 1;
        z-index: 2;
    }
}

.botaoPrimario {
    background-color: var(--azul-claro);
    gap: 12px;
    padding: 6px 6px 6px 20px;

    a {
        font-family: "fonte2";
        color: #030712;
        opacity: 1;
    }

    img {
        width: 44px;
    }

    &:hover {
        opacity: 1;
    }
}

.botaoSecundario {
    padding: 16px;
    background-color: var(--azul-claro);
    color: #030712;

    &:hover {
        opacity: 1;
    }
}

.tituloSecao {
    position: relative;
    z-index: 1;
    font-size: 60px;
    font-weight: 500;
}

.secao2 {
    position: relative;
    isolation: isolate;
    align-items: center;
    background-image: url("../img/fundo3.svg");
    background-size: cover;
    background-position: center;
    min-height: 100vh;

    p {
        position: relative;
        z-index: 1;
        opacity: 1;
        text-align: justify;
    }

    .centro {
        text-align: center;
    }
}

.secao3 {
    position: relative;
    isolation: isolate;
    background-image: url("../img/fundo3.svg");
    background-size: cover;
    background-position: center;
    min-height: 110vh;

    p {
        position: relative;
        z-index: 1;
        opacity: 1;
    }

    .tituloSecao {
        text-align: center;
    }

    .subTitulo {
        text-align: justify;
        font-size: 16px;
        padding: 10px;
    }

    ul {
        position: relative;
        padding: 5px;
        z-index: 1;
        text-align: justify;
    }

    .centro {
        text-align: center;
    }
}

.secaoFinal {
    text-align: center;
    align-items: center;
    position: relative;
    padding: 30px 0;
    z-index: 2;

    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: nones;
    }

    p {
        margin: 5px 0 0;
    }
}

.menuLateral {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    padding: 100px 40px 40px;
    background: rgb(3, 0, 19, .95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, .1);
    z-index: 200;
    transition: right .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: var(--azul-neon);
            }
        }
    }
}

.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;
    }
}

.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);
}


/* ===== TELAS MUITO GRANDES: MONITORES ULTRAWIDE ===== */

@media (min-width: 1600px) {
    header {
        padding: 40px 8%;
    }

    section {
        padding: 60px 8%;
    }

    .secao1 h1 {
        font-size: clamp(100px, 8vw, 150px);
    }

    .secao1 p {
        font-size: 22px;
        max-width: 1000px;
    }

    h2,
    .tituloSecao {
        font-size: 64px;
    }

    .secao2 > p,
    .secao3 > p,
    .secao3 ul {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== NOTEBOOKS E TELAS MÉDIAS GRANDES ===== */

@media (max-width: 1200px) {
    header {
        padding: 30px 4%;
    }

    .secao1 h1 {
        font-size: clamp(64px, 9vw, 110px);
        text-align: center;
    }

    h2,
    .tituloSecao {
        font-size: clamp(38px, 5vw, 54px);
    }

    p {
        font-size: 17px;
    }

    .secao2,
    .secao3 {
        padding: 60px 5%;
    }

    .menuLateral {
        width: min(380px, 85vw);
    }
}

/* ===== TABLETS E NOTEBOOKS PEQUENOS ===== */

@media (max-width: 992px) {
    header {
        padding: 24px 4%;
    }

    header ul {
        gap: 14px;
        padding: 14px;
    }

    header ul a {
        font-size: 15px;
    }

    .logoTipo {
        width: 52px;
    }

    .secao1 {
        min-height: 100svh;
        padding: 100px 5% 80px;
    }

    .secao1 h1 {
        font-size: clamp(55px, 10vw, 90px);
        overflow-wrap: anywhere;
    }

    .secao1 p {
        max-width: 700px;
        font-size: 17px;
        line-height: 1.7;
    }

    .conteudoPrincipal {
        width: 100%;
    }

    .conteudoPrincipal .divBotoes {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .secao2,
    .secao3 {
        min-height: auto;
        padding: 70px 5%;
        gap: 24px;
    }

    h2,
    .tituloSecao {
        font-size: clamp(36px, 6vw, 50px);
        line-height: 1.2;
    }

    .secao2 p,
    .secao3 p {
        font-size: 17px;
        line-height: 1.8;
    }

    .secao3 .subTitulo {
        font-size: 16px;
        line-height: 1.7;
        padding: 8px 0;
    }

    .secao3 ul {
        padding-left: 24px;
        line-height: 1.8;
    }

    .secaoFinal footer {
        flex-wrap: wrap;
        gap: 24px;
    }
}

/* ===== CELULARES E TELAS MENORES ===== */

@media (max-width: 768px) {
    header {
        padding: 20px 5%;
    }

    header ul {
        gap: 10px;
        padding: 12px;
    }

    header ul a {
        font-size: 14px;
    }

    .logoTipo {
        width: 45px;
    }

    .secao1 {
        min-height: 100svh;
        padding: 110px 6% 90px;
    }

    .secao1 h1 {
        font-size: clamp(42px, 11vw, 72px);
        line-height: 1.1;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .secao1 p {
        font-size: 16px;
        line-height: 1.7;
        max-width: 560px;
    }

    .conteudoPrincipal .divBotoes {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .botaoPrimario,
    .botaoSecundario {
        max-width: 100%;
        min-height: 48px;
        font-size: 15px;
    }

    .botaoPrimario img {
        width: 36px;
    }

    .secao2,
    .secao3 {
        padding: 60px 6%;
        gap: 20px;
    }

    h2,
    .tituloSecao {
        font-size: clamp(32px, 7vw, 44px);
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .secao2 p,
    .secao3 p {
        font-size: 16px;
        line-height: 1.8;
        overflow-wrap: break-word;
    }

    .secao2 p {
        text-align: left;
    }

    .secao3 .subTitulo {
        font-size: 15px;
        line-height: 1.8;
        padding: 8px 0;
        text-align: left;
    }

    .secao3 ul {
        padding-left: 22px;
        font-size: 15px;
        line-height: 1.8;
        overflow-wrap: break-word;
    }

    .menuLateral {
        right: -100%;
        width: min(360px, 88vw);
        height: 100vh;
        height: 100dvh;
        padding: 90px 28px 30px;
        overflow-y: auto;
    }

    .menuLateral h2 {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .menuLateral nav {
        gap: 22px;
    }

    .menuLateral nav a {
        font-size: 18px;
    }

    .fecharMenu {
        top: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    .secaoFinal {
        padding: 30px 6%;
        gap: 18px;
    }

    .secaoFinal footer {
        gap: 22px;
    }

    .secaoFinal img {
        width: 34px;
        height: 34px;
    }

    .secaoFinal p {
        font-size: 14px;
        line-height: 1.6;
    }

    .secaoFinal a {
        overflow-wrap: anywhere;
    }

    .secao1::before,
    .secao2::before,
    .secao3::before,
    .secao1::after,
    .secao2::after,
    .secao3::after {
        height: 120px;
    }
}

/* ===== CELULARES PEQUENOS ===== */

@media (max-width: 480px) {
    header {
        padding: 16px 5%;
    }

    header ul {
        gap: 8px;
        padding: 10px;
        border-radius: 10px;
    }

    header ul a {
        font-size: 12px;
    }

    .logoTipo {
        width: 38px;
    }

    .secao1 {
        padding: 100px 5% 75px;
    }

    .secao1 h1 {
        font-size: clamp(36px, 10.5vw, 50px);
        letter-spacing: -1px;
    }

    .secao1 p {
        font-size: 14px;
    }

    .botaoPrimario {
        padding: 6px 6px 6px 14px;
        gap: 8px;
    }

    .botaoPrimario img {
        width: 32px;
    }

    .botaoPrimario,
    .botaoSecundario {
        font-size: 14px;
    }

    .botaoSecundario {
        padding: 14px;
    }

    .secao2,
    .secao3 {
        padding: 50px 5%;
    }

    h2,
    .tituloSecao {
        font-size: clamp(28px, 8vw, 36px);
    }

    .secao2 p,
    .secao3 p {
        font-size: 15px;
        line-height: 1.75;
    }

    .secao3 .subTitulo,
    .secao3 ul {
        font-size: 14px;
    }

    .menuLateral {
        width: 88vw;
        padding: 85px 24px 25px;
    }

    .menuLateral h2 {
        font-size: 27px;
    }

    .menuLateral nav a {
        font-size: 17px;
    }

    .secaoFinal footer {
        gap: 18px;
    }
}

/* ===== CELULARES MUITO ESTREITOS ===== */

@media (max-width: 360px) {
    header {
        padding: 14px 4%;
    }

    header ul {
        gap: 6px;
        padding: 8px;
    }

    header ul a {
        font-size: 11px;
    }

    .logoTipo {
        width: 32px;
    }

    .secao1 h1 {
        font-size: 34px;
    }

    .secao1 p {
        font-size: 13px;
    }

    h2,
    .tituloSecao {
        font-size: 27px;
    }

    .secao2 p,
    .secao3 p {
        font-size: 14px;
    }

    .botaoPrimario,
    .botaoSecundario {
        font-size: 13px;
    }
}


