
/* Consentimento de cookies: foco, contraste e medidas responsivas */
.consent-banner,.consent-overlay{font-family:Ubuntu,Arial,sans-serif;box-sizing:border-box}
.consent-banner *,.consent-overlay *{box-sizing:border-box}
.consent-banner{position:fixed;z-index:10000;left:50%;transform:translateX(-50%);bottom:18px;width:min(1050px,calc(100% - 28px));display:flex;gap:20px;align-items:center;justify-content:space-between;background:#fff;color:#0d1d35;border:1px solid #cdd7e2;border-radius:18px;box-shadow:0 12px 52px #0713233b;padding:18px 20px}
.consent-banner[hidden],.consent-overlay[hidden]{display:none!important}
.consent-banner-copy{flex:1;min-width:0}
.consent-banner h2{font-size:17px;line-height:1.3;font-weight:700;margin:0 0 6px;color:#0d1d35}
.consent-banner p{font-size:13px;line-height:1.5;color:#364354;margin:0}
.consent-banner a{color:#084e91;text-decoration:underline}
.consent-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}
.consent-actions button,.consent-dialog-actions button{min-height:42px;padding:8px 14px;border-radius:9px;cursor:pointer;font:700 13px/1.25 Ubuntu,Arial,sans-serif}
.consent-actions button[data-consent="reject"],.consent-actions button[data-consent="settings"],.consent-dialog-actions button[data-modal-consent="reject"]{color:#0d1d35;background:#fff;border:1px solid #6f8092}
.consent-actions button[data-consent="accept"],.consent-dialog-actions button[data-modal-consent="save"]{background:#0d1d35;color:#fff;border:1px solid #0d1d35}
.consent-actions button:hover,.consent-dialog-actions button:hover{filter:brightness(.95)}
.consent-banner button:focus-visible,.consent-overlay button:focus-visible,.consent-overlay input:focus-visible{outline:3px solid #245cb4;outline-offset:3px}
.consent-overlay{position:fixed;z-index:10020;inset:0;display:grid;place-items:center;background:#0d1d3585;padding:16px}
.consent-dialog{width:min(560px,100%);max-height:min(90vh,750px);overflow:auto;border-radius:20px;background:#fff;color:#0d1d35;padding:24px;box-shadow:0 25px 70px #08152b68}
.consent-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.consent-dialog h2{font-size:23px;line-height:1.2;color:#0d1d35}
.consent-dialog-head button{display:grid;place-items:center;font-size:26px;min-width:44px;min-height:44px;border:0;background:#f0f3f8;color:#0d1d35;border-radius:9px;cursor:pointer}
.consent-dialog>p{font-size:14px;line-height:1.6;color:#364354;margin:10px 0 16px}
.consent-category{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:16px 0;border-top:1px solid #dde3ea}
.consent-category div{display:flex;flex-direction:column;gap:6px}
.consent-category strong{font-size:15px}
.consent-category span{font-size:13px;color:#364354;line-height:1.4}
.consent-category input{width:21px;height:21px;flex:none;accent-color:#0d1d35}
.consent-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;border-top:1px solid #dde3ea;padding-top:18px;margin-top:6px}
.consent-modal-active{overflow:hidden}
@media(max-width:800px){.consent-banner{flex-direction:column;align-items:stretch;gap:12px;padding:16px;bottom:10px}.consent-actions{display:grid;grid-template-columns:1fr 1fr}.consent-actions button[data-consent="settings"]{grid-column:1 / -1;grid-row:2}.consent-actions button{width:100%}}
@media(max-width:420px){.consent-actions button,.consent-dialog-actions button{font-size:12px;padding:8px 7px}.consent-dialog{padding:18px}}


/* Versão compacta do aviso; mantidas escolhas e foco acessível. */
.consent-banner{
 width:min(760px,calc(100% - 24px));bottom:12px;
 padding:11px 14px;gap:14px;border-radius:14px;
 box-shadow:0 8px 28px #07132330;
}
.consent-banner h2{font-size:14px;line-height:1.25;margin-bottom:3px}
.consent-banner p{font-size:12px;line-height:1.35}
.consent-actions{gap:6px}
.consent-actions button{min-height:38px;padding:8px 11px;border-radius:8px;font-size:12px;white-space:nowrap}
@media(max-width:800px){
 .consent-banner{gap:10px;padding:12px 13px;bottom:8px}
 .consent-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .consent-actions button{min-width:0;width:100%;min-height:40px;padding:7px 5px;font-size:12px}
 .consent-actions button[data-consent="settings"]{grid-column:auto;grid-row:auto}
}
@media(max-width:360px){
 .consent-banner{padding:10px}
 .consent-actions button{font-size:11px;padding:7px 3px}
}
