/* CSS copié depuis le message de Rémi */
.row-cartes-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0;
}
.row-cartes-services.gouttiere-colonne {
  flex-wrap: nowrap;
  align-items: stretch;
}
.row-cartes-services.gouttiere-colonne .carte-service:not(:last-child) {
  margin-right: 12px;
}
.row-cartes-services .carte-service {
  flex: 0 1 calc(33.333% - 8px);
  box-sizing: border-box;
  background: white;
  padding: 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .row-cartes-services {
    flex-direction: column;
  }
  .row-cartes-services.gouttiere-colonne {
    flex-wrap: wrap;
  }
  .row-cartes-services.gouttiere-colonne .carte-service {
    margin-right: 0 !important;
    margin-bottom: 20px;
  }
  .row-cartes-services.gouttiere-colonne .carte-service:last-child {
    margin-bottom: 0;
  }
}
.carte-service {
  text-align: center;
}
.srvdedie-titre, .srvdedie-texte {
  margin-left: auto;
  margin-right: auto;
  max-width: 280px;
}
.bloc-srv-dedie {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  text-align: center;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}
.srvdedie-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.srvdedie-img {
  height: 180px;         /* hauteur fixe */
  width: auto;           /* largeur calculée automatiquement */
  border-radius: 20px;
  transition: all 0.3s ease;
  object-fit: contain;   /* garde l’image entière dans le bloc */
  max-width: 100%;       /* évite de dépasser du conteneur */
}
.srvdedie-titre {
  font-size: 19px;
  font-weight: 800;
  color: #133341;
  margin-top: 20px;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.srvdedie-texte {
  font-size: 14px;
  color: #2a2558;
  font-weight: 300;
  margin-bottom: 10px;
  line-height: 1.6;
}
.bouton-fleche-vert-2 {
  background-color: #55c683;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  margin: auto auto 0px auto;
}
.anim-fleche-2 {
  display: flex;
  gap: 20px;
  transform: translateX(-20px);
  transition: transform 0.4s ease;
}
.carte-service:hover .anim-fleche-2 {
  transform: translateX(25px);
}
.fleche-2 {
  flex-shrink: 0;
}
.carte-lien {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.carte-lien:hover {
  cursor: pointer;
}
