/* CyberRisques — consentement & préférences traceurs — v1 2026-10-07 */
.cyber-consent-banner,.cyber-consent-modal{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#132238}
.cyber-consent-banner{position:fixed;z-index:10000;left:18px;right:18px;bottom:18px;max-width:980px;margin:0 auto;background:#fff;border:1px solid #cbd9e7;border-radius:18px;box-shadow:0 18px 55px rgba(4,17,36,.28);padding:18px 20px;display:none}
.cyber-consent-banner.is-open{display:block}
.cyber-consent-banner__inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center}
.cyber-consent-banner h2{font:700 18px/1.25 Inter,system-ui,sans-serif;margin:0 0 6px;color:#081a31;letter-spacing:0}
.cyber-consent-banner p{margin:0;color:#52657b;font-size:14px;line-height:1.5}
.cyber-consent-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.cyber-consent-btn{appearance:none;border:1px solid #b7c8d9;background:#fff;color:#12365e;border-radius:11px;padding:10px 14px;font:700 13px/1 Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.cyber-consent-btn:hover,.cyber-consent-btn:focus-visible{outline:0;border-color:#087e8b;box-shadow:0 0 0 3px rgba(8,126,139,.16)}
.cyber-consent-btn--accept{background:linear-gradient(135deg,#07505b,#29c6c8);border-color:#07505b;color:#fff}
.cyber-consent-btn--reject{background:#f3f6f9;color:#24384e}
.cyber-consent-backdrop{position:fixed;z-index:10001;inset:0;background:rgba(3,15,28,.58);display:none;align-items:center;justify-content:center;padding:18px}
.cyber-consent-backdrop.is-open{display:flex}
.cyber-consent-modal{width:min(650px,100%);max-height:min(780px,92vh);overflow:auto;background:#fff;border-radius:20px;box-shadow:0 25px 80px rgba(0,0,0,.35);border:1px solid #d6e1ec}
.cyber-consent-modal__head{padding:22px 24px 15px;border-bottom:1px solid #e4ebf2;display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.cyber-consent-modal h2{font:700 23px/1.2 Georgia,serif;margin:0;color:#081a31;letter-spacing:-.02em}
.cyber-consent-modal__close{border:0;background:#edf3f7;width:36px;height:36px;border-radius:10px;font-size:22px;line-height:1;cursor:pointer;color:#12365e}
.cyber-consent-modal__body{padding:20px 24px}
.cyber-consent-modal__body>p{margin:0 0 18px;color:#52657b;font-size:14px;line-height:1.55}
.cyber-consent-row{border:1px solid #dbe4ef;border-radius:15px;padding:15px 16px;margin-top:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center}
.cyber-consent-row h3{font:800 15px/1.25 Inter,system-ui,sans-serif;margin:0 0 4px;color:#132238;letter-spacing:0}
.cyber-consent-row p{font-size:13px;line-height:1.45;color:#617087;margin:0}
.cyber-consent-row small{display:block;margin-top:4px;color:#087e8b;font-weight:700}
.cyber-consent-switch{position:relative;width:48px;height:28px;display:inline-block;flex:0 0 auto}
.cyber-consent-switch input{position:absolute;opacity:0;pointer-events:none}
.cyber-consent-switch span{position:absolute;inset:0;border-radius:999px;background:#c7d2dd;transition:.2s;cursor:pointer}
.cyber-consent-switch span:after{content:"";position:absolute;left:4px;top:4px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.22);transition:.2s}
.cyber-consent-switch input:checked+span{background:#087e8b}
.cyber-consent-switch input:checked+span:after{transform:translateX(20px)}
.cyber-consent-switch input:focus-visible+span{box-shadow:0 0 0 3px rgba(8,126,139,.2)}
.cyber-consent-switch--locked span{background:#087e8b;opacity:.72;cursor:not-allowed}
.cyber-consent-modal__foot{padding:16px 24px 22px;border-top:1px solid #e4ebf2;display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.cyber-cookie-link{border:0;background:transparent;color:#b9c7d6;text-decoration:underline;text-underline-offset:3px;padding:0;font:inherit;cursor:pointer}
.cyber-cookie-link:hover,.cyber-cookie-link:focus-visible{color:#fff;outline:0}
@media(max-width:760px){.cyber-consent-banner{left:10px;right:10px;bottom:10px;padding:16px}.cyber-consent-banner__inner{grid-template-columns:1fr}.cyber-consent-actions{justify-content:flex-start}.cyber-consent-actions .cyber-consent-btn{flex:1 1 130px}.cyber-consent-modal__head,.cyber-consent-modal__body,.cyber-consent-modal__foot{padding-left:18px;padding-right:18px}.cyber-consent-row{grid-template-columns:1fr auto}}
