/**
 * Medium image size
 */
 .homepage-hero {
  overflow: hidden;
  background-color: var(--white-light);
 }
.homepage-hero.image-size-medium {
  position: relative;
  padding: 64px 16px;
  padding-top: 150px;
  height: 100%;
}
.hero-blur-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* On pousse le flou assez fort pour l'effet "vibe" */
    filter: blur(50px) saturate(1.2);
    /* Le scale évite de voir les bords blancs du flou */
    transform: scale(1.1);
    will-change: transform; /* Optimisation D11 / GPU */
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0; /* Raccourci moderne pour top/left/right/bottom: 0 */
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.5) 100%
    );
    z-index: 2;
}
.image-size-medium .homepage-hero__content {
  display: flex;
  flex-direction: column-reverse;
  gap: 1.5rem;
  z-index: 3;
  position: relative;
}
.image-size-medium .homepage-hero__wrapper {
  display: grid;
  gap: 2rem;
  grid-template-rows: max-content;
}
.image-size-medium .homepage-hero__image {
  justify-self: center;
  align-self: center;
}
.image-size-medium .homepage-hero__image picture {
  box-shadow: 2px 6px 12px rgba(0,0,0,0.25);
  width: 100%;
}
.image-size-medium .homepage-hero__title {
  color: var(--white-light);
  margin-bottom: 2rem;
  position: absolute;
  top: -100px;
}
.image-size-medium .homepage-hero__text {
  color: var(--white-light);
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.image-size-medium .homepage-hero__cta {
  align-self: end;
  justify-self: center;
}
.swiper-notification {
  display: none;
}
@media all and (min-width: 650px) {
  .homepage-hero.image-size-medium {
    position: relative;
    padding: 70px 32px;
  }
  .image-size-medium .homepage-hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr ;
    justify-content: space-between;
  }
  .image-size-medium .homepage-hero__wrapper {
    padding: 20px 0;
    gap: unset;
  }
  .image-size-medium .homepage-hero__title {
    position: unset;
    margin: 0;
  }
  .image-size-medium .homepage-hero__image picture {
    width: fit-content;
  }
  .image-size-medium .homepage-hero__cta {
    justify-self: unset;
    margin-top: 16px;
  }
}
@media all and (min-width: 1000px) {
  .homepage-hero.image-size-medium {
    padding: 70px;
  }
  .image-size-medium .homepage-hero__content {
    padding: 0 50px;
    justify-content: unset;
  }
  .image-size-medium .homepage-hero__wrapper {
    justify-self: unset;
  }
  .image-size-medium .homepage-hero__image {
    justify-self: end;
    align-self: unset;
  }
}
@media all and (min-width: 1200px) {
  .homepage-hero.image-size-medium {
    padding: 70px 184px;
  }
  .image-size-medium .homepage-hero__wrapper {
    padding: 36px 0;
  }
}
@media all and (min-width: 1500px) {
  .image-size-medium .homepage-hero__content {
    padding: 0 90px;
    justify-content: unset;
  }
}
@media all and (min-width: 1700px) {
  .homepage-hero.image-size-medium {
    padding: 70px 200px;
  }
  .image-size-medium .homepage-hero__content {
    padding: 0 150px;
  }
}


/*
 * Full image size
 */

.homepage-hero.image-size-full {
  height: 100%;
}
.homepage-hero__image-full-desktop {
  display: none;
}
.image-size-full .homepage-hero__wrapper {
  position: absolute;
  z-index: 3;
  bottom: 10%;
  right: 50%;
  transform: translateX(50%);
  display: flex;
  flex-direction: column;
  width: max-content;
  max-width: 90%;
}
.homepage-hero__image-full-desktop img,
.homepage-hero__image-full-mobile img {
  height: 100%;
}
.image-size-full .homepage-hero__title {
  color: var(--white-light);
  margin-bottom: 2rem;
}
.image-size-full .homepage-hero__cta {
  margin-top: 24px;
  align-self: center;
}
.image-size-full .homepage-hero__text {
  color: var(--white-light);
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.image-size-full .homepage-hero__image-full-mobile img,
.image-size-full .homepage-hero__image-full-desktop img {
  width: auto;
}
@media all and (min-width: 650px) {
  .homepage-hero__image-full-desktop {
    display: block;
  }
  .homepage-hero__image-full-mobile {
    display: none;
  }
  .image-size-full .homepage-hero__wrapper {
    bottom: 15%;
  }
  .image-size-full .homepage-hero__content,
  .image-size-full .homepage-hero__image,
  .image-size-full .homepage-hero__image-full-mobile,
  .image-size-full .homepage-hero__image-full-desktop,
  .image-size-full picture {
    height: 100%;
  }
}
