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

html {
    scroll-behavior: smooth;
}

:root {
    --primaria: #06b6d4;
    --secundaria: #8b5cf6; 
    --primaria-rgb: 6, 182, 212;
    --secundaria-rgb: 139, 92, 246;
    --escuro: #071224; 
    --maisEscuro: #03060a; 
    --claro: #e6f0f6;
    --vidro: rgba(255, 255, 255, 0.06);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--escuro);
    color: var(--claro);
}

@keyframes fadeInPage {
            from { opacity: 0; filter: blur(10px); }
            to { opacity: 1; filter: blur(0); }
        }

.site-wrap {
    flex: 1 0 auto;
}

.navegacao {
    position: fixed;
    top: 0;
    background: rgba(7, 18, 36, 0.8);
    width: 100%;
    z-index: 100;
    padding: 1.5rem;
}

.navegacao ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.menu-link {
    text-decoration: none;
    color: var(--claro);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.foto-perfil {
    width: 200px;
    height: 200px;
    box-shadow: 0 6px 30px rgba(var(--primaria-rgb), 0.12);
    border-radius: 50%;
    border: 4px solid var(--vidro);
    animation: flutuar 3s ease-in-out infinite;
}

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

.cabecalho-sub-titulo {
    font-size: 1.5rem;
    color: var(--claro);
}

.cabecalho-icons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.cabecalho-icons a {
    color: var(--claro);
    font-size: 26px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.cabecalho-icons a:hover {
    color: var(--primaria);
    transform: translateY(-4px);
}


.sobre {
    padding: 4rem 2rem;
}

.formacao {
    padding: 4rem 2rem;
}

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

.formacao-caixa {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.habilidades-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.formacao-item {
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--vidro);
    backdrop-filter: blur(6px);
}

.formacao-subtitulo {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--claro);
}

.formacao-texto {
    color: rgba(230, 240, 246, 0.9);
    line-height: 1.5;
    margin-bottom: 8px;
}

.formacao-descricao {
    color: rgba(230, 240, 246, 0.6);
    font-size: 0.9rem;
    margin-top: 4px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.lista-habilidades {
    list-style: none;
    padding-left: 0;
    color: rgba(230, 240, 246, 0.9);
}

.lista-habilidades li {
    margin-bottom: 8px;
}

.acordeao-item {
    margin-bottom: 1rem;
}

.acordeao-botao {
    width: 100%;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--vidro);
    border-radius: 12px;
    color: var(--claro);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.acordeao-botao:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primaria);
    color: var(--primaria);
}

.acordeao-botao i {
    transition: transform 0.3s ease;
}

.acordeao-botao.ativo i {
    transform: rotate(180deg);
}

.acordeao-conteudo {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--vidro);
    border-top: none;
    border-radius: 0 0 12px 12px;
}

.acordeao-conteudo.aberto {
    max-height: 500px;
    padding: 1.5rem;
}

.acordeao-conteudo ul {
    margin: 0;
    padding: 0;
}

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

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

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

.projetos {
    padding: 6rem 2rem;
}

.projetos-titulo {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.projeto-item:hover {
    box-shadow: 0 18px 40px rgba(var(--secundaria-rgb), 0.12);
    transform: translateY(-10px) scale(1.03);
}

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

/* Responsividade */
@media (max-width: 1024px) {
    h1 { font-size: 2.6rem; }
    .projetos-imagem { height: 260px; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .foto-perfil { width: 140px; height: 140px; }
    .cabecalho-sub-titulo { font-size: 1.1rem; }
    .projetos-imagem { height: 220px; }
    .projetos-caixa { grid-template-columns: 1fr; }
    .formacao-caixa { max-width: 94%; }
    .navegacao { padding: 1rem; }
    .menu-link { font-size: 0.95rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.6rem; }
    .foto-perfil { width: 120px; height: 120px; }
    .projetos-imagem { height: 180px; }
    .cabecalho-icons a { font-size: 22px; }
}

.projeto-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--vidro);
    overflow: hidden;
    transition: all 0.6s ease;
    cursor: pointer;
}

.projetos-imagem {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.info-projetos {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: start;
    margin-bottom: 10px;
    margin-left: 15px;
    color: var(--claro);
}

.caixa-texto-projeto {
    padding: 1.5rem 1.5rem 2rem 1.5rem;
}

.paragrafo-projetos {
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.5;
    text-align: center;
    font-size: 1rem;
}

.contatos {
    padding: 6rem 2rem;
}

.contatos-titulo {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.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;
}

.campo-form {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: var(--claro);
    border: 1px solid var(--vidro);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--claro);
    outline: none
}

.campo-form:focus {
    border-color: var(--secundaria);
    box-shadow: 0 8px 30px rgba(var(--primaria-rgb), 0.12);
}

.grupo-form {
    margin-bottom: 1.5rem;
}

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

.botao-form:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(var(--secundaria-rgb), 0.18);
}

.particulas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
    background:
        radial-gradient(circle at 10% 20%, rgba(var(--primaria-rgb),0.20) 0%, transparent 22%),
        radial-gradient(circle at 90% 80%, rgba(var(--secundaria-rgb),0.18) 0%, transparent 22%),
        var(--maisEscuro)
}

@keyframes flutuar {

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

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

.footer {
    color: #fff;
    background: rgba(7, 18, 36, 0.6);
    text-align: center;
    padding: 20px 10px;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer p {
    margin: 0;
    font-size: 14px;
}

.footer-icons {
    margin-top: 10px;
}

.footer-icons a {
    color: #aaa;
    font-size: 22px;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-icons a:hover {
    color: #fff;
    transform: translateY(-3px);
}