


.servicos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.servico-card {
  width: 320px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.servico-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}

/* imagem */
.servico-card .imagem {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.servico-card .imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.servico-card:hover .imagem img {
  transform: scale(1.1);
}

/* descrição que aparece no hover */
.servico-card .descricao {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #a03234c7;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 20px;
  box-sizing: border-box;
}

.servico-card:hover .descricao {
  opacity: 1;
}

.servico-card .descricao p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* título fixo abaixo */
.servico-card h3 {
  margin: 15px 0;
  font-size: 1.2rem;
  color: #2c73df;
}

/* responsivo */
@media (max-width: 768px) {
  .servico-card {
    width: 90%;
  }
}
