:root{--navy:#102e48;--ink:#172f42;--muted:#607585;--blue:#216a9a;--line:#dfe7ec;--bg:#f2f5f7;--orange:#eb783e;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
/* O foco dos municípios acompanha o contorno geográfico, nunca a caixa do SVG. */
#map-mount svg .mun:focus,
#map-mount svg a:focus { outline: none !important; }
#map-mount svg a:focus-visible .mun { stroke: #153b56 !important; stroke-width: 1.5px !important; }
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit;border:0;background:none}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #e77535;outline-offset:3px}button:disabled{opacity:.4;cursor:not-allowed}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;top:-80px;left:16px;padding:12px;background:white;z-index:99}.skip:focus{top:12px}
.site-header{height:88px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(32px,calc((100vw - 1440px)/2));border-bottom:3px solid var(--orange);gap:24px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none}.brand img{object-fit:contain}.brand strong{font-size:17px;letter-spacing:1px}.brand b{color:#ffab75}.brand small{display:block;font-size:9px;letter-spacing:1.5px;color:#b9cedc;margin-top:6px}.header-label{font-size:10px;letter-spacing:2px;color:#b6cad8}.header-link{text-decoration:none;font-size:12px;color:#d9e6ee;white-space:nowrap}.header-link span{margin-left:12px;color:#ffab75;font-size:18px}
main{max-width:1440px;margin:auto;padding:0 32px}.intro{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:36px 0 30px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;margin:0 0 10px;color:var(--muted);line-height:1.5}.intro .eyebrow{display:flex;align-items:center;gap:8px}.intro .eyebrow span{width:18px;height:2px;background:var(--orange)}h1{font-size:clamp(27px,2.55vw,39px);letter-spacing:-1.4px;margin:0;font-weight:650;line-height:1.18}h1 span{font-weight:350;color:#647f91}.intro-copy{color:var(--muted);font-size:13px;margin:12px 0 0;line-height:1.6}.metrics{display:flex;gap:30px}.metrics>div{border-left:1px solid #cedbe4;padding-left:24px}.metrics strong{font-size:30px;font-weight:550;display:block;font-variant-numeric:tabular-nums}.metrics span{display:block;font-size:10px;color:var(--muted);margin-top:6px;white-space:nowrap}
.workspace{background:#fff;border:1px solid #d6e1e9;border-radius:14px;box-shadow:0 7px 30px #153a5510;overflow:clip;scroll-margin-top:16px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;border-bottom:1px solid var(--line)}.layer-switch{display:flex;padding:4px;background:#edf2f6;border:1px solid #e4ebf0;border-radius:9px;gap:3px}.layer-switch button{padding:11px 15px;font-size:12px;font-weight:600;border-radius:6px;white-space:nowrap}.layer-switch button[aria-pressed=true]{background:var(--navy);color:white;box-shadow:0 2px 5px #102e4820}.layer-switch button:hover:not([aria-pressed=true]){background:#e0e8ee}.layer-number{font-size:9px;opacity:.55;margin-right:7px;font-variant-numeric:tabular-nums}.search-wrap{position:relative;width:340px;max-width:100%;flex-shrink:1}.search-wrap input{width:100%;border:1px solid var(--line);border-radius:8px;height:43px;background:#fafcfd;padding:0 35px 0 36px;font-size:12px;color:var(--ink)}.search-icon{position:absolute;left:12px;top:4px;font-size:26px;color:#78909f}.search-wrap kbd{position:absolute;right:13px;top:12px;color:#8898a3;border:1px solid #dce4e9;border-radius:3px;padding:0 4px;font-size:11px}.search-wrap:focus-within kbd{display:none}.search-results{position:absolute;top:51px;left:0;right:0;z-index:20;max-height:350px;overflow:auto;background:white;border:1px solid var(--line);border-radius:9px;box-shadow:0 12px 35px #14324828;padding:6px}.search-result{display:flex;justify-content:space-between;gap:10px;width:100%;text-align:left;padding:12px;border-radius:5px;font-size:12px}.search-result small{display:block;color:var(--muted);margin-top:3px;font-size:10px}.search-result:hover,.search-result:focus{background:#eef5fa}.search-empty{padding:10px;font-size:12px;line-height:1.6;color:var(--muted)}
.explorer-body{display:grid;grid-template-columns:minmax(0,1fr) 320px}.map-stage{position:relative;min-height:650px;height:calc(100vh - 340px);max-height:860px;background-color:#f6f9fb;background-image:radial-gradient(#b6c8d355 .8px,transparent .8px);background-size:18px 18px;overflow:hidden}.map-heading{position:absolute;top:25px;left:28px;pointer-events:none;z-index:2}.map-heading .eyebrow{font-size:9px;margin-bottom:5px}.map-heading h2{font-size:19px;letter-spacing:-.5px;font-weight:600;margin:0}.map-heading p:last-child{font-size:11px;color:var(--muted);margin:7px 0}.north{position:absolute;right:28px;top:28px;display:grid;justify-items:center;gap:7px;z-index:2;pointer-events:none}.north span{font-size:10px;letter-spacing:1px}.north i{width:12px;height:25px;background:linear-gradient(90deg,#365b74 50%,#b3c5d2 50%);clip-path:polygon(50% 0,100% 100%,50% 77%,0 100%)}#map-mount{position:absolute;inset:95px 35px 65px;touch-action:none;cursor:grab}#map-mount.dragging{cursor:grabbing}#map-mount svg{width:100%;height:100%;overflow:visible;display:block}#map-mount .mun{transition:fill .18s,opacity .18s;cursor:pointer;vector-effect:non-scaling-stroke;stroke:#fff!important;stroke-width:.65px!important}#map-mount .mun:hover,#map-mount .mun:focus-visible{filter:brightness(.9);stroke:#153b56!important;stroke-width:1.5px!important;outline:none}#map-mount .mun.selected{stroke:#102e48!important;stroke-width:2.5px!important;filter:brightness(.93)}.map-bottom{position:absolute;bottom:33px;left:28px;right:25px;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none}.map-bottom>span{font-size:10px;color:#6b8292;background:#f6f9fbee;padding:7px;border-radius:5px}.map-controls{pointer-events:auto;display:flex;align-items:center;gap:2px;padding:4px;background:white;border:1px solid #d6e1e8;box-shadow:0 3px 9px #153a5510;border-radius:8px}.map-controls button{width:31px;height:31px;font-size:21px;border-radius:4px}.map-controls button:hover{background:#eaf1f5}.map-controls output{font-size:10px;width:39px;text-align:center;font-variant-numeric:tabular-nums}.map-controls>span{height:20px;border-left:1px solid var(--line);margin:0 3px}.map-hint{position:absolute;bottom:13px;left:35px;font-size:9px;color:#7c91a0;pointer-events:none}.map-hint span{padding:0 6px}.map-tooltip{position:absolute;background:var(--navy);color:white;box-shadow:0 5px 18px #12334824;padding:12px 15px;border-radius:7px;pointer-events:none;z-index:10;max-width:240px;font-size:12px}.map-tooltip small{display:block;margin-top:4px;font-size:10px;color:#c8dae5}#loading{position:absolute;inset:120px 30px 80px;display:grid;place-content:center;text-align:center;font-size:14px;color:var(--muted);padding:30px}
.sidebar{border-left:1px solid var(--line);padding:25px 22px 18px;max-height:860px;height:calc(100vh - 340px);min-height:650px;overflow:auto;scrollbar-width:thin;scrollbar-color:#ccd9e2 transparent}.side-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.side-heading .eyebrow{font-size:9px;margin-bottom:6px}.side-heading h2{font-size:20px;font-weight:600;letter-spacing:-.5px;margin:0}.count{background:#ecf2f6;border:1px solid #e1e9ef;color:#527186;border-radius:7px;min-width:30px;height:30px;display:grid;place-content:center;font-size:12px}.legend{display:grid;gap:5px}.legend-row{display:grid;grid-template-columns:11px 1fr auto 9px;align-items:center;gap:12px;text-align:left;padding:11px 10px;border:1px solid transparent;border-radius:7px;font-size:12px;min-height:39px}.legend-row:hover,.legend-row:focus-visible{background:#f2f6f9;border-color:#e0e8ee}.swatch{width:10px;height:10px;border-radius:3px;background:var(--region-color)}.legend-row small{font-size:10px;color:#617b8d;font-variant-numeric:tabular-nums}.chevron{color:#9aadb9;font-size:16px}.side-tip{margin-top:22px;border-top:1px solid var(--line);padding-top:20px;display:flex;gap:12px;color:var(--muted)}.side-tip>span{font-size:27px;color:#698ba2}.side-tip strong{color:#456276;font-size:12px;font-weight:600}.side-tip p{font-size:11px;line-height:1.7;margin:6px 0 0}.back-button{font-size:11px;color:#5e7b90;margin:0 0 18px;padding:0;min-height:30px}.back-button:hover{text-decoration:underline}.detail-tag{font-size:9px;font-weight:700;letter-spacing:1.4px;color:var(--muted);margin-bottom:7px}.detail h3{font-size:26px;letter-spacing:-.8px;margin:0 0 6px;line-height:1.15}.ibge-label{font-size:11px;color:var(--muted);margin:10px 0 17px}.members-count{font-size:12px;color:var(--muted);margin:10px 0 20px}.associations{display:grid;gap:7px;margin:18px 0}.association{border:1px solid var(--line);border-radius:7px;display:flex;justify-content:space-between;align-items:center;padding:12px;font-size:11px;text-align:left;gap:10px}.association small{display:block;font-size:9px;color:var(--muted);margin-bottom:4px}.association:hover{background:#f4f8fa}.contact{background:#eef4f8;border-radius:8px;padding:15px;margin:16px 0}.contact h4{margin:0 0 8px;font-size:11px}.contact p{font-size:11px;line-height:1.7;margin:0;color:#4e697c}.contact a{display:inline-block;margin-top:10px;font-size:12px;color:#1d638e;font-weight:600;text-underline-offset:3px}.members-title{font-size:11px;font-weight:600;margin:20px 0 10px}.member-filter{width:100%;padding:9px 11px;border:1px solid var(--line);border-radius:6px;font-size:11px;margin-bottom:8px}.members{display:grid;gap:2px;max-height:300px;overflow:auto;scrollbar-width:thin}.member{display:flex;justify-content:space-between;align-items:center;text-align:left;padding:9px 6px;font-size:11px;border-bottom:1px solid #edf2f5;gap:8px}.member:hover{background:#f1f6fa}.member small{font-size:9px;color:#617b8d}.workspace-footer{padding:13px 22px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:14px;font-size:9px;letter-spacing:.3px;color:#647e90}.workspace-footer>span:first-child{display:flex;align-items:center;gap:8px}.workspace-footer i{width:9px;height:9px;border:2px solid #7290a4;border-radius:2px}.reading-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;padding:27px 5px 30px}.reading-guide>div+div{padding-left:25px;border-left:1px solid var(--line)}.reading-guide span{font-size:8px;letter-spacing:1.3px;font-weight:650;color:#607c8f}.reading-guide h3{font-size:13px;font-weight:650;margin:8px 0 5px}.reading-guide p{color:var(--muted);font-size:11px;margin:0;line-height:1.6}.site-footer{max-width:1376px;margin:0 auto;padding:20px 0;border-top:1px solid #dbe4eb;display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#627e90}.site-footer b{padding:0 9px;color:#c6d3dc}.site-footer strong{font-weight:550;color:#506b7e}
@media(min-width:1600px){.map-stage,.sidebar{height:710px}}@media(max-width:1100px){.metrics{gap:18px}.metrics>div{padding-left:16px}.metrics strong{font-size:25px}.header-label{display:none}.explorer-body{grid-template-columns:minmax(0,1fr) 280px}.sidebar{padding:22px 17px}.toolbar{gap:12px;padding:14px}.layer-switch button{padding:11px 10px;font-size:11px}.search-wrap{width:300px}.layer-number{display:none}.map-stage,.sidebar{min-height:620px}.site-footer{margin:0 32px}.intro{padding:28px 0}.metrics>div:last-child{display:none}}
@media(max-width:760px){.site-header{height:76px;padding:0 18px;gap:15px}.brand img{width:38px;height:38px}.brand strong{font-size:14px}.brand small{font-size:7px;letter-spacing:1px}.header-link{font-size:10px}.header-link span{margin-left:3px}main{padding:0 14px}.intro{padding:25px 4px 23px;display:block}h1{font-size:29px;letter-spacing:-1px}h1 span{display:block}.intro-copy{font-size:12px;max-width:320px}.metrics{display:none}.toolbar{flex-direction:column;align-items:stretch;padding:12px;gap:12px}.layer-switch{justify-content:space-between}.layer-switch button{flex:1;padding:11px 8px;font-size:11px}.search-wrap{width:100%}.search-wrap input{font-size:12px}.explorer-body{grid-template-columns:1fr}.map-stage{height:520px;min-height:0}.map-heading{top:20px;left:20px}.map-heading h2{font-size:17px}.north{right:20px;top:23px}#map-mount{inset:90px 20px 70px}.map-bottom{left:16px;right:16px;bottom:36px}.map-hint{left:23px;font-size:8px}.sidebar{height:auto;max-height:none;min-height:0;border-left:0;border-top:1px solid var(--line);padding:22px 20px}.legend{grid-template-columns:1fr 1fr;gap:4px 12px}.legend-row{gap:7px;padding:10px 6px;font-size:11px;grid-template-columns:9px 1fr auto}.legend-row .chevron{display:none}.side-tip{margin-top:15px;padding-top:15px}.workspace-footer>span:last-child{display:none}.reading-guide{gap:18px;padding:25px 5px;grid-template-columns:1fr}.reading-guide>div+div{padding:0;border:0}.reading-guide span{font-size:8px}.reading-guide h3{margin-top:5px}.site-footer{margin:0 18px;flex-direction:column;font-size:9px;line-height:1.7;padding:17px 0;gap:6px}.map-tooltip{max-width:190px}.detail h3{font-size:24px}.members{max-height:320px}.search-results{max-height:280px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Leitura confortável dos detalhes e cabeçalho em telas estreitas. */
.legend-row{font-size:13px}.legend-row small,.member small{font-size:11px}.side-tip p,.contact p,.member,.association{font-size:12px}.member-filter{font-size:12px}.members-title{display:block;font-size:12px}.search-result{font-size:13px}.search-result small{font-size:11px}.reading-guide p{font-size:12px}
@media(max-width:420px){.brand{gap:8px}.brand small{font-size:6px;letter-spacing:.65px}.brand strong{font-size:12px}.header-link{font-size:9px}.site-header{padding:0 12px;gap:8px}.legend-row{font-size:12px}.legend-row small{font-size:10px}}

/* Retorno explícito ao estado inicial, sempre disponível junto ao zoom. */
.map-controls #reset-map{width:31px;padding:0;font-size:21px;display:grid;place-items:center}.map-controls #reset-map span{font-size:21px;margin:0}.map-bottom{flex-wrap:wrap}.map-controls{margin-left:auto}
