@font-face {
  font-family: "sf-pro-display-bold";
  src: url("../fonts/sf-pro-display-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

:root {
  --font-main: "sf-pro-display-bold", Arial, Helvetica, sans-serif;
  --black: #000;
  --white: #fff;
  --page-padding: clamp(24px, 5vw, 80px);
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.landing {
  min-height: 100vh;
}

.hero {
  min-height: 100svh;
  padding: var(--page-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero h2 {
  margin-top: 70px;     /* espace avec le h1 */
  margin-bottom: -70px; /* 👈 rapproche des boutons sans déplacer le reste */
}


.logo {
  width: clamp(130px, 14vw, 210px);
  margin-bottom: clamp(42px, 7vw, 88px);
}

.logo img {
  width: 100%;
  height: auto;
}

.hero-title {
  margin: 0;
  text-align: center;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(44px, 7.1vw, 90px);
  line-height: 0.88;
  letter-spacing: -0.04em;
}

.hero-title span {
  display: block;
}

.cta-button {
  width: 250px;
  height: 72px;
  margin-top: clamp(48px, 7vw, 90px);
  border-radius: 10px;
  background: var(--black);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.cta-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}





.cta-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-main);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.03em;
  transform: translateX(16px);
  transition: transform 0.42s cubic-bezier(.22, 1, .36, 1);
}

.cta-icon {
  width: 22px;
  height: 22px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition:
    transform 0.42s cubic-bezier(.22, 1, .36, 1),
    opacity 0.28s ease;
}

.cta-icon img {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
}

.cta-icon-calendar {
  left: 20px;
  opacity: 1;
}

.cta-icon-arrow {
  top: 37px;
  right: 20px;
  opacity: 0;
  transform: translate(38px, -50%);
}

.cta-button:hover .cta-text,
.cta-button:focus-visible .cta-text {
  transform: translateX(-12px);
}

.cta-button:hover .cta-icon-calendar,
.cta-button:focus-visible .cta-icon-calendar {
  opacity: 0;
  transform: translate(-42px, -50%);
}

.cta-button:hover .cta-icon-arrow,
.cta-button:focus-visible .cta-icon-arrow {
  opacity: 1;
  transform: translate(0, -50%);
}







.cta-button:focus-visible {
  outline: 3px solid rgba(0, 0, 0, .25);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .hero {
    padding: 32px 20px;
  }

  .logo {
    width: 135px;
    margin-bottom: 52px;
  }

  .hero-title {
    font-size: clamp(42px, 14vw, 72px);
    line-height: 0.9;
    letter-spacing: -0.06em;
  }

  .cta-button {
    width: 250px;
    height: 68px;
    margin-top: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}



.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  z-index: 1;
}

.hero > *:not(.hero-bg-video):not(.hero-overlay) {
  position: relative;
  z-index: 2;
}




.cta-group {
  display: flex;
  gap: 16px;
  margin-top: clamp(48px, 7vw, 90px);
}

.cta-group .cta-button {
  margin-top: 0;
}

.cta-group .cta-button:first-child {
  width: 250px;
}

.video-teaser {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 1000;
  width: 280px;
  height: 158px;
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  cursor: pointer;

  opacity: 1;
  visibility: visible;
  transition: opacity .35s ease, visibility 0s linear 0s;
}




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

.video-teaser__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .4);
}

.video-teaser__idle,
.video-teaser__hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.video-teaser__idle {
  inset: auto 0 0 0;
  height: auto;
  gap: 10px;
  padding: 0 16px 14px;
  justify-content: flex-start;
  align-items: center;
  transition: opacity .25s ease, transform .25s ease;
}

.video-teaser__idle span {
  text-align: left;
  max-width: 205px;
  white-space: nowrap;
}

.video-teaser__idle img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
  flex: 0 0 auto;
}

.video-teaser__idle span {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.video-teaser__hover {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .25s ease, transform .25s ease;
}

.video-teaser__hover img {
  width: 34px;
  height: 34px;
  filter: brightness(0) invert(1);
}

.video-teaser:hover .video-teaser__idle {
  opacity: 0;
  transform: translateY(8px);
}

.video-teaser:hover .video-teaser__hover {
  opacity: 1;
  transform: scale(1);
}










.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.video-modal.is-open {
  display: flex;
}


.video-modal__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .92);
  cursor: pointer;
}


.video-modal__content {
  position: relative;
  z-index: 2;
  width: min(95vw, 1200px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 18px;
  overflow: visible;
}

.video-modal__player {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: #000;
}

.video-modal__close {
  position: absolute;
  top: -42px;
  right: -4px;
  z-index: 3;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 25px;
  cursor: pointer;
}

body.video-modal-open .video-teaser {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility 0s linear .35s;
}










@media (max-width: 760px) {
  .cta-group {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 58px;
  }

  .cta-group .cta-button,
  .cta-group .cta-button:first-child {
    width: 250px;
  }

  .video-teaser {
    right: 16px;
    bottom: 16px;
    width: 190px;
    height: 108px;
  }

  .video-teaser__idle span {
    font-size: 13px;
  }
}




.video-modal {
  z-index: 9999;
}

.video-modal__backdrop {
  z-index: 1001;
}

.video-modal__content {
  z-index: 1002;
}
