/* =========================
   SERVICES – SAHP
========================= */

/* .services {
  position: relative;
  background: linear-gradient(90deg, #4080b7 0%, #5ed0c2 100%);
  padding: 90px 20px 160px; /* espace volontaire pour le débordement 
  overflow: visible;
  z-index: 2;
} */

.services {
  position: relative;
  background: linear-gradient(90deg, #4080b7 0%, #5ed0c2 100%);
  padding-top: 90px;
  overflow: visible;
  z-index: 2;
}

/* Au-dessus de 1024px : évite tout overflow de la mascotte */
@media (min-width: 1025px) {
  .services {
    overflow: hidden;
  }

  .services-mascotte img {
    max-width: 100%;
    object-fit: contain;
  }
}

/* =========================
   CONTAINER
========================= */

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* =========================
   TITRES
========================= */

.services-container h2 {
  font-size: 34px;
  margin-bottom: 15px;
  color: #ffffff;
}

.services-intro {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   GRID
========================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* =========================
   CARD
========================= */

.service-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color:red;
  border-radius: 22px;
  padding: 36px 26px;
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 55px rgba(0, 0, 0, 0.25);
}

/* =========================
   ICONES
========================= */

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  margin-top: 34px;
  width: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon img {
  transform: scale(1.08);
}

/* =========================
   TEXTE
========================= */

.service-card h3 {
  font-size: 18px;
  color: #4080b7;
  margin-top: 62px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: #4080b7;
  line-height: 1.5;
  margin-bottom: 18px;
}

/* =========================
   LIEN
========================= */

.service-card a {
  display: inline-block;
  border: 1px solid #ffffff;
  border-radius: 50px;
  padding: 10px 30px;
  font-size: 14px;
  font-weight: 600;
  color: #4080b7;
  text-decoration: none;
  transition:background 0.3s ease,
    color 0.3s ease;
    border:1px solid #0f4c81;
}

.service-card a:hover {
  background: #ffffff;
  color: #0f4c81;
  border:1px solid #0f4c81;
}

/* =========================
   MASCOTTE
========================= */

.services-mascotte {
  text-align: center;
}

.services-mascotte img {
  margin-bottom: 20px;
  margin-top: 20px;
  width: 250px;
  height: auto;
  display: inline-block;
}

/* =========================
   RESPONSIVE
========================= */

/* TABLETTE */
@media (max-width: 900px) {
  .services {
    padding: 70px 16px 40px;
  }

  .services-container h2 {
    font-size: 28px;
  }

  .services-intro {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-card {
    padding: 30px 22px;
  }

  .service-icon {
    width: 52px;
    height: 52px;
  }

  .services-mascotte {    
    padding: 0;
  }

  .services-mascotte img {
    width: 220px;
    margin-top: 20px;
    margin-bottom: 0;
  }
}

/* MOBILE */
@media (max-width: 480px) {
  .services {
    padding-bottom: 30px;
  }

  .services-container h2 {
    font-size: 24px;
  }

  .service-card h3 {
    font-size: 16px;
  }

  .service-card p {
    font-size: 13px;
  }

  .services-mascotte {
    margin: 0;
    padding: 0;
  }

  .services-mascotte img {
    width: 240px;
    margin-top: 0;
    margin-bottom: 0;
  }
}

