.carousel {
  width: 825px;
  height: 100px;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  margin: auto;
}

.carousel-track {
  display: flex;
  transition: transform 1s ease-in-out;
}

.carousel-item {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  transition: transform 0.6s ease-in-out;
}

.carousel-item:hover img {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Responsivo */
@media (max-width: 768px) {
  .carousel {
    max-width: 330px;   /* largura do banner pequeno */
    height: 76px;       /* altura do banner pequeno */
  }

  .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: contain; /* garante que não corte a imagem */
  }
}