/* =============================================
   POPUP — overlay + inner
============================================= */

#popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

#popup-inner {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  max-width: 560px;
  width: 90%;
  box-sizing: border-box;
  max-height: 90vh;
  overflow-y: auto;
}

/* ---- Bouton fermer ---- */
#popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #999;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s ease;
}

#popup-close:hover {
  color: #1a1a1a;
}

/* ---- Image ---- */
#popup-inner img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin-bottom: 16px;
}

/* ---- Titre ---- */
#popup-inner h2 {
  font-family: "Loos_bold", sans-serif;
  font-size: 1.45rem;
  color: #1a1a1a;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

/* ---- Texte ---- */
.popup-texte {
  font-family: "poppins_regular", sans-serif;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.popup-texte p {
  margin: 0 0 0.7em;
}

/* ---- Bouton CTA ---- */
.popup-cta {
  display: inline-block;
  background-color: var(--color-primary, #000);
  color: #fff;
  border-radius: 40px;
  padding: 12px 28px;
  font-family: "Loos_bold", sans-serif;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.popup-cta:hover {
  opacity: 0.82;
  color: #fff;
}
