@charset "UTF-8";

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

:root {
    --azul-principal: #2563EB;
    --azul-hover: #1D4ED8;
    --azul-neon: #38BDF8;
    --preto: #0F172A;
    --cinza-escuro: #1E293B;
    --cinza: #64748B;
    --cinza-claro: #CBD5E1;
    --fundo: #F8FAFC;
    --branco: #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(180deg, #F8FAFC, #EEF4FF);
    color: var(--preto);
    line-height: 1.6;
}

/* BARRA DE PROGRESSO */
#progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--azul-principal), var(--azul-neon));
    z-index: 999;
    transition: width 0.1s;
}

/* NAV */
#nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 60px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-logo span { color: var(--azul-neon); }

#nav ul {
    display: none;
    list-style: none;
}

#nav a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

#nav a:hover { color: white; }

.btn-contato {
    background: var(--azul-principal);
    color: white !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600 !important;
}

.btn-contato:hover { opacity: 0.85; }

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
}

#nav ul.aberto {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: rgba(15,23,42,0.98);
    padding: 20px;
    gap: 16px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* HEADER */
header {
    background: linear-gradient(135deg, var(--preto), #1E3A8A);
    color: var(--branco);
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

header img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--azul-neon);
    box-shadow: 0 10px 35px rgba(0,0,0,.35);
    transition: .4s;
}

header img:hover { transform: scale(1.04); }

header h1 { font-size: 2.4rem; font-weight: 700; }

header h2 {
    color: var(--azul-neon);
    font-weight: 500;
    margin-top: 5px;
}

.dados { margin: 20px 0; }

.dados p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dados i { color: var(--azul-neon); }

.redes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.redes a {
    color: white;
    font-size: 1.5rem;
    transition: .3s;
}

.redes a:hover {
    color: var(--azul-neon);
    transform: translateY(-4px);
}

.botoes { margin-top: 25px; }

.botoes a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--azul-principal);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: .3s;
}

.botoes a:hover {
    background: var(--azul-hover);
    transform: translateY(-2px);
}

/* MAIN */
main {
    max-width: 1100px;
    width: 90%;
    margin: auto;
    padding: 30px 0;
}

/* SEÇÕES */
section {
    background: white;
    padding: 35px;
    margin-bottom: 24px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,.07);
    transition: .3s;
}

section:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37,99,235,.12);
}

section h2 {
    color: var(--azul-principal);
    margin-bottom: 8px;
    font-size: 1.6rem;
}

section h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background: var(--azul-principal);
    margin-top: 8px;
    margin-bottom: 20px;
    border-radius: 20px;
}

/* EXPERIÊNCIA */
#experiencia article {
    padding: 20px;
    border-left: 5px solid var(--azul-principal);
    margin-top: 16px;
    background: var(--fundo);
    border-radius: 12px;
}

#experiencia h3 { font-size: 1.05rem; font-weight: 600; }
#experiencia h4 { color: var(--cinza); font-weight: 500; margin: 4px 0; }
#experiencia span {
    display: inline-block;
    background: var(--azul-principal);
    color: white;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    margin: 8px 0;
}

#experiencia ul {
    padding-left: 20px;
    margin-top: 10px;
    color: var(--cinza);
    font-size: 0.9rem;
}

#experiencia li { margin: 4px 0; }

/* FORMAÇÃO */
#formacao article {
    padding: 16px 20px;
    border-left: 5px solid var(--azul-principal);
    background: var(--fundo);
    border-radius: 12px;
}

#formacao h3 { font-size: 1rem; font-weight: 600; }
#formacao p { color: var(--cinza); margin: 4px 0; font-size: 0.9rem; }
#formacao span {
    display: inline-block;
    background: var(--azul-principal);
    color: white;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 8px;
}

/* TECNOLOGIAS */
.tecnologias {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
}

.tecnologia {
    background: var(--fundo);
    padding: 20px;
    border-radius: 14px;
    text-align: center;
    transition: .3s;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    border: 1px solid #E2E8F0;
}

.tecnologia:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(37,99,235,.15);
    border-color: var(--azul-principal);
}

.tecnologia i {
    font-size: 2.5rem;
    color: var(--azul-principal);
    margin-bottom: 10px;
    display: block;
}

.tecnologia h3 { font-size: 0.85rem; font-weight: 600; }

/* HABILIDADES */
.skill { margin: 18px 0; }

.skill span {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.barra {
    width: 100%;
    height: 10px;
    background: #E2E8F0;
    border-radius: 30px;
    overflow: hidden;
}

.progresso {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--azul-principal), var(--azul-neon));
    border-radius: 30px;
    transition: 1.5s ease;
}

/* CARDS LISTA (cursos, certificações, idiomas) */
.cards-lista {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.card-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--fundo);
    padding: 14px 18px;
    border-radius: 10px;
    border-left: 4px solid var(--azul-principal);
    font-size: 0.9rem;
    font-weight: 500;
    transition: .3s;
}

.card-item:hover {
    transform: translateX(6px);
    box-shadow: 0 4px 14px rgba(37,99,235,.12);
}

.card-item i {
    color: var(--azul-principal);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* PROJETOS */
#projetos {
    display: grid;
    gap: 16px;
}

.projeto-card {
    background: var(--fundo);
    padding: 20px;
    border-radius: 14px;
    border-left: 5px solid var(--azul-principal);
    transition: .3s;
}

.projeto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(37,99,235,.12);
}

.projeto-card i {
    font-size: 1.8rem;
    color: var(--azul-principal);
    margin-bottom: 10px;
    display: block;
}

.projeto-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.projeto-card p { color: var(--cinza); font-size: 0.9rem; }

/* CONTATO */
.contato-itens {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--preto);
    text-decoration: none;
    padding: 14px 18px;
    background: var(--fundo);
    border-radius: 10px;
    border-left: 4px solid var(--azul-principal);
    font-size: 0.9rem;
    transition: .3s;
}

.contato-item:hover {
    transform: translateX(6px);
    box-shadow: 0 4px 14px rgba(37,99,235,.12);
}

.contato-item i {
    color: var(--azul-principal);
    font-size: 1.2rem;
    width: 24px;
}

/* FOOTER */
footer {
    background: var(--preto);
    color: white;
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

footer p { font-size: 0.85rem; color: var(--cinza-claro); }
footer strong { color: white; }

.footer-redes {
    display: flex;
    gap: 16px;
}

.footer-redes a {
    color: var(--cinza-claro);
    font-size: 1.3rem;
    transition: .3s;
}

.footer-redes a:hover {
    color: var(--azul-neon);
    transform: translateY(-3px);
}

/* FLOAT WHATSAPP */
.wpp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: transform 0.3s;
    z-index: 99;
}

.wpp-float:hover { transform: scale(1.1); }

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visivel {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media screen and (min-width: 768px) {
    header {
        display: grid;
        grid-template-columns: 300px 1fr;
        align-items: center;
        gap: 60px;
        padding: 60px;
        text-align: left;
    }

    header img {
        width: 280px;
        height: 280px;
    }

    header h1 { font-size: 3rem; }
    header h2 { font-size: 1.7rem; }

    .dados p { justify-content: flex-start; }

    .redes { justify-content: flex-start; }

    #nav ul {
        display: flex;
        gap: 28px;
        align-items: center;
    }

    .menu-toggle { display: none; }

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

    #projetos {
        grid-template-columns: repeat(2, 1fr);
    }
}