* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    background-color: #030013;
    color: rgba(255, 255, 255, 0.85);
    font-family: "Poppins";
}

html {
    scroll-behavior: smooth;
}
button, .botaoPrimario, .botaoSecundario {
    font-family: "Poppins";
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    border: none;
    outline: none;
    font-size: 16px;
    opacity: .8;
    cursor: pointer;
    transition: all .3s;
    text-decoration: none;
}
button:hover, .botaoPrimario:hover, .botaoSecundario:hover {
    opacity: 1;
}
p {
    opacity: 0.8;
}
header {
    width: 100%;
    display: flex;
    padding: 1.5% 4%;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 10;

    
        ul {
        display: flex;
        gap: 20px;
        list-style-type: none;
        background-color: rgba(255, 255, 255, 0.1);
        padding: 16px 20px;
        border-radius: 12px;
        backdrop-filter: blur(20px);

        a {
            color: inherit;
            text-decoration: none;
        }
    }
}
.logotipo {
    width: 60px;
}

section {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 4%;

}
.sec1 {
    background-image: url("assets/background.png");
    background-size: cover;
    background-position: center;
    height: 100vh;
    justify-content: center;
    align-items: center;
    position: relative;

    h2 {
        font-size: 15vw;
        font-weight: 800;
        background: linear-gradient(90deg, #1d4ed8, #06b6d4, #a855f7, #1d4ed8);
        background-size: 300% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: brilhoTexto 6s linear infinite;
    }
 .conteudoPrincipal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    h1 {
        text-align: center;
        font-size: 40px;
        font-weight: 500;
    }
 }
}
.sec1::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 220px;
    background: linear-gradient(to bottom, transparent, #030013);
    pointer-events: none;
    z-index: -1;
}
@keyframes brilhoTexto {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .sec1 h2 {
        animation: none;
    }
}
.divBotoes {
    display: flex;
    gap: 20px;
    margin-top: 28px;

}
.botaoPrimario {
    background-color: rgba(255, 255, 255, 0.9);
    color: #030013;
    gap: 8px;
    padding: 16px;
}

.botaoSecundario {
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}
.tituloSecao {
    font-size: 52px;
    font-weight: 500;
}
.secao2 {
    align-items: center;
    background-image: url("assets/bg2.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}
.secao2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #030013 0%, rgba(3, 0, 19, 0.55) 220px, rgba(3, 0, 19, 0.55) 100%);
    z-index: 0;
}
.secao2 > * {
    position: relative;
    z-index: 1;
}
.secaoProjetos {
    align-items: center;
    background-image: url("assets/bg2.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}
.secaoProjetos::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(3, 0, 19, 0.55);
    z-index: 0;
}
.secaoProjetos > * {
    position: relative;
    z-index: 1;
}
.secaoContato {
    align-items: center;
    background-image: url("assets/bg2.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}
.secaoContato::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(3, 0, 19, 0.55);
    z-index: 0;
}
.secaoContato > * {
    position: relative;
    z-index: 1;
}
.divRedes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}
.linkRede {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    color: inherit;
    text-decoration: none;
    opacity: .8;
    transition: opacity .3s, background-color .3s;
    -webkit-user-drag: none;
    user-select: text;
}
.linkRede.semLink {
    cursor: text;
}
.linkRede:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.14);
}
.modalContato {
    margin: auto;
    background-image: linear-gradient(rgba(10, 6, 30, 0.92), rgba(10, 6, 30, 0.92)), url("assets/bg2.png");
    background-size: cover;
    background-position: center;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.25);

    h3 {
        font-size: 26px;
        font-weight: 500;
        margin-bottom: 20px;
        text-align: center;
    }
}
.modalContato::backdrop {
    background: rgba(3, 0, 19, 0.75);
    backdrop-filter: blur(6px);
}
.fecharModal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    opacity: .8;
    transition: opacity .3s;
}
.fecharModal:hover {
    opacity: 1;
}
.formularioContato {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;

    input,
    textarea {
        font-family: "Poppins";
        font-size: 16px;
        color: rgba(255, 255, 255, 0.9);
        background-color: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        padding: 14px 18px;
        outline: none;
        resize: none;
        transition: border-color .3s;
    }

    input:focus,
    textarea:focus {
        border-color: rgba(96, 165, 250, 0.6);
    }

    button {
        align-self: center;
        margin-top: 8px;
    }
}
#statusFormulario {
    text-align: center;
    opacity: .9;
}
@media (max-width: 768px) {
    .secao2,
    .secaoProjetos,
    .secaoContato,
    .rodape {
        background-attachment: scroll;
    }
}
.divCards {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.card {
    width: 28%;
    border-radius: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;

    img {
        width: 48px;
    }

    h3 {
        font-size: 22px;
        font-weight: 400;
    }

    p {
        white-space: pre-line;
    }
}
.branco {
    background-color: rgba(255, 255, 255, 0.356);
    border-radius: 20px;
}
.divProjetos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
    justify-content: center;
    gap: 32px;
    width: 100%;
    margin-top: 40px;
}
.cardProjeto {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 340px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .3s, background-color .3s;
}
.cardProjeto:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.14);
}
.cardProjeto img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}
.cardProjeto h3 {
    font-size: 20px;
    font-weight: 500;
    padding: 16px 20px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cardProjeto p {
    padding: 8px 20px 20px;
    font-size: 14px;
    min-height: 4.2em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rodape {
    background-image: linear-gradient(rgba(3, 0, 19, 0.8), rgba(3, 0, 19, 0.8)), url("assets/bg2.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-top: 1px solid rgba(96, 165, 250, 0.35);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    a {
        color: inherit;
        text-decoration: none;
        opacity: .8;
        transition: opacity .3s;
    }
    a:hover {
        opacity: 1;
    }
}
@media (max-width: 900px) {
    .card {
        width: 45%;
    }
}
@media (max-width: 600px) {
    header {
        padding: 3% 5%;
    }
    .sec1 h2 {
        font-size: 22vw;
    }
    .conteudoPrincipal h1 {
        font-size: 28px;
    }
    .divBotoes {
        flex-wrap: wrap;
        justify-content: center;
    }
    .tituloSecao {
        font-size: 32px;
    }
    .divCards {
        gap: 20px;
    }
    .card {
        width: 100%;
    }
}