/* ═══════════════════════════════════════════════════════════════
   WEBINAR-POPUP.CSS — Popup inscription webinaire (2 colonnes)
   ═══════════════════════════════════════════════════════════════ */

/* ── OVERLAY ───────────────────────────────────────────────── */
.webinar-popup-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; transition: opacity 0.3s ease;
  pointer-events: none;
}
.webinar-popup-overlay.open {
  opacity: 1; pointer-events: all;
}

/* ── MODAL — 2 colonnes ───────────────────────────────────── */
.webinar-popup {
  background: var(--color-white, #fff);
  border-radius: var(--radius-2xl, 2rem);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.1);
  width: 90%; max-width: 960px;
  min-height: 540px; max-height: 90vh;
  position: relative;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.webinar-popup-overlay.open .webinar-popup {
  transform: scale(1) translateY(0);
}

/* ── CLOSE BUTTON ──────────────────────────────────────────── */
.webinar-popup__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--color-border, #E2E2E2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-tertiary, #667085);
  transition: all 0.15s;
  z-index: 2;
}
.webinar-popup__close:hover {
  background: var(--color-white, #fff);
  color: var(--color-dark, #202125);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ── LEFT COLUMN — infos ──────────────────────────────────── */
.webinar-popup__left {
  padding: 2.25rem 2rem 2rem;
  display: flex; flex-direction: column;
  justify-content: center;
}

.webinar-popup__badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.8rem; border-radius: 9999px;
  background: linear-gradient(135deg, #003B7C, #006DE5);
  color: #fff;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  margin-bottom: 1.25rem;
  width: fit-content;
}
.webinar-popup__badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
  animation: wp-pulse 2s ease-in-out infinite;
}
@keyframes wp-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3); }
  50%      { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.08); }
}

.webinar-popup__title {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700; line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-dark, #202125);
  margin-bottom: 0.625rem;
}

.webinar-popup__desc {
  font-size: 0.925rem; line-height: 1.6;
  color: var(--color-tertiary, #667085);
  margin-bottom: 1.125rem;
}

/* ── Metas (date, format) ─────────────────────────────────── */
.webinar-popup__metas {
  display: flex; flex-direction: column; gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.webinar-popup__meta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 0.875rem; font-weight: 600;
  color: var(--color-primary, #006DE5);
}
.webinar-popup__meta svg { flex-shrink: 0; color: var(--color-primary, #006DE5); }

/* ── Speakers ─────────────────────────────────────────────── */
.webinar-popup__speakers {
  display: flex; flex-direction: column; gap: 0.5rem;
}
.webinar-popup__speakers-row {
  display: flex; align-items: center; gap: 1rem;
}
.webinar-popup__speakers-label {
  font-size: 0.75rem; color: var(--color-medium, #878787);
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.webinar-popup__speaker {
  display: flex; align-items: center; gap: 0.5rem;
}
.webinar-popup__speaker-img {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 2px solid var(--color-border, #E2E2E2);
  flex-shrink: 0;
}
.webinar-popup__speaker-name {
  font-size: 0.9rem; font-weight: 600;
  color: var(--color-dark, #202125);
}
.webinar-popup__speaker-role {
  font-size: 0.775rem;
  color: var(--color-tertiary, #667085);
}

/* ── RIGHT COLUMN — Contrast form ─────────────────────────── */
.webinar-popup__right {
  background: var(--color-light, #F4F7F9);
  border-left: 1px solid var(--color-border, #E2E2E2);
  min-height: 440px;
}
.webinar-popup__form-container {
  width: 100%; height: 100%;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .webinar-popup {
    grid-template-columns: 1fr;
    width: 95%; max-height: 92vh;
    overflow-y: auto;
  }
  .webinar-popup__left { padding: 1.75rem 1.5rem 1.25rem; }
  .webinar-popup__right { min-height: 380px; border-left: none; border-top: 1px solid var(--color-border, #E2E2E2); }
  .webinar-popup__title { font-size: 1.1rem; }
}
