body {
    font-weight: 400;
    line-height: 1.5;
    font-size: 18px;
   
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
 
  font-style: normal;


  }

  html {
  scroll-behavior: smooth;
}
  
  * {
    box-sizing: border-box;
  }

  .header-container {
    position: relative;
  }

header {
   width: 100vw;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 3rem;
    position: fixed;
    /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
    background-color: rgba(245, 245, 245, 0.475);
    z-index: 999;
        transition: background-color 0.5s ease; /* transition fluide de 0.5s */

}

/* classe ajoutée quand on scroll */
header.scrolled {
    background-color: rgb(245, 245, 245); /* plus opaque */
    transition: background-color 0.5s ease; /* transition fluide de 0.5s */
}

.header-logo-container {
  height: 90%;
  /* padding: 5px; */

}

.header-logo {
  height: 100%;
  
}
.header-menu {
    display: flex;
    gap: 2rem;
    padding: 5px;
    font-weight: bold;
    font-size: 16px;

}

.header-menu a {
  color: black;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  
  padding: 15px 20px;
}


/* .current-menu-item a{
 
  color: #d13133!important;
  } */
  
  
  .menu-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px; /* Épaisseur de la ligne de soulignement */
    background-color: #d13133; /* Couleur de la ligne de soulignement */
    transform: scaleX(0); /* Initialement, la ligne est invisible */
    transform-origin: bottom left; /* Point d'origine de la transformation */
    transition: transform 0.5s ease; /* Transition de la ligne de soulignement */

  }
  
  .menu-item  a:hover::after {
    transform: scaleX(1); /* La ligne de soulignement devient visible */
  }

/* Icône burger */
.hamburger {
    display: none !important; /* Cache le bouton burger sur desktop */
  
  }

  .navigation-mobile {
    width: 100%;
    position: absolute;
    top: 100%;
    right: 0;
    padding: 10px;
    font-size: 15px;
    z-index: 9999;

    background-color: #d3d2d2;
   


    text-transform: uppercase;
  }

  .navigation-mobile.active {
    visibility: visible;
    animation: latteral 0.4s forwards;
  }
  
  .navigation-mobile.inactive {
    display: none;
  }

  .navigation-mobile.closing {
    animation: latteral-off 0.4s forwards;
  }


/* Animations */
@keyframes latteral {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(0);
    }
  }
  
  @keyframes latteral-off {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(100%);
    }
  }

/* Responsive */
@media (max-width: 862px) {

    body {
  
      font-size: 14px;
  
    }

    header {
      align-items: center;
    }

    .header-menu {
        display: none;
      }

      .hamburger {
        display: block !important;
        
      }

      .menu-item {
       
        display: flex;
        justify-content: end;
        margin: 5px 0;
        padding: 5px 0;
   
      }

      .menu-item a{
  text-decoration: none;
  color: black;
   
      }

}