#burger {
    cursor: pointer;
    z-index: 50;
  }
  
  #burger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.4s ease;
    transform-origin: 2px 2px;
  }
  
  /* Quand actif */
  #burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(-1px, -0px);
  }
  
  #burger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-0px);
  }
  
  #burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0px, 0px);
  }
  
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
  }
  
  #mobile-menu.open {
    max-height: 500px; /* assez grand pour contenir le menu */
    opacity: 1;
  }
  