/* Chrome Autour du Carré — palette verte + logo éolienne, 14/11/2026 */
:root{
  --adc-ink:#0f3d2e;
  --adc-green:#1f7a4d;
  --adc-forest:#0f3d2e;
  --adc-mint:#e8f5ee;
  --adc-anis:#c5e04a;
  --adc-anis-2:#b8d437;
  --adc-paper:#ffffff;
  --adc-muted:#3d5c4e;
  --adc-line:#cfe6d8;
}

/* Logo en-tête : version horizontale (éolienne + wordmark) */
#logo a{
  display:inline-flex!important;
  align-items:center;
  text-decoration:none!important;
  min-height:44px;
  width:7.4rem;
  height:44px;
  background:url(adc-logo-h.svg) left center / auto 44px no-repeat;
  overflow:hidden;
  text-indent:-9999px;
  white-space:nowrap;
}
#logo a img,
#logo img#listeo_logo{display:none!important}
#logo a::after{content:none!important}
#logo a:has(.adc-logo){
  background:none;
  width:auto;
  text-indent:0;
  overflow:visible;
}
#logo a .adc-logo,
#logo a .adc-logo svg{
  display:block;
  height:44px;
  width:auto;
}

/* En-tête blanc, partout */
body.transparent-header #header-container,
body.transparent-header.header-transparent #header-container,
#header-container{
  background:#fff!important;
  box-shadow:0 1px 0 rgba(15,61,46,.08);
}
body.transparent-header #header,
#header{background:transparent!important}
#navigation.style-1 > ul > li > a,
#navigation a,
#header .menu a{color:var(--adc-ink)!important}
#header a.sign-in,
.header-widget a.sign-in,
a.sign-in.popup-with-zoom-anim{display:none!important}

/* Fond du site : plus de photo de centre commercial, palette menthe */
body,
body.custom-background,
body.home.custom-background,
body.adc-front.custom-background{
  background-image:none!important;
  background-color:var(--adc-mint)!important;
}
#wrapper, #wrapper-holder,
body.home #wrapper, body.home.adc-front #wrapper,
body.home #wrapper-holder{background:transparent!important}

/* Pied de page */
.adc-site-footer{
  background:var(--adc-forest);color:var(--adc-mint);
  padding:2.6rem 1.25rem 2rem;margin:0;
  font-family:"Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif
}
.adc-site-footer a{color:var(--adc-mint);text-decoration:none}
.adc-site-footer a:hover{color:var(--adc-anis)}
.adc-site-footer-inner{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:2rem}
.adc-site-footer h2,.adc-site-footer h3{color:#fff;font-size:.92rem;letter-spacing:.08em;text-transform:uppercase;margin:0 0 .8rem;font-weight:700}
.adc-site-footer p{margin:0 0 1rem;color:#cfe6d8;font-size:.95rem;max-width:22rem}
.adc-site-footer ul{list-style:none;margin:0;padding:0;columns:2;gap:1.2rem}
.adc-site-footer li{break-inside:avoid;margin:0 0 .4rem;font-size:.95rem}
.adc-site-footer .adc-annoncer{
  display:inline-block;margin-top:.3rem;padding:.55rem 1rem;border-radius:999px;
  background:var(--adc-anis);color:var(--adc-forest)!important;font-weight:700
}
.adc-site-footer .adc-annoncer:hover{background:var(--adc-anis-2)}
body.home #footer .row:first-of-type{display:none}
#footer{background:var(--adc-forest)!important;border:0;padding-top:0}
#footer .footer-new-bottom-inner{color:#cfe6d8;border-top:1px solid rgba(255,255,255,.12);padding-top:1rem}
#footer .footer-new-bottom-inner a, #footer .new-footer-social-icons a{color:#cfe6d8}

/* En-tête dans le flux sur l'accueil, pour ne plus recouvrir le héro */
body.home.adc-front #header-container,
body.home.adc-front.transparent-header #header-container,
body.home.adc-front.full-width-header #header-container{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  width:100%!important;
  background:#fff!important;
  box-shadow:0 1px 0 rgba(15,61,46,.08);
  z-index:20;
}
body.home.adc-front #header,
body.home.adc-front.transparent-header #header{
  position:relative!important;
  background:#fff!important;
  padding-top:6px;
  padding-bottom:6px;
}
#logo{position:relative;z-index:3;margin-right:1.5rem}
#navigation.style-1 > ul > li > a{
  background:transparent!important;
  color:var(--adc-ink)!important;
  border-radius:999px;
  padding:.4rem .85rem!important;
}
#navigation.style-1 > ul > li.current-menu-item > a,
#navigation.style-1 > ul > li.current-menu-item-home > a,
body.home.adc-front #navigation.style-1 > ul > li.current-menu-item > a,
body.home.adc-front #navigation.style-1 > ul > li.current-menu-item-home > a{
  background:var(--adc-green)!important;
  color:#fff!important;
}
.left-side{display:flex;align-items:center;flex-wrap:wrap}

/* Pages ville, métier, fiches : barre de titre et liens */
#titlebar,
#titlebar.titlebar,
.listing-titlebar,
.page-title-content{
  background:var(--adc-forest)!important;
  background-image:none!important;
  color:var(--adc-mint)!important;
}
#titlebar h1, #titlebar h2, #titlebar .page-title,
#titlebar .listing-title, .listing-titlebar h1, .listing-titlebar h2{
  color:#fff!important;
}
#titlebar span, #titlebar p, #breadcrumbs, #breadcrumbs a,
#titlebar a, .listing-titlebar span{
  color:#cfe6d8!important;
}
#breadcrumbs a:hover, #titlebar a:hover{color:var(--adc-anis)!important}

body:not(.adc-front) a:not(.button):not(.adc-annoncer){
  /* trop large : on cible le contenu */
}
.blog-post a, article .post-content a, .listing-content a,
#content a, .adc-silo a, .adc-liste-commerces a{
  color:var(--adc-green);
}
.blog-post a:hover, article .post-content a:hover, .listing-content a:hover,
#content a:hover, .adc-silo a:hover, .adc-liste-commerces a:hover{
  color:var(--adc-forest);
}

/* Listes métier / ville */
.adc-liste-wrap{margin:1.1rem 0 1.6rem}
ul.adc-liste-commerces,
.adc-liste-commerces{
  list-style:none;margin:.85rem 0 0;padding:0;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:.7rem!important;
  columns:auto!important;
}
@media (min-width:960px){
  ul.adc-liste-commerces,
  .adc-liste-commerces{grid-template-columns:1fr 1fr!important}
}
.adc-liste-commerces li{
  background:#fff;
  border:1px solid var(--adc-line);
  border-radius:16px;
  padding:1rem 1.15rem;
  box-shadow:0 6px 16px rgba(15,61,46,.05);
  color:var(--adc-ink);
}
.adc-liste-commerces a{font-weight:700;text-decoration:none}
.adc-silo{margin:1.5rem 0}
.adc-silo h2{color:var(--adc-forest);letter-spacing:-.03em}
.adc-silo ul{
  list-style:none;margin:.8rem 0 0;padding:0;
  display:grid;gap:.6rem;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
}
.adc-silo li{
  background:#fff;border:1px solid var(--adc-line);
  border-radius:16px;padding:.9rem 1rem;
  color:var(--adc-ink);
  box-shadow:0 6px 16px rgba(15,61,46,.05);
}
.adc-source{color:var(--adc-muted);font-size:.95rem;margin:0 0 .4rem}
.adc-banner{
  border:1px dashed var(--adc-green)!important;
  background:var(--adc-mint)!important;
  color:var(--adc-forest)!important;
  text-align:center;
  padding:1.4rem 1rem;margin:1.6rem 0;border-radius:16px;
}

@media (max-width:800px){
  .adc-site-footer-inner{grid-template-columns:1fr}
  .adc-site-footer ul{columns:2}
}
@media (max-width:1024px){
  #logo{margin-right:1rem}
}

/* Clone sticky Listeo : il doublait la hauteur de l'en-tête */
#header.cloned.unsticky{display:none!important}
#header.cloned:not(.unsticky){
  position:fixed!important;left:0;right:0;top:0;z-index:100;
  background:#fff!important;
  box-shadow:0 1px 0 rgba(15,61,46,.08);
}

/* Bouton « Add Listing » (page 404) et widget d'en-tête vide */
#header a.sign-in,
#header a.button.border.with-icon,
#header .header-widget a.button,
.header-widget a.button.border{display:none!important}

/* Menu hamburger visible (barres sombres, plus du blanc sur fond blanc) */
.mmenu-trigger{
  display:block;
  width:44px;height:44px;
  background:transparent!important;
}
.mmenu-trigger .hamburger,
.mmenu-trigger .hamburger-box{
  display:inline-block!important;
  width:24px!important;height:18px!important;
  position:relative;
}
.mmenu-trigger .hamburger-inner,
.mmenu-trigger .hamburger-inner::before,
.mmenu-trigger .hamburger-inner::after{
  background-color:#0f3d2e!important;
  width:22px!important;height:2px!important;
  border-radius:1px;
}

/* Pied Listeo : réduire le vide sous notre pied de page */
#footer{padding:0!important;min-height:0!important}
#footer .container,
#footer .footer-new-bottom-inner{
  padding-top:.85rem!important;
  padding-bottom:.85rem!important;
}
#footer .row:first-of-type{display:none}

@media (max-width:1024px){
  .mmenu-trigger{margin-left:auto}
}
