/******************************
 * VARIABLES
 ******************************/
 :root {
    --text-color: #353535;
    --text-color-hover: #000000;
    --border-color: #F7931E;
    --box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    --overlay-box-shadow: 0px 2px 2px 2px rgba(55, 45, 22, .1);
    --border-radius: 0px;
    --z-index-overlay: 1;
  }
  
  /******************************
   * RESET ET BASE
   ******************************/
  * {
    box-sizing: border-box;
    margin: 0; 
    padding: 0;
  }
.overlay-column__list li,
.sav-block__list li,
.mobile-menu__list li {
  list-style: none; /* Supprime uniquement les puces pour ces listes */
}

li a {
  text-decoration: none;
}

body {
  font-family: 'Raleway', 'sans-serif';
  background: #fff;
  color: var(--text-color) ;
}
  
  /******************************
   * HEADER 
   ******************************/
  header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px !important;
    position: fixed;
    width: 100%;
    font-family: 'Raleway', 'sans-serif' !important;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
    top: 10px;
    
  }
  .header__background {
   background: #ffffff;
    position: absolute;
    border-radius: 20px;
    width: 1200px;
    height: 100%;
    z-index: -1;
    margin: auto;
  } 
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center!important;
    height: 80px;
    width: 1140px;
    position: relative;
  }
.header ul {
  margin: 0px !important;
}
  .header__logo {
    display: flex;
    align-items: center;
    justify-content: center;

  }
  .header__logo-image {
    height: 60px !important;
    align-items: center;
    
  }
  
  /******************************
   * NAV DESKTOP
   ******************************/
  .header__nav-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
   
  }
  .nav-desktop__list {
    display: flex;
    align-items: center;
  }
  .nav-item {
    position: relative;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-item__link { 
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
    padding: 5px 8px;
    color: #4d4d4d!important;
    transition: all 0.2s;
    margin: 0; 
    text-decoration: none!important;
  }
  .nav-item__link:hover, 
  .hovered {
    color: var(--text-color-hover) !important;
    cursor: pointer;
  }
  
  
  /******************************
   * MEGA OVERLAY
   ******************************/
  .mega-overlay {
    position: absolute;
    top: calc(100% + 16px); /* Espace de 16px */
    background: #fff;
    padding: 20px;
    min-width: 600px;
    box-shadow: var(--overlay-box-shadow);
    border-radius: 20px;
    
    /* Caché par défaut, s'ouvre via .open */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: var(--z-index-overlay);
  }

  #mega-bornes {
    left: 0px;
  }
  
  #mega-entreprises {
    left: 0px;
  }

  #mega-supervision{
    left: 0px;
  }
  
  #mega-outils{
    left: 0px;
  }
  
  #mega-ressources{
    left: 0px;
  }



  

  
  /* Quand JS ajoute .open => visible */
  .mega-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  /* Layout columns */
  .overlay-columns {
    display: flex;
    gap: 30px;
  }

  .overlay-column{
    width: 50%;
   
  }




 
  .overlay-column__title {
    color: #F7931E;
    border-bottom: 2px solid #F7931E;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
  }
  .overlay-column__list {
    margin-bottom: 15px;
    padding-left: 0px!important;
  }
  .overlay-column__list li {
    margin-top: 15px;
  }
  .overlay-column__list-item {
    margin-bottom: 5px;
  }
  .overlay-column__link {
    color: var(--text-color)!important;
    font-family: 'Raleway', 'sans-serif';
    font-weight: 400;
    font-size: 16px;
    transition: color 0.2s;
    text-decoration: none!important;
  
  }

  .image-nav-bornes{

    width: 50%;
    background-image: url('https://maborneauto.com/pro/wp-content/uploads/2025/06/SEO-supervision.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;

  }
  .image-nav-entreprises{

    width: 50%;
    background-image: url('https://maborneauto.com/pro/wp-content/uploads/2025/02/shutterstock_2430025521_2_11zon.webp');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    
  }

  .image-nav-ressources{
    width: 50%;
    background-image: url('https://maborneauto.com/pro/wp-content/uploads/2025/02/hotel.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
  }

  .overlay-column__link:hover {
    color: var(--text-color-hover)!important;
    text-decoration: underline!important;
  }
 
  
  /******************************
   * BLOC SAV 
   ******************************/
  .nav-desktop__sav-block {
    margin-left: 10px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    height: 100%;
  }
  .sav-block__list {
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 5px;
  }
  .nav-desktop-colum{
    display: flex;
    gap: 10px;
  }
  .sav-block__item {
    width: 100%;
    display: flex;
    font-family: 'Raleway', 'sans-serif';
    font-weight: 400;
    font-size: 16px;
  }
  .sav-block__linkOrange,
  .sav-container__linkOrange {
    border: 1px solid #DAE6B4;
    background: #DAE6B4;
    padding: 5px 15px;
    border-radius: 20px;
    text-align: center;
    color: #000000!important;
    transition: all 0.3s;
    text-decoration: none !important;
  }

  .sav-block__linkOrange{
    color: #000000!important;
  }
  .sav-container__linkOrange:active{
    color: #000000!important;
  }
 
  .sav-block__linkOrange:hover {
    border: 0.5px solid #DAE6B4;
    background: #ffffff;
    color: #000000!important;
  }


  .sav-block__linkBlue, 
  .sav-container__linkBlue {
    border: 1px solid #DAE6B4;
    background: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
    text-align: center;
    color: #000000!important;
    transition: all 0.3s;
    width: 100%;
    text-decoration: none !important;
  }

  .sav-block__linkBlue{
    color: #000000!important;
  }
  .sav-container__linkBlue:active{
    color: #000000!important;
  }
  .sav-container__linkBlue,
  .sav-container__linkOrange {
    width: 40% !important;
  }
  .sav-block__linkBlue:hover {
    border: 0.5px solid #DAE6B4;
    background: #DAE6B4;
    color: #000000!important;
  }

  .sav-container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    font-size: 18px;
    font-weight: 400;
    font-family: 'Raleway', 'sans-serif';
  }
  .sav-container a {
   width: 100%;
  }


  .nav-desktop__sav-block-responsiv {
    display: none;
  }
  .nav-desktop__sav-block-responsiv .sav-block__list{
    display: flex;
    flex-direction: row;
  }
  
  /******************************
   * BURGER (MOBILE)
   ******************************/
  .header__mobile-burger {
    display: none;
    background: none !important;
    border: none;
    position: relative;
    width: 30px;
    height: 20px;
    box-shadow: none !important;
    padding: 0 !important;
    mix-blend-mode: difference;
  }
  .header__mobile-burger span,
  .header__mobile-burger span::before,
  .header__mobile-burger span::after {
    display: block;
    background: #fff;
    mix-blend-mode: difference;
    height: 3px;
    width: 100%;
    border-radius: 2px;
    position: absolute;
    transition: 0.3s;
  }
  .header__mobile-burger span {
    top: 50%;
    transform: translateY(-50%);
  }
  .header__mobile-burger span::before {
    content: "";
    top: -7px;
  }
  .header__mobile-burger span::after {
    content: "";
    top: 7px;
  }
  
  /******************************
   * OFFCANVAS (MOBILE)
   ******************************/
  .mobile-offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;      
    height: 100vh;
    background: #FFFFFF;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77,0,0.175,1);
    z-index: 1; 
    display: flex;
    flex-direction: column;
  }
  .mobile-offcanvas.open {
    transform: translateX(0%);
    z-index: 200;
  }

  .menu-hidden {
    transform: translateY(-100%);
}
  .mobile-menu-level {
    flex: 1;
    overflow-y: auto;
    padding: 20px!important;
    display: none; 
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77,0,0.175,1);
  }
  .mobile-menu-level--active {
    display: block; 
    transform: translateX(0); 
  }
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid #F2F2F2;
    padding: 10px;
  }
  .mobile-header__logo {
    max-height: 50px;
  
  }
  .mobile-header__close-button {
    background: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    padding: 0 !important;
    border: none;
    font-size: 40px!important;
    font-weight: 200!important;
    cursor: pointer;
    color: #000000 !important;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: end;
    align-items: center;
  }
  .mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    margin-left: 0px;
    margin-bottom: 0px;
  }
  .mobile-menu__item {
    margin-bottom: 10px;
  }




  .mobile-menu__link {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Raleway', 'sans-serif';
    text-decoration: none!important;
  }
  .mobile-menu-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Raleway', 'sans-serif';
  }

  .mobile-menu-item-row__text{
    color:#000000;
  }

  .mobile-menu-item-row__chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    transform: rotate(-45deg);
    margin-left: 10px;
  }

  .mobile-menu-retour{
    display: flex;
    justify-content: left;
    align-items: center;
    cursor: pointer;
    margin-left: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #F2F2F2;
  }

  .mobile-menu__back-button {
    display: inline-block;
    padding-right: 10px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 400;
    font-family: 'Raleway', 'sans-serif';
  }
  .mobile-menu__title {
    font-size: 32px;
    color: #000000;
    margin-bottom: 0px!important;
  }
  #submenuAides .mobile-menu__title,
  #submenuBornes .mobile-menu__title,
  #submenuRessources .mobile-menu__title {
    border-bottom: 2px solid var(--border-color);
  }
  .mobile-submenu__list {
    list-style-type: none;
    margin: 0;
    padding-left: 20px;
  }
  .mobile-submenu__list ul {
    padding-left: 0px!important;
  }
  .mobile-submenu__list li {
    margin: 16px 0px;
    list-style-type: none;
  }

  .mobile-submenu__list a{
    color: #000000!important;
  }

  .mobile-submenu__item {
    margin-bottom: 32px !important;
  }

  .mobile-submenu__item ul{
    margin-left: 0px!important;
  }
  .mobile-submenu__item a,
  .mobile-submenu__list a,
  .mobile-submenu__link {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 400;
    font-family: 'Raleway', 'sans-serif';
    text-decoration: none!important;
  }

  .img-mobile-bornes{
    height: 15%;
    background-image: url('https://maborneauto.com/pro/wp-content/uploads/2025/02/shutterstock_2506093833_4_11zon.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 20px;
    border-radius: 20px;
    
  }
  
  .img-mobile-entreprises{
    height: 15%;
    background-image: url('https://maborneauto.com/pro/wp-content/uploads/2025/02/shutterstock_2430025521_2_11zon.webp');
    background-size: cover;
    background-position:right;
    background-repeat: no-repeat;
    margin-left: 20px;
    
  }

  .img-mobile-ressources{
    height: 15%;
    background-image: url('https://maborneauto.com/pro/wp-content/uploads/2025/02/hotel.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 20px;
    border-radius: 20px;
  }

  .mobile-submenu__itemTitle {
    color: #F7931E;
    border-bottom: 2px solid #F7931E;
    padding-bottom: 5px;
    font-size: 18px;
    font-weight: bold;
    max-width: 65%;
  }

  .sav-container__link {
    margin-right: 10px;
  }

  .is-coming-soon {
    color: #a8a8a8 !important;
    opacity: 0.7;
    pointer-events: none;
    cursor: default;
    text-decoration: none !important;
  }

  .overlay-column__link--disabled,
    .mobile-submenu__link--disabled {
      color: #7a7a7a !important;
      cursor: default;
      text-decoration: none !important;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .menu-badge-soon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 3px 8px;
      border-radius: 999px;
      background: #ececec;
      color: #666666;
      font-size: 12px;
      font-weight: 600;
      line-height: 1;
      white-space: nowrap;
    }
  
  /******************************
   * MEDIA QUERIES
   ******************************/
   @media (max-width: 480px){
    .SAV-boutons{
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
  
    .SAV-boutons a{
      width: 100%!important;
    }
   
  }

   @media (max-width: 990px) {
    header{
      top : 0!important;
    }
    .header {
      width: 100%;
      flex-direction: row !important;
      height: 70px !important;
      top: 0!important;
    }
    .header__background{
      background: #ffffff!important;
      top : 0!important;
    }
    .header__nav-desktop {
      display: none;
    }
    .header__logo {
      width: auto !important;
    }
    .header__mobile-burger {
      display: block;
    }
    .nav-desktop__sav-block-responsiv {
      display: none !important;
    }
    .SAV-boutons{
      display: flex;
      gap: 10px;
      width: 100%;
    }
    .SAV-boutons a{
      width: 100%!important;
    }
  .mobile-menu__title{
  font-size: 20px;
  }
  
    

  }


  @media (min-width: 992px) {
    .mobile-offcanvas {
      display: none;
    }
  }



  @media (max-width: 1345px) {
    .header {
      /* flex-direction: column; */
      height: 70px !important;
    }
    .header__logo {
      /* width: 940px; */
      justify-content: space-between;
     
    }
 
    .nav-desktop__sav-block {
      display: flex;
      flex-direction: column;
    }
  }
  



  
  /******************************
   * MAIN CONTENT
   ******************************/
  /* .main-content {
    padding: 20px;
    height: 500vh;
  }
  .main-content h2 {
    font-family: 'Raleway', 'sans-serif';
    color: #1D1D1B;
  }
  .main-content p {
    font-family: 'Inter', sans-serif;
  }


.elementor-element-18323893 {
   margin-top: 0px !important; gère le décalage page produit
}
   */