* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primaria: #4f46e6;
    --secundaria: #7c3aed;
    --escuro: #0f172a;
    --claro: #ffff;
    --vidro: rgba(255, 255, 255, 0.1);

}

body {
    background-color: var(--escuro);
    color: #ffffff;
    overflow-x: hidden;

}

.navegacao{
position:fixed;
top:0;
background:rgba(15, 23, 42, 0.8);
width:100%;
z-index:100;
padding:1.5rem;

display:flex;
justify-content:center; /* centraliza o menu */
align-items:center;
}


.projetos-card{
opacity:0;
transform:translateY(30px);
transition:0.6s;
}

.projetos-card.aparecer{
opacity:1;
transform:translateY(0);
}

.menu {
    

display:flex;
flex-direction:row;
list-style:none;
gap:30px;


}

.menu-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.menu-link::after {
    content: '';
    height: 2px;
    width: 0%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primaria), var(--secundaria));
    transition: width 0.3s ease;
}

.menu-link:hover::after {
    width: 100%;

}

.cabecalho {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;

}

.perfil-foto {
    width: 200px;
    height: 200px;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.2);
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.05);
    animation: flutuar 3s ease-in-out infinite;
}

h1 {
    font-size: 3.5rem;
    color: var(--primaria);
    font-weight: bold;
    margin: 20px;
}

.sub-titulo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 50px;
    color: white;
}

.sobre {
    padding: 6rem 2rem;
    color: aliceblue;
}



.sobre-titulo {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;

}


.sobre-caixa {
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);

}

.sobre-paragrafo {
    text-align: center;
    font-size: 1rem;
}


.projetos-titulo {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;

}

.projetos-card:hover {
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
    transform: translateY(-10px) scale(1.03);
}

.projetos-imagem {

    height: 200px;
    width: 100%;
    object-fit: cover;


}

.projetos-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur (5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;


}

.projetos-caixa {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;

}

.info-projetos {
    margin-bottom: 5px;

}

.paragrafo-projetos {
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.25rem;
}

.caixa-textos-projetos {
    padding: 1.5rem;
}


.contatos {
    text-align: center;
    padding: 6rem 2rem;
}

.contatos-descricao {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.6;
}

.botao-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
    background: linear-gradient(90deg, #25d366, #1ebe5d);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: 0.3s;
}

.botao-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}




.footer {
    margin-top: 80px;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.footer-redes {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-redes a {
    font-size: 28px;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.footer-redes a:hover {
    transform: translateY(-5px);
    background: linear-gradient(90deg, var(--primaria), var(--secundaria));
}

.footer-texto {
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.6);
}

.particulas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
    background:
        radial-gradient(circle at 10% 20%, var(--primaria) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, var(--secundaria) 0%, transparent 20%),
        var(--escuro);
}



.menu-toggle{
display:none;
font-size:1.8rem;
color:white;
cursor:pointer;
}

@keyframes flutuar {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}


/* RESPONSIVIDADE */
@media (max-width:768px){

.navegacao{
flex-direction:column;
padding:1rem;
}

.menu{
display:flex;
flex-direction:row;
list-style:none;
gap:30px;
flex-wrap:wrap;
justify-content:center;
}

h1{
font-size:2.2rem;
}

.sub-titulo{
font-size:1.2rem;
margin-right: 50px;
}

.perfil-foto{
width:150px;
height:150px;
}

.sobre{
padding:4rem 1rem;
}

.projetos-caixa{
grid-template-columns:1fr;
padding:0 20px;
}

.footer-redes{
gap:20px;
}



}


.digitando{
overflow:hidden;
border-right:3px solid white;
white-space:nowrap;
width:0;
animation:digitando 4s steps(22) forwards, piscar 0.7s infinite;
}

@keyframes digitando{
from{
width:0;
}
to{
width:22ch;
}
}

@keyframes piscar{
0%,100%{
border-color:transparent;
}
50%{
border-color:white;
}
}
