/* ========================================= */
/* ESTRUTURA GERAL */
/* ========================================= */


::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #090909;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 999px;
}

main{

    width:min(1250px,92%);

    margin:auto;

    padding-top:120px;

}

section{

    margin:120px 0;

}

.section-title{

    margin-bottom:55px;

}

.section-title span{

    color:var(--primary);

    font-size:14px;

    letter-spacing:3px;

    text-transform:uppercase;

}

.section-title h2{

    font-size:clamp(34px,4vw,52px);

    margin-top:12px;

}

/* ========================================= */
/* HERO */
/* ========================================= */

.hero{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    align-items:center;

    gap:90px;

    min-height:85vh;

}

.hero-description{

    max-width:620px;

    line-height:1.9;

    margin:35px 0;

}

.hero-photo{

    width:420px;

    height:420px;

    margin:auto;

}

/* ========================================= */
/* SOBRE */
/* ========================================= */

.about-layout{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    gap:70px;

    align-items:center;

}

.about-description{

    font-size:18px;

    line-height:2;

}

.about-description p{

    margin-bottom:28px;

}

.about-cards{

    display:grid;

    gap:22px;

}

.info-card{

    display:flex;

    align-items:center;

    gap:22px;

    padding:28px;

    border-radius:24px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.info-card:hover{

    transform:translateX(10px);

    border-color:var(--primary);

}

.info-card i{

    font-size:28px;

    color:var(--primary);

}

/* ========================================= */
/* ESTATÍSTICAS */
/* ========================================= */

.stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.stat-card{

    padding:40px;

    border-radius:24px;

    text-align:center;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

}

.stat-card h3{

    font-size:46px;

    color:var(--primary);

    margin-bottom:10px;

}

.stat-card span{

    color:var(--text-secondary);

}


/* ========================================= */
/* SKILLS */
/* ========================================= */

.skills-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:24px;

}

.skill-card{

    padding:34px;

    text-align:center;

    border-radius:24px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.skill-card:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

}

.skill-card i{

    font-size:42px;

    color:var(--primary);

    margin-bottom:18px;

}

.skill-card h3{

    margin-bottom:10px;

}

.skill-card p{

    color:var(--text-secondary);

}

/* ========================================= */
/* CONTATO */
/* ========================================= */

.contact-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:22px;

}

.contact-card{

    text-decoration:none;

    color:white;

    padding:35px;

    text-align:center;

    border-radius:24px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.contact-card:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

}

.contact-card i{

    font-size:34px;

    color:var(--primary);

    margin-bottom:16px;

}

/* ========================================= */
/* FOOTER */
/* ========================================= */

footer{

    margin-top:140px;

    padding:70px 0;

    border-top:1px solid rgba(255,255,255,.08);

}

.footer-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:30px;

}

.social-icons{

    display:flex;

    gap:18px;

}

.social-icons a{

    width:48px;

    height:48px;

    border-radius:50%;

    display:grid;

    place-items:center;

    background:rgba(255,255,255,.05);

}

/*==============================

ROOT

==============================*/

:root{

    --bg:#060606;

    --bg-secondary:#0c0c0c;

    --card:rgba(255,255,255,.05);

    --glass:rgba(255,255,255,.06);

    --border:rgba(255,255,255,.08);

    --primary:#22C55E;

    --primary-dark:#16a34a;

    --text:#ffffff;

    --text-secondary:#b5b5b5;

    --shadow:
        0 20px 45px rgba(0,0,0,.35);

    --glow:
        0 0 40px rgba(34,197,94,.18);

}

/*==============================

RESET

==============================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

    overflow-x:hidden;

}

body{

    background:var(--bg);

    color:var(--text);

    font-family:"Inter",sans-serif;

    overflow-x:hidden;

    position:relative;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

button{

    border:none;

    background:none;

    cursor:pointer;

}

/*==============================

MAIN

==============================*/

main{

    width:min(1250px,92%);

    margin:auto;

    padding-top:120px;

}

section{

    margin:120px 0;

}

/*==============================

TÍTULOS

==============================*/

.section-title{

    margin-bottom:60px;

}

.section-title span{

    color:var(--primary);

    letter-spacing:4px;

    text-transform:uppercase;

    font-size:14px;

}

.section-title h2{

    font-size:clamp(36px,5vw,56px);

    margin-top:12px;

}

/*==================================================
NAVBAR
==================================================*/

.navbar{

    position:fixed;

    top:18px;

    left:50%;

    transform:translateX(-50%);

    width:min(1250px,92%);

    padding:18px 32px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    z-index:999;

    background:rgba(10,10,10,.55);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    transition:.35s;

}

.navbar.scrolled{

    background:rgba(10,10,10,.82);

    box-shadow:0 15px 40px rgba(0,0,0,.35);

}

.logo{

    display:flex;

    align-items:center;

    gap:6px;

    font-size:28px;

    font-weight:700;

}

.logo a{

    text-decoration:none;

}

.logo-green{

    color:var(--primary);

}

.logo-white{

    color:#fff;

}

.nav-links{

    display:flex;

    align-items:center;

    gap:35px;

    list-style:none;

}

.nav-links a{

    position:relative;

    color:var(--text-secondary);

    transition:.3s;

    font-weight:500;

}

.nav-links a:hover{

    color:white;

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.35s;

}

.nav-links a:hover::after{

    width:100%;

}

.theme-btn{

    width:48px;

    height:48px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    border:1px solid var(--border);

    color:white;

    transition:.35s;

}

.theme-btn:hover{

    transform:rotate(180deg);

    border-color:var(--primary);

    box-shadow:var(--glow);

}


/*==================================================
BOTÕES
==================================================*/

.btn{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    padding:15px 34px;

    border-radius:999px;

    font-weight:600;

    transition:.35s;

    background:var(--primary);

    color:white;

}

.btn:hover{

    transform:translateY(-4px);

    box-shadow:0 15px 30px rgba(34,197,94,.28);

}

.secondary-btn{

    background:transparent;

    border:1px solid var(--border);

}

.secondary-btn:hover{

    border-color:var(--primary);

}


/*==================================================
HERO
==================================================*/

.hero{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    align-items:center;

    gap:90px;

    min-height:90vh;

}

.hero-left{

    display:flex;

    flex-direction:column;

}

.hero-tag{

    display:inline-flex;

    width:max-content;

    padding:10px 20px;

    border-radius:999px;

    background:rgba(34,197,94,.08);

    color:var(--primary);

    border:1px solid rgba(34,197,94,.15);

    margin-bottom:22px;

}

.typed-line{

    min-height:30px;
    
    line-height: 1.4;
    color:var(--primary);

    font-weight:600;

    margin-bottom:18px;

}

.typed-text{
    color: inherit;
    min-height: 0;
    margin: 0;
}

.typed-cursor{
    display: inline-block;
    margin-left: 2px;
    color: var(--primary);
    font-weight: 500;
    vertical-align: baseline;
}

.hero h1{

    font-size:clamp(58px,7vw,88px);

    line-height:1.05;

    margin-bottom:28px;

}

.hero h1 span{

    color:var(--primary);

}

.hero-description{

    max-width:620px;

    line-height:1.9;

    color:var(--text-secondary);

    margin-bottom:42px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.hero-right{
    display:flex;

    justify-content:center;

}

.hero-photo{

    position:relative;

    width:420px;

    height:420px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero-photo img{

    width:340px;

    height:340px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid rgba(255,255,255,.08);

    box-shadow:0 25px 60px rgba(0,0,0,.35);

}

.photo-glow{

    position:absolute;

    width:390px;

    height:390px;

    border-radius:50%;

    background:radial-gradient(circle,
    rgba(34,197,94,.28),
    transparent 70%);

    filter:blur(35px);

    z-index:-1;

}

/*==================================================
SOBRE
==================================================*/

.about-section{

    position:relative;

}

.about-layout{

    display:grid;

    grid-template-columns:1.2fr .8fr;

    align-items:center;

    gap:70px;

}

.about-description{

    font-size:18px;

    color:var(--text-secondary);

    line-height:2;

}

.about-description p{

    margin-bottom:28px;

}

.about-description strong{

    color:white;

}

.about-description .btn{

    margin-top:15px;

}

.about-cards{

    display:grid;

    gap:22px;

}

.info-card{

    display:flex;

    align-items:center;

    gap:22px;

    padding:28px;

    border-radius:24px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.info-card:hover{

    transform:translateX(12px);

    border-color:var(--primary);

    box-shadow:var(--glow);

}

.info-card i{

    width:62px;

    height:62px;

    border-radius:18px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:24px;

    color:var(--primary);

    background:rgba(34,197,94,.08);

}

.info-card h3{

    font-size:20px;

    margin-bottom:6px;

}

.info-card p{

    color:var(--text-secondary);

}

/*==================================================
ESTATÍSTICAS
==================================================*/

.stats-section{

    margin-top:90px;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;

}

.stat-card{

    padding:38px 25px;

    text-align:center;

    border-radius:26px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.08);

    transition:.4s;

}

.stat-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:
    0 20px 45px rgba(0,0,0,.35),
    0 0 30px rgba(34,197,94,.18);

}

.stat-card h3{

    font-size:52px;

    color:var(--primary);

    margin-bottom:12px;

}

.stat-card span{

    display:block;

    color:var(--text-secondary);

    font-size:15px;

    line-height:1.7;

}

.available{

    background:
    linear-gradient(
    145deg,
    rgba(34,197,94,.12),
    rgba(255,255,255,.04));

}

.available h3{

    color:#6CFF8F;

}


/*==================================================
SKILLS
==================================================*/

.skills-section{

    margin-top:140px;

}

.skills-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:24px;

}

.skill-card{

    padding:35px;

    border-radius:26px;

    text-align:center;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.skill-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:var(--glow);

}

.skill-card i{

    font-size:52px;

    color:var(--primary);

    margin-bottom:20px;

}

.skill-card h3{

    font-size:22px;

    margin-bottom:10px;

}

.skill-card p{

    color:var(--text-secondary);

}

/*==================================================
CONTATO
==================================================*/

.contact-section{

    margin-top:140px;

}

.contact-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;

}

.contact-card{

    padding:35px;

    text-decoration:none;

    text-align:center;

    color:white;

    border-radius:26px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.contact-card:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

    box-shadow:var(--glow);

}

.contact-card i{

    font-size:40px;

    color:var(--primary);

    margin-bottom:18px;

}

.contact-card span{

    display:block;

    font-size:17px;

}

/*==================================================
FOOTER
==================================================*/

footer{

    margin-top:150px;

    padding:70px 0;

    border-top:1px solid rgba(255,255,255,.08);

}

.footer-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

}

.footer-top h3{

    font-size:28px;

    margin-bottom:12px;

}

.footer-top p{

    max-width:520px;

    color:var(--text-secondary);

    line-height:1.8;

}

.social-icons{

    display:flex;

    gap:18px;

}

.social-icons a{

    width:55px;

    height:55px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.social-icons a:hover{

    transform:translateY(-6px);

    border-color:var(--primary);

    box-shadow:var(--glow);

}

.social-icons i{

    font-size:22px;

}

/*==================================================
ANIMAÇÕES
==================================================*/

@keyframes float{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-12px);

    }

}

.tech{

    animation:float 5s ease-in-out infinite;

}

.tech:nth-child(2){

    animation-delay:.3s;

}

.tech:nth-child(3){

    animation-delay:.6s;

}

.tech:nth-child(4){

    animation-delay:.9s;

}

.tech:nth-child(5){

    animation-delay:1.2s;

}

.tech:nth-child(6){

    animation-delay:1.5s;

}

/*==================================================
FUNDO E EFEITOS GERAIS
==================================================*/

.background-effects{
    position:fixed;
    inset:0;
    z-index:-10;
    overflow:hidden;
    pointer-events:none;
}

.grid{
    position:absolute;
    inset:0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size:50px 50px;

    -webkit-mask-image:
        linear-gradient(to bottom, black, transparent 90%);

    mask-image:
        linear-gradient(to bottom, black, transparent 90%);
}

.gradient{
    position:absolute;

    width:700px;
    height:700px;

    top:-300px;
    right:-220px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(34,197,94,.14),
            transparent 70%
        );

    filter:blur(70px);
}

.bg-light{
    position:absolute;

    width:650px;
    height:650px;

    border-radius:50%;

    filter:blur(130px);

    opacity:.13;
}

.light-1{
    top:-250px;
    left:-220px;

    background:var(--primary);

    animation:moveLightOne 18s ease-in-out infinite;
}

.light-2{
    right:-230px;
    bottom:-260px;

    background:#0ea5e9;

    animation:moveLightTwo 22s ease-in-out infinite;
}

@keyframes moveLightOne{
    0%,
    100%{
        transform:translate(0,0);
    }

    50%{
        transform:translate(130px,90px);
    }
}

@keyframes moveLightTwo{
    0%,
    100%{
        transform:translate(0,0);
    }

    50%{
        transform:translate(-120px,-80px);
    }
}


/*==================================================
PARTÍCULAS
==================================================*/

#particles-js{
    position:fixed;
    inset:0;

    width:100%;
    height:100%;

    z-index:-8;

    pointer-events:none;
}


/*==================================================
CURSOR GLOW
==================================================*/

.cursor-glow{
    position:fixed;

    top:0;
    left:0;

    width:420px;
    height:420px;

    border-radius:50%;

    pointer-events:none;

    background:
        radial-gradient(
            circle,
            rgba(34,197,94,.15),
            rgba(34,197,94,.06),
            transparent 70%
        );

    filter:blur(55px);

    transform:translate(-50%,-50%);

    z-index:-5;

    opacity:1;

    transition:
        opacity .3s ease,
        width .3s ease,
        height .3s ease;
}

.cursor-glow.cursor-hover{
    width:500px;
    height:500px;
}


/*==================================================
FOTO DO HERO
==================================================*/

.hero-photo::before,
.hero-photo::after{
    content:"";

    position:absolute;

    border-radius:50%;

    pointer-events:none;
}

.hero-photo::before{
    width:390px;
    height:390px;

    border:1px solid rgba(34,197,94,.18);

    animation:rotateRing 18s linear infinite;
}

.hero-photo::after{
    width:450px;
    height:450px;

    border:1px dashed rgba(34,197,94,.10);

    animation:rotateRingReverse 24s linear infinite;
}

@keyframes rotateRing{
    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }
}

@keyframes rotateRingReverse{
    from{
        transform:rotate(360deg);
    }

    to{
        transform:rotate(0deg);
    }
}

.hero-photo img{
    position:relative;
    z-index:2;

    animation:photoFloat 5s ease-in-out infinite;
}

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

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


/*==================================================
TECNOLOGIAS AO REDOR DA FOTO
==================================================*/

.tech{
    position:absolute;
    z-index:5;

    width:58px;
    height:58px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0;

    border-radius:50%;

    background:rgba(15,20,16,.88);

    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,.10);

    color:var(--primary);

    box-shadow:
        0 12px 30px rgba(0,0,0,.32),
        inset 0 0 20px rgba(34,197,94,.025);

    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.tech i{
    font-size:27px;
    color:var(--primary);

    transition:
        transform .3s ease,
        color .3s ease;
}

.tech:hover{
    border-color:var(--primary);

    background:rgba(20,31,24,.95);

    box-shadow:
        0 0 30px rgba(34,197,94,.22),
        0 12px 30px rgba(0,0,0,.32);
}

.tech:hover i{
    transform:scale(1.15);
}

.tech .parallax{
    --tx:0px;
    --ty:0px;

    display:flex;
    align-items:center;
    justify-content:center;

    transform:translate(var(--tx),var(--ty));

    transition:transform .15s linear;

    will-change:transform;
}

.python{
    top:-8px;
    left:50%;
    transform:translateX(-50%);
}

.python:hover i{
    color:#3776ab;
}


.html{
    top:78px;
    left:-38px;
}

.html:hover i{
    color:#e34f26;
}

.css{
    bottom:78px;
    left:-32px;
}

.css:hover i{
    color:#1572b6;
}


.js{
    top:62px;
    right:-48px;
}

.js:hover i{
    color:#f7df1e;
}


.java{
    right:-54px;
    bottom:36px;
}

.java:hover i{
    color:#f89820;
}


.git{
    bottom:-5px;
    left:50%;
    transform:translateX(-50%);
}

.git:hover i{
    color:#f05032;
}


/*==================================================
BOTÃO VOLTAR AO TOPO
==================================================*/

.scroll-top{
    position:fixed;

    right:28px;
    bottom:28px;

    width:52px;
    height:52px;

    display:grid;
    place-items:center;

    border-radius:50%;

    background:rgba(18,24,20,.82);

    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);

    border:1px solid var(--border);

    color:#fff;

    font-size:21px;

    z-index:900;

    opacity:0;

    pointer-events:none;

    transform:translateY(18px);

    transition:
        opacity .3s ease,
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}

.scroll-top.show{
    opacity:1;

    pointer-events:auto;

    transform:translateY(0);
}

.scroll-top:hover{
    background:var(--primary);

    color:#071009;

    transform:translateY(-5px);

    box-shadow:var(--glow);
}


/*==================================================
TOAST
==================================================*/

.toast{
    position:fixed;

    top:-100px;
    left:50%;

    transform:translateX(-50%);

    padding:14px 24px;

    border-radius:14px;

    background:rgba(34,197,94,.92);

    color:#061008;

    font-weight:700;

    box-shadow:
        0 18px 45px rgba(0,0,0,.35);

    z-index:99999;

    transition:top .45s ease;
}

.toast.show{
    top:28px;
}


/*==================================================
REVEAL
==================================================*/

.reveal,
.reveal-left,
.reveal-right{
    opacity:0;

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal{
    transform:translateY(40px);
}

.reveal-left{
    transform:translateX(-55px);
}

.reveal-right{
    transform:translateX(55px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active{
    opacity:1;

    transform:translate(0,0);
}


/*==================================================
NAVBAR DURANTE O SCROLL
==================================================*/

/*
Aceita os dois nomes porque seu JavaScript antigo usa
.navbar-scroll, enquanto uma versão nova pode usar .scrolled.
*/

.navbar-scroll,
.navbar.scrolled{
    background:rgba(10,10,10,.84);

    box-shadow:
        0 15px 45px rgba(0,0,0,.38);

    backdrop-filter:blur(25px);
    -webkit-backdrop-filter:blur(25px);
}


/*==================================================
ACESSIBILIDADE: MENOS ANIMAÇÕES
==================================================*/

@media (prefers-reduced-motion:reduce){

    *,
    *::before,
    *::after{
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        scroll-behavior:auto !important;
        transition-duration:.01ms !important;
    }

}

/*==================================================
MODO CLARO — VARIÁVEIS
==================================================*/

html.light-mode,
body.light-mode{
    color-scheme:light;

    --bg:#f3f7f4;
    --bg-secondary:#eaf0ec;

    --card:rgba(255,255,255,.76);
    --glass:rgba(255,255,255,.70);

    --border:rgba(16,45,27,.12);

    --primary:#16a34a;
    --primary-dark:#15803d;

    --text:#122017;
    --text-secondary:#5d6b62;

    --shadow:
        0 20px 45px rgba(30,55,39,.10);

    --glow:
        0 0 35px rgba(22,163,74,.16);
}


/*==================================================
TRANSIÇÃO ENTRE TEMAS
==================================================*/

body,
.navbar,
.info-card,
.stat-card,
.project-card,
.skill-card,
.contact-card,
.social-icons a,
.tech,
.scroll-top,
.theme-btn,
.secondary-btn{
    transition:
        background-color .35s ease,
        color .35s ease,
        border-color .35s ease,
        box-shadow .35s ease,
        transform .35s ease;
}


/*==================================================
BODY E TEXTOS
==================================================*/

:where(html.light-mode, body.light-mode) body{
    background:var(--bg);
    color:var(--text);
}

:where(html.light-mode, body.light-mode) h1,
:where(html.light-mode, body.light-mode) h2,
:where(html.light-mode, body.light-mode) h3,
:where(html.light-mode, body.light-mode) h4,
:where(html.light-mode, body.light-mode) strong{
    color:var(--text);
}

:where(html.light-mode, body.light-mode) p{
    color:var(--text-secondary);
}

:where(html.light-mode, body.light-mode) .section-title h2{
    color:var(--text);
}

:where(html.light-mode, body.light-mode) .section-title span{
    color:var(--primary);
}


/*==================================================
NAVBAR
==================================================*/

:where(html.light-mode, body.light-mode) .navbar{
    background:rgba(255,255,255,.70);

    border-color:rgba(20,55,31,.11);

    box-shadow:
        0 15px 40px rgba(28,53,36,.08);

    backdrop-filter:blur(22px);
    -webkit-backdrop-filter:blur(22px);
}

:where(html.light-mode, body.light-mode) .navbar-scroll,
:where(html.light-mode, body.light-mode) .navbar.scrolled{
    background:rgba(255,255,255,.90);

    border-color:rgba(20,55,31,.12);

    box-shadow:
        0 16px 45px rgba(30,57,38,.13);
}

:where(html.light-mode, body.light-mode) .logo-white{
    color:var(--text);
}

:where(html.light-mode, body.light-mode) .nav-links a{
    color:var(--text-secondary);
}

:where(html.light-mode, body.light-mode) .nav-links a:hover,
:where(html.light-mode, body.light-mode) .nav-links a.active{
    color:var(--text);
}

:where(html.light-mode, body.light-mode) .theme-btn{
    color:var(--text);

    background:rgba(22,163,74,.07);

    border-color:rgba(22,163,74,.16);
}

:where(html.light-mode, body.light-mode) .theme-btn:hover{
    color:var(--primary-dark);

    background:rgba(22,163,74,.12);

    border-color:var(--primary);
}


/*==================================================
HERO
==================================================*/

:where(html.light-mode, body.light-mode) .hero-tag{
    color:var(--primary-dark);

    background:rgba(22,163,74,.08);

    border-color:rgba(22,163,74,.18);
}

:where(html.light-mode, body.light-mode) .typed-text{
    color:var(--primary);
}

:where(html.light-mode, body.light-mode) .hero-description{
    color:var(--text-secondary);
}

:where(html.light-mode, body.light-mode) .hero-photo img{
    border-color:rgba(19,50,29,.11);

    box-shadow:
        0 25px 60px rgba(30,56,38,.18);
}

:where(html.light-mode, body.light-mode) .hero-photo::before{
    border-color:rgba(22,163,74,.24);
}

:where(html.light-mode, body.light-mode) .hero-photo::after{
    border-color:rgba(22,163,74,.16);
}


/*==================================================
BOTÕES
==================================================*/

:where(html.light-mode, body.light-mode) .btn{
    color:#ffffff;
}

:where(html.light-mode, body.light-mode) .secondary-btn{
    color:var(--text);

    background:rgba(255,255,255,.55);

    border-color:var(--border);
}

:where(html.light-mode, body.light-mode) .secondary-btn:hover{
    color:var(--primary-dark);

    background:rgba(22,163,74,.08);

    border-color:var(--primary);
}


/*==================================================
SOBRE
==================================================*/

:where(html.light-mode, body.light-mode) .about-description{
    color:var(--text-secondary);
}

:where(html.light-mode, body.light-mode) .about-description strong{
    color:var(--text);
}

:where(html.light-mode, body.light-mode) .info-card{
    background:rgba(255,255,255,.72);

    border-color:var(--border);

    box-shadow:
        0 16px 38px rgba(30,55,38,.07);
}

:where(html.light-mode, body.light-mode) .info-card:hover{
    background:#ffffff;

    border-color:rgba(22,163,74,.35);

    box-shadow:
        0 20px 45px rgba(30,55,38,.11),
        0 0 28px rgba(22,163,74,.12);
}

:where(html.light-mode, body.light-mode) .info-card i{
    color:var(--primary-dark);

    background:rgba(22,163,74,.09);
}

:where(html.light-mode, body.light-mode) .info-card p{
    color:var(--text-secondary);
}


/*==================================================
ESTATÍSTICAS
==================================================*/

:where(html.light-mode, body.light-mode) .stat-card{
    background:rgba(255,255,255,.72);

    border-color:var(--border);

    box-shadow:
        0 16px 38px rgba(30,55,38,.07);
}

:where(html.light-mode, body.light-mode) .stat-card:hover{
    background:#ffffff;

    border-color:rgba(22,163,74,.32);

    box-shadow:
        0 22px 48px rgba(30,55,38,.12),
        0 0 28px rgba(22,163,74,.13);
}

:where(html.light-mode, body.light-mode) .stat-card h3{
    color:var(--primary-dark);
}

:where(html.light-mode, body.light-mode) .stat-card span{
    color:var(--text-secondary);
}

:where(html.light-mode, body.light-mode) .stat-card.available{
    background:
        linear-gradient(
            145deg,
            rgba(22,163,74,.13),
            rgba(255,255,255,.82)
        );
}

:where(html.light-mode, body.light-mode) .stat-card.available h3{
    color:var(--primary-dark);
}


/*==================================================
PROJETOS
==================================================*/

:where(html.light-mode, body.light-mode) .project-card{
    background:rgba(255,255,255,.76);

    border-color:var(--border);

    box-shadow:
        0 20px 50px rgba(29,54,37,.10);
}

:where(html.light-mode, body.light-mode) .project-card:hover{
    background:#ffffff;

    border-color:rgba(22,163,74,.34);

    box-shadow:
        0 26px 60px rgba(29,54,37,.14),
        0 0 35px rgba(22,163,74,.13);
}

:where(html.light-mode, body.light-mode) .project-content h3{
    color:var(--text);
}

:where(html.light-mode, body.light-mode) .project-content p{
    color:var(--text-secondary);
}

:where(html.light-mode, body.light-mode) .project-tech span{
    color:var(--primary-dark);

    background:rgba(22,163,74,.08);

    border-color:rgba(22,163,74,.18);
}


/*==================================================
TECNOLOGIAS
==================================================*/

:where(html.light-mode, body.light-mode) .skill-card{
    background:rgba(255,255,255,.72);

    border-color:var(--border);

    box-shadow:
        0 15px 36px rgba(29,54,37,.07);
}

:where(html.light-mode, body.light-mode) .skill-card:hover{
    background:#ffffff;

    border-color:rgba(22,163,74,.35);

    box-shadow:
        0 20px 44px rgba(29,54,37,.11),
        0 0 28px rgba(22,163,74,.12);
}

:where(html.light-mode, body.light-mode) .skill-card i{
    color:var(--primary-dark);
}

:where(html.light-mode, body.light-mode) .skill-card h3{
    color:var(--text);
}

:where(html.light-mode, body.light-mode) .skill-card p{
    color:var(--text-secondary);
}


/*==================================================
CONTATO
==================================================*/

:where(html.light-mode, body.light-mode) .contact-card{
    color:var(--text);

    background:rgba(255,255,255,.72);

    border-color:var(--border);

    box-shadow:
        0 15px 36px rgba(29,54,37,.07);
}

:where(html.light-mode, body.light-mode) .contact-card:hover{
    color:var(--text);

    background:#ffffff;

    border-color:rgba(22,163,74,.35);

    box-shadow:
        0 20px 44px rgba(29,54,37,.11),
        0 0 28px rgba(22,163,74,.12);
}

:where(html.light-mode, body.light-mode) .contact-card i{
    color:var(--primary-dark);
}


/*==================================================
FOOTER
==================================================*/

:where(html.light-mode, body.light-mode) footer{
    border-color:rgba(19,50,29,.11);
}

:where(html.light-mode, body.light-mode) .footer-top p{
    color:var(--text-secondary);
}

:where(html.light-mode, body.light-mode) .social-icons a{
    color:var(--text);

    background:rgba(255,255,255,.70);

    border-color:var(--border);

    box-shadow:
        0 12px 28px rgba(29,54,37,.07);
}

:where(html.light-mode, body.light-mode) .social-icons a:hover{
    color:var(--primary-dark);

    background:#ffffff;

    border-color:var(--primary);
}


/*==================================================
TECNOLOGIAS AO REDOR DA FOTO
==================================================*/

:where(html.light-mode, body.light-mode) .tech{
    color:var(--text);

    background:rgba(255,255,255,.86);

    border-color:rgba(19,50,29,.11);

    box-shadow:
        0 12px 30px rgba(30,55,38,.13);
}

:where(html.light-mode, body.light-mode) .tech:hover{
    color:var(--primary-dark);

    background:#ffffff;

    border-color:var(--primary);

    box-shadow:
        0 0 25px rgba(22,163,74,.18);
}


/*==================================================
FUNDO DO MODO CLARO
==================================================*/

:where(html.light-mode, body.light-mode) .grid{
    background-image:
        linear-gradient(
            rgba(16,48,27,.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(16,48,27,.045) 1px,
            transparent 1px
        );
}

:where(html.light-mode, body.light-mode) .gradient{
    background:
        radial-gradient(
            circle,
            rgba(22,163,74,.13),
            transparent 70%
        );
}

:where(html.light-mode, body.light-mode) .light-1{
    background:#22c55e;
    opacity:.10;
}

:where(html.light-mode, body.light-mode) .light-2{
    background:#38bdf8;
    opacity:.08;
}

:where(html.light-mode, body.light-mode) #particles-js{
    opacity:.42;
}

:where(html.light-mode, body.light-mode) .cursor-glow{
    opacity:.55;

    background:
        radial-gradient(
            circle,
            rgba(22,163,74,.13),
            rgba(22,163,74,.05),
            transparent 70%
        );
}


/*==================================================
VOLTAR AO TOPO
==================================================*/

:where(html.light-mode, body.light-mode) .scroll-top{
    color:var(--text);

    background:rgba(255,255,255,.86);

    border-color:var(--border);

    box-shadow:
        0 14px 34px rgba(29,54,37,.12);
}

:where(html.light-mode, body.light-mode) .scroll-top:hover{
    color:#ffffff;

    background:var(--primary);

    border-color:var(--primary);
}


/*==================================================
SCROLLBAR DO MODO CLARO
==================================================*/

:where(html.light-mode, body.light-mode) ::-webkit-scrollbar-track{
    background:#e7eee9;
}

:where(html.light-mode, body.light-mode) ::-webkit-scrollbar-thumb{
    background:var(--primary);
}


/*==================================================
SELEÇÃO DE TEXTO
==================================================*/

::selection{
    color:#ffffff;
    background:var(--primary);
}


/*==================================================
AJUSTES PARA CELULAR
==================================================*/

@media(max-width:768px){

    :where(html.light-mode, body.light-mode) .navbar{
        background:rgba(255,255,255,.88);
    }

    :where(html.light-mode, body.light-mode) .info-card,
    :where(html.light-mode, body.light-mode) .stat-card,
    :where(html.light-mode, body.light-mode) .project-card,
    :where(html.light-mode, body.light-mode) .skill-card,
    :where(html.light-mode, body.light-mode) .contact-card{
        background:rgba(255,255,255,.82);
    }

}

/*==================================================
NOVA SEÇÃO DE CONTATO
==================================================*/

.contact-section{
    margin-top:140px;
}

.contact-heading{
    max-width:720px;

    margin:0 auto 60px;

    text-align:center;
}

.contact-heading > span{
    display:block;

    margin-bottom:12px;

    color:var(--primary);

    font-size:13px;
    font-weight:700;

    letter-spacing:4px;

    text-transform:uppercase;
}

.contact-heading h2{
    margin-bottom:18px;

    font-size:clamp(38px,5vw,58px);
    line-height:1.1;
}

.contact-heading p{
    color:var(--text-secondary);

    font-size:17px;
    line-height:1.8;
}


/*==================================================
ESTRUTURA PRINCIPAL
==================================================*/

.contact-layout{
    display:grid;

    grid-template-columns:
        minmax(0,.9fr)
        minmax(0,1.1fr);

    align-items:center;

    gap:65px;
}


/*==================================================
INFORMAÇÕES
==================================================*/

.contact-label{
    display:block;

    margin-bottom:18px;

    color:var(--primary);

    font-size:12px;
    font-weight:700;

    letter-spacing:3px;
}

.contact-info h3{
    max-width:520px;

    margin-bottom:22px;

    font-size:clamp(29px,3vw,42px);
    line-height:1.25;
}

.contact-info > p{
    max-width:550px;

    margin-bottom:36px;

    color:var(--text-secondary);

    line-height:1.9;
}

.contact-details{
    display:flex;

    flex-direction:column;

    gap:20px;
}

.contact-detail{
    display:flex;

    align-items:center;

    gap:16px;

    width:max-content;
    max-width:100%;

    color:var(--text);

    text-decoration:none;

    transition:
        color .3s ease,
        transform .3s ease;
}

a.contact-detail:hover{
    color:var(--primary);

    transform:translateX(5px);
}

.contact-detail-icon{
    flex:0 0 48px;

    width:48px;
    height:48px;

    display:grid;

    place-items:center;

    border-radius:14px;

    color:var(--primary);

    background:rgba(34,197,94,.09);

    border:1px solid rgba(34,197,94,.16);
}

.contact-detail small{
    display:block;

    margin-bottom:4px;

    color:var(--text-secondary);

    font-size:12px;
}

.contact-detail strong{
    display:block;

    font-size:15px;
    font-weight:600;
}


/*==================================================
FORMULÁRIO
==================================================*/

.contact-form{
    padding:35px;

    border-radius:28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.065),
            rgba(255,255,255,.025)
        );

    border:1px solid rgba(255,255,255,.09);

    box-shadow:
        0 25px 60px rgba(0,0,0,.28);

    backdrop-filter:blur(22px);
    -webkit-backdrop-filter:blur(22px);
}

.form-row{
    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:16px;
}

.form-field{
    display:flex;

    flex-direction:column;

    gap:9px;

    margin-bottom:18px;
}

.form-field label{
    color:var(--text-secondary);

    font-size:13px;
    font-weight:600;
}

.form-field input,
.form-field textarea{
    width:100%;

    padding:15px 17px;

    border:1px solid rgba(255,255,255,.09);

    border-radius:13px;

    outline:none;

    color:var(--text);

    background:rgba(0,0,0,.22);

    font:inherit;

    transition:
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.form-field textarea{
    min-height:150px;

    resize:vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder{
    color:rgba(181,181,181,.62);
}

.form-field input:focus,
.form-field textarea:focus{
    border-color:var(--primary);

    background:rgba(34,197,94,.035);

    box-shadow:
        0 0 0 4px rgba(34,197,94,.09);
}

.contact-submit{
    width:100%;

    display:flex;

    align-items:center;
    justify-content:center;

    gap:10px;

    padding:15px 24px;

    border:1px solid var(--primary);

    border-radius:13px;

    color:#071009;

    background:var(--primary);

    font-size:14px;
    font-weight:700;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.contact-submit:hover{
    transform:translateY(-4px);

    background:#32db6c;

    box-shadow:
        0 15px 32px rgba(34,197,94,.24);
}


/*==================================================
CONTATOS PEQUENOS EMBAIXO
==================================================*/

.contact-socials{
    display:grid;

    grid-template-columns:repeat(4,minmax(0,1fr));

    gap:14px;

    margin-top:45px;
}

.contact-social-link{
    min-width:0;

    display:flex;

    align-items:center;
    justify-content:center;

    gap:10px;

    padding:18px 14px;

    border-radius:17px;

    color:var(--text);

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    text-decoration:none;

    transition:
        color .3s ease,
        transform .3s ease,
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.contact-social-link i{
    color:var(--primary);

    font-size:21px;
}

.contact-social-link span{
    font-size:14px;
    font-weight:600;
}

.contact-social-link:hover{
    color:var(--primary);

    transform:translateY(-5px);

    border-color:var(--primary);

    background:rgba(34,197,94,.07);

    box-shadow:
        0 12px 28px rgba(34,197,94,.10);
}


/*==================================================
MODO CLARO
==================================================*/

html.light-mode .contact-form,
body.light-mode .contact-form{
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.92),
            rgba(255,255,255,.72)
        );

    border-color:rgba(20,55,31,.11);

    box-shadow:
        0 25px 60px rgba(29,54,37,.10);
}

html.light-mode .form-field input,
html.light-mode .form-field textarea,
body.light-mode .form-field input,
body.light-mode .form-field textarea{
    color:var(--text);

    background:rgba(242,247,243,.88);

    border-color:rgba(20,55,31,.12);
}

html.light-mode .form-field input::placeholder,
html.light-mode .form-field textarea::placeholder,
body.light-mode .form-field input::placeholder,
body.light-mode .form-field textarea::placeholder{
    color:#7a877f;
}

html.light-mode .contact-social-link,
body.light-mode .contact-social-link{
    background:rgba(255,255,255,.75);

    border-color:rgba(20,55,31,.11);

    box-shadow:
        0 12px 28px rgba(29,54,37,.06);
}


/*==================================================
TABLET
==================================================*/

@media(max-width:900px){

    .contact-layout{
        grid-template-columns:1fr;

        gap:45px;
    }

    .contact-info{
        max-width:680px;
    }

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

}


/*==================================================
MOBILE
==================================================*/

@media(max-width:650px){

    .contact-heading{
        margin-bottom:42px;
    }

    .contact-heading p{
        font-size:15px;
    }

    .contact-layout{
        gap:36px;
    }

    .contact-info h3{
        font-size:29px;
    }

    .contact-info > p{
        font-size:15px;
    }

    .contact-detail{
        width:100%;
    }

    .contact-form{
        padding:22px;

        border-radius:21px;
    }

    .form-row{
        grid-template-columns:1fr;

        gap:0;
    }

    .form-field input,
    .form-field textarea{
        font-size:14px;
    }

    .contact-socials{
        gap:10px;

        margin-top:30px;
    }

    .contact-social-link{
        padding:15px 8px;

        border-radius:14px;
    }

    .contact-social-link i{
        font-size:18px;
    }

    .contact-social-link span{
        font-size:12px;
    }

}


/*==================================================
DESATIVA CURSOR GLOW EM DISPOSITIVOS TOUCH
==================================================*/

@media(hover:none), (pointer:coarse){

    .cursor-glow{
        display:none;
    }

}

/*==================================================
AÇÕES DA NAVBAR
==================================================*/

.nav-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.menu-toggle{
    display:none;

    width:48px;
    height:48px;

    place-items:center;

    border-radius:50%;

    color:var(--text);

    background:rgba(255,255,255,.05);

    border:1px solid var(--border);

    font-size:20px;

    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease;
}

.menu-toggle:hover{
    border-color:var(--primary);
    background:rgba(34,197,94,.10);
}

.menu-toggle.active{
    color:var(--primary);
    border-color:var(--primary);
}

.hero{
    margin-top: 5px;
}


/*==================================================
TABLET E MENU MOBILE
==================================================*/

@media(max-width:900px){

    body.menu-active{
        overflow:hidden;
    }

    main,
    .conteudo{
        width:min(100% - 36px, 760px);
        padding-top:110px;
    }

    section{
        margin:100px 0;
    }


    /* NAVBAR */

    .navbar{
        top:12px;

        width:calc(100% - 28px);

        padding:13px 18px;

        border-radius:20px;
    }

    .logo{
        font-size:23px;
    }

    .theme-btn,
    .menu-toggle{
        width:44px;
        height:44px;
    }

    .menu-toggle{
        display:grid;
    }

    .nav-links{
        position:absolute;

        top:calc(100% + 10px);
        left:0;

        width:100%;

        display:flex;
        flex-direction:column;
        align-items:stretch;

        gap:4px;

        padding:10px;

        border-radius:20px;

        background:rgba(10,10,10,.96);

        backdrop-filter:blur(25px);
        -webkit-backdrop-filter:blur(25px);

        border:1px solid var(--border);

        box-shadow:
            0 22px 55px rgba(0,0,0,.45);

        opacity:0;
        visibility:hidden;
        pointer-events:none;

        transform:translateY(-12px) scale(.98);

        transition:
            opacity .3s ease,
            visibility .3s ease,
            transform .3s ease;
    }

    .nav-links.menu-open{
        opacity:1;
        visibility:visible;
        pointer-events:auto;

        transform:translateY(0) scale(1);
    }

    .nav-links li{
        width:100%;
    }

    .nav-links a{
        display:block;

        width:100%;

        padding:14px 16px;

        border-radius:13px;

        color:var(--text);

        transition:
            color .25s ease,
            background .25s ease,
            padding-left .25s ease;
    }

    .nav-links a::after{
        display:none;
    }

    .nav-links a:hover{
        color:var(--primary);

        padding-left:22px;

        background:rgba(34,197,94,.09);
    }


    /* HERO */

    .hero{
        min-height:auto;

        grid-template-columns:1fr;

        gap:60px;

        padding-top:35px;

        text-align:center;
    }

    .hero-left{
        align-items:center;
    }

    .hero-right{
        order:-1;
    }

    .hero-tag{
        margin-inline:auto;
    }

    .hero h1{
        font-size:clamp(52px,10vw,74px);
    }

    .hero-description{
        max-width:650px;
        margin-inline:auto;
    }

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


    /* SOBRE */

    .about-layout{
        grid-template-columns:1fr;
        gap:50px;
    }

    .about-description{
        max-width:720px;
    }


    /* ESTATÍSTICAS */

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




    /* TECNOLOGIAS */

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


    /* CONTATO */

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


    /* FOOTER */

    .footer-top{
        flex-direction:column;

        text-align:center;
    }

    .footer-top p{
        margin-inline:auto;
    }

    .social-icons{
        justify-content:center;
    }


    /* MODO CLARO DO MENU */

    html.light-mode .nav-links,
    body.light-mode .nav-links{
        background:rgba(255,255,255,.96);

        box-shadow:
            0 22px 55px rgba(29,54,37,.18);
    }

}


/*==================================================
CELULARES
==================================================*/

@media(max-width:650px){

    main,
    .conteudo{
        width:calc(100% - 28px);
        padding-top:95px;
    }

    section{
        margin:82px 0;
    }

    .section-title{
        margin-bottom:38px;
    }

    .section-title span{
        font-size:12px;
        letter-spacing:3px;
    }

    .section-title h2{
        font-size:clamp(32px,10vw,42px);
    }


    /* NAVBAR */

    .navbar{
        width:calc(100% - 20px);

        padding:10px 12px;

        border-radius:17px;
    }

    .logo{
        gap:4px;

        font-size:20px;
    }

    .theme-btn,
    .menu-toggle{
        width:41px;
        height:41px;

        font-size:17px;
    }


    /* HERO */

    .hero{
        gap:38px;

        padding-top:25px;
    }

    .hero-photo{
        width:280px;
        height:280px;
    }

    .hero-photo img{
        width:225px;
        height:225px;
    }

    .hero-photo::before{
        width:255px;
        height:255px;
    }

    .hero-photo::after{
        width:280px;
        height:280px;
    }

    .photo-glow{
        width:270px;
        height:270px;
    }

    .hero-tag{
        padding:8px 15px;

        font-size:13px;

        margin-bottom:16px;
    }

    .typed-line{
        min-height:25px;

        font-size:14px;

        margin-bottom:14px;
    }

    .hero h1{
        font-size:clamp(43px,14vw,58px);

        margin-bottom:22px;
    }

    .hero-description{
        font-size:15px;
        line-height:1.75;

        margin-bottom:30px;
    }

    .hero-buttons{
        width:100%;

        gap:12px;
    }

    .hero-buttons .btn{
        flex:1;

        min-width:145px;

        padding:13px 18px;

        font-size:14px;
    }


    /* TECNOLOGIAS DA FOTO */
.tech{
    width:44px;
    height:44px;
}

.tech i{
    font-size:21px;
}

    .python{
        top:-4px;
    }

    .html{
        top:53px;
        left:-12px;
    }

    .css{
        bottom:53px;
        left:-9px;
    }

    .js{
        top:48px;
        right:-17px;
    }

    .java{
        right:-15px;
        bottom:43px;
    }

    .git{
        bottom:-5px;
    }


    /* SOBRE */

    .about-layout{
        gap:38px;
    }

    .about-description{
        font-size:16px;
        line-height:1.8;
    }

    .about-description p{
        margin-bottom:20px;
    }

    .about-description .btn{
        width:100%;
    }

    .about-cards{
        grid-template-columns:1fr;
        gap:14px;
    }

    .info-card{
        gap:16px;

        padding:20px;

        border-radius:19px;
    }

    .info-card:hover{
        transform:translateY(-5px);
    }

    .info-card i{
        flex:0 0 50px;

        width:50px;
        height:50px;

        border-radius:14px;

        font-size:20px;
    }

    .info-card h3{
        font-size:17px;
    }

    .info-card p{
        font-size:14px;
    }


    /* ESTATÍSTICAS */

    .stats-grid{
        gap:13px;
    }

    .stat-card{
        min-width:0;

        padding:25px 12px;

        border-radius:20px;
    }

    .stat-card h3{
        font-size:38px;

        margin-bottom:7px;
    }

    .stat-card span{
        font-size:13px;
        line-height:1.4;
    }


    /* PROJETOS */

    .projects-grid{
        gap:28px;
    }

    .project-card{
        border-radius:23px;
    }

    .project-image{
        height:clamp(190px,55vw,270px);
    }

    .project-content{
        padding:24px;
    }

    .project-content h3{
        font-size:25px;

        margin-bottom:13px;
    }

    .project-content p{
        font-size:14px;
        line-height:1.75;

        margin-bottom:20px;
    }

    .project-tech{
        gap:8px;

        margin-bottom:22px;
    }

    .project-tech span{
        padding:7px 12px;

        font-size:12px;
    }

    .project-buttons{
        gap:10px;
    }

    .project-buttons .btn{
        padding:12px 14px;

        font-size:13px;
    }


    /* TECNOLOGIAS */

    .skills-grid{
        gap:13px;
    }

    .skill-card{
        min-width:0;

        padding:23px 12px;

        border-radius:19px;
    }

    .skill-card i{
        font-size:37px;

        margin-bottom:13px;
    }

    .skill-card h3{
        font-size:17px;

        margin-bottom:7px;
    }

    .skill-card p{
        font-size:12px;
    }


    /* CONTATO */

    .contact-grid{
        gap:13px;
    }

    .contact-card{
        min-width:0;

        padding:25px 12px;

        border-radius:19px;
    }

    .contact-card i{
        font-size:30px;

        margin-bottom:12px;
    }

    .contact-card span{
        font-size:14px;
    }


    /* FOOTER */

    footer{
        margin-top:100px;

        padding:50px 0;
    }

    .footer-top{
        gap:28px;
    }

    .footer-top h3{
        font-size:21px;
    }

    .footer-top p{
        font-size:14px;
    }

    .social-icons{
        gap:11px;
    }

    .social-icons a{
        width:46px;
        height:46px;
    }


    /* BOTÃO VOLTAR AO TOPO */

    .scroll-top{
        right:16px;
        bottom:16px;

        width:46px;
        height:46px;
    }

}


/* ==================================================
   POLIMENTO DO CARROSSEL DE PROJETOS
================================================== */

.projects-carousel {
    position: relative;
overflow: visible;
    width: 100%;

    /* espaço para as setas respirarem */
    padding-inline: 10px;

    background: transparent !important;

    border: none !important;
    box-shadow: none !important;
}


/* ==================================================
   ÁREA DE ROLAGEM
================================================== */

.projects-section .projects-grid {
    background: transparent !important;

    border: none !important;
    outline: none !important;

    box-shadow: none !important;

    /*
    Espaço em cima/baixo para o hover e
    sombra dos cards não ficarem apertados.
    */
    padding-top: 18px;
    padding-bottom: 40px;

    /* pequeno espaço lateral */
    padding-left: 4px;
    padding-right: 4px;
}


/* Garante que nada apareça atrás do carrossel */

.projects-section .projects-grid::before,
.projects-section .projects-grid::after {
    background: transparent !important;
}


/* ==================================================
   CARDS
================================================== */

.projects-section .project-card {
    position: relative;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.28);

    isolation: isolate;
}


/* ==================================================
   SETAS
================================================== */

.project-arrow {
    width: 54px;
    height: 54px;

    top: 50%;

    border-radius: 50%;

    z-index: 30;

    background: rgba(14, 20, 16, 0.88);

    border: 1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    color: #ffffff;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        opacity 0.3s ease;
}


/* joga as setas mais para fora */

.project-arrow-left {
    left: -42px;
}

.project-arrow-right {
    right: -42px;
}


/* hover mais moderno */

.project-arrow:hover:not(:disabled) {
    background: var(--primary);

    border-color: var(--primary);

    color: #071009;

    transform:
        translateY(-50%)
        scale(1.08);

    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.28),
        0 0 26px rgba(34, 197, 94, 0.20);
}


/* seta indisponível */

.project-arrow:disabled {
    opacity: 0.28;

    cursor: default;

    pointer-events: none;
}


/* ==================================================
   MODO CLARO
================================================== */

/* =========================================
   REMOVE FUNDO/BORDAS ATRÁS DOS PROJETOS
   MODO CLARO
========================================= */

html.light-mode .projects-carousel,
body.light-mode .projects-carousel,
html.light-mode .projects-section .projects-grid,
body.light-mode .projects-section .projects-grid {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}


/* remove qualquer efeito criado por pseudo-elementos */

html.light-mode .projects-carousel::before,
html.light-mode .projects-carousel::after,
body.light-mode .projects-carousel::before,
body.light-mode .projects-carousel::after,
html.light-mode .projects-grid::before,
html.light-mode .projects-grid::after,
body.light-mode .projects-grid::before,
body.light-mode .projects-grid::after {
    content: none !important;
    display: none !important;
}


/* mantém SOMENTE os cards visíveis */

html.light-mode .project-card,
body.light-mode .project-card {
    background: rgba(255, 255, 255, 0.92) !important;

    border: 1px solid rgba(25, 60, 38, 0.10);

    box-shadow:
        0 18px 45px rgba(30, 55, 39, 0.10);
}

/* Cards */

html.light-mode .project-card,
body.light-mode .project-card {
    background: rgba(255, 255, 255, 0.82);

    border-color: rgba(25, 60, 38, 0.10);

    box-shadow:
        0 18px 45px rgba(30, 55, 39, 0.10);
}


/* Cards no hover */

html.light-mode .project-card:hover,
body.light-mode .project-card:hover {
    background: rgba(255, 255, 255, 0.96);

    border-color: rgba(22, 163, 74, 0.30);

    box-shadow:
        0 24px 55px rgba(30, 55, 39, 0.14),
        0 0 30px rgba(22, 163, 74, 0.08);
}


/* Setas no modo claro */

html.light-mode .project-arrow,
body.light-mode .project-arrow {
    color: #17251c;

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid rgba(25, 60, 38, 0.12);

    box-shadow:
        0 10px 28px rgba(30, 55, 39, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}


/* Hover */

html.light-mode .project-arrow:hover:not(:disabled),
body.light-mode .project-arrow:hover:not(:disabled) {
    background: var(--primary);

    border-color: var(--primary);

    color: #ffffff;

    box-shadow:
        0 12px 30px rgba(30, 55, 39, 0.16),
        0 0 25px rgba(22, 163, 74, 0.18);
}


/* =========================================
   RESPIRO NAS EXTREMIDADES DO CARROSSEL
========================================= */

.projects-section .projects-grid {
    padding:
        28px
        30px
        42px
        30px !important;
}

.projects-section .project-card:first-child {
    margin-left: 0 !important;
}

.projects-section .project-card:last-child {
    margin-right: 0 !important;
}

/* ==================================================
   PADRONIZAÇÃO DOS CARDS DE PROJETOS
================================================== */

.projects-section .project-card {
    display: flex;
    flex-direction: column;

    height: auto;
}


/* imagem sempre com a mesma proporção */

.projects-section .project-image {
    flex: 0 0 260px;

    width: 100%;
    height: 260px;
}


.projects-section .project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ==================================================
   CONTEÚDO
================================================== */

.projects-section .project-content {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 34px;
}


/* título */

.projects-section .project-content h3 {
    font-size: 30px;
    line-height: 1.2;

    /*
    reserva espaço para até 2 linhas,
    mesmo nos títulos menores
    */
    min-height: 72px;

    margin-bottom: 18px;
}


/* descrição */

.projects-section .project-content p {
    font-size: 15px;
    line-height: 1.9;

    color: var(--text-secondary);

    /*
    todos terão a mesma área para descrição
    */
    min-height: 86px;

    margin-bottom: 26px;
}


/* ==================================================
   TECNOLOGIAS
================================================== */

.projects-section .project-tech {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;

    gap: 10px;

    /*
    mantém a área das tecnologias
    proporcional em todos os cards
    */
    min-height: 46px;

    margin-bottom: 28px;
}


.projects-section .project-tech span {
    display: inline-flex;
    align-items: center;

    height: 32px;

    padding: 0 16px;

    border-radius: 999px;
}


/* ==================================================
   BOTÕES SEMPRE NO FINAL
================================================== */

.projects-section .project-buttons {
    display: flex;

    gap: 16px;

    width: 100%;

    /*
    ESSA É A PARTE MAIS IMPORTANTE
    empurra os botões para o final do card
    */
    margin-top: auto;
}


.projects-section .project-buttons .btn {
    flex: 1;

    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;
}



/*==================================================
CELULARES PEQUENOS
==================================================*/


/* ==================================================
   DESKTOP MENOR
================================================== */

@media (max-width: 1350px) {

    .project-arrow-left {
        left: -22px;
    }

    .project-arrow-right {
        right: -22px;
    }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {

    .projects-carousel {
        padding-inline: 0;
    }

   .projects-section .project-image {
        flex-basis: 230px;
        height: 230px;
    }

    .projects-section .project-content {
        padding: 24px;
    }

    .projects-section .project-content h3 {
        min-height: auto;

        font-size: 25px;
    }

    .projects-section .project-content p {
        min-height: auto;

        font-size: 14px;
    }

    .projects-section .project-tech {
        min-height: auto;
    }

}

    .project-arrow {
        display: none;
    }


    /* =========================================
   SETAS DESATIVADAS DO CARROSSEL
========================================= */

.project-arrow {
    opacity: 1;

    transition:
        opacity 0.35s ease,
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}


.project-arrow.is-disabled,
.project-arrow:disabled {
    opacity: 0.20 !important;

    pointer-events: none;

    cursor: default;
}


/* evita efeito hover quando estiver desativada */

.project-arrow.is-disabled:hover,
.project-arrow:disabled:hover {
    transform: translateY(-50%) !important;

    background: inherit;

    box-shadow: none;
}

/* =========================================
   ESTADO DAS SETAS DO CARROSSEL
========================================= */

.project-arrow {
    opacity: 1;

    transition:
        opacity 0.35s ease,
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.project-arrow.is-disabled,
.project-arrow:disabled {
    opacity: 0.18 !important;

    cursor: default;

    pointer-events: none;
}


/* modo claro */

html.light-mode .project-arrow.is-disabled,
html.light-mode .project-arrow:disabled,
body.light-mode .project-arrow.is-disabled,
body.light-mode .project-arrow:disabled {
    opacity: 0.22 !important;
}


@media(max-width:390px){

    main,
    .conteudo{
        width:calc(100% - 22px);
    }

    .logo{
        font-size:18px;
    }

    .nav-actions{
        gap:6px;
    }

    .theme-btn,
    .menu-toggle{
        width:38px;
        height:38px;
    }


    /* HERO */

    .hero-photo{
        width:235px;
        height:235px;
    }

    .hero-photo img{
        width:185px;
        height:185px;
    }

    .hero-photo::before{
        width:210px;
        height:210px;
    }

    .hero-photo::after{
        width:232px;
        height:232px;
    }

    .photo-glow{
        width:220px;
        height:220px;
    }

    .hero h1{
        font-size:41px;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .hero-buttons .btn{
        width:100%;
    }


    /* TECNOLOGIAS DA FOTO */

.tech{
    width:38px;
    height:38px;
}

.tech i{
    font-size:18px;
}
    .html{
        left:-5px;
    }

    .css{
        left:-2px;
    }

    .js{
        right:-8px;
    }

    .java{
        right:-6px;
    }


    /* CARDS */

    .stat-card{
        padding:21px 8px;
    }

    .stat-card h3{
        font-size:32px;
    }

    .skill-card{
        padding:20px 8px;
    }

    .skill-card i{
        font-size:32px;
    }

    .skill-card h3{
        font-size:15px;
    }

    .contact-card{
        padding:22px 8px;
    }

    .project-content{
        padding:20px;
    }

}


/*==================================================
DISPOSITIVOS TOUCH
==================================================*/

@media(hover:none), (pointer:coarse){

    .project-card:hover,
    .skill-card:hover,
    .contact-card:hover,
    .stat-card:hover,
    .info-card:hover{
        transform:none;
    }

    .cursor-glow{
        display:none;
    }

}

/*==================================================
PROJETOS — CARROSSEL HORIZONTAL
Bloco definitivo: manter no final do arquivo
==================================================*/

.projects-section{
    margin-top:140px;
}

.projects-carousel{
    position:relative;
    width:100%;
    min-width:0;
}

.projects-section .projects-grid{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    width:100%;
    min-width:0;
    gap:28px;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scroll-behavior:smooth;
    scroll-snap-type:x mandatory;
    overscroll-behavior-inline:contain;
    padding:12px 4px 30px;
    scrollbar-width:none;
    -ms-overflow-style:none;
    -webkit-overflow-scrolling:touch;
}

.projects-section .projects-grid::-webkit-scrollbar{
    display:none;
}

.projects-section .project-card{
    flex:0 0 calc(50% - 14px) !important;
    width:calc(50% - 14px) !important;
    min-width:calc(50% - 14px) !important;
    max-width:none !important;
    margin:0 !important;
    scroll-snap-align:start;
    scroll-snap-stop:always;
    overflow:hidden;
    border-radius:32px;
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(24px);
    -webkit-backdrop-filter:blur(24px);
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 20px 50px rgba(0,0,0,.35);
    transition:
        transform .4s ease,
        border-color .4s ease,
        box-shadow .4s ease;
}

.projects-section .project-card:hover{
    transform:translateY(-10px);
    border-color:var(--primary);
    box-shadow:
        0 25px 60px rgba(0,0,0,.4),
        0 0 40px rgba(34,197,94,.16);
}

.projects-section .project-image{
    width:100%;
    height:260px;
    overflow:hidden;
}

.projects-section .project-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .5s ease;
}

.projects-section .project-card:hover .project-image img{
    transform:scale(1.04);
}

.projects-section .project-content{
    padding:34px;
}

.projects-section .project-content h3{
    font-size:30px;
    margin-bottom:18px;
}

.projects-section .project-content p{
    color:var(--text-secondary);
    line-height:1.9;
    margin-bottom:28px;
}

.projects-section .project-tech{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:30px;
}

.projects-section .project-tech span{
    padding:8px 18px;
    border-radius:999px;
    background:rgba(34,197,94,.08);
    border:1px solid rgba(34,197,94,.18);
    color:var(--primary);
    font-size:14px;
}

.projects-section .project-buttons{
    display:flex;
    gap:16px;
}

.projects-section .project-buttons .btn{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.project-arrow{
    position:absolute;
    top:50%;
    z-index:20;
    width:52px;
    height:52px;
    display:grid;
    place-items:center;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.12);
    color:#fff;
    background:rgba(13,18,15,.92);
    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);
    font-size:18px;
    box-shadow:0 12px 30px rgba(0,0,0,.35);
    transform:translateY(-50%);
    transition:
        background .3s ease,
        border-color .3s ease,
        color .3s ease,
        transform .3s ease,
        opacity .3s ease;
}

.project-arrow:hover{
    background:var(--primary);
    border-color:var(--primary);
    color:#071009;
    transform:translateY(-50%) scale(1.08);
}

.project-arrow-left{ left:-26px; }
.project-arrow-right{ right:-26px; }

:where(html.light-mode, body.light-mode) .project-arrow{
    color:var(--text);
    background:rgba(255,255,255,.92);
    border-color:var(--border);
    box-shadow:0 12px 30px rgba(29,54,37,.12);
}

:where(html.light-mode, body.light-mode) .project-arrow:hover{
    color:#fff;
    background:var(--primary);
    border-color:var(--primary);
}

@media(max-width:768px){
    .projects-section .projects-grid{
        gap:18px !important;
        padding-inline:2px;
    }

    .projects-section .project-card{
        flex:0 0 88% !important;
        width:88% !important;
        min-width:88% !important;
    }

    .projects-section .project-image{
        height:clamp(190px,55vw,250px);
    }

    .projects-section .project-content{
        padding:24px;
    }

    .projects-section .project-content h3{
        font-size:25px;
        margin-bottom:13px;
    }

    .projects-section .project-content p{
        font-size:14px;
        line-height:1.75;
        margin-bottom:20px;
    }

    .projects-section .project-tech{
        gap:8px;
        margin-bottom:22px;
    }

    .projects-section .project-tech span{
        padding:7px 12px;
        font-size:12px;
    }

    .projects-section .project-buttons{
        gap:10px;
    }

    .projects-section .project-buttons .btn{
        padding:12px 14px;
        font-size:13px;
    }

    .project-arrow{
        display:none !important;
    }
}

@media(max-width:390px){
    .projects-section .project-card{
        flex:0 0 94% !important;
        width:94% !important;
        min-width:94% !important;
    }

    .projects-section .project-content{
        padding:20px;
    }
}

@media(hover:none), (pointer:coarse){
    .projects-section .project-card:hover{
        transform:none;
    }
}


@media (max-width: 768px) {

    .projects-section .project-card {
        flex: 0 0 94% !important;

        width: 94% !important;
        min-width: 94% !important;
    }

    .projects-section .projects-grid {
        gap: 14px !important;

        padding-left: 10px !important;
        padding-right: 10px !important;
    }

}

@media (max-width: 390px) {

    .projects-section .project-card {
        flex: 0 0 96% !important;

        width: 96% !important;
        min-width: 96% !important;
    }

}
