  .bl-overlay {
    position: fixed;
    inset: 0;
    display: none;              
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,.82);
    z-index: 9999;
  }

.bl-modal{
  position: relative;
  width: min(92vw, 640px);
  border-radius: 0px;
  overflow: hidden;
  background: #00000000 !important;
  border: 1px solid rgba(255,255,255,1);
}

  .bl-bg {
    position: absolute;
    inset: 0;
    background-image: var(--wpr-bg-f1ef6b77-8130-4d7b-a0a8-9a9bc6a68759);
    background-size: cover;
    background-position: center;
    filter: brightness(.7) contrast(.95);
    z-index: 0;
  }


.bl-content{
  padding: 0 !important;           
  text-align: center;
}

.bl-hero{
  display: block;
  width: 100%;
  height: auto;               /* => garde le ratio naturel, image entière */
}

  .bl-logo {
    display: block;
    margin-inline: auto;
    width: min(70%, 260px);
    height: auto;
    margin-bottom: clamp(10px, 2.5vw, 16px);
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
  }

  .bl-title {
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-primary-font-weight );
    font-size: clamp(20px, 2.9vw, 28px);
    letter-spacing: .02em;
    margin: 0 0 .35em;
    text-shadow: 0 2px 10px rgba(0,0,0,.45);
  }

  .bl-subtitle {
    margin: 0 0 1.1em;
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 2.1vw, 16px);
    color: #ffffff;
    opacity: .95;
  }

  .bl-help {
    margin: 0 0 .6em;
    font-family: "Trebuchet MS", Sans-serif;
    font-size: 20px;
    font-weight: 700;
    opacity: .95;
  }

.bl-mail{
  display: block;
  width: 100%;
  margin: 0;            
  padding: 18px 16px;
  text-decoration: none;
  text-transform: uppercase;
  background: #d7c08b;
  color: #111;
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  font-weight: var(--e-global-typography-primary-font-weight);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 18px rgba(0,0,0,.35);
}

  .bl-mail-ico { display: inline-flex; }

.bl-modal .bl-close {
  all: unset;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
    display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 22px;
  
  /* Astuce : line-height à 1 ou 0 aide à supprimer l'espace fantôme */
  line-height: 1; 
  
  cursor: pointer;
  z-index: 3;
  border-radius: 50%;
  transition: background .15s ease, transform .12s ease;
  
  /* Si c'est une lettre "x" ou "×", elle est souvent visuellement trop haute. 
     Ajoutez ceci pour compenser (ajustez le pixel selon votre goût) : */
  padding-bottom: 2px; 
}
.bl-modal .bl-close:hover { background: rgba(0,0,0,.45) !important; }


/* Empêche les décos globales des boutons (le rond rose) */
#bl-popup-overlay .bl-close::before,
#bl-popup-overlay .bl-close::after {
  content: none !important;
}

/* Verrouille le style du close sur tous les états */
#bl-popup-overlay .bl-close,
#bl-popup-overlay .bl-close:hover,
#bl-popup-overlay .bl-close:focus,
#bl-popup-overlay .bl-close:active {
  background: rgba(0,0,0,.45) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  background-image: none !important;
  -webkit-appearance: none;
  appearance: none;
}

/* Focus clavier accessible (facultatif) */
#bl-popup-overlay .bl-close:focus-visible {
  outline: 2px solid #fff !important;
  outline-offset: 2px;
}


/* Accessibilité propre au focus clavier */
.bl-modal .bl-close:focus-visible {
  outline: 2px solid #fff !important;
  outline-offset: 2px;
}



  .bl-no-scroll { overflow: hidden !important; }

  @keyframes bl-fade-up {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
  }

  @media (max-width: 420px) {
    .bl-mail { width: 100%; justify-content: center; }
  }

/* FORCE L'IMAGE ANGLAISE */
/* On cible le html, le body, et on utilise !important pour écraser WP Rocket */

html[lang="en-US"] .bl-bg, 
html[lang="en-GB"] .bl-bg, 
html[lang^="en"] .bl-bg, 
body.translatepress-en_US .bl-bg, 
body.pll-en .bl-bg,
body.lang-en .bl-bg {
    background-image: var(--wpr-bg-06922699-7c33-4512-bd5e-207386a97ed3) !important;
}