/* --- STYLES ET THÈME SOMBRE DE LA PAGE SERVICES --- */
body[data-page="services"] {
  background-color: #0f172a;
  color: #f8fafc;
}

.page-header {
  padding: 70px 0 30px 0;
  background: radial-gradient(circle at top center, #1e293b 0%, #0f172a 100%);
  text-align: center;
}

.section-head .kicker {
  color: #f97316;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.2px;
}

.section-head h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 10px 0 15px 0;
}

.section-head p {
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.6;
}

.services-section {
  padding: 40px 0 80px 0;
  background: #0f172a;
}

/* Spine central */
.services-spine {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.services-spine::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom, #334155 0, #334155 6px, transparent 6px, transparent 14px);
  opacity: 0.6;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 0 50px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-row:nth-child(even) {
  grid-template-columns: 1fr 1.15fr;
}

.service-row:nth-child(even) .service-visual { order: 2; }
.service-row:nth-child(even) .service-content { order: 1; }

.service-row::before {
  content: attr(data-fiche);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0f172a;
  border: 2px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  z-index: 3;
  transition: all 0.3s ease;
}

.service-row.is-visible::before {
  border-color: #f97316;
  color: #f97316;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.4);
}

/* Visuels */
.service-visual {
  position: relative;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #334155;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.9);
}

.service-row:hover .service-visual img {
  transform: scale(1.08);
  filter: brightness(1);
}

.service-visual-icon {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #f97316;
  transition: all 0.3s ease;
}

.service-row:hover .service-visual-icon {
  background: #f97316;
  color: #fff;
  transform: translateY(-3px);
}

/* Contenu textuel */
.service-content {
  padding: 10px 0;
}

.service-fiche {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f97316;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.service-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.service-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 20px;
}

.service-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.service-specs li {
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
  background: #1e293b;
  border: 1px solid #334155;
  padding: 6px 14px;
  border-radius: 20px;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  background: #1e293b;
  border: 1px solid #334155;
  padding: 12px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.service-cta:hover {
  background: #f97316;
  border-color: #f97316;
  transform: translateY(-2px);
}

/* Cartes Avantages */
.services-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 80px;
}

.feature-card {
  background: #1e293b;
  border: 1px solid #334155;
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #f97316;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin: 0 auto 15px auto;
}

.feature-card h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

/* CTA Bas de page */
.services-cta {
  margin-top: 60px;
  padding: 40px;
  border-radius: 20px;
  background: #1e293b;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.services-cta-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.services-cta-text p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0;
}

.services-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-solid, .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-solid {
  background: #f97316;
  color: #fff;
}

.btn-solid:hover {
  background: #ea580c;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid #334155;
  color: #fff;
}

.btn-outline:hover {
  border-color: #25d366;
  color: #25d366;
  transform: translateY(-2px);
}

/* Boutons Flottants */
.fab-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99;
}

.fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.back-to-top {
  background: #1e293b;
  border: 1px solid #334155;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #f97316;
}

.whatsapp-fab {
  background: #25d366;
}

/* Responsive */
@media (max-width: 900px) {
  .services-spine::before { display: none; }
  .service-row, .service-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-row:nth-child(even) .service-visual { order: 1; }
  .service-row:nth-child(even) .service-content { order: 2; }
  .service-row::before { display: none; }
  .services-features { grid-template-columns: 1fr; }
  .services-cta { flex-direction: column; text-align: center; }
}