/* ═══════════════════════════════════════════════════════════════
   MODAL « SÉANCE OFFERTE » (formulaire d'essai CRM en iframe)
═══════════════════════════════════════════════════════════════ */
.waf-modal-overlay.waf-modal--iframe {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(13, 11, 11, 0.78);
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;
}
.waf-modal-overlay.waf-modal--iframe.waf-open { opacity: 1; visibility: visible; }
.waf-modal--iframe .waf-modal-box {
  position: relative; width: 100%; max-width: 600px; max-height: 92vh;
  display: flex; flex-direction: column; overflow: hidden;
  background: #faf6f2; border-radius: 8px; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  transform: translateY(12px); transition: transform 0.25s ease;
}
.waf-modal--iframe.waf-open .waf-modal-box { transform: none; }
.waf-modal--iframe .waf-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 14px 14px 24px; background: #0d0b0b; color: #ffffff;
}
.waf-modal--iframe .waf-modal-head-title {
  font-family: 'League Spartan', sans-serif; font-weight: 900; font-size: 20px; letter-spacing: -0.01em; text-transform: uppercase;
}
.waf-modal--iframe .waf-modal-head-title span { color: #e84d70; }
.waf-modal--iframe .waf-modal-close {
  position: static; flex-shrink: 0; width: 44px; height: 44px; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25); background: transparent; color: #ffffff; font-size: 22px; line-height: 1; cursor: pointer;
}
.waf-modal--iframe .waf-modal-close:hover { background: #e84d70; border-color: #e84d70; color: #0d0b0b; }
.waf-modal--iframe .waf-essai-iframe { display: block; width: 100%; height: 600px; max-height: calc(92vh - 72px); border: 0; background: #faf6f2; }
.waf-modal--iframe .waf-modal-loading {
  position: absolute; left: 0; right: 0; top: 72px; padding: 40px; text-align: center;
  font-family: 'League Spartan', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: #7a6f6f;
  pointer-events: none;
}
.waf-modal--iframe.is-loaded .waf-modal-loading { display: none; }
body.waf-modal-open { overflow: hidden; }

@media (max-width: 600px) {
  .waf-modal-overlay.waf-modal--iframe { padding: 0; align-items: stretch; }
  .waf-modal--iframe .waf-modal-box { max-width: none; max-height: none; height: 100%; border-radius: 0; }
  .waf-modal--iframe .waf-essai-iframe { flex: 1; height: auto; max-height: none; }
}
