/* -----------------------------------------------------------
                          ICÔNE BURGER
------------------------------------------------------------ */

.gtm-burger {
  padding: 0px;
  height: 0px;
}

  /* Boite de l'icône burger */

  .gtm-open-nav-menu{
    display: flex;
    position: fixed;
    top: 0;
    left: 10px;
    height: 40px; /* hauteur du fond */
    width: 40px; /* largeur du fond */
    border-radius: 4px;
    background-color: #ff4d00; /* couleur d'arrière plan de la boite */
    border-radius: 50%;
    margin: 10px 10px 0px 0px;
    align-items: center; /* centrer les barres du burger verticalement */
    justify-content: center; /* centrer les barres du burger horizontalement */
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 20000000;
  }

  @media screen and (min-width: 768px) {
    .gtm-open-nav-menu{
      left: 15px;
      height: 60px; /* hauteur du fond */
      width: 60px; /* largeur du fond */
      margin: 15px 15px 0px 0px;
    }

    .gtm-open-nav-menu::after {
      content: "Menu";
      position: absolute;
      top: 50%;
      left: 80px;
      transform: translateY(-50%);
      font-family: 'fibra_onebold';
      color: #fff;
    }
  }

  .gtm-open-nav-menu:hover {
    background-color: #d74608; /* couleur d'arrière plan de la boite */
  }

  .gtm-burger {
    padding: 0 !important;
  }
  
  /* ------------------- OUVRIR & FERMER -------------------- */

  /* ligne centrale du menu burger */

.gtm-open-nav-menu span {
    display: block;
    position: relative;
    height: 3px;/* hauteur */
    width: 18px;/* longueur */
    border-radius: 99px;
    background-color: #fff; /* couleur */
  }

  @media screen and (min-width: 768px) {
    .gtm-open-nav-menu span {
      width: 30px;/* longueur */
    }
  }
  
  /* Lignes haute & basse */

.gtm-open-nav-menu span:before,
.gtm-open-nav-menu span:after{
    content: "";
    position: absolute;
    left:0; /* positionnement tout à gauche de la ligne centrale */
    width: 100%; /* largeur des lignes haute & basse */
    height: 100%; /* utilise toute la hauteur */
    box-sizing: border-box;
    background-color: #fff;/* couleur des lignes */
    border-radius: 99px;
    transition: all .2s ease;/* transition des lignes */
  }

  /* Lignes haute */

.gtm-open-nav-menu span:before{
    top:-7px;/* Positionnement de la ligne haute */
  }

  /* Lignes basse */
.gtm-open-nav-menu span:after{
    top:7px;/* Positionnement de la ligne basse */
  }



/* ------------------- FERMER -------------------- */
      
  
  .gtm-hidden-scrolling .gtm-open-nav-menu span {
      background-color: transparent !important; /* suppression de la ligne centrale */
  }

  .gtm-hidden-scrolling .gtm-open-nav-menu span:before {
      transform: rotate(-45deg);/* rotation de la barre haute */
      top:0px; /* position la ligne basse au center */
      background-color: #fff;
  }

  .gtm-hidden-scrolling .gtm-open-nav-menu span:after{
      transform: rotate(45deg); /* rotation de la ligne basse */
      top:0px; /* position la ligne basse au center */
  }

    
/* -----------------------------------------------------------
                        MENU
------------------------------------------------------------ */

  
  .gtm-menu {
    z-index: 10;
    position: relative;
  }


  /*.gtmHeader {
    /* position: fixed; */
    /* width: 100%; */
    /* min-height: 100vh; */
    /* z-index: 1; */
    /* display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(3, auto);
    grid-column-gap: 0px;
    grid-row-gap: 0px; */
    /* overflow-x: hidden; */


    /* position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden; 
    background-color: #202945;
    display: flex; 
    flex-direction: column; 
  } */

  .gtmHeader {
    position: fixed; /* Garde le conteneur parent fixe */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Prend toute la hauteur de l'écran */
    overflow: hidden; /* Empêche le défilement sur .gtmHeader */
    background-color: #202945;
    display: flex;
    flex-direction: column-reverse;
  }
  
  .gtm-menu-container {
    flex: 1; /* Permet à la hauteur de s'étendre */
    overflow: hidden; /* Empêche le débordement interne */
    display: flex;
    flex-direction: column;
  }
  
  .gtm-wrapper-menu {
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between !important;
    flex: 1; /* Prend tout l'espace disponible dans .gtm-menu-container */
    overflow-y: auto; /* Active le défilement vertical */
    -webkit-overflow-scrolling: touch; /* Défilement fluide sur mobile */
  }

  @media screen and (min-width: 1200px){
    .gtm-wrapper-menu {
      justify-content: flex-start;
    }
  }
  
  .gtm-titre-menu {
    width: 100%;
    grid-area: 1 / 1 / 2 / 2;
    text-align: center;
    align-self: end;
    color: #97b2f5;
    position: relative;
    font-size: 30px;
    order: 1;
  }
  .gtmContainer {
    grid-area: 2 / 1 / 3 / 2;
    order: 2;
  }
  .gtm-menu-bottom { grid-area: 3 / 1 / 4 / 2; }

  .gtmHeader::before {
    content: url(/images/icn-soleva-dark.svg);
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    width: 100%;
  }

  @media screen and (min-width: 768px) {
    .gtmHeader::before {
      right: -150px;
      width: 50%;
    }
  }

  .gtm-header-main {
    position: relative;
    z-index: 10;
  }


  nav.gtm-nav-menu ul.menu {
    list-style: none;
  }
  
/* Apparition disparition du menu */
    
  .gtmHeader {
    left: -100%;/* déplacement du menu hors site */
    transition: all 0.5s ease;/* Transition d'apparition du menu*/
    background-color: #202945;
  }

  /* Menu ouvert */
  .gtmHeader.gtmOpen {
    left: 0px;/* Décalage de 100% pour faire apparaitre le menu */
    z-index: 100;
  }

/* -----------------------------------------------------------
                  NAVIGATION PRINCIPALE
------------------------------------------------------------ */


.menu-item a:not(.gtm-sub-menu a) {
  font-family: 'fibra_onebold';
  font-size: 20px;
  color: #fff;
  display: block;
  /* margin-bottom: 15px; */
  transition: color .2s ease-in-out;
  /* max-width: 400px; */
}

.menu-item a:not(.gtm-sub-menu a):hover {
  color: #ff4d00;
}

.menu {
  display: flex;
  flex-direction: column;
}


@media screen and (min-width: 1200px) {
  /* .menu {
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(2, auto);
    grid-column-gap: 40px;
    grid-row-gap: 0px;
  } */
 
  /* .menu-item:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
  .menu-item:nth-child(1) { grid-area: 1 / 2 / 2 / 3; } */
  /* .menu-item:nth-child(1) { grid-area: 2 / 1 / 3 / 2; } c'est lui */
  /* .menu-item:nth-child(1) { grid-area: 2 / 2 / 3 / 3; } */
/* 
  .menu-item a:not(.gtm-sub-menu a) {
    font-size: 26px;
  } */

.menu {
display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(3, auto);
  grid-column-gap: 20px;
  grid-row-gap: 0px;
}

.menu-item {
  margin-bottom: 5px;
}

.menu-item.item-351 { grid-area: 1 / 1 / 2 / 2; } /* div 1 */
.menu-item.item-376 { grid-area: 1 / 2 / 2 / 3; } /* div 2 */
.menu-item.item-354 { grid-area: 2 / 1 / 3 / 2; } /* div3 */
.menu-item.item-355 { grid-area: 2 / 2 / 3 / 3; } /* div 4 */
.menu-item.item-356 { grid-area: 3 / 1 / 4 / 2; } /* div 5 */
}




/* -----------------------------------------------------------
                      SOUS-MENU
------------------------------------------------------------ */

.gtm-sub-menu {
  margin-left: 0px;
  list-style: none;
}

.gtm-sub-menu a {
  font-family: 'fibra_onebold';
  font-size: 16px !important;
  color: #838faa;
  display: block;
  margin-bottom: 10px;
  transition: color .2s ease-in-out;
}

.gtm-sub-menu a:hover {
  color: #97b2f5;
}

@media screen and (min-width: 1200px) {
  .gtm-sub-menu a {
    font-size: 18px !important;
  }
}

/* -----------------------------------------------------------
                      MENU BOTTOM
------------------------------------------------------------ */

.gtm-menu-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  order: 3;
}

/* @media screen and (min-width: 1200px) {
  .gtm-menu-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
  }
} */

.gtm-menu-bottom .gtm-box-lien-emploi {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  justify-content: center;
}


span.gtm-megaphone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: #161f35;
  border-radius: 50%;
}

.gtm-menu-bottom .gtm-box-lien-emploi a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0px;
  padding: 10px 20px;
  height: 100%;
  width: 100%;
  margin: auto;
  background: #ff4d00;
  transition: background-color .2s ease-in-out;
}


.gtm-menu-bottom .gtm-box-lien-emploi a:hover {
  background: #d74608;
}

.gtm-box-autres-liens {
  width: 100%;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  background-color: #161f35;
  height: 100%;
}

.gtm-box-autres-liens a {
  font-size: 18px;
  font-weight: 800;
  color: #838faa;
  margin-bottom: 0px;
  transition: color .2s ease-in-out;
}
  
.gtm-box-autres-liens a:hover {
  color: #97b2f5;
}
  

@media screen and (min-width: 1200px) {
  .gtm-menu-bottom {
    height: 150px;
    display: flex;
    flex-direction: row;
  }

  .gtm-box-autres-liens {
    justify-content: flex-start;
  }

  .gtm-menu-bottom .gtm-box-lien-emploi {
    width: 700px;
    justify-content: flex-start;
  }

  .gtm-menu-bottom .gtm-box-lien-emploi a {
    gap: 30px;
    font-size: 30px;
  }

  span.gtm-megaphone {
    width: 90px;
    height: 90px;
  }

  .gtm-box-autres-liens {
    width: calc(100% - 700px);
    padding: 0px 80px;
  }

  .gtm-box-autres-liens a {
    font-size: 25px;
  }

  .gtm-menu-bottom {
    height: 150px;
    display: flex;
    flex-direction: row;
  }

  .gtm-menu-bottom .gtm-box-lien-emploi {
    width: 700px;
  }

  .gtm-menu-bottom .gtm-box-lien-emploi a {
    gap: 30px;
    font-size: 30px;
  }

  span.gtm-megaphone {
    width: 90px;
    height: 90px;
  }

}
  

.menu > .menu-item.divider {
  pointer-events: none;
}
.menu > .menu-item.divider .gtm-sub-menu {
  pointer-events: auto;
}

.tags a {
  pointer-events: none;
  cursor: default;
}