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

html{
    scroll-behavior: smooth;
}

:root{
    --primary: #4f46e5;
    --secondary: #171570;
    --dark: #1d1d1d;
    --darker: #131313;
    --light: #fff;
    --glass: rgba(255, 255, 255, 0.1);
}

body{
    background: var(--dark);
    color: var(--light);
     overflow-x: hidden;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}


.navegacao{
    position: fixed;
    top: 0;
    background: rgba(15, 23,42, 0.8);
    width: 100%;
    z-index: 100;
    padding: 1.5rem;
    border-radius: 30px;
}

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

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

.menu_link::after{
    content: '' ;
    height: 2px;
    width: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    transition: width 0.5s ease;
}

.menu_link:hover::after{
    width: 100%;
}

.cabecalho{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero-texto{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}


.nome_mayson{
    border-right: 4px solid var(--light);
    padding-right: 5px;
    white-space: nowrap;
    display: inline-block;
    min-width: 200px;
    font-size: 4rem;
    color: var(--primary);
    text-shadow: 0 0 20px var(--secondary);
    animation: piscar 1s infinite;
    
}

.titulo_introducao{
    font-size: 2rem;
    color: var(--light);
}

.titulo_introducao_2{
    font-size: 1.5rem;
    color: var(--light);
    white-space: nowrap;
}

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

.sobre{
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 6rem 1rem;
    padding-top: 7rem;
}



.sobre_container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}


.sobre_imagem{
    flex: 1;
    display: flex;
    justify-content: center;
}

.foto_sobre{
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
}

.sobre_paragrafo{
    padding-left: 25px;
    gap: 2rem;

}

.sobre_texto{
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--light);
    border: 1px solid var(--glass);
    outline: none;
    padding-top: 20px;
    padding-bottom: 10px;
   
}

.ver_mais{
    text-decoration: none;
}

.ver_mais_botao{
    background: var(--primary);
    color: var(--light);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    display: block;
    margin: 2rem auto 0;
    transition: all 0.5s ease;
    margin-bottom: 10px;
    margin-top: 10px;
}

.ver_mais_botao:hover{
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

.botao_cv{
    background: var(--primary);
    color: var(--light);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.5s ease;
    text-decoration: none;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
}

.botao_cv:hover{
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

.ver_mais_link{
    text-decoration: none;
    color: var(--light);
}

.projetos{
    padding: 6rem 2rem;

}

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

.projeto_link{
    text-decoration: none;
    color: inherit;
    display: block;
}

.projetos_card{
    background: rgba(255, 255, 255, 0.05) ;
    border-radius: 16px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

}

.projetos_card:hover{
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
    transform: translateY(-10px ) scale(1.03);
    transition: all 0.5s ease;
    cursor: pointer;
}

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

}

.info_projetos{
    margin-bottom: 5px;

}

.paragrafo_projetos{
    color: rgba(226, 232, 240, 0.8) ;
    line-height: 1.25;

}

.caixa_textos_projeto{
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 1;
}

.tecnologias_card{
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.15rem;
}

.tecnologia_tag{
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(79, 70, 229, 0.35);
    background: rgba(79, 70, 229, 0.14);
    color: #dfe3ff;
    font-size: 0.88rem;
    line-height: 1;
}

.caixa_textos_projeto .projeto_cta{
    margin-top: auto;
}

.projeto_cta{
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: bold;
}

.projeto_cta::after{
    content: '>';
}

.pagina_projeto{
    min-height: 100vh;
}

.projeto_main{
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 8rem 0 4rem;
}

.projeto_hero{
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.projeto_card_info,
.projeto_card_visual,
.projeto_bloco{
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass);
    border-radius: 24px;
    backdrop-filter: blur(7px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.projeto_card_info{
    padding: 2.25rem;
}

.projeto_card_visual{
    padding: 1rem;
}

.projeto_card_visual img,
.galeria_item img{
    width: 100%;
    display: block;
    border-radius: 18px;
}

.projeto_tag{
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c9d0ff;
    margin-bottom: 1rem;
}

.projeto_titulo{
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.05;
    margin: 0 0 1rem;
}

.projeto_resumo{
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 60ch;
}

.projeto_acoes{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.botao_secundario{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--glass);
    color: var(--light);
    text-decoration: none;
    transition: all 0.5s ease;
}

.botao_secundario:hover{
    transform: translateY(-4px);
    border-color: rgba(79, 70, 229, 0.6);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.22);
}

.projeto_lista_destaque{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.projeto_lista_destaque article{
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.projeto_lista_destaque h3{
    margin-bottom: 0.5rem;
}

.projeto_lista_destaque p{
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.5;
}

.projeto_grade{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.projeto_bloco{
    padding: 2rem;
}

.projeto_bloco h2{
    font-size: 2rem;
    margin-bottom: 1rem;
}

.projeto_bloco p{
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

.projeto_fluxo{
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.projeto_fluxo article{
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--primary);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
}

.projeto_fluxo span{
    display: inline-block;
    margin-bottom: 0.5rem;
    color: #b8c2ff;
    font-weight: bold;
}

.stack_lista{
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.stack_item{
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.16);
    border: 1px solid rgba(79, 70, 229, 0.35);
    color: var(--light);
}

.galeria_grade{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.galeria_item{
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
}

.galeria_item figcaption{
    padding: 1rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.observacao_repo{
    display: inline-block;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
}

.contatos{
    padding: 5rem 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(--glass);
    border-radius: 16px;
}

.grupo_form{
    margin-bottom: 1.5rem;

}

.campo_form{
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--light);
    border: 1px solid var(--glass);
    outline: none;
}

.campo_form:focus{
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.3);
}

.botao_form{
    background: var(--primary);
    color: var(--light);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: all 0.5s ease;
}

.botao_form:hover{
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}


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

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


@keyframes escrever{
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes piscar{
    50%{
        border-right-color: transparent;
    }
}


footer{
    background: rgba(15, 23,42, 0.8);
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.img_contato{
    text-decoration: none;
    color: white;
}

.img_contato:hover{
    color: var(--primary);
    transform: translateY(-4px);
    
}

.introducao_hero{
    padding-bottom: 40px;
}


@keyframes scroll{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-50%);
    }
}

.tech-track span:hover{
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(79,70,229,0.5);
}

/* ===== MOBILE ===== */
@media (max-width: 748px){

    .navegacao{
        padding: 1rem;
    }

    .menu{
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    h1{
        font-size: 2.2rem;
    }

    .titulo_introducao{
        font-size: 1.3rem;
    }

    .titulo_introducao_2{
        font-size: 1rem;
        white-space: normal;
    }

    .nome_mayson{
        font-size: 2.5rem;
        min-width: auto;
    }

    .cabecalho{
        padding: 1.5rem;
    }

    .hero{
        width: 100%;
    }

    .hero-texto{
        width: 100%;
        gap: 0.85rem;
    }

    .botao_cv{
        width: 100%;
        max-width: 320px;
        min-width: 0;
        margin-right: 0;
        padding: 0.95rem 1.25rem;
    }

    .sobre{
        align-items: flex-start;
        padding: 5rem 1rem;
        padding-top: 6rem;
    }

    .sobre_container{
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .foto_sobre{

    width: clamp(150px, 250px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    }

    .sobre_texto{
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding: 1rem;
    text-align: left;
}
    .sobre_paragrafo{
        padding-left: 0;
    }

    .projetos{
        padding: 3rem 1rem;
    }

    .projetos_caixa{
        grid-template-columns: 1fr;
    }

    .projetos_card{
        min-height: auto;
    }

    .tecnologias_card{
        gap: 0.5rem;
    }

    .tecnologia_tag{
        font-size: 0.82rem;
        padding: 0.4rem 0.75rem;
    }

    .projeto_main{
        width: min(100% - 1.25rem, 1200px);
        padding-top: 7rem;
    }

    .projeto_hero,
    .projeto_grade,
    .galeria_grade{
        grid-template-columns: 1fr;
    }

    .projeto_card_info,
    .projeto_bloco{
        padding: 1.5rem;
    }

    .projeto_titulo{
        font-size: 2.3rem;
    }

    .formulario_contato{
        padding: 1.5rem;
    }

    .tech-container{
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        display: block;
        margin: 1.5rem auto 0;
        padding: 0 10px;
    }

    .tech-container::after{
        width: 60%;
        display: block;
        height: 1.5px;
        margin: 8px auto 0;
        background: linear-gradient(90deg, transparent, var(--primary), transparent);
        opacity: 0.4;
        margin: 12px auto 0;
    }

    .tech-track{
        gap: 1.2rem;
        flex-wrap: nowrap;
    }
    
    .tech-track span{
        font-size: 1.6rem;
    }


}

/* ===== TABLET ===== */
@media (min-width: 769px) and (max-width: 1024px){

    .menu{
        gap: 2rem;
    }

    h1{
        font-size: 2.8rem;
    }

    .nome_mayson{
        font-size: 3rem;
    }

    .sobre_container{
        gap: 2rem;
        padding: 0 1rem;
    }

    .foto_sobre{
        width: 220px;
        height: 220px;
    }

    .projetos_caixa{
        grid-template-columns: repeat(2, 1fr);
    }

    .projeto_hero,
    .projeto_grade{
        grid-template-columns: 1fr;
    }

    .galeria_grade{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tech-container{
        max-width: 450px;
    }

    .tech-track{
        gap: 1.5rem;
    }

    .tech-track span{
        font-size: 2.2rem;
    }
}

/* ===== TELAS GRANDES / TV ===== */
@media (min-width: 1400px){

    .cabecalho{
        max-width: 1400px;
        margin: 0 auto;
    }

    .sobre_container{
        max-width: 1200px;
    }

    .projetos_caixa{
        max-width: 1400px;
        grid-template-columns: repeat(3, 1fr);
    }

    h1{
        font-size: 4rem;
    }

    .nome_mayson{
        font-size: 4.5rem;
    }
}

.tech{
    padding: 3rem 1rem;
    text-align: center;
}

.tech-container{
    overflow: hidden;
    max-width: 650px;
     margin: 1rem auto 0;
    margin-top: auto;
}

.tech-container::after{
    content: "";
    display: block;
    width: 75%;
    height: 2px;
    margin: 12px auto 0;
    background: linear-gradient(95deg, transparent, var(--primary), var(--secondary), transparent);
    border-radius: 15px;
    opacity: 0.6;
}

.tech-label{
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.tech-track{
    display: flex;
    gap: 2rem;
    white-space: nowrap;
    padding: 1.5rem;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}



.tech-track span{
    font-size: 2.5rem;
    color: var(--light);
    border: 1px solid transparent;
    padding: 0.5rem;
    border-radius: 8px;
    transition: 0.3s;
}

.tech-track span:hover{
    color: var(--primary);
    transform: scale(1.2);
}
