.baterias-blue {
  background-color: #00239c;
  color: #fff;
  padding: 50px 0;
}

.baterias-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.battery-card {
  position: relative;
  width: 335px;
  height: 330px; 
  background-color: #00bb09; 
  border-radius: 20px 0px;
  text-align: center;
  padding: 30px 20px 40px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: box-shadow 0.3s ease; 
}

/* Imagem */
.battery-card img {
  width: auto;
  height: 180px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
  transition: transform 0.3s ease;
  object-fit: cover;
}

/* Título */
.battery-card h3 {
  font-size: 1rem;
  color: #000;
  margin: 10px 0;
  z-index: 2;
  position: relative;
}

/* Ícone “+” */
.battery-card .battery-icon {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  z-index: 2;
  position: relative;
  transition: opacity 0.3s ease;
}

/* Botão inicialmente invisível */
.battery-card .bateria-button {
  opacity: 0;
  pointer-events: none;
  background-color: #00239c;
  color: #fff;
  border: none;
  border-radius: 16px 0px;
  padding: 10px 20px;
  font-weight: 600;
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

/* Fundo branco parcial */
.battery-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 60%;
  background-color: #fff;
  border-radius: 12px 12px 0 0;
  transition: bottom 0.3s ease;
  z-index: 1;
}

/* ====== HOVER ====== */
.battery-card:hover::after { bottom: 0; }
.battery-card:hover .bateria-button { opacity: 1; pointer-events: all; }
.battery-card:hover .battery-icon { opacity: 0; }
.battery-card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); }
.battery-card:hover img { transform: scale(1.05); }

/* ====== Dots ====== */
.carousel-indicators {
  position: relative;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
  border: none;
}

.carousel-indicators .active {
  opacity: 1;
  transform: scale(1.2);
  background-color: #00bb09;
}

/* ====== Botão principal ====== */
.baterias-button-wrapper {
  text-align: center;
  margin-top: 25px;
  font-weight: 600;

}

.button-green {
  display: inline-block;
  background-color: #42AE5B;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 12px 120px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button-green:hover {
  background-color: #009a08;
}

/* ====== Responsividade ====== */
@media (max-width: 768px) {
  .baterias-container {
    max-width: 100%;
    padding: 0;
  }
  .battery-card {
    width: 90%;
    margin: 0 auto;
  }
}




@media (max-width: 767px) {
  .carousel-item .d-flex {
    flex-wrap: nowrap;
    justify-content: center;
  }

  .depo-card {
    flex: 0 0 80%;
    max-width: 300px;
  }
}
