/* Ecoclope Theme Harmony 1.2.2 — styles doux, sans remplacement du thème. */
:root{--ectb-deep:#062f20;--ectb-green:#087a42;--ectb-lime:#c5e365;--ectb-light:#f5f9f3}

/* Header : identité premium, sans reconstruire les menus du thème. */
body.ectb-header :is(#masthead,.site-header,.bizberg_header_wrapper){background-color:#fff;box-shadow:0 6px 27px rgba(5,53,30,.075)}
body.ectb-header :is(#masthead,.site-header,.bizberg_header_wrapper) :is(.custom-logo,.site-logo img,.custom-logo-link img){max-height:82px;width:auto;object-fit:contain}
body.ectb-header :is(#masthead,.site-header,.bizberg_header_wrapper) a:focus-visible,
body.ectb-header :is(.navbar,.header_menu,.main-navigation) a:focus-visible{outline:3px solid var(--ectb-green);outline-offset:4px;border-radius:5px}
body.ectb-header :is(.main-navigation,.header_menu,.navbar,.bizberg_header_wrapper) .current-menu-item > a,
body.ectb-header :is(.main-navigation,.header_menu,.navbar,.bizberg_header_wrapper) a:hover{color:var(--ectb-green)}
/* Le mode compact est désactivé par défaut pour préserver le menu mobile. */
@media(min-width:992px){
  body.ectb-compact-header :is(#masthead,.site-header,.bizberg_header_wrapper) :is(.custom-logo,.site-logo img,.custom-logo-link img){max-height:63px}
  body.ectb-compact-header :is(#masthead,.site-header) :is(.navbar-header,.header-logo,.site-branding){padding-top:6px;padding-bottom:6px}
}

/* Footer : le contraste est amélioré mais les widgets/menu existants restent là. */
body.ectb-footer :is(#colophon,.site-footer){background-color:var(--ectb-deep);color:#e5efe9}
body.ectb-footer :is(#colophon,.site-footer) :is(h2,h3,h4,.widget-title){color:#fff}
body.ectb-footer :is(#colophon,.site-footer) a{color:#c5e365}
body.ectb-footer :is(#colophon,.site-footer) a:hover{color:#fff}
body.ectb-footer :is(#colophon,.site-footer) a:focus-visible{outline:2px solid #c5e365;outline-offset:4px}

/* Le site ne doit pas créer de scroll latéral à cause d'un fond "viewport". */
body.ectb-immersive{overflow-x:clip}

/* Fallback sans JS : sortir un HTML Ecoclope de la colonne du thème. */
body.ectb-immersive :is(#eco-home-v1,#eco-about-2027,#eco-charte-2027,#eco-partners-2027,#ecm-space){
  box-sizing:border-box!important;
  display:block;
  width:100vw!important;
  max-width:none!important;
  position:relative!important;
  left:50%!important;
  margin-left:-50vw!important;
  margin-right:0!important;
  clear:both;
}

/* La classe est appliquée sur les seuls ancêtres du widget Ecoclope par harmony.js. */
body.ectb-immersive.ectb-content-found .ectb-layout-ancestor{
  box-sizing:border-box!important;
  max-width:none!important;
  width:100%!important;
  padding-inline:0!important;
  margin-inline:0!important;
  float:none!important;
}
body.ectb-immersive.ectb-content-found .ectb-layout-ancestor.ectb-overflow-parent{overflow:visible!important}
body.ectb-immersive.ectb-content-found :is(.elementor-widget-html,.elementor-widget-container).ectb-layout-ancestor{min-width:0!important}

/* Espaces verticaux du conteneur d'article : pas de bande blanche au-dessus du header de page. */
body.ectb-immersive.ectb-content-found :is(#content,.site-content,.content-area,.entry-content,.page-content).ectb-layout-ancestor{
  padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important;
}
/* Bandeaux et titres générés par le thème : HTML Ecoclope possède déjà son H1. */
body.ectb-no-theme-title.ectb-content-found :is(.site-content,.content-area,#content,#primary,#main) :is(.page-header > .page-title,.entry-header > .entry-title,.post-title > h1){display:none!important}
body.ectb-no-theme-title.ectb-content-found :is(.bizberg_breadcrumbs,.breadcrumb-section,.breadcrumb-wrapper,.inner-banner,.page-banner){display:none!important}

@media(max-width:767px){
  body.ectb-header :is(#masthead,.site-header,.bizberg_header_wrapper) :is(.custom-logo,.site-logo img,.custom-logo-link img){max-height:66px}
  body.ectb-immersive :is(#eco-home-v1,#eco-about-2027,#eco-charte-2027,#eco-partners-2027,#ecm-space){width:100vw!important;max-width:none!important}
}
@media(prefers-reduced-motion:reduce){body.ectb-enabled *,body.ectb-enabled *::before,body.ectb-enabled *::after{scroll-behavior:auto!important}}



/* V1.2 : le menu natif ne change PAS de conteneur ni de disposition.
   Le nouveau logo est superposé dans la zone libre de la navigation ;
   la bande originale n'est masquée qu'une fois la géométrie vérifiée. */
@media(min-width:1024px){
  body.ectb-horizontal-header.ectb-horizontal-ready .ectb-original-logo-row{
    display:none!important;
  }
  body.ectb-horizontal-header.ectb-horizontal-ready .ectb-v12-nav-host{
    position:relative!important;
    min-height:76px!important;
  }
  body.ectb-horizontal-header .ectb-horizontal-brand{
    display:none!important;
  }
  body.ectb-horizontal-header.ectb-horizontal-ready .ectb-v12-nav-host > .ectb-horizontal-brand{
    display:flex!important;
    position:absolute!important;
    z-index:40;
    top:50%!important;
    left:clamp(12px,2vw,28px)!important;
    transform:translateY(-50%)!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:148px!important;
    height:70px!important;
    max-height:70px!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    box-shadow:none!important;
    text-decoration:none!important;
    pointer-events:auto!important;
  }
  body.ectb-horizontal-header.ectb-horizontal-ready .ectb-v12-nav-host > .ectb-horizontal-brand img{
    display:block!important;
    width:auto!important;
    max-width:142px!important;
    height:68px!important;
    max-height:68px!important;
    object-fit:contain!important;
    margin:0!important;
    padding:0!important;
  }
  body.ectb-horizontal-header.ectb-horizontal-ready .ectb-v12-nav-host > .ectb-horizontal-brand:focus-visible{
    outline:3px solid #087a42!important;outline-offset:4px;
  }
  body.ectb-topbar-compact :is(.header-topbar,.topbar,.top-bar,.top_header,.header_top,.header-top,.header_top_bar,.top_header_bar){
    min-height:30px!important;padding-block:0!important;
  }
  body.ectb-topbar-compact :is(.header-topbar,.topbar,.top-bar,.top_header,.header_top,.header-top,.header_top_bar,.top_header_bar) a{line-height:30px}
}
@media(max-width:1023px){body.ectb-horizontal-header .ectb-horizontal-brand{display:none!important}}

/* V1.2.1 : le theme peut révéler son propre logo quand le menu devient fixe.
   Dès qu'un logo NATIF visible est détecté dans la barre, on désactive
   uniquement notre copie, sans cacher celle du thème ni modifier le menu. */
@media (min-width:1024px) {
 body.ectb-horizontal-header.ectb-horizontal-ready .ectb-horizontal-brand.ectb-brand-clone-suppressed,
 body.ectb-horizontal-header.ectb-horizontal-ready.ectb-native-sticky-logo .ectb-v12-nav-host > .ectb-horizontal-brand {
   opacity:0!important;
   visibility:hidden!important;
   pointer-events:none!important;
 }
}


/* === V1.2.2 : finitions du header uniquement === */
@media(min-width:1024px){
  /* Logo : +~12% de taille utile. La garde anti-collision dans header.js reste active. */
  body.ectb-logo-boost.ectb-horizontal-header.ectb-horizontal-ready .ectb-v12-nav-host{
    min-height:84px!important;
  }
  body.ectb-logo-boost.ectb-horizontal-header.ectb-horizontal-ready .ectb-v12-nav-host > .ectb-horizontal-brand{
    height:80px!important;max-height:80px!important;width:152px!important;
  }
  body.ectb-logo-boost.ectb-horizontal-header.ectb-horizontal-ready .ectb-v12-nav-host > .ectb-horizontal-brand img{
    height:77px!important;max-height:77px!important;max-width:149px!important;
  }
  /* Libellés neutres uniquement. Ne jamais re-styler les boutons, le panier ni les sous-menus. */
  body.ectb-nav-contrast.ectb-horizontal-ready .ectb-v12-nav-host a.ectb-nav-text-refined{
    color:#49574f!important;font-weight:750!important;
    text-rendering:optimizeLegibility;
    transition:color .18s ease!important;
  }
  body.ectb-nav-contrast.ectb-horizontal-ready .ectb-v12-nav-host a.ectb-nav-text-refined:is(:hover,:focus-visible),
  body.ectb-nav-contrast.ectb-horizontal-ready .ectb-v12-nav-host :is(.current-menu-item,.current-menu-ancestor,.current_page_item) > a.ectb-nav-text-refined{
    color:#087a42!important;
  }
  body.ectb-nav-contrast.ectb-horizontal-ready .ectb-v12-nav-host a.ectb-nav-text-refined:focus-visible{
    outline:2px solid #087a42!important;outline-offset:3px!important;border-radius:4px;
  }
}

/* Mobile : laisser le DOM et les interactions de Bizberg intacts. */
@media(max-width:1023px){
  body.ectb-mobile-finish.ectb-mobile-polished .ectb-mobile-logo-visual{
    display:block!important;object-fit:contain!important;
    max-height:73px!important;max-width:min(146px,36vw)!important;
  }
  body.ectb-mobile-finish.ectb-mobile-polished .ectb-mobile-toggle-polish{
    min-width:44px!important;min-height:44px!important;
    border-radius:10px!important;
    color:#0b5131;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
  }
  body.ectb-mobile-finish.ectb-mobile-polished .ectb-mobile-toggle-polish:focus-visible,
  body.ectb-mobile-finish.ectb-mobile-polished .ectb-mobile-search-polish:focus-visible{
    outline:2px solid #087a42!important;outline-offset:3px!important;
  }
  body.ectb-mobile-finish.ectb-mobile-polished .ectb-mobile-search-polish{
    min-width:40px;min-height:40px;
    -webkit-tap-highlight-color:transparent;
  }
}
@media(max-width:360px){
  body.ectb-mobile-finish.ectb-mobile-polished .ectb-mobile-logo-visual{max-height:64px!important;max-width:119px!important}
}
@media(prefers-reduced-motion:reduce){
  body.ectb-nav-contrast .ectb-nav-text-refined{transition:none!important}
}
