/* Container principal */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  padding: 20px;
}

/* Agrupa título, caixa e texto */
.card-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
  text-align: center;
}

/* Caixa (imagem grande) */
.card {
  width: 100%;
  aspect-ratio: 2 / 2;
  overflow: hidden;
  background-color: #333;
  transition: transform 0.3s ease;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 15px white);
}

/* ======== RESPONSIVIDADE ======== */
@media (max-width: 768px) {
  .card-group {
    width: 90%;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .card-group {
    width: 40%;
  }
}

@media (min-width: 1200px) {
  .card-group {
    width: 40%;
  }
}
