/*Monserrat*/
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat/static/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat/static/Montserrat-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

/*Monotalic*/
@font-face {
  font-family: 'Monotalic';
  src: url('fonts/monotalic/Monotalic-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Monotalic';
  src: url('fonts/monotalic/Monotalic-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Monotalic';
  src: url('fonts/Monotalic/Monotalic-Medium.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

.monotalic-text {
  font-family: 'Monotalic';
}

html,
body {
  font-family: "Inter", sans-serif;
  background: #f5efe6;
  color: #0a1a3f;
}

.display {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.01em;
}

/*equivalent to moneta sans*/
.font-text-site {
  font-family: "Montserrat", sans-serif !important;
  letter-spacing: 0.01em;
}

.sweep-row {
  opacity: 0;
}

.sweep-row:first-child {
  opacity: 1;
}

.sweep-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: white;
}

.hover-word {
  cursor: pointer;
  position: relative;
}

#hover-image {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(0, 0);
  /* reset */
}

.hero-words {
  height: 120px;
  overflow: hidden;
  position: relative;
}

.words-wrapper {
  display: flex;
  flex-direction: column;
}

.word {
  font-family: "Anton", sans-serif;
  font-size: clamp(3rem, 8vw, 8rem);
  height: 120px;
  /* IMPORTANT : même hauteur que le container */
  display: flex;
  align-items: center;
  justify-content: center;
}

video {
  object-position: center;
}

.mask-container {
  clip-path: path("M0,300 C200,100 400,500 600,200 C800,0 1000,400 1200,200 L1200,800 L0,800 Z");
}


.title-line {
  overflow: hidden;
  display: block;
  position: relative;
}

.custom-hover-link a:hover {
  transform: scale(1.2) !important;
  transition: all ease .3s;
}

/* passit */
#passit {
  position: relative;
  overflow: hidden;
  background: white;
}

/* IMAGE FOND */
.passit-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/header-background.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* OVERLAY BLANC */
.passit-white {
  position: absolute;
  inset: 0;
  background: white;
  z-index: 2;
}

/* TROU (MASK VISUEL) */
.passit-hole {
  position: absolute;
  inset: 0;
  z-index: 3;

  background-image: url("../assets/header-background.png");
  background-size: cover;
  background-position: center;

  -webkit-mask-image: url("../assets/pass-it.svg");
  mask-image: url("../assets/pass-it.svg");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: 200px;
  mask-size: 200px;

  pointer-events: none;
  border: 2px solid red;
  mix-blend-mode: normal;
  will-change: mask-position, mask-size;
}

/* tryptique section*/
.triptyque-item {
  position: relative;
  overflow: hidden;
}


.triptyque-item video {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.triptyque-item .default-state {
  transition: opacity 0.4s ease;
}

.triptyque-item .hover-state {
  transition: opacity 0.4s ease;
}
 
.hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
}

.default-state {
  z-index: 10;
}

.hover-state {
  z-index: 30;
}

.highlight {
  color: #F26B1F;
  font-weight: 600;
}