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

:root{
    --yellow: #FFE55C;
    --pink:   #FF6B9D;
    --blue:   #4ECBFF;
    --green:  #5BFFA0;
    --dark:   #0D0D0D;
    --offwhite: #F5F2EB;
}
html{scroll-behavior: smooth;}
body{
    font-family: 'DM Sans', sans-serif;
    background:var(--dark);
    color:var(--offwhite);
    overflow-x:hidden;
}

/* --CURSOR-- */
.cursor{
    width: 18px; height: 18px;
    background: var(--yellow);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform .12s ease, background .2s;
    mix-blend-mode: difference;
}

/*--NAV--*/
nav{
    position: fixed; top:0;left: 0;right: 0;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 3rem;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.logo{
    font-family: 'Syne', sans-serif;
    font-weight: 800; font-size: 1.2rem;
    color:var(--yellow);
    text-decoration: none;
}
.nav-links{
    display: flex; gap: 2.5rem; list-style:none;
}
.nav-links a{
    color:var(--offwhite);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 300;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .7;
    transition: opacity .2s color .2s;
}
.nav-links a:hover{opacity: 1; color: var(--yellow);}

/*--HERO--*/
#hero{
    min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center;
    padding:8rem 3rem 4rem;
    position: relative;
    overflow: hidden;
}
.hero-bg-shape{
    position:absolute;
    border-radius: 50%;
    filter:blur(80px);
    opacity: .25;
    pointer-events: none;
}
.shape-1{width: 500px; height: 500px; background:var(--pink); top: -100px; right: -100px;}
.shape-2{width: 350px; height: 350px; background:var(--blue); bottom: 0; left: -80;}
.shape-3{width: 250px; height: 250px; background:var(--green); top: 40%; right: 25%;}
.hero-tag{
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255,255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 100px;
    padding: .4rem 1rem;
    font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
    color:var(--green);
    width: fit-content;
    margin-bottom: 2rem;
    animation: fadeUp .7s ease both;
}
.hero-tag::before{
    content: '';
    display: block;width: 7px; height: 7px;
    background: var(--green); border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100%{opacity: 1;} 50% {opacity: .3;}
}
h1{
    font-family: 'Syne', sans-serif;
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.03em;
    animation: fadeUp .7s .1s ease both;
}
h1 .highlight{
    -webkit-text-stroke: 2px var(--yellow);
    color: transparent;
}
.hero-sub{
    max-width: 480px;
    margin-top: 2rem;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(245, 242, 235, .65);
    animation: fadeUp .7s .2s ease both;
}
.hero-cta{
    display: flex; gap:1rem;flex-wrap: wrap;
    margin-top: 3rem;
    animation:fadeUp .7s .3s ease both;
}
.btn-primary{
    display: inline-flex; align-items: center; gap: 10px;
    background:var(--yellow); color: var(--dark);
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: .9rem; letter-spacing: .04em;
    padding: .9rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    transition: transform .2s; box-shadow:.2s;   
}
.btn-primary:hover{transform:translateY(-3px); box-shadow: 0 12px 30px rgba(255, 229, 92, .3);}
.btn-outline{
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid rgba(255, 255, 255, .2); color: var(--offwhite);
    font-size: .9rem; letter-spacing: .04em;
    padding: .9rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    transition: border-color .2s, background .2s;
}
.btn-outline:hover{border-color: var(--offwhite);background: rgba(255, 255, 255, .05);}
.hero-scroll{
    position: absolute; bottom: 2.5rem; left: 50%;
    transform: translateX(-50%);
    display: flex;flex-direction: column; align-items: center; gap: 8px;
    font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
    color: rgba(255, 255, 255, .3);
    animation: fadeUp .7s .5s ease both;
}
.scroll-line{
    width: 1px; height: 40px;
    background:linear-gradient(to bottom, rgba(255,255,255, .3), transparent);
    animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim{
    0%, 100% {transform: scaleY(1); opacity: 1;}
    50% {transform:scaleY(.5); opacity: .3;}
}
@keyframes fadeUp{
    from {opacity: 0; transform: translateY(24px);}
    to {opacity: 1; transform: translateY(0);}
}
/*--SECTION SHARED--*/
section{padding: 7rem 3rem;}
.section-label{
    font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
    color:var(--pink); font-weight: 500;
    margin-bottom: 1rem;
}
.section-title{
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 3.5rem;
}
/*--SOBRE--*/
#sobre {background:#111;}
.sobre-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
}
.sobre-text p {
    font-size: 1rem; line-height: 1.8;
    color: rgba(245, 242, 235, .7);
    margin-bottom: 1.2rem;
}
.skills-list{
    display: flex; flex-wrap: wrap; gap: .6rem;
    margin-top: 2rem;
}
.skill-tag{
    padding: .4rem 1rem;
    border-radius: 100px;
    font-size: .8rem; font-weight: 500;
    border: 1px solid;
}
.skill-tag.y{border-color: var(--yellow); color: var(--yellow);}
.skill-tag.p{border-color: var(--pink); color: var(--pink);}
.skill-tag.b{border-color: var(--blue); color: var(--blue);}
.skill-tag.g{border-color: var(--green); color: var(--green);}

.sobre-card{
    background:rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex; flex-direction: column; gap: 2rem;
}
.stat{text-align: center;}
.stat-num{
    font-family: 'Syne', sans-serif;
    font-size: 3rem; font-weight: 800;
    color: var(--yellow);
    display: block;
}
.stat-desc{font-size: .85rem; color: rgba(255, 255, 255, .4); margin-top: .2rem;}
.stat-divider{height: 1px; background:rgba(255, 255, 255, .07);}

/*--PROJETOS--*/
#projetos{background:var(--dark)}
.projetos-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px, 1fr));
    gap:1.5rem;
    max-width: 1100px;
}
.project-card{
    border-radius:20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    transition:transform .25s, box-shadow .25s;
    cursor: pointer;
}
.project-card:hover{transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0, 0, 0, .4);}
.project-thumb{
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
}
.project-thumb.t1 { background: linear-gradient(135deg, #1a0533, #4a1060); }
.project-thumb.t2 { background: linear-gradient(135deg, #001a33, #003d75); }
.project-thumb.t3 { background: linear-gradient(135deg, #0a2200, #1c5c00); }
.project-info{padding: 1.5rem; background:#161616}
.project-name{
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem; font-weight: 700;
    margin-bottom: .5rem;
}
.project-desc{
    font-size: .85rem;line-height: 1.6;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 1rem;
}
.project-tags{display: flex; gap: .5rem;flex-wrap: wrap;}
.project-tag{
    font-size: .7rem; padding: .25rem .7rem;
    background: rgba(255, 255, 255, .07);
    border-radius: 100px;
    color: rgba(255, 255, 255, .5);
}
/* ── CONTATO ── */
    #contato {
      background: #111;
      text-align: center;
    }
    .contato-inner { max-width: 600px; margin: 0 auto; }
    #contato .section-title { margin-bottom: 1rem; }
    .contato-sub {
      font-size: 1rem; line-height: 1.7;
      color: rgba(255,255,255,.5);
      margin-bottom: 3rem;
    }
    .contato-links {
      display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
    }
    .contact-pill {
      display: inline-flex; align-items: center; gap: 8px;
      padding: .8rem 1.6rem;
      border-radius: 100px;
      font-size: .9rem;
      text-decoration: none;
      border: 1px solid rgba(255,255,255,.15);
      color: var(--offwhite);
      transition: background .2s, border-color .2s, transform .2s;
    }
    .contact-pill:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
    .contact-pill svg { width: 16px; height: 16px; }

    /* ── FOOTER ── */
    footer {
      text-align: center;
      padding: 2.5rem 3rem;
      font-size: .8rem;
      color: rgba(255,255,255,.2);
      border-top: 1px solid rgba(255,255,255,.05);
    }

    /* ── REVEAL ANIMATION ── */
    .reveal {
      opacity: 0; transform: translateY(30px);
      transition: opacity .7s ease, transform .7s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    /* ── RESPONSIVE ── */
    @media (max-width: 768px) {
      nav { padding: 1.2rem 1.5rem; }
      .nav-links { display: none; }
      #hero, section { padding-left: 1.5rem; padding-right: 1.5rem; }
      .sobre-grid { grid-template-columns: 1fr; gap: 2rem; }
    }