.hero-realisation {
  margin-top: 122px;
}

.hero-realisation__intro {
  text-align: center;
  margin-bottom: 121px;
}

.hero-realisation__surtitre {
  color: var(--wp--preset--color--dark-blue);
  font-size: 16px;
  font-weight: var(--wp--custom--font-weight--bold);
  line-height: 24px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-realisation__titre {
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--x-large);
  color: var(--wp--preset--color--secondary);
  margin: 0;
  line-height: 64px;
}

.hero-realisation__placeholder {
  opacity: .45;
}

.hero-realisation__collage-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background-color: rgba(34, 43, 63, .06);
  color: var(--wp--preset--color--secondary);
  font-size: 14px;
}

.hero-realisation__collage {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.hero-realisation__collage-img {
  border-radius: 13px;
  overflow: hidden;
  position: relative;
}

.hero-realisation__collage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background-color: lightgray;
  display: block;
}

.hero-realisation__collage-main {
  width: 754px;
  height: 718px;
  flex-shrink: 0;
}

.hero-realisation__collage-single {
  width: 100%;
  height: 718px;
}

.hero-realisation__collage-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 1 auto;
}

.hero-realisation__collage-top {
  width: 497px;
  height: 255px;
}

.hero-realisation__collage-last {
  width: 756px;
  height: 344px;
  border-radius: 18px;
}

.hero-realisation__collage-single::after,
.hero-realisation__collage-last::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(34, 43, 63, 0) 47.44%, #222B3F 86.46%);
  pointer-events: none;
  z-index: 1;
}

.hero-realisation__collage-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--wp--preset--color--base);
  font-size: 16px;
  font-weight: var(--wp--custom--font-weight--bold);
  letter-spacing: .15px;
  text-transform: uppercase;
  line-height: 24px;
}

.hero-realisation__collage-badge strong {
  font-family: var(--wp--preset--font-family--primary);
  font-size: clamp(40px, 6vw, 83px);
  font-weight: var(--wp--custom--font-weight--semi-bold);
  line-height: clamp(44px, 6.5vw, 93px);
}

.hero-realisation__collage-expand {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #F7F5EB;
  z-index: 2;
}

.hero-realisation__collage-expand--mobile {
  display: none;
}

@media (max-width: 1500px) {
  .hero-realisation {
    margin-top: 100px;
  }

  .hero-realisation__collage-main,
  .hero-realisation__collage-single {
    width: 100%;
    max-width: 754px;
    flex-shrink: 1;
    min-width: 0;
  }

  .hero-realisation__collage-col {
    min-width: 0;
  }

  .hero-realisation__collage-top,
  .hero-realisation__collage-last {
    width: 100%;
    max-width: 756px;
  }
}

@media (max-width: 991px) {
  .hero-realisation__collage {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-realisation__collage-main,
  .hero-realisation__collage-single {
    max-width: none;
    height: 400px;
  }

  .hero-realisation__collage-col {
    flex-direction: row;
  }

  .hero-realisation__collage-top,
  .hero-realisation__collage-last {
    width: 100%;
    max-width: none;
    height: 220px;
  }
}

@media (max-width: 767px) {
  .hero-realisation__intro {
    margin-bottom: 60px;
  }

  .hero-realisation__collage-main,
  .hero-realisation__collage-single {
    height: 260px;
  }

  .hero-realisation__collage-col {
    display: none;
  }

  .hero-realisation__collage-expand--mobile {
    display: inline-flex;
  }
}

.hero-realisation-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(34, 43, 63, .95);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.hero-realisation-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.hero-realisation-lightbox__stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 100px;
}

.hero-realisation-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  opacity: 1;
  transition: opacity .15s ease;
}

.hero-realisation-lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, .12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero-realisation-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, .12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero-realisation-lightbox__nav--prev {
  left: 24px;
}

.hero-realisation-lightbox__nav--next {
  right: 24px;
}

@media (max-width: 767px) {
  .hero-realisation-lightbox__stage {
    padding: 80px 24px;
  }

  .hero-realisation-lightbox__nav {
    width: 44px;
    height: 44px;
  }

  .hero-realisation-lightbox__nav--prev {
    left: 8px;
  }

  .hero-realisation-lightbox__nav--next {
    right: 8px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-realisation {
    margin-top: 32px;
  }
}
