/* Services Section */
.services-section {
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 80px);
  background: #ebebeb;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 100px);
  align-items: flex-start;
}

.services-content {
  max-width: 600px;
  position: sticky;
  top: 170px;
}

.services-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 20px 0;
  color: #1f2937;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.services-heading::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(135deg, #3b82f6 0%, #8163d1 100%);
  border-radius: 2px;
  display: none;
}

.services-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4b5563;
  margin: 30px 0 0 0;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-right: 20px;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  padding-bottom: 56px; /* Espace pour la flèche */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden; /* Respecte le border-radius */
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(135deg, #3b82f6 0%, #8163d1 100%);
  transition: width 0.3s ease;
  border-radius: 0;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.service-card:hover::after {
  width: 100%;
}

.service-card:hover .service-arrow {
  transform: translate(4px, -4px);
  opacity: 1;
}

.service-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  opacity: 0.6;
  transition: all 0.3s ease;
  color: #3b82f6;
}

.service-icon {
  width: 120px;
  height: 120px;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 2rem;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.service-content {
  flex: 1;
}

.service-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #1f2937;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #6b7280;
  margin: 0;
}

/* Responsive */


@media (max-width: 768px) {
  .services-section {
    padding: clamp(40px, 6vw, 60px) clamp(16px, 4vw, 24px);
  }

  .services-container {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }

  .services-content {
    position: static;
  }

  .services-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .services-description {
    font-size: 1rem;
  }

  .services-list {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .service-card {
    padding: 24px;
    padding-bottom: 52px; /* Espace pour la flèche sur mobile */
    flex-direction: row;
    gap: 20px;
  }

  .service-icon {
    width: 100px;
    height: 100px;
    min-width: 100px;
    font-size: 1.6rem;
  }

  .service-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 32px 16px;
  }

  .services-heading {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }

  .services-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 20px;
  }

  .service-card {
    padding: 20px;
    gap: 16px;
  }

  .service-icon {
    margin-top: 15px;
    width: 85px;
    height: 85px;
    min-width: 85px;
    font-size: 1.4rem;
    margin-bottom: 0;
  }

  .service-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .service-description {
    font-size: 0.9rem;
  }
}
