/* =========================
   PROPERTY
========================= */

.op-main--property .property {
  /* padding: 8rem 0 0; */
}

/* container interne aligné sur le reste du site */
.property__inner {
  max-width: 124rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- HERO ---------- */

.property-hero {
  text-align: center;
  /* margin: 0 0 10rem; */
}

.property-hero__boxes {
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-bottom: 6rem;
}

.property-hero__box {
  min-width: 40rem;
  height: 16rem;
  padding: 3rem;
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  /* justify-content: center; */
  color: #fff;
  letter-spacing: 0.08em;
}

.property-hero__box--left {
  background-color: #113a95;
}

.property-hero__box--right {
  background: linear-gradient(90deg, #5fb4ff 0%, #89e2ff 100%);
}

.property-hero__box-icon {
  display: block;
  width: 6rem;
  height: 5rem;
}

.property-hero__box-icon img {
  display: block;
  width: 5rem;
  height: auto;
  object-fit: contain;
}

.property-hero__box-label {
  font-weight: 700;
  font-size: 4rem;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-align: center;
  display: block;
  width: 100%;
}

.property-hero__box--right .property-hero__box-label {
  color: #021237;
}

.property-hero__cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5rem;
}

.property-hero__cross img {
  display: block;
  width: 10rem;
  height: 10rem;
}

.property-hero__lead {
  font-weight: 700;
  font-size: 4rem;
  line-height: 1.5;
  letter-spacing: 0.12em;
  color: #021237;
}
.property-hero__lead span {
  color: #113A95;
}
.property-hero__lead small {
  font-size: 3rem;
} 

.op-property.property_wrapper {
  background: url("../img/property/bg.webp") no-repeat;
  background-size: cover;
  padding: 8rem 0 10rem;
  background-position: center;
}

/* ---------- ISSUES ---------- */

.property-issues {
  background: #f4f4f4;
  padding: 10rem 0;
  /* margin-top: 6rem; */
}

.property-issues__title {
  text-align: center;
  font-weight: 500;
  font-size: 4.2rem;
  line-height: 1;
  letter-spacing: 0.12em;
  color: #021237;
  margin: 0 0 7rem;
  position: relative;
  text-align: center;
}

.property-issues__title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -2.5rem;
  background: #113a95;
  height: 0.2rem;
  width: 8rem;
}

.property-issues__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
}

.property-issue {
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.property-issue__image img {
  width: 100%;
  height: auto;
  display: block;
}

.property-issue__label {
  position: relative;
  padding: 1.4rem 2rem 1.4rem 5.4rem;
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: #111;
  font-weight: 500;
}

.property-issue__label::before {
  content: "";
  position: absolute;
  left: 1.8rem;
  top: 3.8rem;
  width: 2.4rem;
  height: 2.4rem;
  background-color: #4f2374;
  border-radius: 0.2rem;
  background-image: url("../img/property/check_white.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.4rem 1.4rem;
  /* top: 50%;
  transform: translateY(-50%); */
  top: 1.8rem;
}

/* ---------- BANDEAU CENTRAL ---------- */

.inside-banner {
  background: #113a95;
  padding: 5rem 0;
  text-align: center;
}

.inside-banner p {
  margin: 0;
  font-weight: 500;
  font-size: 4rem;
  line-height: 1.5;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-align: center;
}

/* ---------- SOLUTIONS ---------- */

.property-solutions {
  background-color: #ffffff;
  padding: 8rem 0 14rem;
}

.property-solutions__inner {
  max-width: 176rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.property-solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.4rem;
}

.property-solution {
  background: #f0f3f7;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.property-solution__image img {
  width: 100%;
  height: auto;
  display: block;
}

.property-solution__body {
  padding: 4rem 3rem 5rem;
}

.property-solution__title {
  font-weight: 500;
  font-size: 3rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: #113a95;
  margin: 0 0 3rem;
  text-align: center;
}

.property-solution__title span {
  color: #111;
}

.property-solution__text {
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: #111;
  margin: 0;
}

/* ---------- AJUSTEMENTS 1024–1366 ---------- */
@media (max-width: 1366px) {
  .property-hero__box {
    padding: 2.8rem 4.4rem;
  }
  .property-issues__title {
    font-size: 3.2rem;
  }
  .property-issue__label {
    font-size: 1.8rem;
  }
  .property-solution__title {
    font-size: 2.2rem;
  }
}

@media (max-width: 1024px) {
  /* .property-issues__grid {
    grid-template-columns: 1fr 1fr;
  } */
   .op-property.property_wrapper {
    padding: 5rem 0 5rem;
    /* background-size: contain;
    background-position-y: 100%; */
   }
   .op-main--property .property {
    padding: 4rem 0 0;
   }
  .property-issue__label {
    font-size: 1.6rem;
  }
  .property-issue__label::before {
    content: "";
    width: 1.6rem;
    height: 1.6rem;
    left: 1rem;
  }
  .property-solution__title {
    font-size: 1.8rem;
  }
  .property-solution__body {
    padding: 3rem 1rem 2.5rem;
  }
  .property-hero {
    /* margin: 0 0 5rem; */
    margin: 0;
  }
  .property-hero__boxes {
    flex-direction: column;
  }
  .property-hero__box {
    min-width: 29rem;
    height: 13rem;
  }
  .property-hero__cross {
    padding: 3rem 0;
  }
  .property-hero__cross img {
      display: block;
      width: 5rem;
      height: 5rem;
  }
  .property-issue__label {
    padding: 1.4rem 1rem 1.4rem 3.2rem;
  }
  .inside-banner {
    padding: 2.5rem 0;
  }
  .inside-banner p {
    font-size: 2.4rem;
  }
  .property-issues {
    padding: 5rem 0;
    /* margin-top: 3rem; */
    margin-top: 0;
  }
  .property-solutions {
    padding: 4rem 0 6rem;
  }
  .property-issues__title {
    font-size: 2.6rem;
  }
  .property-hero__lead,
  .property-hero__box-label {
    font-size: 2.4rem;
  }
  .property-hero__lead small {
    font-size: 2rem;
  }
}


/* ---------- MOBILE < 768px : font-size clampés 390 → 768 ---------- */
@media (max-width: 767px) {
  .op-property.property_wrapper {
    padding: 0 0 5rem;
  }
  .property-hero {
    margin: 0;
  }
  .property-solutions__grid {
    grid-template-columns: 1fr;
  } 
  .property-issues__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .property-hero__box-label,
  .property-hero__lead {
    font-size: clamp(1.8rem, calc(18 * var(--vw390)), 3rem);
  }

  .property-hero__lead small {
    font-size: clamp(1.2rem, calc(14 * var(--vw390)), 1.6rem);
  }

  .property-issues__title {
    font-size: clamp(2rem, calc(20 * var(--vw390)), 4rem);
  }

  .property-issue__label {
    font-size: clamp(1.4rem, calc(16 * var(--vw390)), 2rem);
  }

  .inside-banner p {
    font-size: clamp(1.8rem, calc(18 * var(--vw390)), 3rem);
  }

  .property-solution__title {
    font-size: clamp(1.8rem, calc(18 * var(--vw390)), 3rem);
  }

  .property-solution__text {
    font-size: clamp(1.4rem, calc(16 * var(--vw390)), 2rem);
  }
}
