/* ImmoPress — couche d’intégration (hover, slots, menus, mobile, GEO) */

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-condensed-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/public-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/public-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/public-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/public-sans-700.woff2") format("woff2");
}

.ip-skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: #D6202B;
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
}
.ip-skip:focus { top: 12px; color: #fff; }

*:has(> .ip-slot) {
  position: relative;
  overflow: hidden;
}
.ip-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(18, 41, 77, .04), rgba(18, 41, 77, .1)),
    repeating-linear-gradient(135deg, #E8ECF2 0 8px, #F2F4F7 8px 16px);
  color: #5B6672;
  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 600;
}
.ip-slot--circle { border-radius: 50%; overflow: hidden; }

.ip-body-wizard { background: #F2F4F7; }

[hidden] { display: none !important; }

.ip-flash {
  max-width: 1000px;
  margin: 16px auto 0;
  padding: 0 18px;
}

/* Filtres et onglets pressés */
[aria-pressed="true"] {
  background: #12294D !important;
  color: #fff !important;
  border-color: #12294D !important;
}
[role="tab"][aria-selected="true"] {
  color: #0B1B2B !important;
  border-bottom-color: #D6202B !important;
}

/* Mobile : cibles, défilement, lecture */
html { scroll-behavior: smooth; }
@media (max-width: 480px) {
  .ip-btn, a[style*="min-height:44px"], a[style*="min-height:50px"] {
    min-height: 48px;
  }
}

@media print {
  .ip-skip, .ip-menu-btn, header button { display: none !important; }
}
