@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Global */

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

    list-style: none;
    text-decoration: none;

    font-family: "Poppins", sans-serif;
}

:root {
    --cor-primaria: #4f61da;
    --cor-secundaria: #4353c2;
    --cor-terceira: #6475e7;
    --cor-quarta: #477DE3;
    --cor-black: #050808;
    --cor-light: #fdfdfd;
    --cor-fundo-black: #020203;
    --gradient-principal: linear-gradient(to right, #6B33C1, #2EB2FB);

    --cor-texto-apagado: rgba(253, 253, 253, 0.30);
}

html {
    scroll-behavior: smooth;
}

.interface {
    max-width: 1200px;
}

.hidden {
    display: none !important;
}

.no-scroll {
    overflow: hidden;
}



span.name-areas {
    color: var(--cor-quarta);
    font-size: 1rem;
    font-weight: 500;
}

h2 {
    color: var(--cor-light);
    font-size: 2rem;
    font-weight: 700;
}

p.desc-areas {
    color: var(--cor-texto-apagado);
    font-size: 1.2rem;
}

.btn-padrao {
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 400;
    color: var(--cor-light);
    background: var(--gradient-principal);
    box-shadow: 0 0 10px #6B33C130, 0 0 10px #2EB2FB30;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    transition: all .5s;
}

.btn-padrao:hover {
    box-shadow: 0 0 10px #6B33C1, 0 0 10px #2EB2FB;
}

.btn-secundario {
    position: relative;
    overflow: hidden;

    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #fdfdfd50;
    width: 3.438rem;
    height: 3.438rem;
    border-radius: 12px;
    background: rgba(35, 35, 35, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(253, 253, 253, 0.479);
    box-shadow: 0 4px 20px rgba(5, 5, 5, 0.1);
    transition: color 0.5s ease;
}

.btn-secundario:hover {
    color: var(--cor-light);
}

.btn-secundario::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: var(--gradient-principal);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.btn-secundario:hover::before {
    opacity: 1;
}

.btn-secundario>* {
    position: relative;
    z-index: 1;
}


.text-gradient {
    background: linear-gradient(90deg, #6B33C1, #2EB2FB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glows */

.glow-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    /* Não interfere em cliques */
    z-index: 0;
    /* Fica atrás dos elementos */
}

.glow-light.purple {
    width: 300px;
    height: 300px;
    background: #6B33C1;
    top: 150px;
    left: 100px;
}

.glow-light.blue {
    width: 250px;
    height: 250px;
    background: #2EB2FB;
    top: 300px;
    right: 150px;
}

/* Menu Hamburger */

.menu-hamburguer {
    display: none;
}

.menu-hamburguer div {
    margin: 8px;
    width: 32px;
    height: 2px;
    background: var(--cor-texto-apagado);
    transition: .3s ease-in;
}

.menu-hamburguer.active .line1-hamburguer {
    transform: rotate(-45deg) translate(-8px, 8px);
}

.menu-hamburguer.active .line2-hamburguer {
    opacity: 0;
}

.menu-hamburguer.active .line3-hamburguer {
    transform: rotate(45deg) translate(-5px, -7px);
}

/*  */

body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
    background: var(--cor-fundo-black);
    overflow-x: hidden
}

/* Navbar */

.navbar-area {
    margin-top: 1.25rem;
    position: fixed;
    top: 0;
    z-index: 998;
    left: 50%;
    transform: translateX(-50%);

    padding: 1rem 3rem;
    width: 70dvw;
    min-height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    border-radius: 12px;
    background: rgba(35, 35, 35, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(253, 253, 253, 0.479);
    box-shadow: 0 4px 20px rgba(05, 05, 05, 0.1);
}

.left-navbar {
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-area img.logo-navbar {
    max-height: 3rem;
}

.nav-area ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.nav-area ul li a {
    font-size: 1.150rem;
    color: #fdfdfd50;
    transition: .5s;
}

.nav-area ul li a:hover,
.nav-area ul li a.active {
    color: var(--cor-light);
}

/*  */

main {
    padding-top: 120px;
}

/* Inicio Area */

.inicio-area {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../images/guilhermeBGName.svg);
}

.titulo-inicio {
    display: flex;
    justify-content: center;
    align-items: right;
    flex-direction: column;
    gap: 45px;
}

/* Serviços */

.servicosSec {
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.servicos-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

.icon-servico-item {
    padding: 12px;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #070708;
    border: 1px solid #202021;
    border-radius: 6px;
}

.titulo-servico-item {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
}

.texto-servico-item {
    text-align: center;
    font-size: 1rem;
    font-weight: 300;
    color: var(--cor-texto-apagado);
}

/* Habilidades Area */

.habilidades-area {
    padding: 0rem 18rem;
    margin-top: 3rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 140px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fdfdfd15;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../images/habilidadesBG.svg);
}

/* Sobre Area */

.sobre-area {
    margin-top: 3rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../images/bgDetail1.svg);
}

/* Portfolio Area */

.portfolioSec {
    margin-top: 5rem;
}

.portfolio-line1 {
    margin-bottom: 0.75rem;
    width: 1200px;
    display: flex;
    justify-content: space-between;
}

.portfolio-filtros {
    display: flex;
    gap: 0.5rem;
}

/* .btn-prtf-filtros {
    padding: 8px;
    width: 35px;
    height: 35px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    border: none;
} */

.portfolio-line2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.portfolio-galeria {
    margin-bottom: 2rem;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem;
    overflow: hidden;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.portfolio-item .overlay {
    position: absolute;
    bottom: 0;
    /* Remova left e right */
    width: 90%;
    /* ou qualquer valor menor que 100% */
    left: 50%;
    transform: translateX(-50%);
    /* Centraliza */

    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 8px;
    /* opcional, para seguir o estilo */
}

.portfolio-item h3 {
    margin: 0;
    font-size: 1.1rem;
}

.portfolio-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.portfolio-mensagem {
    width: 100%;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--cor-light);
    padding: 1rem;
    background-color: rgba(231, 24, 24, 0.904);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

/* Contato Area */

.contato-formulario {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.contato-campos {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.coluna {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.input-area {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.label-contato {
    font-size: 1.1rem;
    color: var(--cor-light);
}

.campo-contato {
    padding: 12px;
    width: 350px;
    background: #070708;
    border: 1px solid #202021;
    border-radius: 6px;
    color: #fff;
}

textarea.campo-contato {
    resize: none;
    min-height: 120px;
}


.outras-formas-contato {
    margin-top: 2rem;
    text-align: left;
    color: var(--cor-light);
}

.contato-botoes {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-discord, .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-discord {
    background: #5865F2;
    color: var(--cor-light);
}

.btn-discord:hover {
    background: #4752C4;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--cor-light);
}

.btn-whatsapp:hover {
    background: #1EBE5D;
}


/* Footer Area */

footer {
    margin-top: 2.813rem;
}

footer.footerArea {
    padding: 0.75rem 1.25rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fdfdfd15;
    border-top: 1px solid #fdfdfd40;
}

.footerSec {
    width: 100%;
}

footer .footer-left-side img {
    max-width: 5rem;
}

.footer-line1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left-side {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
}

.footer-left-side p {
    font-size: 2rem;
    font-weight: 400;
    color: var(--cor-light);
}

.footer-left-side p span {
    font-weight: 600;
    color: var(--cor-light);
}

.footer-right-side {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer-line2 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    height: 1px;
    background: #fdfdfd40;
}

.footer-line3 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: 300;
    color: var(--cor-texto-apagado);
}

/* Modal */

.modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-conteudo {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
    text-align: center;
}

.modal-conteudo img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.modal-conteudo .btn-padrao {
    margin-top: 15px;
    display: inline-block;
}

.fechar {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}






/* Responsividade */

@media screen and (max-width: 999px) {

    .interface {
        max-width: 80%;
        padding: 0 16px;
        overflow: hidden;
    }

    /* Navbar Resposiva */

    .nav-list {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        height: 100vh;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100vw);
        transition: transform 0.3s ease-in-out;
        z-index: 999;

        border-radius: 12px;
        background: rgba(24, 24, 24, 0.8);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 4px 20px rgba(05, 05, 05, 0.1);

    }

    .nav-list.active {
        transform: translateX(0);
    }

    .nav-list li {
        opacity: 1;
    }

    .menu-hamburguer {
        position: relative;
        display: block;
        z-index: 1001;
    }

    /* Inicio */

    main {
        margin-top: 6.5rem;
    }

    .inicio-area {
        flex-direction: column;
    }

    .servicosSec {
        flex-direction: column;
    }

    .sobre-area {
        flex-direction: column;
    }

    /* Portofolio Responsivo */

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

    /* Habilidades Responsiva */

    .habilidades-area {
        width: 100%;
        padding: 0 1rem;
        height: auto;
        flex-direction: column;
        gap: 1rem;
    }

    /* Footer Mobile */

    .footer-line1 {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-left-side p {
        font-size: 1.8rem;
    }

    .footer-line3 {
        font-size: 0.9rem;
        text-align: center;
    }

}

/*  */

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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