/* =========================================================================
   Componentes didáticos (capa, páginas e padrões de bloco do editor)
   Usados também no editor de blocos: não dependem do cabeçalho do tema.
   ========================================================================= */

:root {
	--c-verde: #1f6b58;
	--c-verde-escuro: #0b3130;
	--c-verde-claro: #eaf0e3;
	--c-indigo: #40357f;
	--c-indigo-claro: #ebe9f5;
	--c-vermelho: #c23b32;
	--c-vermelho-claro: #fbe9e7;
	--c-ouro: #f2c230;
	--c-texto: #1d2726;
	--c-muted: #5d6765;
	--c-linha: #dfe3e0;
	--c-fundo: #f2f4f2;
	--c-fundo-3: #e8ecea;
	--c-laranja: #d9661c;
	--c-amarelo: #b07d0a;
}

/* Temas clássicos: o bloco Grupo ganha um div interno; ele não pode quebrar a grade. */
:is(.faq, .icon-cards, .icon-card, .stats, .stat, .callout, .contact-card, .help-cta, .help-cta-copy) > .wp-block-group__inner-container { display: contents; }

/* ---------- Passo a passo (lista numerada) ---------- */
/* Lista ordenada de verdade: a ordem vem da posição, sem números decorativos.
   Cada passo é um bloco de tom sobre o fundo, com a onda (o rio) como marca. */
.steps { list-style: none; counter-reset: passo; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.steps > li { --c: var(--c-laranja); counter-increment: passo; display: flex; flex-direction: column; gap: .5rem; margin: 0; padding: 28px 26px; background: #fff; border: 1px solid var(--c-linha); border-radius: 22px; transition: transform .25s, border-color .25s; }
.steps > li:hover { transform: translateY(-4px); border-color: #c9d3cf; }
.steps > li:nth-child(4n+2) { --c: var(--c-indigo); }
.steps > li:nth-child(4n+3) { --c: var(--c-vermelho); }
.steps > li:nth-child(4n+4) { --c: var(--c-amarelo); }
.steps > li::before { content: counter(passo, decimal-leading-zero); font-size: 2.9rem; font-weight: 600; line-height: 1; letter-spacing: -.02em; color: var(--c); margin-bottom: .5rem; font-variant-numeric: tabular-nums; }
.steps h3, .steps strong:first-child { display: block; margin: 0; font-size: 1.25rem; color: var(--c-verde-escuro); }
.steps p { margin: 0; color: var(--c-texto); font-size: 1rem; }
.steps > li > p:last-of-type:not(:only-of-type) { flex: 1; }
.steps .link-more { margin-top: auto; padding-top: .4rem; }

/* ---------- Perguntas frequentes (details) ---------- */
.faq { display: grid; gap: 10px; align-content: start; margin: 0 0 1.5rem; }
.faq-item { margin: 0; border: 1px solid var(--c-linha); border-radius: 16px; background: var(--c-fundo); transition: background .2s; }
.faq-item:hover { background: var(--c-fundo-3); }
.faq-item[open] { background: var(--c-verde-claro); }
.faq-item > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; font-weight: 500; font-size: 1.125rem; color: var(--c-verde-escuro); border-radius: 16px; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; color: var(--c-verde); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0v12M0 6h12' stroke='%231f6b58' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .25s; }
.faq-item[open] > summary::after { transform: rotate(45deg); }
.faq-item > :not(summary) { margin: 0 1.2rem 1rem; font-size: 1rem; }
.faq-item > div > :last-child { margin-bottom: 0; }

/* ---------- Cartões com ícone ---------- */
.icon-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0 0 1.5rem; }
.icon-cards .icon-card { margin: 0 !important; }
.icon-card { --c: var(--c-verde); position: relative; display: flex; flex-direction: column; gap: .4rem; padding: 24px 22px; background: var(--c-fundo); border: 1px solid var(--c-linha); border-radius: 20px; transition: transform .25s, background .25s; }
.icon-card::before { content: ""; width: 28px; height: 28px; margin-bottom: .4rem; background: var(--c); -webkit-mask: var(--icone, none) center / contain no-repeat; mask: var(--icone, none) center / contain no-repeat; }
.icon-card:not([class*="icone-"])::before { display: none; }
.icon-card:hover { transform: translateY(-4px); background: var(--c-fundo-3); }
.icon-card h3, .icon-card h4 { margin: 0; font-size: 1.125rem; color: var(--c-verde-escuro); }
.icon-card p { margin: 0; font-size: .9375rem; color: var(--c-texto); }
.icon-card p:last-child a { font-weight: 500; text-decoration: none; }
.icon-card p:last-child a:hover { text-decoration: underline; }
/* o cartão inteiro clicável quando tem um único link */
.icon-card.is-link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- Números em destaque ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin: 0 0 1.5rem; }
.stats .stat, .stats > :not(.wp-block-group__inner-container) { margin: 0 !important; padding: 22px 20px; background: var(--c-fundo); border: 1px solid var(--c-linha); border-radius: 20px; }
.stats .stat-num { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; color: var(--c-verde); font-variant-numeric: tabular-nums; }
.stats .stat-label { margin: .35rem 0 0; font-size: .9375rem; color: var(--c-texto); }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats .stat, .stats > :not(.wp-block-group__inner-container) { padding: 18px 16px; } }

/* ---------- Lista de documentos para baixar ---------- */
.doc-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 8px; }
.doc-list li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; margin: 0; padding: 12px 52px 12px 14px; background: var(--c-fundo); border: 1px solid var(--c-linha); border-radius: 14px; font-size: .9375rem; color: var(--c-muted); transition: background .2s; }
.doc-list li::before { content: ""; grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c23b32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6v18h12V7zM14 3v4h4M9 13h6M9 17h6'/%3E%3C/svg%3E") center / 22px no-repeat; }
.doc-list li::after { content: ""; position: absolute; right: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324713f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; }
.doc-list li:hover { background: var(--c-fundo-3); }
.doc-list a { font-weight: 500; color: var(--c-verde-escuro); text-decoration: none; overflow-wrap: anywhere; }
.doc-list a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.doc-list a:hover { text-decoration: underline; }
.doc-list a:focus-visible { outline: none; }
.doc-list li:focus-within { outline: 3px solid var(--c-ouro); outline-offset: 2px; }
.doc-list br { display: none; }
.doc-list small, .doc-list em { grid-column: 2; font-size: .8125rem; font-style: normal; }

/* ---------- Caixas de aviso e declaração ---------- */
.callout { position: relative; margin: 0 0 1.5rem; padding: 20px 22px 20px 70px; border: 1px solid var(--c-linha); border-radius: 16px; background: var(--c-fundo); }
.callout::before { content: ""; position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--c-verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E") center / 20px no-repeat; }
.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.callout h2, .callout h3, .callout h4 { font-size: 1.125rem; margin: 0 0 .4rem; }
.callout-alerta { background: #fff3c2; }
.callout-alerta::before { background-color: #9a6b00; }
.callout-declaracao { background: var(--c-indigo-claro); }
.callout-declaracao::before { background-color: var(--c-indigo); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6v18h12V7zM14 3v4h4M9 14l2 2 4-4'/%3E%3C/svg%3E"); }
.callout-declaracao .assinatura { margin-top: 1rem; font-size: .9375rem; color: var(--c-muted); }

/* ---------- Linha do tempo ---------- */
ol.timeline { list-style: none; margin: 0 0 1.5rem; padding: 0 0 0 28px; position: relative; }
ol.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--c-linha); }
ol.timeline > li { position: relative; margin: 0 0 1.1rem; font-size: .9375rem; color: var(--c-texto); }
ol.timeline > li::before { content: ""; position: absolute; left: -26px; top: .35em; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--c-verde); }
ol.timeline > li:last-child::before { background: var(--c-verde); }
ol.timeline strong { display: block; color: var(--c-verde-escuro); font-size: 1.125rem; }

/* ---------- Cartão de contato (secretarias, setores) ---------- */
.contact-card { margin: 0 0 1.5rem; padding: 22px 24px; border: 1px solid var(--c-linha); border-radius: 20px; background: var(--c-fundo); }
.contact-card h3 { margin: 0 0 .2rem; font-size: 1.125rem; color: var(--c-verde-escuro); }
.contact-card .titular { margin: 0 0 .8rem; font-weight: 500; color: var(--c-indigo); }
.contact-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: .9375rem; }
.contact-card li { margin: 0; }

/* ---------- Chamada de ajuda (e-SIC / Ouvidoria) ---------- */
.help-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin: 0 0 1.5rem; padding: 24px 28px; border-radius: 24px; background: var(--c-verde-escuro); color: #d5e6db; }
.help-cta h2, .help-cta h3 { color: #fff; margin: 0 0 .25rem; font-size: 1.2rem; }
.help-cta p { margin: 0; }
.help-cta > :first-child { flex: 1 1 320px; }
.help-cta .wp-block-buttons { display: flex; flex-wrap: wrap; margin: 0; gap: 8px; }
.help-cta a { color: #fff; }
.help-cta .wp-block-button__link { display: inline-block; border-radius: 999px; background: #fff; color: var(--c-verde-escuro); font-weight: 500; font-size: .9375rem; padding: .75rem 1.2rem; text-decoration: none; }
.help-cta .wp-block-button__link:hover { background: #c8f169; color: var(--c-verde-escuro); }
.help-cta .is-style-outline .wp-block-button__link { background: rgba(255, 255, 255, .12); color: #fff; border: 0; }
.help-cta .is-style-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .24); color: #fff; }

/* ---------- Pílula de link (formatos de arquivo, filtros) ---------- */
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .85rem; border-radius: 999px; background: var(--c-fundo); color: #143d27; text-decoration: none; font-weight: 500; font-size: .9375rem; line-height: 1.3; transition: background .2s; }
.chip:hover { background: #c8f169; color: var(--c-verde-escuro); }
.chip .icon { width: 1rem; height: 1rem; }

/* ---------- Guia de uso acima das tabelas do wpDataTables ---------- */
.table-guide { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px 28px; align-items: center; margin: 0 0 1.5rem; padding: 18px 22px; border: 1px solid var(--c-linha); border-radius: 16px; background: var(--c-fundo); }
.table-guide p { margin: 0; }
.table-guide-title { font-weight: 600; color: var(--c-verde-escuro); margin-bottom: .55rem !important; }
.table-guide-steps { counter-reset: g; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; font-size: .9375rem; color: var(--c-texto); }
.table-guide-steps li { counter-increment: g; margin: 0; }
.table-guide-steps li::before { content: counter(g); margin-right: .4rem; vertical-align: .05em; display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--c-verde); color: #fff; font-size: .8125rem; font-weight: 600; }
.table-guide-steps strong { color: var(--c-verde-escuro); }
.table-guide-side { display: grid; gap: .6rem; justify-items: end; text-align: right; font-size: .9375rem; color: var(--c-muted); }
.table-guide-date .icon { color: var(--c-verde); width: 1rem; height: 1rem; vertical-align: -.2em; }
.table-guide-files { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .4rem; }
.table-alert { margin: 0 0 1rem; padding: .9rem 1.1rem; border-radius: 10px; background: var(--c-vermelho-claro); font-size: .9375rem; }

@media (max-width: 760px) {
	.table-guide { grid-template-columns: 1fr; }
	.table-guide-side { justify-items: start; text-align: left; }
	.table-guide-files { justify-content: flex-start; }
	.callout { padding-left: 22px; padding-top: 66px; }
	.help-cta { padding: 22px; }
}

/* ---------- Alto contraste ---------- */
html.alto-contraste .steps, html.alto-contraste .steps > li, html.alto-contraste .faq-item, html.alto-contraste .icon-card, html.alto-contraste .stats,
html.alto-contraste .stats .stat, html.alto-contraste .doc-list li, html.alto-contraste .callout, html.alto-contraste .contact-card, html.alto-contraste .help-cta,
html.alto-contraste .chip, html.alto-contraste .table-guide, html.alto-contraste .table-alert {
	background-color: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important;
}
html.alto-contraste .steps > li::before { color: #ff0 !important; -webkit-text-stroke: 0; }
html.alto-contraste .icon-card::before { background: #ff0; }

/* ---------- Ícones dos cartões (classe icone-<nome>) ---------- */
.icone-search { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
.icone-eye { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.icone-coins { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='9' cy='7' rx='6' ry='3'/%3E%3Cpath d='M3 7v5c0 1.7 2.7 3 6 3s6-1.3 6-3V7M9 15v2c0 1.7 2.7 3 6 3s6-1.3 6-3v-5c0-1.7-2.7-3-6-3'/%3E%3C/svg%3E"); }
.icone-receipt { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18l-3-2-3 2-3-2-3 2zM9 8h6M9 12h6M9 16h3'/%3E%3C/svg%3E"); }
.icone-gavel { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m14 4 6 6M12 6l6 6M4 20l8-8M10 4l10 10-2 2L8 6z'/%3E%3C/svg%3E"); }
.icone-doc { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6v18h12V7zM14 3v4h4M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.icone-users { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2 20c0-3.3 3.1-6 7-6s7 2.7 7 6M16 4.5a3.5 3.5 0 0 1 0 7M18 14c2.4.6 4 2.9 4 6'/%3E%3C/svg%3E"); }
.icone-building { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V5l8-3 8 3v16M2 21h20M9 21v-5h6v5M8 9h2M14 9h2M8 13h2M14 13h2'/%3E%3C/svg%3E"); }
.icone-handshake { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12l4-4 4 2 4-3 4 3 4 2M6 8v6l4 4 2-2 2 2 2-2 2 2 2-4'/%3E%3C/svg%3E"); }
.icone-chart { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V4M4 20h16M8 16v-5M12 16V8M16 16v-3'/%3E%3C/svg%3E"); }
.icone-info { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E"); }
.icone-chat { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E"); }
.icone-shield { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V6z'/%3E%3C/svg%3E"); }
.icone-heart { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-8-4.8-8-11a4.5 4.5 0 0 1 8-2.8A4.5 4.5 0 0 1 20 9c0 6.2-8 11-8 11z'/%3E%3C/svg%3E"); }
.icone-book { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h6a2 2 0 0 1 2 2v14a2 2 0 0 0-2-2H4zM20 4h-6a2 2 0 0 0-2 2v14a2 2 0 0 1 2-2h6z'/%3E%3C/svg%3E"); }
.icone-percent { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5 5 19'/%3E%3Ccircle cx='7' cy='7' r='2.5'/%3E%3Ccircle cx='17' cy='17' r='2.5'/%3E%3C/svg%3E"); }
.icone-flag { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4M5 4h11l-2 4 2 4H5'/%3E%3C/svg%3E"); }
.icone-data { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3'/%3E%3C/svg%3E"); }
.icone-map { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4 3 6v14l6-2 6 2 6-2V4l-6 2zM9 4v14M15 6v14'/%3E%3C/svg%3E"); }
.icone-cone { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6l4 16H5zM7 11h10M6 15h12M3 21h18'/%3E%3C/svg%3E"); }
.icone-travel { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13h18M5 13l2-6h10l2 6M6 17a1.5 1.5 0 1 0 0 .01M18 17a1.5 1.5 0 1 0 0 .01M5 13v5M19 13v5'/%3E%3C/svg%3E"); }
.icone-phone { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a1 1 0 0 1-1 1A16 16 0 0 1 4 5a1 1 0 0 1 1-1z'/%3E%3C/svg%3E"); }
.icone-mail { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='m3 6 9 7 9-7'/%3E%3C/svg%3E"); }
.icone-clock { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.icone-pin { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E"); }
.icone-download { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E"); }
.icone-calendar { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='1'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.icone-megaphone { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4h4l6 4V6L7 10zM16 8a5 5 0 0 1 0 8M19 5a9 9 0 0 1 0 14'/%3E%3C/svg%3E"); }
.icone-bus { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='15' rx='3'/%3E%3Cpath d='M4 11h16M8 21v-3M16 21v-3M8 15h.01M16 15h.01'/%3E%3C/svg%3E"); }

/* ---------- Parágrafo de abertura ---------- */
.entry-content .lead, .editor-styles-wrapper .lead { font-size: 1.1875rem; line-height: 1.65; color: var(--c-texto); max-width: 75ch; }

/* ---------- Perfis (prefeito, vice, secretários) ---------- */
.perfis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; margin: 0 0 2rem; }
.perfil { display: grid; grid-template-columns: 116px 1fr; gap: 0 24px; align-items: start; margin: 0; padding: 28px; background: var(--c-fundo); border: 1px solid var(--c-linha); border-radius: 24px; transition: transform .25s, background .25s; }
.perfil:hover { transform: translateY(-4px); background: var(--c-fundo-3); }
.perfil-foto { grid-row: span 5; width: 116px !important; height: 116px !important; margin: 0 !important; border-radius: 50%; object-fit: cover; object-position: top; background: #fff; outline: 2px solid #c8f169; outline-offset: 4px; }
.perfil .perfil-cargo { justify-self: start; display: inline-block; margin: 4px 0 .55rem; padding: .3rem .75rem; border-radius: 999px; background: #fff; color: var(--c-verde); font-size: .8125rem; font-weight: 600; line-height: 1.2; }
/* o WPBakery (wpautop) pode deixar parágrafos vazios entre os elementos */
.perfil > p:empty, .perfil > br { display: none; }
.perfil h3 { margin: 0 0 .5rem; font-size: 1.25rem; line-height: 1.25; color: var(--c-verde-escuro); }
.perfil p { margin: 0 0 .6rem; font-size: .9375rem; line-height: 1.6; color: var(--c-texto); }
.perfil blockquote { margin: .3rem 0 0; padding: 12px 16px; border-radius: 14px; background: #fff; font-size: .9375rem; color: var(--c-texto); }
.perfil blockquote p { margin: 0; color: inherit; }
@media (max-width: 560px) {
	.perfil { grid-template-columns: 1fr; padding: 22px; }
	.perfil-foto { grid-row: auto; width: 96px !important; height: 96px !important; margin-bottom: 1rem !important; }
}

/* ---------- Incisos de artigo de lei ---------- */
.incisos { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 900px) { .incisos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .incisos { grid-template-columns: 1fr; } }
.incisos li { display: flex; align-items: center; gap: 14px; margin: 0; padding: 12px 16px 12px 12px; background: var(--c-fundo); border: 1px solid var(--c-linha); border-radius: 16px; font-size: .9375rem; color: var(--c-texto); }
.incisos li > strong:first-child { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--c-indigo); font-size: .9375rem; font-weight: 600; }

/* ---------- Texto e imagem lado a lado (história, apresentação) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px 44px; align-items: start; margin: 0 0 2.5rem; }
.split-rev > .split-media { order: 2; }
.split-media { margin: 0; }
.split-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.split-media figcaption { margin-top: .6rem; font-size: .9375rem; color: var(--c-muted); }
.split-text > :first-child { margin-top: 0; }
.split-text > :last-child { margin-bottom: 0; }
.split-text .eyebrow { margin: 0 0 .5rem; }
.split-text h2 { margin-top: 0; }
.split-media { position: sticky; top: calc(var(--header-h, 90px) + 20px); }
@media (max-width: 860px) {
	.split { grid-template-columns: 1fr; gap: 20px; }
	.split-rev > .split-media { order: 0; }
	.split-media { position: static; }
}

/* ---------- Telefones úteis (lista com busca e filtros; o script é assets/js/telefones.js) ---------- */
.tel-dir { margin: 0 0 2rem; }
.tel-busca { position: relative; z-index: 5; margin: 0 0 14px; }
.tel-busca[hidden], .tel-filtros[hidden], .tel-sug[hidden], .tel-vazio[hidden] { display: none; }
.tel-busca .search-big { display: flex; align-items: center; gap: 6px; padding: 5px 7px 5px 20px; border: 1.5px solid transparent; border-radius: 999px; background: var(--c-fundo); transition: border-color .2s, box-shadow .2s, background .2s; }
.tel-busca .search-big:focus-within { border-color: var(--c-verde-escuro); background: #fff; box-shadow: 0 0 0 5px rgba(200, 241, 105, .55); }
.tel-busca .search-big > .icon { flex: none; width: 1.3rem; height: 1.3rem; color: var(--c-verde-escuro); }
.tel-busca input { flex: 1; min-width: 0; margin: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; font: inherit; font-size: 1.02rem; padding: .85rem .5rem; outline: none; color: var(--c-texto); }
.tel-busca input::placeholder { color: #8a918f; }
.tel-busca input::-webkit-search-cancel-button { cursor: pointer; }
.tel-sug { position: absolute; top: calc(100% + 8px); left: 0; right: 0; max-height: min(60vh, 420px); overflow-y: auto; margin: 0; padding: 8px; list-style: none; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -24px rgba(7, 35, 34, .45), 0 2px 8px rgba(11, 49, 48, .08); }
.tel-sug li { display: grid; gap: 2px; margin: 0; padding: 10px 14px; border-radius: 14px; cursor: pointer; }
.tel-sug li::before, .tel-sug li::marker { content: none; }
.tel-sug li[aria-selected="true"], .tel-sug li:hover { background: var(--c-fundo); }
.tel-sug .tel-sug-cat { font-size: .8125rem; font-weight: 500; color: var(--c-indigo); }
.tel-sug .tel-sug-nome { font-size: 1rem; font-weight: 500; line-height: 1.35; color: var(--c-verde-escuro); }
.tel-sug .tel-sug-fone { font-size: .9375rem; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.tel-sug mark { background: #e6f7b8; color: inherit; border-radius: 3px; padding: 0 1px; }
.tel-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.tel-filtros button { padding: .45rem .95rem; border: 1px solid transparent; border-radius: 999px; background: var(--c-fundo); color: var(--c-verde-escuro); font: inherit; font-size: .9375rem; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.tel-filtros button:hover { background: #c8f169; }
.tel-filtros button[aria-pressed="true"] { background: var(--c-verde-escuro); color: #fff; }
.tel-status { min-height: 1.2em; margin: 0 0 .5rem; font-size: .9375rem; color: var(--c-muted); }
.tel-grupo { margin: 0 0 1.8rem; }
.tel-grupo[hidden] { display: none; }
.tel-grupo h2 { margin: 0 0 .8rem; font-size: 1.25rem; }
.tel-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.tel-item { position: relative; display: flex; flex-direction: column; gap: .25rem; margin: 0; padding: 16px 64px 16px 18px; background: var(--c-fundo); border: 1px solid var(--c-linha); border-radius: 18px; transition: background .2s, box-shadow .2s; scroll-margin-top: calc(var(--header-h, 90px) + 24px); }
.tel-item[hidden] { display: none; }
.tel-item::before, .tel-item::marker { content: none; }
.tel-item:hover { background: var(--c-fundo-3); }
.tel-item.is-destaque { background: var(--c-verde-claro); box-shadow: 0 0 0 4px rgba(200, 241, 105, .6); }
.tel-item h3 { margin: 0; font-size: 1.125rem; line-height: 1.35; color: var(--c-verde-escuro); }
.tel-item p { margin: 0; font-size: .9375rem; }
.tel-fones { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.tel-fones a { font-weight: 500; color: var(--c-verde); text-decoration: none; font-variant-numeric: tabular-nums; }
.tel-fones a:hover { text-decoration: underline; }
.tel-sem { color: var(--c-muted); font-style: italic; }
.tel-end a, .tel-extra a { display: inline-flex; gap: 6px; color: var(--c-muted); text-decoration: none; line-height: 1.4; }
.tel-end a::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 2px; background: var(--c-laranja); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6 7-11.5A7 7 0 0 0 5 9.5C5 15 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6 7-11.5A7 7 0 0 0 5 9.5C5 15 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.tel-end a:hover, .tel-extra a:hover { color: var(--c-verde-escuro); text-decoration: underline; }
.tel-extra a { font-weight: 500; color: var(--c-indigo); }
.tel-ligar { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; background: #fff; transition: background .2s, transform .2s; }
.tel-ligar::before { content: ""; position: absolute; inset: 0; background: var(--c-verde-escuro); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3l2 5-2.5 1.5a11 11 0 0 0 6 6L15 14l5 2v3a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E") center / 18px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3l2 5-2.5 1.5a11 11 0 0 0 6 6L15 14l5 2v3a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E") center / 18px no-repeat; }
.tel-ligar:hover { background: #c8f169; transform: scale(1.06); }
.tel-vazio { padding: 28px 20px; border: 1px solid var(--c-linha); border-radius: 18px; background: var(--c-fundo); text-align: center; color: var(--c-muted); }
.tel-horarios h4 { margin: 1rem 0 .4rem; font-size: 1rem; color: var(--c-verde-escuro); }
.tel-horarios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 0 22px; }
.tel-horarios table { width: 100%; margin: 0; font-size: .9375rem; }
@media (max-width: 560px) {
	.tel-busca input { font-size: 1rem; }
	.tel-filtros { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
	.tel-filtros button { flex: none; }
}

/* ---------- Contact Form 7 no padrão do tema ---------- */
.wpcf7 { margin: 0 0 1.5rem; }
.wpcf7-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.wpcf7-form > * { grid-column: 1 / -1; margin: 0; }
.wpcf7-form > p:has(> label > .wpcf7-form-control-wrap > :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], select)) { grid-column: auto; }
.wpcf7-form > div:first-child:has(> input[type="hidden"]) { display: none; }
.wpcf7-form p { margin: 0; }
.wpcf7-form br { display: none; }
.wpcf7-form label { display: grid; gap: 6px; margin: 0; font-size: .9375rem; font-weight: 500; color: var(--c-verde-escuro); }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], select, textarea) { display: block; width: 100%; margin: 0; padding: .85rem 1.1rem; border: 1.5px solid #cfd6d2; border-radius: 999px; background: var(--c-fundo); box-shadow: none; font: inherit; font-size: 1rem; font-weight: 400; color: var(--c-texto); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.wpcf7 textarea { min-height: 170px; border-radius: 20px; resize: vertical; line-height: 1.55; }
.wpcf7 select { padding-right: 2.6rem; background: var(--c-fundo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3130' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 16px no-repeat; }
.wpcf7 :is(input, select, textarea)::placeholder { color: #8a918f; }
.wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], select, textarea):hover { border-color: #cfd8c4; }
.wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], select, textarea):focus { border-color: var(--c-verde-escuro); background-color: #fff; box-shadow: 0 0 0 5px rgba(200, 241, 105, .55); }
.wpcf7 .wpcf7-not-valid { border-color: var(--c-vermelho) !important; background-color: var(--c-vermelho-claro) !important; }
.wpcf7-not-valid-tip { margin-top: 6px; font-size: .9375rem; font-weight: 500; color: var(--c-vermelho); }
.wpcf7 :is(.wpcf7-acceptance, .wpcf7-checkbox, .wpcf7-radio) .wpcf7-list-item { margin: 0; }
.wpcf7 :is(.wpcf7-acceptance, .wpcf7-checkbox, .wpcf7-radio) label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--c-texto); cursor: pointer; }
.wpcf7 input:is([type="checkbox"], [type="radio"]) { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--c-verde-escuro); }
.wpcf7-acceptance a { font-weight: 500; }
.wpcf7 .wpcf7-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .85rem 2rem; border: 0; border-radius: 999px; background: var(--c-verde-escuro); color: #fff; font: inherit; font-size: 1rem; font-weight: 500; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.wpcf7 .wpcf7-submit:hover, .wpcf7 .wpcf7-submit:focus-visible { transform: translateY(-2px); background: #c8f169; color: var(--c-verde-escuro); }
.wpcf7 .wpcf7-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.wpcf7 .wpcf7-spinner { vertical-align: middle; margin: 0 0 0 12px; background-color: var(--c-verde); }
.wpcf7 form .wpcf7-response-output { grid-column: 1 / -1; margin: 0; padding: 14px 18px; border: 0 !important; border-radius: 16px; background: var(--c-fundo); font-size: .9375rem; }
.wpcf7 form.sent .wpcf7-response-output { background: var(--c-verde-claro); color: var(--c-verde-escuro); }
.wpcf7 form:is(.invalid, .unaccepted, .payment-required) .wpcf7-response-output { background: #fff3c2; color: #6b4a00; }
.wpcf7 form:is(.failed, .aborted, .spam) .wpcf7-response-output { background: var(--c-vermelho-claro); color: #8a241d; }
.wpcf7 .cf7-nota { font-size: .9375rem; color: var(--c-muted); }
@media (max-width: 640px) {
	.wpcf7-form { grid-template-columns: 1fr; }
	.wpcf7-form > p { grid-column: 1 / -1 !important; }
	.wpcf7 .wpcf7-submit { width: 100%; }
}

/* Painel branco para formulários dentro do conteúdo */
.form-panel { margin: 0 0 1.5rem; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--c-linha); border-radius: 24px; background: var(--c-fundo); }
.form-panel > h2:first-child, .form-panel > h3:first-child { margin-top: 0; }

/* ---------- Redes sociais em badges ---------- */
.social-badges { list-style: none; margin: 0 0 2.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.social-badges li { margin: 0; }
.social-badges li::before, .social-badges li::marker { content: none; }
.social-badge { --rede: var(--c-verde-escuro); display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 999px; background: var(--c-fundo); color: var(--c-verde-escuro); text-decoration: none; transition: transform .2s, background .2s; }
.social-badge:hover, .social-badge:focus-visible { transform: translateY(-3px); background: var(--c-fundo-3); color: var(--c-verde-escuro); }
.social-badge-ico { flex: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--rede); transition: transform .3s; }
.social-badge:hover .social-badge-ico { transform: rotate(-8deg) scale(1.05); }
.social-badge-ico::before { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: var(--ico) center / 22px no-repeat; mask: var(--ico) center / 22px no-repeat; }
.social-badge-txt { display: grid; line-height: 1.25; }
.social-badge-txt strong { font-size: 1rem; }
.social-badge-txt small { font-size: .8125rem; color: var(--c-muted); }
.social-facebook { --rede: #1877f2; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-7.5h2.6l.4-3h-3V8.6c0-.9.3-1.5 1.6-1.5h1.6V4.4c-.3 0-1.2-.1-2.3-.1-2.3 0-3.9 1.4-3.9 4v2.2H7.9v3h2.6V21z'/%3E%3C/svg%3E"); }
.social-instagram { --rede: #d62976; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.2' cy='6.8' r='.6' fill='%23000'/%3E%3C/svg%3E"); }
.social-youtube { --rede: #e62117; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.6 7.2a2.5 2.5 0 0 0-1.8-1.8C18.2 5 12 5 12 5s-6.2 0-7.8.4a2.5 2.5 0 0 0-1.8 1.8C2 8.8 2 12 2 12s0 3.2.4 4.8a2.5 2.5 0 0 0 1.8 1.8C5.8 19 12 19 12 19s6.2 0 7.8-.4a2.5 2.5 0 0 0 1.8-1.8c.4-1.6.4-4.8.4-4.8s0-3.2-.4-4.8zM10 15V9l5.2 3z'/%3E%3C/svg%3E"); }
@media (max-width: 560px) {
	.social-badges { display: grid; grid-template-columns: 1fr; }
	.social-badge { width: 100%; }
}

/* WPBakery: o painel do formulário logo após outro bloco precisa de respiro */
.content-card .vc_row + .vc_row-full-width + .vc_row > .form-panel, .content-card .vc_row + .vc_row > .form-panel { margin-top: 2.75rem; }
.content-card .form-panel > .vc_column-inner { padding-top: 0 !important; }

/* ---------- Secretarias e órgãos ----------
   No WPBakery: coluna com classe extra "sec-grid" e um "Bloco de texto" por órgão com a classe "sec-card icone-<nome>".
   Blocos de texto sem "sec-card" dentro da coluna ocupam a linha inteira (título do grupo).
   A busca é criada por assets/js/secretarias.js; sem o script, a lista aparece completa. */
.icone-sprout { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-9M12 12c0-4-3-7-8-7 0 4 3 7 8 7zM12 14c0-4 3-7 8-7 0 4-3 7-8 7M7 21h10'/%3E%3C/svg%3E"); }
.icone-leaf { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19C5 10 10 4 20 4c0 10-6 15-15 15zM5 19l8-8'/%3E%3C/svg%3E"); }
.icone-camera { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h4l2-3h6l2 3h4v12H3z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E"); }
.icone-trophy { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h10v5a5 5 0 0 1-10 0zM7 6H4a3 3 0 0 0 3 4M17 6h3a3 3 0 0 1-3 4M12 14v4M8 21h8M9 18h6'/%3E%3C/svg%3E"); }

.sec-grid > .vc_column-inner > .wpb_wrapper,
div.sec-grid:not(.vc_column_container) { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; margin: 0 0 2.5rem; }
.sec-grid[hidden] { display: none !important; }
.sec-grid .wpb_wrapper > .wpb_text_column:not(.sec-card) { grid-column: 1 / -1; margin: 0 !important; }
.sec-grid .wpb_wrapper > .wpb_text_column:not(.sec-card) h2 { margin: .4rem 0 0; }

.sec-card { --c: var(--c-verde); --c-bg: var(--c-verde-claro); position: relative; display: flex; flex-direction: column; margin: 0 !important; padding: 22px 22px 18px; background: var(--c-fundo); border: 1px solid var(--c-linha); border-radius: 20px; transition: transform .25s, background .25s; scroll-margin-top: calc(var(--header-h, 90px) + 24px); }
.sec-card[hidden] { display: none !important; }
.sec-card:hover { transform: translateY(-3px); background: var(--c-fundo-3); }
.sec-card > .wpb_wrapper { display: flex; flex-direction: column; flex: 1; }
.sec-card[class*="icone-"]::before { content: ""; position: absolute; top: 20px; left: 22px; width: 46px; height: 46px; border-radius: 50%; background: #fff; }
.sec-card[class*="icone-"]::after { content: ""; position: absolute; top: 20px; left: 22px; width: 46px; height: 46px; background: var(--c); -webkit-mask: var(--icone) center / 22px no-repeat; mask: var(--icone) center / 22px no-repeat; }
.sec-card p:empty, .sec-card > .wpb_wrapper > br { display: none; }
.sec-card h3 { display: flex; align-items: center; min-height: 46px; margin: -2px 0 .9rem; font-size: 1.125rem; line-height: 1.3; color: var(--c-verde-escuro); }
.sec-card[class*="icone-"] h3 { padding-left: 60px; }
.sec-card .sec-resp { margin: 0 0 .85rem; padding: 10px 14px; border-radius: 12px; background: #fff; font-size: 1rem; font-weight: 500; line-height: 1.35; color: var(--c-texto); }
.sec-card .sec-resp::before { content: "Responsável"; display: block; margin-bottom: 2px; font-size: .8125rem; font-weight: 500; color: var(--c-muted); }
.sec-card ul.sec-info { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .45rem; font-size: .9375rem; line-height: 1.45; color: var(--c-texto); }
.sec-card ul.sec-info li { position: relative; margin: 0; padding-left: 26px; overflow-wrap: anywhere; }
.sec-card ul.sec-info li::marker { content: none; }
.sec-card ul.sec-info li[class*="icone-"]::before { content: ""; position: absolute; top: .1em; left: 0; width: 17px; height: 17px; background: var(--c); -webkit-mask: var(--icone) center / contain no-repeat; mask: var(--icone) center / contain no-repeat; }
.sec-card ul.sec-info a { color: var(--c-verde-escuro); font-weight: 500; text-decoration: none; }
.sec-card ul.sec-info a:hover { text-decoration: underline; }
.sec-card .sec-mais { margin: auto 0 0; padding-top: 12px; font-size: .9375rem; }
.sec-card .sec-mais a { font-weight: 500; color: var(--c-verde-escuro); text-decoration: none; }
.sec-card .sec-mais a::after { content: "→"; display: inline-block; margin-left: .4rem; color: var(--c); transition: transform .2s; }
.sec-card .sec-mais a:hover { text-decoration: underline; }
.sec-card .sec-mais a:hover::after { transform: translateX(3px); }
.sec-busca-wrap { margin: 1.75rem 0 1.5rem; }
.sec-busca-wrap .tel-busca { margin-bottom: 8px; }
html.alto-contraste .sec-card, html.alto-contraste .sec-card .sec-resp { background: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; }
html.alto-contraste .sec-card::after, html.alto-contraste .sec-card ul.sec-info li::before { background: #ff0 !important; }
html.alto-contraste .sec-card::before { background: #000 !important; border: 1px solid #fff; }
@media (max-width: 560px) {
	.sec-card { padding: 18px 18px 16px; }
	.sec-card[class*="icone-"]::before, .sec-card[class*="icone-"]::after { top: 16px; left: 18px; }
}
@media print {
	.sec-busca-wrap { display: none; }
	.sec-card { break-inside: avoid; }
}

/* ---------- Bota-fora (mesmas datas todo mês; o script é assets/js/botafora.js) ----------
   No post: <div class="botafora"> com <div class="bf-consulta-aqui"></div> e .bf-periodos > .bf-periodo (h3 "Dias 1 a 7" + ul de bairros). */
.botafora { --bf-cor: var(--c-verde); }

/* consulta: busca + localização + resultado + mapa */
.bf-consulta { margin: 0 0 2.25rem; padding: clamp(14px, 2.5vw, 20px); background: var(--c-fundo); border: 1px solid var(--c-linha); border-radius: 24px; }
.bf-campos { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.bf-campos .tel-busca { margin: 0; }
.bf-local { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--c-verde-escuro); color: #fff; font: inherit; font-size: .9375rem; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.bf-local:hover, .bf-local:focus-visible { background: #c8f169; color: var(--c-verde-escuro); }
.bf-local:disabled { cursor: progress; opacity: .85; }
.bf-local-ico { width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3'/%3E%3C/svg%3E") center / contain no-repeat; }
.bf-local.is-ocupado .bf-local-ico { animation: bf-giro 1.2s linear infinite; }
@keyframes bf-giro { to { transform: rotate(360deg); } }
.tel-sug .bf-sug-vazio { cursor: default; color: var(--c-muted); font-size: .9375rem; }

.bf-resultado { margin: 10px 0 0; padding: 14px 18px; border-radius: 16px; background: #fff; }
.bf-resultado:empty { display: none; }
.bf-resultado p { margin: 0; }
.bf-resultado.is-agora { background: #f3fbe2; }
.bf-resultado.is-aviso { background: #fff3c2; }
.bf-res-origem { font-size: .9375rem; color: var(--c-muted); }
.bf-res-bairro { font-size: 1.15rem; font-weight: 600; line-height: 1.3; color: var(--c-verde-escuro); }
.bf-res-bairro span { display: block; font-size: .9375rem; font-weight: 600; color: var(--bf-cor); }
.bf-res-txt { margin: .2rem 0 .1rem !important; font-size: 1rem; color: var(--c-texto); }

.bf-mapa { position: relative; isolation: isolate; z-index: 0; height: clamp(250px, 40vh, 340px); margin: 10px 0 0; border-radius: 18px; overflow: hidden; background: #fff; font-family: inherit; }
.bf-mapa.is-erro { display: grid; place-items: center; height: auto; padding: 24px; font-size: .9375rem; color: var(--c-muted); }
.bf-mapa .leaflet-tooltip { font: inherit; font-size: .9375rem; font-weight: 500; color: var(--c-verde-escuro); border-radius: 8px; }
.bf-nota { margin: 8px 2px 0 !important; font-size: .8125rem; color: var(--c-muted); }

/* faixa do mês: um quadradinho por dia, colorido pelo período; ponto = coleta semanal */
.bf-mes { margin: 0 0 12px; }
.bf-mes-tit { margin: 0 0 6px !important; font-size: .9375rem; font-weight: 500; color: var(--c-muted); }
.bf-dias-mes { display: grid; grid-template-columns: repeat(var(--n, 31), minmax(0, 1fr)); gap: 3px; }
.bf-dia { position: relative; display: grid; place-items: center; height: 36px; border-radius: 8px; background: #fff; }
.bf-dia b { font-size: .8125rem; font-weight: 500; color: #5d6765; font-variant-numeric: tabular-nums; }
.bf-dia.is-coleta { background: color-mix(in srgb, var(--bf-cor) 16%, #fff); }
.bf-dia.is-coleta b { font-weight: 600; color: var(--bf-cor); }
.bf-dia i { position: absolute; bottom: 4px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--bf-cor); }
.bf-dia.is-passado { opacity: .45; }
.bf-dia.is-hoje { opacity: 1; box-shadow: 0 0 0 2px var(--c-verde-escuro); }
.bf-dia.is-hoje::after { content: "hoje"; position: absolute; top: calc(100% + 3px); left: 50%; transform: translateX(-50%); font-size: .8125rem; font-weight: 600; color: var(--c-verde-escuro); white-space: nowrap; }
.bf-mes:has(.is-hoje) { margin-bottom: 30px; }

/* cronograma: linhas de um mesmo painel, número grande à esquerda */
.bf-periodos { margin: 0 0 2rem; display: grid; gap: 6px; }
.bf-periodo { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 20px; margin: 0; padding: 18px 22px; border: 1px solid var(--c-linha); border-radius: 18px; background: var(--c-fundo); transition: background .2s; }
.bf-periodo::before { content: ""; position: absolute; top: 14px; bottom: 14px; left: 0; width: 4px; border-radius: 0 4px 4px 0; background: var(--bf-cor); opacity: .35; transition: opacity .2s; }
.bf-periodo.is-agora, .bf-periodo.is-escolhido { background: color-mix(in srgb, var(--bf-cor) 12%, #fff); }
.bf-periodo.is-agora::before, .bf-periodo.is-escolhido::before { opacity: 1; }
.entry-content .bf-periodo h3 { grid-column: 1; grid-row: 1; margin: 0; font-size: 1rem; line-height: 1.2; color: var(--bf-cor); }
.bf-dias { display: block; white-space: nowrap; font-size: 1.85rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.bf-dias-sub { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 500; color: var(--c-muted); }
.bf-status { white-space: nowrap; grid-column: 1; grid-row: 2; align-self: start; justify-self: start; margin: 8px 0 0 !important; padding: .2rem .65rem; border-radius: 999px; background: #fff; color: var(--c-texto); font-size: .8125rem; font-weight: 500; }
.is-agora > .bf-status { background: #c8f169; color: var(--c-verde-escuro); }
.is-proximo > .bf-status { color: var(--c-muted); }
.bf-periodo ul { grid-column: 2; grid-row: 1 / 3; align-self: center; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bf-periodo li { margin: 0; padding: .36rem .8rem; border: 1px solid transparent; border-radius: 999px; background: #fff; color: var(--c-texto); font-size: .9375rem; line-height: 1.35; transition: background .2s, border-color .2s, color .2s; }
.bf-periodo li::marker { content: none; }
.bf-periodo li[role="button"] { cursor: pointer; }
.bf-periodo li[role="button"]:hover { border-color: var(--bf-cor); }
.bf-periodo li[role="button"]:focus-visible { outline: 2px solid var(--c-verde-escuro); outline-offset: 2px; }
.bf-periodo li.is-escolhido { background: var(--bf-cor); border-color: var(--bf-cor); color: #fff; }

/* regras: materiais em etiquetas */
.bf-materiais { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bf-materiais li { margin: 0; padding: .42rem .9rem; border-radius: 999px; background: var(--c-verde-claro); color: var(--c-verde-escuro); font-size: .9375rem; font-weight: 500; }
.bf-materiais li::marker { content: none; }

html.alto-contraste .bf-periodos, html.alto-contraste .bf-periodo, html.alto-contraste .bf-consulta, html.alto-contraste .bf-resultado, html.alto-contraste .bf-dia { background: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; }
html.alto-contraste .bf-periodo li, html.alto-contraste .bf-materiais li, html.alto-contraste .bf-dia b, html.alto-contraste .bf-dias { background: #000 !important; color: #ff0 !important; border-color: #ff0 !important; }
@media (max-width: 640px) {
	.bf-campos { grid-template-columns: 1fr; }
	.bf-local { width: 100%; min-height: 50px; }
	.bf-periodo { grid-template-columns: 1fr auto; grid-template-rows: auto auto; row-gap: 10px; padding: 16px 16px 16px 20px; }
	.entry-content .bf-periodo h3 { display: flex; align-items: baseline; gap: 8px; }
	.bf-dias { font-size: 1.5rem; }
	.bf-status { grid-column: 2; grid-row: 1; align-self: center; margin: 0 !important; }
	.bf-periodo ul { grid-column: 1 / -1; grid-row: 2; }
	.bf-dias-mes { gap: 2px; }
	.bf-dia { height: 28px; border-radius: 5px; }
	.bf-dia b { display: none; }
	.bf-dias-sub { white-space: nowrap; font-size: .8125rem; }
	.bf-periodo { column-gap: 10px; }
}
@media print {
	.bf-consulta, .bf-mes { display: none; }
}

/* ---------- Perguntas frequentes no WPBakery (classe extra "faq-wpb" na linha) ---------- */
/* Os [vc_toggle] ganham o mesmo visual do componente .faq-item. */
.faq-wpb .faq-intro { max-width: 70ch; margin: 0 0 1.1rem; font-size: 1.0625rem; color: var(--c-texto); }
.faq-sumario { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 .5rem; }
.faq-sumario a { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem .5rem .5rem; border: 1px solid var(--c-linha); border-radius: 999px; background: var(--c-fundo); color: var(--c-verde-escuro); font-weight: 500; font-size: .9375rem; text-decoration: none; transition: background .2s, border-color .2s; }
.faq-sumario a:hover { background: var(--c-verde-claro); border-color: #c9d3cf; }
.faq-sumario span, .faq-sec span { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: var(--c-verde); color: #fff; font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.faq-wpb[id] { scroll-margin-top: 110px; }
.faq-wpb + .faq-wpb, .faq-wpb + .vc_row-full-width + .faq-wpb { margin-top: 1.5rem; }
.entry-content .faq-wpb h2.faq-sec { display: flex; align-items: center; gap: .7rem; margin: 0 0 .25rem; font-size: 1.375rem; color: var(--c-verde-escuro); }
.faq-wpb .faq-sec-desc { margin: 0 0 1rem; font-size: .9375rem; color: var(--c-muted); }
.faq-wpb .vc_toggle { margin: 0 0 10px; padding: 0; border: 1px solid var(--c-linha); border-radius: 16px; background: var(--c-fundo); font-size: inherit; transition: background .2s; }
.faq-wpb .vc_toggle:hover { background: var(--c-fundo-3); }
.faq-wpb .vc_toggle.vc_toggle_active { background: var(--c-verde-claro); }
.faq-wpb .vc_toggle[id] { scroll-margin-top: 110px; }
.faq-wpb .vc_toggle_title { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0; padding: 1rem 1.2rem !important; border-radius: 16px; cursor: pointer; }
.faq-wpb .vc_toggle_title > h4 { margin: 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.4; color: var(--c-verde-escuro); }
.faq-wpb .vc_toggle_title > .vc_toggle_icon { position: static !important; order: 2; flex: none; width: 32px !important; height: 32px !important; margin: 0 !important; border: 0 !important; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0v12M0 6h12' stroke='%231f6b58' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat !important; transform: none !important; transition: transform .25s; }
.faq-wpb .vc_toggle_title > .vc_toggle_icon::before, .faq-wpb .vc_toggle_title > .vc_toggle_icon::after { display: none !important; }
.faq-wpb .vc_toggle_active > .vc_toggle_title > .vc_toggle_icon { transform: rotate(45deg) !important; }
.faq-wpb .vc_toggle_content { margin: 0 !important; padding: 0 1.2rem 1.1rem !important; font-size: 1rem; }
.faq-wpb .vc_toggle_content > :first-child { margin-top: 0; }
.faq-wpb .vc_toggle_content > :last-child { margin-bottom: 0; }
.faq-wpb .vc_toggle_content p { max-width: 75ch; }
.faq-wpb .vc_toggle_content ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.faq-wpb .vc_toggle_content li { margin: 0 0 .3rem; }
.faq-wpb .vc_toggle_content > br, .faq-wpb .vc_toggle_content ul > br, .faq-wpb .vc_toggle_content p:empty { display: none; }
.faq-tabela { overflow-x: auto; margin: .2rem 0 1rem; border: 1px solid var(--c-linha); border-radius: 12px; background: #fff; }
.entry-content .faq-tabela table { margin: 0; font-size: .9375rem; }
.faq-tabela th, .faq-tabela td { padding: .65rem .9rem; border: 0; border-bottom: 1px solid var(--c-linha); text-align: left; vertical-align: top; }
.faq-tabela tr:last-child > * { border-bottom: 0; }
.faq-tabela thead th { background: var(--c-fundo); color: var(--c-verde-escuro); font-size: .8125rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.faq-tabela tbody th { font-weight: 500; color: var(--c-verde-escuro); }
.faq-tabela td:last-child { white-space: nowrap; }
.faq-canais { margin-top: 2rem; }
.faq-canais .info-box { height: 100%; margin: 0; }
.faq-canais .wpb_text_column, .faq-canais .wpb_text_column > .wpb_wrapper { height: 100%; }
.faq-canais > .wpb_column > .vc_column-inner > .wpb_wrapper { height: 100%; }
@media (max-width: 767px) {
	.faq-canais .info-box { height: auto; margin-bottom: 16px; }
	.faq-tabela td:last-child { white-space: normal; }
	.faq-wpb .vc_toggle_title > h4 { font-size: 1rem; }
}
html.alto-contraste .faq-wpb .vc_toggle, html.alto-contraste .faq-sumario a, html.alto-contraste .faq-tabela, html.alto-contraste .faq-tabela thead th { background: #000 !important; border-color: #fff !important; color: #fff !important; }
html.alto-contraste .faq-wpb .vc_toggle_title > h4, html.alto-contraste .faq-wpb h2.faq-sec, html.alto-contraste .faq-tabela tbody th { color: #ff0 !important; }


/* ---------- Lotação (rotas e horários; o script é assets/js/lotacao.js) ----------
   Abas sem JavaScript: rádios antes do conteúdo e seletor "~". Rota: input.lt-r (na ordem) e
   section.lt-rota[data-k]; turno: input.lt-t e div.lt-turno[data-k]; viagem: input.lt-v e um
   span por viagem em cada .lt-h. ol[data-so="n"] aparece só na viagem n e ol[data-sem="n"] some
   nela (viagem no sentido inverso). Pontos sem horário ficam em li.lt-grupo > details. */
.lotacao { --lt-cor: var(--c-verde); --lt-no: var(--c-verde); --lt-claro: var(--c-verde-claro); }
.lotacao .is-branca { --lt-cor: #aeb8b5; --lt-no: #5d6765; --lt-claro: #eef1f0; }
.lotacao .is-verde { --lt-cor: var(--c-verde); --lt-no: var(--c-verde); --lt-claro: var(--c-verde-claro); }
.lt-cor { display: inline-block; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--lt-cor); vertical-align: -2px; }
.is-branca .lt-cor { background: #fff; box-shadow: inset 0 0 0 2.5px var(--lt-no); }
.lt-r, .lt-t, .lt-v { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }

/* ---- busca com resposta direta ---- */
.lt-busca { margin: 0 0 1.25rem; padding: clamp(16px, 2.5vw, 24px); border: 1px solid var(--c-linha); border-radius: 24px; background: var(--c-fundo); }
.lt-busca-tit { margin: 0 0 .75rem !important; font-size: 1.25rem; font-weight: 500; color: var(--c-verde-escuro); }
.lt-busca .tel-busca { margin: 0 0 10px; }
.lt-busca .tel-busca .search-big { background: #fff; }
.lt-sugs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.lt-sugs > span { align-self: center; margin-right: 2px; font-size: .9375rem; color: var(--c-muted); }
.lt-sug { min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--c-linha); border-radius: 999px; background: #fff; font: inherit; font-size: .9375rem; color: var(--c-verde-escuro); cursor: pointer; transition: background .2s, border-color .2s; }
.lt-sug:hover, .lt-sug:focus-visible { border-color: var(--c-verde-escuro); background: var(--c-verde-claro); }
.lt-sug[aria-pressed="true"] { background: var(--c-verde-escuro); border-color: var(--c-verde-escuro); color: #fff; }
.lt-busca .tel-status { margin: 12px 0 0; }
.lt-busca .tel-status:empty { display: none; }
.lt-res { display: grid; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.lt-res:empty { display: none; }
.lt-res > li { margin: 0; padding: 16px 18px; border-radius: 18px; background: #fff; }
.lt-res-nome { margin: 0 0 10px !important; font-size: 1.125rem; font-weight: 600; color: var(--c-verde-escuro); }
.lt-res-nome span { font-weight: 400; color: var(--c-muted); }
.lt-res-onde { display: grid; grid-template-columns: minmax(150px, auto) minmax(0, 1fr) auto; align-items: center; gap: 6px 14px; padding: 10px 0; border-top: 1px solid var(--c-linha); }
.lt-res-rt { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--c-verde-escuro); }
.lt-res-hs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lt-res-hs li { margin: 0; padding: .3rem .7rem; border-radius: 10px; background: var(--c-fundo); font-size: 1rem; font-weight: 500; color: var(--c-texto); font-variant-numeric: tabular-nums; }
.lt-res-hs li.is-passou { color: #8a918f; font-weight: 400; }
.lt-res-hs li.is-prox { background: #c8f169; color: var(--c-verde-escuro); font-weight: 600; }
.lt-res-hs li.is-prox::before { content: "Próxima: "; font-weight: 500; }
.lt-res-ver { justify-self: end; font-size: .9375rem; font-weight: 500; white-space: nowrap; }

/* ---- próximas saídas ---- */
.lt-agora { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 2rem; }
.lt-agora-tit { grid-column: 1 / -1; margin: 0 !important; font-size: 1rem; font-weight: 500; color: var(--c-muted); }
.lt-agora-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--c-linha); border-radius: 20px; background: var(--lt-claro); color: inherit; text-decoration: none; transition: border-color .2s; }
.lt-agora-card:hover, .lt-agora-card:focus-visible { border-color: var(--lt-no); }
.lt-agora-card .lt-cor { width: 22px; height: 22px; }
.lt-agora-card p { margin: 0; line-height: 1.3; }
.lt-agora-rota { display: block; font-size: .9375rem; color: var(--c-texto); }
.lt-agora-hora { display: block; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 600; letter-spacing: -.02em; color: var(--c-verde-escuro); font-variant-numeric: tabular-nums; }
.lt-agora-falta { display: block; font-size: .9375rem; color: var(--c-muted); }

/* ---- abas (rota e turno) ---- */
.lt-tit-horarios { margin: 0 0 .9rem; scroll-margin-top: 110px; }
.lt-abas { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin: 0 0 14px; padding: 6px; border-radius: 22px; background: var(--c-fundo-3); }
.lt-abas label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; padding: .5rem .6rem; border-radius: 16px; font-size: 1.0625rem; font-weight: 500; line-height: 1.25; text-align: center; color: var(--c-verde-escuro); cursor: pointer; transition: background .2s, color .2s; }
.lt-abas label:hover { background: rgba(255, 255, 255, .6); }
.lt-abas-rota label { flex-direction: row; gap: 10px; font-size: 1.125rem; min-height: 60px; }
.lt-abas-turno label b { font-weight: 500; }
.lt-abas-turno label span { font-size: .8125rem; font-weight: 400; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.lt-r:nth-of-type(1):checked ~ .lt-abas-rota label:nth-of-type(1),
.lt-r:nth-of-type(2):checked ~ .lt-abas-rota label:nth-of-type(2),
.lt-t:nth-of-type(1):checked ~ .lt-abas-turno label:nth-of-type(1),
.lt-t:nth-of-type(2):checked ~ .lt-abas-turno label:nth-of-type(2),
.lt-t:nth-of-type(3):checked ~ .lt-abas-turno label:nth-of-type(3) { background: #fff; box-shadow: 0 1px 0 var(--c-linha), 0 0 0 1px var(--c-linha); }
.lt-t:nth-of-type(1):checked ~ .lt-abas-turno label:nth-of-type(1) span,
.lt-t:nth-of-type(2):checked ~ .lt-abas-turno label:nth-of-type(2) span,
.lt-t:nth-of-type(3):checked ~ .lt-abas-turno label:nth-of-type(3) span { color: var(--c-verde); }
.lt-r:nth-of-type(1):focus-visible ~ .lt-abas-rota label:nth-of-type(1),
.lt-r:nth-of-type(2):focus-visible ~ .lt-abas-rota label:nth-of-type(2),
.lt-t:nth-of-type(1):focus-visible ~ .lt-abas-turno label:nth-of-type(1),
.lt-t:nth-of-type(2):focus-visible ~ .lt-abas-turno label:nth-of-type(2),
.lt-t:nth-of-type(3):focus-visible ~ .lt-abas-turno label:nth-of-type(3) { outline: 3px solid var(--c-verde-escuro); outline-offset: 2px; }
.lt-rota, .lt-turno { display: none; }
.lt-r:nth-of-type(1):checked ~ .lt-rota[data-k="1"],
.lt-r:nth-of-type(2):checked ~ .lt-rota[data-k="2"],
.lt-t:nth-of-type(1):checked ~ .lt-turno[data-k="1"],
.lt-t:nth-of-type(2):checked ~ .lt-turno[data-k="2"],
.lt-t:nth-of-type(3):checked ~ .lt-turno[data-k="3"] { display: block; }

.lt-rota { margin: 0 0 1rem; scroll-margin-top: 110px; }
.lt-rota-topo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 0 0 12px; padding: 16px 20px; border-radius: 20px; background: var(--lt-claro); }
.lt-rota-topo p { flex: 1 1 auto; margin: 0; font-size: .9375rem; color: var(--c-texto); }
.lt-rota-dados { white-space: nowrap; color: var(--c-muted); }

.lt-turno { padding: clamp(16px, 2.5vw, 24px); border: 1px solid var(--c-linha); border-radius: 22px; background: #fff; scroll-margin-top: 110px; }
.lotacao .lt-turno-tit { margin: 0 0 12px; font-size: 1.25rem; }
.lt-turno-tit span { display: block; margin-top: 2px; font-size: .9375rem; font-weight: 400; color: var(--c-muted); }
.lt-nota { margin: 0 0 14px; font-size: .9375rem; }

/* seletor de viagem */
.lt-viagens { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 16px; }
.lt-viagens-tit { margin-right: 4px; font-size: .9375rem; color: var(--c-muted); }
.lt-viagens label { display: inline-flex; align-items: baseline; gap: 6px; min-height: 48px; align-items: center; padding: .5rem 1rem; border: 1px solid var(--c-linha); border-radius: 999px; background: #fff; font-size: .9375rem; color: var(--c-texto); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.lt-viagens label:hover { border-color: var(--lt-no); background: var(--lt-claro); }
.lt-viagens b { font-size: 1.0625rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.lt-viagens small { font-size: .8125rem; color: var(--c-muted); }
.lt-v:nth-of-type(1):checked ~ .lt-viagens label:nth-of-type(1),
.lt-v:nth-of-type(2):checked ~ .lt-viagens label:nth-of-type(2),
.lt-v:nth-of-type(3):checked ~ .lt-viagens label:nth-of-type(3),
.lt-v:nth-of-type(4):checked ~ .lt-viagens label:nth-of-type(4) { background: var(--c-verde-escuro); border-color: var(--c-verde-escuro); color: #fff; }
.lt-v:nth-of-type(1):checked ~ .lt-viagens label:nth-of-type(1) small,
.lt-v:nth-of-type(2):checked ~ .lt-viagens label:nth-of-type(2) small,
.lt-v:nth-of-type(3):checked ~ .lt-viagens label:nth-of-type(3) small,
.lt-v:nth-of-type(4):checked ~ .lt-viagens label:nth-of-type(4) small { color: #c8f169; }
.lt-v:nth-of-type(1):focus-visible ~ .lt-viagens label:nth-of-type(1),
.lt-v:nth-of-type(2):focus-visible ~ .lt-viagens label:nth-of-type(2),
.lt-v:nth-of-type(3):focus-visible ~ .lt-viagens label:nth-of-type(3),
.lt-v:nth-of-type(4):focus-visible ~ .lt-viagens label:nth-of-type(4) { outline: 3px solid #c8f169; outline-offset: 2px; }
.lt-h > span + span { display: none; }
.lt-v:nth-of-type(2):checked ~ .lt-linha .lt-h > span,
.lt-v:nth-of-type(3):checked ~ .lt-linha .lt-h > span,
.lt-v:nth-of-type(4):checked ~ .lt-linha .lt-h > span { display: none; }
.lt-v:nth-of-type(2):checked ~ .lt-linha .lt-h > span:nth-child(2),
.lt-v:nth-of-type(3):checked ~ .lt-linha .lt-h > span:nth-child(3),
.lt-v:nth-of-type(4):checked ~ .lt-linha .lt-h > span:nth-child(4) { display: inline; }
.lt-linha[data-so] { display: none; }
.lt-v:nth-of-type(2):checked ~ .lt-linha[data-so="2"],
.lt-v:nth-of-type(3):checked ~ .lt-linha[data-so="3"],
.lt-v:nth-of-type(4):checked ~ .lt-linha[data-so="4"] { display: block; }
.lt-v:nth-of-type(2):checked ~ .lt-linha[data-sem="2"],
.lt-v:nth-of-type(3):checked ~ .lt-linha[data-sem="3"],
.lt-v:nth-of-type(4):checked ~ .lt-linha[data-sem="4"] { display: none; }

/* a linha: traço contínuo na cor da rota, um nó por ponto */
.lt-linha, .lt-sub { list-style: none; margin: 0; padding: 0; }
.lt-linha { max-width: 760px; }
.lt-ponto, .lt-grupo { position: relative; margin: 0; }
.lt-ponto { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 16px; padding: 10px 12px 10px 50px; border-radius: 12px; transition: background .2s; scroll-margin-top: 130px; }
.lt-ponto::before, .lt-grupo::before { content: ""; position: absolute; left: 21px; top: 0; bottom: 0; width: 4px; background: var(--lt-cor); }
.lt-ponto.is-inicio::before { top: 50%; }
.lt-ponto.is-fim::before { bottom: 50%; }
.lt-sub .lt-ponto::before { display: none; }
.lt-ponto::after { content: ""; position: absolute; left: 17px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2.5px var(--lt-no); }
.lt-ponto.is-ref::after { left: 13px; width: 20px; height: 20px; margin-top: -10px; background: var(--lt-no); box-shadow: 0 0 0 3px #fff; }
.lt-ponto.is-inicio::after, .lt-ponto.is-fim::after { left: 11px; width: 24px; height: 24px; margin-top: -12px; border-radius: 7px; background: var(--c-verde-escuro); box-shadow: 0 0 0 3px #fff; }
.lt-txt { min-width: 0; font-size: 1.0625rem; line-height: 1.4; color: var(--c-texto); }
.lt-txt strong { font-weight: 600; color: var(--c-verde-escuro); }
.lt-sub .lt-txt { font-size: 1rem; }
.lt-sub .lt-txt strong { font-weight: 500; }
.lt-ref { color: var(--c-muted); }
.lt-ref::before { content: "· "; }
.lt-marca { display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: 999px; background: var(--c-fundo-3); font-size: .8125rem; font-weight: 500; color: var(--c-verde-escuro); vertical-align: 1px; }
.lt-marca.is-cond { background: #fff3c2; color: #6b4b00; }
.lt-hora { font-size: 1.25rem; font-weight: 600; color: var(--c-verde-escuro); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lt-janela { display: none; }
.lt-ponto.is-cond { background: #fffaea; }
.lt-ponto.is-achado { background: #f3fbe2; box-shadow: inset 0 0 0 2px #c8f169; }

/* trecho recolhido: "7 pontos no caminho, entre 06:00 e 06:15" */
.lt-grupo > details { margin: 2px 0 2px 44px; border-radius: 14px; background: var(--c-fundo); }
.lt-grupo > details[open] { background: var(--lt-claro); }
.lt-grupo summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 12px 8px 16px; border-radius: 14px; font-size: .9375rem; color: var(--c-muted); }
.lt-grupo summary::-webkit-details-marker { display: none; }
.lt-grupo summary:hover { background: var(--c-fundo-3); }
.lt-grupo summary b { font-weight: 600; color: var(--c-verde-escuro); }
.lt-grupo-h { font-variant-numeric: tabular-nums; }
.lt-grupo-ver { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: .3rem .75rem; border-radius: 999px; background: #fff; font-size: .875rem; font-weight: 500; color: var(--c-verde-escuro); }
.lt-grupo-ver::before { content: "Ver pontos"; }
.lt-grupo details[open] .lt-grupo-ver::before { content: "Fechar"; }
.lt-grupo-ver::after { content: ""; width: 10px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.lt-grupo details[open] .lt-grupo-ver::after { transform: rotate(180deg); }
.lt-sub { padding: 0 6px 8px; }
.lt-sub .lt-ponto { padding: 7px 10px 7px 30px; }
.lt-sub .lt-ponto::after { left: 10px; }

.lt-legenda { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 1.5rem; font-size: .9375rem; color: var(--c-muted); }
.lt-legenda span { display: inline-flex; align-items: center; gap: 8px; }
.lt-legenda i { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--c-verde); }
.lt-legenda i.lt-leg-entre { width: 12px; height: 12px; background: #fff; box-shadow: inset 0 0 0 2.5px var(--c-verde); }
.lt-contato { margin-top: 1rem; }

@media (max-width: 560px) {
	.lt-agora { grid-template-columns: 1fr; }
	.lt-res-onde { grid-template-columns: 1fr auto; }
	.lt-res-hs { grid-column: 1 / -1; grid-row: 2; }
	.lt-abas-rota label { font-size: 1rem; gap: 8px; }
	.lt-turno { padding: 14px 10px; border-radius: 18px; }
	.lt-turno-tit { padding: 0 6px; }
	.lt-viagens { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
	.lt-viagens-tit { display: none; }
	.lt-viagens label { flex-direction: column; justify-content: center; gap: 0; padding: .45rem .3rem; border-radius: 14px; font-size: .8125rem; line-height: 1.3; text-align: center; }
	.lt-viagens small { font-size: .75rem; }
	.lt-ponto { padding: 9px 8px 9px 46px; gap: 2px 10px; }
	.lt-grupo > details { margin-left: 40px; }
	.lt-grupo summary { padding: 8px 8px 8px 12px; }
	.lt-grupo-ver::before { content: "Ver"; }
	.lt-marca { margin-left: 0; display: table; margin-top: 2px; }
}
@media print { .lt-busca, .lt-agora, .lt-abas { display: none; } .lt-rota, .lt-turno { display: block; } }
html.alto-contraste .lt-busca, html.alto-contraste .lt-res > li, html.alto-contraste .lt-agora-card, html.alto-contraste .lt-abas, html.alto-contraste .lt-abas label, html.alto-contraste .lt-rota-topo, html.alto-contraste .lt-turno, html.alto-contraste .lt-viagens label, html.alto-contraste .lt-grupo > details, html.alto-contraste .lt-sug, html.alto-contraste .lt-res-hs li { background: #000 !important; border-color: #fff !important; color: #fff !important; box-shadow: none !important; }
html.alto-contraste .lt-txt strong, html.alto-contraste .lt-hora, html.alto-contraste .lt-agora-hora, html.alto-contraste .lt-res-hs li.is-prox { color: #ff0 !important; }
html.alto-contraste .lt-ponto.is-cond, html.alto-contraste .lt-ponto:hover { background: transparent !important; }
