.stats-image {
  padding: 6.4rem 1.6rem;

  background-color: #ffffff;
}

.stats-image__inner {
  display: grid;

  max-width: 1440px;

  margin-inline: auto;
  grid-template-columns: 1fr 1fr;
  gap: 6.4rem;
  align-items: center;
}

/* Inversion image gauche */
.stats-image--image-left .stats-image__media {
  order: -1;
}
.stats-image--image-right .stats-image__media {
  order: 1;
}

/* Colonne contenu */
.stats-image__content {
  display: flex;

  flex-direction: column;
  gap: 3.2rem;
}

/* Header */
.stats-image__header {
  display: flex;

  max-width: 1440px;

  margin-bottom: 2.4rem;

  margin-inline: auto;
  flex-direction: column;
  gap: 1.2rem;
}

.stats-image__subtitle {
  margin: 0;

  color: var(--color-red);
  font-size: 1.4rem;
  font-weight: 600;

  letter-spacing: .05em;
}
.stats-image__title {
  margin: 0;

  color: #333333;
  font-size: clamp( 32px, calc( 30.980392156862745px + .261437908496732vw ), 36px ) !important;
  font-weight: 700;
}
.stats-image__description {
  max-width: 830px;

  color: #555555;
  font-size: clamp( 18px, calc( 17.490196078431374px + .130718954248366vw ), 20px ) !important;
  font-size: 1.5rem;
  line-height: 1.7;
}

/* Stats 2x2 */
.stats-image__stats {
  display: grid;

/* overflow: hidden; */
  /* border: 1px solid #e8e8e8; */

  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
}

.stats-image__stat {
  display: flex;

  padding: 2.4rem;

/* border-right: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8; */

  box-shadow: 0 4px 28px 0 rgba(207, 216, 220, .35);

  border-radius: .8rem;

  text-align: center;

  justify-content: center;
  flex-direction: column;
  gap: .4rem;
}



.stats-image__stat:nth-child(2n) {
  border-right: none;
}
.stats-image__stat:nth-child(3),
.stats-image__stat:nth-child(4) {
  border-bottom: none;
}

.stats-image__stat-value {
  color: var(--color-red);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

.stats-image__stat-label {
  color: #333333;
  font-size: 1.4rem;
  font-weight: 500;
}

@media (max-width: 600px) {
  .stats-image__stats {
    margin-top: 1.6rem;

    box-shadow: none;

    border: 1px solid #e8e8e8;

    gap: 0;
  }
  .stats-image__stat {
    padding: 1.6rem;

    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
  }
  .stats-image__stat:nth-child(2n) {
    border-bottom: 1px solid #e8e8e8;
  }
  .stats-image__stat:nth-child(3) {
    border-right: 1px solid #e8e8e8;
  }
  .stats-image__stat:nth-child(4) {
    border-right: 0;
    border-bottom: 0;
  }

  .stats-image__stat {
    box-shadow: none;

    border-radius: 0;
  }
  .stats-image__stat-value {
    font-size: 2.4rem;
  }
}

/* Boutons */
.stats-image__actions {
  display: flex;

  flex-wrap: wrap;
  gap: 1.6rem;
  align-items: center;
  justify-content: center;
}
.stats-image-red-btn {
  display: inline-flex;

  width: auto;

  padding: 1.6rem 3.2rem;

  background-color: #e30613;

  border-radius: 8px;

  color: #ffffff;
  text-decoration: none;

  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
}

.stats-image-red-btn:hover {
  background-color: #b8050f;

  color: #ffffff;
}

.stats-image-phone-btn {
  display: flex;

  align-items: center;
  gap: .8rem;
}



.stats-image-phone-btn {
  display: flex;

  height: fit-content;

  overflow: hidden;

  padding: 1.6rem 3.2rem;

  background: var(--color-white);

  border: 1px solid var(--color-red);
  border-radius: .8rem;

  text-decoration: none;

  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  white-space: nowrap;
  column-gap: .8rem;
  transition: background-color .2s ease;
}

.stats-image-phone-btn__icon {
  width: 24px;
  height: 24px;

/* background: var(--color-blue-05); */

  color: var(--color-red);

  flex-shrink: 0;
  transition: color .2s, background .2s;
}

.stats-image-phone-btn__label {
  overflow: hidden;

  color: var(--color-red);

  text-overflow: ellipsis;
  transition: color .2s;
}
.stats-image-phone-btn:hover {
  background-color: var(--color-red);

  transition: background-color .2s ease;
}

.stats-image-phone-btn:hover .stats-image-phone-btn__icon {
  color: var(--color-white);
}
.stats-image-phone-btn:hover .stats-image-phone-btn__label {
  color: var(--color-white);
}

@media screen and (min-width: 768px) {
  .stats-image-phone-btn__icon {
    width: 24px;
    height: 24px;
  }
}


/* Image */
.stats-image__media {
  height: stretch;

  overflow: hidden;

  border-radius: 1.2rem;
}

.stats-image__img {
  display: block;

  width: 100%;
  height: 100%;

  border-radius: 1.2rem;

  object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
  .stats-image__inner {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .stats-image--image-left .stats-image__media {
    order: 0;
  }

  .stats-image__stat-value {
    font-size: 3.2rem;
  }
}
