/* ============================================
   NOUVELLE PAGE - CSS STANDALONE
   Reproduction exacte du header de index.html
   ============================================ */

/* ============================================
   FONT NOHEMI
   ============================================ */
@font-face {
  font-family: 'Nohemi semi bold';
  src: url('../fonts/Nohemi-SemiBold.woff2') format('woff2'),
       url('../fonts/Nohemi-SemiBold.woff') format('woff'),
       url('../fonts/Nohemi-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   RESET ET BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #fff;
}

/* ============================================
   PAGE WRAPPER
   ============================================ */
.page-wrapper {
  position: static;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* ============================================
   LOGO SURF
   ============================================ */
.logo-link {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInTitle 1.2s ease-out 0.1s forwards;
}

.logo {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
}

/* ============================================
   SECTION HERO AVEC VIDÉO
   ============================================ */
.section-hero {
  display: flex;
  -webkit-text-fill-color: inherit;
  background-color: #fff;
  background-image: linear-gradient(#fff, #fff);
  background-clip: border-box;
  width: 100%;
  min-height: 100vh;
  position: relative;
  inset: 0;
  overflow: clip;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}

/* Wrapper du titre */
.sectopn-hero-wrapper {
  z-index: 3;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  inset: 0% auto auto 0%;
  text-align: center;
}

/* Titre principal - Exactement comme index.html */
.title-h1-section {
  color: #fff;
  text-align: center;
  font-family: 'Nohemi semi bold', 'Nohemi', Arial, sans-serif;
  font-size: 15.625vw;
  font-weight: 600;
  line-height: 100%;
  margin: 0;
  width: 100%;
  opacity: 0;
  animation: fadeInTitle 1.2s ease-out 0.3s forwards;
}

/* Animation du titre */
@keyframes fadeInTitle {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Vidéo de fond */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

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

/* ============================================
   RESPONSIVE - TABLETTE
   ============================================ */
@media screen and (max-width: 991px) {
  .logo-link {
    margin-bottom: 2.5rem;
  }

  .logo {
    width: 120px;
  }

  .section-hero {
    width: 100%;
    min-height: 100vh;
  }

  .sectopn-hero-wrapper {
    height: 100%;
    position: absolute;
  }

  .title-h1-section {
    color: #fff;
    text-overflow: clip;
    word-break: normal;
  }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media screen and (max-width: 767px) {
  .logo-link {
    margin-bottom: 2rem;
  }

  .logo {
    width: 100px;
  }

  .sectopn-hero-wrapper {
    min-height: 100vh;
    padding: 0 1rem;
  }

  .title-h1-section {
    width: 90%;
    font-size: 19vw;
    line-height: 100%;
  }
}

/* ============================================
   SÉLECTION DE TEXTE
   ============================================ */
::selection {
  background-color: #000000;
  color: #ffffff;
}

::-moz-selection {
  background-color: #000000;
  color: #ffffff;
}
