/* ===========================
   CAROUSEL — DESKTOP
   =========================== */

#main-carousel {
    margin-top: 0;
}

#main-carousel .xxcarousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	background: transparent;
}

#main-carousel .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 80vh;
}

#main-carousel .carousel-caption {
	left: 0; 
	right: 0; 
	width: 100%;
    background: rgba(0, 0, 0, 0.5);
    padding: .4rem .75rem;
    border-radius: 0px;
    bottom: 0rem !important;
	text-align: center;
}

#main-carousel .carousel-item .carousel-caption {
    bottom: 0;
}


#main-carousel .carousel-caption h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

#main-carousel .carousel-caption p {
    font-size: 1.2rem;
}

#main-carousel .carousel-item,
#main-carousel .carousel-item::after,
#main-carousel .carousel-item::before {
    background: transparent !important;
}

.carousel-indicators {
    display: none !important;
}



/* ===========================
   CAROUSEL — MOBILE
   =========================== */

@media (max-width: 768px) {

    /* Slide ajustado */
	
	#main-carousel .carousel-item, 
	#main-carousel .carousel-item img { 
	height: 30vh !important;
	object-fit: cover;
	}	
	
    /* Caption full-width e acima dos botões */
    #main-carousel .carousel-caption {
        width: 100%;
        left: 0;
        right: 0;
        transform: none;
        bottom: 3rem;
        text-align: center;
        background: rgba(0, 0, 0, 0.45);
        padding: 0.6rem 0.8rem;
        border-radius: 4;
        z-index: 1;
		font-size: 0.85rem;
    }

    #main-carousel .carousel-caption h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    #main-carousel .carousel-caption h2 {
        font-size: 1rem;
    }

    /* Indicadores escondidos */
    #main-carousel .carousel-indicators {
        display: none;
    }


    #main-carousel .carousel-caption {
        bottom: 0.2rem;
        padding: 0.5rem 0.75rem;
    }

    #main-carousel .carousel-caption h2 {
        font-size: 1.1rem;
    }
	
	.carousel-indicators {
    display: none !important;
	}
	
}





/* GRUPO de Botoes para cada slide */

.carousel-buttons {
    display: none;
    margin-top: 10px;
    position: relative;
    z-index: 10;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-slide {
    background: #1e3a8a;
    color: #fff;
    padding: 8px 10px;
    font-size: .9rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-slide:hover {
    background: #274bbf;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .carousel-buttons {
        display: flex; /* garantir que ativa em mobile */
    }

    .carousel-buttons .btn-slide {
        flex: 0 0 calc(50% - 10px); /* 2 por linha */
        text-align: center;
        padding: 6px 8px !important;
        font-size: 0.75rem;
        border-radius: 6px;
        margin-top: 1px;
    }
}


.text-mobile {
    display: none;
}

@media (max-width: 768px) {
    .text-desktop {
        display: none !important;
    }
    .text-mobile {
        display: inline !important;
    }
}


