/* Overlay plein écran + centrage */
.lnwks-brevo__overlay{
  position: fixed; inset: 0; display:none;
  background: rgba(0, 0, 0, 0.8); z-index: 9999;
}
.lnwks-brevo__overlay[aria-hidden="false"]{ display:block; }
.lnwks-brevo__modal{
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 520px; max-width: 92vw;
  background: #fff; border-radius: 0; padding: 15px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: lnwks-zoom-in .45s ease-out both;
}
@keyframes lnwks-zoom-in { from{ transform: translate(-50%,-50%) scale(.96); opacity:0; } to{ transform: translate(-50%,-50%) scale(1); opacity:1; } }

.lnwks-brevo__close{
  position: absolute; top: 0px; right: 0px;
  border: 0; background: #000; cursor: pointer;
  font-size: 22px; line-height: 1; color: #fff;
  z-index: 10;
}

.lnwks-brevo__close:hover{
  color: #f15a29;
}

.lnwks-brevo__hook{ 
}

/* Ligne compacte: input + bouton collés, même hauteur */
.lnwks-brevo__row{ display: flex; align-items: stretch; margin-bottom: 8px; }
.lnwks-brevo__row input[type="email"],
.lnwks-brevo__btn{ height: 42px; font-size: 14px; border: 1px solid #ddd; }
.lnwks-brevo__row input[type="email"]{
  flex: 1; min-width: 0; padding: 0 12px; border-right: 0;
}
.lnwks-brevo__btn{
  padding: 0 14px; background: #000; color:#fff; font-weight:700; cursor:pointer;
  border: 1px solid #000; 
}

.lnwks-brevo__btn:hover{
  background: #f15a29;
  color:#fff;
  border: 1px solid #f15a29; 
}

/* Focus */
.lnwks-brevo__row input[type="email"]:focus{ outline: none; border-color: #000; }
.lnwks-brevo__btn:focus{ outline: 2px solid #000; outline-offset: 2px; }

/* Consent compact */
.lnwks-brevo__consent{ display:block; margin:0; font-size:12px; color:#555; line-height:1.35; }

/* Honeypot */
.lnwks-brevo__hp{ position:absolute; left:-10000px; width:1px; height:1px; }

/* Message: aucune place si vide */
.lnwks-brevo__msg{ margin-top:6px; font-size:12px; color:#2a6; }
.lnwks-brevo__msg:empty{ display:none; }

/* Accessibilité */
.sr-only{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* Mobile: marges internes plus souples */
@media (max-width: 480px){
  .lnwks-brevo__modal{ width:auto; left:50%; right:auto; }
}