/* Carrossel principal (hero) - sobrescreve detalhes do style.css */

.carrossel {
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.15));
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
  height: auto;
  max-height: 80vh;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.banner {
  display: flex;
  transition: transform 0.3s ease-in-out;
  transform: translateX(0);
  width: 100%;
  height: 100%;
}

.banner img {
  margin: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  flex: 0 0 100%;
  display: block;
  background-color: transparent;
}

/* Botões do carrossel principal */

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  font-size: 22px;
  transition: background 0.15s, transform 0.15s;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
  left: 12px;
}

.carousel-btn.next {
  right: 12px;
}

/* Responsivo do carrossel principal */

@media (max-width: 768px) {
  .carrossel {
    max-height: 70vh;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .carousel-btn.prev {
    left: 8px;
  }

  .carousel-btn.next {
    right: 8px;
  }
}

@media (max-width: 480px) {
  .carrossel {
    max-height: 50vh;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}