*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html {
    scroll-behavior: smooth;
}
:root {
    --primaria: #6e1ca8;
    --secundaria:#5b0085;
    --escura: #0b0611;
    --maisescuro:#120a1c;
    --clara: #fff;
    --vidro: #423f44;   
}
body {
    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);
    color: var(--clara);
    min-height: 100vh;
}
.particulas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
    background: radial-gradient(circle at 10% 20%, var(--primaria) 0%, transparent 25%),
                radial-gradient(circle at 90% 80%, var(--secundaria) 0%, transparent 25%),
                var(--maisescuro);
} 
.navegacao {
    position: fixed;
    top: 0;
    background: rgba(11, 6, 17, 0.1);
    width: 100%;
    z-index: 100;
    padding: 1.5rem;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}  
.nav-scrolled {
    background: rgba(11, 6, 17, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--vidro);
}
.menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 3rem;
    padding: 0;
    margin: 0;
}   
.menu-link {
    text-decoration: none;
    color: var(--clara);
    font-weight: 500;
    position: relative;
    padding: 0.5rem;
}   
.menu-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    bottom: 0;
    right: 0;
    background: linear-gradient(to right, var(--primaria), var(--secundaria));
    transition: width 0.5s ease;
}    
.menu-link:hover::after {
    width: 100%;
}
.cabecalho {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 1;
    padding-top: 80px;
}
.foto-perfil {
    width: 275px;
    height: 325px;
    border-radius: 50%;
    border: 5px solid var(--primaria);
    box-shadow: 0 0 10px rgba(139, 70, 229, 0.8);
    margin-bottom: 1rem;
    animation: fluturar 3s ease-in-out infinite;
}
h1 {
    font-size: 2.5rem;
    color: var(--primaria);
    font-weight: bold;
    margin: 20px;
    margin-bottom: 0.5rem;
}
.cabecalho-sub-titulo {
    font-size: 2rem;
    color: var(--clara);
    margin-bottom: 1rem;
}
.sobre {
    padding: 6rem 2rem;
    background: transparent;
    text-align: center;
    position: relative;
    z-index: 1;
}
.sobre-titulo {
    font-size: 3rem;
    color: var(--clara);
    margin-bottom: 20px;
    text-align: center;
}
.sobre-caixa {
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 16px;
    border: 1px solid var(--vidro);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--clara);
    backdrop-filter: blur(10px);
    background: rgba(11, 6, 17, 0.6);
}
.sobre-paragrafo {
    text-align: center;
    font-size: 1rem;
}
.projetos {
    padding: 6rem 2rem;
    background: transparent;
    text-align: center;
    position: relative;
    z-index: 1;
}
.projetos-caixa {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.projetos-titulo {
    font-size: 2.5rem;
    color: var(--clara);
    margin-bottom: 50px;
    text-align: center;
}
.projeto-card {
    background: rgba(11, 6, 17, 0.6);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--vidro);
    overflow: hidden;
    padding: 0 0 1.5rem 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.projeto-card:hover {
    box-shadow: 0 10px 20px rgba(123, 4, 235, 0.301);
    transform: translateY(-10px) scale(1.03);
}
.projeto-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}
.projeto-link:hover {
    color: inherit;
}
.projeto-imagem { 
    width: 100%; 
    height: 250px;
    object-fit: cover; 
    border-radius: 8px 8px 0 0; 
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
}
.projeto-card:hover .info-projetos,
.projeto-card:hover p {
    margin-top: 10px;
}
.projeto-card:hover .projeto-imagem {
    transform: scale(1.05);
}
.paragrafo-projeto{
    font-size: 1rem;
    color: var(--clara);
    margin: 0 1rem;
    text-align: center;
}
.info-projetos{
    margin-bottom: 5px;
}
.contatos{
    padding: 6rem 2rem;
    background: transparent;
    text-align: center;
    position: relative;
    z-index: 1;
}
.contatos-titulo{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}
.formulario-contato{
    max-width: 600px;
    margin: 0 auto;
    background: rgba(11, 6, 17, 0.6);
    backdrop-filter: blur(5px); 
    padding: 2rem;
    border: 1px solid var(--primaria);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}
.campo-form{
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--clara);
    border: 1px solid var(--vidro);
    outline: none;
    margin-bottom: 1.5rem;
}
.campo-form:focus{
    border-color: var(--secundaria);
    box-shadow: 0 0 10px rgba(123, 4, 235, 0.774);
}
.text-form{
    width: 100%;
    height: 150px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--clara);
    border: 1px solid var(--vidro);
    outline: none;
    resize: vertical;
    margin-bottom: 1.5rem;
}
.text-form:focus{
    border-color: var(--secundaria);
    box-shadow: 0 0 10px rgba(123, 4, 235, 0.774);
}
.botao-form{
    color: var(--clara);
    background: linear-gradient(45deg, var(--primaria), var(--secundaria));
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px; 
    cursor: pointer;    
    font-weight: bold;
    width: 50%;
    transition: all 0.5s ease;
    font-size: 1rem;
    box-sizing: border-box;
    margin: 0 auto;
    display: block;
}
.botao-form:hover{
    background: linear-gradient(45deg, var(--secundaria), var(--primaria));
    box-shadow: 0 0 15px rgba(123, 4, 235, 0.8);
    transform: translateY(-4px);
}
@keyframes fluturar {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }       
}
@media (max-width: 768px) {
    .projeto-imagem {
        height: 200px;
    }
    .projetos-caixa {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .menu {
        gap: 1.5rem;
    }
    .cabecalho-sub-titulo {
        font-size: 1.5rem;
    }
    h1 {
        font-size: 2rem;
    }
    .foto-perfil {
        width: 200px;
        height: 200px;
    }
    .botao-form {
        width: 70%;
    }
}
@media (max-width: 480px) {
    .projeto-imagem {
        height: 180px;
    }
    .menu {
        gap: 1rem;
        flex-wrap: wrap;
    }
    .projetos-titulo,
    .sobre-titulo,
    .contatos-titulo {
        font-size: 2rem;
    }
    .foto-perfil {
        width: 180px;
        height: 180px;
    }
    .botao-form {
        width: 80%;
    }

}
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

.g-recaptcha > div {
    margin: 0 auto;
}

@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center;
    }
    
    .g-recaptcha > div {
        transform: scale(0.9);
    }
}
