.page--home-prelaunch {
  background: #fff;
}

body[data-page="index"] {
  overflow-x: hidden;
}

.page--home-prelaunch img {
  height: auto;
}

.home-prelaunch-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.home-prelaunch-hero__media {
  display: flex;
  justify-content: center;
  width: 100%;
}

.home-prelaunch-hero__media img {
  width: 100%;
  max-width: 1440px;
}

.home-prelaunch-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.home-prelaunch-hero__content {
  position: relative;
  width: min(100%, 485px);
  margin: 0 0 0 auto;
  padding: 23px 22px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.home-prelaunch-hero__title {
  margin: 0;
  font-family: "AvantGardeBold", Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.18;
}

.home-prelaunch-hero__text {
  margin: 14px 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.home-prelaunch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 186px;
  min-height: 48px;
  padding: 0 24px;
  color: #000;
  background:
    linear-gradient(to bottom, #fff 50%, #bdbdbd 50%)
    no-repeat center top transparent;
  background-size: 100% 200%;
  border: 2px solid #000;
  border-radius: 8px;
  font-family: "AvantGardeBold", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.3px;
  transition: background-position 350ms ease, border-color 180ms ease;
}

.home-prelaunch-button:hover,
.home-prelaunch-button:focus {
  color: #000;
  background-position: center bottom;
  border-color: #bdbdbd;
}

.home-prelaunch-hero__button {
  width: 100%;
  margin-top: 18px;
}

.home-prelaunch-services {
  padding: 72px 0 34px;
}

.home-prelaunch-services__inner {
  max-width: 1162px;
  padding: 0;
}

.home-prelaunch-services__title {
  margin: 0;
  font-family: "AvantGardeBold", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1.12;
}

.home-prelaunch-services__text {
  margin: 6px 0 0;
  font-size: 1rem;
  line-height: 1.35;
}

.home-prelaunch-services__controls {
  display: none;
}

.home-prelaunch-services__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 42px;
}

.home-prelaunch-service {
  display: flex;
  flex-direction: column;
}

.home-prelaunch-service__image {
  width: 100%;
  aspect-ratio: 732 / 576;
  object-fit: cover;
  border-radius: 8px;
}

.home-prelaunch-service__title {
  margin: 20px 0 0;
  font-family: "AvantGardeBold", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.24;
}

.home-prelaunch-service__text {
  margin: 9px 0 0;
  font-size: 0.9rem;
  line-height: 1.36;
}

.home-prelaunch-services__actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.home-prelaunch-loyalty {
  padding: 58px 0 118px;
}

.home-prelaunch-loyalty__inner {
  position: relative;
  max-width: 1184px;
  min-height: 484px;
}

.home-prelaunch-loyalty__visual {
  display: flex;
  justify-content: flex-end;
  padding-left: 444px;
}

.home-prelaunch-loyalty__visual picture {
  width: min(100%, 658px);
}

.home-prelaunch-loyalty__visual img {
  width: 100%;
  border-radius: 8px;
}

.home-prelaunch-loyalty__card {
  position: absolute;
  left: 0;
  top: 96px;
  width: min(100%, 520px);
  padding: 42px 54px 42px;
  color: #fff;
  background: #000;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.home-prelaunch-loyalty__logo {
  width: min(100%, 312px);
}

.home-prelaunch-loyalty__copy {
  max-width: 360px;
  margin-top: 42px;
  margin-left: 0;
}

.home-prelaunch-loyalty__eyebrow {
  margin: 0;
  font-family: "AvantGardeBold", Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.2;
}

.home-prelaunch-loyalty__text {
  margin: 6px 0 0;
  font-size: 0.95rem;
  line-height: 1.35;
}

.home-postlaunch-loyalty {
  padding: 98px 0 92px;
}

.home-postlaunch-loyalty__inner {
  max-width: 1162px;
  padding: 0;
}

.home-postlaunch-loyalty__media,
.home-postlaunch-loyalty__media img {
  display: block;
  width: 100%;
}

.home-postlaunch-loyalty__media img {
  border-radius: 8px 8px 0 0;
}

.home-postlaunch-loyalty__panel {
  padding: 74px 70px 56px;
  color: #fff;
  background: #000;
  border-radius: 0 0 8px 8px;
  text-align: center;
}

.home-postlaunch-loyalty__title {
  max-width: 880px;
  margin: 0 auto;
  font-family: "AvantGardeBold", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1.15;
}

.home-postlaunch-loyalty__title span {
  color: #ffe500;
}

.home-postlaunch-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  max-width: 880px;
  margin: 32px auto 0;
}

.home-postlaunch-benefit {
  min-height: 168px;
  padding: 28px 26px 24px;
  color: #000;
  background: #fff;
  border-top: 5px solid #ffe500;
  border-radius: 8px;
}

.home-postlaunch-benefit__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.home-postlaunch-benefit__text {
  margin: 0;
  font-family: "AvantGardeBold", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.25;
}

.home-postlaunch-loyalty__text {
  margin: 26px 0 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.home-postlaunch-loyalty__button {
  min-width: 240px;
  margin-top: 24px;
  color: #fff;
  background: transparent;
  border-color: #fff;
}

.home-postlaunch-loyalty__button:hover,
.home-postlaunch-loyalty__button:focus {
  color: #000;
  background: #fff;
  border-color: #fff;
}

.home-postlaunch-promo {
  padding: 0 0 86px;
}

.home-postlaunch-promo__inner {
  position: relative;
  max-width: 1162px;
  padding: 0;
}

.home-postlaunch-promo__media,
.home-postlaunch-promo__media img {
  display: block;
  width: 100%;
}

.home-postlaunch-promo__media img {
  border-radius: 8px;
}

.home-postlaunch-promo__content {
  position: absolute;
  top: 50%;
  left: 48px;
  width: min(100% - 96px, 490px);
  padding: 28px 26px 24px;
  background: #fff;
  border-radius: 8px;
  transform: translateY(-50%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.home-postlaunch-promo__title {
  margin: 0;
  font-family: "AvantGardeBold", Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.15;
}

.home-postlaunch-promo__button {
  width: 100%;
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .home-prelaunch-hero__content {
    margin-bottom: 0;
  }

  .home-prelaunch-loyalty__inner {
    min-height: 430px;
  }

  .home-prelaunch-loyalty__visual {
    padding-left: 360px;
  }

  .home-prelaunch-loyalty__card {
    top: 80px;
    width: min(100%, 440px);
    padding: 34px 32px;
  }
}

@media (max-width: 799px) {
  .page--home-prelaunch .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-header__bar {
    position: relative;
    min-height: 58px;
    gap: 10px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .site-header__logo {
    max-width: calc(100% - 132px);
    margin-right: auto;
    font-size: 0.96rem;
  }

  .site-header__actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 7px;
  }

  .site-nav {
    display: none;
  }

  .site-header.is-open .site-nav {
    display: block;
  }

  .language-switch {
    position: static;
    width: auto;
    padding: 2px;
    font-size: 0.66rem;
  }

  .language-switch__link {
    min-width: 28px;
    min-height: 25px;
    padding: 0 6px;
  }

  .menu-toggle {
    display: inline-flex;
    position: static;
    width: 36px;
    height: 36px;
  }

  .home-prelaunch-hero__media img {
    width: 100%;
    height: auto;
    object-fit: initial;
    object-position: initial;
  }

  .page--home-prelaunch .home-prelaunch-hero__overlay {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(232px, 62vw, 268px);
    padding-right: 0;
    padding-left: 0;
  }

  .home-prelaunch-hero__content {
    position: relative;
    width: min(calc(100% - 68px), 366px);
    max-width: none;
    margin: 0 auto;
    padding: 24px 16px 22px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  }

  .home-prelaunch-hero__title {
    font-size: 1.5rem;
    line-height: 1.12;
  }

  .home-prelaunch-hero__text {
    margin-top: 18px;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .home-prelaunch-hero__button {
    min-height: 42px;
    margin-top: 18px;
  }

  .home-prelaunch-services {
    padding: 50px 0 28px;
  }

  [data-phase="postlaunch"].home-prelaunch-services {
    padding-bottom: 80px;
  }

  .home-postlaunch-loyalty {
    padding: 52px 0 48px;
  }

  .home-postlaunch-loyalty__inner {
    max-width: 100%;
  }

  .home-postlaunch-loyalty__media img {
    border-radius: 8px 8px 0 0;
  }

  .home-postlaunch-loyalty__panel {
    padding: 22px 18px 20px;
  }

  .home-postlaunch-loyalty__title {
    max-width: 270px;
    font-size: 1rem;
    line-height: 1.35;
  }

  .home-postlaunch-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .home-postlaunch-benefit {
    display: flex;
    align-items: center;
    min-height: 80px;
    padding: 13px 16px;
    text-align: left;
  }

  .home-postlaunch-benefit__icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    margin: 0 14px 0 0;
  }

  .home-postlaunch-benefit__text {
    font-size: 0.86rem;
    line-height: 1.2;
  }

  .home-postlaunch-loyalty__text {
    max-width: 270px;
    margin: 18px auto 0;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .home-postlaunch-loyalty__button {
    width: 100%;
    min-width: 0;
    margin-top: 18px;
  }

  .home-postlaunch-promo {
    padding: 0 0 50px;
  }

  .home-postlaunch-promo__inner {
    max-width: 100%;
  }

  .home-postlaunch-promo__content {
    top: auto;
    right: 32px;
    bottom: 14px;
    left: 32px;
    width: auto;
    padding: 16px;
    transform: none;
  }

  .home-postlaunch-promo__title {
    font-size: 1rem;
    line-height: 1.18;
  }

  .home-postlaunch-promo__button {
    min-height: 38px;
    margin-top: 12px;
  }

  .home-prelaunch-services .container {
    padding-right: 0;
    padding-left: 20px;
  }

  .home-prelaunch-services__title {
    max-width: 360px;
    font-size: 1.75rem;
    line-height: 1.08;
  }

  .home-prelaunch-services__text {
    max-width: 335px;
    font-size: 0.98rem;
  }

  .home-prelaunch-services__controls {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
    margin-top: 26px;
  }

  .home-prelaunch-services__control {
    width: 40px;
    height: 40px;
    color: transparent;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: opacity 180ms ease;
  }

  .home-prelaunch-services__control:hover,
  .home-prelaunch-services__control:focus {
    opacity: 0.65;
  }

  .home-prelaunch-services__control--prev {
    background-image: url("https://www.sephora.fr/on/demandware.static/-/Library-Sites-SephoraV2/default/dwc72fa4f1/LP/2025-mysephora/arrowL.png");
  }

  .home-prelaunch-services__control--next {
    background-image: url("https://www.sephora.fr/on/demandware.static/-/Library-Sites-SephoraV2/default/dwc72fa4f1/LP/2025-mysephora/arrowR.png");
  }

  .home-prelaunch-services__list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(286px, 78vw);
    gap: 14px;
    margin-top: 22px;
    overflow-x: auto;
    padding-right: 20px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-prelaunch-services__list::-webkit-scrollbar {
    display: none;
  }

  .home-prelaunch-service {
    scroll-snap-align: start;
  }

  .home-prelaunch-service__title {
    margin-top: 16px;
    font-size: 1.25rem;
  }

  .home-prelaunch-service__text {
    max-width: 280px;
    font-size: 0.95rem;
  }

  .home-prelaunch-services__actions {
    display: block;
    margin-top: 18px;
    padding-right: 20px;
  }

  .home-prelaunch-services__actions .home-prelaunch-button {
    width: 100%;
  }

  .home-prelaunch-button {
    min-height: 42px;
    border-width: 1px;
    font-size: 0.94rem;
  }

  .home-prelaunch-loyalty {
    padding: 34px 0 160px;
  }

  .home-prelaunch-loyalty__inner {
    min-height: 0;
  }

  .home-prelaunch-loyalty__visual {
    justify-content: stretch;
    padding-left: 0;
  }

  .home-prelaunch-loyalty__visual picture,
  .home-prelaunch-loyalty__visual img {
    width: 100%;
  }

  .home-prelaunch-loyalty__card {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -96px 0 0;
    padding: 18px 18px 18px;
  }

  .home-prelaunch-loyalty__logo {
    width: min(100%, 220px);
  }

  .home-prelaunch-loyalty__copy {
    max-width: none;
    margin-top: 16px;
  }

  .home-prelaunch-loyalty__eyebrow {
    font-size: 1rem;
  }

  .home-prelaunch-loyalty__text {
    font-size: 0.86rem;
  }

  body[data-page="index"] .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}
