/* Préfixe #fo-pop : priorité sur les styles de boutons du thème et du kit Elementor. */
#fo-pop{--ink:#170737;--v:#8d59e7;--vd:#7147b9;--bg:#f6f4f9;--lilac:#ece4fb;--text:#3d3552;--muted:#6f6885;position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:16px;font-family:"Outfit",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.45;color:var(--text);-webkit-font-smoothing:antialiased;text-align:left}
#fo-pop[hidden],#fo-pop [hidden]{display:none!important}
#fo-pop *{box-sizing:border-box}
#fo-pop button{margin:0;font-family:"Outfit",system-ui,sans-serif;text-transform:none;letter-spacing:normal;text-decoration:none;box-shadow:none;-webkit-appearance:none;appearance:none}
#fo-pop .fo-pop__backdrop{position:absolute;inset:0;background:rgba(23,7,55,.55);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);animation:foFade .2s ease}
#fo-pop .fo-pop__dialog{position:relative;width:100%;max-width:520px;max-height:calc(100vh - 32px);overflow:auto;padding:30px 26px 24px;border-radius:28px;background:#fff;box-shadow:0 30px 80px rgba(23,7,55,.35);animation:foUp .28s cubic-bezier(.2,.8,.2,1)}
@keyframes foFade{from{opacity:0}to{opacity:1}}
@keyframes foUp{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}

#fo-pop .fo-pop__x,#fo-pop .fo-pop__x:hover,#fo-pop .fo-pop__x:focus{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:40px;height:40px;min-height:0;padding:0;border:0;border-radius:50%;background:var(--bg);color:var(--ink);font-size:24px;font-weight:400;line-height:1;cursor:pointer}
#fo-pop .fo-pop__x:hover,#fo-pop .fo-pop__x:focus-visible{background:var(--lilac)}

#fo-pop .fo-pop__offer{display:inline-flex;align-items:center;gap:8px;max-width:calc(100% - 50px);margin:0 0 12px;padding:7px 14px;border-radius:999px;background:var(--lilac);color:var(--vd);font-size:14px;font-weight:700;line-height:1.3}
#fo-pop .fo-pop__title{margin:0 0 20px;padding:0 40px 0 0;font-family:"Outfit",system-ui,sans-serif;font-size:28px;font-weight:800;line-height:1.08;letter-spacing:-.02em;color:var(--ink);text-transform:none}
#fo-pop .fo-pop__choices{display:grid;gap:12px}

#fo-pop .fo-pop__choice,#fo-pop .fo-pop__choice:hover,#fo-pop .fo-pop__choice:focus{display:flex;align-items:center;gap:16px;width:100%;min-height:0;padding:18px;border:2px solid rgba(23,7,55,.1);border-radius:20px;background:#fff;color:var(--text);font-size:16px;font-weight:400;line-height:1.35;text-align:left;white-space:normal;cursor:pointer;transition:border-color .2s,transform .2s,box-shadow .2s}
#fo-pop .fo-pop__choice:focus-visible{border-color:var(--v);outline:none;box-shadow:0 0 0 4px rgba(141,89,231,.2)}
#fo-pop .fo-pop__choice strong{display:block;font-size:18px;font-weight:700;color:var(--ink);line-height:1.2}
#fo-pop .fo-pop__choice small{display:block;margin-top:3px;font-size:15px;color:var(--muted);line-height:1.35}
#fo-pop .fo-pop__choice.is-main,#fo-pop .fo-pop__choice.is-main:focus{border-color:var(--ink);background:var(--ink);color:#fff}
#fo-pop .fo-pop__choice.is-main strong{color:#fff}
#fo-pop .fo-pop__choice.is-main small{color:rgba(255,255,255,.72)}
#fo-pop .fo-pop__ico{flex:0 0 48px;display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:var(--lilac)}
#fo-pop .fo-pop__ico svg{width:24px;height:24px;fill:var(--vd)}
#fo-pop .is-main .fo-pop__ico{background:var(--v)}
#fo-pop .is-main .fo-pop__ico svg{fill:#fff}
@media (hover:hover){
  #fo-pop .fo-pop__choice:hover{border-color:var(--v);transform:translateY(-1px);box-shadow:0 10px 26px rgba(141,89,231,.18)}
  #fo-pop .fo-pop__choice.is-main:hover{border-color:var(--v);background:#22104a}
}

#fo-pop .fo-pop__steps{display:grid;gap:10px;margin:0 0 16px;padding:0;list-style:none}
#fo-pop .fo-pop__steps li{display:flex;align-items:flex-start;gap:12px;margin:0;padding:0;font-size:16px;line-height:1.4;color:var(--ink);list-style:none}
#fo-pop .fo-pop__steps li::before{display:none}
#fo-pop .fo-pop__steps b{flex:0 0 28px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--lilac);color:var(--vd);font-size:14px;font-weight:800}
#fo-pop .fo-pop__note{margin:0 0 18px;padding:14px 16px;border-radius:16px;background:var(--bg);font-size:15px;line-height:1.5;color:var(--text)}

#fo-pop .fo-pop__go,#fo-pop .fo-pop__go:hover,#fo-pop .fo-pop__go:focus{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:58px;padding:16px 24px;border:0;border-radius:999px;background:var(--ink);color:#fff;font-size:17px;font-weight:700;line-height:1;text-align:center;cursor:pointer;transition:background .2s}
#fo-pop .fo-pop__go:focus-visible{outline:3px solid var(--lilac);outline-offset:2px}
@media (hover:hover){#fo-pop .fo-pop__go:hover{background:var(--v)}}
#fo-pop .fo-pop__go[disabled]{opacity:.7;cursor:wait}
#fo-pop .fo-pop__go .fo-spin{width:18px;height:18px;border:2.5px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:foSpin .8s linear infinite}
@keyframes foSpin{to{transform:rotate(360deg)}}
#fo-pop .fo-pop__legal{margin:12px 0 0;font-size:13px;color:var(--muted);text-align:center}
#fo-pop .fo-pop__legal a{color:var(--vd);text-decoration:underline}
#fo-pop .fo-pop__err{margin:12px 0 0;padding:12px 14px;border-radius:14px;background:#fde8ef;color:#b0164f;font-size:15px;font-weight:600}
#fo-pop .fo-pop__back,#fo-pop .fo-pop__back:hover,#fo-pop .fo-pop__back:focus{display:block;width:auto;min-height:0;margin:14px auto 0;padding:8px 12px;border:0;border-radius:10px;background:none;color:var(--muted);font-size:15px;font-weight:600;line-height:1.2;text-align:center;cursor:pointer}
#fo-pop .fo-pop__back:hover{color:var(--ink)}
#fo-pop .fo-pop__test{margin:0 0 14px;padding:10px 12px;border-radius:12px;background:#e6f8ee;color:#12693a;font-size:13px;font-weight:600}

.fo-toast{position:fixed;left:50%;bottom:22px;z-index:99998;max-width:calc(100% - 32px);padding:14px 20px;border-radius:999px;background:#170737;color:#fff;font:600 15px "Outfit",system-ui,sans-serif;box-shadow:0 14px 40px rgba(23,7,55,.3);transform:translateX(-50%);animation:foUp .3s ease}
.fo-toast[hidden]{display:none}
.fo-contact-hint{margin:0 0 16px;padding:12px 16px;border-radius:14px;background:#ece4fb;color:#3c2078;font:600 15px/1.4 "Outfit",system-ui,sans-serif}

@media (max-width:520px){
  #fo-pop{align-items:end;padding:0}
  #fo-pop .fo-pop__dialog{max-width:none;border-radius:26px 26px 0 0;padding:26px 18px calc(20px + env(safe-area-inset-bottom));max-height:92vh}
  #fo-pop .fo-pop__title{font-size:24px}
  #fo-pop .fo-pop__choice,#fo-pop .fo-pop__choice:hover,#fo-pop .fo-pop__choice:focus{padding:16px}
}
@media (prefers-reduced-motion:reduce){#fo-pop .fo-pop__backdrop,#fo-pop .fo-pop__dialog,.fo-toast{animation:none}#fo-pop .fo-pop__choice{transition:none}}
