body > .clients {
  display: flex;
  flex-direction: column;
  gap: 8vw;
  margin: 13.5vw 0 13.5vw 8.5vw;
}
body > .agences ~ .clients {
  background-image: url(../../img/backgrounds/offersBackground.svg);
  background-position: 40% 60%;
  background-repeat: no-repeat;
  background-size: 325%;
  margin: 0;
  padding: 23.5vw 0 37vw 8.5vw;
}
body > .agences ~ .clients--agencies {
  background-position: 50% 65%;
  background-size: 225%;
  padding: 15vw 0 20vw 8.5vw;
}
.clients > .hide > .swiper-button-prev {
  background-color: var(--whiteBis);
  border: 0.0625rem solid var(--mColor);
  height: 12.5vw;
  left: 1vw;
  top: 34% !important;
  width: 12.5vw;
}
.clients > .hide > .swiper-button-prev::after {
  align-items: center;
  background-image: url(../../img/logosIcons/arrowGreen.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 90%;
  content: "";
  display: block;
  height: 110%;
  position: absolute;
  transform: rotate(180deg);
  width: 50%;
}
.clients > .hide > .swiper-button-next {
  background-color: var(--whiteBis);
  border: 0.0625rem solid var(--mColor);
  height: 12.5vw;
  left: 70vw !important;
  top: 34% !important;
  width: 12.5vw;
}
.clients > .hide > .swiper-button-next::after {
  align-items: center;
  background-image: url("../../img/logosIcons/arrowGreen.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 90%;
  content: "";
  display: block;
  height: 110%;
  position: absolute;
  width: 50%;
}
.clients .swiper-pagination {
  display: none !important;
}
.swiper .illustrationContainer {
  width: 100%;
}
.clients > .hide > .swiper.mySwiper > .clients__cases {
  display: flex;
}
.clients
  > .hide
  > .swiper.mySwiper
  > .clients__cases
  > .client:not(:last-child) {
  margin-right: 2.5vw;
}
.clients > .hide > .swiper.mySwiper {
  max-width: 100%;
  padding-right: 8.5vw;
}
.clients .introduction--black {
  margin-right: 8.5vw;
}
.client {
  display: flex;
  flex-direction: column;
  gap: var(--fsCorps);
  width: 72vw !important;
}
.client--frontpage {
  width: fit-content !important;
}
.client--frontpage .miniatureC {
  margin-left: unset;
  width: 75vw;
}
.clients
  > .hide
  > .swiper.mySwiper
  > .clients__cases
  > .client--frontpage:not(:last-child) {
  margin-right: 0;
  height: unset !important;
}
.clients--frontpage > .hide > .swiper.mySwiper {
  padding-right: 0;
}
.clients--frontpage > .hide {
  position: relative;
}
.clients--frontpage > .hide > .swiper.mySwiper > .clients__cases {
  gap: 2.5vw;
}
.client--frontpage:last-child {
  margin-right: 2.5vw;
}
.swiper.mySwiper:has(.client--frontpage) {
  height: 100%;
}
.swiper-wrapper.clients__cases:has(.client--frontpage) {
  height: 100%;
}
.swiper-slide.client.client--frontpage {
  height: 100% !important; /* Important pour surcharger tout style inline de Swiper */
  display: flex;
  flex-direction: column;
}
.swiper-slide.client.client--frontpage > * {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.client__illustrationContainer .client__illustration {
  aspect-ratio: 298/384;
  width: 100%;
}
.client__title {
  color: var(--mColor);
  font-family: var(--ffMXBo);
  font-size: var(--fsTitleH2);
  line-height: 1.75rem;
  text-transform: uppercase;
}
.client__legend {
  display: flex;
  flex-direction: column;
  gap: var(--fsCorps);
}
.client .button {
  width: 70%;
}
.client .illustrationContainer {
  overflow: hidden;
}
.client .client__illustration {
  transform: scale(1);
  transition: all 0.25s ease;
}
.clients--agencies .client__illustration {
  aspect-ratio: 16/9;
}
.hide {
  position: relative;
}
.clients > .hide > .swiper-button-next,
.clients > .hide > .swiper-button-prev {
  z-index: 1;
}

@media screen and (min-width: 575.98px) {
  .client .button {
    width: 55%;
  }
  .clients--offres {
    margin-top: 10vw;
  }
  body > .agences ~ .clients {
    background-size: 265%;
  }
  body > .agences ~ .clients--agencies {
    background-size: 215%;
    padding: 17.5vw 0 25vw 8.5vw;
  }
  .clients > .hide > .swiper-button-next,
  .clients > .hide > .swiper-button-prev {
    top: 41% !important;
    height: 3.5rem;
    width: 3.5rem;
  }
}

@media screen and (min-width: 767.98px) {
  body > .clients {
    margin: 10vw 0 10vw 8.5vw;
  }
  body > .clients--offres {
    margin-top: 0vw;
  }
  .clients > .hide > .swiper-button-next,
  .clients > .hide > .swiper-button-prev {
    height: 4rem;
    top: 51.5% !important;
    width: 4rem;
  }
  body > .agences ~ .clients {
    background-position: 53% 53%;
    background-size: 190%;
    padding-block: 15vw 15vw;
  }
  .clients--frontpage > .hide > .swiper.mySwiper > .clients__cases {
    gap: 2vw;
  }
  .clients > .hide > .swiper-button-next {
    left: 72.5vw !important;
  }
}

@media screen and (min-width: 991.98px) {
  .hide {
    overflow: hidden;
  }
  body > .clients {
    background-color: var(--white);
    background-image: url(../../img/backgrounds/offersBackground.svg);
    background-position: center 80%;
    background-repeat: no-repeat;
    background-size: 200%;
    flex-direction: row;
    gap: 7.5vw;
    margin: 0;
    padding: 10vw 0 17.5vw 5vw;
    position: relative;
  }
  body > .clients--offres {
    background-image: unset;
    padding-bottom: 12.5vw;
  }
  body > .clients::after {
    aspect-ratio: 309/287;
    background-image: url(../../img/particles/particleClient.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    bottom: -7.5vw;
    content: "";
    display: block;
    left: 9vw;
    position: absolute;
    width: 20vw;
  }
  body > .clients--offres::after {
    display: none;
  }
  .clients__header {
    flex: 0 0 46%;
    margin-right: 0;
    position: relative;
    z-index: 2;
  }
  .clients__header .title {
    font-size: 4.0625rem;
    line-height: 4.25rem;
    width: 70%;
  }
  .clients--other .clients__header .title {
    font-size: 5.0625rem;
    line-height: 5.5625rem;
    width: 70%;
  }
  .clients--other .clients__header .introduction {
    width: 70%;
  }
  .clients__header .introduction {
    font-size: var(--fsCorps);
    line-height: 1.4375rem;
    margin-right: 0;
    width: 90%;
  }
  .client {
    width: 40vw !important;
  }
  .clients > .hide > .swiper.mySwiper {
    overflow: hidden;
    padding-right: 5vw;
    z-index: 0;
  }
  .clients > .hide > .swiper-button-prev {
    left: 1vw;
  }
  .clients > .hide > .swiper-button-next {
    left: 32.5vw !important;
  }
  .clients > .hide > .swiper-button-next,
  .clients > .hide > .swiper-button-prev {
    display: flex;
    height: 5.5vw;
    top: 33.5% !important;
    width: 5.5vw;
  }
  .client__title {
    font-size: calc(var(--fsTitleH3) * 1.4);
    line-height: calc(var(--fsCorpsLess) * 2);
  }
  .client__title--other {
    font-size: 3.25rem;
    line-height: 3.5625rem;
  }
  .client__illustration {
    aspect-ratio: 422/543;
  }
  body > .agences ~ .clients {
    background-position: 115% 72.5%;
    background-size: 120%;
    padding-block: 15vw 20vw;
  }
  /* body > .agences ~ .clients--agencies {
        background-position: 60% 52.5%;
        background-size: 150%;
        padding-block: 15vw 20vw;
    } */
  body > .agences ~ .clients--agencies {
    background-position: 80% 52.5%;
    background-size: 130%;
    padding-block: 10vw 15vw;
  }
  body > .agences ~ .clients::after {
    display: none;
  }
  body > .clients--agency::after {
    bottom: 22.5vw;
  }
  body > .agences ~ .clients.clients--other {
    flex-direction: column;
  }
  body > .agences ~ .clients.clients--other .swiper-slide.client {
    width: 27vw !important;
  }
  .swiper-slide.client .button {
    width: 82.5%;
  }
  body > .agences ~ .clients.clients--other .swiper-button-next,
  body > .agences ~ .clients.clients--other .swiper-button-prev {
    display: none;
  }
  .clients--other .swiper-slide.client .button {
    width: 85%;
  }
  .client:hover .button--white {
    background-color: var(--mColor);
    border: 0.0625rem solid var(--tColorLight);
    color: var(--tColorLight);
    gap: 2rem;
    padding-inline: 2rem;
    transition: all 0.25s linear;
  }
  .client:hover .button--white .button__arrow {
    display: none;
  }
  .client:hover .button--white .button__arrow--hovered {
    display: block;
  }
  .client:hover .client__illustration {
    transform: scale(1.15);
    transition: all 0.25s ease;
  }
  .clients--frontpage .clients__header .title {
    width: 100%;
  }
  .client--frontpage .miniatureC {
    margin-left: unset;
    width: 100%;
  }
}

@media screen and (min-width: 1199.98px) {
  body > .clients {
    gap: 5vw;
    padding: 7.5vw 0 12.5vw 12.5vw;
  }
  .clients__header {
    flex: 0 0 41%;
  }
  .client {
    width: 30vw !important;
  }
  .clients > .hide > .swiper-button-next,
  .clients > .hide > .swiper-button-prev {
    height: 3rem;
    width: 3rem;
  }
  .clients > .hide > .swiper-button-prev {
    left: 2vw;
  }
  .clients > .hide > .swiper-button-next {
    left: 36.5vw !important;
  }
  .swiper-slide.client .button {
    width: 70%;
  }
  .clients--other .hide {
    overflow: visible;
  }
  .clients--other .swiper-slide.client .button {
    width: 70%;
  }
  /* body > .agences ~ .clients--agencies {
        background-position: 70% 63%;
        background-size: 150%;
        padding-block: 15vw 20vw;
    } */
  body > .agences ~ .clients--agencies {
    background-position: 120% 63%;
    background-size: 115%;
    padding-block: 15vw 20vw;
  }
  .clients--offres .clients__header .title {
    width: 100%;
  }
}

@media screen and (min-width: 1399.98px) {
  body > .clients {
    background-position: 58% 81%;
    background-size: 170%;
    gap: 2.5vw;
    padding-left: 15vw;
  }
  .clients__header {
    flex: 0 0 37%;
  }
  .client {
    gap: calc(var(--fsCorps) * 0.75);
    width: 26vw !important;
  }
  .hide:not(.clients--other .hide) {
    padding-left: 5vw;
  }
  .clients > .hide > .swiper-button-next,
  .clients > .hide > .swiper-button-prev {
    height: 3.5vw;
    width: 3.5vw;
  }
  .clients > .hide > .swiper-button-next {
    left: 42.5vw !important;
  }
  .clients > .hide > .swiper-button-prev {
    left: 0vw;
  }
  .client__legend {
    gap: calc(var(--fsCorps) * 0.75);
  }
  body > .clients::after {
    bottom: -10vw;
  }
  body > .clients--offres {
    padding-bottom: 5vw;
    padding-left: 12.5vw;
  }
  body > .agences ~ .clients {
    background-position: -165% 57.5%;
    background-size: 90%;
    padding-block: 7.5vw 13.5vw;
  }
  body > .clients--agency::after {
    bottom: 3vw;
    left: 0vw;
  }
  .clients > .hide > .swiper.mySwiper {
    padding-right: 2vw;
  }
  .clients__header .title,
  .clients__header .introduction {
    width: 60%;
  }
  .clients--other .swiper-slide.client .button {
    width: 60%;
  }
  .clients--agency .clients__header .introduction {
    width: 100%;
  }
  .clients__header .introduction {
    width: 90%;
  }
  /* body > .agences ~ .clients--agencies {
        background-position: 120% 64%;
        background-size: 120%;
        padding-block: 7.5vw 13.5vw;
    } */
  body > .agences ~ .clients--agencies {
    background-position: -720% 64%;
    background-size: 98%;
    padding-block: 7.5vw 13.5vw;
  }
}

@media screen and (min-width: 1599.98px) {
  .clients__header {
    flex: 0 0 32%;
  }
  .client {
    width: 20vw !important;
  }
  .clients > .hide > .swiper-button-next {
    left: 46vw !important;
  }
  body > .clients::after {
    bottom: -16vw;
    left: 0vw;
    width: 17.5vw;
  }
  body > .clients {
    background-position: 56% 80%;
    background-size: 160%;
    padding-bottom: 0;
  }
  body > .agences ~ .clients {
    background-position: -55% 57.5%;
    background-size: 80%;
  }
  body > .clients--agency::after {
    bottom: 1vw;
    left: 4vw;
  }
  /* .swiper-slide.client .button {
        width: 55%;
    } */
  .clients.clients--offres > .hide > .swiper-button-next {
    left: 49vw !important;
  }
  .clients__header .title,
  .clients__header .introduction {
    width: 50%;
  }
  .clients--other .clients__header .title,
  .clients--other .clients__header .introduction {
    width: 55%;
  }
  .clients--other .swiper-slide.client .button {
    width: 50%;
  }
  .clients__header .introduction {
    width: 90%;
  }
  body > .clients--frontpage {
    padding-bottom: 10vw;
    background-position: 56% 81%;
  }
  body > .clients--frontpage::after {
    bottom: -8vw;
    left: 10vw;
    width: 17.5vw;
  }
  body > .agences ~ .clients--agencies {
    background-position: -195% 51.5%;
    background-size: 92%;
    padding-block: 7.5vw 10vw;
  }
  .clients--frontpage > .hide > .swiper.mySwiper > .clients__cases {
    gap: 1.5vw;
  }
  .swiper-slide.client .button {
    margin-inline: 10%;
    width: 80%;
    bottom: 1vw;
  }
  .swiper-slide.client.clients--agencies .button {
    margin-inline: unset;
  }
  .miniatureC__legend--casclients {
    padding-bottom: 2.5vw !important;
  }
}

@media screen and (min-width: 1799.98px) {
  body > .clients {
    background-position: 56% 83%;
  }
  body > .clients--agency::after {
    bottom: 1vw;
    left: 8vw;
    width: 15vw;
  }
  .clients.clients--offres > .hide > .swiper-button-next {
    left: 51vw !important;
  }
  .clients__header .title,
  .clients__header .introduction {
    width: 45%;
  }
  .clients--other .swiper-slide.client .button {
    width: 45%;
  }
  .clients__header .introduction {
    width: 90%;
  }
  /* body > .agences ~ .clients--agencies {
        background-position: 585% 57.5%;
        background-size: 103%;
    } */
}

@media screen and (min-width: 1919.98px) {
  .clients.clients--offres > .hide > .swiper-button-prev {
    left: 0vw;
  }
  .clients.clients--offres > .hide > .swiper-button-next {
    left: 53vw !important;
  }
  body > .clients--other {
    flex-direction: column;
    gap: 3.5vw;
    padding-inline: 15vw;
    padding-block: 7.5vw 13.5vw;
  }
  body > .agences ~ .clients {
    padding-inline: 15vw;
    padding-block: 7.5vw 13.5vw;
  }
  body > .agences ~ .clients--agencies {
    padding-block: 5vw 7.5vw;
  }
  .clients__header .title {
    margin-bottom: var(--fsTitleH2);
  }
  .clients__header {
    margin-top: 0.5vw;
    width: 100%;
  }
  /* .client {
        width: 22vw !important;
    } */
  .clients--other > .hide > .swiper-button-prev {
    left: -4.75vw;
  }
  .clients--other > .hide > .swiper-button-next {
    left: 49.5vw !important;
  }
  .clients--other > .hide > .swiper-button-next,
  .clients--other > .hide > .swiper-button-prev {
    display: none;
  }
  .client .button {
    padding: 1.25rem 1rem 1rem 1rem;
    width: 53%;
  }
  body > .clients::after {
    bottom: -16.5vw;
    left: 12vw;
  }
  body > .clients--offres {
    padding-top: 5vw;
  }
  .clients > .hide > .swiper.mySwiper {
    margin-inline: 0;
  }
  .clients--agency .button {
    margin-top: 0.5vw;
  }
  body > .clients--agency::after {
    bottom: 3.5vw;
    left: 6vw;
  }
  .clients > .hide > .swiper-button-next,
  .clients > .hide > .swiper-button-prev {
    height: 2.5vw;
    width: 2.5vw;
  }
  .hide:not(.clients--other .hide) {
    padding-left: 4vw;
  }
  .clients > .hide > .swiper-button-prev {
    left: 0vw;
  }
  .clients > .hide > .swiper-button-next {
    left: 49vw !important;
  }
  body > .agences ~ .clients.clients--other .swiper-slide.client {
    width: 22.5vw !important;
  }
  .clients__header .title,
  .clients__header .introduction {
    width: 90%;
  }
  .clients--other .swiper-slide.client .button {
    width: 55%;
  }
  .clients--agency .clients__header .introduction {
    width: 100%;
  }
  body > .clients--frontpage::after {
    bottom: -6.5vw;
  }
  body > .agences ~ .clients--agencies {
    background-position: -75% 55%;
    background-size: 85%;
  }
  .clients--frontpage > .hide > .swiper.mySwiper > .clients__cases {
    gap: 1vw;
  }
  .miniatureC__legend--casclients {
    padding-bottom: 5vw !important;
  }
}

@media screen and (min-width: 1999.98px) {
  body > .agences ~ .clients--agencies {
    background-position: -10% 57.5%;
    background-size: 70%;
  }
}

@media screen and (min-width: 2199.98px) {
  .clients--other .swiper-slide.client .button {
    width: 45%;
  }
}
