/* Confidentialité — choix équitables, composants autonomes. */
.consent-banner, .consent-banner *, .consent-dialog, .consent-dialog *, .map-consent-message, .map-consent-message * { box-sizing:border-box; }
.consent-banner[hidden], .consent-dialog:not([open]), .map-consent iframe[hidden], .map-consent-message[hidden] { display:none !important; }
.consent-banner { position:fixed; z-index:3000; bottom:24px; left:24px; width:min(540px,calc(100% - 48px)); padding:28px; color:#122942; background:#fff; border:0; border-radius:16px; box-shadow:0 12px 60px rgba(18,41,66,.2); max-height:calc(100dvh - 48px); overflow-y:auto; scrollbar-width:thin; scrollbar-color:#8095af #f0f5fc; font:16px/1.65 var(--sans,"Manrope",Arial,sans-serif); }
.consent-banner-heading { display:flex; align-items:center; gap:14px; }
.consent-symbol { display:grid; place-items:center; flex:0 0 44px; height:44px; color:#1769e0; }
.consent-symbol svg { width:30px; height:30px; }
.consent-banner h2 { margin:0; font:800 22px/1.25 var(--sans,"Manrope",Arial,sans-serif); color:#122942; letter-spacing:-.03em; }
.consent-banner p { margin:18px 0; color:#526477; }
.consent-banner a, .consent-dialog a { color:#135bc3; text-decoration:underline; text-underline-offset:4px; }
.consent-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.consent-button, .map-consent-message button { appearance:none; min-height:48px; padding:12px 14px; border:1px solid #1769e0; border-radius:10px; background:#1769e0; color:#fff; cursor:pointer; font:700 14px/1.4 var(--sans,"Manrope",Arial,sans-serif); text-align:center; transition:background .2s ease,border-color .2s ease; }
.consent-actions .consent-button { width:100%; padding-inline:8px; }
.consent-button:hover, .map-consent-message button:hover { background:#1256bc; border-color:#1256bc; }
.consent-button:focus-visible, .consent-close:focus-visible, .consent-banner a:focus-visible, .consent-dialog a:focus-visible, .map-consent-message button:focus-visible, .consent-open:focus-visible { outline:3px solid #122942; outline-offset:4px; }
.consent-banner .consent-banner-note, .consent-dialog .consent-banner-note { font-size:13px; line-height:1.75; margin:18px 0 0; color:#526477; }
.consent-dialog { position:fixed; z-index:3001; padding:32px; width:min(620px,calc(100% - 40px)); max-width:none; max-height:calc(100dvh - 40px); overflow-y:auto; margin:auto; border:0; border-radius:16px; box-shadow:0 20px 90px rgba(18,41,66,.26); color:#122942; background:#fff; font:16px/1.7 var(--sans,"Manrope",Arial,sans-serif); scrollbar-width:thin; scrollbar-color:#8095af #f0f5fc; }
.consent-dialog::backdrop { background:rgba(12,28,48,.55); backdrop-filter:blur(4px); }
.consent-dialog.is-fallback[open] { z-index:3001; top:50%; left:50%; right:auto; bottom:auto; transform:translate(-50%,-50%); box-shadow:0 0 0 100vmax rgba(12,28,48,.55); }
.consent-dialog-heading { display:flex; align-items:start; justify-content:space-between; gap:20px; }
.consent-dialog .consent-eyebrow { margin:0 0 6px; color:#526477; font-size:14px; font-weight:600; }
.consent-dialog h2 { margin:0; font-size:34px; line-height:1.15; font-weight:800; letter-spacing:-.04em; }
.consent-close { flex:0 0 44px; height:44px; padding:10px; border-radius:10px; border:0; background:#f0f5fc; color:#122942; cursor:pointer; }
.consent-close:hover { background:#dce8f9; }
.consent-close svg { width:24px; height:24px; }
.consent-dialog p { margin:22px 0; color:#526477; }
.consent-category { border:0; border-top:1px solid #d7e2ef; border-radius:0; padding:23px 0 0; margin:23px 0; }
.consent-category-heading { display:flex; align-items:start; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.consent-category h3 { font-size:17px; font-weight:800; line-height:1.45; margin:0; }
.consent-category p { margin:14px 0 0; color:#526477; font-size:14px; line-height:1.75; }
.consent-active { background:#f0f5fc; border-radius:100px; padding:4px 10px; color:#135bc3; font-weight:700; font-size:13px; }
.consent-switch-row { display:flex; align-items:center; justify-content:space-between; position:relative; gap:18px; cursor:pointer; min-height:48px; }
.consent-switch-row strong { display:block; font-size:17px; line-height:1.45; font-weight:800; }
.consent-category-subtitle { display:block; color:#526477; font-size:14px; margin-top:3px; }
.consent-switch-row input { position:absolute; width:50px; height:44px; right:0; opacity:0; cursor:pointer; margin:0; }
.consent-switch { display:inline-block; flex:0 0 50px; width:50px; height:30px; padding:3px; border-radius:18px; background:#627b96; transition:background .2s ease; pointer-events:none; }
.consent-switch::after { content:''; width:24px; height:24px; display:block; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(18,41,66,.16); transition:transform .2s ease; }
.consent-switch-row input:checked + .consent-switch { background:#1769e0; }
.consent-switch-row input:checked + .consent-switch::after { transform:translateX(20px); }
.consent-switch-row input:focus-visible + .consent-switch { outline:3px solid #122942; outline-offset:4px; }
.consent-dialog-actions { margin-top:28px; }
.consent-status { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.consent-open { color:inherit; font:inherit; background:transparent; border:0; padding:10px 0; min-height:44px; cursor:pointer; text-decoration:underline; text-underline-offset:4px; }
.map-consent-message { display:grid; justify-items:center; text-align:center; gap:18px; padding:48px 28px; min-height:320px; align-content:center; color:#122942; background:#f0f5fc; }
.map-consent-message h3 { font-size:26px; line-height:1.25; margin:0; font-weight:800; letter-spacing:-.03em; }
.map-consent-message p { max-width:540px; margin:0; font-size:16px; line-height:1.75; color:#526477; }
.map-consent-message a { color:#135bc3; text-underline-offset:4px; font-size:14px; min-height:44px; display:inline-flex; align-items:center; }
@media(max-width:700px) {
 .consent-banner { left:12px; bottom:12px; width:calc(100% - 24px); padding:22px; border-radius:16px; max-height:calc(100dvh - 24px); }
 .consent-banner h2 { font-size:20px; }
 .consent-banner p { font-size:15px; }
 .consent-banner-heading { gap:10px; }
 .consent-symbol { flex-basis:32px; }
 .consent-symbol svg { width:28px; height:28px; }
 .consent-actions { gap:8px; }
 .consent-dialog { padding:26px; max-height:calc(100dvh - 24px); width:calc(100% - 24px); border-radius:16px; }
 .consent-dialog h2 { font-size:30px; }
 .consent-category { padding-top:20px; margin-block:20px; }
 .map-consent-message { padding:36px 20px; min-height:300px; }
 .map-consent-message h3 { font-size:23px; }
}
@media(max-width:460px) {
 .consent-actions { grid-template-columns:1fr; }
 .consent-actions .consent-button { min-height:46px; padding:11px 14px; }
 .consent-banner { padding:20px; }
 .consent-banner h2 { font-size:19px; }
 .consent-banner p { margin-block:14px; font-size:14px; }
 .consent-banner .consent-banner-note { margin-top:14px; }
 .consent-dialog { padding:22px; }
 .consent-dialog h2 { font-size:27px; }
 .consent-dialog-heading { gap:12px; }
 .consent-dialog p { font-size:15px; }
 .consent-category p { font-size:14px; }
 .consent-category-heading { gap:10px; }
 .consent-switch-row { gap:12px; }
 .consent-switch-row strong, .consent-category h3 { font-size:16px; }
 .consent-dialog-actions { margin-top:22px; }
}
@media(prefers-reduced-motion:reduce) { .consent-button, .consent-switch, .consent-switch::after, .map-consent-message button { transition:none; } }
@media print { .consent-banner, .consent-dialog, .consent-status, .consent-open, .map-consent-message button { display:none !important; } }
