/* ActuMoteurs sign-up popup + native /newsletter form (loaded by core/popup-actumoteurs.php) */
.abd-nlp{position:fixed;inset:0;z-index:2147483000;overflow-y:auto;overscroll-behavior:contain;background:#3C61D8;color:#fff;font-family:Roboto,sans-serif;-webkit-overflow-scrolling:touch}
.abd-nlp[hidden],.abd-nlp [hidden],.abd-nlpage [hidden]{display:none!important}
body.abd-nlp-open{overflow:hidden}
.abd-nlp a{color:#fff;text-decoration:underline}
.abd-nlp a:hover{color:#eef2fc}
.abd-nlp__bar{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-bottom:1px solid #6482e0}
.abd-nlp__brand{font-family:Outfit,sans-serif;font-weight:800;font-size:22px}
.abd-nlp__close{display:flex;align-items:center;justify-content:center;gap:8px;min-width:44px;height:44px;padding:0 12px;border:1px solid #8aa2e8;border-radius:999px;background:transparent;color:#fff;font:inherit;font-size:15px;cursor:pointer}
.abd-nlp__close-text{display:none}
.abd-nlp__panel{padding:24px 20px}
.abd-nlp__grid{display:flex;flex-direction:column;gap:28px}
.abd-nlp__main{display:flex;flex-direction:column;gap:16px}
.abd-nlp__tag{align-self:flex-start;padding:4px 11px;border-radius:999px;background:#fff;color:#2547d0;font-size:13px;font-weight:500}
.abd-nlp__title{margin:0;font-family:Outfit,sans-serif;font-weight:700;font-size:32px;line-height:1.1;color:#fff}
.abd-nlp__lead{margin:0;font-size:16px;line-height:1.5;color:#e6ecff}
.abd-nlp__small{margin:0;font-size:14px;line-height:1.6}
.abd-nlp__gift{display:flex;gap:14px;align-items:center;padding:14px;border-radius:12px;background:#fff;color:#111827}
.abd-nlp__gift img{width:60px;height:auto;border-radius:3px;flex-shrink:0;box-shadow:0 1px 4px rgba(17,24,39,.2)}
.abd-nlp__gift div{display:flex;flex-direction:column;gap:4px}
.abd-nlp__gift strong{font-family:Outfit,sans-serif;font-size:16px;line-height:1.25}
.abd-nlp__gift-tag{align-self:flex-start;padding:2px 9px;border-radius:999px;background:#dcfce7;color:#166534;font-size:12px;font-weight:700}
.abd-nlp__gift-text{font-size:13px;line-height:1.4;color:#374151}
.abd-nlp__gift--desktop{display:none}
.abd-nlp__card{padding:18px;border-radius:12px;background:#fff;color:#111827;display:flex;flex-direction:column;gap:14px}
.abd-nlp__card h3{margin:0;font-family:Outfit,sans-serif;font-weight:700;font-size:20px;color:#111827}
.abd-nlp__item{display:flex;gap:14px;align-items:flex-start}
.abd-nlp__item-text{display:flex;flex-direction:column;gap:2px}
.abd-nlp__icon{width:40px;height:40px;flex-shrink:0;border-radius:10px;background:#f3f4f6;color:#111827;display:flex;align-items:center;justify-content:center}
.abd-nlp__item strong{font-size:15px;color:#111827}
.abd-nlp__item-text span{font-size:13.5px;line-height:1.45;color:#4b5563}
.abd-nlp__icon svg{display:block}
.abd-nlp__links{display:flex;gap:24px;padding-top:16px}
.abd-nlp__links button{padding:12px 0;border:0;background:none;color:#fff;font:inherit;font-size:14px;text-decoration:underline;cursor:pointer}
.abd-nlp__msg{max-width:560px;display:flex;flex-direction:column;gap:18px;padding-top:56px}
.abd-nlp__msg p{margin:0;font-size:16px;line-height:1.6}
.abd-nlp__box{padding:16px;border-radius:10px;background:#fff;color:#374151!important;font-size:15px!important}
.abd-nlp__msg .abd-nlf__btn{align-self:flex-start}
/* V4: reassurance ticks, social proof, confirmation screen */
.abd-nlp__checks{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:14px;font-weight:500}
.abd-nlp__checks>span{display:inline-flex;align-items:center;gap:6px}
.abd-nlp__check{width:20px;height:20px;border-radius:999px;background:#fff;color:#2547d0;display:inline-flex;align-items:center;justify-content:center}
.abd-nlp__proof{margin:0;padding-top:14px;border-top:1px solid #6482e0;font-size:14px;line-height:1.5;color:#dbe4ff}
.abd-nlp__proof strong{color:#fff}
.abd-nlp__msg--ok .abd-nlp__ok{width:64px;height:64px;border-radius:999px;background:#22c55e;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 8px rgba(255,255,255,.18)}
.abd-nlp__next{display:flex;flex-direction:column;gap:12px;width:100%}
.abd-nlp__next>div{display:flex;gap:14px;align-items:center;padding:14px 18px;border-radius:12px;background:#fff;color:#111827;text-align:left;font-size:15px;line-height:1.45}
.abd-nlp__next img{width:44px;height:auto;border-radius:3px;flex-shrink:0}
.abd-nlp__icon--big{width:44px;height:44px;background:#e0e7ff;color:#3C61D8}
/* Shared form (popup on blue, /newsletter page on white) */
.abd-nlf{display:flex;flex-direction:column;gap:12px}
.abd-nlf__label{font-size:15px;font-weight:500}
.abd-nlf__row{display:flex;flex-direction:column;gap:12px}
.abd-nlf__input{height:52px;box-sizing:border-box;padding:0 16px;border:2px solid #fff;border-radius:8px;background:#fff;font-family:Roboto,sans-serif;font-size:16px;color:#111827;width:100%}
.abd-nlf__btn{height:54px;padding:0 24px;border:0;border-radius:8px;background:#111827;color:#fff;font-family:Roboto,sans-serif;font-size:16px;font-weight:700;cursor:pointer}
.abd-nlf__btn[disabled]{opacity:.6;cursor:wait}
.abd-nlf__consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.45;cursor:pointer}
.abd-nlf__consent input{width:18px;height:18px;margin:1px 0 0;flex-shrink:0}
.abd-nlf__trap{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.abd-nlf__error{margin:0;padding:8px 12px;border-radius:6px;background:#fee2e2;color:#991b1b;font-size:14px}
/* Extra theme + Customizer force uppercase, blue buttons and grey inputs on every form: undo it here */
body .abd-nlf .abd-nlf__input{background:#fff!important;color:#111827!important;text-transform:none!important;letter-spacing:normal!important;border:2px solid #fff!important;border-radius:8px!important;box-shadow:none!important;font-weight:400!important}
body .abd-nlf .abd-nlf__input::placeholder{text-transform:none!important;color:#6b7280!important;letter-spacing:normal!important}
body .abd-nlf .abd-nlf__btn,body .abd-nlp .abd-nlf__btn{background:#111827!important;color:#fff!important;text-transform:none!important;letter-spacing:normal!important;border:0!important;border-radius:8px!important;white-space:nowrap}
body .abd-nlf .abd-nlf__btn:hover,body .abd-nlp .abd-nlf__btn:hover{background:#000!important}
body .abd-nlp .abd-nlp__close{background:transparent!important;color:#fff!important;text-transform:none!important;letter-spacing:normal!important;border:1px solid #8aa2e8!important;border-radius:999px!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;line-height:1!important;font-size:15px!important}
body .abd-nlp .abd-nlp__close svg{flex:0 0 16px!important;width:16px!important;height:16px!important;max-width:16px!important;display:block!important}
body .abd-nlp .abd-nlp__links button{background:none!important;text-transform:none!important;letter-spacing:normal!important;color:#fff!important}
/* Third-party floating buttons (OneSignal bell, Axeptio) sit above everything: hide them while the popup is open */
body.abd-nlp-open #onesignal-bell-container,body.abd-nlp-open #axeptio_overlay,body.abd-nlp-open .grecaptcha-badge{display:none!important}
.abd-nlpage{max-width:540px;margin:0 auto;padding:24px;border-radius:12px;background:#3C61D8;color:#fff;font-family:Roboto,sans-serif}
body .abd-nlpage a,body .abd-nlp .abd-nlf a{color:#fff!important;text-decoration:underline!important}
.abd-nlf__done-title{font-family:Outfit,sans-serif;font-size:24px;font-weight:700;margin:0 0 8px}
@media (min-width:768px){
  .abd-nlf__row{flex-direction:row}
  .abd-nlf__input{flex-grow:1;height:56px;font-size:17px}
  .abd-nlf__btn{height:56px;font-size:17px}
  .abd-nlf__consent{font-size:14px}
}
@media (min-width:1024px){
  /* Desktop: everything on one screen (compact spacing), no scroll needed from ~650 px of height */
  .abd-nlp{display:flex;flex-direction:column}
  .abd-nlp__bar{padding:12px 64px}
  .abd-nlp__brand{font-size:22px}
  .abd-nlp__close-text{display:inline}
  .abd-nlp__close{padding:0 16px}
  .abd-nlp__panel{padding:24px 64px 12px;max-width:1360px;width:100%;margin:auto;box-sizing:border-box}
  .abd-nlp__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:56px;align-items:center}
  .abd-nlp__main{gap:14px}
  .abd-nlp__tag{font-size:13px;padding:4px 11px}
  .abd-nlp__title{font-size:42px;line-height:1.06;letter-spacing:-.015em}
  .abd-nlp__lead{font-size:16px;line-height:1.5}
  .abd-nlp__small{font-size:13.5px;line-height:1.5}
  .abd-nlf{gap:8px}
  .abd-nlf__label{font-size:14px}
  .abd-nlf__input,.abd-nlf__btn{height:50px!important;font-size:16px!important}
  .abd-nlf__consent{font-size:13px}
  .abd-nlp__side{display:flex;flex-direction:column;gap:12px}
  .abd-nlp__card{padding:18px 22px;gap:12px}
  .abd-nlp__card h3{font-size:19px}
  .abd-nlp__icon{width:38px;height:38px}
  .abd-nlp__item strong{font-size:15px}
  .abd-nlp__item-text span{font-size:13.5px;line-height:1.4}
  .abd-nlp__checks{font-size:13.5px}
  .abd-nlp__proof{padding-top:10px;font-size:13.5px}
  .abd-nlp__msg--ok{margin:auto;align-items:center;text-align:center;max-width:780px;width:100%}
  .abd-nlp__msg--ok .abd-nlp__ok{width:84px;height:84px}
  .abd-nlp__msg--ok .abd-nlf__btn{align-self:center}
  .abd-nlp__msg--ok .abd-nlp__title{font-size:44px}
  .abd-nlp__gift--mobile{display:none}
  .abd-nlp__gift--desktop{display:flex;padding:12px 16px;gap:14px}
  .abd-nlp__gift--desktop img{width:48px}
  .abd-nlp__gift--desktop strong{font-size:16px}
  .abd-nlp__gift--desktop .abd-nlp__gift-text{font-size:13px}
  .abd-nlp__links{padding-top:6px}
  .abd-nlp__links button{padding:6px 0}
  .abd-nlp__msg{padding-top:64px}
}
@media (min-width:1024px) and (max-height:700px){
  .abd-nlp__panel{padding-top:14px}
  .abd-nlp__main{gap:10px}
  .abd-nlp__title{font-size:36px}
  .abd-nlp__lead{font-size:15px}
  .abd-nlp__card{padding:14px 20px;gap:6px}
  .abd-nlp__card{gap:9px}
  .abd-nlp__icon{width:34px;height:34px}
  .abd-nlp__item-text span{font-size:13px;line-height:1.35}
  .abd-nlp__proof{padding-top:8px}
}
/* The theme fills every SVG: keep the line icons as outlines */
.abd-nlp svg,.abd-nlp svg *{fill:none!important;stroke:currentColor!important}
/* Portrait white paper cover: never stretched by the theme image rules */
.abd-nlp__gift img,.abd-nlp__next img{height:auto!important;max-width:none!important;aspect-ratio:353/500;object-fit:cover}
/* The theme stretches SVGs to their box: fixed icon sizes, as in the mock-ups */
.abd-nlp .abd-nlp__icon svg{width:20px!important;height:20px!important;max-width:none!important;flex:0 0 auto!important}
.abd-nlp .abd-nlp__icon--big svg{width:22px!important;height:22px!important}
.abd-nlp .abd-nlp__check svg{width:13px!important;height:13px!important;max-width:none!important;flex:0 0 auto!important;display:block}
.abd-nlp .abd-nlp__check{flex:0 0 20px}
.abd-nlp .abd-nlp__ok svg{width:38px!important;height:38px!important;max-width:none!important;flex:0 0 auto!important}
@media (max-width:1023px){.abd-nlp .abd-nlp__ok svg{width:30px!important;height:30px!important}}
/* Desktop screens with room to spare (900 px high, like the mock-ups): mock-up sizes */
@media (min-width:1024px) and (min-height:800px){
  .abd-nlp__panel{padding-top:32px}
  .abd-nlp__main{gap:18px}
  .abd-nlp__title{font-size:50px}
  .abd-nlp__lead{font-size:18px}
  .abd-nlf{gap:10px}
  .abd-nlf__label{font-size:15px}
  .abd-nlf__input,.abd-nlf__btn{height:56px!important;font-size:17px!important}
  .abd-nlp__checks,.abd-nlp__proof{font-size:14px}
  .abd-nlp__side{gap:16px}
  .abd-nlp__card{padding:22px 24px;gap:16px}
  .abd-nlp__card h3{font-size:21px}
  .abd-nlp__icon{width:40px;height:40px}
  .abd-nlp__item strong{font-size:16px}
  .abd-nlp__item-text span{font-size:14px;line-height:1.45}
  .abd-nlp__gift--desktop{padding:18px 22px;gap:18px}
  .abd-nlp__gift--desktop img{width:70px}
  .abd-nlp__gift--desktop strong{font-size:19px}
  .abd-nlp__gift--desktop .abd-nlp__gift-text{font-size:14px}
}
/* Mobile, as in the mock-up: e-mail, then the consent box, then the button */
@media (max-width:767px){
  .abd-nlf__row{display:contents}
  .abd-nlf__label{order:0}
  .abd-nlf__input{order:1}
  .abd-nlf__consent{order:2}
  .abd-nlf__btn{order:3}
  .abd-nlf__error{order:4}
}
