/* Saude Campina Moderna 2.0 — identidade Prefeitura de Campina Grande.
 * Verde e amarelo extraidos da logomarca disponibilizada pelo cliente.
 * Esta camada melhora todas as telas sem substituir estilos de blocos do WP.
 */
:root {
  --green-950: #003923;
  --green-900: #00472e;
  --green-850: #005437;
  --green-800: #00633c;
  --green-700: #007344;
  --green-600: #008553;
  --green-500: #009c60;
  --mint-100: #e5f3e9;
  --mint-50: #f3faf5;
  --paper: #f7f9f5;
  --ink: #122c23;
  --muted: #586b61;
  --line: #dfebe2;
  --yellow: #ffcc00;
  --yellow-soft: #fff6cc;
  --green-deep: #053b28;
  --shadow: 0 18px 54px rgba(0, 61, 35, .1);
  --wrap: 1280px;
  --radius: 22px;
}
body { color: var(--ink); background: #fff; }
::selection { background: #ffdf57; color: #003923; }
:focus-visible { outline: 3px solid #b58500 !important; outline-offset: 3px !important; }
.eyebrow { color: #006e42; font-size: .72rem; letter-spacing: .15em; }
.eyebrow--mint { color: var(--yellow); }
.button {
  color: #fff; background: var(--green-700); border-radius: 13px;
  box-shadow: 0 8px 22px rgba(0, 87, 53, .16);
}
.button:hover { background: var(--green-900); box-shadow: 0 14px 30px rgba(0, 65, 41, .22); }
.button--light { background: var(--yellow); color: var(--green-950); box-shadow: 0 12px 30px rgba(5, 30, 12, .12); }
.button--light:hover { background: #ffe269; color: var(--green-950); }
.text-link { color: var(--green-800); }
.text-link:hover { color: var(--green-950); }
/* Identidade no topo */
.govbar { background: #003c25; border-bottom: 1px solid rgba(255,255,255,.08); }
.govbar__inner { min-height: 42px; }
.govbar__dot { background: var(--yellow); border-radius: 3px; width: 8px; height: 8px; }
.govbar__identity { font-size: .66rem; letter-spacing: .11em; color: #e1f2e7; }
.govbar__link { color: #fff; }
.govbar__link:hover { color: var(--yellow); }
.utility-action { color: #fff; }
.utility-action:hover { color: var(--yellow); background: rgba(255,255,255,.12); }
.site-header { background: rgba(255,255,255,.99); box-shadow: 0 5px 25px rgba(21,53,36,.04); border-bottom: 1px solid #e5eee6; }
.header-layout { min-height: 108px; gap: 24px; }
.brand { flex-shrink: 0; gap: 18px; }
.brand__uploaded { width: 258px; height: auto; max-width: 258px; max-height: 78px; object-fit: contain; border-radius: 5px; }
.brand__department { display: flex; flex-direction: column; justify-content: center; padding-left: 15px; border-left: 1px solid #d9e9dd; line-height: 1.18; min-width: 130px; }
.brand__department small { font-size: .57rem; color: #007344; font-weight: 820; letter-spacing: .14em; margin-bottom: 6px; }
.brand__department strong { color: #183c2d; font-size: .86rem; font-weight: 800; letter-spacing: -.025em; }
.nav-list { gap: clamp(9px, 1.3vw, 22px); }
.nav-list > li > a { font-size: .82rem; color: #254736; font-weight: 730; }
.nav-list > li > a:hover, .nav-list > .current-menu-item > a, .nav-list > .current_page_item > a { color: var(--green-700); }
.nav-list > li > a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 10px; height: 3px; border-radius: 3px; background: var(--yellow); transition: right .2s ease; }
.nav-list > li > a:hover::after, .nav-list > .current-menu-item > a::after { right: 0; }
.nav-list .sub-menu { border: 1px solid #e1ece2; border-top: 3px solid var(--yellow); border-radius: 12px; box-shadow: 0 20px 48px rgba(4,45,25,.13); }
.nav-list .sub-menu a:hover { background: #fff5c4; color: #004829; }
.header-search { background: #f1f8f3; color: var(--green-700); border: 1px solid #e2efe5; }
.header-search:hover { background: var(--yellow-soft); color: var(--green-900); }
.header-cta { background: var(--yellow); color: #073e27; box-shadow: none; border-radius: 11px; font-size: .82rem; }
.header-cta:hover { color: #073e27; background: #ffe172; }
.header-search-panel .search-form { background: #f6faf7; border: 1px solid var(--line); border-radius: 13px; padding: 6px 8px 6px 19px; }
/* Home: capa institucional */
.hero { min-height: 540px; background: linear-gradient(116deg,#003f27 0%,#00603b 49%,#007344 100%); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .24; background: radial-gradient(circle at 13% 60%,rgba(255,204,0,.15),transparent 32%), radial-gradient(circle at 91% 14%,rgba(255,255,255,.22),transparent 28%); }
.hero::after { content: ''; position: absolute; right: -200px; top: -170px; width: 640px; height: 640px; border: 80px solid rgba(255,204,0,.075); border-radius: 50%; pointer-events: none; }
.hero__layout { min-height: 540px; grid-template-columns: 1.12fr .88fr; }
.hero__copy { padding: 75px 0 95px; }
.hero__badge { background: rgba(255,204,0,.13); color: #fff1a2; border-color: rgba(255,204,0,.34); margin-bottom: 26px; }
.hero__badge-dot { background: var(--yellow); }
.hero h1 { font-size: clamp(3rem,5.8vw,5.35rem); line-height: 1.03; max-width: 710px; letter-spacing: -.068em; }
.hero__lead { color: #e0f5e9; max-width: 585px; font-size: 1.09rem; line-height: 1.72; }
.hero__trust { color: #c6ebd5; margin-top: 32px; }
.hero__trust svg { color: var(--yellow); }
.hero__textlink { color: #fff; }
.hero__textlink:hover { color: var(--yellow); }
.hero__illustration { transform: none; }
.hero__orbit--outer { border-color: rgba(255,204,0,.21); }
.hero__orbit--middle { border-color: rgba(255,255,255,.26); }
.hero__circle {
  width: 292px; height: 292px; border-radius: 42px; transform: rotate(-10deg);
  background: var(--yellow);
  box-shadow: 0 32px 90px rgba(0,19,12,.31), inset 0 0 0 15px rgba(255,255,255,.18),0 0 0 28px rgba(255,255,255,.055);
}
.hero__circle-inner { width: 206px; height: 206px; background: rgba(255,255,255,.72); color: #007344; border-radius: 33px; }
.hero__float { border-radius: 17px; box-shadow: 0 15px 40px rgba(0,42,23,.32); border: 1px solid #edf4ee; }
.hero__float span { background: #fff2b4; color: var(--green-800); }
.hero__float--top { top: 28px; right: 0; }
.hero__float--bottom { bottom: 45px; left: -15px; }
.hero__sparkle { color: var(--yellow); }
/* Busca */
.search-feature { border-radius: 19px; border: 1px solid #edf1ea; box-shadow: 0 16px 56px rgba(2,72,36,.13); margin-top: -41px; padding: 21px 24px; }
.search-feature__icon { background: var(--yellow-soft); color: var(--green-800); }
.search-feature__copy strong { color: var(--green-950); font-size: 1rem; }
.search-feature .search-form { background: #f5f9f5; border-color: #dbe9df; }
.search-form__input:focus { outline: none; }
.search-form .button { min-height: 43px; }
/* Cards de servicos */
.section { padding-block: 88px; }
.section--services { padding-top: 99px; padding-bottom: 68px; }
.section-heading h2 { color: #063d29; font-size: clamp(2rem,3.1vw,2.9rem); letter-spacing: -.055em; }
.section-description { color: #596a60; }
.service-grid { gap: 16px; }
.service-card { min-height: 222px; border-radius: 19px; border-color: #e2ece4; box-shadow: 0 4px 22px rgba(0,65,36,.027); background: linear-gradient(180deg,#fff 0%,#fdfefd 100%); }
.service-card::after { width: 84px; height: 7px; right: 22px; top: 0; border-radius: 0 0 8px 8px; background: var(--yellow); transform: none; }
.service-card:hover { border-color: #9fcfb1; box-shadow: 0 20px 44px rgba(0,57,35,.12); }
.service-card:hover::after { transform: none; }
.service-card__icon { background: var(--yellow-soft); border: 1px solid #fff0a0; color: var(--green-800); border-radius: 13px; }
.service-card strong { color: #143d29; font-size: 1.07rem; }
.service-card__description { color: #607365; }
.service-card__arrow { color: var(--green-700); }
/* Cartoes de tipos de atendimento */
.network-section { padding-bottom: 92px; }
.network-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 26px; }
.network-heading h2 { color: var(--green-950); max-width: 650px; margin: 0; font-size: clamp(1.8rem,3vw,2.7rem); letter-spacing: -.05em; }
.network-heading > p { max-width: 270px; font-size: .88rem; color: var(--muted); margin-bottom: 4px; }
.network-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.network-link { position: relative; min-height: 228px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #cfe1d4; border-radius: 18px; padding: 20px; overflow: hidden; background: #f5faf6; }
.network-link:nth-child(2) { background: #fff8d9; border-color: #efe1a2; }
.network-link:nth-child(3) { background: #edf6ef; }
.network-link:nth-child(4) { background: #e7f3eb; }
.network-link:hover { transform: translateY(-5px); border-color: var(--green-700); box-shadow: 0 20px 35px rgba(0,66,35,.09); }
.network-link__number { position: absolute; right: 20px; top: 14px; font-size: .72rem; font-weight: 850; color: #729582; }
.network-link__icon { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--green-700); border: 1px solid #dce9df; }
.network-link strong { font-size: 1rem; letter-spacing: -.03em; line-height: 1.3; color: var(--green-950); margin-top: 29px; }
.network-link > span:last-child { color: var(--green-700); font-size: .75rem; font-weight: 730; margin-top: auto; display: flex; gap: 8px; align-items: center; padding-top: 18px; }
/* Faixa institucional */
.care-panel { background: linear-gradient(115deg,#00472c 0%,#006840 100%); border-radius: 23px; }
.care-panel::after { content: ''; position: absolute; right: -150px; top: -160px; width: 420px; height: 420px; border: 65px solid rgba(255,204,0,.13); border-radius: 50%; }
.care-panel__copy { padding: 55px 59px; }
.care-panel__copy > p:not(.eyebrow) { color: #d9f2e1; }
.care-panel__big-icon { background: var(--yellow); color: var(--green-900); border-radius: 33px; }
.care-panel__mini { background: #fff; color: var(--green-800); border-color: #fff; }
.care-panel__dot { background: #ffe06c; }
/* Noticias */
.section--news { padding-top: 100px; padding-bottom: 99px; }
.news-grid, .archive-grid { gap: 18px; }
.post-card { border: 1px solid #e2ece4; border-radius: 19px; background: #fff; overflow: hidden; box-shadow: 0 6px 24px rgba(0,54,30,.04); }
.post-card:hover { box-shadow: 0 23px 46px rgba(0,67,39,.14); transform: translateY(-4px); }
.post-card__image { background: #e6f2e9; overflow: hidden; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { background: linear-gradient(135deg,#00603a,#00844f); color: var(--yellow); }
.post-card__placeholder::after { content: ''; position: absolute; width: 135px; height: 135px; border: 25px solid rgba(255,204,0,.2); border-radius: 50%; right: -38px; top: -42px; }
.post-card__body { padding: 22px 22px 24px; }
.post-card__meta { gap: 8px; align-items: center; }
.category-chip { background: #fff3b5; color: #5b4600; border: 1px solid #f8e79c; font-weight: 750; }
.post-card__meta time { color: #718073; }
.post-card h3 { font-weight: 780; color: var(--green-950); line-height: 1.34; }
.post-card h3 a:hover { color: var(--green-700); }
.post-card__body > p { color: #62756a; }
.post-card__more { color: var(--green-700); }
.post-card__more:hover { color: var(--green-950); }
/* Transparencia */
.section--info { background: #f6faf6; padding-block: 76px; border-top: 1px solid #eaf1e9; }
.info-card { border-radius: 22px; min-height: 360px; border-color: #dfebdf; }
.info-card__icon { background: #fff2ab; color: var(--green-800); }
.info-card--transparency { background: #fff; }
.info-card--maps { background: #e8f3eb; }
.info-card h2 { color: #063c29; }
.info-card__links a { color: var(--green-800); }
.info-card__map-decoration { color: #00845025; }
.closing-banner { padding-block: 75px; }
.closing-banner h2 { color: var(--green-950); }
/* Rodape */
.site-footer { padding-top: 72px; background: #003c25; border-top: 7px solid var(--yellow); }
.footer-main { grid-template-columns: 1.55fr 1fr 1fr 1.1fr; gap: clamp(23px,3vw,57px); }
.footer-official { display: inline-block; width: 258px; max-width: 100%; border-radius: 7px; overflow: hidden; line-height: 0; }
.footer-official img { display: block; width: 100%; height: auto; }
.footer-brand > p { margin-top: 21px; color: #d2e9dc; max-width: 340px; }
.footer-brand > p strong { color: #fff; font-size: .97rem; }
.footer-tag { background: rgba(255,204,0,.13); color: #ffe68d; border: 1px solid rgba(255,204,0,.17); }
.footer-column h3 { color: var(--yellow); font-size: .88rem; }
.footer-column > a:not(.footer-outline), .footer-link-list a { color: #cee4d7; }
.footer-column > a:not(.footer-outline):hover, .footer-link-list a:hover { color: #fff; }
.footer-outline { border: 1px solid #76b195; background: rgba(255,255,255,.04); color: #fff; }
.footer-outline:hover { background: var(--yellow); color: #06422a; border-color: var(--yellow); }
.footer-note { font-size: .71rem !important; color: #b1ccba !important; margin-top: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom a:hover { color: var(--yellow); }
/* Todas as paginas internas */
.inner-main { padding-top: 0; padding-bottom: 96px; min-height: 58vh; }
.breadcrumb { gap: 10px; padding: 24px 0 25px; font-size: .75rem; color: #688578; }
.breadcrumb > a:first-child { font-weight: 720; color: #006f42; }
.breadcrumb-current { color: #264c36; max-width: min(65vw,480px); }
.page-shell { display: grid; grid-template-columns: minmax(0,1fr) 304px; gap: 43px; align-items: start; padding-top: 26px; }
.page-article, .single-article, .portal-article { max-width: none; min-width: 0; width: 100%; margin: 0; }
.article-heading, .article-heading--page { margin: 0 0 32px; max-width: none; padding: 0 0 28px; border-bottom: 1px solid #dfeae0; }
.article-heading .eyebrow { margin-bottom: 13px; }
.article-heading h1 { font-size: clamp(2.05rem,3.65vw,3.6rem); letter-spacing: -.052em; color: var(--green-950); margin-bottom: 16px; overflow-wrap: anywhere; }
.article-heading .article-subtitle, .article-heading > p:not(.eyebrow) { margin: 0; font-size: 1.07rem; color: #5d7064; line-height: 1.7; }
.article-meta { color: #607568; gap: 14px; margin-top: 20px; font-size: .79rem; }
.article-meta span { background: #f2f7f2; border: 1px solid #e1ede3; border-radius: 20px; padding: 7px 11px; }
.article-meta svg { color: #007344; }
.page-hero-image { margin: 0 0 30px; max-width: 100%; overflow: hidden; border-radius: 19px; box-shadow: 0 14px 34px rgba(0,52,29,.09); }
.page-hero-image img { display: block; width: 100%; max-height: 450px; object-fit: cover; }
.entry-content { margin: 0; max-width: none; color: #304c3d; font-size: 1rem; line-height: 1.82; overflow-wrap: anywhere; }
.entry-content p { line-height: 1.83; margin-bottom: 1.35rem; }
.entry-content > p:first-child { font-size: 1.065rem; }
.entry-content h2 { color: var(--green-950); font-size: clamp(1.5rem,2.3vw,2.1rem); padding-bottom: 10px; border-bottom: 1px solid #e2ede4; }
.entry-content h3 { color: var(--green-850); }
.entry-content a { color: #006a40; text-decoration: underline; text-decoration-color: #e2bd09; text-underline-offset: 4px; }
.entry-content a:hover { color: #003c25; }
.entry-content blockquote { background: #fff8d8; border-left: 5px solid var(--yellow); color: #244e36; padding: 20px 26px; border-radius: 0 14px 14px 0; }
.entry-content table { border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid #dfebe0; width: 100%; }
.entry-content th { background: var(--green-900); color: #fff; }
.entry-content th,.entry-content td { padding: 13px 15px; border-color: #e2ece2; }
.entry-content tr:nth-child(even) td { background: #f7faf7; }
.entry-content img { border-radius: 11px; }
.entry-content .wp-block-button__link { background: var(--green-700); border-radius: 11px; color: #fff; text-decoration: none; }
.entry-content .wp-block-button__link:hover { background: #00492e; }
.entry-content :is(.wp-block-columns,.wp-block-gallery) { gap: 24px; }
.article-footer-note { display: flex; align-items: center; gap: 11px; margin-top: 38px; padding: 17px 20px; border: 1px solid #deeadf; border-radius: 13px; background: #f6faf6; color: #5d7666; font-size: .78rem; }
.article-footer-note svg { color: #007344; }
/* Painel lateral nas paginas e artigos */
.portal-sidebar { display: flex; flex-direction: column; gap: 19px; position: sticky; top: 25px; }
.side-panel { border: 1px solid #e1ebe2; border-radius: 20px; padding: 26px; box-shadow: 0 8px 28px rgba(0,54,27,.035); overflow: hidden; }
.side-panel--accent { background: #004d30; color: #fff; border-color: #004d30; position: relative; }
.side-panel--accent::before { content: ''; position: absolute; right: -68px; top: -61px; width: 170px; height: 170px; border: 32px solid rgba(255,204,0,.2); border-radius: 50%; }
.side-panel__icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 12px; background: var(--yellow); color: #00442a; margin-bottom: 22px; }
.side-panel__eyebrow { font-size: .66rem; color: #ffe07d; font-weight: 850; letter-spacing: .16em; margin: 0 0 12px; }
.side-panel--accent h2 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 12px; color: #fff; }
.side-panel--accent > p:not(.side-panel__eyebrow) { font-size: .86rem; color: #d4ece0; margin-bottom: 22px; }
.side-panel__button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; background: var(--yellow); color: #004429; border-radius: 10px; font-size: .82rem; font-weight: 800; padding: 13px 16px; }
.side-panel__button:hover { background: #ffe16e; transform: translateY(-2px); }
.side-panel--links { background: #fff; }
.side-panel--links h2 { font-size: 1.05rem; color: var(--green-950); margin: 0 0 18px; }
.side-panel--links > a { display: flex; align-items: center; gap: 10px; border-top: 1px solid #edf1eb; min-height: 51px; font-size: .82rem; font-weight: 720; color: #28533a; }
.side-panel--links > a > svg:first-child { color: #007344; }
.side-panel--links > a > svg:last-child { margin-left: auto; color: #8da89a; }
.side-panel--links > a:hover { color: #007344; }
/* Dados publicos de entidades e unidades */
.record-details { width: 100%; max-width: none; margin: 0 0 31px; background: #f7faf7; border: 1px solid #d6e6d9; border-left: 5px solid var(--yellow); border-radius: 16px; padding: 24px; }
.record-details__head { display: flex; align-items: center; gap: 14px; margin-bottom: 21px; }
.record-details__head > span { width: 43px; height: 43px; display: grid; place-items: center; color: #006a40; background: #fff3bb; border-radius: 11px; }
.record-details__head .eyebrow { margin: 0 0 4px; font-size: .62rem; }
.record-details__head h2 { color: var(--green-950); margin: 0; font-size: 1.3rem; }
.record-details dl { margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; }
.record-details dl > div { padding: 14px 16px 14px 0; border-top: 1px solid #dfe9df; min-width: 0; }
.record-details dt { font-size: .75rem; color: #607567; font-weight: 720; }
.record-details dd { color: #193d29; font-size: .94rem; overflow-wrap: anywhere; }
.record-details dd a { display: inline-flex; align-items: center; gap: 6px; font-weight: 760; color: #006c41; text-decoration: underline; text-underline-offset: 3px; }
.article-share { border-radius: 16px; background: #f7faf7; border: 1px solid #e1ebe2; margin-top: 34px; }
.article-share > span { font-size: .86rem; color: var(--green-950); }
.article-share > a,.article-share button { border-color: #d3e4d7; background: #fff; color: #065d39; }
.article-share > a:hover,.article-share button:hover { border-color: #8dc4a3; background: #eef7f1; }
.article-navigation .nav-links a { border: 1px solid #e2ece3; border-radius: 14px; background: #fff; }
.article-navigation .nav-links a:hover { border-color: var(--green-700); }
/* Arquivos, busca e resultados */
.archive-banner { background: linear-gradient(110deg,#eff7ef 0%,#f6faf5 72%,#fff6cc 100%); position: relative; overflow: hidden; border-bottom: 1px solid #e0ebe1; }
.archive-banner::after { content: ''; position: absolute; right: -85px; bottom: -145px; width: 360px; height: 360px; border: 55px solid rgba(255,204,0,.2); border-radius: 50%; }
.archive-banner__inner { min-height: 250px; padding: 53px 0 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; z-index: 1; }
.archive-banner__inner > div { max-width: 820px; }
.archive-banner .eyebrow { margin-bottom: 15px; }
.archive-banner h1 { margin: 0 0 15px; max-width: 820px; font-size: clamp(2.15rem,4vw,3.7rem); color: #003d25; line-height: 1.11; letter-spacing: -.055em; }
.archive-banner p:not(.eyebrow), .archive-banner__description p { max-width: 670px; color: #516958; margin: 0; font-size: 1rem; }
.archive-banner__seal { width: 127px; height: 127px; border-radius: 29px; background: var(--yellow); color: #00522f; display: grid; place-items: center; transform: rotate(-8deg); box-shadow: 0 23px 38px #004b2518; }
.archive-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 19px; padding: 37px 0 25px; }
.archive-toolbar span, .archive-toolbar a { display: inline-flex; align-items: center; gap: 9px; font-size: .81rem; color: #607767; }
.archive-toolbar svg { color: #007344; }
.archive-toolbar a { font-weight: 800; color: #006f42; }
.archive-grid { padding-bottom: 25px; }
.archive-grid .post-card { min-height: 390px; }
.archive-grid .post-card__image { height: 200px; }
.archive-grid .post-card__body { padding: 23px; }
.archive-grid .post-card h3 { font-size: 1.13rem; }
.search-page-form { margin-top: 30px; max-width: 720px; }
.search-page-form .search-form { border: 1px solid #dce9de; border-radius: 13px; background: #f7faf7; padding: 6px 8px 6px 18px; }
.search-page-form + .archive-toolbar { padding-top: 20px; }
.empty-state { border-radius: 19px; border-color: #c6ddcb; background: #f7faf7; padding: 58px 25px; }
.empty-state__icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 19px; border-radius: 15px; color: var(--green-800); background: #fff2ad; }
.pager { padding-top: 28px; }
.page-numbers { border-radius: 10px; border-color: #d4e4d9; }
.page-numbers.current,.page-numbers:hover { background: var(--yellow); border-color: var(--yellow); color: #00482a; }
/* Erro 404 */
.inner-main--404 { min-height: 70vh; }
.not-found { max-width: 710px; padding: 55px 0 100px; }
.not-found__badge { color: var(--green-700); line-height: 1; font-size: clamp(6rem,11vw,10rem); margin: 0 0 5px; }
.not-found__badge span { color: var(--yellow); }
.not-found .eyebrow { margin-bottom: 9px; }
.not-found h1 { color: #00442b; font-size: clamp(2rem,3.5vw,3.1rem); }
.not-found > p:not(.eyebrow) { font-size: 1rem; }
.not-found__search { max-width: 640px; margin: 0 auto; }
.not-found .search-form { border: 1px solid #d5e7da; }
/* Contraste: texto legivel e controles visiveis */
.scm-high-contrast .hero,.scm-high-contrast .care-panel,.scm-high-contrast .site-footer,.scm-high-contrast .govbar { background: #000 !important; }
.scm-high-contrast .button--light,.scm-high-contrast .header-cta,.scm-high-contrast .side-panel__button { background: #ff0 !important; color: #000 !important; }
.scm-high-contrast .service-card,.scm-high-contrast .post-card,.scm-high-contrast .side-panel,.scm-high-contrast .record-details { border: 2px solid #000; }
/* Responsivo */
@media (max-width: 1280px) {
  .brand__uploaded { width: 220px; }
  .brand__department { min-width: 116px; padding-left: 12px; }
  .brand__department strong { font-size: .78rem; }
  .header-layout { gap: 16px; }
  .nav-list { gap: 13px; }
  .nav-list > li > a { font-size: .75rem; }
  .footer-main { gap: 30px; }
}
@media (max-width: 1080px) {
  .brand__uploaded { width: 230px; }
  .brand__department { min-width: 0; }
  .main-nav { position: absolute; top: 100%; }
  .nav-list > li > a::after { display: none; }
  .menu-toggle { display: flex; }
  .network-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .page-shell { grid-template-columns: minmax(0,1fr) 265px; gap: 25px; }
}
@media (max-width: 980px) {
  .header-layout { min-height: 88px; }
  .brand__uploaded { width: 223px; max-width: 223px; }
  .brand__department strong { font-size: .79rem; }
  .hero__layout { grid-template-columns: 1fr; }
  .hero__illustration { display: none; }
  .hero { min-height: 0; }
  .hero__layout { min-height: 0; }
  .hero__copy { padding: 76px 0 116px; }
  .hero h1 { max-width: 680px; }
  .search-feature { grid-template-columns: auto minmax(0,1fr); }
  .search-feature__form { grid-column: 1 / -1; }
  .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 790px) {
  .page-shell { grid-template-columns: 1fr; gap: 28px; }
  .portal-sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); position: static; }
  .network-heading { display: block; }
  .network-heading > p { margin: 14px 0 0; max-width: 600px; }
  .archive-banner__seal { width: 90px; height: 90px; border-radius: 21px; }
  .archive-banner__seal svg { width: 50px; height: 50px; }
}
@media (max-width: 700px) {
  .brand { gap: 0; }
  .brand__department { display: none; }
  .brand__uploaded { width: 214px; max-width: 214px; }
  .header-layout { min-height: 78px; }
  .govbar__identity { font-size: .54rem; }
  .hero__copy { padding: 60px 0 94px; }
  .hero h1 { font-size: clamp(2.65rem,10vw,4rem); }
  .hero__lead { font-size: 1rem; }
  .hero__badge { font-size: .6rem; }
  .search-feature { padding: 17px; border-radius: 16px; }
  .section { padding-block: 65px; }
  .section--services { padding-top: 65px; padding-bottom: 50px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card { padding: 19px; min-height: 198px; }
  .network-section { padding-bottom: 67px; }
  .network-link { min-height: 210px; }
  .care-panel__copy { padding: 39px 27px; }
  .section--news { padding-top: 65px; }
  .info-card { padding: 27px; }
  .archive-banner__inner { min-height: 215px; padding: 39px 0; }
  .archive-banner h1 { font-size: clamp(2rem,7vw,3rem); }
  .archive-banner__seal { display: none; }
  .archive-toolbar { align-items: start; }
  .archive-toolbar a { display: none; }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-grid .post-card__image { height: 210px; }
  .article-heading h1 { font-size: 2.2rem; }
  .portal-sidebar { display: block; }
  .portal-sidebar .side-panel + .side-panel { margin-top: 17px; }
  .record-details dl { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 29px 22px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-brand > p { max-width: 500px; }
}
@media (max-width: 440px) {
  .govbar__identity { font-size: .48rem; gap: 5px; }
  .govbar__separator { display: none; }
  .brand__uploaded { width: 183px; max-width: 183px; }
  .header-actions { gap: 6px; }
  .header-search { padding: 7px; }
  .hero__badge { max-width: 100%; }
  .hero__actions { align-items: flex-start; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 170px; }
  .network-grid { grid-template-columns: 1fr; }
  .network-link { min-height: 165px; }
  .network-link strong { margin-top: 10px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .article-meta { flex-wrap: wrap; }
  .search-form .button { min-width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__orbit { animation: none !important; }
  .service-card:hover,.network-link:hover,.post-card:hover { transform: none; }
}
/* Pequenos ajustes de precedencia */
.section.section--care { padding-block: 0; }
.post-card__placeholder { position: relative; }
/* Menu navegavel em tablets, inclusive entre 980 e 1080 pixels. */
@media (max-width: 1080px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; width: 100%; background: #fff; border-top: 1px solid #e1ece4; border-bottom: 1px solid #dce8dc; box-shadow: 0 15px 24px rgba(0,43,23,.1); margin: 0; z-index: 50; }
  .main-nav.is-open { display: block; }
  .main-nav .nav-list { display: flex; flex-direction: column; align-items: stretch; width: min(100% - 44px,1280px); margin: 0 auto; gap: 0; padding: 14px 0 19px; }
  .main-nav .nav-list > li > a { display: block; padding: 12px 8px; font-size: .9rem; white-space: normal; }
  .main-nav .nav-list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid #ffcc00; border-radius: 0; margin: 0 0 9px 10px; padding: 0 0 0 8px; }
  .main-nav .nav-list .sub-menu a { padding: 7px 9px; }
  .menu-toggle { display: flex; }
}
