
#p3_caractere .content:nth-child(2){
  align-items: stretch;
}

#p3_caractere .ba{
  height: 100%;
  min-height: 100%;
  align-self: stretch;
}

#p3_caractere .ba-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#p5_domptes .bloc{
  text-align: center;
  background-color: #f3f3f9;
  padding: 30px;
  border-radius: 12px;
}

#p2_prestations{
  padding-top: 0;
  height: calc(var(--p2-prestations-count, 4) * 100vh);
  min-height: 2500px;
}

#p2_prestations .container{
  position: sticky;
  top: 90px;
  max-width: none;
  height: calc(100vh - 120px);
  min-height: 530px;
  overflow: hidden;
}

#p2_prestations .prestations-box{
  position: absolute;
  top: 0;
  right: 15px;
  bottom: 0;
  left: 15px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 48px;
  align-items: center;
  min-height: 0;
  padding: 13px 26px;
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 10px;
  background: #f2f2f2;
  opacity: var(--p2-card-opacity, 0);
  transform: translate3d(0, var(--p2-card-y, 110%), 0) scale(var(--p2-card-scale, 1));
  transition: opacity 120ms linear;
  will-change: transform, opacity;
}

#p2_prestations .prestations-box:nth-child(n+2){
  margin-top: 0;
}

#p2_prestations .prestations-content{
  padding-left: 70px;
}

#p2_prestations .prestations-content h3{
  font-weight: 700;
  line-height: 1.15;
}

#p2_prestations .prestations-content p{
  max-width: 560px;
  line-height: 1.45;
}

#p2_prestations .prestations-toggles{
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
}

#p2_prestations .prestations-toggles span{
  min-width: 88px;
  padding: 13px 18px;
  border-radius: 8px;
  background: #fff;
  font-weight: 600;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
}

#p2_prestations .prestations-media{
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  max-width: 1020px;
  justify-self: end;
  border-radius: 10px;
  aspect-ratio: auto;
}

#p2_prestations .prestations-media:before{
  display: none;
}

#p2_prestations .prestations-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

@media (max-width: 1199px){
  #p2_prestations .prestations-content{
    padding-left: 35px;
  }
}

@media (max-width: 991px){
  #p2_prestations{
    height: auto;
    min-height: 0;
  }

  #p2_prestations .container{
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  #p2_prestations .prestations-box{
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
    padding: 22px;
    opacity: 1;
    transform: none;
  }

  #p2_prestations .prestations-box:nth-child(n+2){
    margin-top: 22px;
  }

  #p2_prestations .prestations-content{
    padding-left: 0;
  }

  #p2_prestations .prestations-content p{
    max-width: none;
  }

  #p2_prestations .prestations-media{
    height: auto;
    aspect-ratio: 1.64;
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 575px){
  #p2_prestations .prestations-box{
    padding: 15px;
  }

  #p2_prestations .prestations-toggles{
    gap: 10px;
  }

  #p2_prestations .prestations-toggles span{
    min-width: 0;
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }
}
