/* ========================= */
/* RESET */
/* ========================= */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    color:#fff;
    overflow-x:hidden;

    background-color:#06061a;

    background-image:

    radial-gradient(
        circle at 0% 20%,
        rgba(64, 64, 255, 0.7) 0%,
        transparent 20%
    ),


    radial-gradient(
        circle at 0% 100%,
        rgba(25, 25, 25, 0.7) 0%,
        transparent 25%
    ),

    radial-gradient(
        circle at 80% 90%,
      rgba(64, 64, 255, 0.7) 0%,
        transparent 18%
    ),

    linear-gradient(
        135deg,
        #05051a 0%,
        #090933 40%,
        #12003d 100%
    );

    background-attachment:fixed;

    position:relative;
}

/* ========================= */
/* EFEITO BLUR */
/* ========================= */

body::before{
    content:'';

    position:fixed;
    inset:0;

    backdrop-filter:blur(60px);

    pointer-events:none;

    z-index:-1;
}

/* ========================= */
/* GLOBAL */
/* ========================= */

.container{
    width:100%;
    max-width:1300px;
    margin:0 auto;
    padding:0 40px;
}

section{
    position:relative;
    padding:120px 0;
}

.blur{
    position:absolute;
    width:500px;
    height:500px;
    background:radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    filter:blur(80px);
    z-index:-1;
}

.blur.one{
    top:-150px;
    left:-150px;
}

.blur.two{
    right:-200px;
    bottom:-150px;
}

.title{
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:3px;
    color:#8d8d8d;
    margin-bottom:18px;
}

h1{
    font-size:clamp(52px, 8vw, 110px);
    line-height:0.95;
    font-weight:800;
    letter-spacing:-5px;
}

h2{
    font-size:clamp(38px, 5vw, 72px);
    letter-spacing:-3px;
    margin-bottom:20px;
}

p{
    color:#b7b7b7;
    line-height:1.8;
    font-size:17px;
}

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

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
}

.hero-wrapper{
    display:flex;
    align-items:center;
    gap:70px;
    flex-wrap:wrap;
}

.hero-image{
    width:220px;
    height:220px;
    border-radius:50%;
    overflow:hidden;
    position:relative;

    background:linear-gradient(
        145deg,
        rgba(255,255,255,0.2),
        rgba(255,255,255,0.03)
    );

    padding:6px;

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

.hero-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
}

.hero-content{
    max-width:750px;
}

.hero-content h1{
    font-size:clamp(52px, 8vw, 110px);
    line-height:0.95;
    font-weight:800;
    letter-spacing:-5px;
    margin-bottom:20px;
}

.hero-content h2{
    font-size:clamp(24px, 3vw, 42px);
    font-weight:500;
    color:#cfcfcf;
    letter-spacing:-1px;
    margin-bottom:30px;
}

.hero-content p{
    max-width:650px;
    font-size:20px;
    line-height:1.8;
}

/* BOTÕES */

.contacts{
    margin-top:45px;
    display:flex;
    flex-wrap:wrap;
    gap:18px;
}

.contacts a{
    text-decoration:none;
    color:#fff;
    padding:16px 26px;
    border:1px solid rgba(255,255,255,0.1);
    background:rgba(255,255,255,0.03);
    border-radius:100px;
    transition:.4s;
    backdrop-filter:blur(20px);
}

.contacts a:hover{
    transform:translateY(-4px);
    background:#fff;
    color:#000;
}

/* ANIMAÇÃO FOTO */

@keyframes float{

    0%{
        transform:translateY(0px);
    }

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

    100%{
        transform:translateY(0px);
    }

}

/* RESPONSIVO */

@media(max-width:900px){

    .hero-wrapper{
        flex-direction:column;
        align-items:flex-start;
    }

    .hero-image{
        width:180px;
        height:180px;
    }

}

@media(max-width:768px){

    .hero{
        padding-top:120px;
    }

    .hero-content h1{
        letter-spacing:-2px;
    }

    .hero-content p{
        font-size:18px;
    }

}

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

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
    margin-top:60px;
}

.skill-card{
    padding:45px;
    border-radius:32px;
    background:linear-gradient(
        145deg,
        rgba(255,255,255,0.08),
        rgba(255,255,255,0.02)
    );

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

    transition:.5s;
    overflow:hidden;
    position:relative;
}

.skill-card::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.08),
        transparent
    );

    transform:translateX(-100%);
    transition:1s;
}

.skill-card:hover::before{
    transform:translateX(100%);
}

.skill-card:hover{
    transform:translateY(-10px);
}

.skill-card h3{
    font-size:32px;
    margin-bottom:18px;
    letter-spacing:-1px;
}

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

/* ========================= */
/* SOFTWARES */
/* ========================= */

/* ========================= */
/* SOFTWARES */
/* ========================= */

.software-wrapper{
    overflow:hidden;
    position:relative;
    margin-top:70px;
    width:100%;
}

.software-track{
    display:flex;
    align-items:center;
    gap:22px;

    width:max-content;

    animation:scroll 28s linear infinite;
}

.software{
    min-width:140px;
    height:100px;

    border-radius:28px;

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

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

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

    backdrop-filter:blur(20px);

    transition:.4s;
}

.software img{
    width:48px;
    height:48px;

    object-fit:contain;

    opacity:.9;

    transition:.4s;
}

.software:hover{
    transform:translateY(-6px);
    background:rgba(255,255,255,0.08);
}

.software:hover img{
    transform:scale(1.12);
    opacity:1;
}

@keyframes scroll{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }

}

/* ========================= */
/* PORTFOLIO */
/* ========================= */

.portfolio-grid{
    margin-top:70px;

    display:grid;
    grid-template-columns:repeat(4,1fr);
    grid-auto-rows:240px;
    gap:20px;
}

.item{
    position:relative;
    overflow:hidden;
    border-radius:32px;
    background:#111;
    cursor:pointer;
}

.item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:1s;

    position:relative;
    z-index:2;
}

.item::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,0.6),
        transparent
    );

    pointer-events:none;
}

.item:hover img{
    transform:scale(1.08);
}

.item.large{
    grid-column:span 2;
    grid-row:span 2;
}

.item.vertical{
    grid-row:span 2;
}

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

footer{
    padding:50px 0;
    border-top:1px solid rgba(255,255,255,0.08);
}

.footer-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
}

footer p{
    font-size:14px;
}

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

.reveal{
    opacity:0;
    transform:translateY(60px);
    transition:1s ease;
}

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

/* ========================= */
/* RESPONSIVO */
/* ========================= */

@media(max-width:980px){

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

    .item.large{
        grid-column:span 2;
    }

}

@media(max-width:768px){

    section{
        padding:90px 0;
    }

    .container{
        padding:0 24px;
    }

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

    .item.large,
    .item.vertical{
        grid-column:span 1;
        grid-row:span 1;
    }

    h1{
        letter-spacing:-2px;
    }

}
/* ========================= */
/* LIGHTBOX */
/* ========================= */

.lightbox{
    position:fixed;
    inset:0;

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

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

    z-index:9999;

    opacity:0;
    visibility:hidden;

    transition:.4s;
    backdrop-filter:blur(20px);

    padding:40px;
}

.lightbox.active{
    opacity:1;
    visibility:visible;
}

.lightbox-image{
    max-width:90%;
    max-height:90vh;

    border-radius:24px;

    transform:scale(.9);

    transition:.4s;
}

.lightbox.active .lightbox-image{
    transform:scale(1);
}

.close-lightbox{
    position:absolute;
    top:30px;
    right:40px;

    font-size:50px;
    color:#fff;

    cursor:pointer;

    transition:.3s;
}

.close-lightbox:hover{
    transform:scale(1.1);
}

.whatsapp-float{
  position: fixed;
  width: 64px;
  height: 64px;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: 0.3s ease;
}

.whatsapp-float:hover{
  transform: translateY(-4px) scale(1.05);
}