@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;1,9..144,400&family=IBM+Plex+Mono:wght@400&display=swap');

*{ box-sizing: border-box; margin: 0; padding: 0; }

html, body{
  height: 100%;
  overflow: hidden;
  font-family: 'Fraunces', serif;
  background: #15140f;
}

.hero{
  position: relative;
  height: 100vh;
  height: 100dvh; /* corrige le décalage causé par la barre d'adresse sur Chrome mobile */
  width: 100%;
  overflow: hidden;
}

/* Vidéo en fond, cadrée pour remplir tout l'écran sans déformation */
.hero video{
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Voile sombre désactivé — retirer ce commentaire et remettre le bloc ci-dessous pour le réactiver si le texte devient difficile à lire sur une vidéo claire
.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,20,15,0.35) 0%, rgba(21,20,15,0.75) 100%);
}
*/

.hero-content{
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 6vw;
  color: #f5f3ee;
}

.eyebrow{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.7);
  margin-bottom: 1.2rem;
}

h1{
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1;
  font-weight: 500;
  max-width: 14ch;
}

h1 em{
  font-style: italic;
  color: #b98a1f;
}

p.sub{
  margin-top: 1.4rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  max-width: 40ch;
  color: rgba(245,243,238,0.85);
  line-height: 1.6;
}

.scroll-hint{
  position: absolute;
  bottom: 2.5rem;
  left: 6vw;
  z-index: 1;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.6);
  line-height: 1.6;
}