
/* ==========================================================
   HERO-MENU (mobile uniquement)
   Objectifs :
   - toggler visible en haut à droite
   - bouton avec fond + bordure
   - offcanvas + backdrop TOUJOURS au-dessus du reste
   - pas de règles desktop ici
   ========================================================== */

@media (max-width: 991.98px) {

  /* 1) placer le bouton en haut à droite du hero (sans casser ton HTML) */
  header.zb-header .zb-nav-wrapper {
    position: relative !important;
    z-index: 1 !important;
  }

  header.zb-header .zb-nav-wrapper .navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(var(--rgb-btn), .25) !important;
  }

  /* 4) l'offcanvas et son backdrop au-dessus de tout */
  #zbMenuOffcanvas,
  .offcanvas {
    z-index: 2147483647 !important;
  }

  .offcanvas-backdrop {
    z-index: 2147483646 !important;
  }

  /* 5) overlay hero ne doit jamais capter les clics */
  header.zb-header .zb-hero__overlay,
  .zb-hero__overlay {
    pointer-events: none !important;
  }
}
        
/* Mobile : breadcrumb vertical centré, include sous le ol */
@media (max-width: 767.98px) {
  .zb-breadcrumb {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .5rem !important;
    text-align: center !important;
    padding-top:10px;
  }

  .zb-breadcrumb > ol {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  /* cibler tout ce qui n'est pas l'ol (ton include) et le centrer */
  .zb-breadcrumb > :not(ol) {
    order: 2 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: .5rem !important;
  }

  /* si l'include contient des boutons inline, les rendre adaptatifs */
  .zb-breadcrumb > :not(ol) .btn,
  .zb-breadcrumb > :not(ol) a {
    display: inline-flex !important;
    margin: 0 .25rem !important;
  }
.zb-breadcrumb > ol { display:flex; flex-wrap:wrap; gap:.5rem; }
.zb-breadcrumb > ol li:last-child { flex-basis:100%; flex-grow:1; min-width:0; }
}

  @media (max-width: 991.98px) {

  /* 1) Toggler en haut à droite (fixe) */
  header.zb-header .zb-nav-wrapper .d-lg-none{
    position: fixed !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    width: auto !important;
    padding: 0 !important;
    background: transparent !important;
    z-index: 1050 !important;
  }

  /* 2) Bouton : fond + bordure + ombre => très visible */
  header.zb-header .zb-nav-wrapper .navbar-toggler{
    width: 52px !important;
    height: 52px !important;
    padding: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: rgba(10, 12, 16, .78) !important;     /* fond sombre */
    border: 2px solid rgba(255,255,255,.42) !important; /* bordure bien visible */
    border-radius: 14px !important;

    box-shadow:
      0 12px 26px rgba(0,0,0,.42),
      0 0 0 2px rgba(var(--rgb-btn), .18) !important;

    color: #fff !important; /* force contraste pour l’icône */
  }

  header.zb-header .zb-nav-wrapper .navbar-toggler:hover{
    border-color: rgba(255,255,255,.70) !important;
    background: rgba(10, 12, 16, .88) !important;
  }

  header.zb-header .zb-nav-wrapper .navbar-toggler:focus{
    outline: none !important;
    box-shadow:
      0 12px 26px rgba(0,0,0,.42),
      0 0 0 4px rgba(var(--rgb-btn), .35) !important;
  }

  /* 3) Icône burger : 3 barres épaisses et contrastées (sans dépendre de Bootstrap) */
  header.zb-header .zb-nav-wrapper .navbar-toggler-icon{
    width: 26px !important;
    height: 18px !important;
    display: block !important;

    background: none !important;
    background-image:
      linear-gradient(#fff, #fff),
      linear-gradient(#fff, #fff),
      linear-gradient(#fff, #fff) !important;

    background-size: 100% 3px, 100% 3px, 100% 3px !important;
    background-position: top center, center center, bottom center !important;
    background-repeat: no-repeat !important;

    /* micro-contraste (utile sur fonds clairs) */
    filter: drop-shadow(0 1px 0 rgba(0,0,0,.55));
  }

  /* 4) L’overlay du hero ne doit jamais capter les clics */


  /* 5) Offcanvas au-dessus de tout */
  #zbMenuOffcanvas, .offcanvas{ z-index: 2147483647 !important; }
  .offcanvas-backdrop{ z-index: 2147483646 !important; }
}
/* Bannière inline (gérée par ton PHP) */
header.zb-header.has-banner {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.zb-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.zb-header { position: relative; }

.zb-hero__overlay {
  position: absolute !important;
  inset: 0 !important;
  /*background: linear-gradient(180deg,rgba(0, 0, 0, .05) 0%,rgba(0, 0, 0,.10) 60%)  !important;*/
z-index: 1 !important;
  pointer-events: none !important;
}

/* Le contenu doit être au-dessus */
header.zb-header .zb-hero__content {
  position: relative !important;
  z-index: 2 !important;
}
#btn-back-to-top { display:none; }
.zb-scrolled #btn-back-to-top {
    display:block !important;
    position: fixed !important;
    bottom: -30px !important;
    right:15px !important;
    transform: translateX(-50%) !important;
    z-index: 99999999999999 !important;
}

/*
--rgb-bt: ;
--rgb-title: ;
--title: ;
--title-bg: ;
*/

.zb-navitemb{
    white-space: nowrap;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: var(--title) !important;
    color: var(--title-bg) !important;
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    opacity: .92;
cursor:pointer;
border-radius:99px;
}
.zb-navitemb:hover{
    background-color: var(--title-bg) !important;
    color: var(--title) !important;
    text-decoration: none;
}




