/* ==========================================================
   HERO
========================================================== */

#hero{

    position:relative;

    display:flex;

    align-items:center;

    min-height:100vh;

    overflow:hidden;

    background:

        url("../assets/imagens/piata-vista-da-serra_resultado.webp")

        center center / cover no-repeat;

}


/* ==========================================================
   SOBREPOSIÇÃO
========================================================== */

.hero-overlay{

    position:absolute;

    inset:0;

    background:

        linear-gradient(
            180deg,
            rgba(6,18,24,.45) 0%,
            rgba(6,18,24,.58) 45%,
            rgba(6,18,24,.72) 100%
        );

}


/* ==========================================================
   CONTAINER
========================================================== */

#hero .container{

    position:relative;

    z-index:2;

    width:min(1200px,92%);

    margin:0 auto;

}


/* ==========================================================
   CONTEÚDO
========================================================== */

.hero-content{

    max-width:760px;

    color:#FFFFFF;

}


/* ==========================================================
   KICKER
========================================================== */

.hero-kicker{

    display:inline-flex;

    align-items:center;

    gap:.6rem;

    margin-bottom:1.5rem;

    padding:.55rem 1rem;

    border:1px solid rgba(255,255,255,.18);

    border-radius:999px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(8px);

    font-size:.88rem;

    letter-spacing:.12rem;

    text-transform:uppercase;

}


/* ==========================================================
   TÍTULO
========================================================== */

.hero-content h1{

    margin-bottom:1.5rem;

    font-size:clamp(3.5rem,8vw,6rem);

    font-weight:700;

    line-height:1;

    text-shadow:

        0 4px 20px rgba(0,0,0,.35);

}


/* ==========================================================
   TEXTO
========================================================== */

.hero-content p{

    max-width:680px;

    margin-bottom:2.5rem;

    font-size:clamp(1.1rem,2vw,1.35rem);

    line-height:1.8;

    color:rgba(255,255,255,.95);

}


/* ==========================================================
   BOTÕES
========================================================== */

.hero-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:1rem;

}


/* ==========================================================
   BOTÃO BASE
========================================================== */

.hero-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:1rem 2rem;

    border-radius:999px;

    text-decoration:none;

    font-weight:600;

    transition:

        transform .3s ease,

        background .3s ease,

        color .3s ease,

        border-color .3s ease;

}


/* ==========================================================
   BOTÃO PRINCIPAL
========================================================== */

.hero-btn-primary{

    background:#1F4D3A;

    color:#FFFFFF;

}

.hero-btn-primary:hover{

    transform:translateY(-4px);

    background:#295E49;

}


/* ==========================================================
   BOTÃO SECUNDÁRIO
========================================================== */

.hero-btn-secondary{

    border:2px solid rgba(255,255,255,.8);

    color:#FFFFFF;

    background:rgba(255,255,255,.05);

}

.hero-btn-secondary:hover{

    transform:translateY(-4px);

    background:rgba(255,255,255,.14);

}


/* ==========================================================
   INDICADOR
========================================================== */

.scroll-indicator{

    position:absolute;

    left:50%;

    bottom:2rem;

    transform:translateX(-50%);

    color:#FFFFFF;

    font-size:2rem;

    text-decoration:none;

    animation:heroBounce 2.2s infinite;

    z-index:3;

}


@keyframes heroBounce{

    0%,20%,50%,80%,100%{

        transform:translateX(-50%) translateY(0);

    }

    40%{

        transform:translateX(-50%) translateY(-12px);

    }

    60%{

        transform:translateX(-50%) translateY(-6px);

    }

}


/* ==========================================================
   RESPONSIVO
========================================================== */

@media(max-width:900px){

    .hero-content{

        max-width:100%;

    }

}


@media(max-width:768px){

    #hero{

        text-align:center;

    }

    .hero-content{

        margin:0 auto;

    }

    .hero-buttons{

        justify-content:center;

    }

    .hero-content h1{

        font-size:clamp(3rem,12vw,4.5rem);

    }

    .hero-content p{

        font-size:1.05rem;

        line-height:1.7;

    }

}