.cards-servicos {
  padding: 60px 0;
  background-color: aliceblue;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.expand-card {
  background: #ffffff;
  border: 1px solid rgba(2, 60, 84, 0.12);
  border-radius: 22px;
  min-height: 110px;
  padding: 22px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.expand-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 60, 84, 0.06);
  color: #023c54;
  font-size: 1.3rem;
  margin-bottom: 14px;
  transition: all 0.35s ease;
}

.expand-card-content h3 {
  font-size: 1.35rem;
  color: #1f1f1f;
  margin-bottom: 10px;
}

.expand-card-content p {
  color: #5f6875;
  line-height: 1.6;
  margin: 0;
  opacity: 0;
  max-height: 0;
  transform: translateY(8px);
  transition: all 0.35s ease;
}

/* Hover desktop */
.expand-card:hover {
  min-height: 220px;
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(2, 60, 84, 0.12);
  border-color: rgba(2, 60, 84, 0.22);
}

.expand-card:hover .expand-card-icon {
  background: #023c54;
  color: #ffffff;
}

.expand-card:hover .expand-card-content p {
  opacity: 1;
  max-height: 200px;
  transform: translateY(0);
}

/* Tablet */
@media (max-width: 991.98px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Celular */
@media (max-width: 767.98px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .expand-card {
    min-height: auto;
  }

  .expand-card-content p {
    opacity: 1;
    max-height: 300px;
    transform: translateY(0);
  }
}