/* SMO Mesure 1.1.0 : bandeau consentement 2 niveaux */
.smmz-cb,.smmz-md{font-family:Inter,Manrope,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#E6ECF5;box-sizing:border-box}
.smmz-cb *,.smmz-md *{box-sizing:border-box}
.smmz-cb{position:fixed;left:50%;bottom:20px;z-index:9985;width:calc(100% - 40px);max-width:1040px;transform:translate(-50%,16px);opacity:0;transition:opacity .28s ease,transform .28s ease;background:#01071A;border:1px solid rgba(255,255,255,.12);border-top:2px solid #D1BC8F;border-radius:14px;box-shadow:0 20px 50px rgba(0,0,0,.45);padding:20px 24px;display:flex;gap:24px;align-items:center}
.smmz-cb.is-in{opacity:1;transform:translate(-50%,0)}
.smmz-cb .smmz-tx{flex:1;min-width:0}
.smmz-cb h2,.smmz-md h2{margin:0 0 6px;font-size:17px;line-height:1.3;font-weight:700;color:#fff;letter-spacing:0;text-transform:none}
.smmz-cb p{margin:0;font-size:14px;line-height:1.5;color:#C9D3E3}
.smmz-cb a,.smmz-md a{color:#D1BC8F;text-decoration:underline;text-underline-offset:2px}
.smmz-act{display:flex;gap:10px;flex-shrink:0}
.smmz-b{appearance:none;cursor:pointer;border-radius:10px;min-height:46px;padding:12px 22px;font:inherit;font-size:15px;font-weight:600;line-height:1.2;white-space:nowrap;transition:background .2s,border-color .2s,color .2s}
.smmz-b1{background:#008AFC;color:#fff;border:1px solid #008AFC}
.smmz-b1:hover{background:#119CFF;border-color:#119CFF}
.smmz-b2{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.35)}
.smmz-b2:hover{border-color:#D1BC8F;color:#D1BC8F}
.smmz-cb .smmz-b1{min-width:180px}
.smmz-b:focus-visible,.smmz-tl:focus-visible,.smmz-sw:focus-visible,.smmz-x:focus-visible{outline:2px solid #D1BC8F;outline-offset:2px}
/* protection contre les styles de boutons du thème */
.smmz-cb button,.smmz-md button{text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;text-shadow:none!important}
.smmz-md .smmz-x,.smmz-md .smmz-x:hover,.smmz-md .smmz-x:focus,.smmz-md .smmz-x:active{background:transparent!important;color:#C9D3E3!important;border:0!important}
.smmz-md .smmz-x:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
.smmz-md .smmz-tl,.smmz-md .smmz-tl:hover,.smmz-md .smmz-tl:focus,.smmz-md .smmz-tl:active{background:transparent!important;border:0!important}
.smmz-md .smmz-tl{color:#119CFF!important}.smmz-md .smmz-tl:hover{color:#D1BC8F!important}
.smmz-md .smmz-sw,.smmz-md .smmz-sw:hover,.smmz-md .smmz-sw:focus{background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.3)!important}
.smmz-md .smmz-sw[aria-checked="true"]{background:#008AFC!important;border-color:#008AFC!important}
.smmz-b1,.smmz-b1:focus,.smmz-b1:active{background:#008AFC!important;color:#fff!important;border:1px solid #008AFC!important}
.smmz-b1:hover{background:#119CFF!important;border-color:#119CFF!important;color:#fff!important}
.smmz-b2,.smmz-b2:focus,.smmz-b2:active{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.35)!important}
.smmz-b2:hover{background:transparent!important;border-color:#D1BC8F!important;color:#D1BC8F!important}
.smmz-set,.smmz-set:hover,.smmz-set:focus{background:none!important;border:0!important;box-shadow:none!important;color:inherit!important;padding:0!important}
/* niveau 2 */
.smmz-ov{position:fixed;inset:0;z-index:9995;background:rgba(1,7,26,.6);display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;transition:opacity .22s ease}
.smmz-ov.is-in{opacity:1}
.smmz-md{position:relative;width:100%;max-width:560px;max-height:calc(100vh - 40px);overflow:auto;background:#01071A;border:1px solid rgba(255,255,255,.12);border-top:2px solid #D1BC8F;border-radius:14px;box-shadow:0 24px 60px rgba(0,0,0,.5);padding:22px 24px 20px}
.smmz-md .smmz-in{margin:0 0 14px;font-size:14px;line-height:1.5;color:#C9D3E3}
.smmz-x{position:absolute;top:12px;right:12px;width:36px;height:36px;border:0;border-radius:8px;background:transparent;color:#C9D3E3;font-size:22px;line-height:1;cursor:pointer}
.smmz-x:hover{background:rgba(255,255,255,.06);color:#fff}
.smmz-tls{display:flex;gap:18px;justify-content:flex-end;margin:0 0 6px}
.smmz-tl{appearance:none;background:none;border:0;padding:6px 0;color:#119CFF;font:inherit;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none}
.smmz-tl:hover{color:#D1BC8F;text-decoration:underline}
.smmz-pp{list-style:none;margin:0 0 18px;padding:0;border-top:1px solid rgba(255,255,255,.1)}
.smmz-pp li{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.1);margin:0}
.smmz-pp b{display:block;color:#fff;font-size:15px;font-weight:600;margin:0 0 3px}
.smmz-pp span.d{display:block;color:#AEB9CC;font-size:13px;line-height:1.45}
.smmz-al{flex-shrink:0;color:#D1BC8F;font-size:13px;font-weight:600;padding-top:2px;white-space:nowrap}
.smmz-sw{flex-shrink:0;position:relative;width:46px;height:26px;border-radius:13px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.12);cursor:pointer;padding:0;transition:background .2s,border-color .2s;margin-top:1px}
.smmz-sw::after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s}
.smmz-sw[aria-checked="true"]{background:#008AFC;border-color:#008AFC}
.smmz-sw[aria-checked="true"]::after{transform:translateX(20px)}
.smmz-md .smmz-b1{width:100%}
.smmz-set{background:none;border:0;padding:0;margin:0 0 0 12px;color:inherit;font:inherit;text-decoration:underline;cursor:pointer;opacity:.85}
/* barre mobile : masquée tant que le choix n'est pas fait, puis glisse vers le haut */
html.smmz-pending .smom-bar{transform:translateY(110%)!important;visibility:hidden!important}
html.smmz-reveal .smom-bar{animation:smmzUp .42s cubic-bezier(.2,.8,.2,1)}
@keyframes smmzUp{from{transform:translateY(110%)}to{transform:translateY(0)}}
@media(max-width:767px){
 .smmz-cb{left:0;right:0;bottom:0;width:auto;max-width:none;transform:translateY(16px);border-radius:16px 16px 0 0;border-left:0;border-right:0;border-bottom:0;padding:16px 16px calc(14px + env(safe-area-inset-bottom));display:block}
 .smmz-cb.is-in{transform:none}
 .smmz-cb h2{font-size:16px;margin-bottom:4px}
 .smmz-cb p{font-size:13px;line-height:1.45}
 .smmz-act{margin-top:12px;gap:8px}
 .smmz-act .smmz-b{flex:1;min-width:0;padding:12px 10px;font-size:14px;min-height:46px}
 .smmz-act .smmz-b1{flex:1.25;min-width:0}
 .smmz-ov{align-items:flex-end;padding:0}
 .smmz-md{max-width:none;border-radius:16px 16px 0 0;max-height:88vh;padding:20px 16px calc(16px + env(safe-area-inset-bottom));border-left:0;border-right:0;border-bottom:0}
 .smmz-tls{justify-content:space-between}
}
@media(max-width:370px){.smmz-act .smmz-b{font-size:13.5px;padding:12px 8px}}
@media(prefers-reduced-motion:reduce){.smmz-cb,.smmz-ov,.smmz-sw,.smmz-sw::after{transition:none}html.smmz-reveal .smom-bar{animation:none}}
/* repris de 1.0.3 : sous le menu smx (z 9990) et masque quand le menu mobile est ouvert */
body:has(#smx.mopen) .smmz-cb,body:has(#smx.mopen) .smmz-ov{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
