/************************ HERO SECTION ***************************/

h1 {
    font-size: clamp(35px, 1rem + 2vw, 50px);
}

/* banner animação*/
.container-heroSol {
    position: relative;
    width: 25vw;
    height: 25vw;
}

.imagem-heroSol {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.heroSol-1 {
    animation: fadeOut 0.5s forwards;
    animation-delay: 1000ms;
}

.heroSol-2 {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    animation-delay: 1000ms;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;

    }
}

.conteudo-hero {
    background-color: var(--third-color);
    padding: 2rem;
    text-align: center;
}

.countdown-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-family: "Londrina Solid", sans-serif;
    font-size: 3rem;
    font-weight: 100;
    width: 90px;
    color: var(--bg);
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--text-color);
    border-radius: 20px;
}


.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-color);
    letter-spacing: 1px;
}

/*********** SEGUNDO BLOCO *************/
section.segundo-bloco {
    display: flex;
    min-height: 70vh;
    justify-content: center;
    align-items: center;
}

/********** DESTAQUES *************/
.destaques-wrapper {
    position: relative;
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: hidden;
}

.destaques-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.destaques-carousel__item {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 700px;
    width: 100%;
    max-height: 270px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--glass-efect);
    padding: 20px;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    /*estado inicial do item*/
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%) scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Item Ativo (Centro) */
.destaques-carousel__item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-50%) scale(1);
    z-index: 3;
}



/* Item Anterior */
.destaques-carousel__item.prev {
    opacity: 0.3;
    visibility: visible;
    transform: translateY(-150%) translateX(-50%) scale(0.7);
    z-index: 2;
}

/* Item Seguinte */
.destaques-carousel__item.next {
    opacity: 0.3;
    visibility: visible;
    transform: translateY(50%) translateX(-50%) scale(0.7);
    z-index: 2;
}

/* Setas */
.carousel-controls {
    z-index: 10;
}

/* img */
.destaques-carousel__item-img {
    width: 300px;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    flex-shrink: 0;
}

.destaques-carousel__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/***************** SECÇÃO MAPAS ******************/
.events-map-container {
    margin-top: 5rem !important;
}

iframe.mapa-eventos,
#googleMap {
    width: 100%;
    min-height: 400px;
    height: 100%;
}

/*************** RECURSOS ****************/
.recursos-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
    min-height: 450px;
    overflow: hidden;
    padding: 2rem 0;
}

.recursos-carousel {
    position: relative;
    flex-grow: 1;
    height: 100%;
}

.recursos-carousel__item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--glass-efect);
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    transform: translate(-50%, -50%) translateX(100%) scale(0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.recursos-carousel__item.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) translateX(0) scale(1);
    z-index: 3;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.recursos-carousel__item.prev {
    opacity: 0.3;
    visibility: visible;
    transform: translate(-50%, -50%) translateX(-110%) scale(0.8);
    z-index: 2;
}

.recursos-carousel__item.next {
    opacity: 0.3;
    visibility: visible;
    transform: translate(-50%, -50%) translateX(110%) scale(0.8);
    z-index: 2;
}

.recursos-body .badge {
    background: var(--primary-color);
    color: var(--sky-night);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.nav-arrow.btn-eclipse.left {
    margin: 0 1rem;
    position: relative;
    left: -13px;
}

.nav-arrow.btn-eclipse.right {
    margin: 0 1rem;
    position: relative;
    right: -13px;
}



.parcerias svg {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
}

@media (max-width: 575px) {

    .destaques-carousel__item h3,
    .destaques-carousel__item p,
    .destaques-carousel__item a,
    .destaques-carousel__item p.homepage-p {
        font-size: 14px;
    }

}