*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', 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);
}

.navegacao{
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    position: fixed;
    top: 0;
    z-index: 100;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu{
    display: flex;
    list-style: none;
    gap: 3rem;
    justify-content: center;
}


.menu-link{
    text-decoration: none;
    color: var(--claro);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.menu-link::after{
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primaria), var(--secundaria));
    transition: width 0.3s ease;
}

.menu-link:hover::after{
    width: 100%;

}

.cabecalho{
    background-color: linear-gradient(135deg, rgb(81, 45, 140),rgb(76, 56, 176));

    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.foto-perfil{
    width: 350px;
    height: 350px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border: 4px solid var(--maisEscuro);
    animation: flutuar 6s ease-in-out infinite;
}

h1{
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--claro);
    margin: 20px;
} 

.sub-titulo{
    font-size: 1.5rem;
    color: var(--claro);
}

.sobre{

    padding: 6rem 2rem;

}

.sobre-titulo{
    font-size: 3rem;
    color: var(--claro); 
    margin-bottom: 20px;
    text-align: center;
}

.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.5rem;

}

.projetos{ 
    padding: 6rem 2rem;
}

.projeto-imagem{
    height: 200px;
    width: 100%;
    object-fit: cover;

}

.projetos-titulo{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.projeto-card:hover{
    background-color: #0a0f1c;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
    transform: translateY(-10px) scale(1.02);
    transition: all 0.5s ease;
}


.projetos-caixa{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.paragrafo-projetos{
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.25rem;
}

.projeto-card{
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--vidro);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.projeto-card::after {
    content: "🎬 Ver Projeto";
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(79, 70, 229, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projeto-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.projeto-link:hover {
    transform: translateY(-5px);
}

.projeto-link:hover .projeto-card {
    background-color: #0a0f1c;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
    transform: translateY(-10px) scale(1.02);
    transition: all 0.5s ease;
}

.projeto-card:hover::after {
    opacity: 1;
}

.info-projetos{
    margin-bottom: 5px;
}

.caixa-texto-paragrafo{
    padding: 1.5rem;
}

.contato{
    padding: 6rem 2rem;
}

.formulario-contato{
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid var(--vidro);
    padding: 2rem;
    border-radius: 16px;
}

.contato-titulo{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.nome-form{
    margin-bottom: 1.5rem;

}

.grupo-form{
    margin-bottom: 1.5rem;
}

.campo-form{
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--vidro);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--claro);
    font-size: 1rem;
    border: none;
}

.campo-form:focus{
    border-color: var(--secundaria);
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.3);
}

.text-form{
    width: 100%;
    height: 150px;
    padding: 1rem;
    border: 1px solid var(--vidro);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--claro);
    font-size: 1rem;
    border:none;
}

.text-form:focus{
    border-color: var(--secundaria);
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.3);
}

.botao-form{
    background: linear-gradient(90deg, var(--primaria), var(--secundaria));
    color: var(--claro);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: all 0.5 ease;
}

.botao-form:hover{
    background: linear-gradient(90deg, var(--secundaria), var(--primaria));
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
    transition: 0.5s ease;
}

.particulas{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none; 
    overflow: hidden;
    background: var(--maisEscuro); 
}

@keyframes flutuar{
    0%, 100%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-20px);
    }
    
}

.habilidades {
    padding: 6rem 2rem;
}

.habilidades-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.habilidade-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--vidro);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 16px;
}

.habilidade-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.tag {
    padding: .4rem .8rem;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 500;
    color: #fff;
}

/* Cores por categoria */
.prog .tag       { background: #2563eb; } /* azul */
.dados .tag      { background: #16a34a; } /* verde */
.qa .tag         { background: #f97316; } /* laranja */
.ia .tag         { background: #7c3aed; } /* roxo */
.design .tag     { background: #ec4899; } /* rosa */
.video-ia .tag { background: #dc2626; } /* vermelho */

@media (max-width: 600px) {
  .particulas { opacity: 0.9; }
}

.idiomas {
    position: absolute;
    top: 18px;
    right: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.bandeira {
    width: 32px;
    height: 22px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
}

.bandeira:hover {
    transform: scale(1.15);
    border: 1px solid rgba(255,255,255,0.6);
}