.image-text-block {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 3rem;
  border-radius: 8px;
}

.image-text-block___image {
  position: relative;
  left: 4em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.t_2 .image-text-block___image {
  width: 36rem;
  left: 19em;
}

.t_1 .image-text-block__image-wrapper {
  position: relative;
  width: 100%;
  /* aspect-ratio: 16/9; */
  overflow: hidden;
  box-shadow: 0 24px 24px -1px rgba(0, 0, 0, 0.2);
}

.t_2 .image-text-block__image-wrapper {
  position: relative;
  width: 355px;
  height: 421px;
  overflow: hidden;
  box-shadow: 0 24px 24px -1px rgba(0, 0, 0, 0.2);
}

.t_2 .image-text-block__image-wrapper picture {
  height: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t_2 .image-text-block__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t_2 .image-text-block__content {
  padding: 6rem 3rem 1rem 8rem;
  min-height: 35rem;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.t_2 .image-text-block__title,
.t_2 .image-text-block__subtitle {
  max-width: 62rem;
}

.t_2 .image-text-block__content__wrapper {
  max-width: 100%;
}

.image-text-block__content {
  color: #fff;
  background-color: var(--primary-color);
  padding: 6rem 6rem 2rem 6rem;
  max-width: 72rem;
}

.t_1 .image-text-block__content__wrapper {
  max-width: 57rem;
}

.image-text-block__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: 4rem;
  line-height: var(--line-height-tight);
  color: var(--secondary-color);
  max-width: 42rem;
}

.image-text-block__subtitle {
  /* font-size: var(--font-size-lg);
  font-weight: var(--font-weight-normal);
  margin-bottom: 1.5rem;
  opacity: 0.9; */
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: 4rem;
  line-height: var(--line-height-tight);
  color: var(--secondary-color);
  max-width: 42rem;
}

.image-text-block__text p,
.image-text-block__text ul li {
  font-size: var(--font-size-1xl);
  line-height: var(--line-height-relaxed);
}

.image-text-block__cta {
  margin-top: 2rem;
  text-align: left;
  position: relative;
  z-index: 1;
}

.image-text-block__cta-mobile {
  display: none;
}

.t_2 .image-text-block__cta {
  top: 2rem;
}

/* .image-text-block__cta .btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    font-size: var(--font-size-1xl);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.image-text-block__cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
    opacity: 0.9;
} */

.image-text-block__cta .btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--secondary-color);
  font-size: var(--font-size-1xl);
  color: #fff;
  text-decoration: none !important;
  border-radius: 50px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.image-text-block__cta .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: var(--primary-color);
  opacity: 0.9;
}

.image-text-block .btn.btn-secondary {
  padding: 12px 20px;
}

/* Responsive */
@media (max-width: 1600px) {
  .container.t_2 {
    max-width: 1250px;
    margin: 0 auto;
  }
  .t_2 .image-text-block___image {
    left: 13em;
  }
}
@media (max-width: 1350px) {
  .container.t_2 {
    max-width: 1100px;
    margin: 0 auto;
  }
  .t_2 .image-text-block___image {
    left: 9em;
  }
  .t_2 .image-text-block__content__wrapper {
    max-width: 53rem;
  }
}

@media (max-width: 991px) {
  .image-text-block {
    grid-template-columns: 1fr;
    gap: 2rem;
    /* padding: 2rem; */
  }

  .image-text-block__image-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }

  .t_2 .image-text-block__content__wrapper,
  .t_2 .image-text-block__content {
    max-width: 100%;
  }

  .t_2 .image-text-block__title,
  .t_2 .image-text-block__subtitle {
    max-width: 100%;
  }

  .t_1 .image-text-block__content {
    padding: 6rem 3rem 2rem 3rem;
    max-width: 72rem;
  }
}

@media (max-width: 767px) {
  .container.t_2 {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0px;
  }

  .t_2 .image-text-block___image {
    left: 0;
    width: 36rem;
    margin: 0 auto;
  }

  .image-text-block {
    /* padding: 1.5rem; */
    gap: 0;
  }

  .image-text-block__title {
    /* font-size: var(--font-size-xl); */
  }

  .image-text-block__subtitle {
    /* font-size: var(--font-size-base); */
  }

  .image-text-block__cta {
    margin-top: 1.5rem;
  }

  .image-text-block__cta .btn-primary {
    padding: 0.75rem 1.5rem;
    /* font-size: 0.9rem; */
  }

  .t_1 .image-text-block___image {
    left: -4em;
    top: 3rem;
  }

  .image-text-block__cta {
    display: none;
  }

  .image-text-block__cta-mobile {
    display: block;
    margin-top: 1.5rem;
    text-align: center;
  }

  .t_2 .image-text-block__cta-mobile {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .section_avis .pb-32 {
    padding-bottom: 0rem !important;
  }

  .section-image-text .container,
  .container.t_1 {
    padding: 0rem;
  }

  .t_2 .image-text-block__content {
    padding: 6rem 1.5rem 1rem 1.5rem;
  }

  .image-text-block__content {
    padding: 6rem 1.5rem 2rem 1.5rem;
  }
}
@media (max-width: 600px) {
  .t_2 .image-text-block___image {
    width: 28rem;
  }
}

/* Exceptions */
#image-text-block-1097379f.t_2 img,
#image-text-block-1097379f.t_2 .image-text-block__image-wrapper {
  border-radius: 0 0 0 10px;
}

/*** Template 3 ***/

.t_3.container {
  /* max-width: 1140px; */
  margin: 0 auto;
  padding: 0 2rem;
}

.t_3 .image-text-block {
  display: grid;
  grid-template-columns: 4fr 3fr;
  gap: 0;
  border-radius: 8px;
}

.t_3 .image-text-block__content {
  max-width: 100%;
}

.t_3 .image-text-block___image {
  left: 0em;
}

.t_3 .image-text-block__content__wrapper {
  display: flex;
  flex-direction: column;
  /* justify-content: space-evenly; */
}

.image-text-block__text ul li {
  margin-bottom: 1rem;
}

.t_3 .image-text-block__cta {
  margin-left: 6rem;
}

.image-text-block__image-wrapper img {
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (max-width: 767px) {
  .container.t_3 {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0px;
  }

  .t_3 .image-text-block {
    grid-template-columns: 1fr;
  }

  .image-text-block__cta-mobile {
    display: flex;
    margin-top: 4rem;
    text-align: center;
    justify-content: center;
  }
}

/*** Template 3 ***/

.t_4.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.t_4 .image-text-block {
  display: grid;
  grid-template-columns: 4fr 2fr;
  gap: 0;
  border-radius: 8px;
  align-items: start;
}

.t_4 .image-text-block__content {
  max-width: 100%;
}

.t_4 .image-text-block___image {
  left: 0em;
}

.t_4 .image-text-block__content__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.t_4 .image-text-block__title,
.t_4 .image-text-block__subtitle {
  max-width: 62rem;
}

.t_4 .image-text-block__image-wrapper img {
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.t_4 .image-text-block__text ul li {
  margin-bottom: 1rem;
}

@media (max-width: 767px) {
  .container.t_4 {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0px;
  }

  .t_4 .image-text-block {
    grid-template-columns: 1fr;
  }

  .t_4.image-text-block__cta-mobile {
    display: flex;
    margin-top: 4rem;
    text-align: center;
    justify-content: center;
  }
}


/*** Template 5 ***/

.t_5 .image-text-block___image {
  width: 36rem;
  left: 19em;
}

.t_5 .image-text-block__cta {
  top: 2rem;
}

.t_5 .image-text-block__image-wrapper {
  position: relative;
  width: 355px;
  height: 400px;
  overflow: hidden;
  box-shadow: 0 24px 24px -1px rgba(0, 0, 0, 0.2);
}

.t_5 .image-text-block__image-wrapper picture {
  height: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t_5 .image-text-block__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t_5 .image-text-block__content {
  padding: 6rem 5rem 1rem 8rem;
  min-height: 35rem;
  display: flex;
  align-items: center;
}

.t_5 .image-text-block__title,
.t_5 .image-text-block__subtitle {
  max-width: 62rem;
}

.t_5 .image-text-block__content__wrapper {
  max-width: 70rem;
}

.t_5 .image-text-block__cta {
  margin-top: 0rem;
  text-align: left;
  position: relative;
  z-index: 1;
  position: relative;
  left: 26rem;
  top: 0rem;
}

/* Responsive */
@media (max-width: 1600px) {
  .container.t_5 {
    /* max-width: 1250px; */
    margin: 0 auto;
  }
  .t_5 .image-text-block___image {
    left: 13em;
  }
}
@media (max-width: 1350px) {
  .container.t_5 {
    max-width: 1100px;
    margin: 0 auto;
  }
  .t_5 .image-text-block___image {
    left: 9em;
  }
  .t_5 .image-text-block__content__wrapper {
    max-width: 53rem;
  }
}

@media (max-width: 991px) {
  .t_5 .image-text-block__content__wrapper,
  .t_5 .image-text-block__content {
    max-width: 100%;
  }

  .t_5 .image-text-block__title,
  .t_5 .image-text-block__subtitle {
    max-width: 100%;
  }
}

@media (max-width: 787px) {
  .container.t_5 {
    padding: 0px;
  }

  .t_5 .image-text-block__content {
    padding: 6rem 1.5rem 1rem 1.5rem;
  }
}
