/* Site público de notícias do SindiPúblicos-ES. Cores e fonte da marca (apps/ui: Jost, índigo #282790, magenta #CE3770). */
@font-face { font-family: "Jost"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../ui/fonts/jost-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../ui/fonts/jost-latin-wght-normal.woff2") format("woff2-variations");
  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; }

:root {
  --accent: #282790; --pink: #CE3770; --page-bg: #F3F3F8; --surface: #FFFFFF; --surface-2: #ECEBF6;
  --border: #DCDCEA; --ink: #1B1A55; --ink-2: #5B5A86; --ink-muted: #8886AC; --on-accent: #FFFFFF; --on-accent-muted: #CFCFF3;
  --good: #1F8A5B; --warning: #EDCE33; --ceu: #5FA7FB; --shade: rgba(20,18,70,.78); --wa: #25D366;
  --font: "Jost", "Futura", "Trebuchet MS", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--page-bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; margin: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--warning); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.aviso-homolog { background: var(--warning); color: #1B1A55; font-weight: 600; font-size: 13px; text-align: center; padding: 6px 16px; }
.pular { position: absolute; left: -999px; } .pular:focus { left: 16px; top: 8px; background: #fff; padding: 8px; z-index: 50; }

/* cabeçalho */
.topbar { background: var(--accent); color: var(--on-accent-muted); font-size: 12px; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 18px; padding: 7px 16px; }
.topbar a { text-decoration: none; color: var(--on-accent); font-size: 16px; line-height: 1; display: inline-flex; }
.topbar a:hover { color: var(--warning); }
.topbar svg { width: 16px; height: 16px; }
header.site { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: block; background: #fff; padding: 8px 12px; margin-right: auto; flex: none; }
.logo img { width: 250px; height: auto; }
nav.menu { display: flex; gap: 22px; font-weight: 500; font-size: 15px; }
nav.menu .grupo { position: relative; }
nav.menu .grupo > button, nav.menu .solto { font: inherit; background: none; border: 0; cursor: pointer; text-decoration: none; color: var(--ink-2); position: relative; padding: 8px 0; display: inline-flex; align-items: center; gap: 6px; }
nav.menu .grupo > button::before, nav.menu .solto::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 4px; background: var(--pink); transform: scaleX(0); transition: transform .18s ease; }
nav.menu .grupo:hover > button, nav.menu .grupo.aberto > button, nav.menu .grupo > button:focus-visible, nav.menu .solto:hover, nav.menu .solto:focus-visible { color: var(--ink); }
nav.menu .grupo:hover > button::before, nav.menu .grupo.aberto > button::before, nav.menu .solto:hover::before, nav.menu .solto:focus-visible::before { transform: scaleX(1); }
nav.menu .grupo > ul { display: none; position: absolute; top: 100%; left: -12px; min-width: 280px; margin: 0; padding: 8px 0; list-style: none; background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--accent); box-shadow: 0 10px 24px rgba(27,26,85,.12); z-index: 30; }
nav.menu .grupo:hover > ul, nav.menu .grupo.aberto > ul, nav.menu .grupo:focus-within > ul { display: block; }
nav.menu .grupo > ul a { display: block; padding: 9px 16px; color: var(--ink); text-decoration: none; font-size: 14px; }
nav.menu .grupo > ul a:hover, nav.menu .grupo > ul a:focus-visible { background: var(--surface-2); color: var(--pink); }
.hamb { display: none; font-size: 22px; background: none; border: 2px solid var(--accent); color: var(--accent); width: 44px; height: 44px; cursor: pointer; }
.hamb svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { nav.menu .grupo > button::before, nav.menu .solto::before { transition: none; } }
.institucional h2, .institucional h3, .institucional h4 { margin-top: 22px; }
.institucional table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0 16px; display: block; overflow-x: auto; }
.institucional th, .institucional td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.institucional th { background: var(--surface-2); }
.institucional iframe, .institucional .wp-block-embed { display: none; }
.atualizada { font-size: 13px; color: var(--ink-muted); margin: 24px 0 0; border-top: 1px solid var(--border); padding-top: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1.2 var(--font); padding: 12px 20px; text-decoration: none; border: 2px solid var(--accent); background: var(--accent); color: var(--on-accent); cursor: pointer; }
.btn.pink { background: var(--pink); border-color: var(--pink); }
.btn.out { background: transparent; color: var(--accent); }
.btn.out:hover { background: var(--surface-2); }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #06301a; }
.btn svg { width: 18px; height: 18px; }

/* busca */
.busca { background: var(--surface); border-bottom: 1px solid var(--border); }
.busca form { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; padding-top: 14px; padding-bottom: 14px; align-items: center; }
.in { font: 400 15px var(--font); color: var(--ink); background: var(--page-bg); border: 2px solid var(--border); padding: 11px 12px; border-radius: 0; width: 100%; min-width: 0; }
.in:focus { border-color: var(--accent); }
.sel { min-width: 230px; }

/* mosaico de destaques */
.mosaic { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 250px 250px; gap: 10px; padding-top: 20px; }
.tile { position: relative; overflow: hidden; background: var(--accent); color: #fff; text-decoration: none; display: block; min-width: 0; border-top: 5px solid var(--accent); }
.tile:nth-child(2) { border-top-color: var(--pink); } .tile:nth-child(3) { border-top-color: var(--ceu); }
.tile.big { grid-row: 1 / 3; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile .cap { position: absolute; inset: auto 0 0 0; padding: 56px 18px 16px; background: linear-gradient(to top, rgba(14,12,50,.92) 0%, rgba(14,12,50,.75) 45%, rgba(14,12,50,0) 100%); text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.tile .meta { font-size: 13px; font-weight: 500; color: #fff; margin-bottom: 4px; }
.tile h2 { font-size: 17px; font-weight: 700; line-height: 1.25; color: #fff; }
.tile.big h2 { font-size: clamp(20px, 2.6vw, 30px); }
.tile .org { display: inline-block; background: var(--pink); color: #fff; font-size: 11px; font-weight: 600; padding: 1px 7px; margin-bottom: 6px; }

/* filtros rápidos e grade */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding-top: 16px; }
.chip { font: 500 14px var(--font); background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-top: 4px solid var(--accent); padding: 6px 14px 7px; cursor: pointer; text-decoration: none; }
.chip:nth-child(3n+2) { border-top-color: var(--pink); }
.chip:nth-child(3n) { border-top-color: var(--ceu); }
.chip:hover { background: var(--surface-2); }
.chip[aria-current] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); border-top-color: var(--warning); }
.sec { padding-top: 16px; }
.sub { text-align: center; color: var(--ink-2); font-size: 14px; margin: 4px 0 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card { background: var(--surface); border-top: 4px solid var(--accent); text-decoration: none; display: flex; flex-direction: column; min-width: 0; }
.card:nth-child(3n+2) { border-top-color: var(--pink); } .card:nth-child(3n) { border-top-color: var(--ceu); }
.card .ph { aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .bd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card time { font-size: 12px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.card h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.card:hover h3 { text-decoration: underline; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.tag { font-size: 11px; font-weight: 600; color: var(--pink); border: 1px solid currentColor; padding: 0 7px; text-decoration: none; }
.more { display: flex; justify-content: center; margin-top: 22px; }

/* colunas: mais lidas, agenda, acesso rápido */
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: stretch; }
.box { background: var(--surface); border-top: 4px solid var(--pink); padding: 20px; min-width: 0; }
.box h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.box .sub { text-align: left; margin-bottom: 10px; }
.col { display: grid; gap: 16px; grid-template-rows: auto 1fr; }
.col .box { padding: 16px 20px; } .col .box h2 { font-size: 20px; }
.col .box:last-child { display: flex; flex-direction: column; }
.col .box:last-child .ql { flex: 1; align-content: space-evenly; }
.seg { display: flex; margin-bottom: 8px; }
.seg button { flex: 1; font: 500 13px var(--font); padding: 6px; border: 1px solid var(--accent); background: transparent; color: var(--ink); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.lida { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.lida:last-child { border-bottom: 0; }
.lida b { color: var(--pink); font-size: 20px; font-weight: 800; }
.lida a { text-decoration: none; line-height: 1.35; display: block; } .lida a:hover { text-decoration: underline; }
.lida small { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.ev { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: center; padding: 6px 0; }
.dt { text-align: center; line-height: 1; font-variant-numeric: tabular-nums; }
.dt b { display: block; font-size: 30px; font-weight: 800; color: var(--accent); } .dt span { font-size: 11px; color: var(--ink-2); letter-spacing: .06em; text-transform: uppercase; }
.ev small { color: var(--ink-2); font-size: 13px; }
.ql { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.ql li { border-bottom: 1px solid var(--border); }
.ql a { display: flex; align-items: center; gap: 8px; padding: 6px 0; text-decoration: none; font-weight: 500; font-size: 14px; }
.ql svg { width: 15px; height: 15px; color: var(--pink); flex: none; }
.ql a:hover { color: var(--pink); }
.wabox { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 18px 20px; border-top-color: var(--wa); }
.wabox .half { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.wabox .half + .half { border-left: 1px solid var(--border); padding-left: 24px; }
.wabox h2 { width: 100%; font-size: 20px; margin: 0; }
.wabox p { color: var(--ink-2); margin: 0; font-size: 14px; flex: 1 1 220px; }
.wabox .tel { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; flex: 0 1 auto; }
.wabox .tel svg { width: 14px; height: 14px; color: var(--pink); flex: none; }

/* desde 1989, onde estamos, TV */
.desde { display: grid; grid-template-columns: 1fr 1.4fr; background: var(--accent); color: var(--on-accent); }
.desde-txt { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.desde-ano { display: inline-flex; flex-direction: column; background: var(--pink); color: #fff; padding: 14px 22px; align-self: flex-start; line-height: 1; }
.desde-ano span { font-size: 22px; font-weight: 600; } .desde-ano strong { font-size: clamp(44px, 6vw, 72px); font-weight: 800; letter-spacing: -0.02em; }
.desde-txt p { color: var(--on-accent-muted); font-size: 17px; margin: 0; max-width: 42ch; }
.desde-txt .btn { align-self: flex-start; }
.desde-foto { width: 100%; height: 100%; min-height: 300px; object-fit: cover; filter: grayscale(1); }
.dois { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dois h2 svg { color: var(--pink); width: 20px; height: 20px; margin-right: 6px; }
.mapa { width: 100%; aspect-ratio: 16 / 10; border: 0; display: block; background: var(--surface-2); }
.video { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; text-decoration: none; color: #fff; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video .play svg { width: 72px; height: 72px; color: #fff; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.video:hover .play svg { color: #ff0000; }
.video-titulo { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; font-weight: 600; font-size: 15px; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0)); }
@media (max-width: 900px) { .desde { grid-template-columns: 1fr; } .desde-foto { min-height: 220px; } .dois { grid-template-columns: 1fr; } }

/* lista de notícias e busca */
.lista-topo { padding-top: 24px; }
.lista-topo h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.lista-topo .sub { text-align: left; margin: 2px 0 14px; }
.filtros { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.filtros .in { width: auto; }
.pag { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.pag a, .pag span { padding: 8px 12px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; font-weight: 500; }
.pag span[aria-current] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.vazio { background: var(--surface); border-top: 4px solid var(--warning); padding: 28px 20px; text-align: center; }

/* notícia aberta */
.art { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; padding-top: 24px; align-items: start; }
.crumb { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumb a { text-decoration: none; } .crumb a:hover { text-decoration: underline; }
.post { background: var(--surface); border-top: 4px solid var(--pink); padding: 28px 32px 32px; min-width: 0; }
.post h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; line-height: 1.12; margin-bottom: 12px; text-wrap: balance; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 13px; height: 13px; color: var(--pink); }
.fig { margin: 0 0 22px; } .fig img { width: 100%; height: auto; }
.txt { font-size: 17px; line-height: 1.65; max-width: 70ch; overflow-wrap: anywhere; }
.txt p { margin: 0 0 16px; }
.txt p:first-child b, .txt p:first-child strong { font-weight: 500; }
.txt p:first-child:has(> i:only-child), .txt p:first-child:has(> b > i), .txt p:first-child:has(> em:only-child) { font-size: 19px; border-left: 6px solid var(--accent); padding-left: 16px; margin-bottom: 22px; }
.txt p:first-child i, .txt p:first-child em { font-style: normal; }
.txt h2, .txt h3 { font-size: 22px; font-weight: 800; margin: 26px 0 10px; }
.txt p > strong:only-child { display: block; font-size: 20px; font-weight: 800; margin-top: 10px; }
.txt ul, .txt ol { margin: 0 0 16px; padding-left: 22px; } .txt li { margin-bottom: 6px; }
.txt a { color: var(--pink); }
.txt a.btn { color: var(--on-accent); } .txt a.btn.out { color: var(--accent); }
.txt img { height: auto; margin: 8px 0; }
.txt figure { margin: 8px 0 16px; } .txt figcaption, .txt .wp-caption-text { font-size: 13px; color: var(--ink-muted); }
.txt p[style*="text-align: right"] { font-size: 14px; color: var(--ink-2); text-align: left !important; border-top: 1px solid var(--border); padding-top: 12px; }
.txt p[style*="text-align: right"] ~ p[style*="text-align: right"] { border-top: 0; padding-top: 0; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); }
.share span { font-size: 13px; color: var(--ink-2); margin-right: 6px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); text-decoration: none; font: 500 14px var(--font); cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--accent); background: var(--surface-2); }
.share svg { width: 15px; height: 15px; color: var(--pink); }
.aside { display: grid; gap: 16px; position: sticky; top: 100px; }
.rel { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.rel:last-child { border-bottom: 0; }
.rel img, .rel .noph { width: 96px; height: 64px; object-fit: cover; display: block; background: var(--surface-2); }
.rel time { font-size: 12px; color: var(--ink-muted); }
.rel h3 { font-size: 14px; font-weight: 600; line-height: 1.3; }
.rel:hover h3 { text-decoration: underline; }
.cta { background: var(--accent); color: var(--on-accent); padding: 20px; }
.cta h2 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.cta p { color: var(--on-accent-muted); margin: 0 0 14px; font-size: 14px; }

/* rodapé */
footer.site { margin-top: 44px; background: var(--accent); color: var(--on-accent-muted); }
footer.site .wrap { padding-top: 30px; padding-bottom: 30px; }
.cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 28px; }
footer.site h3 { font-size: 14px; font-weight: 700; color: var(--on-accent); margin-bottom: 8px; }
footer.site p { margin: 0 0 4px; font-size: 13px; overflow-wrap: anywhere; }
footer.site a { text-decoration: none; } footer.site a:hover { text-decoration: underline; color: var(--on-accent); }
.flogo { display: block; margin-bottom: 12px; } .flogo img { width: 220px; height: auto; }
.fsoc { display: flex; gap: 14px; margin-top: 12px; }
.fsoc a { color: var(--on-accent); display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.35); }
.fsoc a:hover { background: var(--pink); border-color: var(--pink); }
.fsoc svg { width: 17px; height: 17px; }
.fbottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 26px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); font-size: 12px; }
.wa-flutuante { position: fixed; right: 16px; bottom: 16px; z-index: 25; background: var(--wa); border-color: var(--wa); color: #fff; width: 58px; height: 58px; padding: 0; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.wa-flutuante svg { width: 30px; height: 30px; }

@media (max-width: 900px) {
  .hamb { display: inline-flex; align-items: center; justify-content: center; }
  nav.menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; box-shadow: 0 10px 24px rgba(27,26,85,.12); }
  nav.menu.aberto { display: flex; }
  nav.menu .grupo > button, nav.menu .solto { width: 100%; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
  nav.menu .grupo > button::before, nav.menu .solto::before { display: none; }
  nav.menu .grupo > ul { position: static; min-width: 0; box-shadow: none; border: 0; border-left: 4px solid var(--pink); padding: 4px 0 4px 8px; }
  nav.menu .grupo:hover > ul { display: none; } nav.menu .grupo.aberto > ul { display: block; }
  .bar { gap: 10px; } .logo img { width: 180px; }
  .btn { padding: 10px 12px; font-size: 14px; }
  .busca form { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: 260px 180px 180px; }
  .tile.big { grid-row: auto; }
  .two, .art { grid-template-columns: 1fr; }
  .aside { position: static; }
  .post { padding: 20px 16px 24px; }
  .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .cols, .wabox { grid-template-columns: 1fr; }
  .wabox .half + .half { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 12px; }
}

/* páginas institucionais novas: agenda, diretoria, delegados */
.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 20px; }
.sec-tit { font-size: 22px; font-weight: 800; margin: 28px 0 12px; padding-left: 12px; border-left: 6px solid var(--pink); }
.chips-solto { justify-content: flex-start; padding-top: 4px; }
.chip small { color: var(--ink-muted); font-size: 12px; margin-left: 4px; }
.evento { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.evento:last-of-type { border-bottom: 0; }
.evento .dt { background: var(--surface-2); border-top: 4px solid var(--ceu); padding: 10px 0 8px; align-self: start; }
.evento .dt small { display: block; font-size: 11px; color: var(--ink-muted); margin-top: 2px; }
.evento h2 { font-size: 21px; font-weight: 800; margin: 0 0 6px; }
.evento p { margin: 0 0 8px; }
.evento-quando { color: var(--ink-2); font-size: 15px; display: flex; gap: 8px; align-items: baseline; }
.evento-quando svg, .evento-quando i { color: var(--pink); width: 14px; }
.passados { list-style: none; padding: 0; margin: 0; } .passados li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.passados time { font-variant-numeric: tabular-nums; color: var(--ink-2); margin-right: 10px; }
.pessoas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.pessoas li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; background: var(--surface-2); padding: 10px 12px; border-top: 3px solid var(--accent); }
.pessoas .ini { width: 44px; height: 44px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 20px; }
.pessoas strong { display: block; line-height: 1.25; } .pessoas small { color: var(--ink-2); font-size: 13px; }
.delegacias { display: grid; gap: 14px; } .delegacias .box { padding: 16px 0 0; border-top-color: var(--ceu); } .delegacias .box h2 { font-size: 19px; margin-bottom: 10px; }
@media (max-width: 640px) { .evento { grid-template-columns: 58px 1fr; gap: 12px; } .post { padding: 22px 18px 24px; } }

/* convênios */
.destaque-tp { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; background: var(--accent); color: var(--on-accent); padding: 18px 20px; margin: 0 0 22px; border-top: 4px solid var(--warning); }
.destaque-tp strong { font-size: 20px; } .destaque-tp p { margin: 2px 0 0; color: var(--on-accent-muted); }
.filtros-conv { display: grid; grid-template-columns: 1fr 220px auto; gap: 8px; margin-bottom: 12px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.cat { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--surface-2); border-top: 3px solid var(--ceu); text-decoration: none; font-weight: 500; }
.cat svg, .cat i { color: var(--pink); width: 15px; } .cat small { color: var(--ink-muted); }
.cat.ativa { background: var(--accent); color: var(--on-accent); border-top-color: var(--warning); } .cat.ativa small, .cat.ativa svg { color: var(--on-accent-muted); }
.parceiros { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.parceiro { background: var(--surface-2); border-top: 3px solid var(--accent); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.parceiro h3 { font-size: 18px; font-weight: 800; margin: 0; }
.parceiro .beneficio { font-weight: 600; color: var(--pink); margin: 0; } .parceiro .como { margin: 0; font-size: 14px; color: var(--ink-2); }
.parceiro .contato { list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; display: grid; gap: 3px; }
.parceiro .contato li { display: flex; gap: 8px; align-items: baseline; overflow-wrap: anywhere; } .parceiro .contato svg { color: var(--ink-muted); width: 13px; flex: none; }
.parceiro .acoes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.parceiro .atual { color: var(--ink-muted); font-size: 12px; }
@media (max-width: 640px) { .filtros-conv { grid-template-columns: 1fr; } }
/* diretoria com fotos */
.pessoas .foto { width: 44px; height: 44px; object-fit: cover; object-position: center 20%; display: block; background: var(--surface); }
.pessoas.com-fotos li { grid-template-columns: 72px 1fr; padding: 12px; }
.pessoas.com-fotos .foto, .pessoas.com-fotos .ini { width: 72px; height: 72px; font-size: 28px; }
.pessoas a { text-decoration: none; } .pessoas a:hover strong { color: var(--pink); }

/* página da secretaria */
.ocupante { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; background: var(--surface-2); border-top: 4px solid var(--accent); padding: 16px; margin: 4px 0 24px; }
.ocupante img, .ocupante .ini { width: 160px; height: 190px; object-fit: cover; object-position: center 20%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 56px; font-weight: 800; }
.ocupante strong { display: block; font-size: 22px; font-weight: 800; line-height: 1.2; } .ocupante small { color: var(--ink-2); font-size: 15px; }
.atribuicoes { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.atribuicoes li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 17px; line-height: 1.55; }
.atribuicoes b { color: var(--pink); font-weight: 800; }
.fonte-estatuto { font-size: 13px; color: var(--ink-muted); margin-top: 14px; }
@media (max-width: 640px) { .ocupante { grid-template-columns: 96px 1fr; } .ocupante img, .ocupante .ini { width: 96px; height: 116px; font-size: 36px; } }
.quem-compete { margin: 0 0 4px; color: var(--ink-2); font-size: 15px; }
/* plantão dos advogados */
.plantao { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.plantao-dia { background: var(--surface-2); border-top: 4px solid var(--accent); padding: 14px 16px; }
.plantao-dia h2 { font-size: 20px; font-weight: 800; margin: 0 0 8px; }
.plantao-dia ul { list-style: none; margin: 0; padding: 0; }
.plantao-dia li { display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--border); } .plantao-dia li:last-child { border-bottom: 0; }
.plantao-dia .hora { color: var(--pink); font-weight: 700; font-variant-numeric: tabular-nums; }
.plantao-dia small { color: var(--ink-2); }

/* botões do topo com ícone (opção A, 22/10): no celular, "Área do filiado" vira "Filiado" */
.bar .btn svg, .bar .btn i { width: 15px; height: 15px; }
.bar .btn .curto { display: none; }
@media (max-width: 900px) { .bar .btn .longo { display: none; } .bar .btn .curto { display: inline; } }
@media (max-width: 400px) { .bar .btn { padding: 9px 10px; gap: 6px; } .logo img { width: 150px; } }

/* banners do topo da home (slider do WordPress) */
.banners { margin-top: 16px; }
.banners .slides { position: relative; display: grid; background: var(--surface-2); line-height: 0; }
.banners .slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.banners .slide.ativo { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .banners .slide { transition: none; } }
.banners .slide img { width: 100%; height: auto; display: block; max-height: 520px; object-fit: cover; }
.banners .seta { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; background: rgba(27,26,85,.72); color: #fff; cursor: pointer; display: grid; place-items: center; }
.banners .seta:hover { background: var(--accent); } .banners .ant { left: 10px; } .banners .prox { right: 10px; }
.banners .pontos { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.banners .pontos .pausa { width: 26px; height: 26px; border: 0; background: rgba(27,26,85,.72); color: #fff; display: grid; place-items: center; margin-left: 6px; font-size: 11px; line-height: 1; }
.banners .pontos .pausa svg { width: 11px; height: 11px; }
.banners .pontos button { width: 12px; height: 12px; border: 2px solid #fff; background: rgba(27,26,85,.45); cursor: pointer; padding: 0; }
.banners .pontos button[aria-current] { background: var(--warning); border-color: var(--warning); }
/* celular: o banner é largo e fica pequeno; setas e pontos saem de cima da imagem para uma barra embaixo (e dá para deslizar) */
@media (max-width: 640px) {
  .banners { margin-top: 10px; }
  .banners .slides { padding-bottom: 46px; background: var(--accent); }
  .banners .seta { top: auto; bottom: 4px; transform: none; width: 38px; height: 38px; background: transparent; }
  .banners .ant { left: 4px; } .banners .prox { right: 4px; }
  .banners .pontos { bottom: 0; height: 46px; gap: 12px; }
  .banners .pontos button:not(.pausa) { width: 14px; height: 14px; }
  .banners .pontos .pausa { width: 30px; height: 30px; margin-left: 4px; }
}
/* topo: botões sem quebrar linha */
.bar .btn { white-space: nowrap; flex: none; }
@media (max-width: 520px) { .logo img { width: 140px; } .bar { gap: 6px; } }
@media (max-width: 430px) { .logo img { width: 112px; } .bar .btn { padding: 8px 9px; font-size: 13px; gap: 5px; } .hamb { width: 40px; height: 40px; flex: none; } }
@media (max-width: 400px) { .bar .btn svg, .bar .btn i { display: none; } .logo img { width: 104px; } }
@media (min-width: 901px) and (max-width: 1300px) { .bar { gap: 14px; } .bar .btn { padding: 11px 14px; } }
@media (min-width: 901px) and (max-width: 1180px) { .bar .btn .longo { display: none; } .bar .btn .curto { display: inline; } .logo img { width: 200px; } nav.menu { gap: 14px; } }
@media (min-width: 901px) and (max-width: 1000px) { .logo img { width: 160px; } .bar .btn svg, .bar .btn i { display: none; } nav.menu { gap: 12px; font-size: 14px; } }
@media (max-width: 340px) { .logo img { width: 90px; } .bar .btn { padding: 7px 7px; font-size: 12px; } }
/* editais e prestação de contas */
.filtros-doc { display: grid; grid-template-columns: 1fr 240px 150px; gap: 8px; margin-bottom: 6px; }
.docs { list-style: none; margin: 0; padding: 0; }
.docs li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.docs a { display: flex; gap: 10px; align-items: baseline; text-decoration: none; font-weight: 500; min-width: 0; flex: 1 1 320px; }
.docs a:hover .rot { color: var(--pink); text-decoration: underline; }
.docs a svg, .docs a i { color: var(--pink); width: 15px; flex: none; }
.docs .rot { overflow-wrap: anywhere; }
.docs .tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); }
.docs .tag-tipo { background: var(--accent); color: var(--on-accent); padding: 2px 6px; font-weight: 700; }
.docs .tag-sit { background: #FBE7EE; color: #8A1C44; padding: 2px 6px; font-weight: 600; }
.docs time { font-variant-numeric: tabular-nums; }
.docs li.com-situacao .rot { color: var(--ink-2); }
@media (max-width: 640px) { .filtros-doc { grid-template-columns: 1fr; } }

/* acessibilidade (22/10): tamanho do texto, alto contraste, ouvir, VLibras */
:root { --zoom: 1; }
body { zoom: var(--zoom); }
.topbar .acess { display: flex; gap: 2px; margin-right: auto; }
.topbar .acess button { background: transparent; border: 1px solid rgba(255,255,255,.35); color: var(--on-accent); font: 700 12px var(--font); min-width: 30px; height: 24px; padding: 0 6px; cursor: pointer; display: inline-grid; place-items: center; }
.topbar .acess button:hover, .topbar .acess button[aria-pressed="true"] { background: var(--warning); color: #1B1A55; border-color: var(--warning); }
.topbar .acess svg { width: 13px; height: 13px; }
.topbar .sep { display: none; }
.meta .ouvir { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); font: 600 13px var(--font); padding: 5px 10px; cursor: pointer; }
.meta .ouvir:hover, .meta .ouvir[aria-pressed="true"] { border-color: var(--pink); color: var(--pink); }
html.contraste { --accent: #FFE600; --pink: #FFE600; --page-bg: #000; --surface: #000; --surface-2: #111; --border: #FFF;
  --ink: #FFF; --ink-2: #FFF; --ink-muted: #DDD; --on-accent: #000; --on-accent-muted: #000; --ceu: #FFE600; --warning: #FFE600; --good: #7CFF9A; --shade: rgba(0,0,0,.92); }
html.contraste body, html.contraste header.site, html.contraste .busca, html.contraste footer.site { background: #000; color: #FFF; }
html.contraste a { color: #FFE600 !important; text-decoration: underline; }
html.contraste .btn, html.contraste .btn.pink { background: #FFE600; color: #000 !important; border-color: #FFE600; text-decoration: none; }
html.contraste .btn.out { background: #000; color: #FFE600 !important; }
html.contraste .topbar { background: #000; border-bottom: 1px solid #FFF; } html.contraste .topbar a { color: #FFE600; }
html.contraste .logo img, html.contraste .flogo img { background: #FFF; padding: 4px; }
html.contraste .in, html.contraste input, html.contraste select, html.contraste textarea { background: #000 !important; color: #FFF !important; border-color: #FFF !important; }
html.contraste .tile .cap, html.contraste .banners .seta { background: #000; }
html.contraste img { filter: none; }
html.contraste .topbar .acess button { color: #FFF; border-color: #FFF; }
html.contraste .topbar .acess button:hover, html.contraste .topbar .acess button[aria-pressed="true"] { color: #000; background: #FFE600; border-color: #FFE600; }
/* formulários do site */
.form-site { display: grid; gap: 14px; max-width: 680px; }
.form-site .campos-id { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.form-site .campo { display: grid; gap: 6px; } .form-site label { font-weight: 600; font-size: 15px; }
.form-site .in { width: 100%; font: 400 16px var(--font); padding: 11px 12px; border: 2px solid var(--border); background: var(--surface); color: var(--ink); }
.form-site textarea.in { resize: vertical; min-height: 160px; }
.form-site .in:focus { border-color: var(--accent); outline: none; }
.form-site .com-erro .in { border-color: var(--pink); } .form-site .erro { color: var(--pink); font-weight: 600; }
.form-site .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; } .form-site .check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.form-site .check.destaque { background: var(--surface-2); padding: 12px 14px; border-left: 4px solid var(--accent); }
.form-site .check.com-erro { color: var(--pink); }
.form-site .privacidade { font-size: 14px; color: var(--ink-2); background: var(--surface-2); padding: 12px 14px; }
.form-site .btn { justify-self: start; }
.aviso-form { padding: 12px 14px; margin: 0 0 16px; font-weight: 500; } .aviso-form.erro { background: #FBE7EE; color: #8A1C44; border-left: 4px solid var(--pink); }
.aviso-form.ok { background: #E6F4EC; color: #145A3B; border-left: 4px solid var(--good); }

/* faixa "Benefícios para filiados" na home (opção A, 22/10) */
.beneficios { background: var(--surface); border-top: 4px solid var(--warning); padding: 18px 20px; }
.beneficios .topo { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.beneficios h2 { font-size: 24px; font-weight: 800; margin: 0; } .beneficios h2 svg, .beneficios h2 i { color: var(--pink); }
.beneficios .topo p { margin: 2px 0 0; color: var(--ink-2); }
.cats-home { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.cats-home a { display: grid; justify-items: center; align-content: center; gap: 6px; text-align: center; padding: 14px 6px; background: var(--surface-2); text-decoration: none; font-weight: 600; font-size: 14px; border-top: 3px solid var(--ceu); color: var(--ink); }
.cats-home a:hover, .cats-home a:focus-visible { background: var(--accent); color: var(--on-accent); }
.cats-home a svg, .cats-home a i { width: 24px; height: 24px; font-size: 24px; color: var(--pink); }
.cats-home a:hover svg, .cats-home a:hover i { color: var(--warning); }
.cats-home small { color: var(--ink-muted); font-weight: 500; font-size: 12px; } .cats-home a:hover small { color: var(--on-accent-muted); }
.cats-home a.tp { background: var(--accent); color: var(--on-accent); border-top-color: var(--warning); }
.cats-home a.tp svg, .cats-home a.tp i { color: var(--warning); } .cats-home a.tp small { color: var(--on-accent-muted); }
@media (max-width: 520px) { .cats-home { grid-template-columns: repeat(2, 1fr); } .beneficios .btn { width: 100%; } }

/* Grade do Instagram, próxima à TV Sindipúblicos. */
.instagram { border-top-color: var(--pink); }
.instagram-topo { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 16px; }
.instagram-topo .sub { margin: 4px 0 0; }
.instagram-seguir { flex: none; }
.instagram-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.instagram-post { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--surface-2); text-decoration: none; }
.instagram-post img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; background: var(--surface-2); }
.instagram-legenda { margin: 14px; font-size: 15px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.instagram-abrir { display: block; margin-top: auto; padding: 12px 14px; color: var(--accent); font-weight: 600; }
.instagram-post:hover .instagram-abrir, .instagram-post:focus-visible .instagram-abrir { text-decoration: underline; }
.instagram-mais { display: flex; justify-content: center; margin-top: 16px; }
html.contraste .instagram { background: #000; border-color: #fff; }
html.contraste .instagram .btn { background: #000; color: #ffe600; border: 2px solid #ffe600; }
@media (max-width: 640px) {
  .instagram-topo { align-items: flex-start; flex-direction: column; }
  .instagram-grade { grid-template-columns: 1fr; }
  .instagram-mais .btn { width: 100%; text-align: center; }
}
