@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --marine: #1e004b;
  --marine-hover: #35106b;
  --orange: #ff5f00;
  --orange-hover: #e45400;
  --white: #ffffff;
  --soft-white: #eee9f5;
  --footer: #f6f3f8;
  --footer-copy: #777080;
  --focus: #f8d47a;
  --gutter: clamp(1.25rem, 5.2vw, 4.75rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  min-height: 100%;
  background: var(--marine);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--marine);
  color: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
  background: var(--white);
  color: var(--marine);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  overflow: hidden;
  padding: 2.5rem var(--gutter) 0;
  background-color: var(--marine);
  background-image: url("../images/background-yeloz.svg");
  background-repeat: no-repeat;
  background-position: 41vw 5rem;
  background-size: 82.5vw auto;
}

.site-header,
.hero {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 90rem;
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(1.15rem, 2vw, 2rem);
}

.logo-yeloz {
  width: 18.75rem;
  height: auto;
}

.partner-logos {
  position: absolute;
  left: 47.5%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
}

.logo-cnoec {
  width: 11.65rem;
  height: auto;
}

.logo-cfpc {
  width: 3.5rem;
  height: auto;
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7em 1.35em;
  border: 0.125rem solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button[href]:hover {
  transform: translateY(-1px);
}

.button-secondary {
  min-width: 19rem;
  border-color: var(--white);
  background: transparent;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-header > .button-secondary {
  position: absolute;
  right: 4.25rem;
}

.button-secondary[href]:hover {
  background: rgba(255, 255, 255, 0.1);
}

.button-primary {
  background: var(--orange);
  color: var(--white);
}

.button-primary[href]:hover {
  background: var(--orange-hover);
}

.button-discover {
  min-width: 12.25rem;
  min-height: 3.25rem;
  margin-top: 1.65rem;
  padding: 0.78rem 1.75rem;
  font-size: 1.125rem;
  font-weight: 600;
}

a[aria-disabled="true"] {
  cursor: default;
}

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 0.1875rem solid var(--focus);
  outline-offset: 0.25rem;
}

.hero {
  flex: 1 0 auto;
  min-height: 37rem;
  display: grid;
  grid-template-columns: minmax(0, 31rem) minmax(0, 35rem);
  align-items: start;
  gap: 9.25rem;
  justify-content: start;
  padding-bottom: 4rem;
}

.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 2.7rem;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: none;
  font-size: clamp(2rem, 2.4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.headline-line {
  display: block;
  white-space: nowrap;
}

.method {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.62rem;
  margin-top: 1.45rem;
  font-size: clamp(1.05rem, 1.32vw, 1.2rem);
  line-height: 1.4;
}

.method strong {
  font-weight: 600;
}

.method span {
  color: var(--soft-white);
}

.launch-offer {
  width: min(100%, 31rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  margin-top: 2.5rem;
  padding: 1.05rem 1.25rem 1.5rem;
  border: 0.125rem solid var(--orange);
  border-radius: 0.7rem;
}

.launch-offer h2 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  text-transform: uppercase;
}

.launch-price {
  color: var(--orange);
  font-size: clamp(1.45rem, 1.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
}

.standard-price {
  color: var(--soft-white);
  font-size: 0.92rem;
}

.offer-note {
  color: var(--soft-white);
  font-size: 0.84rem;
}

.launch-offer .button-offer {
  min-width: 12rem;
  min-height: 3rem;
  margin-top: 1.25rem;
  padding: 0.7rem 1.25rem;
  font-size: 1rem;
}

.opening-date {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  font-weight: 600;
  line-height: 1.35;
}

.video-panel {
  position: relative;
  width: 100%;
  max-width: 35rem;
  min-width: 0;
  justify-self: center;
}

.video-panel > h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 1.55vw, 1.45rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.video-frame {
  position: relative;
  z-index: 2;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
  background: #100027;
  box-shadow: 0 0.8rem 2rem rgba(10, 0, 28, 0.26);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  display: none;
}

.js .video-play:not([hidden]) {
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  width: clamp(4.5rem, 7vw, 5.5rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 0.6rem 1.5rem rgba(10, 0, 28, 0.25);
}

.js .video-play:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

.video-play img {
  width: 100%;
  height: 100%;
}

.video-motif {
  position: absolute;
  z-index: 1;
  right: -12.8rem;
  bottom: -6.5rem;
  width: 23rem;
  max-width: none;
  pointer-events: none;
}

.site-footer {
  position: relative;
  z-index: 4;
  width: calc(100% + (2 * var(--gutter)));
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0 calc(-1 * var(--gutter));
  padding: 1.35rem var(--gutter) 1.1rem;
  background: var(--marine);
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem clamp(1rem, 2vw, 1.85rem);
  text-align: center;
}

.footer-links a {
  color: var(--white);
  font-size: 0.875rem;
  text-underline-offset: 0.2em;
}

.footer-links a[href]:hover {
  color: var(--soft-white);
}

.copyright {
  color: var(--soft-white);
  font-size: 0.8125rem;
  text-align: center;
}

@media (min-width: 90.01rem) {
  .site-shell {
    background-position-x: calc(50% - 8.125rem);
    background-size: 74.25rem auto;
  }
}

@media (max-width: 82rem) {
  .site-shell {
    gap: 3.25rem;
  }

  .site-header {
    grid-template-columns: minmax(14rem, 1fr) auto auto;
  }

  .partner-logos {
    position: static;
    left: auto;
  }

  .logo-yeloz {
    width: 15rem;
  }

  .logo-cnoec {
    width: 9.5rem;
  }

  .logo-cfpc {
    width: 3.2rem;
  }

  .button-secondary {
    min-width: 0;
    font-size: 0.9rem;
  }

  .site-header > .button-secondary {
    position: static;
    right: auto;
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 3rem;
  }

  .headline-line {
    display: inline;
    white-space: normal;
  }

  .video-panel {
    max-width: 33rem;
  }
}

@media (max-width: 58rem) {
  .site-shell {
    gap: 2.75rem;
    background-position: 44vw 11rem;
    background-size: 112vw auto;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .partner-logos {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-copy {
    max-width: 39rem;
    padding-top: 0;
  }

  h1 {
    max-width: 30rem;
  }

  .headline-line {
    display: inline;
    white-space: normal;
  }

  .video-panel {
    width: 100%;
    max-width: 42rem;
  }

  .video-motif {
    right: -8rem;
  }
}

@media (max-width: 36rem) {
  .site-shell {
    gap: 2.25rem;
    padding-top: 1.25rem;
    background-position: 44vw 22rem;
    background-size: 155vw auto;
  }

  .site-header {
    gap: 1rem 0.75rem;
  }

  .logo-yeloz {
    width: clamp(8rem, 34vw, 9.25rem);
  }

  .button-secondary {
    min-width: 0;
    padding-inline: 0.8rem;
    font-size: 0.75rem;
  }

  .logo-cnoec {
    width: 9.5rem;
  }

  .logo-cfpc {
    width: 2.9rem;
  }

  h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.2rem);
  }

  .method {
    column-gap: 0.5rem;
  }

  .button-discover,
  .launch-offer {
    width: 100%;
  }

  .video-frame {
    border-radius: 0.8rem;
  }

  .video-motif {
    right: -7rem;
    bottom: -4.6rem;
    width: 20rem;
  }

  .site-footer {
    padding-block: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
