/* GLOBAL DO CSS PARA PADRONIZAR */

:root {
    --bg: #000;
    --text: #fff;
    --muted: #aaa;
    --border: rgba(255, 255, 255, 0.15);
    --primary: #b450f0;
    /* roxo neon */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

main {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* CANVAS DO FUNDO */

canvas {
    position: fixed;
    inset: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
}

/* NAVEGAÇÃO */

.nav-pill {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border: 0.5px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.nav-pill a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 999px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    letter-spacing: 0.01em;
}

.nav-pill a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-pill a:hover {
    color: rgba(255, 255, 255, 0.95);
}

.nav-pill a:hover::before {
    opacity: 1;
}

.nav-pill a.ativo {
    color: rgba(255, 255, 255, 1);
    font-weight: 600;
    background: rgba(160, 80, 240, 0.6);
    box-shadow: 0 1px 8px 0 rgba(160, 80, 240, 0.25),
                inset 0 0.5px 0 0 rgba(255, 255, 255, 0.15);
}

/* SEÇÕES NO GERAL, COMECEI A CONFIGURAR O SNAP*/
section {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

section>* {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* FUNCIONALIDADES DO HERO INICIAL */

.hero {
    justify-content: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 60px;
    align-items: center;
}

.hero-foto img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--border);
    transform-style: preserve-3d;
    will-change: transform;
    cursor: pointer;
}

.eyebrow {
    color: var(--muted);
    letter-spacing: 3px;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.hero-texto h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 900;
}

.hero-texto p {
    max-width: 520px;
    margin: 20px 0 28px;
    color: var(--muted);
}

.hero-botoes {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary,
#btnPremiacao {
    display: inline-block;
    background: var(--text);
    color: var(--bg);
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: 0.25s ease;
}

.btn-outline {
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
}

/* NOVA SEÇÃO DO SOBRE MIM */

/* BOTÕES PARA LEVAR PRA NOTICIA/LINK NO GERAL*/
.btn-primary,
#btnPremiacao {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: var(--bg);
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#btnPremiacao {
    margin: 10px auto 0 auto;
    padding: 8px 20px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-primary:hover,
#btnPremiacao:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}

/* SECTION SOBRE NO GERAL */

.project-card:hover,
.project-card.ativo {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 6px 24px 0 rgba(180, 80, 255, 0.18), 0 2px 8px 0 rgba(0,0,0,0.10);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sobre-texto {
    max-width: 520px;
}

.sobre-texto p {
    color: var(--muted);
    line-height: 1.6;
}

/* GALERIA DA SEÇÃO SOBRE MIM */

/* GALERIA STACKED FOCUS */
.sobre-galeria-focus {
    display: grid;
    grid-template-columns: 1fr 80px;
    gap: 20px;
}

.galeria-principal {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.galeria-principal img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease, transform 0.6s ease;
}

.galeria-principal:hover img {
    transform: scale(1.05);
}

.descricao-imagem {
    padding: 14px 16px;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.6);
    border-top: 1px solid var(--border);
}

.galeria-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.galeria-stack img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0.6;
    border: 1px solid var(--border);
    transition: opacity 0.25s ease, transform 0.25s ease, outline 0.25s ease;
}

.galeria-stack img:hover,
.galeria-stack img.ativo {
    opacity: 1;
}

.galeria-stack img.ativo {
    outline: 2px solid var(--text);
}


/* PARTE DE EXPERIENCIA*/

.timeline {
    position: relative;
    margin: 40px 0;
    padding-left: 30px;
    --line-scale: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleY(var(--line-scale));
    transform-origin: top center;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
}

.timeline-content {
    padding-left: 30px;
}

.timeline-content h3 {
    margin-bottom: 4px;
}

.timeline-content span {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 6px;
    display: block;
}

.timeline-content p {
    color: var(--muted);
    line-height: 1.6;
}


/* TECNOLOGIAS QUE EU TO USANDO */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

.skill {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    opacity: 0.6;
    will-change: transform, opacity;
    transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s cubic-bezier(0.4,0,0.2,1), outline 0.25s ease;
}

.skill:hover,
.skill.ativo {
    opacity: 1;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px 0 rgba(180, 80, 255, 0.18), 0 1.5px 6px 0 rgba(0,0,0,0.10);
}

.skill.ativo {
    outline: 2px solid var(--text);
}

.skill img {
    width: 90px;
    display: block;
    margin: 0 auto;
}

.tech-focus {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-descricao {
    max-width: 480px;
}

.tech-descricao h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.tech-descricao p {
    color: var(--muted);
    line-height: 1.6;
}

/* PROJETOS */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.project-card {
    padding: 25px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
    will-change: transform, opacity;
    transition: background 0.25s, box-shadow 0.35s cubic-bezier(0.4,0,0.2,1);
}

.project-card img {
    width: 100%;
    max-width: 280px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    display: block;
}

.project-botoes {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.project-botoes a {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
}

.project-botoes a.btn-primary {
    background: var(--text);
    color: var(--bg);
}

.project-botoes a.btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
    background: transparent;
}

.project-botoes a:hover {
    filter: brightness(1.05);
}

/* meus CERTIFICADOS */

.certificados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    justify-items: center;
}

.certificado-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.certificado-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
    display: block;
    max-width: 100%;
}

.certificado-card:hover {
    box-shadow: 0 8px 32px 0 rgba(180, 80, 255, 0.25), 0 4px 12px 0 rgba(0,0,0,0.15);
}

/*tipografia das seções corrigido aq*/
h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
}

/* CONTATOS */

.contato-content {
    text-align: center;
}

.contato-texto {
    color: var(--muted);
    margin-bottom: 35px;
}

.contato-botoes {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.contato-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.contato-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(180, 80, 240, 0.6);
    box-shadow: 0 8px 24px 0 rgba(180, 80, 255, 0.2),
                0 4px 12px 0 rgba(0, 0, 0, 0.15),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.contato-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary);
}

.contato-btn:hover svg {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 8px rgba(180, 80, 240, 0.6));
}

/* PARTE DE RESPONSIVIDADE */

/* 4K (3840px e acima) - Layout escalonado */
@media (min-width: 3840px) {
    /* SEÇÕES */
    section>* {
        max-width: 2500px;
        padding: 0 120px;
    }

    /* MENU */
    .nav-pill {
        gap: 30px;
        padding: 18px 40px;
    }

    .nav-pill a {
        font-size: 2.5rem;
    }

    /* HERO */
    .hero-content {
        gap: 200px;
        grid-template-columns: 600px 1fr;
    }

    .hero-foto img {
        width: 600px;
        height: 600px;
    }

    .hero-texto h1 {
        font-size: 8rem;
    }

    .hero-texto p {
        font-size: 3rem;
        max-width: 900px;
    }

    .hero-botoes {
        gap: 30px;
    }

    .btn-primary,
    #btnPremiacao {
        padding: 28px 50px;
        font-size: 1.8rem;
        border-radius: 16px;
    }

    /* SOBRE MIM */
    .sobre-content {
        gap: 160px;
    }

    .sobre-texto p {
        font-size: 2.2rem;
    }

    /* GALERIA */
    .galeria-principal img {
        height: 1000px;
    }

    .galeria-stack img {
        width: 150px;
        height: 150px;
        border-radius: 20px;
    }

    .descricao-imagem {
        font-size: 2.5rem;
        padding: 24px 28px;
    }

    /* TIMELINE */
    .timeline-dot {
        width: 24px;
        height: 24px;
    }

    .timeline-content h3 {
        font-size: 3.5rem;
    }

    .timeline-content span,
    .timeline-content p {
        font-size: 2.5rem;
    }

    /* SKILLS / TECH */
    .skills-grid {
        gap: 30px;
    }

    .skill {
        padding: 40px;
    }

    .skill img {
        width: 150px;
    }

    .tech-focus {
        gap: 100px;
    }

    .tech-descricao h3 {
        font-size: 5rem;
    }

    .tech-descricao p {
        font-size: 2.6rem;
    }

    /* PROJETOS */
    .projects-grid {
        gap: 50px;
    }

    .project-card {
        padding: 50px;
        font-size: 2.8rem;
    }

    .project-card img {
        max-width: 700px;
    }

    .project-botoes a {
        padding: 20px 50px;
        font-size: 2.8rem;
    }

    /* CERTIFICADOS */
    .certificados-grid {
        gap: 40px;
    }

    .certificado-card {
        padding: 30px;
        font-size: 2.2rem;
    }

    .certificado-card img {
        max-width: 700px;
    }

    /* CONTATOS */

    .contato-texto {
        font-size: 2.8rem;
        margin-bottom: 50px;
    }

    .contato-btn {
        padding: 28px 50px;
        font-size: 2.8rem;
    }

    /* TÍTULOS */
    h2 {
        font-size: 7rem;

    }

    .hero-texto .eyebrow {
        font-size: 2.5rem;
    }

    .hero-botoes {
        font-size: 2em;
    }

}

/* 2K (2560px até 3839px) */
@media (min-width: 2560px) and (max-width: 3839px) {
    /* SEÇÕES */
    section>* {
        max-width: 2000px;
        padding: 0 80px;
    }

    /* MENU */
    .nav-pill {
        gap: 25px;
        padding: 16px 36px;
    }

    .nav-pill a {
        font-size: 2rem;
    }

    /* HERO */
    .hero-content {
        gap: 160px;
        grid-template-columns: 500px 1fr;
    }

    .hero-foto img {
        width: 500px;
        height: 500px;
    }

    .hero-texto h1 {
        font-size: 6.5rem;
    }

    .hero-texto p {
        font-size: 2.2rem;
        max-width: 800px;
    }

    .hero-botoes {
        gap: 24px;
    }

    .btn-primary,
    #btnPremiacao {
        padding: 24px 45px;
        font-size: 1.6rem;
        border-radius: 14px;
    }

    /* SOBRE MIM */
    .sobre-content {
        gap: 140px;
    }

    .sobre-texto p {
        font-size: 2rem;
    }

    /* GALERIA */
    .galeria-principal img {
        height: 800px;
    }

    .galeria-stack img {
        width: 130px;
        height: 130px;
        border-radius: 18px;
    }

    .descricao-imagem {
        font-size: 1.8rem;
        padding: 20px 24px;
    }

    /* TIMELINE */
    .timeline-dot {
        width: 20px;
        height: 20px;
    }

    .timeline-content h3 {
        font-size: 3rem;
    }

    .timeline-content span,
    .timeline-content p {
        font-size: 2rem;
    }

    /* SKILLS / TECH */
    .skills-grid {
        gap: 24px;
    }

    .skill {
        padding: 35px;
    }

    .skill img {
        width: 130px;
    }

    .tech-focus {
        gap: 80px;
    }

    .tech-descricao h3 {
        font-size: 4rem;
    }

    .tech-descricao p {
        font-size: 2rem;
    }

    /* PROJETOS */
    .projects-grid {
        gap: 40px;
    }

    .project-card {
        padding: 45px;
        font-size: 2.2rem;
    }

    .project-card img {
        max-width: 600px;
    }

    .project-botoes a {
        padding: 18px 45px;
        font-size: 2.2rem;
    }

    /* CERTIFICADOS */
    .certificados-grid {
        gap: 35px;
    }

    .certificado-card {
        padding: 28px;
        font-size: 2rem;
    }

    .certificado-card img {
        max-width: 600px;
    }

    /* CONTATOS */
    .contato-texto {
        font-size: 2.2rem;
        margin-bottom: 45px;
    }

    .contato-btn {
        padding: 24px 45px;
        font-size: 2.2rem;
    }

    /* TÍTULOS */
    h2 {
        font-size: 6rem;
    }

    .hero-texto .eyebrow {
        font-size: 2rem;
    }

    .hero-botoes {
        font-size: 1.8em;
    }
}


/* FullHD (1920px até 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
    section>* {
        max-width: 1400px;
    }

    .hero-content {
        gap: 80px;
        grid-template-columns: 300px 1fr;
    }

    .hero-foto img {
        width: 300px;
        height: 300px;
    }

    .galeria-principal img {
        height: 420px;
    }

    h2 {
        font-size: 2.6rem;
    }
}

/* HD (1280px até 1919px) */
@media (min-width: 1280px) and (max-width: 1919px) {
    section>* {
        max-width: 1100px;
    }

    .hero-content {
        gap: 60px;
        grid-template-columns: 260px 1fr;
    }

    .hero-foto img {
        width: 260px;
        height: 260px;
    }

    .galeria-principal img {
        height: 360px;
    }

    h2 {
        font-size: 2.2rem;
    }
}

/* SD / Tablets (768px até 1279px) */
@media (min-width: 768px) and (max-width: 1279px) {
    html {
        scroll-snap-type: none;
    }

    .hero-content,
    .sobre-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
        justify-items: center;
    }

    .hero-foto img {
        width: 110px;
        height: 110px;
    }

    .hero-botoes {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .sobre-galeria-focus {
        grid-template-columns: 1fr;
    }

    .galeria-principal img {
        height: 240px;
    }

    .galeria-stack {
        flex-direction: row;
        justify-content: center;
        margin-top: 16px;
        gap: 12px;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-texto {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 90%;
        margin: 0 auto;
    }

    .hero-texto h1 {
        font-size: clamp(1rem, 4vw, 3rem);
    }

    .hero-texto p {
        font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    }

    .tech-focus {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        align-items: start;
        justify-items: center;
        text-align: center;
    }

    .skills-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
        width: 100%;
    }

}

/* Mobile vertical (até 767px) */
@media (max-width: 767px) {
    html {
        scroll-snap-type: none;
    }

    section {
        padding: 0 16px;
        overflow-x: hidden;
    }

    .hero-content,
    .sobre-content,
    .tech-focus {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        width: 100%;
    }

    .hero-foto img {
        width: 180px;
        height: 180px;
        max-width: calc(100vw - 40px);
    }

    .hero-botoes {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        width: 100%;
    }

    .hero-texto {
        justify-content: center;
    }

    /* Menu Mobile - Esconde links do nav e mostra hamburger */
    .nav-pill a:not(.nav-toggle) {
        display: none !important;
    }

    .nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .nav-overlay-links {
        max-width: 90%;
        gap: 20px;
        width: 100%;
    }

    .nav-overlay-links a {
        font-size: 1.6rem;
        max-width: 100%;
    }
}

/* Mobile horizontal (até 480px) */
@media (max-width: 480px) {
    section {
        padding: 0 12px;
        overflow-x: hidden;
    }

    .hero-foto img {
        width: 150px;
        height: 150px;
        max-width: calc(100vw - 32px);
    }

    .hero-botoes {
        gap: 10px;
        width: 100%;
    }

    .nav-pill {
        top: 15px;
        max-width: calc(100vw - 32px);
    }

    .nav-toggle {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.3rem;
    }

    .nav-pill {
        top: 15px;
    }

    .nav-toggle {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.3rem;
    }

    .nav-overlay-links a {
        font-size: 1.4rem;
        width: 100%;
    }

    .nav-overlay {
        padding: 0 15px;
        gap: 20px;
    }

    .sobre-content,
    .tech-focus {
        gap: 20px;
    }

    .projects-grid,
    .certificados-grid {
        gap: 16px;
    }
}

/* NAVIGATION */

.nav-pill {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 18px;
    padding: 12px 26px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37),
                0 2px 8px 0 rgba(180, 80, 240, 0.1),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-pill a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-pill a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(180, 80, 240, 0.15), rgba(180, 80, 240, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-pill a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.nav-pill a:hover::before {
    opacity: 1;
}

.nav-pill a.ativo {
    color: var(--text);
    font-weight: 800;
    background: linear-gradient(135deg, rgba(180, 80, 240, 0.2), rgba(180, 80, 240, 0.1));
    box-shadow: 0 2px 8px 0 rgba(180, 80, 240, 0.3),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

/* correção para desktop -> SUMINDO*/
.nav-pill a {
    display: inline-block;
}

/* NAVIGATION MOBILE REFORMULADO */

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text);
    cursor: pointer;
    z-index: 20;
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.nav-toggle:hover {
    background: rgba(180, 80, 240, 0.15);
    border-color: rgba(180, 80, 240, 0.4);
    box-shadow: 0 4px 16px rgba(180, 80, 240, 0.3);
}

.nav-toggle:active {
    transform: scale(0.95);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 22px;
    height: 18px;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle:hover .hamburger-icon span {
    background: var(--primary);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 5, 15, 0.75);
    backdrop-filter: blur(25px) saturate(180%);
    color: var(--text);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    z-index: 15;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100vw;
    max-width: 100vw;
}

.nav-overlay-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 350px;
    margin-top: 80px;
}

.nav-overlay-links a {
    font-size: 1.4rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    padding: 16px 24px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.nav-overlay-links a svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.nav-overlay-links a:hover svg {
    transform: scale(1.1);
}

.nav-overlay-links a:hover {
    color: var(--primary);
    background: rgba(180, 80, 240, 0.12);
    border-color: rgba(180, 80, 240, 0.4);
    box-shadow: 0 8px 24px rgba(180, 80, 240, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.02);
}

.nav-overlay-links a.ativo {
    color: var(--primary);
    background: rgba(180, 80, 240, 0.15);
    border-color: rgba(180, 80, 240, 0.5);
    box-shadow: 0 4px 16px rgba(180, 80, 240, 0.3);
}

.nav-close {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.8rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 0;
    padding: 0;
    backdrop-filter: blur(10px);
}

.nav-close:hover {
    color: var(--primary);
    background: rgba(180, 80, 240, 0.15);
    border-color: rgba(180, 80, 240, 0.4);
    box-shadow: 0 4px 16px rgba(180, 80, 240, 0.3);
}

/* Remove animações CSS antigas - agora usa GSAP */


/* RESPONSIVIDADE MOBILE */
@media (max-width: 768px) {
    .nav-pill {
        width: 50px;
        height: 50px;
        padding: 0;
        gap: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .nav-pill:hover {
        background: rgba(180, 80, 240, 0.15);
        border-color: rgba(180, 80, 240, 0.4);
        box-shadow: 0 4px 16px rgba(180, 80, 240, 0.3);
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        width: 100%;
        height: 100%;
        position: static;
    }
    
    .nav-pill a {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-pill {
        top: 15px;
        width: 50px;
        height: 50px;
    }

    .nav-toggle {
        font-size: 1.3rem;
    }
}