@import url('https://fonts.googleapis.com/css2?family=Andika:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Andika', sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primaria: #992609;
    --secundaria: #e49a2b;
    --escuro: #0f172a;
    --maisEscuro: #030303;
    --claro: #e2e8f0;
    --vidro: rgba(255, 255, 255, 0.1)
}

body {
    margin: 0;
    min-height: 100vh;
    background: black;
    color: var(--claro);
    position: relative;
    overflow-x: hidden;
}

.navegacao {
    position: fixed;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.8);
    width: 100%;
    z-index: 100;
    padding: 10px;
    padding-right: 50px;
}

.logo-header img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-left: 50px;
}

.perfil-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.sub-perfil {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.localizacao {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #00E5FF;
    font-size: 14px;
}

.caxias {
    font-size: 18px;
}

.icone-local {
    width: 40px;
    height: auto;
}

.botao-cv {
    background: #00E5FF;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.botao-cv:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.4);
}

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

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

.menu-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #00E5FF;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.menu-link:hover {
    color: #00E5FF;
}

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

.cabecalho {
    padding: 100px 40px 40px 80px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 60px;
    flex: 1;
    width: 100%;
}

.foto-perfil {
    width: 250px;
    height: 250px;
    object-fit: cover;
    object-position: center 40%;
    margin-left: 0px;
    gap: 20px;
    box-shadow: 0 0 10px #00E5FF;
    border-radius: 50%;
    border: 3px solid var(--vidro);
}

.info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.topo {
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sobre {
    font-size: 20px;
    padding: 20px;
    flex: 1;
    max-width: 50%;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding-left: 40px;
}

h1 {
    margin-bottom: 20px;
    font-size: 3rem;
    color: #00E5FF;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
}

.cabecalho-sub-titulo {
    font-size: 1.25rem;
    margin-bottom: 100px;
    color: var(--claro);
}

.habilidades-titulo {
    color: #00E5FF;
    font-size: 3rem;
    text-align: center;
    padding: 6rem 2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.habilidades-caixa {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.habilidades-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    width: 150px;
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.2);
    transition: all 0.5s ease;
    border: 1px solid var(--vidro);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.habilidades-card:hover {
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
    transform: translateY(-10px) scale(1.03);
}

.habilidades-imagem {
    width: 54px;
    height: 54px;
    margin-bottom: 5px;
}

.projetos {
    padding: 6rem 2rem;
}

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

.projetos-destaque {
    color: #00E5FF;
}

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

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

.projetos-card:hover {
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
    transform: translateY(-10px) scale(1.03);
}

.imagem-container {
    position: relative;
}

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

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.651);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.imagem-container:hover .overlay {
    opacity: 1;
}

.ver-projeto {
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    border: 2px solid #ffffff;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
}

.ver-projeto:hover {
    background: #ffffff;
    color: #000000;
}

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

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

.paragrafo-projetos {
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.25rem;
}

.info-projetos {
    margin-bottom: 5px;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9999;
}

.botao-ver-tudo {
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.botao-ver-tudo:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

.container-botao-projetos {
    display: flex;
    justify-content: center;
    margin-top: 0px;
}

.modal.ativo {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #111;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 1100px;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: 0.3s;
}

.modal.ativo .modal-box {
    transform: scale(1);
}

.fechar-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

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

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

.projetos-popup:hover {
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
    transform: translateY(-10px) scale(1.03);
}

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

.redes-caixa {
    text-align: center;
    padding: 2rem 0;
}

.redes-link {
    margin: 0 15px;
    display: inline-block;
}

.redes-imagem {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
    border-radius: 28%;
}

.redes-imagem:hover {
    transform: scale(1.1);
}

.rodape {
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

#loader {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #00E5FF;
    border-radius: 50%;
    animation: girar 1s linear infinite;
    box-shadow: 0 0 10px #00E5FF;
}

@keyframes girar {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    margin-top: 15px;
    color: #00E5FF;
    font-size: 20px;
    letter-spacing: 2px;
}

.link-whatsapp {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.link-whatsapp::before {
    content: "";
    position: absolute;
    width: 55px;
    height: 55px;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-green 2s infinite;
}

.link-whatsapp img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.link-whatsapp:hover img {
    transform: scale(1.1) rotate(5deg);
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .link-whatsapp {
        width: 60px;
        height: 60px;
        right: 20px;
        bottom: 20px;
    }

    .link-whatsapp::before {
        width: 45px;
        height: 45px;
    }
}




@media screen and (max-width: 768px) {
    .logo-header img {
        display: none;
    }

    .menu-link {
        font-size: 18px;
    }

    .navegacao {
        flex-direction: column;
        padding: 1rem;
    }

    .menu {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .cabecalho {
        flex-direction: column;
        text-align: center;
        padding: 100px 0px;
    }

    .cabecalho-sub-titulo {
        font-size: 1.5rem;
    }

    .sobre {
        max-width: 100%;
        padding-left: 20px;
        border-left: none;
    }

    .topo {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
}

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

/* ===========================
   CERTIFICADOS / CARROSSEL
   =========================== */

.certificados {
    padding: 4rem 2rem 6rem;
}

.certificados-titulo {
    font-size: 3rem;
    text-align: center;
    padding-bottom: 3rem;
    font-weight: bold;
    color: var(--claro);
}

.certificados-destaque {
    color: #00E5FF;
}

.carrossel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    max-width: 710px;
    margin: 0 auto;
}

.carrossel-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 16px;
}

.carrossel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.cert-card {
    min-width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--vidro);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cert-imagem-wrapper {
    width: 100%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.07), rgba(123, 47, 190, 0.07));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cert-imagem {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.cert-info {
    padding: 1.25rem 1.5rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--vidro);
}

.cert-nome {
    font-size: 1.15rem;
    color: #00E5FF;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.cert-emissor {
    color: rgba(226, 232, 240, 0.65);
    font-size: 0.9rem;
}

/* Botões prev / next */
.carrossel-btn {
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.25);
    color: #00E5FF;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carrossel-btn:hover {
    background: rgba(0, 229, 255, 0.22);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.3);
    transform: scale(1.1);
}

/* Dots */
.carrossel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.75rem;
}

.carrossel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(226, 232, 240, 0.25);
    cursor: pointer;
    transition: all 0.35s ease;
    padding: 0;
}

.carrossel-dot.ativo {
    background: #00E5FF;
    transform: scale(1.35);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.7);
}

@media (max-width: 768px) {
    .carrossel-btn {
        width: 42px;
        height: 42px;
        font-size: 2rem;
    }

    .certificados-titulo {
        font-size: 2.2rem;
    }
}