/* =========================
   DESKTOP - SERVICES
========================= */


.realisations-hero {
  padding-top: 15rem;
}
.realisations-services {
  padding: 5rem 3rem;
  margin: 0 auto;
}

.realisations-services h2 {
  font-size: 2.4rem;
  margin-bottom: 3rem;
}

.realisations-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.real-service-card {
  padding: 2rem;
  border-radius: 1.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.real-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 14px 40px rgba(127, 113, 142, 0.25);
}


/* =========================
   DESKTOP - RÉALISATIONS SLIDER
========================= */
.realisations-slider {
  padding: 4rem 5%;
  gap: 3rem;
}

.realisations-slider h2 {
  font-size: 2.2rem;
}

/* On élargit la piste et réduit la largeur des cartes */
.slider-track {
  width: 40%;
  gap: 2rem;
}

.real-card {
  min-width: 30rem;
  /* environ 3 cartes visibles */
  max-width: 40rem;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.real-card img {
  height: 220px;
}

.real-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Boutons navigation plus grands sur desktop */

/* Nouveau wrapper pour aligner les boutons */

.headerRealisation {
  width: 100%;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-controls {
  background-color: white;
  padding: 0.3rem 0.6rem;
  box-sizing: border-box;
  border-radius: 2rem;
  position: absolute;
  right: 8rem;
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

/* On neutralise le positionnement absolu prévu pour mobile */
.slider-btn {
  position: static;
  transform: none;
}


.slider-btn.prev {
  left: -20px;
}

.slider-btn.next {
  right: -20px;
}

/* Indicateurs un peu plus espacés */
.slider-indicators {
  bottom: -25px;
  gap: 0.8rem;
}

.slider-indicators button {
  width: 12px;
  height: 12px;
}

/* ----- Mise en page desktop ----- */
/* ----- Service Card ----- */

/* =========================
   DESKTOP - SERVICE CARD (optimisée)
========================= */

/* ====== Grille principale ====== */
.serviceCard-all {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  width: 100%;
  max-width: 1300px;
  justify-content: center;
}


/* style serviceCard */

.serviceCard {
  background: var(--clair);
  width: 25rem;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(127, 113, 142, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.serviceCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(97, 25, 145, 0.2);
}

/* ====== Titre du service ====== */
.service_title h1 {
  text-align: center;
  font-size: 1.6rem;
  color: var(--mauverose);
  font-family: "Agrandir grand", sans-serif;
  margin-bottom: 0.5rem;
}

.service-explication {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
/* ====== Texte explicatif ====== */
.service-explication p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--grisbeige);
}

/* ====== Image ====== */
.imageCard {
  border-radius: 1rem;
  overflow: hidden;
  max-height: 220px;
}

.imageCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.imageCard img:hover {
  transform: scale(1.08);
}