/* Mon Hexa — gestion du consentement aux cookies */
.cc-overlay{position:fixed;inset:0;background:rgba(15,25,48,.55);z-index:1000;display:none;align-items:flex-end;justify-content:center;padding:16px}
.cc-overlay.cc-show{display:flex;animation:ccFade .25s ease}
@media (min-width:720px){.cc-overlay{align-items:center}}
@keyframes ccFade{from{opacity:0}to{opacity:1}}
.cc-modal{background:#fff;color:#14213d;width:100%;max-width:560px;border-radius:18px;box-shadow:0 20px 60px rgba(0,0,0,.3);padding:26px 26px 22px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;max-height:92vh;overflow-y:auto}
.cc-head{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.cc-head svg{width:34px;height:34px;flex:0 0 34px}
.cc-modal h2{font-family:inherit;font-weight:700;font-size:1.3rem;margin:0}
.cc-modal p{font-size:.92rem;line-height:1.55;color:#2b3a5c;margin:0 0 14px}
.cc-modal a{color:#1f4e9c}
.cc-cats{border:1px solid #e3ddd0;border-radius:12px;margin:0 0 18px;overflow:hidden}
.cc-cat{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:14px 16px;border-bottom:1px solid #e3ddd0}
.cc-cat:last-child{border-bottom:0}
.cc-cat strong{display:block;font-size:.95rem;margin-bottom:2px}
.cc-cat span{font-size:.83rem;color:#5d6782;line-height:1.45;display:block}
.cc-switch{position:relative;flex:0 0 46px;width:46px;height:26px;margin-top:2px}
.cc-switch input{opacity:0;width:0;height:0;position:absolute}
.cc-slider{position:absolute;inset:0;background:#cfd5e3;border-radius:999px;cursor:pointer;transition:.2s}
.cc-slider::before{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.cc-switch input:checked + .cc-slider{background:#1f7a54}
.cc-switch input:checked + .cc-slider::before{transform:translateX(20px)}
.cc-switch input:disabled + .cc-slider{opacity:.6;cursor:not-allowed}
.cc-switch input:focus-visible + .cc-slider{outline:2px solid #1f4e9c;outline-offset:2px}
.cc-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}
@media (max-width:520px){.cc-actions{grid-template-columns:1fr}}
.cc-btn{border-radius:999px;padding:11px 12px;font-weight:600;font-size:.86rem;cursor:pointer;border:2px solid #14213d;font-family:inherit;transition:.15s}
.cc-btn-all{background:#d6453d;border-color:#d6453d;color:#fff}
.cc-btn-all:hover{background:#b3352e;border-color:#b3352e}
.cc-btn-sel{background:#14213d;color:#fff}
.cc-btn-sel:hover{background:#2b3a5c}
.cc-btn-nec{background:#fff;color:#14213d}
.cc-btn-nec:hover{background:#f2efe7}
