*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;


}


html {
    scroll-behavior: smooth;
}

:root {

    --primaria: #4f46e5;
    --secundaria: #7c3aed;
    --escuro: #0f172a;
    --maisEscuro: #0a0f1c;
    --claro: #e2e8f0;
    --vidro: rgba(255, 255, 255, 0.1);

}

body {
    background-color: var(--escuro);
    color: var(--claro);
}


.menu-navegacao {

    position: fixed;
    background: rgba(15, 23, 42, 0.8);
    top: 0;
    left: 0;
    padding: 1.5rem;
    width: 100vw;
    z-index: 10;

}


.menu {
    display: flex;
    justify-content: center;    
    gap: 3rem;
}

.menu-link {

    color: var(--claro);    
    font-weight: 600;
    font-size: 1.3rem;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    
    
}

.menu-link::after {
    content: '';
   position:absolute;
   bottom: 0;
   left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primaria), var(--secundaria));
    transition: width 0.5s ease;

}

.menu-link:hover::after {
    width: 100%;
    
}

.conteudo {

    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}


.foto-conteudo {

    width: 300px;
    height: 300px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.7);
    border: 4px solid var(--vidro);
    animation: flutuar 4s ease-in-out infinite;
}

h1 {
    font-size: 3.5rem;
    color: var(--primaria);
    font-weight: bold;
    margin: 20px;

}

.paragrafo-conteudo {
    font-size: 1.5rem;
    color: var(--claro);
    
}


.sobre {

    padding: 6rem 2rem;
    text-align: center;
}

.titulo{

    font-size: 3rem;
    color: var(--claro);
    text-align: center;
    position: relative; 
    display: inline-block; 
    padding-bottom: 10px;
    margin-bottom: 80px;
    

}

.titulo::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%; /* Começa do meio */
    width: 0; /* Começa invisível */
    height: 2px;
    background: linear-gradient(90deg, var(--primaria), var(--secundaria));
    transition: width 0.5s ease-in-out, left 0.5s ease-in-out;
    
    animation: bordaAnimada 3s infinite linear;

}

.titulo:hover::after {
    width: 100%;
    left: 0;
    
}



.sobre-caixa {

    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    border: 1px solid var(--vidro);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);


}

.sobre-paragrafo {

    text-align: center;
    font-size: 1.2rem;

}



.projetos {

    padding: 6rem 2rem;
    text-align: center;

}


.projetos-caixa {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;

}


.projetos-card {

    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid var(--secundaria);
    backdrop-filter: blur(5px);
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: pointer;


}


.projetos-card:hover {

    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    transform: translateY(-10px) scale(1.05);

}

.projetos-imagem {

    
    height: 200px;
    width: 100%;
    object-fit: cover;

    

}


.video  {

   
    display: none;    
    height: 200px;
    width: 100%;
    object-fit: cover;
    
      
    
}

.caixa-texto-projetos {
    padding: 1.5rem;


}

.projetos-nome {

    margin-bottom: 5px;
   

}



.projetos-paragrafo {

    color: rgba(226, 232, 240, 0.8);
    line-height: 1.25rem;
    padding-top: 8px;

}

.contato {

    padding: 6rem 2rem;

    text-align: center;

}



.formulario-contato {

    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border: 1px solid var(--vidro);
    border-radius: 16px;

}

.form-caixa {

    margin-bottom: 1.5rem;


}




.campo-formulario {

    width: 100%;
    padding: 1rem;
    border: 1px solid var(--vidro);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--claro);
    outline: none;
    transition: border-color 0.3s ease;

}


.campo-formulario:focus {

    border-color: var(--secundaria);
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.3);
}


.botao-formulario {

    background: linear-gradient(45deg, var(--primaria), var(--secundaria));
    color: var(--claro);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: all 0.5s ease;

}

.botao-formulario:hover {

    transform: translateY(-4px);
    box-shadow: 0 10 20px rgba(79, 70, 229, 0.4);
}






.projetosBack {

    padding: 6rem 2rem;
    text-align: center;

}


.projetosBack-caixa {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;

}


.projetosBack-card {

    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid var(--secundaria);
    backdrop-filter: blur(5px);
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: pointer;

    img {

        width: 100%;
        height: 400px;
    }

    video {

        width: 550px;
        height: 350px;
        padding: 20px;
    }

}


.projetosBack-card:hover {

    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    transform: translateY(-10px) scale(1.05);

}






.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(--maisEscuro);
    
}


@keyframes flutuar {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
    
}

@keyframes bordaAnimada {
    0%, 100% { width: 0; left: 50%; }
    50% { width: 100%; left: 0; }
}




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

    .foto-conteudo {
        width: 250px;
        height: 250px;
        border-radius: 50%;
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.7);
        border: 4px solid var(--vidro);
        animation: flutuar 4sease-in-out infinite;
        margin-bottom: 20px;
    }


    .menu {
        
        display: flex    ;
        justify-content: center;
        gap: 1rem;
    }

    .menu-link {

        
        font-size: 1rem;
    
    }


    h1 {
        font-size: 2.5rem;
        color: var(--primaria);
        font-weight: bold;
        text-align: center;
        margin: 20px;
        padding-bottom: 30px;
    }

    .titulo {
        font-size: 2rem;
        color: var(--claro);
        text-align: center;
        margin-bottom: 60px;
    }

    .sobre-paragrafo {
        text-align: center;
        font-size: 1rem;
    }

   

    .projetos-caixa, .projetosBack-caixa {
        display: grid
    ;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }


.projetosBack-caixa video {

    width: 350px;
    height: 300px;
    padding: 8px;

}

.projetosBack-caixa img {


    width: 100%;
    height: 300px;
    padding: 2px;
}

   
    
    .sobre {

        padding: 1rem;
        
        
    }

    .video {

        padding-left: 8px;
        padding-right: 5px;
    }
}