/* DIÁLOGO CIDADÃO · Privacidade / consentimento · v1.3
   CSS isolado: preserva menus, modais, popups e acessos rápidos da v1.2. */
.dc-cmp{--cmp-bg:rgba(250,249,246,.97);--cmp-card:rgba(255,255,255,.7);--cmp-edge:rgba(31,31,31,.13);--cmp-muted:#62625b;color:var(--ink);font-family:var(--sans);line-height:1.6;text-align:left;letter-spacing:0}
[data-theme=dark] .dc-cmp{--cmp-bg:rgba(29,31,28,.98);--cmp-card:rgba(255,255,255,.035);--cmp-edge:rgba(255,255,255,.15);--cmp-muted:#b6b8af}
.dc-cmp *, .dc-cmp *::before,.dc-cmp *::after{box-sizing:border-box}.dc-cmp [hidden]{display:none!important}
.dc-cmp button{font-family:var(--sans);letter-spacing:0}.dc-cmp button:focus-visible,.dc-cmp a:focus-visible,.dc-cmp summary:focus-visible{outline:3px solid var(--coral-ink);outline-offset:4px}
.dc-cmp .icon{width:19px;height:19px;flex-shrink:0}.dc-cmp .dc-cmp-eyebrow{font-size:9px;font-weight:600;letter-spacing:1.7px;text-transform:uppercase;color:var(--cmp-muted)}
.dc-cmp .dc-cmp-mark{width:28px;height:34px;object-fit:contain;flex-shrink:0}.dc-cmp .dc-cmp-brand{display:flex;align-items:center;gap:11px}
.dc-cmp .dc-cmp-brand strong{display:block;font:600 12px/1.4 var(--sans)}.dc-cmp .dc-cmp-brand small{display:block;font:400 10px/1.4 var(--sans);color:var(--cmp-muted);margin-top:2px}
.dc-cmp .dc-cmp-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border:1px solid var(--cmp-edge);border-radius:50%;background:var(--cmp-card);color:var(--ink);padding:0;transition:background .2s,transform .2s}
.dc-cmp .dc-cmp-close .icon{width:14px;height:14px}.dc-cmp .dc-cmp-close:hover{background:var(--paper-alt);transform:rotate(6deg)}
.dc-cmp .dc-cmp-button{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:44px;border-radius:8px;border:1px solid var(--cmp-edge);padding:11px 14px;font-size:12px;font-weight:600;line-height:1.4;text-align:center;transition:transform .2s,background .2s,border-color .2s;white-space:normal;background:var(--cmp-card);color:var(--ink);cursor:pointer}
.dc-cmp .dc-cmp-button:hover{background:var(--paper-alt);border-color:var(--ink);transform:translateY(-1px)}
/* Aceitar e rejeitar recebem a MESMA hierarquia visual, no primeiro nível. */
.dc-cmp .dc-cmp-button--choice{background:var(--ink);color:var(--paper);border-color:var(--ink)}.dc-cmp .dc-cmp-button--choice:hover{background:var(--ink);color:var(--paper);box-shadow:0 3px 12px rgba(0,0,0,.12)}
.dc-cmp .dc-cmp-button--save{background:var(--coral);color:#1f1f1f;border-color:var(--coral);font-size:13px}.dc-cmp .dc-cmp-button--save:hover{background:#ff7b69;border-color:#ff7b69}
.dc-cmp .dc-cmp-text-button{font-size:11px;font-weight:500;text-decoration:underline;text-underline-offset:3px;min-height:32px;padding:4px 0;color:var(--ink);background:none;border:0;text-align:left}
.dc-cmp .dc-cmp-copy{font:400 12px/1.8 var(--sans);color:var(--cmp-muted);margin:0}
.dc-cmp .dc-cmp-subtle{font:400 10px/1.7 var(--sans);color:var(--cmp-muted);margin:0}
.dc-cmp-banner{position:fixed;z-index:900;bottom:24px;left:24px;width:462px;max-width:calc(100% - 48px);max-height:calc(100dvh - 48px);overflow:auto;border:1px solid rgba(255,255,255,.7);border-radius:19px;padding:24px;background:var(--cmp-bg);backdrop-filter:blur(26px) saturate(120%);-webkit-backdrop-filter:blur(26px) saturate(120%);box-shadow:0 22px 85px rgba(21,30,27,.23),inset 0 2px 0 rgba(255,107,87,.75);animation:dcCmpIn .4s var(--ease) both;isolation:isolate}
.dc-cmp-banner::before{content:'';position:absolute;right:-75px;top:-105px;width:270px;height:210px;background:radial-gradient(ellipse,rgba(255,107,87,.13),transparent 69%);z-index:-1;pointer-events:none}
[data-theme=dark] .dc-cmp-banner{border-color:rgba(255,255,255,.14);box-shadow:0 22px 85px rgba(0,0,0,.4),inset 0 2px 0 rgba(255,107,87,.75)}
.dc-cmp-banner-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:21px}
.dc-cmp-banner h2{font:500 30px/1.08 var(--serif);letter-spacing:-.8px;margin:0 0 14px;max-width:330px}
.dc-cmp-banner h2 em{font-weight:400;color:var(--coral-ink)}
.dc-cmp-banner .dc-cmp-state{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--cmp-muted);margin:16px 0 18px}.dc-cmp-state i{width:5px;height:5px;border-radius:50%;background:var(--coral);box-shadow:0 0 0 4px rgba(255,107,87,.1)}
.dc-cmp-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.dc-cmp-banner .dc-cmp-preferences{width:100%;margin-top:9px;min-height:43px;background:transparent}
.dc-cmp-banner-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:13px;padding-top:10px;border-top:1px solid var(--cmp-edge)}.dc-cmp-banner-foot .dc-cmp-text-button{font-size:10px}.dc-cmp-banner-foot .icon{width:12px;height:12px;margin-right:5px;vertical-align:middle}
.dc-cmp-launcher{position:fixed;left:22px;bottom:22px;z-index:130;width:46px;height:46px;display:flex;justify-content:center;align-items:center;border-radius:50%;padding:0;border:1px solid var(--line);background:var(--glass-strong);color:var(--ink);backdrop-filter:blur(20px);box-shadow:0 7px 28px rgba(0,0,0,.12);cursor:pointer;transition:transform .2s}
.dc-cmp-launcher .icon{width:21px;height:21px;color:var(--coral-ink)}.dc-cmp-launcher:hover{transform:translateY(-3px)}
.dc-cmp-launcher::after{content:'Gerenciar cookies';position:absolute;left:0;bottom:57px;white-space:nowrap;background:var(--ink);color:var(--paper);padding:7px 11px;border-radius:6px;font:500 10px/1.4 var(--sans);opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity .2s,transform .2s}.dc-cmp-launcher:hover::after,.dc-cmp-launcher:focus-visible::after{opacity:1;transform:translateY(0)}
#dcDemoDock{left:80px}html[data-privacy-ui=banner] #dcDemoDock,html[data-privacy-ui=banner] #dcCookiesLaunch,html[data-privacy-ui=banner] .back-top,html[data-privacy-ui=panel] #dcDemoDock{visibility:hidden;pointer-events:none}
/* Drawer de preferências: diálogo nativo, conteúdo rolável, ações sempre acessíveis. */
body.dc-cmp-lock{overflow:hidden}#dcConsentDialog{position:fixed;inset:16px 16px 16px auto;margin:0;width:520px;max-width:calc(100vw - 32px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid rgba(255,255,255,.65);border-radius:20px;background:var(--cmp-bg);color:var(--ink);overflow:hidden;box-shadow:0 30px 100px rgba(0,0,0,.26);backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}
#dcConsentDialog[open]{display:flex;flex-direction:column;animation:dcCmpDrawerIn .32s var(--ease) both}#dcConsentDialog::backdrop{background:rgba(15,22,20,.36);backdrop-filter:blur(7px) saturate(.78);-webkit-backdrop-filter:blur(7px) saturate(.78);animation:dcCmpBackdropIn .25s ease both}
[data-theme=dark] #dcConsentDialog{border-color:rgba(255,255,255,.16)}
.dc-cmp-panel-head{padding:23px 27px 0;flex-shrink:0;background:linear-gradient(145deg,rgba(255,107,87,.075),transparent 60%)}
.dc-cmp-panel-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}
.dc-cmp-panel-head h2{font:500 33px/1.08 var(--serif);letter-spacing:-1px;margin:0 0 11px}.dc-cmp-panel-head>.dc-cmp-copy{font-size:12px;line-height:1.7;max-width:450px}
.dc-cmp-tabs{display:grid;grid-template-columns:repeat(3,1fr);margin-top:19px;border-bottom:1px solid var(--cmp-edge)}
.dc-cmp-tab{position:relative;padding:13px 8px;min-height:45px;border:0;background:none;text-align:center;font-size:12px;font-weight:500;color:var(--cmp-muted)}
.dc-cmp-tab[aria-selected=true]{color:var(--ink);font-weight:600}.dc-cmp-tab[aria-selected=true]::after{content:'';position:absolute;bottom:-1px;left:8px;right:8px;height:3px;border-radius:3px;background:var(--coral)}
.dc-cmp-body{flex:1;overflow:auto;min-height:0;padding:20px 27px 25px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent;scroll-padding:15px}
.dc-cmp-selection{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--cmp-muted);padding-bottom:14px}.dc-cmp-selection .icon{width:16px;height:16px;color:var(--coral-ink)}
.dc-cmp-category{background:var(--cmp-card);border:1px solid var(--cmp-edge);border-radius:11px;padding:16px 17px;margin-bottom:10px}
.dc-cmp-category-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.dc-cmp-category h3{font:600 13px/1.45 var(--sans);letter-spacing:0;margin:0}.dc-cmp-category .dc-cmp-copy{font-size:11px;line-height:1.75;margin:8px 0 0;max-width:370px}
.dc-cmp-tag{font-size:9px;font-weight:600;color:var(--coral-ink);padding:3px 6px;border-radius:4px;background:rgba(255,107,87,.09);white-space:nowrap}.dc-cmp-tag--off{color:var(--cmp-muted);background:var(--paper-alt);font-weight:400}
.dc-cmp-category-state{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--cmp-muted);margin-top:9px}.dc-cmp-category-state .icon{width:12px;height:12px}
.dc-cmp-switch{height:30px;min-width:50px;width:50px;border:1px solid var(--cmp-edge);border-radius:30px;background:#d5d5d0;position:relative;flex-shrink:0;cursor:pointer;padding:0;transition:background .2s}
.dc-cmp-switch::after{content:'';position:absolute;height:22px;width:22px;background:#fff;left:3px;top:3px;border-radius:50%;box-shadow:0 1px 4px rgba(0,0,0,.22);transition:transform .2s}
.dc-cmp-switch[aria-checked=true]{background:var(--coral);border-color:var(--coral)}.dc-cmp-switch[aria-checked=true]::after{transform:translateX(20px);background:#1f1f1f}.dc-cmp-switch[disabled]{cursor:not-allowed;opacity:.62}
[data-theme=dark] .dc-cmp-switch{background:#55584f}.dc-cmp-switch[aria-checked=true]::before{content:'✓';position:absolute;left:7px;top:3px;font:600 14px/22px Arial;color:#1f1f1f}
.dc-cmp-category details{margin-top:10px}.dc-cmp-category summary{font-size:10px;font-weight:500;color:var(--cmp-muted);cursor:pointer;min-height:25px;line-height:25px}
.dc-cmp-category details p{margin:8px 0 0;font-size:10px;line-height:1.8;color:var(--cmp-muted);border-top:1px solid var(--cmp-edge);padding-top:10px;overflow-wrap:anywhere}
.dc-cmp-panel-foot{flex-shrink:0;border-top:1px solid var(--cmp-edge);padding:16px 27px 17px;background:var(--cmp-bg);box-shadow:0 -10px 30px rgba(0,0,0,.02)}
.dc-cmp-panel-foot .dc-cmp-choices{margin-bottom:9px}.dc-cmp-panel-foot .dc-cmp-button{font-size:11px;min-height:42px}.dc-cmp-panel-foot .dc-cmp-button--save{width:100%;font-size:12px;min-height:45px}
.dc-cmp-panel-foot .dc-cmp-subtle{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:10px;font-size:9px}.dc-cmp-panel-foot .dc-cmp-subtle .icon{width:12px;height:12px}
.dc-cmp-info-box{background:rgba(255,107,87,.055);border:1px solid var(--cmp-edge);border-left:3px solid var(--coral);padding:13px 15px;border-radius:7px;margin:0 0 17px;color:var(--cmp-muted);font-size:11px;line-height:1.8}
.dc-cmp-info-box strong{color:var(--ink);font-weight:600}.dc-cmp-info-box>.icon{float:left;margin:4px 9px 0 0;width:16px;height:16px}
.dc-cmp-inventory{border:1px solid var(--cmp-edge);background:var(--cmp-card);border-radius:10px;padding:16px;margin-bottom:12px}.dc-cmp-inventory h3{font:600 13px/1.5 var(--sans);letter-spacing:0;margin:0 0 10px}.dc-cmp-inventory dl{margin:0}.dc-cmp-inventory dl>div{display:grid;grid-template-columns:90px 1fr;gap:10px;margin-top:7px;font-size:10px;line-height:1.6}.dc-cmp-inventory dt{color:var(--cmp-muted)}.dc-cmp-inventory dd{margin:0;overflow-wrap:anywhere}.dc-cmp-inventory code{font-size:10px;font-family:monospace;color:var(--ink);background:var(--paper-alt);padding:1px 3px;border-radius:3px;overflow-wrap:anywhere}
.dc-cmp-policy h3{font:500 24px/1.2 var(--serif);letter-spacing:-.6px;margin:19px 0 10px}.dc-cmp-policy h3:first-child{margin-top:0}.dc-cmp-policy p{font-size:11px;line-height:1.9;color:var(--cmp-muted);margin:0 0 13px}.dc-cmp-policy .dc-cmp-button{width:100%;margin-top:7px}.dc-cmp-policy strong{font-weight:600;color:var(--ink)}
.dc-cmp-record{border:1px dashed var(--cmp-edge);border-radius:9px;padding:15px;margin-top:19px}.dc-cmp-record strong{font-size:12px;display:block;margin-bottom:7px}.dc-cmp-record p{font-size:10px;line-height:1.8;margin:0;color:var(--cmp-muted)}
.dc-cmp-notice{position:fixed;z-index:1100;bottom:24px;right:24px;max-width:min(440px,calc(100vw - 48px));border:1px solid var(--line);background:var(--glass-strong);color:var(--ink);border-radius:11px;padding:15px 18px;box-shadow:var(--shadow);backdrop-filter:blur(20px);font:500 12px/1.6 var(--sans);display:flex;align-items:flex-start;gap:10px;animation:dcCmpIn .25s ease both}.dc-cmp-notice .icon{width:18px;height:18px;margin-top:1px;color:var(--coral-ink);flex-shrink:0}
@keyframes dcCmpIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@keyframes dcCmpDrawerIn{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:translateX(0)}}@keyframes dcCmpBackdropIn{from{opacity:0}to{opacity:1}}
@media(max-width:600px){
 .dc-cmp-banner{left:12px;bottom:12px;width:calc(100% - 24px);max-width:none;max-height:calc(100dvh - 24px);padding:21px 20px 16px;border-radius:16px}
 .dc-cmp-banner-head{margin-bottom:16px}.dc-cmp-banner h2{font-size:29px;max-width:310px;margin-bottom:12px}.dc-cmp-banner .dc-cmp-copy{font-size:12px;line-height:1.7}.dc-cmp-banner .dc-cmp-state{font-size:9px;margin:14px 0 17px;gap:7px}.dc-cmp-banner .dc-cmp-button{font-size:11px;padding:11px 8px}.dc-cmp-banner-foot{margin-top:11px;padding-top:7px}.dc-cmp-banner-foot .dc-cmp-subtle{font-size:9px}
 #dcConsentDialog{inset:0;margin:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;border:0;animation:dcCmpIn .25s ease both}
 .dc-cmp-panel-head{padding:calc(17px + env(safe-area-inset-top,0px)) 20px 0}.dc-cmp-panel-top{margin-bottom:18px}.dc-cmp-panel-head h2{font-size:30px}.dc-cmp-panel-head>.dc-cmp-copy{font-size:11px}.dc-cmp-tabs{margin-top:15px}.dc-cmp-tab{font-size:11px;min-height:42px}
 .dc-cmp-body{padding:16px 20px 20px}.dc-cmp-category{padding:14px;margin-bottom:9px}.dc-cmp-category h3{font-size:12px}.dc-cmp-category .dc-cmp-copy{font-size:10px;line-height:1.8}.dc-cmp-tag{font-size:8px}.dc-cmp-category-top{gap:9px}.dc-cmp-selection{font-size:10px;padding-bottom:12px}
 .dc-cmp-panel-foot{padding:13px 20px calc(13px + env(safe-area-inset-bottom,0px))}.dc-cmp-panel-foot .dc-cmp-button{min-height:44px;font-size:10px}.dc-cmp-panel-foot .dc-cmp-button--save{font-size:12px}.dc-cmp-panel-foot .dc-cmp-subtle{font-size:8px;margin-top:8px}
 .dc-cmp-launcher{left:13px;bottom:14px;width:42px;height:42px}#dcDemoDock{left:64px}.dc-cmp-notice{left:13px;right:13px;bottom:69px;max-width:none;font-size:11px;padding:13px 15px}
 .dc-cmp-inventory dl>div{grid-template-columns:76px 1fr;gap:7px}
}
@media(max-width:350px){.dc-cmp-banner{padding:17px}.dc-cmp-banner h2{font-size:27px}.dc-cmp-banner-foot .dc-cmp-subtle{display:none}.dc-cmp-panel-head{padding-inline:16px}.dc-cmp-body{padding-inline:16px}.dc-cmp-panel-foot{padding-inline:16px}.dc-cmp-panel-head h2{font-size:28px}.dc-cmp-tag{font-size:7px}.dc-cmp-inventory dl>div{grid-template-columns:66px 1fr}}
@media(max-height:600px){.dc-cmp-panel-top{margin-bottom:10px}.dc-cmp-panel-head h2{font-size:26px;margin-bottom:6px}.dc-cmp-panel-head>.dc-cmp-copy{display:none}.dc-cmp-tabs{margin-top:10px}.dc-cmp-panel-foot{padding-top:10px}.dc-cmp-panel-foot .dc-cmp-subtle{display:none}}
@media(prefers-reduced-motion:reduce){.dc-cmp,.dc-cmp *,#dcConsentDialog[open],#dcConsentDialog::backdrop,.dc-cmp-notice{animation:none!important;transition:none!important}}
[data-motion=reduced] .dc-cmp,[data-motion=reduced] .dc-cmp *,[data-motion=reduced] #dcConsentDialog[open],[data-motion=reduced] #dcConsentDialog::backdrop,[data-motion=reduced] .dc-cmp-notice{animation:none!important;transition:none!important}
@media print{.dc-cmp,.dc-cmp-notice{display:none!important}}
