/* Adaptation statique du thème existant. Les interactions sont dans site.js. */
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { overflow-x: clip; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, [role="button"]:focus-visible {
  outline: 3px solid #343434; outline-offset: 4px;
}
.static-slider { position: relative; }
#diaporama { height: calc(100svh + 10px); min-height: 440px; overflow: hidden; }
#slider #diaporama .static-slide .bg-arrow-left { left: 0; right: auto; width: 6rem; }
#slider #diaporama .static-slide .bg-arrow-right { right: 0; left: auto; width: 6rem; }
.static-slide { position: absolute !important; inset: 0; width: 100%; height: 100%; overflow: hidden; }
#diaporama .static-slide > img.rsImg { width: 100%; height: 100%; object-fit: cover; }
#diaporama .static-slide .rsABlock { position: absolute; z-index: 5; }
.static-slider > .rsArrow, .static-slider .rsBullet {
  background-color: transparent; border: 0; cursor: pointer; padding: 0; color: inherit;
}
.static-slider > .rsArrow { display: block; }
.static-slider > .rsArrow .rsArrowIcn { display: block; }
#diaporama .rsBullets { z-index: 8; }
.expertise-slider { width: 100%; height: auto; }
.expertise-slider img.rsImg { display: block; width: 100%; height: auto; }
#references .references-mod .refs-wrapper .row-wrapper { position: relative !important; width: 100%; }
#references .row-wrapper-inner { overflow-x: auto; overflow-y: hidden; width: 100%; }
#references .row-container { display: grid; grid-template-rows: repeat(2, auto); min-width: 0 !important; }
#references .ref-item { float: none !important; min-width: 0; }
#references .arrows { cursor: pointer; z-index: 3; }
#valeurs-slider .static-slide { overflow: visible; }
#napc-item-top { height: calc(100svh - 140px); min-height: 480px; }
.preview-form-notice { clear: both; margin: 2.5rem 0 0; padding: 0.8rem 1rem; border-left: 3px solid #f1c311; font-size: 0.85rem; }
#contact #contact-inner #contact-form input[type="email"] { margin-bottom: 1rem; color: #fefefe; }
@media (max-width: 768px) {
  #navbar:not(.show) { display: none !important; }
  #navbar.show { display: block !important; }
}
@media (768px < width < 992px) {
  header #mainmenu #navbar { display: flex !important; }
  header #mainmenu #navbar .navbar-nav { flex-direction: row; }
  header #mainmenu #navbar .navbar-nav li { padding-inline: 0.5rem; }
}
@media (max-width: 600px) {
  #diaporama .static-slide .rsABlock { min-width: 0; width: 80%; max-width: 80%; right: 10%; bottom: 3.5rem; }
  #diaporama .rsABlock .big-number { font-size: 1.6rem; }
  #diaporama .rsABlock .field-title, #diaporama .rsABlock .field-lieu { font-size: 0.65rem; }
  #napc-item-top { height: 680px; min-height: 680px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
