/* =========================================
   REASONS PAGE
========================================= */

.op-main--reason {
  background-color: #ffffff;
}

/* ---------- HERO ---------- */

.reason-hero {
  position: relative;
  /* bg01 uniquement comme fond */
  background-image: url("../img/reason/bg01.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  /* padding: 80px 0 160px; */
    padding: clamp(6rem, calc(60px + (80 - 60) * var(--vw-desktop-range)), 8rem)
           0
           clamp(12rem, calc(120px + (160 - 120) * var(--vw-desktop-range)), 16rem);
}

.reason-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Ligne de 3 bulles */
.reason-hero__circles {
    list-style: none;
    padding: 0;
    margin: 0 0 6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

/* Bulle */
.reason-circle {
    position: relative;
    /* width: 44rem;
    height: 44rem; */
    width: clamp(30rem, calc(300px + (440 - 300) * var(--vw-desktop-range)), 44rem);
    height: clamp(30rem, calc(300px + (440 - 300) * var(--vw-desktop-range)), 44rem);
    flex: 0 0 auto;
}

.reason-circle:nth-child(1) {
  z-index: 4;
  /* transform: translateX(40px); */
    transform: translateX(
    clamp(2.4rem, calc(24px + (40 - 24) * var(--vw-desktop-range)), 4rem)
  );
}

.reason-circle:nth-child(2) {
  z-index: 3;
}

.reason-circle:nth-child(3) {
  z-index: 2;
  /* transform: translateX(-40px); */
    transform: translateX(
    calc(-1 * clamp(2.4rem, calc(24px + (40 - 24) * var(--vw-desktop-range)), 4rem))
  );
}

.reason-circle__bg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Contenu centré dans la bulle */
.reason-circle__content {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  height: 13rem;
}

.reason-circle__icon img {
  /* width: 6rem;
  height: 6rem;
  display: block; */
    width: clamp(4rem, calc(40px + (60 - 40) * var(--vw-desktop-range)), 6rem);
    height: clamp(4rem, calc(40px + (60 - 40) * var(--vw-desktop-range)), 6rem);
    display: block;
}

.reason-circle__label {
  /* font-size: 3.8rem; */
  font-size: clamp(2.4rem, calc(24px + (38 - 24) * var(--vw-desktop-range)), 3.8rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: #fff;
  width: max-content;
}

/* textes sous les bulles */
.reason-hero__copy-main {
  /* font-size: 5rem; */
  font-size: clamp(3.2rem, calc(32px + (50 - 32) * var(--vw-desktop-range)), 5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: #021237;
}

.reason-hero__copy-main span {
    color: #113A95;
}

.reason-circle--lightblue .reason-circle__label {
    color: #021237;
}

/* Responsif */
@media (max-width: 959px) {
  .reason-hero {
    padding: 60px 0 120px;
  }

  .reason-circle {
    width: 180px;
    height: 180px;
  }

  .reason-circle__label {
    font-size: 1.4rem;
  }

  .reason-hero__copy-main,
  .reason-hero__copy-sub {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .reason-circle {
    width: 180px;
    height: 180px;
  }

  .reason-circle:nth-child(1) {
    transform: translateX(24px);
  }

  .reason-circle:nth-child(3) {
    transform: translateX(-24px);
  }
}

@media (max-width: 599px) {
  .reason-hero {
    padding: 40px 0 100px;
  }

  .reason-hero__circles {
    gap: 24px;
  }

  .reason-circle {
    width: 160px;
    height: 160px;
  }
}


/* ---------- SECTION RAISONS ---------- */

.reason-section {
  background-color: #F0F3F7;
  padding: 10rem 0 14rem;
}

.reason-section .op-container {
  max-width: 1100px;
}

/* Bloc de raison */
.reason-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 8rem; */
  padding: 6rem 0;
}

.reason-item + .reason-item {
  /* border-top: 1px solid #e3e6ee; */
}

.reason-item--reverse {
  flex-direction: row-reverse;
}

/* Zone texte */
.reason-item__text {
  flex: 1 1 50%;
}

.reason-item__head {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
}

.reason-item__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-right: 2rem;
  font-family: var(--font-en);
}
.reason-item:nth-of-type(1) .reason-item__num {
    background: #113A95;
    color: #fff;
}
.reason-item:nth-of-type(2) .reason-item__num {
    background: #4F2374;
    color: #fff;
}
.reason-item:nth-of-type(3) .reason-item__num {
    background: #86CFEB;
    color: #021237;
}

.reason-item:nth-of-type(1) {
    padding-top: 0;
}

.reason-item .reason-item__text {
    /* padding-left: 10rem;
    padding-right: 8rem; */
    padding-left: clamp(2rem, 5vw, 10rem);
    padding-right: clamp(2rem, 4vw, 8rem);
}
.reason-item:nth-of-type(2) .reason-item__text {
    padding-right: clamp(2rem, 5vw, 10rem);
    padding-left: clamp(2rem, 4vw, 8rem);
}

.reason-item__title {
  font-size: 3.0rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #021237;
}

.reason-item__body p {
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: #111111;
  font-weight: 400;
}

.reason-item__body p + p {
  margin-top: 1em;
}

/* Zone image */
.reason-item__image {
  flex: 1 1 50%;
}

.reason-item__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 959px) {
  .reason-section {
    padding: 40px 0 60px;
  }

  .reason-item {
    flex-direction: column;
    gap: 32px;
    padding: 40px 0;
  }

  .reason-item--reverse {
    flex-direction: column;
  }

  .reason-item__head {
    margin-bottom: 16px;
  }

  .reason-item__title {
    font-size: 1.8rem;
  }
  .reason-item .reason-item__text {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .reason-item:nth-of-type(2) .reason-item__text {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 1024px) {
    
}

@media (max-width: 600px) {
  .reason-hero__circles {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto 0;
    gap: 0;
  }
  .reason-circle {
    width: calc((160 * 100vw) / 360);
    height: calc((160 * 100vw) / 360);
  }
  .reason-circle .reason-.reason-circle__icon img {

  }
  .reason-circle__label {
    font-size: calc((14 * 100vw) / 360);
  }
  .reason-circle:nth-child(1) {
    transform: translateX(0);
    z-index: 2;
  }
  .reason-circle:nth-child(2) {
    transform: translateX(0);
    transform: translateY(-50px);
    z-index: 3;
  }
  .reason-circle:nth-child(3) {
    transform: translateX(0);
    transform: translateY(-100px);
    z-index: 4;
  }
  .reason-hero__copy {
    transform: translateY(-80px);
  }
}

@media screen and (max-width: 768px) {
  .reason-hero {
    padding: 0 auto 5rem;
  }
}