/* BG Infiltrométrie — chrome statique (skip-link, honeypot, slider, 404/merci). */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  background: #95c11f;
  color: #000;
  padding: 8px 14px;
  font-weight: 700;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.screen-reader-text,
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-status {
  margin: 12px 0 0;
  font-size: 14px;
}
.form-status.is-ok { color: #1b7a3d; }
.form-status.is-err { color: #b42318; }

html.no-js .et_animated,
html.no-js .et-waypoint {
  opacity: 1 !important;
}

/* Lightbox */
.bgi-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.bgi-lightbox[hidden] { display: none !important; }
.bgi-lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
}
.bgi-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Divi JS used slideToggle; without it .et_mobile_menu stays display:none. */
.mobile_nav.opened > .et_mobile_menu,
.mobile_nav.opened .et_mobile_menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Click-open on # DIAGNOSTICS (et-hover without :hover). */
#top-menu li.et-hover > ul,
#top-menu li.et-show-dropdown > ul,
.nav li.et-hover > ul,
.nav li.et-show-dropdown > ul {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (prefers-reduced-motion: reduce) {
  .et_animated,
  .et-waypoint,
  .et_pb_slide {
    animation: none !important;
    transition: none !important;
  }
}
