/* Fenêtre étroite = présentation desktop fixe, défilement horizontal.
   Téléphones <=600px : design mobile inchangé. */
@media screen and (min-width:601px) and (max-width:1024px) {
  html, body { overflow-x:auto!important; }
  body.home .site-container {width:1200px!important;min-width:1200px!important;max-width:none!important;margin:0!important;}
  body.home .header-container,
  body.home .header-top-bar-container,
  body.home .theme-page,
  body.home .site-container > footer {min-width:1200px!important;}
  body.home .pacman-home-hero {
    position:relative!important;display:block!important;
    width:1100px!important;height:455px!important;min-height:455px!important;max-height:455px!important;
    overflow:hidden!important;margin:0 auto!important;background:white!important;
  }
  body.home .pacman-home-hero::before,body.home .pacman-home-hero::after {content:none!important;display:none!important;}
  body.home .pacman-home-hero__image {
    display:block!important;position:absolute!important;z-index:1!important;inset:0 0 0 auto!important;
    width:62%!important;height:100%!important;max-width:none!important;object-fit:cover!important;
    object-position:58% center!important;transform:none!important;
  }
  body.home .pacman-home-hero__inner {
    display:flex!important;position:relative!important;z-index:3!important;
    align-items:flex-start!important;width:100%!important;height:100%!important;
    padding:24px 0 30px 48px!important;box-sizing:border-box!important;
    margin:0!important;background:linear-gradient(90deg,#edf7fc 0%,#fff 47%,rgba(255,255,255,.92) 51%,transparent 62%)!important;
  }
  body.home .pacman-home-hero__content {display:none!important;}
  body.home .pacman-home-hero__reference {
    display:block!important;position:relative!important;visibility:visible!important;opacity:1!important;
    width:54%!important;max-width:600px!important;padding:0 30px 0 0!important;
    margin:0!important;color:#0b2d55!important;transform:none!important;
  }
  body.home .pacman-home-hero__reference-kicker {display:block!important;margin:0 0 9px!important;font-size:11px!important;font-weight:800!important;}
  body.home .pacman-home-hero .pacman-home-hero__reference-title {
    display:block!important;position:static!important;margin:0 0 10px!important;padding:0!important;
    font-size:31px!important;line-height:1.1!important;font-weight:800!important;color:#0b2d55!important;
    height:auto!important;width:auto!important;transform:none!important;text-shadow:none!important;
  }
  body.home .pacman-home-hero .pacman-home-hero__reference-title span {display:inline!important;color:#2b7fa8!important;}
  body.home .pacman-home-hero__reference-copy {display:block!important;margin:0 0 13px!important;font-size:11px!important;line-height:1.35!important;color:#68798b!important;}
  body.home .pacman-home-hero__reference-copy strong {color:#253c55!important;font-weight:700!important;}
  body.home .pacman-home-hero__proofs {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;width:96%!important;margin:0!important;padding:0!important;}
  body.home .pacman-home-hero__proofs>div {
    display:flex!important;position:relative!important;align-items:center!important;flex-direction:column!important;
    padding:0 9px!important;min-width:0!important;text-align:center!important;
  }
  body.home .pacman-home-hero__proofs b {
    display:flex!important;width:64px!important;height:64px!important;align-items:center!important;justify-content:center!important;
    border:1px solid #e4eaf0!important;border-radius:50%!important;background:#f5f7fa!important;margin:0 0 4px!important;
  }
  body.home .pacman-home-hero__proofs b img {display:block!important;width:54px!important;height:54px!important;object-fit:contain!important;}
  body.home .pacman-home-hero__proofs strong {display:flex!important;align-items:center!important;flex-direction:column!important;font-size:11.2px!important;color:#0b2d55!important;font-weight:800!important;line-height:1.18!important;}
  body.home .pacman-home-hero__proofs small {display:block!important;margin-top:3px!important;font-size:9.2px!important;font-weight:500!important;color:#68798b!important;}
  body.home .pacman-home-hero__reference-actions {display:none!important;}
  /* Ne jamais compresser les 4 cartes dans les colonnes d'une fenêtre étroite. */
  html body.home .pacman-services-grid {
    display:grid!important;grid-template-columns:repeat(4, minmax(0,1fr))!important;
    box-sizing:border-box!important;gap:14px!important;
    width:1060px!important;min-width:1060px!important;max-width:1060px!important;
    margin:0 auto!important;padding:8px 10px!important;
  }
  html body.home .pacman-services-grid .pacman-service-card {
    width:100%!important;min-width:0!important;max-width:none!important;
    height:290px!important;min-height:290px!important;max-height:290px!important;
    display:flex!important;flex-direction:column!important;
    box-sizing:border-box!important;background:#fff!important;border:1px solid #e3eaf1!important;
    border-radius:12px!important;overflow:hidden!important;box-shadow:0 6px 15px rgba(12,44,80,.06)!important;
  }
  body.home .pacman-services-grid .pacman-service-card__visual {height:142px!important;aspect-ratio:auto!important;overflow:hidden!important;}
  body.home .pacman-services-grid .pacman-service-card__visual img {width:100%!important;height:100%!important;object-fit:cover!important;}
  html body.home .pacman-services-grid .pacman-service-card__body {
    display:flex!important;flex:1!important;flex-direction:column!important;
    padding:10px 12px!important;text-align:center!important;overflow:hidden!important;
  }
  html body.home .pacman-services-grid .pacman-service-card__body h3 {
    margin:0 0 9px!important;font-size:12px!important;line-height:1.2!important;
    font-weight:800!important;color:#0b2d55!important;
  }
  html body.home .pacman-services-grid .pacman-service-card__body>p {
    margin:0 0 8px!important;font-size:10px!important;line-height:1.35!important;
    color:#66798c!important;
  }
  html body.home .pacman-services-grid .pacman-service-card__body>p:last-child {
    margin-top:auto!important;margin-bottom:0!important;text-align:left!important;
  }
  html body.home .pacman-services-grid .pacman-service-card__button {
    display:inline!important;width:auto!important;height:auto!important;
    padding:0!important;border:0!important;background:transparent!important;
    box-shadow:none!important;color:#0b2d55!important;font-size:9px!important;
    line-height:1.3!important;font-weight:700!important;
  }
  body.home .elementor-widget-slider_revolution,body.home .elementor-widget-revslider,
  body.home .rev_slider_wrapper,body.home rs-module-wrap {display:none!important;}
}
