/* Ideal Web universal brand fallback */
:root{--iw-bg:#020617;--iw-green:#22c55e;--iw-blue:#60a5fa;--iw-line:rgba(148,163,184,.18)}
.brand,.iw-brand{letter-spacing:-.02em} img{max-width:100%;height:auto} .iw-glass{background:rgba(15,23,42,.72);border:1px solid var(--iw-line);backdrop-filter:blur(16px)}


/* Ideal Web — official yellow color bubble removed globally */
#iwOfficialColorBubble,
button#iwOfficialColorBubble,
[data-iw-final-close-ready]#iwOfficialColorBubble,
[data-iw-compact-ready]#iwOfficialColorBubble{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  transform:scale(0)!important;
}




/* Ideal Web — garde anti anciens moteurs couleur */
#iwOfficialColorBubble,#iwOfficialColorDock,#iwOfficialColorPanel,#idealwebColorButton,#idealwebColorPanel,#idealwebColorDock,#iwColorFab,#iwColorPanel,#colorToggle,#iwStylePanel,.iw-color-engine,.iw-color-toggle,.iw-color-bubble,.iw-lot-color-bubble,.iw-final-color-toggle,.iw-final-color-panel,.iw-style-panel,.iw-color-panel{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}


/* Ideal Web — suppression définitive fallback logo texte */
.iw-logo-fallback,
.logo-fallback,
.brand-fallback,
[data-logo-fallback]{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}


/* Ideal Web — logo unique final */
.iw-logo-fallback,.logo-fallback,.brand-fallback,[data-logo-fallback]{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.brand img[src=""],.brand img:not([src]),.iw-brand img[src=""],.iw-brand img:not([src]),.site-brand img[src=""],.site-brand img:not([src]),.navbar-brand img[src=""],.navbar-brand img:not([src]){display:none!important}
.brand .brand-mark:empty,.iw-brand .brand-mark:empty,.site-brand .brand-mark:empty,.navbar-brand .brand-mark:empty{display:none!important}
.brand .brand-mark + .brand-mark,.iw-brand .brand-mark + .brand-mark,.site-brand .brand-mark + .brand-mark,.navbar-brand .brand-mark + .brand-mark{display:none!important}

/* Ideal Web — garde contraste logo/boutons */
.iw-logo-fallback,.logo-fallback,.brand-fallback,[data-logo-fallback]{display:none!important}.brand .brand-mark:empty,.iw-brand .brand-mark:empty,.site-brand .brand-mark:empty,.navbar-brand .brand-mark:empty{display:none!important}.service-icon i,.card-icon i,.feature-icon i,.icon-box i,.template-icon i{color:#fff!important}


/* Ideal Web — garde finale : pas de double logo, pas de double moteur couleur */
#iwFinalTemplateColorDock,#iwFinalTemplateColorButton,#iwFinalTemplateColorPanel,#idealwebColorDock,#idealwebColorButton,#idealwebColorPanel,#iwOfficialColorBubble,#iwOfficialColorDock,#iwOfficialColorPanel{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important}
.iw-logo-fallback,.logo-fallback,.brand-fallback,[data-logo-fallback]{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.brand .brand-mark:empty,.iw-brand .brand-mark:empty,.site-brand .brand-mark:empty,.navbar-brand .brand-mark:empty,.logo-mark:empty{display:none!important}


/* Ideal Web V8 — correction affichage logo officiel
   Les anciens garde-fous cachaient .brand-mark:empty; or le logo est souvent appliqué en background CSS. */
a.brand[href="index.html"] .brand-mark,
a.brand[href="./index.html"] .brand-mark,
a.brand[href="/index.html"] .brand-mark,
a.brand[href="/"] .brand-mark,
a.iw-brand[href="index.html"] .brand-mark,
a.site-brand[href="index.html"] .brand-mark{
  display:inline-block!important;
  visibility:visible!important;
  opacity:1!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  flex:0 0 42px!important;
  border-radius:12px!important;
  background:url('idealweb-logo-square.webp') center/contain no-repeat!important;
  box-shadow:none!important;
  filter:drop-shadow(0 0 12px rgba(56,189,248,.28)) drop-shadow(0 0 10px rgba(34,197,94,.14))!important;
}
a.brand[href="index.html"] .brand-mark:empty,
a.brand[href="./index.html"] .brand-mark:empty,
a.brand[href="/index.html"] .brand-mark:empty,
a.brand[href="/"] .brand-mark:empty{
  display:inline-block!important;
  visibility:visible!important;
  opacity:1!important;
}
@media(max-width:680px){
  a.brand[href="index.html"] .brand-mark,
  a.brand[href="./index.html"] .brand-mark,
  a.brand[href="/index.html"] .brand-mark,
  a.brand[href="/"] .brand-mark{width:38px!important;height:38px!important;min-width:38px!important;flex-basis:38px!important}
}
