/* micprete.fr : bandeau et fenêtre « ouverture prochaine ». Autonome, fonctionne sur le hub et sur SMIP. */
.mp-ob {
  background: linear-gradient(100deg, #f4c542, #f7d46e 55%, #f4c542);
  color: #062e4b;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  padding: 11px clamp(14px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  flex-wrap: wrap;
  text-align: center;
  position: relative;
  z-index: 60;
}
.mp-ob b { font-weight: 900; }
.mp-ob .mp-ob-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #062e4b; flex: none;
  box-shadow: 0 0 0 4px rgba(6, 46, 75, .18);
  animation: mp-ob-pulse 2.4s ease-in-out infinite;
}
@keyframes mp-ob-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .mp-ob .mp-ob-dot { animation: none; } }
.mp-ob-count {
  display: inline-flex; align-items: center;
  background: #062e4b; color: #f4c542;
  font-size: 12.5px; font-weight: 900; letter-spacing: .06em;
  padding: 4px 11px; border-radius: 999px; flex: none;
  font-variant-numeric: tabular-nums;
}
.mp-ob button {
  font: inherit; font-size: 13.5px; font-weight: 900;
  background: #062e4b; color: #f8f1df;
  border: 0; border-radius: 999px; padding: 7px 15px; cursor: pointer;
  transition: background .2s;
}
.mp-ob button:hover { background: #0a3d63; }
@media (max-width: 560px) { .mp-ob { font-size: 13.5px; padding: 10px 14px; } }

/* ── Fenêtre ── */
.mp-obm {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  padding: 20px;
  background: rgba(6, 46, 75, .6);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.mp-obm.is-open { display: grid; }
.mp-obm-card {
  background: #fff; color: #12283a;
  width: min(540px, 100%);
  border-radius: 24px;
  padding: clamp(26px, 4vw, 38px);
  box-shadow: 0 30px 70px rgba(6, 46, 75, .4);
  text-align: left;
  animation: mp-obm-in .35s cubic-bezier(.22, .8, .26, 1) both;
}
@keyframes mp-obm-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mp-obm-card { animation: none; } }
.mp-obm-tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: #f4c542; color: #062e4b;
  font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
}
.mp-obm-card h2 {
  font-size: clamp(22px, 3vw, 27px); font-weight: 900; color: #062e4b;
  line-height: 1.2; letter-spacing: -.015em; margin: 0 0 12px;
}
.mp-obm-card p { font-size: 15.5px; line-height: 1.6; color: rgba(18, 40, 58, .78); margin: 0 0 10px; font-weight: 600; }
.mp-obm-card p strong { color: #062e4b; font-weight: 900; }
.mp-obm-card ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.mp-obm-card li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 14.5px; font-weight: 700; color: rgba(18, 40, 58, .8);
  background: #f8f1df; border-radius: 12px; padding: 11px 14px;
}
.mp-obm-card li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #062e4b; }
.mp-obm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.mp-obm-actions a, .mp-obm-actions button {
  font: inherit; font-size: 15px; font-weight: 900; text-decoration: none;
  border: 2.5px solid transparent; border-radius: 999px; padding: 12px 20px; cursor: pointer;
  transition: transform .2s, background .2s, color .2s;
}
.mp-obm-actions .mp-obm-ok { background: #062e4b; color: #f8f1df; }
.mp-obm-actions .mp-obm-ok:hover { background: #0a3d63; transform: translateY(-2px); }
.mp-obm-actions .mp-obm-alt { background: transparent; color: #062e4b; border-color: rgba(6, 46, 75, .25); }
.mp-obm-actions .mp-obm-alt:hover { border-color: #062e4b; transform: translateY(-2px); }

/* Téléphone neutralisé */
.mp-phone-off {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; color: inherit; text-decoration: none; cursor: pointer;
  background: none; border: 0; font: inherit;
}
