/* =====================================================
   🎨 VARIABLES GLOBALES
====================================================== */
:root {
    --bg-color: #fcfcfc;
    --text-color: #181518;
      --header-height: 60px;
  }

  :root {
  --header-height: 60px;
}

.hero {
  height: 100vh;
}



  /* =====================================================
     🧱 HEADER PRINCIPAL
  ====================================================== */
  .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  }
  
  /* Ligne rouge centrale pour debug (optionnel) */
  .site-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 1px;
    
  }
  
  /* Conteneur interne du header */
  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    position: relative;
  }
  
  
  /* Zones fixes à gauche et droite */
  .left-zone,
  .right-zone {
    min-width: 120px; /* espace fixe */
    display: flex;
    align-items: center;
  }
  
  .left-zone {
    justify-content: flex-start;
    padding-left: 50px;
  }
  
  .right-zone {
    justify-content: flex-end;
    padding-right: 50px;
  }
  
  /* =====================================================
     🌐 RESEAUX SOCIAUX
  ====================================================== */
/* 1) On verrouille le conteneur de toutes translations / wraps */
.socials {
  display: flex;
  gap: 15px;
  flex: 0 0 auto;       /* pas de grow, pas de shrink */
  white-space: nowrap;   /* interdiction de passer à la ligne */
}

/* 2) On verrouille chaque icône pour qu’elle reste strictement 24×24 */
.socials a {
  display: inline-flex;  /* gardez-le inline pour qu’il reste dans le flux */
  flex: 0 0 auto;        /* taille fixe, pas de redimensionnement */
  align-items: center;
  justify-content: center;
  vertical-align: middle;

  position: relative;
  overflow: hidden;

  width: 18px;
  height: 18px;

  text-decoration: none;
  transition: opacity 0.2s;
  line-height: 0;
}

/* Le reste de vos règles img-slide / hover-text reste inchangé */

.socials a:hover {
  opacity: 0.7;
}

/* span superposé */
.img-slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

/* on place la première image en place et la seconde juste en dessous */
.img-slide:first-child {
  transform: translateY(0);
  z-index: 2;
}
.img-slide:last-child {
  transform: translateY(100%);
  z-index: 1;
}

/* au hover, on les fait glisser */
.hover-text:hover .img-slide:first-child {
  transform: translateY(-100%);
}
.hover-text:hover .img-slide:last-child {
  transform: translateY(0);
}

/* pour être sûr que l’image elle-même prend tout l’espace */
.img-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

  /* =====================================================
     🔰 LOGO CENTRÉ
  ====================================================== */
.logo-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  height: 40px;
  width: auto;
}

.logo-slide-wrapper {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease;
}

.hover-logo:hover .logo-slide-wrapper {
  transform: translateY(-40px); /* même hauteur que le logo */
}

.logo-slide {
  height: 40px;
  width: auto;
  display: block;
}

  
  /* =====================================================
     🍔 MENU BURGER
  ====================================================== */
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 2000;
    position: relative;
    flex-shrink: 0;
  }
  
  .burger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    transition: transform 0.4s ease, opacity 0.3s ease, top 0.4s ease, bottom 0.4s ease;
    position: relative;
  }
  
  /* Transformation burger -> croix */
  .burger.open span:first-child {
    transform: rotate(45deg);
    position: absolute;
    top: 10px;
  }
  
  .burger.open span:last-child {
    transform: rotate(-45deg);
    position: absolute;
    top: 10px;
  }
  
  /* =====================================================
     🖥 MENU FULLSCREEN
  ====================================================== */
  .menu-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    z-index: 900;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    visibility: hidden;
    overflow-y: scroll; /* ← autorise le scroll */
    -webkit-overflow-scrolling: touch;
  }
  
  /* Ouverture du menu */
  .menu-fullscreen.open {
    pointer-events: auto;
    visibility: visible;
  }
  
  /* Wrapper pour centrer sans décaler la fenêtre */
  .menu-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  /* Fenêtre qui masque le contenu */
  .menu-mask {
    width: 500px;
    max-width: 90vw;
    overflow: hidden;
    position: relative;
    height: auto;
  }
  
  /* Contenu glissant */
.navigation-items {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  row-gap: 16px;
  padding: 40px 20px;
  max-width: 90%;
  margin: 0 auto;
}

.navigation-link {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
}

.navigation-number {
  font-size: 28px;
  font-weight: 600;
  color: #052ef9e5;
  width: 40px;
  flex-shrink: 0;
  font-family: 'Thunder', sans-serif;
  line-height: 1;
  padding-top: 6px;
}

.navigation-text-wrapper {
  position: relative;
  overflow: hidden;
  display: block;
  line-height: 1;
  height: 85px; /* 👈 ajuste ici en fonction de ta taille de texte */
}
  
  .menu-fullscreen a {
    color: var(--text-color);
    text-decoration: none;
  }

  .menu-inner {
  transform: translateX(-100%);
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-fullscreen.open .menu-inner {
  transform: translateX(0);
}

  
  /* =====================================================
     🔁 EFFET HOVER TEXTE DOUBLÉ (menu, socials, logo)
  ====================================================== */
.navigation-item-text-2,
.navigation-item-text {
  font-family: 'Thunder', sans-serif;
  font-size: 110px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  display: block;
  transition: transform 0.4s ease;
}

.navigation-item-text {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(120%); /* 👈 Plus que 100% pour bien l’éloigner */
}


.navigation-link:hover .navigation-item-text-2 {
  transform: translateY(-100%);
}
.navigation-link:hover .navigation-item-text {
  transform: translateY(0);
}
  

  /* =====================================================
     🖥 RESPONSIVE
  ====================================================== */

  @media (max-width: 1024px) {
    .navigation-link:hover .navigation-item-text-2 {
    transform: none;
}
  .navigation-item-text {
    display: none !important;  /* ❌ supprime la deuxième couche inutile */
  }
}


  @media (max-width: 768px) {
  .logo-center a {
    font-size: 20px;
  }

  .socials {
    display: none;
  }

    .navigation-text-wrapper {
    height: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* permet d’empiler */
    gap: 0;
  }
  
  .navigation-items {
    gap: 1vw;                  /* réduit l'espacement entre les liens */
  
  }

  .navigation-link {
    flex-direction: column;
    align-items: center;
    gap: 1vw;
  }

  .navigation-number {
    display: none !important;  /* cache les numéros */
  }

  .navigation-item-text-2 {
    font-size: 15.5vw;          /* taille mobile plus contrôlée */
    line-height: 1;
    text-align: center;
  }

  .navigation-item-text {
    display: none !important;  /* ❌ supprime la deuxième couche inutile */
  }

  .header-container {
    display: flex;
    align-items: center;
  }

  .logo-center {
    position: static !important;
    transform: none !important;
    margin: 0 0 0 20px;
    order: 1;
  }

  .left-zone {
    width: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    order: 2;
  }

  .right-zone {
    margin-left: auto;
    order: 3;
  }

  .navigation-link:hover .navigation-item-text-2 {
    transform: none;
}
}

@media (max-width: 400px) {
  .right-zone {
    padding-right: 15px;
  }

  .right-zone .burger {
    margin-right: 15px;
  }
}


