/* === CAROUSEL JAFREAL STYLE === */

/* Ajusta altura e margem */
.carousel {
  margin-bottom: 4rem;
  margin-top: 0;
}

/* Estilo base dos slides */
.carousel-item {
  height: 34rem;
  position: relative;
  background-color: #0C853F; /* fallback */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay escuro para contraste */
.carousel-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(12, 133, 63, 0.7));
  z-index: 1;
}

/* Legendas no topo da imagem */
.carousel-caption {
  bottom: 3rem;
  z-index: 2;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.carousel-caption h2 {
  color: #FEFEFE;
  font-size: 4rem;
  font-weight: bolder;
}

.carousel-caption p {
  font-size: 1.25rem;
  line-height: 1.4;
  color: #FBFAEC;
}

/* Indicadores (bolinhas) */
.carousel-indicators [data-bs-target] {
  background-color: #D2FB83;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  transition: background-color 0.3s;
}

.carousel-indicators .active {
  background-color: #E8C73F;
}

/* Botões de navegação */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  background-size: 50% 50%;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: #0C853F;
  transform: scale(1.05);
}

/* Responsivo */
@media (min-width: 40em) {
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 2.5rem;
  }
}
