/* Estilo comum de todas as páginas (nov/2026): topo sólido, faixa geométrica, fonte Jost e rodapé sólido.
   Estrutura visual inspirada no sistema do SindiPúblicos, com a paleta do Quem Será Eleito?.
   Carregado no fim do <head> de cada página, depois dos estilos próprios dela. */
@font-face{font-family:"Jost";src:url("/fontes/jost.woff2") format("woff2");font-weight:300 900;font-style:normal;font-display:swap}
:root{--fonte:"Jost",Futura,"Trebuchet MS",Arial,sans-serif;--navy:#16305c;--navy-2:#1f3f73;--navy-c:#16305c;--gold:#e0a800;--es:#1e5aa8;--on-navy-2:#c9d4e6}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--navy:#132a50;--navy-2:#1c3966;--navy-c:#8fb3e8;--es:#6fa2e6;--on-navy-2:#b8c6dc}}
:root[data-theme="dark"]{--navy:#132a50;--navy-2:#1c3966;--navy-c:#8fb3e8;--es:#6fa2e6;--on-navy-2:#b8c6dc}
html body,body button,body input,body select,body textarea{font-family:var(--fonte)}
body h1{font-weight:800!important;letter-spacing:-.015em!important}

/* topo */
.qse-topo{background:var(--navy);color:#fff;padding:calc(env(safe-area-inset-top,0px) + 14px) 16px 14px;margin:0;border:0}
.qse-topo .topo-in{max-width:1040px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap}
.qse-logo{display:inline-flex;align-items:center;gap:10px;color:#fff!important;text-decoration:none!important;font-weight:800;font-size:1.2rem;line-height:1.15;letter-spacing:-.01em;white-space:nowrap}
.qse-logo svg{width:36px;height:36px;flex:none}
.qse-logo small{display:block;font-weight:500;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--on-navy-2);line-height:1.3}
/* menu por grupos (nov/2026): Resultados, Análises, Curiosidades, Modelo 2028 e o destaque Custo do voto */
.qse-topo .qse-nav{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:2px!important;justify-content:flex-end!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
.qse-grp{position:relative}
.qse-gbt{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;border:0;border-radius:6px;background:transparent;color:#fff;font:inherit;font-size:.95rem;font-weight:600;cursor:pointer;white-space:nowrap}
.qse-gbt .chev{width:12px;height:12px;color:var(--on-navy-2);transition:transform .15s}
.qse-gbt:hover,.qse-grp.aberto .qse-gbt,.qse-grp:focus-within .qse-gbt{background:rgb(255 255 255 / 14%)}
.qse-grp.aberto .qse-gbt .chev{transform:rotate(180deg)}
.qse-grp:has([aria-current="page"]) .qse-gbt{box-shadow:inset 0 -3px 0 var(--gold)}
.qse-gbt:focus-visible,.qse-topo .qse-nav a:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.qse-dd{display:none;position:absolute;top:100%;left:0;z-index:50;min-width:330px;margin-top:6px;padding:8px;background:#fff;border:1px solid #d9dee4;border-top:4px solid var(--gold);border-radius:10px;box-shadow:0 18px 40px rgb(16 32 60 / 25%);flex-direction:column;gap:2px}
.qse-dd::before{content:"";position:absolute;left:0;right:0;top:-14px;height:10px}
.qse-grp:last-of-type .qse-dd{left:auto;right:0}
@media (hover:hover){.qse-grp:hover .qse-dd{display:flex}}
.qse-grp.aberto .qse-dd,.qse-grp:focus-within .qse-dd{display:flex}
.qse-topo .qse-nav .qse-dd a{display:flex!important;align-items:center;gap:12px;min-height:0!important;padding:9px 10px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#16202a!important;text-decoration:none!important;font-size:.95rem!important;font-weight:600!important;white-space:normal;box-shadow:none!important}
.qse-topo .qse-nav .qse-dd a:hover{background:#eef2f7!important}
.qse-topo .qse-nav .qse-dd a[aria-current="page"]{background:#fbf3d9!important}
.qse-dd .qse-tx{display:flex!important;flex-direction:column;line-height:1.25}
.qse-dd .qse-tx small{font-size:.8rem;font-weight:400;color:#5a6573}
.qse-topo .qse-nav a .band{width:28px!important;height:20px!important;flex:none;border-radius:3px;box-shadow:0 0 0 1px rgb(0 0 0 / 15%)}
.qse-topo .qse-nav a.qse-solo{display:inline-flex!important;align-items:center;gap:8px;min-height:44px!important;padding:0 12px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#fff!important;text-decoration:none!important;font-size:.95rem!important;font-weight:600!important;white-space:nowrap}
.qse-topo .qse-nav a.qse-solo .band{width:22px!important;height:16px!important}
.qse-topo .qse-nav a.qse-solo:hover{background:rgb(255 255 255 / 14%)!important}
.qse-topo .qse-nav a.qse-solo[aria-current="page"]{box-shadow:inset 0 -3px 0 var(--gold)!important}
.qse-topo .qse-nav a.qse-cta{display:inline-flex!important;align-items:center;gap:8px;min-height:40px!important;margin-left:6px;padding:0 14px!important;border:0!important;border-radius:6px!important;background:var(--gold)!important;color:#16202a!important;text-decoration:none!important;font-size:.95rem!important;font-weight:700!important;white-space:nowrap}
.qse-topo .qse-nav a.qse-cta em{font-style:normal;font-size:.62rem;letter-spacing:.08em;text-transform:uppercase;background:#16202a;color:var(--gold);padding:2px 6px;border-radius:4px}
.qse-topo .qse-nav a.qse-cta:hover{filter:brightness(1.05)}
@media (max-width:480px){.qse-logo{font-size:1.1rem}.qse-logo svg{width:32px;height:32px}}

/* faixa geométrica */
.qse-faixa{height:40px;background-color:var(--navy-2);background-repeat:repeat-x;background-size:auto 40px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='138' height='46' viewBox='0 0 138 46'%3E%3Ccircle cx='22' cy='23' r='16' fill='%2372a9ea' opacity='.55'/%3E%3Cpath d='M22 23V7a16 16 0 0 1 16 16z' fill='%23c21f2b'/%3E%3Crect x='48' y='27' width='8' height='13' fill='%23e0a800'/%3E%3Crect x='59' y='18' width='8' height='22' fill='%23e0a800'/%3E%3Crect x='70' y='8' width='8' height='32' fill='%23e0a800'/%3E%3Cpath d='M88 37l11-12 9 6 15-20' fill='none' stroke='%2372a9ea' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' opacity='.85'/%3E%3Ccircle cx='123' cy='11' r='4' fill='%23ffffff'/%3E%3C/svg%3E")}

/* rodapé */
.qse-rod{margin:40px 0 0!important;padding:0!important;border:0!important;background:var(--navy)!important;color:#fff!important;font-size:1rem!important;max-width:none!important;text-align:left!important}
.qse-rod .rod-in{max-width:1040px;margin:0 auto;padding:28px 16px calc(env(safe-area-inset-bottom,0px) + 32px);display:grid;gap:10px 28px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:start}
.qse-rod p{margin:0;color:var(--on-navy-2);font-size:.92rem;text-wrap:pretty}
.qse-rod strong{display:block;color:#fff;font-weight:800;font-size:1.15rem}
.qse-rod .ig{display:inline-flex;align-items:center;gap:8px;margin-top:10px;min-height:40px;padding:0 14px;border-radius:6px;background:var(--gold);color:#16202a!important;font-weight:700;text-decoration:none;white-space:nowrap}
.qse-rod .ig svg{flex:none}
.qse-rod .ig{margin-right:8px}
.qse-rod .sobre{grid-column:1/-1;margin-top:12px;padding-top:14px;border-top:1px solid rgb(255 255 255 / 15%);font-size:.82rem}
.qse-rod .sobre a{color:#fff;font-weight:600}
.qse-rod .sobre .parc-rodape{display:block;margin-top:6px}
body #headline{font-weight:800!important;font-stretch:100%!important}

/* menu de três traços (celular e tablet) */
.qse-burger{display:none}
@media (max-width:760px){
  .qse-topo.com-menu .topo-in{flex-wrap:wrap;row-gap:0}
  .qse-topo.com-menu .qse-burger{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;width:46px;height:44px;padding:0 11px;margin-left:auto;border-radius:6px;border:1px solid rgb(255 255 255 / 25%);background:rgb(255 255 255 / 8%);cursor:pointer}
  .qse-burger span{display:block;height:3px;border-radius:2px;background:#fff;transition:transform .2s,opacity .2s}
  .qse-topo.aberto .qse-burger span:nth-child(1){transform:translateY(8px) rotate(45deg)}
  .qse-topo.aberto .qse-burger span:nth-child(2){opacity:0}
  .qse-topo.aberto .qse-burger span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
  .qse-topo.com-menu .qse-nav{display:none!important}
  .qse-topo.com-menu.aberto .qse-nav{display:flex!important;flex-direction:column;align-items:stretch;flex-wrap:nowrap!important;width:100%;margin-top:14px!important;gap:14px!important}
  .qse-topo .qse-gbt{min-height:0;padding:0 2px;font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--on-navy-2);background:none!important;box-shadow:none!important;pointer-events:none}
  .qse-topo .qse-gbt .chev{display:none}
  .qse-topo .qse-dd,.qse-grp:hover .qse-dd{display:grid!important;position:static;grid-template-columns:1fr 1fr;gap:6px;min-width:0;margin:6px 0 0;padding:0;background:none;border:0;box-shadow:none}
  .qse-topo .qse-dd::before{display:none}
  .qse-topo .qse-nav .qse-dd a{min-height:44px!important;padding:6px 10px!important;color:#fff!important;background:rgb(255 255 255 / 8%)!important;border:1px solid rgb(255 255 255 / 18%)!important;border-radius:6px!important;font-size:.9rem!important}
  .qse-topo .qse-nav .qse-dd a[aria-current="page"]{background:var(--gold)!important;border-color:var(--gold)!important;color:#16202a!important}
  .qse-dd .qse-tx small{display:none}
  .qse-topo .qse-nav a.qse-solo,.qse-topo .qse-nav a.qse-cta{justify-content:center;margin:0;min-height:44px!important;border:1px solid rgb(255 255 255 / 18%)!important}
  .qse-logo{white-space:normal}
}
@media (prefers-reduced-motion:reduce){.qse-burger span{transition:none}}

/* selo "novo" nos itens do menu */
.qse-dd .tg-novo{font-style:normal;font-size:.6rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:var(--gold,#e0a800);color:#16202a;padding:1px 5px;border-radius:4px;margin-left:4px;vertical-align:2px}

/* grupo dourado "Gastos eleitorais" (nov/2026): botão de destaque que abre as três análises de dinheiro de campanha */
@media (min-width:761px){
  .qse-topo .qse-grp-cta{margin-left:6px}
  .qse-topo .qse-grp-cta .qse-gbt.qse-cta{gap:8px;min-height:40px;padding:0 12px 0 14px;background:var(--gold);color:#16202a;font-weight:700}
  .qse-topo .qse-grp-cta .qse-gbt.qse-cta .chev{color:#16202a}
  .qse-topo .qse-grp-cta .qse-gbt.qse-cta:hover,.qse-topo .qse-grp-cta.aberto .qse-gbt.qse-cta,.qse-topo .qse-grp-cta:focus-within .qse-gbt.qse-cta{background:var(--gold);filter:brightness(1.07)}
  .qse-topo .qse-grp-cta:has([aria-current="page"]) .qse-gbt.qse-cta{box-shadow:inset 0 -3px 0 #16202a}
  .qse-topo .qse-grp-cta .qse-gbt.qse-cta:focus-visible{outline-color:#fff}
}
.qse-topo .qse-gbt.qse-cta em{font-style:normal;font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:#16202a;color:var(--gold);padding:2px 6px;border-radius:4px}
@media (max-width:760px){
  .qse-topo .qse-gbt.qse-cta{color:var(--gold)}
  .qse-topo .qse-gbt.qse-cta em{margin-left:6px;font-size:.55rem;padding:1px 5px}
}

/* botão de tema claro/escuro (nov/2026), criado por /js/tema.js: no computador fica no fim do menu; no celular, ao lado dos três traços */
.qse-tema{display:inline-flex;align-items:center;justify-content:center;flex:none;width:38px;height:38px;padding:0;border-radius:50%;border:1px solid rgb(255 255 255 / 28%);background:rgb(255 255 255 / 8%);color:#fff;cursor:pointer}
.qse-tema:hover{background:rgb(255 255 255 / 16%)}
.qse-tema:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.qse-tema svg{display:none}
.qse-tema[data-ic="sol"] .ic-sol,.qse-tema[data-ic="lua"] .ic-lua{display:block}
.qse-tema[data-ic="sol"]{color:var(--gold)}
.qse-tema-d{width:32px;height:32px;margin-left:4px}.qse-tema-d svg{width:17px;height:17px}
.qse-tema-m{display:none}
@media (max-width:760px){
  .qse-topo .qse-tema-d{display:none}
  .qse-topo.com-menu .topo-in{column-gap:10px}
  .qse-topo.com-menu .qse-tema-m{display:inline-flex;order:1;margin-left:auto;width:44px;height:44px}
  .qse-topo.com-menu .qse-burger{order:2;margin-left:0}
  .qse-topo.com-menu .qse-nav{order:3}
}
@media (max-width:400px){
  .qse-topo.com-menu .qse-tema-m{width:40px;height:40px}
  .qse-topo.com-menu .qse-burger{width:44px}
  .qse-topo.com-menu .qse-logo small{font-size:.6rem;letter-spacing:.03em}
}

/* faixa de divulgação do Instagram, logo abaixo do menu (nov/2026) */
.qse-insta{background:#fff7e0;border-bottom:1px solid #f0dfa8;color:#16305c}
.qse-insta a{max-width:1040px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;justify-content:center;gap:10px;color:inherit!important;text-decoration:none!important;font:500 .98rem/1.3 var(--fonte)}
.qse-insta svg{width:24px;height:24px;flex:none}
.qse-insta b{font-weight:700}
.qse-insta .bt-ig{background:#16305c;color:#fff;border-radius:999px;padding:5px 14px;font-weight:600;font-size:.88rem;white-space:nowrap}
.qse-insta a:hover .bt-ig,.qse-insta a:focus-visible .bt-ig{background:#e0a800;color:#16202a}
.qse-insta a:focus-visible{outline:2px solid #e0a800;outline-offset:-2px}
@media (max-width:520px){.qse-insta a{font-size:.9rem;gap:8px;padding:9px 12px}.qse-insta .tx-l{display:none}}
@media (prefers-color-scheme:dark){.qse-insta{background:#2a2410;border-bottom-color:#4a3f17;color:#f3e6bd}.qse-insta .bt-ig{background:#e0a800;color:#16202a}}
