.carousel-card-content {
  /* Centraliza vertical e horizontalmente */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%; /* garante altura total do conteúdo */
  padding: 1rem  /* padding consistente */;
  text-align: center;
  background-color: white; /* fundo branco */
  color: #000; /* texto preto */
  font-weight: bold; /* negrito */
}

.counter::before {
  content: "+";
  margin-right: 2px;
  font-weight: bold;
}

.carousel-item img {
  max-height: 250px;
  object-fit: contain;
  margin: 0 auto;
}

.carousel-caption {
  position: static;
  padding-top: 0.5rem;
  color: #000;
}

.carousel-container {
  max-width: 960px;
  margin: 24px auto;
  padding: 16px;
  position: relative;
}

.custom-carousel {
  position: relative;
  height: 304px;
  overflow: visible;
  margin: 0 56px;
}

.carousel-item-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 208px;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.carousel-item-custom.left {
  left: 0;
  opacity: 0.6;
  transform: translateY(-50%) scale(0.8);
  filter: brightness(0.8);
  z-index: 1;
}

.carousel-item-custom.center {
  left: 50%;
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
  z-index: 3;
  filter: brightness(1);
}

.carousel-item-custom.right {
  right: 0;
  opacity: 0.6;
  transform: translateY(-50%) scale(0.8);
  filter: brightness(0.8);
  z-index: 1;
}

.carousel-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.carousel-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.carousel-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* Remove duplicação, pois .carousel-card-content já está com display flex e centralizado */
.carousel-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  line-height: 1.3;
}

.carousel-card-text {
  font-size: 0.72rem;
  color: black;
  line-height: 1.4;
  margin-bottom: 16px;
  flex-grow: 1;
  /* Se quiser, pode forçar o texto principal preto e negrito aqui, 
     mas já está no container */
}

.carousel-card-btn {
  background: #001f3f;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.68rem;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
}

.carousel-card-btn:hover {
    color:#001f3f ;
  background: white;
  transform: translateY(-2px);
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(150, 150, 150, 0.2);
  border: 1px solid rgba(200, 200, 200, 0.3);
  color: #888;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(5px);
}

.carousel-nav-btn:hover {
  background: rgba(100, 100, 100, 0.3);
  color: #666;
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev {
  left: 12px;
}

.carousel-nav-btn.next {
  right: 12px;
}

.carousel-indicators-custom {
  text-align: center;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.indicator.active {
  background: #888;
  transform: scale(1.2);
}

/* RESPONSIVO */
@media (max-width: 992px) {
  .custom-carousel {
    height: 280px;
    margin: 0 48px;
  }
  .carousel-item-custom {
    width: 192px;
  }
  .carousel-card-img {
    height: 144px;
  }
}

@media (max-width: 768px) {
  .carousel-container {
    padding: 12px;
    margin: 16px auto;
  }
  .custom-carousel {
    height: 256px;
    margin: 0 40px;
  }
  .carousel-item-custom {
    width: 176px;
  }
  .carousel-card-img {
    height: 128px;
  }
  .carousel-card-content {
    padding: 12px;
  }
}

@media (max-width: 576px) {
  .custom-carousel {
    height: 224px;
    margin: 0 32px;
  }
  .carousel-item-custom {
    width: 144px;
  }
  .carousel-card-img {
    height: 112px;
  }
  .carousel-card-content {
    padding: 10px;
  }
  .carousel-nav-btn.prev {
    left: 4px;
  }
  .carousel-nav-btn.next {
    right: 4px;
  }
}

@media (max-width: 400px) {
  .custom-carousel {
    height: 200px;
    margin: 0 28px;
  }
  .carousel-item-custom {
    width: 120px;
  }
  .carousel-card-img {
    height: 100px;
  }
}
