/* =============================================================
   HERO CARROSSEL
============================================================= */

.hero-carousel {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
    background: #10183f;
}

.hero-carousel .carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    width: 100%;
    height: 100%;
}

.hero-carousel .carousel-item {
    position: relative;
}


/* IMAGEM */

.hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.01);
}


/* EFEITO DE ESCURECIMENTO */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 18, 60, 0.92) 0%,
            rgba(10, 18, 60, 0.72) 45%,
            rgba(10, 18, 60, 0.25) 100%
        );
}


/* CONTEÚDO */

.hero-carousel .hero-content {
    position: relative;
    z-index: 2;

    height: 100%;

    display: flex;
    align-items: center;

    color: #fff;
}


.hero-carousel .hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 20px;

    color: #ffc107;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}


.hero-carousel h1 {
    margin-bottom: 20px;

    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.05;
    font-weight: 800;

    color: #fff;
}


.hero-carousel .lead {
    max-width: 650px;

    font-family: 'Open Sans', sans-serif;
    font-size: 1.15rem;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.9);
}


/* BOTÃO */

.hero-carousel .btn-accent {
    padding: 13px 25px;
    font-weight: 700;
}


/* INDICADORES */

.hero-carousel .carousel-indicators {
    z-index: 5;

    margin-bottom: 35px;
}


.hero-carousel .carousel-indicators button {
    width: 35px;
    height: 4px;

    margin: 0 5px;

    border: 0;
    border-radius: 10px;

    opacity: 0.55;
}


.hero-carousel .carousel-indicators button.active {
    background-color: #ffc107;
    opacity: 1;
}


/* SETAS */

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    z-index: 4;

    width: 8%;
}


.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 42px;
    height: 42px;

    padding: 10px;

    background-color: rgba(0, 0, 0, 0.25);

    background-size: 55%;

    border-radius: 50%;
}


/* ANIMAÇÃO DA IMAGEM */

.hero-carousel .carousel-item.active .hero-image {
    animation: heroZoom 7s ease-out forwards;
}


@keyframes heroZoom {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.06);
    }

}


/* =============================================================
   MOBILE
============================================================= */

@media (max-width: 767.98px) {

    .hero-carousel {
        height: 570px;
    }


    .hero-image {
        object-position: center;
    }


    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(10, 18, 60, 0.72) 0%,
                rgba(10, 18, 60, 0.90) 100%
            );
    }


    .hero-carousel .hero-content {
        padding: 40px 25px;
    }


    .hero-carousel h1 {
        font-size: 2.6rem;
    }


    .hero-carousel .lead {
        font-size: 1rem;
    }


    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }


    .hero-carousel .carousel-indicators {
        margin-bottom: 25px;
    }

}
