/* CSS pour la grille de services */

.service-grid {
  display: grid;
  grid-template: repeat(2, 1fr) / repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  justify-content: center;
  align-items: center;
}

.service-card {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  transition: all 0.3s ease;
  margin: 0 auto;
  text-decoration: none;
  border: none;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: none !important;
}

.service-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 65%,
    rgba(0, 0, 0, 0.7) 85%,
    rgba(0, 0, 0, 0.8)
  );
  z-index: 2;
  pointer-events: none;
}

.service-card span {
  position: relative;
  z-index: 3;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
  padding: 0.75rem 1rem;
  width: 100%;
  position: absolute;
  bottom: 30px;
  background-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
  .service-grid {
    grid-template: repeat(4, 1fr) / 1fr;
    gap: 2rem;
  }

  .service-card {
    width: 220px;
    height: 220px;
  }

  .service-card span {
    font-size: 1.1rem;
    bottom: 25px;
  }
}
