/* =========================================================================
   Abaeté Transparência
   Cores do brasão municipal (verde, índigo, vermelho) · Sora auto-hospedada
   Tamanhos em rem (redimensionamento de texto, PNTP 13.4) · contraste AA.
   ========================================================================= */

@font-face {
	font-family: "Sora";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url("../fonts/sora-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Sora";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url("../fonts/sora-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--fs-base: 16px;

	/* Versão 2: petróleo profundo e creme (base), verde do brasão nos links,
	   lima como destaque pontual. Índigo e vermelho do brasão continuam. */
	--verde-950: #072322;
	--verde-900: #0b3130;
	--verde-800: #144443;
	--verde-700: #1a5452;
	--verde-600: #1f6b58;
	--verde-300: #c8f169;
	--verde-100: #eaf0e3;
	--lima: #c8f169;
	--laranja: #d9661c;
	--amarelo: #b07d0a;
	--indigo: #40357f;
	--indigo-100: #ebe9f5;
	--vermelho: #c23b32;
	--vermelho-100: #fbe9e7;
	--ouro: #f2c230;

	/* Neutros quentes */
	--texto: #1d2726;
	--muted: #5d6765;
	--linha: #dfe3e0;
	--fundo: #ffffff;
	--fundo-2: #f2f4f2;
	--fundo-3: #e8ecea; /* um tom abaixo do fundo: separa superfícies sem linha */

	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;
	/* Superfícies em repouso não têm sombra; só o que flutua (menus, busca, gaveta). */
	--sombra-sm: none;
	--sombra: none;
	--sombra-lg: 0 30px 60px -24px rgba(7, 35, 34, .45);
	--max: 1280px;
	--font: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 136px; /* medido em JS */
	--util-h: 38px;
	--ilha-m: clamp(0px, 1.3vw - 4px, 18px);
	--ilha-r: clamp(0px, 2.4vw - 8px, 32px);
	--ilha-r-lg: 32px;
}

/* ---------- Base ---------- */
html { font-size: var(--fs-base); scroll-behavior: smooth; scroll-padding-top: 110px; }
html, body { overflow-x: clip; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); font-size: 1rem; color: var(--texto); background: var(--fundo-2); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--verde-600); text-underline-offset: 3px; }
a:hover { color: var(--verde-800); }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--verde-900); letter-spacing: -.015em; font-weight: 500; text-wrap: balance; }
b, strong { font-weight: 600; }
h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); margin: 0 0 .6rem; }
h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 880px; }
.center { text-align: center; }
.small { font-size: .9375rem; }
.muted { color: var(--muted); }
.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.22em; }
.icon.flip { transform: rotate(180deg); }
.icon.up { transform: rotate(-90deg); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 0; }
.center .btn-row { justify-content: center; }

/* Faixa de identidade com as três cores do brasão */
.faixa-brasao { display: flex; height: 5px; position: relative; z-index: 86; }
.faixa-brasao span { flex: 1; background: var(--verde-600); }
.faixa-brasao span:nth-child(2) { background: var(--indigo); }
.faixa-brasao span:nth-child(3) { background: var(--vermelho); }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 500; font-size: .9375rem; line-height: 1.2; padding: .8rem 1.3rem; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-primary { background: var(--verde-800); color: #fff; }
.btn-primary:hover { background: var(--verde-950); color: #fff; }
.btn-dark { background: var(--verde-900); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-light { background: #fff; color: var(--verde-800); }
.btn-light:hover { background: var(--lima); color: var(--verde-900); }
.btn-ghost { background: var(--fundo-2); color: var(--verde-800); }
.btn-ghost:hover { background: var(--lima); color: var(--verde-900); }
.btn-ghost-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .22); border-color: transparent; color: #fff; }
.btn-sm { padding: .45rem .9rem; font-size: .9375rem; }
.btn-outline { background: var(--fundo-2); color: var(--verde-800); }
.btn-outline:hover { background: var(--verde-800); color: #fff; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--fundo-2); color: var(--verde-900); cursor: pointer; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--verde-800); border-color: var(--verde-800); color: #fff; }
.icon-btn:disabled { opacity: .4; cursor: default; background: var(--fundo-2); color: var(--verde-900); }

/* Rótulo acima dos títulos de seção */
.eyebrow { margin: 0 0 .7rem; font-size: .9375rem; font-weight: 500; color: var(--muted); }
.eyebrow-light { color: rgba(255, 255, 255, .8); }
.link-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 500; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }
.pill { display: inline-block; font-size: .8125rem; font-weight: 500; color: var(--verde-600); margin-bottom: .5rem; }
.pill-light { color: var(--verde-300); }

/* ---------- Atalhos ---------- */
.skip-links { list-style: none; margin: 0; padding: 0; }
.skip-links a { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--ouro); color: #000; padding: .7rem 1rem; font-weight: 600; }
.skip-links a:focus { left: 0; }
.skip-links span { font-weight: 400; }

/* ---------- Barra utilitária ---------- */
.utilbar { position: relative; z-index: 1; height: var(--util-h); padding: 0 20px; overflow: hidden; background: var(--verde-950); color: rgba(255, 255, 255, .85); font-size: .8125rem; border-radius: 20px 20px 0 0; transition: opacity .2s; }
.utilbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 100%; }
.utilbar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 16px; }
.utilbar a, .utilbar button { color: inherit; background: none; border: 0; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; text-decoration: none; }
.utilbar a:hover, .utilbar button:hover { color: #fff; text-decoration: underline; }
.a11y-symbol .icon { background: #fff; color: var(--verde-900); border-radius: 50%; padding: 2px; width: 1.5em; height: 1.5em; }
.font-tools { gap: 4px !important; }
.font-tools button { background: rgba(255, 255, 255, .12) !important; border-radius: 6px; padding: 1px 7px; font-weight: 600; }
.font-tools button:hover { text-decoration: none; background: rgba(255, 255, 255, .24) !important; }
.util-links { display: flex; align-items: center; gap: 18px; }
.util-menu a { font-weight: 500; }
.utilbar .social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.utilbar .social .icon { width: 1rem; height: 1rem; }

/* ---------- Cabeçalho flutuante ---------- */
/* A barra de acessibilidade é a parte de cima do cabeçalho. Ao rolar, o
   cabeçalho gruda com ela acima da tela (top negativo) e fica só o menu. */
.site-header { position: sticky; top: calc(-1 * var(--util-h)); z-index: 80; padding: 12px 0; transition: padding .25s var(--ease); }
.is-scrolled .site-header { padding: 8px 0; }
.is-scrolled .utilbar { opacity: 0; visibility: hidden; }
.nav-shell { position: relative; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 0 0 20px 20px; padding: 10px 12px 10px 20px; transition: border-radius .2s, box-shadow .2s; }
.is-scrolled .nav-shell { border-radius: 20px; box-shadow: 0 12px 30px -18px rgba(7, 35, 34, .45); }
.brand { display: flex; align-items: center; flex: none; margin-right: 6px; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-text { font-weight: 600; color: var(--verde-900); }
.main-nav { flex: 1; min-width: 0; }
.main-nav .menu, .main-nav .sub-menu, .mega-links { list-style: none; margin: 0; padding: 0; }
.main-nav > .menu { display: flex; align-items: center; justify-content: center; gap: 2px; }
.main-nav > .menu > li { position: static; display: flex; align-items: center; }
.main-nav > .menu > li:not(.mega) { position: relative; }
.main-nav > .menu > li > a, .main-nav > .menu > li > .submenu-toggle { display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .6rem; border-radius: 999px; border: 0; background: none; font: inherit; font-size: .9375rem; font-weight: 500; color: var(--verde-900); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.main-nav > .menu > li > a:hover, .main-nav > .menu > li > .submenu-toggle:hover, .main-nav > .menu > li > .submenu-toggle[aria-expanded="true"], .main-nav > .menu > li:hover > .submenu-toggle { background: var(--verde-100); color: var(--verde-700); }
.main-nav > .menu > li > [aria-current="page"] { color: var(--verde-600); }
.main-nav .submenu-toggle.only-icon { padding-left: 0; }
.main-nav .chev { transform: rotate(90deg); width: .85em; height: .85em; transition: transform .2s; }
.main-nav [aria-expanded="true"] .chev { transform: rotate(-90deg); }
.main-nav .ext { width: .8em; height: .8em; margin-left: .3em; opacity: .5; }

/* Dropdown simples */
.main-nav .sub-menu:not(.mega-cols) { position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px; background: #fff; border: 1px solid var(--linha); border-top: 3px solid var(--verde-600); border-radius: var(--r); box-shadow: var(--sombra-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s var(--ease) .22s, transform .18s var(--ease) .22s, visibility 0s linear .4s; z-index: 90; }
.main-nav .sub-menu a { display: block; padding: .5rem .8rem; border-radius: 8px; color: var(--texto); text-decoration: none; font-size: .9375rem; }
.main-nav .sub-menu a:hover { background: var(--fundo-2); color: var(--verde-700); }

/* Mega menu */
.mega-panel { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: #fff; border: 1px solid var(--linha); border-top: 3px solid var(--verde-600); border-radius: var(--r-lg); box-shadow: var(--sombra-lg); padding: 26px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s var(--ease) .22s, transform .18s var(--ease) .22s, visibility 0s linear .4s; z-index: 90; max-height: calc(100vh - 160px); overflow-y: auto; }
.main-nav .mega-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px 30px; }
.mega-cols > li { min-width: 0; }
.mega-title { display: block; font-size: .9375rem; font-weight: 600; color: var(--verde-900); padding: 0 .6rem .45rem; margin-bottom: .2rem; text-decoration: none; }
.mega-links a { display: block; padding: .42rem .6rem; border-radius: 8px; color: var(--texto); text-decoration: none; font-size: .9375rem; line-height: 1.4; }
.mega-links a:hover { background: var(--fundo-2); color: var(--verde-700); }

@media (min-width: 1201px) {
	.main-nav li:hover > .sub-menu, .main-nav .sub-menu.open,
	.main-nav li:hover > .mega-panel, .main-nav .mega-panel.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s; }
	.nav-closing .main-nav li:hover > .sub-menu, .nav-closing .main-nav li:hover > .mega-panel { opacity: 0; visibility: hidden; transition: none; }
	/* ao trocar de item, o painel anterior fecha na hora */
	.main-nav > .menu:has(> li:hover) > li:not(:hover) > .sub-menu:not(.open), .main-nav > .menu:has(> li:hover) > li:not(:hover) > .mega-panel:not(.open) { transition: none; }
	/* ponte invisível entre o item e o painel, para o hover não cair no vão */
	.main-nav li.mega > .mega-panel::before, .main-nav li:not(.mega) > .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px; }
	.drawer-head, .drawer-cta { display: none !important; }
}

.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.btn-transp { padding: .75rem 1.1rem; }
.menu-toggle { display: none; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(7, 35, 34, .55); z-index: 79; }
.search-toggle { width: 46px; height: 46px; border-radius: 50%; background: var(--fundo-2); color: var(--verde-900); }
.search-toggle:hover { background: var(--lima); color: var(--verde-900); }

/* ---------- Busca em sobreposição (lupa do cabeçalho) ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: minmax(0, 780px); justify-content: center; align-items: start; padding: 12vh 20px 24px; overflow-y: auto;
	background: rgba(7, 35, 34, .66); animation: fade-in .2s ease; }
.search-overlay[hidden] { display: none; }
.search-panel { min-width: 0; background: #fff; border-radius: 28px; padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 40px 90px -30px rgba(7, 35, 34, .55); animation: panel-in .3s var(--ease); }
.search-panel-head { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.search-panel-head .eyebrow { margin: 0; }
.search-panel-head .icon-btn { background: var(--fundo-2); }
.search-panel-head .icon-btn:hover { background: var(--verde-900); color: #fff; }
.search-panel-title { margin: .5rem 0 1.2rem; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); letter-spacing: -.02em; color: var(--verde-900); }
.search-big { display: flex; align-items: center; gap: 6px; padding: 7px 7px 7px 22px; border: 1.5px solid transparent; border-radius: 999px; background: var(--fundo-2); transition: border-color .2s, box-shadow .2s, background .2s; }
.search-big:focus-within { border-color: var(--verde-800); background: #fff; box-shadow: 0 0 0 5px rgba(200, 241, 105, .55); }
.search-big > .icon { flex: none; width: 1.35rem; height: 1.35rem; color: var(--verde-800); }
.search-big input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.15rem; padding: .85rem .6rem; outline: none; color: var(--texto); }
.search-big input::placeholder { color: #8a918f; }
.search-big .btn { flex: none; padding: .95rem 1.6rem; }
.search-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 1.2rem; }
.search-suggest p { margin: 0 6px 0 0; font-size: .9375rem; color: var(--muted); }
.search-suggest ul { display: contents; list-style: none; }
.search-suggest a { display: inline-block; padding: .42rem .95rem; border-radius: 999px; background: var(--fundo-2); color: var(--verde-900); font-size: .9375rem; font-weight: 500; text-decoration: none; transition: background .2s; }
.search-suggest a:hover { background: var(--lima); }
.search-shortcuts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 1.6rem 0 0; padding: 0; }
.search-shortcuts a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; color: var(--verde-900); font-weight: 500; font-size: 1rem; text-decoration: none; transition: background .2s; }
.search-shortcuts a:hover { background: var(--fundo-2); }
.search-shortcut-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--verde-900); color: var(--lima); }
.search-shortcut-ico .icon { width: 1.15rem; height: 1.15rem; }
.search-hint { margin: 1.2rem 0 0; font-size: .8125rem; color: var(--muted); }
.search-hint kbd { display: inline-block; min-width: 1.6em; padding: .05rem .4rem; border: 1px solid var(--linha); border-bottom-width: 2px; border-radius: 6px; background: var(--fundo-2); font: inherit; font-size: .8125rem; text-align: center; color: var(--texto); }
@keyframes fade-in { from { opacity: 0; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(-14px) scale(.98); } }

/* ---------- Busca (páginas internas) ---------- */
.search-form { display: flex; align-items: center; background: #fff; border: 1.5px solid transparent; border-radius: 999px; padding: 4px; max-width: 640px; margin: 0 auto 1.5rem; }
.search-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; padding: .7rem 1rem; outline: none; color: var(--texto); }
.search-form:focus-within { border-color: var(--verde-600); box-shadow: 0 0 0 4px rgba(36, 113, 63, .14); }
.search-form button { border: 0; background: var(--verde-600); color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex: none; }
.search-form button:hover { background: var(--verde-700); }

/* ---------- Fundo com linhas onduladas (abertura, seções verdes, rodapé) ---------- */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none;
	background: var(--verde-900);
}
/* Ladrilho de 600 x 240 px: as ondas terminam na mesma altura e inclinação em
   que começam, e o deslocamento é de exatamente um ladrilho (sem saltos). */
.hero-bg::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: -600px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='240' viewBox='0 0 600 240'%3E%3Cg fill='none' stroke='%23e6f5d0' stroke-opacity='.13' stroke-width='1.2'%3E%3Cpath d='M0 -10C50 -40 100 -40 150 -10S250 20 300 -10S400 -40 450 -10S550 20 600 -10'/%3E%3Cpath d='M0 30C50 0 100 0 150 30S250 60 300 30S400 0 450 30S550 60 600 30'/%3E%3Cpath d='M0 70C50 40 100 40 150 70S250 100 300 70S400 40 450 70S550 100 600 70'/%3E%3Cpath d='M0 110C50 80 100 80 150 110S250 140 300 110S400 80 450 110S550 140 600 110'/%3E%3Cpath d='M0 150C50 120 100 120 150 150S250 180 300 150S400 120 450 150S550 180 600 150'/%3E%3Cpath d='M0 190C50 160 100 160 150 190S250 220 300 190S400 160 450 190S550 220 600 190'/%3E%3Cpath d='M0 230C50 200 100 200 150 230S250 260 300 230S400 200 450 230S550 260 600 230'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 600px 240px; animation: drift 90s linear infinite; }
.hero-bg.subtle::before { opacity: .7; }
@keyframes drift { to { transform: translate3d(-600px, 0, 0); } }

/* ---------- Abertura (capa) ---------- */
.hero { position: relative; background: var(--verde-900); color: #fff; margin: calc(-1 * var(--header-h)) var(--ilha-m) 0; padding-top: calc(var(--header-h) + 24px); overflow: hidden; isolation: isolate; border-radius: 0 0 var(--ilha-r) var(--ilha-r); }
.hero > .hero-bg { z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: end; }
.hero-grid > *, .two-cols > *, .gestao > *, .split-head > *, .news-layout > * { min-width: 0; }
.hero-copy { padding: 40px 0 84px; align-self: center; }
.hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.15rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; max-width: 19ch; }
.hero-lead { font-size: 1.125rem; color: rgba(255, 255, 255, .9); max-width: 48ch; }
.hero-ato { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .35rem .5rem; margin: 1.6rem 0 0; color: #fff; text-decoration: none; font-size: .9375rem; }
.hero-ato:hover { color: var(--lima); }
.hero-ato:hover span:not(.hero-ato-label) { text-decoration: underline; }
.hero-ato-label { color: rgba(255, 255, 255, .8); }
.hero-ato .icon { width: 1rem; height: 1rem; color: var(--lima); transition: transform .2s var(--ease); }
.hero-ato:hover .icon { transform: translateX(3px); }
.hero-search-form { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 20px; max-width: 600px; margin-top: 1.8rem; }
.hero-search-form > .icon { color: var(--verde-800); width: 1.3rem; height: 1.3rem; }
.hero-search-form input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1rem; padding: .8rem 0; outline: none; color: var(--texto); background: transparent; }
.hero-search-form button { border: 0; border-radius: 999px; background: var(--verde-800); color: #fff; font: inherit; font-weight: 600; padding: .85rem 1.5rem; cursor: pointer; transition: background .2s; }
.hero-search-form button:hover { background: var(--verde-950); }
.hero-search-form:focus-within { box-shadow: 0 0 0 4px rgba(200, 241, 105, .6); }
.hero-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 1rem; font-size: .9375rem; color: rgba(255, 255, 255, .8); }
.hero-chips a { color: #fff; background: rgba(255, 255, 255, .12); border-radius: 999px; padding: .3rem .9rem; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.hero-chips a:hover { background: var(--lima); color: var(--verde-900); }
.hero-media { display: flex; justify-content: center; align-self: end; }
.hero-media img { display: block; width: 100%; max-width: 640px; height: auto; }

/* ---------- Seções ---------- */
.section { position: relative; padding: 80px 0; }
.section-soft { background: var(--fundo-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head p { margin: 0; color: var(--texto); font-size: 1.125rem; flex-basis: 100%; order: 2; }
.section-head > .eyebrow { order: 0; margin-bottom: -.5rem; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-title { position: relative; margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.35rem); font-weight: 500; letter-spacing: -.025em; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: center; margin-bottom: 2.6rem; }
.split-head p { margin-bottom: 1.2rem; }
.split-head p.btn-row { margin-bottom: 0; }

/* Acesso rápido */
.quick-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-grid { gap: 4px 28px; }
.quick-grid a { position: relative; display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 40px 14px 12px; border-radius: var(--r); text-decoration: none; color: var(--verde-900); font-weight: 500; font-size: 1rem; line-height: 1.3; transition: background .2s, color .2s; }
.quick-grid a:hover { background: #fff; color: var(--verde-900); }
.quick-ico { flex: none; display: grid; place-items: center; width: 28px; height: 28px; color: var(--verde-600); transition: color .2s, transform .25s var(--ease); }
.quick-ico .icon { width: 1.5rem; height: 1.5rem; }
.quick-grid a:hover .quick-ico { color: var(--verde-900); transform: translateY(-2px); }
.quick-arrow { position: absolute; right: 16px; top: 50%; width: 1rem; height: 1rem; color: var(--verde-600); opacity: 0; transform: translate(-6px, -50%); transition: .25s var(--ease); }
.quick-grid a:hover .quick-arrow { opacity: 1; transform: translate(0, -50%); }

/* Destaques */
.section-highlights { padding-top: 0; }
/* Na capa, duas seções seguidas sobre o mesmo fundo creme somavam 160 px de
   vão. A segunda perde o respiro de cima e todas ficam a 80 px (56 no celular). */
.home .section:not(.section-transp) + .section:not(.section-transp) { padding-top: 0; }
.slide { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 32px; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; padding: 48px 0 0 56px; animation: fade .5s var(--ease); }
.slide[hidden] { display: none; }
.slide-0 { background: #f2c230; }
.slide-1 { background: #dfe9cf; }
.slide-2 { background: #e2def2; }
.slide-copy { padding-bottom: 48px; align-self: center; }
.slide h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.35rem); font-weight: 600; color: var(--verde-950); margin: 0 0 .7rem; }
.slide p { color: #1d2726; font-size: 1.125rem; max-width: 46ch; }
.slide-media { align-self: end; display: flex; justify-content: center; }
.slide-media img { display: block; max-height: 380px; width: auto; object-fit: contain; }
.carousel-ui { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.carousel-ui .icon-btn { width: 38px; height: 38px; }
.dots { display: flex; gap: 6px; }
.dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(15, 46, 29, .3); cursor: pointer; padding: 0; transition: width .3s var(--ease), background .3s; }
.dots button[aria-current="true"] { width: 30px; background: var(--verde-800); }
@keyframes fade { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

/* Notícias: manchete à esquerda, três chamadas à direita */
.news-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.news-list { display: grid; gap: 16px; }
.news-layout .card { background: none; border: 0; border-radius: 0; overflow: visible; }
.news-layout .card-link { color: var(--texto); }
.news-layout .card-media { border-radius: var(--r); background: var(--verde-100); }
.news-layout .card-media img { transition: transform .6s var(--ease); }
.news-layout .card-link:hover .card-media img { transform: scale(1.04); }
.news-layout .card-big .card-media { aspect-ratio: 16 / 11; }
.news-layout .card-big .card-body { padding: 18px 0 0; gap: .9rem; }
.news-layout .card-big .card-title { font-size: clamp(1.3rem, 1rem + 1vw, 1.85rem); line-height: 1.3; font-weight: 600; }
.news-layout .card-row .card-link { flex-direction: row; gap: 22px; }
.news-layout .card-row .card-media { flex: none; width: 46%; max-width: 300px; aspect-ratio: 16 / 10; }
.news-layout .card-row .card-body { padding: 8px 0; align-content: space-between; gap: 1rem; }
.news-layout .card-row .card-title { font-size: 1.125rem; line-height: 1.45; font-weight: 500; -webkit-line-clamp: 4; }
.news-layout .card-link:hover .card-title { color: var(--verde-600); text-decoration: none; }

/* Notícias em carrossel: capa com proporção fixa e corte centralizado */
.news-head { align-items: end; }
.news-nav { display: flex; align-items: center; gap: 10px; }
.news-nav .link-more { margin-right: 6px; }
.news-nav .icon-btn { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--verde-900); }
.news-nav .icon-btn:hover:not(:disabled) { background: var(--verde-900); color: var(--lima); }
.news-nav [data-news="prev"] .icon { transform: rotate(180deg); }
.news-track { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3); column-gap: 22px; margin: -10px -10px 0; padding: 10px 10px 18px; scroll-padding-inline: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.news-track::-webkit-scrollbar { display: none; }
.news-track > li { scroll-snap-align: start; min-width: 0; }
.news-card { height: 100%; background: #fff; border: 1px solid var(--linha); border-radius: 24px; padding: 10px; transition: transform .3s var(--ease); }
.news-card:hover { transform: translateY(-3px); }
.news-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.news-media { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--fundo-2); }
.news-media::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(20, 68, 67, .14); pointer-events: none; }
.news-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: var(--verde-900); color: var(--lima); }
.news-placeholder .icon { width: 2.6rem; height: 2.6rem; opacity: .8; }
.news-date { position: absolute; left: 12px; top: 12px; z-index: 2; display: grid; justify-items: center; min-width: 58px; padding: 7px 9px 6px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(20, 68, 67, .12); color: var(--muted); font-size: .8125rem; line-height: 1.1; }
.news-date strong { font-size: 1.25rem; font-weight: 500; color: var(--verde-900); letter-spacing: 0; }
.news-body { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; flex: 1; padding: 16px 10px 8px; }
.news-cat { padding: .25rem .7rem; border-radius: 999px; background: var(--verde-100); color: var(--verde-800); font-size: .8125rem; font-weight: 500; }
.news-title { margin: 0; font-size: 1.125rem; font-weight: 500; line-height: 1.42; color: var(--verde-900); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: .4rem; font-size: .9375rem; font-weight: 500; color: var(--verde-800); }
.news-more .icon { box-sizing: content-box; width: .85rem; height: .85rem; padding: .45rem; border-radius: 50%; background: var(--fundo-2); color: var(--verde-900); transition: background .25s, transform .25s var(--ease); }
.news-card:hover .news-more .icon { background: var(--lima); transform: rotate(-45deg); }
.news-card-link:focus-visible { outline: none; }
.news-card:has(.news-card-link:focus-visible) { outline: 3px solid var(--verde-800); outline-offset: 2px; }
.news-progress { height: 4px; margin-top: 6px; border-radius: 999px; background: var(--fundo-3); overflow: hidden; }
.news-progress span { display: block; height: 100%; width: 33%; border-radius: inherit; background: var(--verde-800); transition: width .3s var(--ease), margin-left .3s var(--ease); }
.card-date { font-size: .9375rem; color: var(--muted); }
.card-date::before { content: "•"; margin-right: .35rem; }

/* Cartões (listas de notícias e busca) */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--linha); border-radius: var(--r); overflow: hidden; transition: transform .25s var(--ease); }
.cards-grid .card:hover { transform: translateY(-4px); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--texto); }
.card-link:hover .card-title { color: var(--verde-600); }
.card-media { aspect-ratio: 16 / 9; background: var(--verde-100); display: grid; place-items: center; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder .icon { width: 2.4rem; height: 2.4rem; color: var(--verde-600); opacity: .5; }
.card-body { padding: 16px 18px 18px; display: grid; gap: .45rem; }
.card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-tag { font-weight: 500; color: var(--indigo); }
.card-title { margin: 0; font-size: 1.125rem; line-height: 1.35; color: var(--verde-900); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-excerpt { color: var(--texto); margin: 0; font-size: 1rem; }

/* Transparência (seção verde com linhas onduladas) */
.section-transp { background: var(--verde-900); color: rgba(255, 255, 255, .88); overflow: hidden; isolation: isolate; }
.section-transp > .hero-bg { z-index: -1; }
.section-transp .section-title { color: #fff; }
.section-transp p { color: rgba(255, 255, 255, .88); font-size: 1.125rem; }
.counters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px 28px; margin: 0 0 3rem; }
.counters > div { padding: 0; }
.counters dt { font-size: clamp(2rem, 1.2rem + 2.2vw, 3.25rem); font-weight: 500; color: #fff; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.counters dd { margin: .5rem 0 0; font-size: .9375rem; }
.counters dd a { color: var(--verde-300); text-decoration: none; }
.counters dd a:hover { color: #fff; text-decoration: underline; }
.transp-cta { margin-top: 2rem; }
.transp-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.transp-tiles a { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r); background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; font-weight: 500; font-size: 1rem; transition: background .15s, color .15s; }
.transp-tiles a > .icon { width: 1.5rem; height: 1.5rem; color: var(--lima); }
.transp-tiles a:hover, .transp-tiles a:focus-visible { background: #fff; color: var(--verde-900); }
.transp-tiles a:hover > .icon, .transp-tiles a:focus-visible > .icon { color: var(--verde-600); }

/* Painéis de licitações e atos */
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { display: flex; flex-direction: column; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: .7rem; }
.panel-title { font-size: 1.25rem; margin: 0; }
.list-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.list-rows li { margin: 0; }
.list-rows a { display: grid; grid-template-columns: 6.6rem 1fr; gap: 14px; padding: .85rem .7rem; border-radius: 14px; text-decoration: none; color: var(--texto); transition: background .2s; }
.list-rows a:hover { background: #fff; }
.list-rows a:hover .row-title { color: var(--verde-600); text-decoration: underline; }
/* Na capa os painéis viram cartões, como os passos e as notícias */
.home .two-cols .panel { padding: 24px 26px 18px; border: 1px solid var(--linha); border-radius: 24px; background: #fff; }
.home .two-cols .panel-head { padding-bottom: .6rem; }
.home .two-cols .list-rows a { margin: 0 -.7rem; }
.home .two-cols .list-rows a:hover { background: var(--fundo-2); }
.row-date { font-size: .9375rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: .1rem; }
.row-body { display: grid; gap: .15rem; min-width: 0; }
.row-kicker { font-size: .9375rem; font-weight: 500; color: var(--indigo); }
.row-title { font-weight: 500; font-size: 1rem; line-height: 1.4; }
.row-meta { font-size: .9375rem; color: var(--muted); }

/* Administração */
.gestao-head .gestao-lead { flex-basis: auto; order: 0; max-width: 46ch; }
.gestao-cards { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; }
.gestao-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 24px 22px 22px; border: 1px solid var(--linha); border-radius: 22px; background: #fff; color: var(--verde-900); text-decoration: none; transition: background .25s, color .25s, transform .25s var(--ease); }
.gestao-card-foto, .gestao-card-ico { width: 120px; height: 120px; margin-bottom: 20px; border-radius: 50%; }
.gestao-card-foto { object-fit: cover; object-position: center top; background: var(--verde-100); outline: 2px solid var(--lima); outline-offset: 4px; }
.gestao-card-ico { display: grid; place-items: center; background: var(--fundo-2); color: var(--verde-800); transition: background .25s, color .25s; }
.gestao-card-ico .icon { width: 1.7rem; height: 1.7rem; }
.gestao-card-rot { font-size: .9375rem; color: var(--muted); transition: color .25s; }
.gestao-card-txt { margin: .15rem 0; font-size: 1.125rem; font-weight: 500; line-height: 1.3; }
.gestao-card-seta { position: absolute; right: 20px; top: 24px; width: 1rem; height: 1rem; color: var(--muted); transition: transform .25s var(--ease), color .25s; }
a.gestao-card:hover { background: var(--verde-900); border-color: var(--verde-900); color: #fff; transform: translateY(-3px); }
a.gestao-card:hover .gestao-card-rot { color: rgba(255, 255, 255, .72); }
a.gestao-card:hover .gestao-card-ico { background: var(--lima); color: var(--verde-900); }
a.gestao-card:hover .gestao-card-seta { color: var(--lima); transform: translateX(3px); }

/* ---------- Páginas internas ---------- */
.page-hero { position: relative; background: var(--verde-900); color: #fff; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 36px) 0 100px; overflow: hidden; isolation: isolate; }
.page-hero > .hero-bg { z-index: -1; }
/* Mesmo tamanho e tipografia do título "Prefeitura Municipal de Abaeté" da página inicial */
.page-hero h1 { color: #fff; max-width: 900px; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.15rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.page-hero .hero-kicker { margin: -.2rem 0 .6rem; font-size: 1rem; font-weight: 500; color: var(--lima); }
.page-hero .lead { color: rgba(255, 255, 255, .9); font-size: 1.125rem; max-width: 64ch; }
.page-hero .hero-search .search-form { margin: 1rem 0 0; }
.breadcrumb { margin-bottom: 1rem; font-size: .9375rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.breadcrumb li + li::before { content: "›"; margin: 0 .45rem; color: rgba(255, 255, 255, .5); }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--verde-100); }
.breadcrumb [aria-current] { color: rgba(255, 255, 255, .8); }
.meta-datas { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; color: rgba(255, 255, 255, .8); font-size: .9375rem; margin: .4rem 0 0; font-variant-numeric: tabular-nums; }
.page-body { position: relative; margin-top: -56px; padding-bottom: 72px; }
.content-card { background: #fff; border: 1px solid var(--linha); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 44px); }
.entry-content { overflow-wrap: anywhere; }
.entry-content > p, .entry-content > ul, .entry-content > ol, .entry-content .wpb_text_column p { max-width: 75ch; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: .9375rem; margin: 0 0 1.4rem; }
.entry-content kbd { display: inline-block; min-width: 1.7em; padding: .05rem .45rem; border: 1px solid var(--linha); border-bottom-width: 2px; border-radius: 6px; background: #fff; font: inherit; font-size: .82em; font-weight: 500; text-align: center; color: var(--verde-900); }
.entry-content th, .entry-content td { border: 1px solid var(--linha); padding: .55rem .7rem; text-align: left; }
.entry-content th { background: var(--fundo-2); }
.featured { margin: 0 0 1.5rem; }
.featured img { border-radius: var(--r); width: 100%; }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.post-nav a { font-weight: 500; text-decoration: none; }
.empty { background: var(--fundo-2); border-radius: var(--r-sm); padding: 1.1rem; color: var(--muted); }
.page-body > .empty, .page-body > .search-form { background: #fff; }
.full-width-content { width: 100%; }
.nav-links { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 2.5rem; }
.nav-links .page-numbers { padding: .5rem .95rem; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .9375rem; background: #fff; border: 1px solid var(--linha); }
.nav-links a.page-numbers:hover { background: var(--lima); color: var(--verde-900); }
.nav-links .current { background: var(--verde-800); color: #fff; }

/* WPBakery: linhas "largura total" ficam dentro do cartão (o script do plugin
   calcula a largura da janela e empurra a linha para fora do conteúdo). */
.content-card .vc_row[data-vc-full-width] { left: auto !important; width: auto !important; max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
.content-card .vc_row[data-vc-full-width].vc_row-no-padding { margin-left: 0; margin-right: 0; }
.content-card .vc_row-full-width { display: none; }
.content-card .vc_row.vc_row-has-fill { border-radius: var(--r); padding: 4px 18px 18px !important; margin-bottom: 1.5rem; border: 0 !important; box-shadow: none !important; }
.content-card .wpb_content_element:last-child { margin-bottom: 0; }
.ts-shortcode-custom-style { display: none; }
/* Caixas com imagem (hover box): mesma altura em cada linha */
.content-card .vc_row:has(> .wpb_column .vc-hoverbox) { display: flex; flex-wrap: wrap; }
.content-card .vc_row:has(> .wpb_column .vc-hoverbox)::before, .content-card .vc_row:has(> .wpb_column .vc-hoverbox)::after { display: none; }
.content-card .vc_row:has(> .wpb_column .vc-hoverbox) > .wpb_column { display: flex; }
.content-card .vc_row:has(> .wpb_column .vc-hoverbox) > .wpb_column > .vc_column-inner { width: 100%; display: flex; flex-direction: column; }
.content-card .vc_row:has(> .wpb_column .vc-hoverbox) > .wpb_column > .vc_column-inner > .wpb_wrapper { flex: 1; display: flex; flex-direction: column; }
.content-card .vc-hoverbox-wrapper { flex: 1; display: flex; flex-direction: column; }
.content-card .vc-hoverbox { flex: 1; display: flex; }
.content-card .vc-hoverbox-inner { flex: 1; width: 100%; }
.content-card .vc_custom_heading, .content-card .vc-hoverbox h2, .content-card .vc_btn3, .content-card .ts-button { font-family: var(--font) !important; }

/* Botões do ThemeSky (ts_button) no padrão do tema: pílula, sem caixa alta */
.content-card .ts-button-wrapper { margin: 0; }
.content-card .ts-button-wrapper a.ts-button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .7rem 1.25rem !important; border-radius: 999px !important; border: 1.5px solid transparent !important; background: var(--verde-800) !important; color: #fff !important; font-size: .9375rem !important; font-weight: 500 !important; line-height: 1.2; letter-spacing: 0 !important; text-decoration: none; box-shadow: none !important; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; }
.content-card .ts-button-wrapper a.ts-button span { display: inline-block; text-transform: lowercase; }
.content-card .ts-button-wrapper a.ts-button span::first-letter { text-transform: uppercase; }
.content-card .ts-button-wrapper a.ts-button:hover, .content-card .ts-button-wrapper a.ts-button:focus-visible { transform: translateY(-2px); background: var(--lima) !important; color: var(--verde-900) !important; }
.content-card .ts-button-wrapper a.ts-button i { font-size: .95em; }

/* Faixa de downloads (linha WPBakery com fundo + ts_button), ex.: coleta de propostas */
.content-card .vc_row.vc_row-has-fill:has(.ts-button) { --dl-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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E");
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 1.75rem !important; padding: 18px 20px !important; background: var(--fundo-2) !important; border-radius: 24px; transition: background .25s; }
.content-card .vc_row.vc_row-has-fill:has(.ts-button):hover { background: var(--fundo-3) !important; }
.content-card .vc_row.vc_row-has-fill:has(.ts-button)::before, .content-card .vc_row.vc_row-has-fill:has(.ts-button)::after { display: none; }
.content-card .vc_row.vc_row-has-fill:has(.ts-button) > .wpb_column { float: none; width: auto; flex: 0 0 auto; padding: 0; }
.content-card .vc_row.vc_row-has-fill:has(.ts-button) > .wpb_column:not(:has(.ts-button)) { flex: 1 1 320px; }
.content-card .vc_row.vc_row-has-fill:has(.ts-button) .vc_column-inner { padding: 0 !important; }
.content-card .vc_row.vc_row-has-fill:has(.ts-button) .vc_empty_space { display: none; }
.content-card .vc_row.vc_row-has-fill:has(.ts-button) .wpb_content_element { margin: 0; }
.content-card .vc_row.vc_row-has-fill:has(.ts-button) .wpb_text_column .wpb_wrapper { display: flex; align-items: center; gap: 14px; }
/* taste-skill-ignore: o gradiente é só máscara do ícone, não preenchimento. */
.content-card .vc_row.vc_row-has-fill:has(.ts-button) .wpb_text_column .wpb_wrapper::before { content: ""; flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--verde-800); -webkit-mask: var(--dl-ico) center / 22px no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: var(--dl-ico) center / 22px no-repeat, linear-gradient(#000 0 0); mask-composite: exclude; transition: background .25s, transform .3s var(--ease); }
.content-card .vc_row.vc_row-has-fill:has(.ts-button):hover .wpb_text_column .wpb_wrapper::before { transform: translateY(2px); }
.content-card .vc_row.vc_row-has-fill:has(.ts-button) .wpb_text_column :is(h2, h3, h4, h5, p) { margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--verde-900); text-align: left; text-transform: none; }
.content-card .vc_row.vc_row-has-fill:has(.ts-button) .wpb_text_column span[style] { color: inherit !important; }
/* o primeiro botão fica claro e o último em destaque, como par secundário/principal */
.content-card .vc_row.vc_row-has-fill:has(.ts-button) > .wpb_column:has(.ts-button):not(:last-child) a.ts-button { background: #fff !important; color: var(--verde-800) !important; border-color: #fff !important; box-shadow: none; }
.content-card .vc_row.vc_row-has-fill:has(.ts-button) > .wpb_column:has(.ts-button):not(:last-child) a.ts-button:hover { border-color: var(--lima) !important; background: var(--lima) !important; color: var(--verde-900) !important; }
.content-card .vc_row.vc_row-has-fill:has(.ts-button) > .wpb_column:last-child a.ts-button:hover { background: var(--lima) !important; }
/* tipo do arquivo pelo endereço do link */
.content-card a.ts-button:is([href$=".pdf" i], [href$=".zip" i], [href$=".exe" i])::after { padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .16); font-size: .8125rem; font-weight: 600; }
.content-card a.ts-button[href$=".pdf" i]::after { content: "PDF"; }
.content-card a.ts-button[href$=".zip" i]::after { content: "ZIP"; }
.content-card a.ts-button[href$=".exe" i]::after { content: "EXE"; }
.content-card .vc_row.vc_row-has-fill:has(.ts-button) > .wpb_column:not(:last-child) a.ts-button::after, .content-card a.ts-button:hover::after { background: var(--indigo-100); color: var(--indigo); }
/* o espaçador do WPBakery logo abaixo da faixa somava um vão grande demais */
.content-card .vc_row.vc_row-has-fill:has(.ts-button) + .vc_row > .wpb_column:first-child .wpb_wrapper > .vc_empty_space:first-child,
.content-card .vc_row.vc_row-has-fill:has(.ts-button) + .vc_row-full-width + .vc_row > .wpb_column:first-child .wpb_wrapper > .vc_empty_space:first-child { display: none; }
.content-card .vc_row.vc_row-has-fill:has(.ts-button) + .vc_row > .wpb_column > .vc_column-inner,
.content-card .vc_row.vc_row-has-fill:has(.ts-button) + .vc_row-full-width + .vc_row > .wpb_column > .vc_column-inner { padding-top: 0; }
@media (max-width: 760px) {
	.content-card .vc_row.vc_row-has-fill:has(.ts-button) { padding: 16px !important; }
	.content-card .vc_row.vc_row-has-fill:has(.ts-button) > .wpb_column { flex: 1 1 100%; }
	.content-card .vc_row.vc_row-has-fill:has(.ts-button) .ts-button-wrapper a.ts-button { width: 100%; }
}

/* wpDataTables */
.wpDataTablesWrapper, .wpdt-c { max-width: 100%; overflow-x: auto; font-family: var(--font) !important; }
.entry-content table, .entry-content table * { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.wpDataTablesWrapper table.wpDataTable { font-size: .9375rem; table-layout: auto !important; }
/* as larguras fixas do wpDataTables somam mais que o cartão; com layout automático
   a coluna de texto ocupa o espaço que sobra e a tabela rola na horizontal se precisar */
.wpDataTablesWrapper table.wpDataTable td { overflow: visible !important; text-overflow: clip !important; }
.wpDataTablesWrapper table.wpDataTable th, .wpDataTablesWrapper table.wpDataTable td { vertical-align: top; padding: .7rem .6rem !important; }
.wpDataTablesWrapper table.wpDataTable thead th { white-space: nowrap; }
.wpDataTablesWrapper table.wpDataTable td[class*="column-data"], .wpDataTablesWrapper table.wpDataTable td[class*="column-dat"],
.wpDataTablesWrapper table.wpDataTable td.column-nmero, .wpDataTablesWrapper table.wpDataTable td.column-anexos { white-space: nowrap; }
.wpDataTablesWrapper table.wpDataTable td.column-objetoouttulo, .wpDataTablesWrapper table.wpDataTable td[class*="column-ementa"], .wpDataTablesWrapper table.wpDataTable td[class*="column-ttulo"], .wpDataTablesWrapper table.wpDataTable td[class*="column-descri"] { min-width: 280px; }
.wpDataTablesWrapper table.wpDataTable td a { overflow-wrap: anywhere; }
.wpDataTablesWrapper table.wpDataTable td.column-urllink, .wpDataTablesWrapper table.wpDataTable td.column-vencedor { min-width: 150px; }
.wpDataTableFilterBox { display: flex; flex-wrap: wrap; gap: 4px 0; }
/* páginas com tabela: mais largura útil dentro do cartão */
.content-card:has(.wpDataTablesWrapper) { padding: clamp(16px, 2vw, 28px); }
.wpDataTablesWrapper table.wpDataTable thead th { background: var(--verde-800) !important; color: #fff !important; font-weight: 500 !important; border: 0 !important; }
.wpDataTablesWrapper table.wpDataTable tbody tr:hover td { background: var(--fundo-2) !important; }

.sc-banner { display: inline-block; margin: 4px; }

/* Caixas de informação (SIC, Ouvidoria, LGPD) inseridas automaticamente */
.info-box { border: 1px solid var(--linha); border-radius: var(--r); padding: 20px 24px; margin: 0 0 1.6rem; background: var(--fundo-2); }
.info-box h2 { font-size: 1.125rem; margin: 0 0 .6rem; }
.info-box dl { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 0 0 .9rem; font-size: .9375rem; }
@media (max-width: 560px) { .info-box dl { grid-template-columns: 1fr; gap: 0; } .info-box dd { margin-bottom: .4rem; } }
.info-box dt { font-weight: 600; color: var(--muted); }
.info-box dd { margin: 0; }
.info-box p:last-child { margin-bottom: 0; }

/* ---------- Portal da Transparência ---------- */
.transp-tools { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.25rem; padding: 14px; background: #fff; border: 1px solid var(--linha); border-radius: var(--r-lg); }
.transp-tools input { flex: 1 1 320px; padding: .8rem 1.1rem; border: 1.5px solid transparent; border-radius: 999px; font: inherit; background: var(--fundo-2); color: var(--texto); }
.transp-tools input:focus { outline: none; border-color: var(--verde-600); background: #fff; box-shadow: 0 0 0 4px rgba(36, 113, 63, .14); }
.transp-index ul { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.transp-index a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--linha); color: var(--verde-800); text-decoration: none; font-size: .9375rem; font-weight: 500; transition: background .2s, color .2s; }
.transp-index a:hover { background: var(--lima); color: var(--verde-900); }
.transp-index .icon { width: 1rem; height: 1rem; }
/* Um só painel branco com os temas em colunas: os grupos se separam pelo espaço, não por caixas. */
.transp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; align-items: start; }
.transp-dim { background: #fff; border: 1px solid var(--linha); border-radius: var(--r); padding: 20px 22px; scroll-margin-top: 110px; transition: border-color .25s; }
.transp-dim:hover { border-color: #c9d3cf; }
.transp-dim h2 { font-size: 1.125rem; display: flex; align-items: center; gap: .6rem; margin: 0 0 .5rem; }
.transp-dim h2 .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--verde-100); color: var(--verde-700); flex: none; }
.transp-dim ul { list-style: none; margin: 0 -.6rem; padding: 0; }
.transp-dim li { padding: .5rem .6rem; border-radius: 10px; scroll-margin-top: 110px; transition: background .2s; }
.transp-dim li:hover { background: var(--fundo-2); }
.transp-dim li:target { background: #fff3c2; }
.transp-dim a { font-weight: 400; text-decoration: none; color: var(--verde-900); font-size: 1rem; }
.transp-dim a:hover { color: var(--verde-600); text-decoration: underline; }
.transp-dim .ext { width: .85em; height: .85em; margin-left: .25rem; opacity: .5; }
.item-note { margin: .25rem 0 0; font-size: .9375rem; color: var(--muted); }
.item-date { color: var(--verde-600); font-size: .8125rem; font-weight: 500; display: block; margin-top: .15rem; font-variant-numeric: tabular-nums; }
.transp > .entry-content { margin-bottom: 2rem; }

.dataset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; margin-bottom: 2.5rem; }
.dataset { background: #fff; border: 1px solid var(--linha); border-radius: var(--r); padding: 20px; }
.dataset h3 { margin: 0 0 .35rem; font-size: 1.125rem; }
.dataset-actions { display: flex; gap: .5rem; margin-bottom: 0; }
.page-body > h2:first-child { position: relative; top: -28px; color: #fff; }
.rules { background: #fff; border: 1px solid var(--linha); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 40px); }
.rules code { background: var(--fundo-2); padding: .1rem .4rem; border-radius: 4px; overflow-wrap: anywhere; font-size: .85em; }

.search-group { margin-bottom: 2.5rem; }
.search-group > h2 { font-size: 1.25rem; }
.search-set { font-size: 1rem; display: flex; gap: .75rem; align-items: baseline; flex-wrap: wrap; margin: 1.5rem 0 .25rem; }
.search-set a { font-size: .9375rem; font-weight: 500; }
.search-group .list-rows a { grid-template-columns: 1fr; }
.search-group .list-rows { background: #fff; border: 1px solid var(--linha); border-radius: var(--r); padding: 6px; }
.page-body > .search-group:first-child, .busca-filtros + .search-group { background: #fff; border: 1px solid var(--linha); border-radius: var(--r-lg); padding: 24px; }
.search-mais { margin: .5rem 0 0; font-size: .9375rem; font-weight: 500; }
.search-group .navigation { margin-top: 1.5rem; }

/* Filtros da busca: tipo (abas com contagem), subfiltro do tipo, ano e ordem */
.busca-filtros { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; background: #fff; border: 1px solid var(--linha); border-radius: var(--r-lg); padding: 18px 20px; margin-bottom: 2rem; }
.busca-tipos { flex: 1 1 auto; }
.busca-tipos, .busca-sub { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.busca-tipos a, .busca-sub a { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 999px; background: var(--fundo-2); color: var(--verde-900); font-size: .9375rem; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.busca-tipos a span, .busca-sub a span { min-width: 1.6em; padding: 0 .45em; border-radius: 999px; background: #fff; font-size: .8125rem; line-height: 1.6; text-align: center; color: var(--muted); }
.busca-tipos a:hover, .busca-sub a:hover { background: var(--lima); color: var(--verde-900); }
.busca-tipos a[aria-current], .busca-tipos a[aria-current]:hover { background: var(--verde-800); color: #fff; }
.busca-tipos a[aria-current] span { background: rgba(255, 255, 255, .16); color: #fff; }
.busca-sub { flex: 1 1 100%; padding-top: 14px; border-top: 1px solid var(--linha); }
.busca-sub a { padding: .4rem .85rem; background: #fff; border: 1px solid var(--linha); }
.busca-sub a[aria-current], .busca-sub a[aria-current]:hover { background: var(--verde-100); border-color: var(--verde-600); color: var(--verde-900); }
.busca-sub a span { background: var(--fundo-2); }
.busca-ordem { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 0 auto; }
.busca-drop { position: relative; }
.busca-drop summary { display: flex; align-items: center; height: 42px; padding: 0 2.4rem 0 1rem; border: 1.5px solid #b9c5bd; border-radius: 999px; cursor: pointer; list-style: none; font-size: .9375rem; font-weight: 500; color: var(--texto); white-space: nowrap; user-select: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355635b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .9rem center / 1.05rem; transition: border-color .2s; }
.busca-drop summary::-webkit-details-marker { display: none; }
.busca-drop summary:hover, .busca-drop[open] summary { border-color: var(--verde-800); }
.busca-drop summary:focus-visible { outline: none; border-color: var(--verde-800); box-shadow: 0 0 0 4px rgba(200, 241, 105, .6); }
.busca-drop-painel { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; display: grid; gap: 4px; min-width: 200px; padding: 8px; background: #fff; border: 1px solid var(--linha); border-radius: var(--r); box-shadow: 0 18px 40px -18px rgba(7, 35, 34, .35); }
.busca-drop-painel a { display: block; padding: .5rem .8rem; border-radius: 10px; color: var(--verde-900); font-size: .9375rem; font-weight: 500; text-decoration: none; text-align: left; white-space: nowrap; transition: background .15s; }
.busca-drop-painel a:hover { background: var(--lima); color: var(--verde-900); }
.busca-drop-painel a[aria-current], .busca-drop-painel a[aria-current]:hover { background: var(--verde-800); color: #fff; }
.busca-anos { grid-template-columns: repeat(5, 1fr); width: 360px; max-height: min(360px, 60vh); overflow-y: auto; }
.busca-anos a { display: flex; flex-direction: column; align-items: center; text-align: center; padding: .4rem .3rem; line-height: 1.25; }
.busca-anos a span { font-size: .75rem; font-weight: 400; color: var(--muted); }
.busca-anos a[aria-current] span { color: rgba(255, 255, 255, .8); }
.busca-anos a:first-child { grid-column: 1 / -1; }
.busca-limpar { padding: 0 .2rem; font-size: .9375rem; font-weight: 500; line-height: 42px; }
@media (max-width: 640px) {
	.busca-filtros { padding: 14px; }
	.busca-ordem { width: 100%; order: 2; margin-left: 0; }
	.busca-drop { flex: 1 1 130px; }
	.busca-ordem .busca-drop:first-child .busca-drop-painel { right: auto; left: 0; }
	.busca-anos { width: min(340px, calc(100vw - 72px)); grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Mapa do site ---------- */
.mapa-grid { columns: 3 320px; column-gap: 18px; }
.mapa-sec { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 18px; background: #fff; border: 1px solid var(--linha); border-radius: var(--r); padding: 20px 22px; scroll-margin-top: 110px; transition: border-color .25s; }
.mapa-sec:hover { border-color: #c9d3cf; }
.mapa-sec h2 { font-size: 1.125rem; display: flex; align-items: center; gap: .6rem; margin: 0 0 .5rem; }
.mapa-sec h2 .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--verde-100); color: var(--verde-700); flex: none; }
.mapa-grupo h3 { margin: 1rem 0 .2rem; padding-top: .9rem; border-top: 1px solid var(--linha); font-size: .875rem; font-weight: 500; color: var(--muted); }
.mapa-sec > .mapa-list + .mapa-grupo h3, .mapa-grupo + .mapa-grupo h3 { margin-top: .9rem; }
.mapa-sec > h2 + .mapa-grupo h3 { margin-top: .4rem; padding-top: 0; border-top: 0; }
.mapa-list { list-style: none; margin: 0 -.6rem; padding: 0; }
.mapa-list li { padding: .4rem .6rem; border-radius: 10px; transition: background .2s; }
.mapa-list li:hover { background: var(--fundo-2); }
.mapa-list a { text-decoration: none; color: var(--verde-900); }
.mapa-list a:hover { color: var(--verde-600); text-decoration: underline; }
.mapa-list .ext { width: .85em; height: .85em; margin-left: .3rem; opacity: .5; vertical-align: -.05em; }
.mapa-tag { display: inline-block; padding: .05rem .4rem; border-radius: 6px; background: var(--fundo-2); color: var(--muted); font-size: .6875rem; font-weight: 600; line-height: 1.5; vertical-align: .1em; }
.mapa-inclui { display: block; margin-top: .1rem; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.page-body > #mapa-vazio { background: #fff; margin-bottom: 18px; }
.mapa-ajuda { margin-top: 12px; }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--verde-900); color: rgba(255, 255, 255, .85); font-size: 1rem; padding-top: 64px; }
.site-footer > .hero-bg { z-index: -1; }
.site-footer h2 { color: #fff; font-size: 1.125rem; font-weight: 500; margin: 0 0 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer .link-list a:hover, .site-footer .contact-list a:hover, .site-footer .small a:hover, .site-footer .footer-bottom ul a:hover { color: #fff; text-decoration: underline; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px 34px; border-radius: var(--r-lg); background: var(--verde-950); margin-bottom: 52px; }
.footer-cta h2 { font-size: 1.5rem; letter-spacing: -.01em; text-transform: none; margin-bottom: .25rem; }
.footer-cta p { margin: 0; color: rgba(255, 255, 255, .85); }
.site-footer .footer-cta .btn-primary { background: #fff; color: var(--verde-900); box-shadow: none; }
.site-footer .footer-cta .btn-primary:hover { background: var(--lima); color: var(--verde-900); }
.site-footer .btn-ghost-light:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 36px; }
.footer-logo { display: block; height: 52px; width: auto; margin-bottom: 1.3rem; }
.contact-list, .link-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.contact-list li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .55rem; }
.contact-list .icon { color: var(--lima); margin-top: .15rem; width: 1rem; height: 1rem; }
.link-list li { margin-bottom: .45rem; }
.site-footer .social { list-style: none; display: flex; gap: .5rem; margin: 0; padding: 0; }
.site-footer .social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s, color .2s; }
.site-footer .social a:hover { background: #fff; color: var(--verde-800); }
.partners { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.partners a { display: inline-block; padding: .4rem .95rem; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .9375rem; transition: background .2s, color .2s; }
.partners a:hover { background: var(--lima); color: var(--verde-900); }
.footer-bottom { font-size: .9375rem; background: var(--verde-950); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; gap: 1.2rem; margin: 0; padding: 0; }
.site-footer .credito { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); font-size: .8125rem; opacity: .9; transition: opacity .2s; }
.site-footer .credito:hover { opacity: 1; color: rgba(255, 255, 255, .8); text-decoration: none; }
.credito img { display: block; height: 13px; width: auto; }

/* Voltar ao topo com progresso de rolagem */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--verde-800); box-shadow: 0 10px 26px -12px rgba(7, 35, 34, .45); opacity: 0; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none; }
.to-top:hover { color: var(--verde-600); }
.to-top svg { position: absolute; inset: 4px; width: 42px; height: 42px; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 3; }
.to-top .ring-bg { stroke: var(--linha); }
.to-top .ring { stroke: var(--verde-600); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0)); stroke-linecap: round; }
.is-scrolled .to-top { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Entrada suave ao rolar ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
	.js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* Conteúdo legado do WPBakery (fallback sem o plugin) */
.vc-row { display: flex; flex-wrap: wrap; gap: 0 24px; }
.vc-col { flex: 1 1 var(--w, 100%); min-width: min(100%, 260px); max-width: 100%; }
.vc-col[style*="--w:100%"] { flex-basis: 100%; }
.vc-toggle { border-radius: var(--r-sm); margin: 0 0 8px; background: var(--fundo-2); }
.vc-toggle > summary { cursor: pointer; padding: .85rem 1.05rem; font-weight: 600; color: var(--verde-900); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.vc-toggle > summary::-webkit-details-marker { display: none; }
.vc-toggle > summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; color: var(--verde-600); }
.vc-toggle[open] > summary::after { content: "–"; }
.vc-toggle > div { padding: 0 1.05rem 1rem; }
.vc-hoverbox { display: block; background: var(--fundo-2); border-radius: var(--r-sm); overflow: hidden; margin-bottom: 16px; text-decoration: none; color: var(--texto); }
.vc-hoverbox img { width: 100%; display: block; }
.vc-hoverbox strong { display: block; padding: .8rem 1rem; color: var(--verde-900); }

/* ---------- Ilhas: seções escuras recuadas e arredondadas ---------- */
.section-transp, .site-footer { margin-left: var(--ilha-m); margin-right: var(--ilha-m); border-radius: var(--ilha-r); }
.site-footer { margin-bottom: var(--ilha-m); }
.section-transp > .hero-bg, .site-footer > .hero-bg { border-radius: inherit; }

/* Botão com seta em círculo */
.btn-arrow { padding-right: .35rem; }
.btn-arrow .icon:last-child { box-sizing: content-box; width: 1rem; height: 1rem; padding: .55rem; border-radius: 50%; background: var(--lima); color: var(--verde-900); transform: rotate(-45deg); transition: transform .25s var(--ease), background .2s; }
.btn-arrow:hover .icon:last-child { transform: rotate(0); }
.btn-dark.btn-arrow .icon:last-child, .btn-primary.btn-arrow .icon:last-child { background: var(--lima); color: var(--verde-900); }

/* Passo a passo da capa: texto em quatro colunas sobre o fundo, sem cartões */
.section-steps .steps { margin: 0; }

/* Dúvidas e canais de atendimento */
.faq-island { position: relative; isolation: isolate; overflow: hidden; background: var(--verde-900); display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px 56px; padding: clamp(26px, 4vw, 56px); border-radius: var(--ilha-r-lg); color: rgba(255, 255, 255, .88); }
.faq-island > .hero-bg { z-index: -1; }
.faq-intro .section-title { color: #fff; }
.faq-intro p { color: rgba(255, 255, 255, .88); margin-top: 1.1rem; font-size: 1.125rem; }
.channel-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 10px; }
.channel-list a { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: var(--r); background: var(--verde-950); color: rgba(255, 255, 255, .85); text-decoration: none; font-size: .9375rem; line-height: 1.4; transition: background .2s, color .2s; }
.channel-list strong { display: block; font-size: 1.125rem; color: #fff; transition: color .2s; }
.channel-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--lima); transition: background .2s, color .2s; }
.channel-list a:hover, .channel-list a:focus-visible { background: #fff; color: var(--muted); }
.channel-list a:hover strong, .channel-list a:focus-visible strong { color: var(--verde-900); }
.channel-list a:hover .channel-ico, .channel-list a:focus-visible .channel-ico { background: var(--verde-100); color: var(--verde-700); }
.faq-island .faq { margin: 0; }
.faq-island .faq-item { background: var(--verde-950); border-color: rgba(255, 255, 255, .08); }
.faq-island .faq-item:hover { background: #0f3d3b; }
.faq-island .faq-item[open], .faq-island .faq-item[open]:hover { background: #fff; }
.faq-island .faq-item > summary { color: #fff; }
.faq-island .faq-item > summary::after { color: #fff; background-color: rgba(255, 255, 255, .12); background-image: 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='%23ffffff' stroke-width='2'/%3E%3C/svg%3E"); }
.faq-island .faq-item[open] > summary { color: var(--verde-900); }
.faq-island .faq-item[open] > summary::after { color: var(--verde-600); background-color: var(--verde-100); background-image: 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"); }
.faq-island .faq-item > div { color: rgba(255, 255, 255, .88); }
.faq-island .faq-item[open] > div { color: var(--texto); }
.faq-island .faq-item > div a { color: var(--lima); }
.faq-island .faq-item[open] > div a { color: var(--verde-600); }
.faq-island .faq > .link-more { color: #fff; justify-self: start; margin-top: .4rem; }

/* Mapa (Leaflet): botões de zoom na fonte do tema */
.leaflet-container .leaflet-control-zoom a { font-family: var(--font); }

/* ---------- Responsivo ---------- */
@media (max-width: 1440px) {
	.btn-transp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.btn-transp { width: 44px; height: 44px; padding: 0; }
	.main-nav > .menu > li > a, .main-nav > .menu > li > .submenu-toggle { padding: .55rem .55rem; font-size: .9375rem; }
}
@media (max-width: 1200px) {
	/* backdrop-filter cria um bloco de contenção para elementos fixed: a gaveta precisa do viewport */
	.nav-shell { justify-content: space-between; }
	.menu-toggle { display: inline-grid; }
	.main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #fff; z-index: 100; padding: 18px; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: var(--sombra-lg); visibility: hidden; flex: none; }
	.main-nav.open { transform: none; visibility: visible; }
	.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 1.125rem; }
	.main-nav > .menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.main-nav > .menu > li { flex-wrap: wrap; }
	.main-nav > .menu > li > a, .main-nav > .menu > li > .submenu-toggle { flex: 1; justify-content: space-between; min-height: 52px; padding: 0 .8rem; border-radius: 12px; font-size: 1rem; }
	.main-nav > .menu > li > a:hover, .main-nav > .menu > li > .submenu-toggle:hover, .main-nav > .menu > li:hover > .submenu-toggle { background: var(--fundo-2); }
	.main-nav .sub-menu:not(.mega-cols), .mega-panel { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 10px; width: 100%; min-width: 0; max-height: none; }
	.main-nav .sub-menu.open, .mega-panel.open { display: block; }
	.main-nav .mega-cols { grid-template-columns: 1fr; gap: 12px; }
	.drawer-cta { width: 100%; margin-top: 18px; }
	.news-track { grid-auto-columns: calc((100% - 22px) / 2); }
	.gestao-cards { grid-template-columns: 1fr 1fr; }
	/* barra de cima numa linha só: ferramentas só com ícone */
	.utilbar .social, .hide-sm { display: none !important; }
	.a11y-tools > li > a > span, .a11y-tools > li > button > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.a11y-tools .icon { width: 1.35em; height: 1.35em; }
	.hero-grid, .gestao, .split-head, .news-layout, .faq-island { grid-template-columns: 1fr; }
	.hero-copy { padding: 32px 0 8px; }
	.hero-media img { max-width: 540px; }
	.quick-grid, .transp-tiles { grid-template-columns: repeat(3, 1fr); }
	.counters { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	.utilbar .util-menu { display: none !important; }
	.utilbar-inner { justify-content: center; }
	.site-header { padding: 8px 0; }
	.nav-shell { flex-wrap: wrap; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 0 0 18px 18px; }
	.is-scrolled .nav-shell { border-radius: 18px; }
	.utilbar { border-radius: 18px 18px 0 0; padding: 0 12px; }
	.brand-logo { height: 40px; }
	.news-track { grid-auto-columns: 84%; column-gap: 14px; }
	.gestao-cards { gap: 12px; }
	.gestao-card { padding: 18px 14px 16px; }
	.gestao-card-foto, .gestao-card-ico { width: 88px; height: 88px; margin-bottom: 14px; }
	.gestao-card-txt { font-size: 1rem; }
	.gestao-card-seta { right: 14px; top: 18px; }
	.home .two-cols .panel { padding: 20px 18px 10px; }
	.news-head .link-more { display: none; }
	.search-overlay { padding: 10px; align-items: start; }
	.search-panel { border-radius: 22px; }
	.search-big { padding-left: 16px; }
	.search-big input { font-size: 1rem; padding: .7rem .3rem; }
	.search-big .btn { padding: .8rem 1rem; }
	.search-shortcuts { grid-template-columns: 1fr; gap: 4px; }
	.search-hint { display: none; }
	.section { padding: 56px 0; }
	.quick-grid, .transp-tiles { grid-template-columns: 1fr 1fr; }
	.quick-grid { gap: 4px 12px; }
	.quick-grid a { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 10px; }
	.quick-arrow { display: none; }
	.counters { grid-template-columns: 1fr 1fr; }
	.two-cols { grid-template-columns: 1fr; gap: 40px; }
	.slide { grid-template-columns: 1fr; padding: 32px 24px 0; min-height: 0; }
	.slide-copy { padding-bottom: 8px; }
	.slide-media img { max-height: 240px; }
	.news-layout .card-row .card-link { gap: 14px; }
	.news-layout .card-row .card-media { width: 40%; }
	.news-layout .card-row .card-title { font-size: 1rem; -webkit-line-clamp: 3; }
	.list-rows a { grid-template-columns: 1fr; gap: 4px; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-cta { padding: 22px; }
	.faq-island { border-radius: var(--r-lg); margin: 0 -8px; }
	.hero-search-form { padding-left: 14px; }
	.hero-search-form button { padding: .8rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	/* sem animação, mas o painel do menu ainda espera o mouse cruzar o vão */
	.main-nav .menu li > .sub-menu, .main-nav .menu li > .mega-panel { transition: opacity 0s .35s, transform 0s .35s, visibility 0s .35s !important; }
	.main-nav .menu li:hover > .sub-menu, .main-nav .menu li:hover > .mega-panel, .main-nav .menu .open, .main-nav > .menu:has(> li:hover) > li:not(:hover) > :is(.sub-menu, .mega-panel), .nav-closing .main-nav .menu li > :is(.sub-menu, .mega-panel) { transition: none !important; }
}

/* ---------- Alto contraste (PNTP 13.3) ---------- */
html.alto-contraste body, html.alto-contraste .nav-shell, html.alto-contraste .utilbar, html.alto-contraste .hero-bg, html.alto-contraste .site-footer,
html.alto-contraste .panel, html.alto-contraste .card, html.alto-contraste .quick-grid a, html.alto-contraste .transp-tiles a, html.alto-contraste .transp-dim,
html.alto-contraste .dataset, html.alto-contraste .empty, html.alto-contraste .search-form, html.alto-contraste .card-media, html.alto-contraste .sub-menu,
html.alto-contraste .mega-panel, html.alto-contraste .main-nav, html.alto-contraste .transp-index a, html.alto-contraste input, html.alto-contraste .counters > div,
html.alto-contraste .slide, html.alto-contraste .social-badge, html.alto-contraste .social-badge-ico, html.alto-contraste .form-panel, html.alto-contraste .wpcf7 input, html.alto-contraste .wpcf7 select, html.alto-contraste .wpcf7 textarea, html.alto-contraste .wpcf7 .wpcf7-submit, html.alto-contraste .tel-item, html.alto-contraste .tel-busca .search-big, html.alto-contraste .tel-sug, html.alto-contraste .tel-filtros button, html.alto-contraste .tel-ligar, html.alto-contraste .perfil, html.alto-contraste .incisos li, html.alto-contraste .incisos li > strong:first-child, html.alto-contraste .perfil .perfil-cargo, html.alto-contraste .content-card, html.alto-contraste .section-soft, html.alto-contraste .page-hero,
html.alto-contraste .footer-cta, html.alto-contraste .quick-ico, html.alto-contraste .rules, html.alto-contraste .search-panel, html.alto-contraste .news-cat, html.alto-contraste .news-more .icon, html.alto-contraste .btn-arrow .icon:last-child, html.alto-contraste .search-big, html.alto-contraste .news-card, html.alto-contraste .news-date, html.alto-contraste .search-shortcuts a, html.alto-contraste .gestao-card, html.alto-contraste .steps > li, html.alto-contraste .search-suggest a, html.alto-contraste .gestao-card-ico, html.alto-contraste .search-shortcut-ico, html.alto-contraste .hero-search-form,
html.alto-contraste .to-top, html.alto-contraste .mapa-sec, html.alto-contraste .transp-tools, html.alto-contraste .info-box, html.alto-contraste .hero-ato,
html.alto-contraste .busca-filtros, html.alto-contraste .busca-tipos a, html.alto-contraste .busca-sub a, html.alto-contraste .busca-tipos a span, html.alto-contraste .busca-sub a span, html.alto-contraste .busca-drop summary, html.alto-contraste .busca-drop-painel, html.alto-contraste .busca-drop-painel a,
html.alto-contraste .footer-bottom, html.alto-contraste .vc-toggle, html.alto-contraste .faq-island, html.alto-contraste .channel-list a, html.alto-contraste .channel-ico, html.alto-contraste .section-steps {
	background: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important;
}
html.alto-contraste .hero-bg::before { display: none; }
html.alto-contraste .busca-tipos a[aria-current], html.alto-contraste .busca-sub a[aria-current], html.alto-contraste .busca-drop-painel a[aria-current] { outline: 2px solid #ff0; }
html.alto-contraste * { color: #fff !important; }
html.alto-contraste a, html.alto-contraste a * { color: #ff0 !important; text-decoration: underline !important; }
html.alto-contraste .btn, html.alto-contraste button, html.alto-contraste .icon-btn { background: #000 !important; color: #ff0 !important; border: 2px solid #ff0 !important; }
html.alto-contraste img { filter: grayscale(1) contrast(1.2); }
html.alto-contraste .brand { background: #fff !important; border-radius: 6px; padding: 4px 6px; }
html.alto-contraste .brand img, html.alto-contraste .credito img, html.alto-contraste .footer-logo { filter: none; }
html.alto-contraste :focus-visible { outline-color: #0ff; }
