:root{
  --forest:#0c2f1d; --forest-2:#17492e; --leaf:#76ad8b; --mint:#e4f1e8; --sun:#ffc83d;
  --ink:#14221a; --muted:#3f5247; --paper:#fff; --bg:#eef5ef;
  --display:"Baloo 2",ui-rounded,system-ui,sans-serif;
  --body:"Atkinson Hyperlegible",system-ui,"Segoe UI",Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:400 1.2rem/1.55 var(--body);-webkit-text-size-adjust:100%}
:focus-visible{outline:4px solid var(--sun);outline-offset:3px;box-shadow:0 0 0 9px #000!important}
main:focus,.leaflet-popup:focus{outline:none;box-shadow:none!important}
.mat summary:focus-visible{outline:3px solid transparent;outline-offset:-3px;box-shadow:inset 0 0 0 4px #000,inset 0 0 0 8px #fff!important}
.sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.wrap{max-width:1120px;margin:0 auto;padding:0 1rem}

/* HERO */
.hero{position:relative;overflow:hidden;color:#fff;text-align:center;
  background:radial-gradient(90% 120% at 12% 0%,var(--forest-2),var(--forest) 62%);
  padding:2.2rem 0 9.5rem}
.hero::before,.hero::after{content:"";position:absolute;border-radius:60% 40% 60% 40%;background:rgba(118,173,139,.14)}
.hero::before{width:340px;height:340px;left:-120px;top:-90px;transform:rotate(25deg)}
.hero::after{width:280px;height:280px;right:-90px;top:40px;transform:rotate(-30deg)}
.hero .wrap{position:relative;z-index:1}
.badge{display:inline-flex;align-items:center;gap:.5rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);
  padding:.35rem 1rem .35rem .5rem;border-radius:999px;font-weight:700;font-size:1.05rem;margin:0 0 1.1rem}
.badge span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--sun);font-size:1.1rem}
.hero h1{font:800 clamp(2.4rem,9vw,4.4rem)/1 var(--display);margin:0 0 1rem;color:var(--leaf);
  text-shadow:-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff,1px 1px 0 #fff,
  -3px -3px 0 #215b37,3px -3px 0 #215b37,-3px 3px 0 #215b37,3px 3px 0 #215b37,-3px 0 0 #215b37,3px 0 0 #215b37,0 -3px 0 #215b37,0 3px 0 #215b37,
  4px 4px 0 #215b37,5px 5px 0 #215b37,6px 6px 0 #215b37,7px 7px 0 #215b37,8px 8px 12px rgba(0,0,0,.45)}
.hero h1 em{display:block;font-style:normal}
.hero p{margin:0 auto;max-width:34ch;font-size:clamp(1.15rem,4vw,1.4rem);color:#e3efe6}
.wave{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:70px;display:block}
.wave path{fill:var(--bg)}

/* MAPA em cartão sobreposto */
.stage{position:relative;z-index:2;margin-top:-7rem}
.panel{background:var(--paper);border-radius:28px;padding:.8rem;box-shadow:0 30px 60px -25px rgba(12,47,29,.65)}
.filters{display:grid;gap:.7rem;padding:.4rem .3rem .9rem}
@media(min-width:760px){.filters{grid-template-columns:1fr 1fr auto;align-items:end}}
.field .lbl{display:block;font:700 1.05rem var(--body);color:var(--forest-2);margin:0 0 .25rem .3rem}
.select,.btn-clear{font:inherit;font-size:1.15rem;width:100%;min-height:58px;padding:.6rem 1rem;border-radius:16px;border:2px solid #4d7a5e;background:var(--mint);color:var(--ink)}
.btn-clear{font-weight:700;color:var(--forest-2);cursor:pointer;background:#fff;border-color:var(--forest-2)}
.btn-clear:active{background:var(--mint)}
#map{height:max(520px,74svh);border-radius:20px;overflow:hidden;background:var(--mint)}
.foot-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.4rem 1rem;padding:.8rem .5rem .3rem;font-weight:700;color:var(--forest-2)}
.foot-row small{font:400 1.05rem var(--body);color:var(--muted)}
.help{margin:0;padding:.3rem .5rem .6rem;color:var(--muted);font-size:1.05rem}
.foot-error{margin:0;padding:.2rem .5rem;font-weight:700;color:#7a120c}
.skip-map{display:block;margin:0 .3rem .6rem;padding:.7rem 1rem;background:var(--sun);color:#000;font-weight:700;border-radius:12px;text-align:center}
.skip-map:not(:focus){position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.nojs{margin:0;padding:1rem;background:#fff;color:#000;font-weight:700}
.leaflet-container{font-family:var(--body)}
.leaflet-control-attribution{font-size:.85rem!important;background:rgba(255,255,255,.92)!important}
.leaflet-control-attribution a{color:#00507a!important}
.leaflet-bar{border:0!important;box-shadow:0 4px 14px rgba(0,0,0,.25)!important;border-radius:14px!important;overflow:hidden}
.leaflet-bar a{width:50px!important;height:50px!important;line-height:50px!important;font-size:28px!important;color:var(--forest-2)!important}
.pin{background:none;border:0}
.pin svg{width:50px;height:58px;filter:drop-shadow(0 3px 4px rgba(0,0,0,.4))}
.leaflet-popup-content-wrapper{border-radius:20px;padding:0;overflow:hidden}
.leaflet-popup-content{display:flex;flex-direction:column;max-height:min(60vh,26rem);overflow:hidden;margin:0;width:min(310px,72vw)!important;font-size:1.08rem;line-height:1.4}
.pop__head{flex:none}
.pop__body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.leaflet-popup-close-button{font-size:30px!important;width:46px!important;height:46px!important;padding:8px 0 0!important;color:#fff!important}
.pop__head{margin:0;overflow-wrap:anywhere;background:var(--forest-2);color:#fff;padding:.9rem 3rem .9rem 1rem;font:700 1.2rem/1.2 var(--display)}
.info{margin:0;padding:.7rem 1rem 0}
.info dt{font-weight:700;color:var(--forest-2);font-size:.95rem;margin-top:.5rem}
.info dd{margin:0}
.info dt:first-child{margin-top:0}
.pop__go{padding:.2rem 1rem 1rem}

/* botão rota */
.btn-route{display:flex;align-items:center;justify-content:center;gap:.55rem;min-height:58px;margin-top:.9rem;padding:.6rem 1rem;border-radius:16px;
  background:var(--sun);color:var(--forest)!important;font:700 1.25rem var(--body);text-decoration:none;box-shadow:0 4px 0 #d9a01c}
.btn-route:active{transform:translateY(3px);box-shadow:0 1px 0 #d9a01c}

/* seções */
h2{font:800 clamp(1.9rem,6vw,2.6rem)/1.1 var(--display);color:var(--forest-2);margin:3.2rem 0 .4rem}
.sub{margin:0 0 1.4rem;color:var(--muted);max-width:50ch}
.points{list-style:none;margin:0;padding:0;counter-reset:p;display:grid;gap:1.1rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.point{position:relative;background:var(--paper);border-radius:24px;padding:1.2rem 1.3rem 1.3rem;box-shadow:0 14px 30px -18px rgba(12,47,29,.5)}
.point::before{counter-increment:p;content:counter(p);position:absolute;top:-14px;left:1.1rem;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;
  background:var(--forest-2);color:#fff;font:800 1.3rem var(--display);border:3px solid var(--bg)}
.point h3{overflow-wrap:anywhere;margin:.8rem 0 .3rem;font:700 1.3rem/1.2 var(--display);color:var(--forest)}
.point p{margin:0;color:var(--muted)}
.empty{grid-column:1/-1;padding:1.3rem;background:var(--paper);border-radius:20px;font-weight:700}

.legend{list-style:none;margin:0;padding:0 .3rem .8rem;display:flex;flex-wrap:wrap;gap:.45rem .5rem}
.legend li,.tag{display:inline-flex;align-items:center;gap:.45rem;padding:.3rem .8rem .3rem .55rem;border-radius:999px;background:var(--mint);font-weight:700;font-size:1.02rem;color:var(--forest)}
.legend i,.tag i{width:.95rem;height:.95rem;border-radius:50%;flex:none}
.tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.7rem}
/* cards de materiais */
.cards{display:grid;gap:1.1rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));align-items:start}
.mat{--c:#2e7d32;background:var(--paper);border-radius:24px;overflow:hidden;box-shadow:0 14px 30px -18px rgba(12,47,29,.5)}
.mat summary{display:flex;align-items:center;gap:1rem;padding:1.1rem;min-height:92px;cursor:pointer;list-style:none;
  background:linear-gradient(135deg,var(--c),color-mix(in srgb,var(--c) 70%,#000));color:#fff;font:700 1.35rem/1.2 var(--display)}
.mat summary::-webkit-details-marker{display:none}
.mat .ico{flex:none;display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:#fff;font-size:2.2rem;box-shadow:0 3px 0 rgba(0,0,0,.2)}
.mat .more{margin-left:auto;flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.25);font-size:1.8rem;line-height:1;transition:transform .25s}
.mat[open] .more{transform:rotate(45deg)}
.mat .body{padding:1.1rem 1.3rem 1.4rem;border-top:6px solid var(--c)}
.mat .intro{margin:0 0 .7rem;font-weight:700;color:var(--forest)}
.mat ul{margin:0;padding:0;list-style:none}
.mat li{position:relative;padding-left:1.7rem;margin:.55rem 0}
.mat li::before{content:"";position:absolute;left:0;top:.5em;width:.8rem;height:.8rem;border-radius:50%;background:var(--c)}
.mat .note{margin:1rem 0 0;padding:.9rem 1rem;background:#fdecea;border-radius:16px;color:#7a120c;font-weight:700}

/* rodapé */
.end{position:relative;margin-top:4rem;background:var(--forest);color:#fff;padding:5rem 0 0}
.end .wave{transform:rotate(180deg);top:-1px;bottom:auto}
.end .wave path{fill:var(--bg)}
.end-grid{display:grid;gap:2rem;padding-bottom:2.2rem}
@media(min-width:820px){.end-grid{grid-template-columns:1fr auto;gap:8rem}}
.end h2,.end h3{margin:0 0 .7rem;color:#fff;font:800 1.35rem/1.2 var(--display)}
.end-more p,.end-brand p{margin:0 0 1.3rem;max-width:40ch;color:#d4e6da;font-size:1.05rem}
.end-brand .logo{display:flex;align-items:center;gap:.7rem;margin-bottom:1.4rem;font:800 1.5rem/1.1 var(--display)}
.end-brand .logo span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--sun);color:var(--forest)}
.end-brand .logo .i{width:28px;height:28px}
.end-brand .logo{margin-bottom:1rem}
.end .cta{display:inline-flex;align-items:center;gap:.6rem;min-height:58px;padding:.8rem 1.5rem;border-radius:999px;background:var(--sun);color:var(--forest);
  font:800 1.15rem/1.2 var(--display);text-decoration:none;box-shadow:0 4px 0 #d9a01c}
.end .cta .i{width:1.4em;height:1.4em}
.end .cta:active{transform:translateY(3px);box-shadow:0 1px 0 #d9a01c}
.end ul{list-style:none;margin:0;padding:0;display:grid;gap:.15rem}
.end ul a{display:inline-flex;align-items:center;gap:.55rem;min-height:48px;color:#fff;font-size:1.1rem;text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(255,255,255,.4)}
.end ul a:hover{text-decoration-color:var(--sun);color:var(--sun)}
.end ul .i{color:var(--sun)}
.end ul .i.up{transform:rotate(180deg)}
.end-tips{display:grid;gap:.6rem;color:#d4e6da;font-size:1.05rem}
.end-tips p{display:flex;gap:.6rem;margin:0}
.end-tips .i{color:var(--sun);margin-top:.15em}
.end-bar{border-top:1px solid rgba(255,255,255,.18);padding:1.1rem 0 1.6rem;color:#c3d9c9;font-size:.98rem}
.end-bar .wrap{display:flex;flex-wrap:wrap;justify-content:center;text-align:center;gap:.4rem 1.5rem}
.end-bar a{color:#fff}
html.hc .end{background:#000}
html.hc .end-bar{border-color:#fff}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* acessibilidade e padronização */
html[data-fs="1"]{font-size:115%} html[data-fs="2"]{font-size:130%} html[data-fs="3"]{font-size:150%}
.skip{position:absolute;left:-999px;top:0;background:var(--sun);color:#000;padding:.8rem 1.2rem;font-weight:700;z-index:99;border-radius:0 0 12px 0}
.skip:focus{left:0}
button[aria-disabled="true"]{opacity:.55;cursor:not-allowed}
.leaflet-marker-icon:focus-visible{outline-offset:0}
.info dt{font-size:1rem}
.legend li{background:none;padding:0}
.legend .lg{display:inline-flex;align-items:center;gap:.45rem;min-height:50px;padding:.3rem 1rem .3rem .7rem;border-radius:999px;border:3px solid var(--k);background:#fff;color:var(--ink);font:700 1.05rem var(--body);cursor:pointer}
.legend .lg[aria-pressed="true"]{background:var(--k);color:var(--on)}
.legend .lg[aria-pressed="true"] i{box-shadow:0 0 0 2px #fff}
.tag{background:#fff;border:2px solid var(--k,#999);padding:.25rem .8rem .25rem .5rem}
.point{padding-top:1.7rem}
.point::after{content:"";position:absolute;left:0;right:0;top:0;height:10px;border-radius:24px 24px 0 0;background:var(--stripe)}
.btn-speak{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;min-height:58px;margin-top:.6rem;padding:.6rem 1rem;border-radius:16px;border:2px solid var(--forest-2);background:#fff;color:var(--forest-2);font:700 1.15rem var(--body);cursor:pointer}
.btn-speak[data-on="1"]{background:var(--forest-2);color:#fff}
.mat summary{color:var(--on,#fff)}
.mat[data-dark] summary{background:var(--c)}
.mat .more{background:rgba(255,255,255,.92);color:#111}
.pop__go .btn-speak{margin-bottom:0}
.hero h1{font:700 clamp(2.2rem,8vw,3.6rem)/1.15 var(--body);color:#fff;text-shadow:none;text-wrap:balance;margin:0 auto 1rem;max-width:14ch}
.hero p{color:#fff;max-width:36ch}
/* alto contraste */
html.hc{--bg:#fff;--ink:#000;--muted:#000;--forest:#000;--forest-2:#000;--mint:#fff}
html.hc .hero{background:#000}
html.hc .hero::before,html.hc .hero::after{display:none}
html.hc .hero h1{color:#fff;text-shadow:none}
html.hc .hero p{color:#fff}
html.hc .panel,html.hc .point,html.hc .mat{border:3px solid #000;box-shadow:none}
html.hc .select,html.hc .btn-clear{border:3px solid #000;background:#fff;color:#000}
html.hc .mat .note{background:#fff;color:#000;border:3px solid #000}
html.hc .foot-error{color:#000}
html.hc .skip-map{border:3px solid #000}

/* ícones */
.i{width:1.25em;height:1.25em;flex:none;vertical-align:-.22em}
.mat .ico .i{width:38px;height:38px;color:var(--forest)}
.mat .note{display:flex;gap:.6rem;align-items:flex-start}
.mat .note .i{margin-top:.1em}
.a11y button .i{margin-right:.2rem}
/* seleção múltipla */
.field{position:relative}
.ms{position:relative}
.ms-btn{display:flex;align-items:center;justify-content:space-between;gap:.6rem;text-align:left;cursor:pointer}
.ms-btn .chev{transition:transform .2s}
.ms-btn[aria-expanded="true"] .chev{transform:rotate(180deg)}
.ms-panel{position:absolute;z-index:1500;left:0;right:0;top:calc(100% + 6px);background:#fff;border:2px solid #4d7a5e;border-radius:16px;
  box-shadow:0 18px 40px -12px rgba(0,0,0,.45);max-height:min(340px,50svh);overflow:auto;padding:.4rem}
.ms-panel[hidden]{display:none}
.ms-opt{display:flex;align-items:center;gap:.7rem;min-height:52px;padding:.4rem .6rem;border-radius:12px;cursor:pointer}
.ms-opt:hover{background:var(--mint)}
.ms-opt input{position:absolute;opacity:0;width:1px;height:1px}
.ms-box{display:grid;place-items:center;width:26px;height:26px;flex:none;border:2.5px solid var(--forest-2);border-radius:8px;background:#fff;color:#fff}
.ms-box .i{width:18px;height:18px;opacity:0}
.ms-opt input:checked + .ms-box{background:var(--forest-2)}
.ms-opt input:checked + .ms-box .i{opacity:1}
.ms-opt input:focus-visible + .ms-box{outline:4px solid var(--sun);outline-offset:2px;box-shadow:0 0 0 8px #000}
.ms-dot{width:.95rem;height:.95rem;border-radius:50%;flex:none}
/* o painel recebe o foco ao clicar dentro dele, assim ele não fecha antes do clique chegar na opção */
.ms-panel:focus,.ms-panel:focus-visible{outline:none}
.ms-panel:focus-visible{box-shadow:0 18px 40px -12px rgba(0,0,0,.45)!important}
html.hc .ms-panel{border:3px solid #000}
html.hc .ms-box{border-color:#000}
html.hc .ms-opt input:checked + .ms-box{background:#000}

.help{display:flex;gap:.7rem;align-items:flex-start;margin:.2rem .3rem .9rem;padding:.8rem 1rem;border-radius:16px;background:var(--mint);color:var(--forest);font-size:1.1rem;line-height:1.4}
.help .i{width:1.7em;height:1.7em;margin-top:.05em;color:var(--forest-2)}
html.hc .help{border:3px solid #000;background:#fff}
/* barras de rolagem */
html::-webkit-scrollbar{width:18px}
html::-webkit-scrollbar-track{background:var(--mint);border-left:1px solid #c9dccf}
html::-webkit-scrollbar-thumb{background:var(--forest-2);border:4px solid var(--mint);border-radius:999px;min-height:60px}
html::-webkit-scrollbar-thumb:hover{background:var(--forest)}
.pop__body::-webkit-scrollbar,.ms-panel::-webkit-scrollbar{width:14px}
.pop__body::-webkit-scrollbar-track,.ms-panel::-webkit-scrollbar-track{background:transparent;margin:10px 0}
.pop__body::-webkit-scrollbar-thumb,.ms-panel::-webkit-scrollbar-thumb{background:var(--leaf);border:4px solid #fff;border-radius:999px;min-height:48px}
.pop__body::-webkit-scrollbar-thumb:hover,.ms-panel::-webkit-scrollbar-thumb:hover{background:var(--forest-2)}
@supports (-moz-appearance:none){
  html{scrollbar-color:var(--forest-2) var(--mint)}
  .pop__body,.ms-panel{scrollbar-width:thin;scrollbar-color:var(--leaf) transparent}
}
html.hc::-webkit-scrollbar-thumb{background:#000;border-color:#fff}
html.hc::-webkit-scrollbar-track{background:#fff;border-left:2px solid #000}
html.hc .pop__body::-webkit-scrollbar-thumb,html.hc .ms-panel::-webkit-scrollbar-thumb{background:#000}
/* VLibras: só na versão de computador */
@media (max-width:759px){[vw]{display:none!important}}

/* PC: filtros e legenda centralizados */
@media(min-width:760px){
  .legend{justify-content:center}
}


/* acessibilidade: botão quadrado arredondado (igual ao do VLibras) que abre um painel */
.a11y{position:fixed;right:16px;bottom:16px;z-index:2000;display:flex;flex-direction:column;align-items:flex-end;gap:11.2px}
.a11y-fab{display:grid;place-items:center;width:56px;height:56px;padding:0;border-radius:16px;border:2px solid #fff;
  background:linear-gradient(160deg,var(--forest-2),var(--forest));color:#fff;cursor:pointer;box-shadow:0 8px 20px -6px rgba(0,0,0,.55);transition:transform .15s}
.a11y-fab:active{transform:scale(.94)}
.a11y-fab .i{width:32px;height:32px}
.a11y-fab[aria-expanded="true"]{background:#fff;color:var(--forest);border-color:var(--forest)}
.a11y-panel{width:min(310px,calc(100vw - 32px));display:grid;gap:16px;padding:17.6px;border-radius:24px;background:#fff;color:var(--ink);
  box-shadow:0 24px 50px -14px rgba(0,0,0,.55),0 0 0 1px rgba(12,47,29,.12)}
.a11y-panel[hidden]{display:none}
.a11y-panel{max-height:calc(100svh - 24px);overflow:auto;font-size:16px}
.a11y-panel *{font-size:inherit}
.a11y-head{display:flex;align-items:center;gap:11.2px}
.a11y-badge{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--forest-2);color:#fff;flex:none}
.a11y-badge .i{width:26px;height:26px}
.a11y-title{margin:0;margin-right:auto;font:800 20.8px/1.1 var(--display);color:var(--forest-2)}
.a11y-x{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;border:0;background:var(--mint);color:var(--forest-2);cursor:pointer}
.a11y-lbl{align-items:center;margin:0 0 8px;display:flex;justify-content:space-between;gap:8px;font-weight:700;font-size:16.8px;color:var(--ink)}
.a11y-lbl b{color:var(--forest-2);background:var(--mint);padding:0 9.6px;border-radius:999px;font-size:15.2px}
.a11y-seg{display:flex;align-items:center;gap:8px;padding:5.6px;border-radius:18px;background:var(--mint)}
.a11y-seg button{display:grid;place-items:center;flex:none;width:58px;height:54px;border-radius:14px;border:0;background:#fff;color:var(--forest-2);font:800 21.6px var(--display);cursor:pointer;box-shadow:0 2px 0 rgba(12,47,29,.18)}
.a11y-seg button small{font-size:13.6px;margin-left:1px;vertical-align:.3em}
.a11y-seg button[aria-disabled="true"]{opacity:.4}
.a11y-seg button:active{transform:translateY(2px);box-shadow:none}
.a11y-dots{flex:1;display:flex;justify-content:center;align-items:flex-end;gap:6.4px}
.a11y-dots i{width:9.6px;border-radius:4px;background:#b9d0c1}
.a11y-dots i:nth-child(1){height:11.2px}.a11y-dots i:nth-child(2){height:16px}.a11y-dots i:nth-child(3){height:20.8px}.a11y-dots i:nth-child(4){height:25.6px}
.a11y-dots i.on{background:var(--forest-2)}
.a11y-sw{display:flex;align-items:center;justify-content:space-between;gap:12.8px;width:100%;min-height:60px;padding:6.4px 8px 6.4px 14.4px;border-radius:18px;border:0;background:var(--mint);color:var(--ink);font:700 17.6px var(--body);cursor:pointer;text-align:left}
.a11y-sw-t{display:flex;align-items:center;gap:9.6px}
.a11y-sw-t .i{color:var(--forest-2);width:1.5em;height:1.5em}
.a11y-knob{position:relative;flex:none;width:58px;height:34px;border-radius:999px;background:#9db8a6;transition:background .2s}
.a11y-knob::after{content:"";position:absolute;left:4px;top:4px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.35);transition:transform .2s}
.a11y-sw[aria-checked="true"] .a11y-knob{background:var(--forest-2)}
.a11y-sw[aria-checked="true"] .a11y-knob::after{transform:translateX(24px)}
.a11y-reset{min-height:48px;border:2px solid var(--forest-2);border-radius:14px;background:#fff;color:var(--forest-2);font:700 16.8px var(--body);cursor:pointer}
html.hc .a11y-fab{background:#000;color:#fff;border-color:#fff}
html.hc .a11y-fab[aria-expanded="true"]{background:#fff;color:#000;border-color:#000}
html.hc .a11y-panel{box-shadow:0 0 0 3px #000}
html.hc .a11y-badge{background:#000;color:#fff}
html.hc .a11y-seg,html.hc .a11y-sw,html.hc .a11y-x,html.hc .a11y-lbl b{background:#fff;border:3px solid #000;color:#000}
html.hc .a11y-seg button{border:2px solid #000;color:#000}
html.hc .a11y-dots i{background:#999}html.hc .a11y-dots i.on{background:#000}
html.hc .a11y-knob{background:#666}html.hc .a11y-sw[aria-checked="true"] .a11y-knob{background:#000}
html.hc .a11y-reset{border-color:#000;color:#000}
/* PC: o botão de acessibilidade fica logo acima do botão do VLibras (que fica à direita, no meio da tela) */
@media(min-width:760px){
  .a11y{right:6.4px;bottom:calc(50% + 20px + 12.8px);align-items:flex-end}
  .a11y-fab{width:48px;height:48px;border-radius:14px}
  .a11y-fab .i{width:28px;height:28px}
  .a11y-panel{position:absolute;right:calc(100% + 11.2px);bottom:0}
}

/* cartões do mesmo tamanho: fonte um pouco menor e altura mínima igual */
.mat summary{font-size:1.05rem;min-height:96px;padding:1rem;gap:.8rem}
.mat .ico{width:54px;height:54px;border-radius:17px}
.mat .ico .i{width:32px;height:32px}
.mat .more{width:38px;height:38px;font-size:1.6rem}

/* barra final do rodapé */
.end-bar .wrap{align-items:center}
.end-bar p{margin:0}

/* MOBILE (só celular) */
@media(max-width:759px){
  /* filtro de material recolhível (menu com caixinhas coloridas) no lugar da lista longa de botões */
  .legend{display:none}

  /* rodapé redesenhado para celular: sem atalhos, tudo centralizado e compacto */
  .end{margin-top:2.5rem;padding-top:3.6rem}
  .end-more{display:none}
  .end-grid{padding-bottom:1.6rem}
  .end-brand{display:flex;flex-direction:column;align-items:center;text-align:center}
  .end-brand .logo{flex-direction:column;gap:.6rem;font-size:1.25rem;margin-bottom:1.1rem}
  .end-brand .logo span{width:52px;height:52px;border-radius:16px}
  .end h2{font-size:1.5rem;margin-bottom:.5rem}
  .end-brand p{margin:0 auto 1.3rem;font-size:1.05rem}
  .end .cta{width:100%;justify-content:center;font-size:1.1rem}
  .end-bar{padding:1.2rem 0 1.6rem}
  .end-bar .wrap{flex-direction:column;align-items:center;text-align:center;gap:.4rem}
  .end-bar .sep{display:none}
  .end-bar .sec{display:block;margin-top:.15rem}

  /* cartões: tudo um pouco menor para os títulos caberem em 2 linhas */
  .mat summary{gap:.7rem;padding:.9rem;font-size:1.05rem}
  .mat .ico{width:54px;height:54px;border-radius:17px}
  .mat .ico .i{width:32px;height:32px}
  .mat .more{width:38px;height:38px;font-size:1.6rem}
}

/* tablet e celular (sem VLibras): o botão de acessibilidade ocupa o lugar dele, à direita no meio da tela */
@media(max-width:759px){
  .a11y{right:6.4px;bottom:auto;top:50%;transform:translateY(-50%);align-items:flex-end}
  .a11y-fab{width:48px;height:48px;border-radius:14px}
  .a11y-fab .i{width:28px;height:28px}
  .a11y-panel{position:absolute;right:calc(100% + 9.6px);top:50%;transform:translateY(-50%);bottom:auto;width:min(310px,calc(100vw - 72px))}
}
