/* ==============================================
   SERVICES LIST PAGE - MINIMAL STYLES WITH IMAGES
   ============================================== */

/* Services Section */
.services-minimal-section {
  padding: 4rem 0 5rem;
  background: #fafafa;
}

/* Services List */
.services-minimal-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Service Item */
.service-minimal-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0;
  background: white;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0, 31, 77, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-minimal-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-secondary);
  box-shadow: 0 15px 40px rgba(0, 31, 77, 0.12);
}

/* Image */
.service-minimal-image {
  width: 200px;
  height: 140px;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary), #003366);
}

.service-minimal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-minimal-item:hover .service-minimal-image img {
  transform: scale(1.08);
}

.service-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), #003366);
  color: rgba(255, 255, 255, 0.3);
  font-size: 2.5rem;
}

/* Icon Badge */
.service-minimal-icon {
  position: absolute;
  left: 170px;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  border-radius: 14px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  z-index: 2;
  transition: all 0.3s ease;
}

.service-minimal-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.service-minimal-icon i {
  font-size: 1.35rem;
  color: var(--color-secondary);
}

.service-minimal-item:hover .service-minimal-icon {
  background: var(--color-secondary);
  transform: translateY(-50%) scale(1.1);
}

.service-minimal-item:hover .service-minimal-icon i {
  color: white;
}

/* Content */
.service-minimal-content {
  flex: 1;
  min-width: 0;
  padding: 1.25rem 1.5rem 1.25rem 2.5rem;
}

.service-minimal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.service-minimal-desc {
  color: #667085;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Arrow */
.service-minimal-arrow {
  width: 45px;
  height: 45px;
  margin-right: 1.5rem;
  border-radius: 50%;
  background: rgba(0, 31, 77, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.service-minimal-arrow i {
  font-size: 0.9rem;
  color: #667085;
  transition: all 0.3s ease;
}

.service-minimal-item:hover .service-minimal-arrow {
  background: var(--color-secondary);
}

.service-minimal-item:hover .service-minimal-arrow i {
  color: white;
  transform: translateX(2px);
}

/* Empty State */
.services-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(0, 31, 77, 0.08);
}

.services-empty i {
  font-size: 3rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.services-empty h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.services-empty p {
  color: #667085;
  margin: 0;
}

/* CTA Section */
.services-cta-minimal {
  padding: 4rem 0;
  background: white;
}

.cta-minimal-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-minimal-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.cta-minimal-content p {
  color: #667085;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.cta-minimal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--color-secondary);
  color: white;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-minimal-btn:hover {
  background: #e07b00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}

.cta-minimal-btn i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.cta-minimal-btn:hover i {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
  .service-minimal-item {
    flex-direction: column;
    padding: 0;
  }

  .service-minimal-image {
    width: 100%;
    height: 180px;
  }

  .service-minimal-icon {
    left: 50%;
    top: 150px;
    transform: translateX(-50%);
  }

  .service-minimal-item:hover .service-minimal-icon {
    transform: translateX(-50%) scale(1.1);
  }

  .service-minimal-content {
    padding: 2.5rem 1.5rem 1.5rem;
    text-align: center;
  }

  .service-minimal-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .service-minimal-image {
    height: 150px;
  }

  .service-minimal-icon {
    top: 120px;
    width: 50px;
    height: 50px;
  }

  .service-minimal-icon i {
    font-size: 1.15rem;
  }
}

/* Animation d'entrée */
.service-minimal-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s ease forwards;
}

.service-minimal-item:nth-child(1) {
  animation-delay: 0.1s;
}
.service-minimal-item:nth-child(2) {
  animation-delay: 0.15s;
}
.service-minimal-item:nth-child(3) {
  animation-delay: 0.2s;
}
.service-minimal-item:nth-child(4) {
  animation-delay: 0.25s;
}
.service-minimal-item:nth-child(5) {
  animation-delay: 0.3s;
}
.service-minimal-item:nth-child(6) {
  animation-delay: 0.35s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
