@font-face { font-family: 'Sniglet'; font-weight: 400; font-display: swap; src: url('/assets/fontes/sniglet-400.woff2') format('woff2'); }
@font-face { font-family: 'Sniglet'; font-weight: 800; font-display: swap; src: url('/assets/fontes/sniglet-800.woff2') format('woff2'); }
@font-face { font-family: 'Overlock'; font-weight: 400; font-display: swap; src: url('/assets/fontes/overlock-400.woff2') format('woff2'); }
@font-face { font-family: 'Overlock'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fontes/overlock-400i.woff2') format('woff2'); }
@font-face { font-family: 'Overlock'; font-weight: 700; font-display: swap; src: url('/assets/fontes/overlock-700.woff2') format('woff2'); }
@font-face { font-family: 'Overlock'; font-weight: 900; font-display: swap; src: url('/assets/fontes/overlock-900.woff2') format('woff2'); }

:root {
  --anil: #2D3A8C;
  --anil-fundo: #222C6E;
  --pitanga: #E4473C;
  --pitanga-forte: #C23428;
  --sol: #FFC93C;
  --folha: #2E8B62;
  --folha-forte: #1F6F4B;
  --nuvem: #FFF8EC;
  --tinta: #23213A;
  --terra: #C98552;
  --terra-forte: #93491F;
  --linha: #EADCC3;
  --titulo: 'Sniglet', 'Trebuchet MS', sans-serif;
  --texto: 'Overlock', 'Segoe UI', sans-serif;
}

.cor-anil { --cor: var(--anil); --sobre: #fff; --clara: #E6E9F8; --traco: var(--anil); }
.cor-pitanga { --cor: var(--pitanga-forte); --sobre: #fff; --clara: #FCE5E1; --traco: var(--pitanga); }
.cor-folha { --cor: var(--folha-forte); --sobre: #fff; --clara: #E0F1E8; --traco: var(--folha); }
.cor-sol { --cor: var(--sol); --sobre: var(--tinta); --clara: #FFF0C4; --traco: #E8A800; }
.cor-terra { --cor: var(--terra-forte); --sobre: #fff; --clara: #F6E3D3; --traco: var(--terra-forte); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--nuvem); color: var(--tinta); font-family: var(--texto); font-size: 1.125rem; line-height: 1.55; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 800; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.15rem); margin-top: 1.6em; }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
a { color: var(--anil); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--pitanga-forte); }
:focus-visible { outline: 3px solid var(--anil); outline-offset: 3px; }
.abre :focus-visible, .abertura :focus-visible, .rodape :focus-visible { outline-color: var(--sol); }
main:focus { outline: none; }
code { font-size: .95em; background: #F3E8D2; padding: 0 .3em; border-radius: 4px; }
.faixa { width: min(1160px, 100% - 2.2rem); margin-inline: auto; }
.centro { text-align: center; }
.so-leitor { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pular { position: absolute; left: .5rem; top: -4rem; background: var(--sol); color: var(--tinta); padding: .6rem 1rem; border-radius: 10px; z-index: 20; font-weight: 700; }
.pular:focus { top: .5rem; }
.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* botões */
.botao { display: inline-block; font: 800 1.05rem/1.2 var(--titulo); background: var(--pitanga-forte); color: #fff; border: 0; border-radius: 999px; padding: .75rem 1.35rem; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 #7F1D14; }
.botao:hover { background: #A92A1F; color: #fff; }
.botao:active { transform: translateY(2px); box-shadow: 0 2px 0 #7F1D14; }
.botao[disabled] { opacity: .6; cursor: progress; }
.botao-claro { background: #fff; color: var(--tinta); box-shadow: 0 4px 0 #BFAE8E; }
.botao-claro:hover { background: #FFF2D6; color: var(--tinta); }
.botao-sol { background: var(--sol); color: var(--tinta); box-shadow: 0 4px 0 #B88600; }
.botao-sol:hover { background: #FFD766; color: var(--tinta); }
.botao-grande { font-size: 1.1rem; padding: .95rem 1.35rem; }

/* topo */
.topo { background: var(--nuvem); border-bottom: 4px solid var(--anil); position: relative; z-index: 10; }
.topo .faixa { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; padding-block: .55rem; }
.marca { display: flex; align-items: center; gap: .5rem; font: 800 1.35rem/1 var(--titulo); color: var(--anil); text-decoration: none; }
.menu { display: flex; align-items: center; gap: 1rem; margin-left: auto; flex-wrap: wrap; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; align-items: center; }
.menu a, .menu summary { display: block; padding: .45rem .7rem; border-radius: 999px; color: var(--tinta); text-decoration: none; font-weight: 700; cursor: pointer; }
.menu a:hover, .menu summary:hover { background: #FFEBB5; color: var(--tinta); }
.menu a[aria-current="page"] { background: var(--anil); color: #fff; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ''; display: inline-block; margin-left: .4rem; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(3px); }
.com-lista { position: relative; }
.com-lista ul { position: absolute; right: 0; top: calc(100% + .4rem); flex-direction: column; align-items: stretch; background: #fff; border: 2px solid var(--anil); border-radius: 16px; padding: .4rem; width: 19rem; z-index: 15; box-shadow: 0 12px 24px rgba(35,33,58,.18); }
.busca-topo { display: flex; gap: .3rem; }
.busca-topo input { font: inherit; width: 9.5rem; border: 2px solid var(--linha); border-radius: 999px; padding: .35rem .9rem; background: #fff; }
.busca-topo button { display: grid; place-items: center; width: 2.7rem; min-height: 2.7rem; border: 0; border-radius: 999px; background: var(--anil); color: #fff; padding: 0; cursor: pointer; }
.menu-botao { display: none; margin-left: auto; font: 800 1rem var(--titulo); border: 2px solid var(--anil); color: var(--anil); background: #fff; border-radius: 999px; padding: .5rem 1.1rem; cursor: pointer; }

/* abertura da página inicial */
.abertura { background: var(--anil) url('/assets/arte/bandeirinhas.svg') repeat-x top center / 360px 72px; color: #fff; position: relative; overflow: hidden; }
.abertura::after { content: ''; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 22%; background: radial-gradient(120% 100% at 50% 100%, #D9975F 0 55%, #B8713F 100%); border-radius: 50% 50% 0 0 / 40% 40% 0 0; }
.abertura-grade { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 1.5rem; padding-top: 4.2rem; padding-bottom: 1rem; position: relative; z-index: 1; }
.abertura h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); }
.abertura-texto p { font-size: 1.25rem; max-width: 30rem; }
.abertura-roda { width: 100%; max-width: 600px; justify-self: center; }
.botoes { display: flex; flex-wrap: wrap; gap: .8rem; }

/* faixa de título das páginas internas */
.abre { background: var(--cor, var(--anil)) url('/assets/arte/bandeirinhas.svg') repeat-x top center / 360px 72px; color: var(--sobre, #fff); padding: 3.4rem 0 1.6rem; border-bottom: 14px solid var(--terra); }
.abre-anil { --cor: var(--anil); --sobre: #fff; }
.abre h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: .35em; }
.abre p { max-width: 42rem; }
.abre a { color: inherit; }
.abre a.botao { color: #fff; }
.abre a.botao-claro { color: var(--tinta); }
.abre-grade { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.abre-arte { width: clamp(200px, 26vw, 320px); filter: drop-shadow(0 10px 14px rgba(0,0,0,.25)); }
.abre-artigo .abre-arte { border-radius: 24px; filter: none; border: 6px solid #fff; width: clamp(220px, 30vw, 380px); }
.p-categoria .abre-arte { border-radius: 24px; border: 6px solid #fff; filter: none; }
.assinatura { font-size: 1rem; }
.migalhas ol { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem .6rem; padding: 0; margin: 0 0 .8rem; font-size: .98rem; }
.migalhas li + li::before { content: '/'; margin-right: .6rem; opacity: .7; }
.atalhos a { display: inline-block; margin: 0 .5rem .5rem 0; padding: .35rem .9rem; border: 2px solid currentColor; border-radius: 999px; text-decoration: none; font-weight: 700; }
.ficha { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0; }
.ficha div { background: #fff; color: var(--tinta); border-radius: 14px; padding: .45rem .9rem; }
.ficha dt { font-size: .85rem; color: #5C5877; }
.ficha dd { margin: 0; font-weight: 700; }

/* grupo de votação */
.grupo { margin: 2.5rem 0; scroll-margin-top: 1rem; }
.p-votacao .filtros-caixa + .lembrete + .grupo { margin-top: 1.2rem; }
.grupo-cabeca { background: var(--cor); color: var(--sobre); border-radius: 28px 28px 28px 6px; padding: 1rem 1.4rem .8rem; margin-bottom: 1rem; }
.grupo-cabeca h2, .grupo-cabeca h3 { margin: 0; }
.grupo-cabeca p { margin: .2rem 0 0; font-size: 1.15rem; }
.votar fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.roda { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: .9rem; }
.cand { background: #fff; border: 3px solid var(--linha); border-radius: 22px; padding: .7rem .8rem; display: grid; grid-template-columns: 104px 1fr; column-gap: .8rem; align-content: start; position: relative; }
.cand label { grid-column: 1 / -1; display: grid; grid-template-columns: 104px 1fr; column-gap: .8rem; align-items: center; cursor: pointer; }
.cand input { position: absolute; left: .55rem; top: .55rem; width: 1.5rem; height: 1.5rem; margin: 0; accent-color: var(--pitanga-forte); cursor: pointer; z-index: 1; }
.cand-arte { width: 104px; }
.cand-nome { font: 800 1.2rem/1.15 var(--titulo); }
.cand p { grid-column: 2; margin: .1rem 0; font-size: 1rem; line-height: 1.35; }
.cand-pessoas { font-weight: 700; color: #56526F; }
.cand-link { grid-column: 2; font-size: 1rem; }
.cand:has(input:checked) { border-color: var(--traco); background: var(--clara); }
.cand:has(input:focus-visible) { outline: 3px solid var(--anil); outline-offset: 3px; }
.selo { display: inline-block; background: var(--tinta); color: #fff; border-radius: 999px; padding: .05rem .7rem; font: 800 .9rem/1.6 var(--titulo); }
.cand .selo { justify-self: start; }
.miolo { grid-column: 1 / -1; background: var(--clara); border-radius: 24px; padding: 1.1rem; text-align: center; }
.miolo .estado { font-size: 1.08rem; }
.confirma { display: flex; gap: .55rem; align-items: flex-start; text-align: left; margin: 0 auto 1rem; max-width: 22rem; font-weight: 700; }
.confirma input { width: 1.3rem; height: 1.3rem; flex: none; margin-top: .15rem; accent-color: var(--pitanga-forte); }
.aviso { border-radius: 16px; padding: .8rem 1.1rem; font-weight: 700; border: 3px solid; background: #fff; }
.aviso-ok { border-color: var(--folha); }
.aviso-ok::before { content: 'Feito. '; }
.aviso-info { border-color: var(--anil); }
.aviso-erro { border-color: var(--pitanga-forte); }
.aviso-erro::before { content: 'Atenção. '; }

@media (min-width: 960px) {
  .roda:not(.filtrado) { display: block; position: relative; width: 900px; max-width: 100%; height: 970px; margin: 30px auto 26px; }
  .roda:not(.filtrado)::before { content: ''; position: absolute; left: 12%; right: 12%; top: 11%; bottom: 11%; border: 10px dotted var(--traco); border-radius: 50%; opacity: .55; }
  .roda:not(.filtrado) .cand { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 218px; display: flex; flex-direction: column; align-items: center; text-align: center; border-radius: 108px 108px 26px 26px; padding: .6rem .7rem .7rem; }
  .roda:not(.filtrado) .cand label { display: flex; flex-direction: column; gap: .25rem; }
  .roda:not(.filtrado) .cand input { position: static; order: 3; }
  .roda:not(.filtrado) .cand-arte { width: 116px; order: 1; }
  .roda:not(.filtrado) .cand-nome { order: 2; }
  .roda:not(.filtrado) .cand .selo { align-self: center; }
  .roda:not(.filtrado) .miolo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 300px; border-radius: 50%; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2rem; }
  .roda:not(.filtrado) .miolo .estado { font-size: 1rem; line-height: 1.35; margin-bottom: .6rem; }
  .roda:not(.filtrado) .miolo .confirma { font-size: .95rem; line-height: 1.25; margin-bottom: .6rem; }
}

.filtros-caixa { background: #fff; border: 3px solid var(--linha); border-radius: 22px; padding: .7rem 1.2rem; margin-top: 1.6rem; }
.filtros-caixa summary { font: 800 1.1rem var(--titulo); cursor: pointer; padding: .25rem 0; }
.filtros { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; padding: .6rem 0 .4rem; }
.filtros label, .busca label { display: flex; flex-direction: column; gap: .2rem; font-weight: 700; }
select, input[type="search"], input[type="text"], input[type="email"], textarea { font: inherit; color: var(--tinta); background: #fff; border: 2px solid #BCAD8C; border-radius: 12px; padding: .55rem .75rem; max-width: 100%; }
.filtros-conta { flex-basis: 100%; margin: 0; font-size: 1rem; }
.lembrete { background: #FFF0C4; border-radius: 18px; padding: .8rem 1.2rem; margin-top: 1rem; }
.depois { margin: 2rem 0; }
.limpar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.4rem; }
.limpar form { margin: 0; }
.limpar p { margin: 0; flex: 1 1 18rem; font-size: 1rem; }
.limites { background: #fff; border-left: 10px solid var(--sol); border-radius: 0 18px 18px 0; padding: 1rem 1.4rem; margin: 2rem 0; }
.limites h2 { margin-top: 0; font-size: 1.35rem; }
.limites ul { margin: 0; padding-left: 1.2rem; }

/* caixa de voto na página da cantiga */
.caixa-voto { background: var(--clara); border: 3px solid var(--traco); border-radius: 26px; padding: 1.2rem; }
.caixa-voto h2 { margin-top: 0; font-size: 1.35rem; }
.caixa-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: 1rem 0 0; font-size: 1rem; }
.duas-colunas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 1.8rem; }
@media (min-width: 900px) {
  .duas-colunas { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
  .duas-colunas > .coluna-voto { order: 2; position: sticky; top: 1rem; }
  .artigo-colunas { grid-template-columns: 270px minmax(0, 1fr); }
  .indice { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow: auto; }
}

/* placar */
.placar-grupo { margin: 2.2rem 0; background: #fff; border-radius: 28px; padding: 1.2rem 1.4rem 1.5rem; border-top: 12px solid var(--traco); scroll-margin-top: 1rem; }
.placar-grupo h2 { margin-top: 0; }
.aneis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.2rem .8rem; }
.aneis li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; border-radius: 18px; padding: .6rem .3rem; }
.aneis li.meu { background: var(--clara); }
.aneis li.frente a { font-weight: 900; }
.anel-desenho { position: relative; display: inline-grid; place-items: center; }
.anel-desenho svg { display: block; }
.anel-fundo { fill: none; stroke: #EFE4CF; stroke-width: 13; }
.anel-valor { fill: none; stroke: var(--traco); stroke-width: 13; stroke-linecap: butt; }
.anel-numero { position: absolute; font: 800 1.7rem/1 var(--titulo); color: var(--tinta); }
.anel-texto { font-size: 1rem; }
.anel-posicao { font-weight: 700; font-size: .98rem; }

/* inicial */
.usos { background: #FFEFC0; margin-top: 2.5rem; padding: .5rem 0 2.2rem; }
.uso { display: grid; grid-template-columns: 300px 1fr; gap: 1.6rem; align-items: center; margin-top: 1.4rem; }
.uso:nth-of-type(odd) { grid-template-columns: 1fr 300px; }
.uso:nth-of-type(odd) .uso-arte { order: 2; }
.uso-arte { width: 100%; border-radius: 40px 40px 40px 10px; }
.uso p { max-width: 34rem; }
.previa { background: var(--anil-fundo); color: #fff; margin-top: 2.5rem; padding: .5rem 0 2rem; }
.previa a { color: var(--sol); }
.previa-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.previa-item { background: #fff; color: var(--tinta); border-radius: 22px; border-bottom: 10px solid var(--traco); padding: 1rem 1.2rem; display: flex; flex-direction: column; }
.previa-item a { color: var(--anil); }
.previa-item p:last-child { margin: auto 0 0; }
.previa-vazio { font: 400 1.5rem var(--titulo); color: #5C5877; }
.previa-lider { display: flex; gap: .8rem; align-items: center; margin-bottom: .8rem; }
.previa-lider p { margin: 0; display: flex; flex-direction: column; }

.cartoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 2rem 1.5rem; }
.cartao a { text-decoration: none; color: var(--tinta); display: block; }
.cartao a:hover h2, .cartao a:hover h3 { text-decoration: underline; }
.cartao-arte { width: 100%; border-radius: 22px; border-bottom: 10px solid var(--traco); margin-bottom: .7rem; display: block; }
.cartao h2, .cartao h3 { font-size: 1.28rem; margin: 0 0 .3rem; }
.cartao p { margin: 0 0 .3rem; }
.cartao-cat { font-size: .98rem; font-weight: 700; color: #56526F; }
.minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.2rem; }
.mini { text-align: center; background: var(--clara); border-radius: 26px; padding: .8rem; }
.mini a { text-decoration: none; color: var(--tinta); display: block; }
.mini h3 { font-size: 1.12rem; margin: .3rem 0; }
.mini p { font-size: .98rem; margin: 0; }
.mini-arte { width: 150px; }
.blocos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.bloco { grid-column: span 2; background: var(--cor); color: var(--sobre); border-radius: 28px; padding: 1rem 1.2rem 1.3rem; text-decoration: none; display: flex; flex-direction: column; gap: .5rem; }
.bloco:nth-child(n+4) { grid-column: span 3; }
.bloco:hover { color: var(--sobre); transform: translateY(-3px); }
.bloco-arte { width: 100%; max-width: 280px; align-self: center; border-radius: 18px; }
.bloco-nome { font: 800 1.3rem/1.15 var(--titulo); }
.contagem { max-width: 52rem; text-align: center; margin-bottom: 3rem; }

/* texto corrido */
.texto { max-width: 46rem; min-width: 0; }
.faixa.texto { max-width: min(46rem, 100% - 2.2rem); }
.texto h2 { font-size: 1.7rem; scroll-margin-top: 1rem; }
.texto > h2:first-child { margin-top: 0; }
.texto li { margin-bottom: .45rem; }
.rolagem { overflow-x: auto; margin: 1.2rem 0; }
.texto table { width: 100%; border-collapse: collapse; background: #fff; font-size: 1.02rem; }
.texto th, .texto td { border: 2px solid var(--linha); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.texto th { background: #FFEFC0; font-family: var(--titulo); }
.texto blockquote, .texto .exemplo { margin: 1.2rem 0; background: #fff; border-left: 8px solid var(--folha); border-radius: 0 16px 16px 0; padding: .9rem 1.2rem; }
.texto blockquote p:last-child, .texto .exemplo > :last-child { margin-bottom: 0; }
.letra { font-size: 1.3rem; line-height: 1.7; font-style: italic; }
.nota { font-size: 1rem; color: #56526F; }
.passos { counter-reset: passo; list-style: none; padding: 0; }
.passos li { counter-increment: passo; position: relative; padding-left: 2.8rem; min-height: 2.1rem; }
.passos li::before { content: counter(passo); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--sol); font: 800 1.1rem/2rem var(--titulo); text-align: center; }
.intro { font-size: 1.24rem; }
.dicas { background: #FFEFC0; border-radius: 26px 26px 26px 6px; padding: 1.1rem 1.5rem; margin: 2rem 0; scroll-margin-top: 1rem; }
.dicas h2 { margin-top: 0; }
.erros { display: grid; gap: .8rem; }
.erros div { background: #fff; border-radius: 16px; padding: .8rem 1.1rem; border: 2px solid var(--linha); }
.erros dt { font-weight: 900; }
.erros dd { margin: .2rem 0 0; }
.faq details { background: #fff; border: 2px solid var(--linha); border-radius: 16px; padding: .75rem 1.1rem; margin-bottom: .6rem; }
.faq summary { font-weight: 900; cursor: pointer; }
.faq details p { margin: .6rem 0 0; }
.chamada-voto { background: var(--anil); color: #fff; border-radius: 28px; padding: 1.2rem 1.5rem; margin: 2.2rem 0; }
.chamada-voto h2 { margin-top: 0; }
.chamada-voto :focus-visible { outline-color: var(--sol); }
.citadas { list-style: none; display: flex; flex-wrap: wrap; gap: .8rem; padding: 0; margin: 0; }
.citadas a { display: flex; align-items: center; gap: .5rem; background: #fff; color: var(--tinta); border-radius: 999px; padding: .25rem 1rem .25rem .3rem; text-decoration: none; font-weight: 700; }
.citadas img { width: 56px; }
.citadas li { margin: 0; }
.fontes { font-size: 1rem; padding-left: 1.2rem; overflow-wrap: anywhere; }
.fontes span { display: block; color: #56526F; }
.indice details { background: #fff; border: 2px solid var(--linha); border-radius: 18px; padding: .8rem 1rem; font-size: 1rem; }
.indice summary { font: 800 1.05rem var(--titulo); cursor: pointer; }
.indice ul { list-style: none; padding: 0; margin: .5rem 0 0; }
.indice li { margin: 0; }
.indice a { display: block; padding: .28rem 0; text-decoration: none; }
.indice a:hover { text-decoration: underline; }
.texto-categoria { margin-top: 1.8rem; }
.atualizado { font-size: .98rem; color: #56526F; margin: 2.5rem 0; }

.busca { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; margin-top: 1rem; }
.busca label { flex: 1 1 15rem; }
.busca input, .busca select { width: 100%; border-color: #fff; }
.conta { font-weight: 700; }
.sem-resultado { background: #fff; border-radius: 16px; padding: 1rem 1.2rem; }

.contato { display: grid; gap: 1rem; margin: 1.5rem 0 3rem; }
.contato label { display: grid; gap: .25rem; font-weight: 700; }
.contato button { justify-self: start; }
.erro404 { text-align: center; padding-block: 2rem 3rem; }
.erro404 img { border-radius: 28px; }
.vazio { text-align: center; max-width: 32rem; margin: 2rem auto; }
.vazio img { border-radius: 28px; }
.folha { padding-top: 1.5rem; padding-bottom: 2rem; }
.folha-item { background: #fff; border-radius: 24px; border-left: 12px solid var(--traco); padding: 1rem 1.4rem; margin-bottom: 1.2rem; display: flow-root; }
.folha-item h2 { font-size: 1.15rem; margin: 0 0 .4rem; }
.folha-item h3 { font-size: 1.7rem; margin: 0 0 .2rem; }
.folha-arte { float: right; width: 120px; margin-left: 1rem; }
.folha-rotulo { font-weight: 900; margin: 0; }
.folha-fim { display: none; }

.rodape { background: var(--tinta); color: #EDEAFB; margin-top: 3.5rem; font-size: 1.04rem; }
.rodape .bandeirinhas { height: 52px; background: url('/assets/arte/bandeirinhas.svg') repeat-x top center / 260px 52px; }
.rodape a { color: #fff; text-decoration: none; }
.rodape a:hover { color: var(--sol); text-decoration: underline; }
.rodape h2 { font-size: 1.15rem; margin: 0 0 .6rem; color: var(--sol); }
.rodape ul { list-style: none; padding: 0; margin: 0; }
.rodape li { margin-bottom: .3rem; }
.rodape-colunas { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 2rem; padding-block: 1.2rem; }
.rodape-marca { font: 800 1.5rem var(--titulo); margin-bottom: .4rem; }
.rodape-fim { border-top: 1px solid #4A4766; padding-block: 1rem; margin-bottom: 0; }

@media (max-width: 999px) {
  .js .menu-botao { display: block; }
  .js .menu { display: none; }
  .js .menu.aberto { display: flex; }
  .menu { flex-direction: column; align-items: stretch; width: 100%; gap: .6rem; }
  .menu > nav > ul { flex-direction: column; align-items: stretch; }
  .com-lista ul { position: static; width: auto; box-shadow: none; margin-top: .3rem; }
  .busca-topo input { flex: 1; width: auto; }
}
@media (max-width: 860px) {
  .abertura-grade { grid-template-columns: 1fr; text-align: center; gap: .6rem; padding-top: 3.4rem; }
  .abertura-texto p { margin-inline: auto; font-size: 1.12rem; }
  .botoes { justify-content: center; }
  .abertura-roda { max-width: 400px; }
  .abre { padding-top: 2.9rem; padding-bottom: 1.1rem; }
  .abre-grade { grid-template-columns: 1fr; gap: .8rem; }
  .migalhas li:last-child { display: none; }
  .abre-arte { width: 136px; justify-self: center; order: -1; }
  .abre-artigo .abre-arte, .p-categoria .abre-arte { width: 100%; max-width: 340px; height: 128px; object-fit: cover; object-position: center 78%; order: -1; border-width: 4px; }
  .ficha div { padding: .3rem .65rem; }
  .uso, .uso:nth-of-type(odd) { grid-template-columns: 1fr; gap: .6rem; }
  .uso:nth-of-type(odd) .uso-arte { order: 0; }
  .uso-arte { max-width: 360px; }
  .blocos { grid-template-columns: 1fr; }
  .bloco, .bloco:nth-child(n+4) { grid-column: auto; }
  .rodape-colunas { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 1.08rem; }
  .abertura h1 { font-size: 2.05rem; }
  .botao-grande { font-size: 1.08rem; padding: .8rem 1.2rem; }
  .cand, .cand label { grid-template-columns: 88px 1fr; }
  .cand-arte { width: 88px; }
  .rodape-colunas { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .bloco:hover { transform: none; }
}

@media print {
  @page { margin: 12mm; }
  body { background: #fff; font-size: 11pt; }
  .topo, .rodape, .pular, .nao-imprime, .migalhas, .limites, .botao, .abre p, .selo + .cand-como, #avisos { display: none !important; }
  .abre { background: none; color: #000; border: 0; padding: 0; }
  .faixa { width: 100%; }
  .folha-item, .placar-grupo { break-inside: avoid; border-radius: 8px; border: 1.5pt solid #444; margin: 0 0 4mm; padding: 3mm 4mm; }
  .folha { padding: 0; font-size: 9.5pt; line-height: 1.35; }
  .folha h1 { font-size: 18pt; margin-bottom: 3mm; }
  .folha-item { margin-bottom: 2.5mm; padding: 2mm 4mm; }
  .folha-item h2 { font-size: 9.5pt; margin: 0; }
  .folha-item h3 { font-size: 13pt; margin: 0; }
  .folha-item p { margin: 0 0 .5mm; }
  .folha-item ol { margin: 0; }
  .folha-item li { margin: 0; }
  .folha-arte { width: 19mm; }
  .folha-fim { margin: 0; }
  .selo { font-size: 7.5pt; padding: 0 1.5mm; }
  .folha-fim { display: block; text-align: right; font-weight: 700; }
  .aneis { grid-template-columns: repeat(6, 1fr); gap: 2mm; }
  .anel-desenho svg { width: 20mm; height: 20mm; }
  .anel-numero { font-size: 14pt; }
  .anel-fundo, .anel-valor { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .anel-valor { stroke: #222; }
  .aneis li { padding: 0; font-size: 9pt; }
  .aneis li.meu .selo { background: none; color: #000; border: 1pt solid #000; }
  a { color: #000; text-decoration: none; }
}

/* ===== quintal inteiro: página inicial ===== */
.p-inicio .abertura::after { background: linear-gradient(#E4AA70, #D9975F); }

.terreiro { position: relative; isolation: isolate; overflow: hidden; padding: 0 0 3.2rem; background: url('/assets/arte/chao.svg') repeat top left / 360px, linear-gradient(#D9975F, #CB8650 45%, #B8713F); }
.terreiro .cerca { height: 100px; background: url('/assets/arte/borda-cerca.svg') repeat-x bottom left / 240px 100px; margin-top: -8px; }
.terreiro .arvore { position: absolute; z-index: -1; width: 270px; filter: drop-shadow(0 16px 12px rgba(60,25,5,.35)); }
.terreiro .arvore-e { left: -92px; top: 190px; }
.terreiro .arvore-d { right: -92px; bottom: 90px; }
.terreiro .grupo { margin: .6rem 0 1.6rem; }
.terreiro .grupo-cabeca { position: relative; width: fit-content; max-width: 100%; margin: 1.8rem auto 1.4rem; text-align: center; padding: .9rem 2.4rem .7rem; border-radius: 18px; border: 4px solid #4E2810; color: #fff; background: repeating-linear-gradient(0deg, transparent 0 17px, rgba(0,0,0,.16) 17px 19px), linear-gradient(#93561F, #74401A); box-shadow: 0 10px 0 rgba(70,35,10,.35); }
.terreiro .grupo-cabeca::before, .terreiro .grupo-cabeca::after { content: ''; position: absolute; top: -30px; width: 6px; height: 28px; background: #F3DDB4; border-radius: 3px; }
.terreiro .grupo-cabeca::before { left: 18%; }
.terreiro .grupo-cabeca::after { right: 18%; }
.terreiro .miolo { background: #FFF8EC; }
.terreiro .cand { border: 0; box-shadow: 0 6px 0 rgba(90,45,12,.45); }
.terreiro .cand:has(input:checked) { outline: 4px solid var(--sol); }
.terreiro .botao-sol { margin-top: .4rem; }

@media (min-width: 960px) {
  .terreiro .roda:not(.filtrado) { width: 960px; height: 1060px; margin: 6px auto 0; background: url('/assets/arte/chao-roda.svg') no-repeat center / 100% 100%; }
  .terreiro .roda:not(.filtrado)::before { content: none; }
  .terreiro .roda:not(.filtrado) .cand { width: 224px; background: none; box-shadow: none; border-radius: 0; padding: 0 .8rem .8rem; z-index: 1; }
  .terreiro .roda:not(.filtrado) .cand::before { content: ''; position: absolute; z-index: -1; inset: 86px 0 0; background: #FFF8EC; border-radius: 28px; box-shadow: 0 8px 0 rgba(90,45,12,.5); }
  .terreiro .roda:not(.filtrado) .cand:has(input:checked) { outline: 0; }
  .terreiro .roda:not(.filtrado) .cand:has(input:checked)::before { background: var(--clara); box-shadow: 0 0 0 5px var(--traco), 0 12px 0 rgba(90,45,12,.5); }
  .terreiro .roda:not(.filtrado) .cand:has(input:focus-visible)::before { outline: 4px solid var(--anil); outline-offset: 4px; }
  .terreiro .roda:not(.filtrado) .cand:has(input:focus-visible) { outline: 0; }
  .terreiro .roda:not(.filtrado) .cand-arte { width: 150px; filter: drop-shadow(0 12px 9px rgba(60,25,5,.35)); transition: transform .18s; }
  .terreiro .roda:not(.filtrado) .cand label:hover .cand-arte { transform: translateY(-6px) rotate(-3deg); }
  .terreiro .roda:not(.filtrado) .miolo { width: 306px; border: 12px solid #EBCB96; box-shadow: 0 0 0 5px #8A4F27, 0 18px 0 rgba(70,35,10,.4); padding: 1.1rem 1.6rem; }
  .terreiro .roda:not(.filtrado) .miolo::before { content: ''; flex: none; width: 92px; height: 86px; background: url('/assets/arte/tambor.svg') no-repeat center / contain; }
}

.p-inicio .usos { margin-top: 0; padding: 1.4rem 0 3rem; background: radial-gradient(circle at 20px 20px, rgba(255,255,255,.12) 3px, transparent 4px) 0 0 / 40px 40px, linear-gradient(#2E8B62, #1F6F4B); color: #fff; }
.p-inicio .usos > .faixa > h2 { text-align: center; }
.p-inicio .uso, .p-inicio .uso:nth-of-type(odd) { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 0; margin-top: 2rem; align-items: center; }
.p-inicio .uso:nth-of-type(odd) { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
.p-inicio .uso-arte { width: 100%; border: 8px solid #FFF8EC; border-radius: 30px; box-shadow: 0 12px 0 rgba(10,50,30,.45); position: relative; z-index: 1; }
.p-inicio .uso > div { background: #FFF8EC; color: var(--tinta); padding: 1.5rem 2rem 1.2rem 2.6rem; border-radius: 0 28px 28px 0; margin-left: -14px; }
.p-inicio .uso:nth-of-type(odd) > div { border-radius: 28px 0 0 28px; margin: 0 -14px 0 0; padding: 1.5rem 2.6rem 1.2rem 2rem; }
.p-inicio .uso h3 { font-size: 1.7rem; }
.p-inicio .uso:nth-of-type(odd) .uso-arte { transform: rotate(1.2deg); }
.p-inicio .uso:nth-of-type(even) .uso-arte { transform: rotate(-1.2deg); }

.p-inicio .previa { margin-top: 0; padding: 1.4rem 0 3rem; background: url('/assets/arte/bandeirinhas.svg') repeat-x top / 300px 60px, linear-gradient(#222C6E, #3A4AA8); }
.p-inicio .previa .faixa > h2 { text-align: center; margin-top: 2.4em; }
.p-inicio .previa-grade { position: relative; padding-top: 34px; gap: 1.3rem; }
.p-inicio .previa-grade::before { content: ''; position: absolute; left: -2vw; right: -2vw; top: 22px; height: 5px; background: #F3DDB4; border-radius: 3px; }
.p-inicio .previa-item { position: relative; transform: rotate(-1.4deg); transform-origin: top center; box-shadow: 0 12px 0 rgba(8,12,50,.45); min-height: 13rem; text-align: center; }
.p-inicio .previa-item:nth-child(even) { transform: rotate(1.4deg); }
.p-inicio .previa-item::before { content: ''; position: absolute; left: 50%; top: -26px; width: 20px; height: 46px; margin-left: -10px; border-radius: 6px; background: linear-gradient(90deg, #E9B68A, #C98552 48%, #5A3119 50%, #C98552 54%, #8A4F27); box-shadow: 0 3px 5px rgba(0,0,0,.35); }
.p-inicio .previa-item h3 { margin-top: .6rem; }
.p-inicio .previa-lider { justify-content: center; text-align: left; }

.p-inicio .cartao { background: #fff; border-radius: 26px; overflow: hidden; box-shadow: 0 10px 0 #E5D2AC; transition: transform .18s; }
.p-inicio .cartao:hover { transform: translateY(-5px); }
.p-inicio .cartao-arte { border-radius: 0; margin-bottom: .8rem; border-bottom-width: 8px; aspect-ratio: 400 / 270; }
.p-inicio .cartao h3, .p-inicio .cartao p { padding-inline: 1.1rem; }
.p-inicio .cartao h3 { font-size: 1.38rem; }
.p-inicio .cartao .cartao-cat { padding-bottom: .9rem; }
.p-inicio .bloco { padding: 0 0 1.2rem; overflow: hidden; box-shadow: 0 10px 0 rgba(60,30,10,.22); }
.p-inicio .bloco-arte { max-width: none; border-radius: 0; margin-bottom: .4rem; height: 260px; object-fit: cover; object-position: bottom; }
.p-inicio .bloco > span { padding-inline: 1.3rem; }

.p-inicio .contagem { margin-top: 3rem; }
.bichinhos { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin: 0; }
.bichinhos img { width: 96px; filter: drop-shadow(0 8px 6px rgba(60,25,5,.25)); }
.bichinhos img:nth-child(even) { transform: translateY(14px); }
.p-inicio .contagem h2 { margin-top: 1.4rem; }
.p-inicio .rodape { margin-top: 0; }

@media (max-width: 959px) {
  .terreiro .arvore { display: none; }
  .terreiro .cerca { height: 70px; background-size: 168px 70px; }
}
@media (max-width: 860px) {
  .p-inicio .uso, .p-inicio .uso:nth-of-type(odd) { grid-template-columns: 1fr; }
  .p-inicio .uso-arte, .p-inicio .uso:nth-of-type(odd) .uso-arte { order: 0; max-width: none; transform: none; }
  .p-inicio .uso > div, .p-inicio .uso:nth-of-type(odd) > div { margin: -14px 10px 0; border-radius: 0 0 26px 26px; padding: 1.8rem 1.2rem .8rem; }
  .p-inicio .previa-grade::before, .p-inicio .previa-item::before { display: none; }
  .p-inicio .previa-item, .p-inicio .previa-item:nth-child(even) { transform: none; min-height: 0; }
  .p-inicio .bloco-arte { height: 220px; }
}

/* ===== quintal inteiro: demais páginas ===== */
.terreiro-noite { background: url('/assets/arte/chao-noite.svg') repeat top left / 360px, linear-gradient(#3A4AA8, #232C68 55%, #1A2260); }
.terreiro-jardim { background: url('/assets/arte/chao-grama.svg') repeat top left / 360px, linear-gradient(#3C9D6C, #1F6F4B); }
.terreiro-tarde { background: url('/assets/arte/chao.svg') repeat top left / 360px, linear-gradient(#F08A5E, #D2763F 40%, #9A5128); }
.terreiro-noite .cand, .terreiro-noite .grupo-cabeca { box-shadow: 0 8px 0 rgba(5,8,40,.6); }
.terreiro .arvore-e[src*="lua"] { width: 190px; left: 1.5%; top: 130px; filter: drop-shadow(0 0 28px rgba(255,214,102,.55)); }
.terreiro .arvore-d[src*="lampiao"] { width: 200px; right: -30px; }
.terreiro .grupo .aviso { max-width: 40rem; margin-inline: auto; }
.p-votacao .filtros-caixa { margin-bottom: 1.4rem; }
.p-votacao .terreiro:first-of-type { margin-top: .5rem; }
.p-votacao .terreiro .grupo { margin-bottom: 0; }
.p-votacao .terreiro { padding-bottom: 2.4rem; }

/* topo com cenário: o texto fica numa placa, sempre legível */
.abre.cena { background: var(--clara, #FFF8EC) center bottom / cover no-repeat; color: var(--tinta); padding: 2.6rem 0 1.8rem; }
.abre.cena-quintal { background-image: url('/assets/arte/fundo-quintal.svg'); }
.abre.cena-tarde { background-image: url('/assets/arte/fundo-tarde.svg'); }
.abre.cena-noite { background-image: url('/assets/arte/fundo-noite.svg'); }
.abre.cena-jardim { background-image: url('/assets/arte/fundo-jardim.svg'); }
.abre.cena-sala { background-image: url('/assets/arte/fundo-sala.svg'); }
.abre.cena-escola { background-image: url('/assets/arte/fundo-escola.svg'); }
.abre.cena .placa { background: #FFF8EC; border-radius: 30px; padding: 1.5rem 1.9rem 1.1rem; box-shadow: 0 10px 0 rgba(35,33,58,.28); }
.abre.cena .placa p { max-width: 36em; font-weight: 400; }
.abre.cena .placa p.assinatura { color: var(--tinta); }
.abre.cena .placa a { color: var(--anil); }
.abre.cena .placa :focus-visible { outline-color: var(--anil); }
.abre.cena .abre-arte { width: clamp(200px, 24vw, 300px); height: auto; border: 0; border-radius: 0; align-self: end; filter: drop-shadow(0 16px 12px rgba(30,15,5,.4)); }
.abre.cena.abre-cantiga .abre-arte { align-self: center; border-radius: 50%; }
.abre.cena .ficha div { background: var(--clara, #fff); border: 2px solid var(--linha); }

/* a letra numa folha presa no varal */
.p-cantiga .texto blockquote.letra { position: relative; border: 0; border-radius: 6px 6px 28px 28px; margin: 3.4rem .6rem 1rem; padding: 2rem 2.2rem 1.6rem; background: repeating-linear-gradient(transparent 0 calc(1.7em - 2px), #DCE4F5 calc(1.7em - 2px) 1.7em) 0 1.2rem, #fff; box-shadow: 0 10px 0 var(--linha), 0 0 0 2px var(--linha); }
.p-cantiga .texto blockquote.letra::before { content: ''; position: absolute; left: -1.2rem; right: -1.2rem; top: -14px; height: 4px; border-radius: 3px; background: #8A4F27; }
.p-cantiga .texto blockquote.letra::after { content: ''; position: absolute; left: 0; right: 0; top: -30px; height: 46px; background: linear-gradient(90deg, #E9B68A, #C98552 48%, #5A3119 50%, #C98552 54%, #8A4F27) 12% 0 / 18px 100% no-repeat, linear-gradient(90deg, #E9B68A, #C98552 48%, #5A3119 50%, #C98552 54%, #8A4F27) 88% 0 / 18px 100% no-repeat; pointer-events: none; }

/* quadro de recados das dicas */
.dicas { position: relative; border: 10px solid #A8693A; border-radius: 22px; box-shadow: 0 10px 0 #7A4220; }
.dicas::before, .dicas::after { content: ''; position: absolute; top: .6rem; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FF8A78, #E4473C 55%, #8F2018); box-shadow: 0 3px 3px rgba(0,0,0,.35); }
.dicas::before { left: .7rem; }
.dicas::after { right: .7rem; }

/* placar no varal */
.p-placar .placar-grupo { background: linear-gradient(#D5EEFA, #F4FBFF); box-shadow: 0 10px 0 #BFD8E8; }
.p-placar .aneis { gap: 2.2rem .9rem; padding-top: 1.4rem; }
.p-placar .aneis li { position: relative; background: #fff; border-radius: 6px 6px 20px 20px; padding: 1.2rem .5rem .9rem; box-shadow: 0 8px 0 #BFD8E8; transform: rotate(-1.2deg); transform-origin: top center; justify-content: flex-start; }
.p-placar .aneis li:nth-child(even) { transform: rotate(1.2deg); }
.p-placar .aneis li.meu { background: var(--clara); box-shadow: 0 0 0 4px var(--traco), 0 12px 0 #BFD8E8; }
.p-placar .aneis li::before { content: ''; position: absolute; left: -.6rem; right: -.6rem; top: -8px; height: 4px; background: #8A4F27; }
.p-placar .aneis li::after { content: ''; position: absolute; left: 50%; top: -22px; width: 17px; height: 38px; margin-left: -8px; border-radius: 6px; background: linear-gradient(90deg, #E9B68A, #C98552 48%, #5A3119 50%, #C98552 54%, #8A4F27); box-shadow: 0 3px 5px rgba(0,0,0,.3); }

@media (max-width: 860px) {
  .abre.cena { padding-top: 1.6rem; }
  .abre.cena .placa { padding: 1.1rem 1.1rem .6rem; border-radius: 22px; }
  .abre.cena .abre-arte, .abre.cena.abre-artigo .abre-arte, .p-categoria .abre.cena .abre-arte { width: 140px; max-width: 140px; height: auto; object-fit: contain; border: 0; order: -1; justify-self: center; align-self: center; }
}
@media screen and (max-width: 520px) {
  .p-placar .placar-grupo { padding-inline: .9rem; }
  .p-placar .aneis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem .8rem; }
}
@media print {
  .p-placar .placar-grupo { background: #fff; box-shadow: none; }
  .p-placar .aneis { gap: 2mm; padding-top: 0; }
  .p-placar .aneis li, .p-placar .aneis li:nth-child(even) { transform: none; box-shadow: none; padding: 0; background: #fff; }
  .p-placar .aneis li.meu { box-shadow: none; outline: 1pt solid #222; }
  .p-placar .aneis li::before, .p-placar .aneis li::after { display: none; }
}

/* ===== legibilidade ===== */
@media screen {
  body { font-size: 1.25rem; line-height: 1.6; text-rendering: optimizeLegibility; }
  p { margin-bottom: 1.1em; }

  /* título grosso só no tamanho grande; menor que isso, a versão fina não embola */
  h2, h3, .botao, .cand-nome, .selo, .bloco-nome, .indice summary, .rodape h2, .menu-botao, .busca-topo button,
  .filtros-caixa summary, .anel-numero, .previa-vazio { font-weight: 400; }
  h2 { line-height: 1.22; }
  h3 { font-size: 1.4rem; line-height: 1.22; }
  .botao { font-size: 1.2rem; letter-spacing: .01em; }
  .botao-grande { font-size: 1.28rem; }

  /* linhas de 60 a 70 letras */
  .texto { max-width: 33em; }
  .faixa.texto { max-width: min(33em, 100% - 2.2rem); }
  .contagem { max-width: 38em; }
  .texto li { margin-bottom: .6rem; }

  /* nada de leitura abaixo de 18px */
  .migalhas ol, .assinatura, .cartao-cat, .mini p, .fontes, .nota, .indice details, .caixa-links, .filtros-conta,
  .limpar p, .atualizado, .anel-texto, .anel-posicao, .texto table, .confirma, .rodape { font-size: 1.125rem; }
  .ficha dt { font-size: 1.0625rem; }
  .menu-botao, .indice summary { font-size: 1.2rem; }
  .menu a, .menu summary { font-size: 1.2rem; }
  .cand p, .cand-link { font-size: 1.125rem; line-height: 1.4; }
  .selo { font-size: 1.0625rem; }
  .cand-nome { font-size: 1.35rem; }
  .cartao h2, .cartao h3 { font-size: 1.4rem; }
  .mini h3 { font-size: 1.25rem; }
  .intro { font-size: 1.12em; }
  .letra { font-size: 1.3em; }

  /* contraste */
  .cand-pessoas, .cartao-cat, .nota, .atualizado, .fontes span, .ficha dt, .previa-vazio { color: #403C58; }
  .abertura-texto p, .abre p, .previa, .rodape, .p-inicio .usos > .faixa > h2 { font-weight: 700; }
  .abre p.assinatura { font-weight: 400; color: #fff; }
  .rodape { color: #fff; }
  .rodape a { font-weight: 400; }
  .rodape li { margin-bottom: .55rem; }
  .indice a { line-height: 1.35; padding: .4rem 0; }
  .mini { padding-inline: .7rem; }
}

@media screen and (min-width: 960px) {
  .terreiro .roda:not(.filtrado), .roda:not(.filtrado) { height: 1200px; }
  .terreiro .roda:not(.filtrado) .cand, .roda:not(.filtrado) .cand { width: 244px; }
  .terreiro .roda:not(.filtrado) .miolo, .roda:not(.filtrado) .miolo { width: 326px; }
  .roda:not(.filtrado) .miolo .estado { font-size: 1.15rem; line-height: 1.35; }
  .roda:not(.filtrado) .miolo .confirma { font-size: 1.0625rem; }
}

@media screen and (min-width: 900px) {
  .duas-colunas { justify-content: center; }
  .artigo-colunas { grid-template-columns: 290px minmax(0, 33em); column-gap: 3rem; }
}

@media screen and (max-width: 520px) {
  body { font-size: 1.1875rem; }
  .abertura h1 { font-size: 2.1rem; }
}
