/* Confederação Assespro — Design System · Manual oficial (Lato + #4030D6 + #A84FB2) */
/* Cores da ASSESPRO-BA. A estrutura do sistema é a mesma da Confederação,
   a cor não: o índigo #404890 foi tirado do próprio logo deles, que é mais
   fechado que o roxo #4030D6 da Confederação. Reusar o sistema não é vestir
   a regional com a marca de outro. */
:root {
  --brand: #404890;
  --brand-2: #7A4FA8;
  --brand-gradient: linear-gradient(135deg, #404890 0%, #7A4FA8 100%);
  --brand-dark: #2C3268;
  --brand-soft: #EEEFF7;
  --brand-softer: #F6F7FB;
  --ink: #0F172A;
  --ink-2: #334155;
  --meta: #64748B;
  --meta-2: #94A3B8;
  --line: #E2E8F0;
  --line-2: #F1F5F9;
  --bg: #ffffff;
  --bg-soft: #F8FAFC;
  --bg-card: #F1F5F9;
  --bg-dark: #0A0A12;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', 'Arial', sans-serif; background: var(--bg); color: var(--ink); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* Nav */
.nav { position: sticky; top: 0; background: rgba(255,255,255,0.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); z-index: 50; padding: 12px 0; }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.nav-brand img { height: 44px; width: auto; display: block; }
.nav-links { display: none; gap: 24px; align-items: center; }
.nav-link { color: var(--ink-2); font-size: 15px; font-weight: 700; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: all 0.15s; }
.nav-link:hover, .nav-link.active { color: var(--brand); border-bottom-color: var(--brand); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-lang { display: none; gap: 6px; font-size: 12px; color: var(--meta); font-weight: 700; letter-spacing: 1px; }
.nav-lang button { background: none; border: none; color: var(--meta); cursor: pointer; font-family: inherit; font-weight: 700; font-size: 12px; padding: 4px 6px; border-radius: 3px; letter-spacing: 1px; }
.nav-lang button.active { color: var(--brand); background: var(--brand-soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; transition: all 0.15s; border: 2px solid transparent; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); color: white; text-decoration: none; }
.btn-secondary { background: white; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand-soft); text-decoration: none; }
.btn-ghost { color: var(--ink-2); padding: 8px 14px; }
.btn-ghost:hover { color: var(--brand); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* Layout */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }

.eyebrow { display: inline-block; font-size: 11px; font-weight: 900; color: var(--brand); letter-spacing: 3px; text-transform: uppercase; padding: 4px 10px; background: var(--brand-soft); border-radius: 3px; margin-bottom: 20px; }
.section-title { font-size: 36px; font-weight: 900; color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--meta); max-width: 640px; line-height: 1.5; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }

/* Hero PÁGINA INTERNA (sem vídeo) */
.hero-inner { padding: 80px 0 56px; background: linear-gradient(180deg, var(--brand-softer) 0%, transparent 100%); border-bottom: 1px solid var(--line); }
.hero-inner .eyebrow { margin-bottom: 20px; }
.hero-inner h1 { font-size: clamp(30px, 8.5vw, 52px); font-weight: 900; color: var(--ink); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 20px; max-width: 900px; }
.hero-inner h1 strong { background: var(--brand-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; }
.hero-inner .lead { font-size: 20px; color: var(--ink-2); max-width: 720px; line-height: 1.55; }

/* Breadcrumb */
.breadcrumb { max-width: 1280px; margin: 0 auto; padding: 12px 24px 0; font-size: 13px; color: var(--meta); }
.breadcrumb a { color: var(--meta); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--ink-2); font-weight: 700; }

/* Content flow (páginas com texto longo) */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 28px; font-weight: 900; letter-spacing: -0.01em; margin-top: 48px; margin-bottom: 16px; color: var(--ink); }
.prose h3 { font-size: 20px; font-weight: 900; margin-top: 32px; margin-bottom: 12px; color: var(--ink); }
.prose p { margin-bottom: 18px; color: var(--ink-2); line-height: 1.7; font-size: 17px; }
.prose strong { color: var(--ink); font-weight: 900; }
.prose ul, .prose ol { margin-bottom: 20px; padding-left: 24px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; line-height: 1.6; }
.prose a { color: var(--brand); text-decoration: underline; text-decoration-color: rgba(64,48,214,0.3); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--brand); }
.prose blockquote { border-left: 4px solid var(--brand-2); padding: 8px 24px; margin: 24px 0; font-size: 18px; color: var(--ink-2); font-style: italic; background: var(--brand-softer); border-radius: 0 8px 8px 0; }
.prose img { border-radius: 12px; margin: 24px 0; }

/* Callout — 3 pilares (propósito, visão, missão) */
.pillars-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 40px 0; }
.pillar { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px; }
.pillar-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-gradient); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 24px; color: white; }
.pillar-title { font-size: 20px; font-weight: 900; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.01em; }
.pillar-desc { color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* Cards de pessoa (diretoria, ex-presidentes) */
.people-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.person-card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; text-align: center; transition: all 0.2s; }
.person-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 12px 32px -12px rgba(64, 48, 214, 0.15); }
.person-photo { width: 180px; height: 220px; border-radius: 14px; margin: 0 auto 18px; background: var(--brand-gradient); display: flex; align-items: center; justify-content: center; color: white; font-weight: 900; font-size: 48px; letter-spacing: -0.02em; overflow: hidden; box-shadow: 0 6px 18px -8px rgba(64, 48, 214, 0.25); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.person-photo.crop-face img { object-position: center 22%; }
.person-photo.crop-head img { object-position: center 32%; }
.person-photo.crop-top img { object-position: center 8%; }
.person-photo.crop-frame img { object-position: center 26%; transform: scale(1.35); transform-origin: center 30%; }
.person-photo.full-frame { width: 240px; height: 320px; border-radius: 8px; background: transparent; box-shadow: none; padding: 0; }
.person-photo.full-frame img { width: 100%; height: 100%; object-fit: contain; object-position: center center; transform: none; }
/* Galeria de ex-presidentes: retratos ja recortados e tratados, todos em 3:4 */
.person-photo.xp-portrait { width: 100%; max-width: 240px; height: auto; aspect-ratio: 3 / 4; border-radius: 10px; background: var(--bg-card); box-shadow: 0 8px 24px -14px rgba(15, 23, 42, 0.45); }
.person-photo.xp-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: none; }
.person-name { font-weight: 900; font-size: 17px; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.01em; }
.person-role { font-size: 12px; color: var(--brand); font-weight: 900; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.person-contact { font-size: 13px; color: var(--meta); }
.person-contact a { color: var(--meta); }

/* Cards de benefício/serviço/convênio */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.svc-card { padding: 28px 26px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; transition: all 0.2s; }
.svc-card:hover { border-color: var(--brand); background: white; transform: translateY(-2px); box-shadow: 0 12px 32px -12px rgba(64, 48, 214, 0.15); }
.svc-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 20px; color: var(--brand); }
.svc-title { font-size: 17px; font-weight: 900; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.svc-desc { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.svc-meta { font-size: 12px; color: var(--meta); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.svc-meta strong { color: var(--ink-2); }

/* Cards de documento (transparência) */
.doc-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.doc-card { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: white; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: all 0.15s; }
.doc-card:hover { border-color: var(--brand); background: var(--brand-softer); text-decoration: none; }
.doc-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; background: var(--brand-gradient); display: flex; align-items: center; justify-content: center; color: white; font-weight: 900; font-size: 12px; letter-spacing: 0.5px; }
.doc-body { flex: 1; }
.doc-title { font-weight: 900; font-size: 15px; margin-bottom: 2px; }
.doc-meta { font-size: 12px; color: var(--meta); }
.doc-arrow { color: var(--brand); font-size: 20px; }

/* Form */
.form { max-width: 640px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; letter-spacing: 0.3px; }
.form-input, .form-textarea { width: 100%; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line); font-size: 15px; font-family: inherit; background: white; color: var(--ink); transition: border-color 0.15s; }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--brand); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--meta); margin-top: 8px; }

/* Info cards (contato, requisitos) */
.info-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.info-card { padding: 24px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; }
.info-card-label { font-size: 11px; color: var(--brand); font-weight: 900; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.info-card-value { font-size: 17px; color: var(--ink); font-weight: 700; }
.info-card-value a { color: var(--ink); }

/* CTA banda */
.cta-band-solid { padding: 48px 0; background: var(--brand); color: white; text-align: center; }
.cta-band-solid h2 { color: white; font-size: 26px; font-weight: 900; letter-spacing: -0.01em; margin-bottom: 16px; }
.cta-band-solid .btn { background: white; color: var(--brand); }
.cta-band-solid .btn:hover { background: var(--brand-soft); }

/* Footer */
.footer { background: #05050B; color: white; padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand-block { max-width: 320px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand-desc { color: rgba(255,255,255,0.55); font-size: 13px; line-height: 1.55; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.06); color: white; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.15s; font-size: 14px; font-weight: 900; }
.footer-social a:hover { background: var(--brand); }
.footer-col-title { color: white; font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 14px; text-decoration: none; }
.footer-col a:hover { color: white; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,0.4); }
/* a assinatura encostava na borda direita e ficava cortada */
.footer-bottom > * { min-width: 0; }
.footer-signature { flex-shrink: 0; padding-right: 2px; }
.footer-signature img { max-width: 132px; height: auto; opacity: .9; }
.footer-signature { display: inline-flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.5); text-decoration: none; opacity: 0.8; transition: opacity 0.15s; }
.footer-signature:hover { opacity: 1; text-decoration: none; }
.footer-signature span { font-size: 13px; font-weight: 400; }
.footer-signature img { height: 32px; width: auto; display: block; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-lang { display: flex; }
  .hero-inner h1 { font-size: 64px; }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .people-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* Nav dropdown */
.nav-item { position: relative; }
.nav-item.has-drop > .nav-link::after { content: ' ▾'; font-size: 10px; opacity: 0.6; margin-left: 2px; }
.nav-drop { position: absolute; top: 100%; left: -20px; min-width: 240px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.15); padding: 8px; margin-top: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.18s ease; z-index: 60; }
.nav-item:hover > .nav-drop, .nav-item:focus-within > .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav-drop a { display: block; padding: 10px 14px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; border-radius: 8px; transition: all 0.12s; }
.nav-drop a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.nav-drop a.active { background: var(--brand-softer); color: var(--brand); }

/* Mapa do Brasil (bubble map) */
.brmap-wrap { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; max-width: 900px; margin: 40px auto 0; }
@media (min-width: 900px) { .brmap-wrap { grid-template-columns: 2fr 1fr; } }
.brmap { width: 100%; height: auto; display: block; }
.brmap .bubble circle { transition: all .18s ease; }
.brmap .bubble text { text-anchor: middle; font-family: 'Lato', system-ui, sans-serif; font-weight: 900; font-size: 11px; fill: white; pointer-events: none; letter-spacing: 0.02em; }
.brmap .bubble.on circle { fill: url(#brmap-grad); filter: drop-shadow(0 4px 8px rgba(64,48,214,0.28)); }
.brmap .bubble.on:hover circle { r: 26; filter: drop-shadow(0 6px 14px rgba(64,48,214,0.45)); }
.brmap .bubble.off circle { fill: #d8dae8; }
.brmap .bubble.off text { fill: #6c6f80; font-size: 9px; }
.brmap-legend { padding: 0 16px; }
.brmap-legend .legend-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 15px; color: var(--ink-2); }
.brmap-legend .dot { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }
.brmap-legend .dot.on { background: var(--brand-gradient); }
.brmap-legend .dot.off { background: #d8dae8; }

/* Manifesto dos 50 anos */
.manifesto { margin-top: 8px; }
.manifesto p { font-size: 26px; line-height: 1.5; color: var(--ink); font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em; }
.manifesto .manifesto-fecho { font-size: 19px; font-weight: 400; color: var(--ink-2); max-width: 640px; margin: 28px auto 0; line-height: 1.6; }
.manifesto .manifesto-lema { font-size: 34px; font-weight: 900; margin-top: 28px; background: var(--brand-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Números dos 50 anos */
.numeros-50 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg-soft); }
.n50 { padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.n50-v { font-size: 46px; font-weight: 900; color: var(--brand); letter-spacing: -0.03em; line-height: 1; }
.n50-v em { font-style: normal; font-size: 24px; }
.n50-l { font-size: 13px; color: var(--ink-2); margin-top: 8px; line-height: 1.4; }
.n50-l span { color: var(--meta-2); }

/* Galeria de homenageados */
.hon-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.hon-card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: all 0.2s; }
.hon-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(64, 48, 214, 0.2); text-decoration: none; }
.hon-photo { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--brand-gradient); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.hon-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hon-ini { color: white; font-size: 44px; font-weight: 900; letter-spacing: -0.02em; }
.hon-badge { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,0.94); color: var(--brand); font-size: 10px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; }
.hon-nome { font-size: 17px; font-weight: 900; letter-spacing: -0.01em; }
.hon-cargo { font-size: 13px; color: var(--meta); line-height: 1.45; margin-top: 5px; flex: 1; }
.hon-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hon-tag { font-size: 10px; font-weight: 900; letter-spacing: 0.8px; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 4px 8px; border-radius: 4px; }
.hon-moeda { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 11px; color: var(--meta-2); }
.hon-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; color: var(--ink-2); letter-spacing: 0.3px; }
.hon-nota { margin-top: 28px; font-size: 14px; color: var(--meta); text-align: center; }

/* Biblioteca de boletins */
.bol-busca { margin-bottom: 32px; }
.bol-busca .form-input { max-width: 520px; }
.bol-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bol-anos { margin-top: 10px; }
.filtro { font-family: inherit; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: white; color: var(--ink-2); cursor: pointer; transition: all 0.15s; }
.filtro:hover { border-color: var(--brand); color: var(--brand); }
.filtro.ativo { background: var(--brand); border-color: var(--brand); color: white; }
.filtro i { font-style: normal; opacity: 0.55; margin-left: 4px; font-size: 12px; }
.bol-contagem { font-size: 13px; color: var(--meta); margin-top: 16px; }
.bol-lista { border-top: 1px solid var(--line); }
.bol-item { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 4px; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); transition: background 0.12s; }
.bol-item:hover { background: var(--bg-soft); text-decoration: none; }
.bol-tipo { font-size: 10px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; color: var(--brand); }
.bol-titulo { font-size: 16px; font-weight: 700; line-height: 1.4; }
.bol-data { font-size: 12px; color: var(--meta-2); }
.bol-vazio { text-align: center; color: var(--meta); padding: 40px 0; }
.boletim-texto h2 { font-size: 21px; margin-top: 36px; }
.boletim-texto p { font-size: 16px; line-height: 1.72; }
.boletim-rodape { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 760px) {
  .bol-item { grid-template-columns: 150px 1fr 96px; align-items: baseline; gap: 18px; }
  .bol-data { text-align: right; }
}

/* A página fala de moeda o tempo todo: a moeda precisa estar lá */
.hero-moeda { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero-moeda-arte { order: -1; }
.hero-moeda-arte img { width: 100%; max-width: 260px; margin: 0 auto; filter: drop-shadow(0 26px 60px rgba(0,0,0,.55)); }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
@media (min-width: 900px) {
  .hero-moeda { grid-template-columns: 1.25fr .75fr; gap: 60px; }
  .hero-moeda-arte { order: 0; }
  .hero-moeda-arte img { max-width: 380px; }
}

/* Estágio de cada projeto, sempre baseado no que a coleta comprova */
.pl-selo { font-size: 10px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; padding: 4px 9px; border-radius: 5px; }
.pl-audiencia { color: #B45309; background: #FEF3C7; }
.pl-recente { color: #15803D; background: #DCFCE7; }
/* Pronta para votar é o estágio mais urgente: vermelho. Aguardando
   parecer ainda dá tempo de influenciar: azul. */
.pl-pauta { color: #B91C1C; background: #FEE2E2; }
.pl-parecer { color: #1D4ED8; background: #DBEAFE; }
.pl-parado { color: var(--meta); background: var(--line-2); }
.pl-destaque { border-color: rgba(180,83,9,.4); box-shadow: 0 12px 32px -18px rgba(180,83,9,.4); }
.pl-meta { font-size: 12px; color: var(--meta-2); margin-top: 12px; }

/* Chamada do canal no WhatsApp */
.canal-cta { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 24px 26px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(120deg, #F0FDF4 0%, var(--bg-soft) 60%); text-decoration: none; color: var(--ink); transition: all 0.2s; }
.canal-cta:hover { border-color: #25D366; box-shadow: 0 14px 34px -16px rgba(37, 211, 102, 0.4); text-decoration: none; }
.canal-icone { width: 54px; height: 54px; border-radius: 14px; background: #25D366; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.canal-icone svg { width: 30px; height: 30px; fill: none; stroke: white; stroke-width: 1.6; stroke-linejoin: round; }
.canal-rot { font-size: 11px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: #15803D; }
.canal-nome { font-size: 21px; font-weight: 900; letter-spacing: -0.01em; margin: 3px 0 6px; }
.canal-cta p { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.canal-btn { grid-column: 1 / -1; justify-self: start; margin-top: 4px; font-size: 14px; font-weight: 900; color: #15803D; }
@media (min-width: 860px) {
  .canal-cta { grid-template-columns: auto 1fr auto; gap: 22px; }
  .canal-btn { grid-column: auto; justify-self: end; margin-top: 0; white-space: nowrap; }
}

/* Assespro Radar */
.radar-numeros { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg-soft); }
.rn { padding: 26px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rn-v { font-size: 42px; font-weight: 900; color: var(--brand); letter-spacing: -0.03em; line-height: 1; }
.rn-l { font-size: 13px; color: var(--ink-2); margin-top: 8px; line-height: 1.35; }
.radar-nota { font-size: 14px; color: var(--meta); margin-top: 18px; line-height: 1.55; }

.pl-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.pl-card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; }
.pl-topo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.pl-num { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 5px 10px; border-radius: 6px; }
.pl-tema { font-size: 11px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; color: var(--meta); }
.pl-titulo { font-size: 19px; font-weight: 900; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 10px; }
.pl-ementa { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.pl-link { display: inline-block; font-size: 13px; font-weight: 700; margin-top: 12px; }

.termometro { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr; gap: 20px; }
.term-pergunta { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 10px; }
.term-ops { display: flex; gap: 8px; flex-wrap: wrap; }
.term-op { font-family: inherit; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: white; color: var(--ink-2); cursor: pointer; transition: all 0.15s; }
.term-op:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.term-op:disabled { opacity: 0.5; cursor: default; }
.term-op.escolhido { background: var(--brand); border-color: var(--brand); color: white; opacity: 1; }
.term-res { margin-top: 12px; }
.term-linha { display: grid; grid-template-columns: 72px 1fr 40px; align-items: center; gap: 10px; font-size: 12px; color: var(--meta); margin-bottom: 6px; }
.term-barra { height: 6px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.term-barra i { display: block; height: 100%; background: var(--brand-gradient); }
.term-pct { text-align: right; font-weight: 700; color: var(--ink-2); }
.term-total { font-size: 11px; color: var(--meta-2); margin-top: 8px; }

.temas-lista { display: flex; flex-direction: column; gap: 10px; }
.tema-linha { display: grid; grid-template-columns: 160px 1fr 40px; align-items: center; gap: 14px; font-size: 14px; }
.tema-nome { color: var(--ink-2); font-weight: 700; }
.tema-barra { height: 10px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.tema-barra i { display: block; height: 100%; background: var(--brand-gradient); }
.tema-n { text-align: right; font-weight: 900; color: var(--brand); }

@media (min-width: 700px) {
  .radar-numeros { grid-template-columns: repeat(4, 1fr); }
  .rn { border-bottom: none; }
  .rn:last-child { border-right: none; }
  .termometro { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (min-width: 1000px) { .pl-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Tema da campanha 50 anos ────────────────────────────────────────
   Os 50 anos não são uma seção do site: são uma campanha com identidade
   própria, navy + dourado, que comunica medalha e cerimônia. Vale só nas
   páginas marcadas com .tema-50, o resto do site segue institucional. */
.tema-50 {
  --c-navy: #14093C;
  --c-navy-2: #1E1152;
  --c-gold: #D4AF37;
  --c-gold-soft: #F0DCA0;
  --c-gold-dark: #A8892E;
  background: var(--c-navy);
  color: #fff;
}
.tema-50 .hero-inner,
.tema-50 .section { background: transparent; }
.tema-50 .breadcrumb,
.tema-50 .breadcrumb a { color: rgba(255,255,255,.5); }
.tema-50 .breadcrumb span { color: var(--c-gold); }
.tema-50 h1, .tema-50 h2, .tema-50 .section-title { color: #fff; }
.tema-50 .lead, .tema-50 .section-sub { color: rgba(255,255,255,.68); }
.tema-50 .eyebrow { color: var(--c-gold); background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.28); }
.tema-50 h1 strong, .tema-50 .grad-ouro { color: var(--c-gold); -webkit-text-fill-color: var(--c-gold); }
/* O tema só pinta os botões do conteúdo: a nav continua institucional,
   senão o "Associe-se" do topo muda de cor de página pra página. */
.tema-50 :not(.nav):not(.nav-mobile) > * > .btn-primary,
.tema-50 .section .btn-primary, .tema-50 .hero-inner .btn-primary,
.tema-50 .ficha-acoes .btn-primary, .tema-50 .verif-form .btn-primary { background: var(--c-gold); color: var(--c-navy); }
.tema-50 .section .btn-primary:hover, .tema-50 .hero-inner .btn-primary:hover,
.tema-50 .ficha-acoes .btn-primary:hover, .tema-50 .verif-form .btn-primary:hover { background: var(--c-gold-soft); color: var(--c-navy); }
.tema-50 .section .btn-secondary, .tema-50 .hero-inner .btn-secondary,
.tema-50 .ficha-acoes .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.tema-50 .section .btn-secondary:hover, .tema-50 .hero-inner .btn-secondary:hover,
.tema-50 .ficha-acoes .btn-secondary:hover { background: rgba(255,255,255,.08); }
.tema-50 .nav .btn-primary { background: var(--brand); color: #fff; }
.tema-50 .footer { background: #05030F; }
.tema-50 .fundo-moedas {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(212,175,55,.16), transparent 46%),
    radial-gradient(ellipse at 20% 80%, rgba(64,48,214,.30), transparent 55%);
}
.tema-50 .container, .tema-50 .container-narrow { position: relative; z-index: 1; }

/* Ficha do homenageado */
.ficha-topo { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.hon-photo.ficha-foto { width: 200px; aspect-ratio: 1 / 1; margin-bottom: 0; flex-shrink: 0; }
.ficha-topo h1 { font-size: 40px; line-height: 1.1; margin-bottom: 10px; }
.ficha-topo .lead { font-size: 18px; margin-bottom: 16px; }
.ficha-moeda { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 13px; color: var(--meta); }
.ficha-contrib { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin-bottom: 8px; }
.ficha-h2 { font-size: 24px; font-weight: 900; letter-spacing: -0.01em; margin: 44px 0 18px; }
.ficha-citacao { border-left: 4px solid var(--brand-2); background: var(--brand-softer); border-radius: 0 12px 12px 0; padding: 22px 26px; margin: 32px 0 8px; }
.ficha-citacao p { font-size: 20px; font-style: italic; color: var(--ink); line-height: 1.55; margin-bottom: 12px; }
.ficha-citacao cite { font-style: normal; font-size: 13px; color: var(--meta); }
.tj-lista { border-left: 2px solid var(--line); padding-left: 22px; }
.tj { position: relative; padding-bottom: 22px; }
.tj::before { content: ''; position: absolute; left: -28px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-gradient); }
.tj-ano { font-size: 12px; font-weight: 900; letter-spacing: 1.5px; color: var(--brand); text-transform: uppercase; }
.tj-txt { font-size: 16px; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
.ficha-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* Ficha no tema da campanha: a foto vira retrato com o selo da moeda por cima */
.tema-50 .ficha-topo { gap: 48px; align-items: center; }
.tema-50 .ficha-retrato { position: relative; width: 100%; max-width: 340px; }
.tema-50 .ficha-retrato img.foto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 20px; box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.tema-50 .ficha-selo { position: absolute; right: -22px; bottom: -22px; width: 132px; filter: drop-shadow(0 12px 26px rgba(0,0,0,.6)); }
.tema-50 .ficha-topo h1 { font-size: 54px; line-height: 1.03; }
.tema-50 .ficha-cargo { font-size: 20px; color: rgba(255,255,255,.72); margin-top: 10px; }
.tema-50 .selo-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: var(--c-gold); background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.3); padding: 8px 14px; border-radius: 999px; margin-bottom: 18px; }

/* Bloco de autenticidade: é o que transforma a página em prova */
.moeda-box { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 26px 28px; margin-top: 28px; }
.moeda-verif { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; color: #4ADE80; }
.moeda-verif .ponto { width: 10px; height: 10px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 12px rgba(74,222,128,.8); }
.moeda-concedida { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 16px; }
.moeda-concedida strong { color: var(--c-gold); font-weight: 900; }
.moeda-dados { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.moeda-rot { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255,255,255,.45); }
.moeda-val { font-size: 22px; font-weight: 900; color: var(--c-gold); margin-top: 5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .5px; }
.moeda-val.texto { font-family: 'Lato', sans-serif; color: #fff; }
.tema-50 .hon-tags { margin-top: 20px; }
.tema-50 .hon-tag { color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.ficha-acoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.tema-50 .ficha-citacao { background: rgba(212,175,55,.07); border-left-color: var(--c-gold); }
.tema-50 .ficha-citacao p { color: #fff; }
.tema-50 .ficha-citacao cite, .tema-50 .ficha-contrib { color: rgba(255,255,255,.66); }
.tema-50 .ficha-h2 { color: var(--c-gold); }
.tema-50 .prose p { color: rgba(255,255,255,.74); }
.tema-50 .tj-lista { border-left-color: rgba(255,255,255,.14); }
.tema-50 .tj-ano { color: var(--c-gold); }
.tema-50 .tj-txt { color: rgba(255,255,255,.74); }
.tema-50 .tj::before { background: var(--c-gold); }

/* Galeria no tema da campanha */
.tema-50 .hon-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: #fff; }
.tema-50 .hon-card:hover { border-color: var(--c-gold); box-shadow: 0 16px 40px -16px rgba(212,175,55,.35); }
.tema-50 .hon-nome { color: #fff; }
.tema-50 .hon-cargo { color: rgba(255,255,255,.55); }
.tema-50 .hon-id { color: var(--c-gold); }
.tema-50 .hon-moeda { border-top-color: rgba(255,255,255,.1); color: rgba(255,255,255,.4); }
.tema-50 .hon-badge { background: var(--c-gold); color: var(--c-navy); }
.tema-50 .manifesto p { color: #fff; }
.tema-50 .manifesto .manifesto-fecho { color: rgba(255,255,255,.7); }
.tema-50 .manifesto .manifesto-lema { color: var(--c-gold); -webkit-text-fill-color: var(--c-gold); }
.tema-50 .numeros-50 { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.tema-50 .n50 { border-color: rgba(255,255,255,.1); }
.tema-50 .n50-v { color: var(--c-gold); }
.tema-50 .n50-l { color: rgba(255,255,255,.6); }
.tema-50 .n50-l span { color: rgba(255,255,255,.38); }
.tema-50 .hon-nota { color: rgba(255,255,255,.5); }
.tema-50 .form-label { color: rgba(255,255,255,.7); }
.tema-50 .form-input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.tema-50 .form-input:focus { border-color: var(--c-gold); }
.tema-50 .form-note { color: rgba(255,255,255,.45); }
.tema-50 .verif-box { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.tema-50 .verif-ok { background: rgba(74,222,128,.08); border-color: rgba(74,222,128,.3); }
.tema-50 .verif-ok .verif-selo { color: #4ADE80; }
.tema-50 .verif-nao { background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.3); }
.tema-50 .verif-nao .verif-selo { color: #F87171; }
.tema-50 .verif-nome { color: #fff; }
.tema-50 .verif-cargo, .tema-50 .verif-box p { color: rgba(255,255,255,.6); }

@media (min-width: 700px) { .moeda-dados { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .tema-50 .ficha-topo { grid-template-columns: 340px 1fr; } }

/* Verificação de moeda */
.verif-form { max-width: 460px; margin: 0 auto; }
.verif-box { max-width: 560px; margin: 32px auto 0; padding: 28px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-soft); text-align: center; }
.verif-ok { border-color: rgba(22, 163, 74, 0.35); background: #F0FDF4; }
.verif-nao { border-color: rgba(220, 38, 38, 0.3); background: #FEF2F2; }
.verif-selo { font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.verif-ok .verif-selo { color: #15803D; }
.verif-nao .verif-selo { color: #B91C1C; }
.verif-box p { font-size: 15px; color: var(--ink-2); margin-bottom: 18px; line-height: 1.55; }
.verif-pessoa { display: flex; align-items: center; gap: 20px; text-align: left; margin-bottom: 22px; }
.hon-photo.verif-foto { width: 92px; aspect-ratio: 1 / 1; margin-bottom: 0; flex-shrink: 0; }
.verif-nome { font-size: 21px; font-weight: 900; letter-spacing: -0.01em; }
.verif-cargo { font-size: 14px; color: var(--meta); margin-top: 3px; line-height: 1.4; }

@media (min-width: 800px) {
  .ficha-topo { grid-template-columns: 200px 1fr; gap: 40px; }
  .ficha-topo h1 { font-size: 52px; }
}

/* Eixos do reconhecimento */
.eixos-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.eixo { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; }
.eixo-n { font-size: 13px; font-weight: 900; letter-spacing: 3px; color: var(--brand-2); margin-bottom: 12px; }
.eixo-t { font-size: 21px; font-weight: 900; letter-spacing: -0.01em; margin-bottom: 10px; }
.eixo-d { font-size: 15px; color: var(--ink-2); line-height: 1.55; }

/* Etapas do circuito */
.etapas { display: grid; grid-template-columns: 1fr; gap: 16px; }
.etapa { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 28px; text-align: center; }
.etapa-n { font-size: 11px; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: var(--brand); }
.etapa-c { font-size: 34px; font-weight: 900; letter-spacing: -0.02em; margin: 8px 0 4px; }
.etapa-s { font-size: 14px; color: var(--meta); }

@media (min-width: 700px) {
  .hon-grid { grid-template-columns: repeat(2, 1fr); }
  .numeros-50 { grid-template-columns: repeat(4, 1fr); }
  .n50 { border-bottom: none; }
  .n50:last-child { border-right: none; }
}
@media (min-width: 1000px) {
  .hon-grid { grid-template-columns: repeat(4, 1fr); }
  .eixos-grid { grid-template-columns: repeat(3, 1fr); }
  .etapas { grid-template-columns: repeat(3, 1fr); }
}

/* Ícones SVG (substituem emoji) */
.pillar-icon svg, .svc-icon svg, .service-icon svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.pillar-icon svg { width: 26px; height: 26px; }
.svc-icon svg, .service-icon svg { width: 22px; height: 22px; }

/* Nav mobile */
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); cursor: pointer; flex-shrink: 0; transition: all 0.15s; }
.nav-toggle:hover { border-color: var(--brand); color: var(--brand); }
.nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close, .nav-toggle[data-nav-close] .icon-close { display: block; }

.nav-mobile { position: fixed; inset: 0; z-index: 100; background: white; display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; }
body.nav-open { overflow: hidden; }
body.nav-open .nav-mobile { opacity: 1; visibility: visible; transform: none; }
.nav-mobile-head { position: sticky; top: 0; background: white; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.nav-mobile-head img { height: 40px; width: auto; }
.nav-mobile-body { padding: 28px 24px 32px; flex: 1; }
.nav-mobile-group { margin-bottom: 32px; }
.nav-mobile-group:last-child { margin-bottom: 0; }
.nav-mobile-label { font-size: 11px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: var(--meta-2); margin-bottom: 8px; }
.nav-mobile a { display: block; font-size: 19px; font-weight: 700; color: var(--ink); padding: 11px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; }
.nav-mobile-group a:last-child { border-bottom: none; }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--brand); text-decoration: none; }
.nav-mobile-foot { padding: 20px 24px 32px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-mobile-foot .btn { flex: 1; }
.nav-mobile .nav-lang { display: flex; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-mobile { display: none; }
}

/* Convênios agrupados por categoria */
.conv-cat { margin-bottom: 64px; }
.conv-cat:last-child { margin-bottom: 0; }
.conv-cat-head { border-top: 1px solid var(--line); padding-top: 24px; margin-bottom: 24px; }
.conv-cat-title { font-size: 26px; font-weight: 900; color: var(--ink); margin: 4px 0 0; letter-spacing: -0.01em; }

/* Movimentação: a lista responde a "o que mudou", então o que mudou tem que
   ser a parte mais legível da linha. O que andou de estágio ganha barra. */
.mov-vazio { color: var(--meta); font-size: 15px; max-width: 62ch; line-height: 1.7; }
.mov-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mov-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 4px 16px;
  align-items: baseline; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; border-left: 3px solid var(--line-2); }
.mov-andou { border-left-color: #B91C1C; }
.mov-item > a { font-weight: 900; font-size: 13px; color: var(--brand); text-decoration: none; }
.mov-item > a:hover { text-decoration: underline; }
.mov-nome { font-size: 15px; color: var(--ink); font-weight: 700; }
.mov-oque { grid-column: 2; font-size: 14px; color: var(--meta-2); }
.mov-oque em { font-style: normal; color: var(--meta); }
.mov-oque strong { color: var(--ink); }
.mov-quando { grid-row: 1; grid-column: 3; font-size: 12px; color: var(--meta); white-space: nowrap; }
@media (max-width: 640px) {
  .mov-item { grid-template-columns: 1fr auto; }
  .mov-oque { grid-column: 1 / -1; }
}

/* Método: a página se diz viva, então precisa provar quando leu por último.
   O aviso sobre texto automático fica destacado de propósito. */
.metodo-caixa { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 34px 36px; }
.metodo-titulo { font-size: 22px; font-weight: 900; margin: 0 0 22px; letter-spacing: -.3px; }
.metodo-numeros { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 24px; }
.metodo-numeros b { display: block; font-size: 34px; font-weight: 900; color: var(--brand); line-height: 1.1; }
.metodo-numeros span { font-size: 13px; color: var(--meta); }
.metodo-caixa p { font-size: 15px; line-height: 1.75; color: var(--meta-2); max-width: 72ch; margin: 0 0 14px; }
.metodo-caixa a { color: var(--brand); }
.metodo-aviso { border-left: 3px solid var(--line-2); padding-left: 16px; font-size: 14px !important; }
.metodo-aviso strong { color: var(--ink); }
@media (max-width: 640px) { .metodo-caixa { padding: 24px 20px; } .metodo-numeros { gap: 24px; } }

/* Documento anunciado mas ainda sem arquivo. Continua listado, porque a
   existência dele é informação, mas deixa de fingir que abre. */
.doc-indisponivel { cursor: default; opacity: .72; }
.doc-indisponivel:hover { transform: none; box-shadow: none; border-color: var(--line); }
.doc-indisponivel .doc-arrow { color: var(--meta); }

/* Cartão de pessoa sem retrato. Sem a foto o card fica curto demais e
   desengonçado na grade, então ganha respiro e o nome vira o peso visual. */
.person-card:not(:has(.person-photo)) { padding: 34px 22px; }
.person-card:not(:has(.person-photo)) .person-name { font-size: 19px; margin-top: 0; }
.person-card:not(:has(.person-photo)) .person-role { margin-top: 6px; }

/* Os depoimentos são reels verticais. Sem largura fluida o vídeo mantém o
   tamanho natural de 480px e estoura o card no celular. */
.testimonial-player { width: 100%; height: auto; aspect-ratio: 480/608; border-radius: 8px; margin-bottom: 16px; display: block; background: #1a1233; }
.testimonial-card figcaption { margin: 0; }

/* Lista de notícias: a capa entra como fundo para não pesar com <img> em
   trezentos itens, e some no celular, onde ela roubaria a linha do título. */
.not-lista { display: grid; gap: 10px; }
.not-item[hidden] { display: none; }
.not-item { display: grid; grid-template-columns: 108px 1fr; gap: 18px; align-items: center;
  padding: 12px 16px 12px 12px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; text-decoration: none; transition: border-color .16s, transform .16s; }
.not-item:hover { border-color: var(--brand); transform: translateX(2px); }
.not-capa { display: block; width: 108px; height: 68px; border-radius: 7px;
  background-size: cover; background-position: center; background-color: var(--line-2); }
.not-vazia { background: linear-gradient(135deg, var(--brand-softer), var(--line-2)); }
.not-corpo { display: grid; gap: 3px; min-width: 0; }
.not-cat { font-size: 11px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; color: var(--brand); }
.not-titulo { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.not-data { font-size: 12px; color: var(--meta); }
.mat-capa { margin: 0 0 28px; }
.mat-capa img { width: 100%; height: auto; border-radius: 10px; display: block; }
.materia-texto img { max-width: 100%; height: auto; border-radius: 8px; }
@media (max-width: 640px) {
  .not-item { grid-template-columns: 1fr; gap: 8px; }
  .not-capa { display: none; }
}

/* Lista das regionais ao lado do mapa. Ela ocupa o vazio que sobrava na
   coluna da direita e assume os rótulos que não cabiam dentro do desenho.
   O número fica alinhado à direita, para virar coluna quando os outros
   quatorze chegarem. */
.reg-lista { display: grid; gap: 1px; align-content: start; }
.reg-topo { display: flex; justify-content: space-between; align-items: baseline;
  font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
  color: var(--meta); padding: 0 8px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.reg-topo-n { font-weight: 700; letter-spacing: .6px; }
.reg-linha { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: baseline;
  padding: 5px 8px; border-radius: 6px; text-decoration: none; transition: background .14s; }
.reg-linha:hover { background: var(--brand-softer); }
.reg-uf { font-size: 11px; font-weight: 900; color: var(--brand); letter-spacing: .5px; }
.reg-nome { font-size: 14px; color: var(--ink-2); line-height: 1.3; }
.reg-linha:hover .reg-nome { color: var(--ink); }
.reg-num { text-align: right; white-space: nowrap; }
.reg-n { font-size: 15px; font-weight: 900; color: var(--ink); line-height: 1.4; }
.reg-lab { font-size: 10px; color: var(--meta); display: block; line-height: 1; margin-top: 1px; }
.reg-vazio { color: var(--line-2); font-size: 15px; }
.reg-todas { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700;
  color: var(--brand); text-decoration: none; }
.reg-todas:hover { text-decoration: underline; }
@media (max-width: 899px) {
  .reg-lista { margin-top: 28px; }
  .reg-linha { padding: 9px 8px; }
}

/* Dica do mapa. Fica fora do fluxo e acompanha o cursor por transform, que
   não força o navegador a recalcular a página a cada movimento. */
.mapa-dica { position: fixed; top: 0; left: 0; z-index: 60; pointer-events: none;
  display: grid; gap: 2px; max-width: 260px; padding: 10px 13px;
  background: var(--ink); color: #fff; border-radius: 9px;
  box-shadow: 0 12px 32px -12px rgba(0,0,0,.5); }
.mapa-dica[hidden] { display: none; }
.dica-uf { font-size: 11px; font-weight: 900; letter-spacing: 1.2px; color: #B9AEFF; }
.dica-nome { font-size: 14px; font-weight: 700; line-height: 1.35; }
.dica-n { font-size: 13px; color: rgba(255,255,255,.82); }
.dica-n b { font-size: 15px; color: #fff; }
.dica-sem { font-size: 12px; color: rgba(255,255,255,.55); }
.mapa-br .uf.on { cursor: pointer; }
.reg-nota { font-size: 11px; line-height: 1.55; color: var(--meta); margin: 14px 0 0; padding: 0 8px; }

/* Publicação que só anunciava um documento: a página existe para preservar
   o endereço e entregar o anexo, então o botão é o conteúdo. */
.doc-solto { padding: 30px 0 10px; }
.doc-peso { font-size: 12px; color: var(--meta); margin-top: 10px; }
.doc-ausente { color: var(--meta); font-size: 15px; }

/* Régua da tramitação. Cada bloco tem largura proporcional à quantidade,
   então o desenho já conta a história antes de alguém ler os números. */
.regua { display: flex; gap: 4px; align-items: stretch; min-height: 104px; }
.regua .et { display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 16px 14px; border-radius: 9px; background: var(--brand-softer);
  min-width: 0; transition: transform .16s; }
.regua .et:hover { transform: translateY(-2px); }
.et-n { font-size: 26px; font-weight: 900; color: var(--brand); line-height: 1; }
.et-nome { font-size: 12px; color: var(--meta-2); line-height: 1.3; }
/* Só a etapa que exige ação hoje é destacada. Se tudo chamasse atenção,
   nada chamaria. */
.regua .et-pauta { background: #FEE2E2; }
.regua .et-pauta .et-n { color: #B91C1C; }
.regua .et-pauta .et-nome { color: #7F1D1D; font-weight: 700; }
.regua .et-fim { background: var(--line-2); }
.regua .et-fim .et-n { color: var(--meta); }
.regua-nota { font-size: 13px; color: var(--meta); margin-top: 16px; line-height: 1.6; max-width: 76ch; }
.regua-nota strong { color: var(--ink); }
@media (max-width: 760px) {
  .regua { flex-direction: column; min-height: 0; }
  .regua .et { flex: none !important; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 12px; padding: 12px 14px; }
  .et-n { min-width: 34px; }
  .et-n { font-size: 20px; }
}

/* Funil de monitoramento: trilha vertical de círculos à esquerda, listas à
   direita. A área do círculo é proporcional à quantidade, não o diâmetro:
   dobrar o diâmetro quadruplica a mancha e exageraria a diferença. */
.fn-arranjo { display: grid; gap: 34px; }
@media (min-width: 940px) { .fn-arranjo { grid-template-columns: 340px 1fr; gap: 44px; align-items: start; } }

.fn-trilha { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; }
.fn-passo { display: grid; grid-template-columns: 160px 1fr; align-items: center; gap: 18px; width: 100%; }
.fn-bola { justify-self: center; display: grid; place-content: center; text-align: center; border-radius: 50%;
  background: var(--brand-softer); border: 3px solid var(--brand); }
.fn-bola b { display: block; font-size: 30px; font-weight: 900; color: var(--brand); line-height: 1; }
.fn-bola i { display: block; font-size: 11px; font-style: normal; color: var(--meta); margin-top: 3px; }
.fn-elo { width: 3px; height: 26px; background: var(--line-2); margin: 5px 0; align-self: start; margin-left: 80px; }
.fn-texto { display: grid; gap: 4px; min-width: 0; }
.fn-texto .fn-titulo { font-size: 15px; font-weight: 900; color: var(--ink); line-height: 1.25; }
.fn-texto .fn-porque { font-size: 12px; color: var(--meta); line-height: 1.5; }

.fn-alta .fn-bola { background: #FEE2E2; border-color: #B91C1C; }
.fn-alta .fn-bola b { color: #B91C1C; }
.fn-baixa .fn-bola { background: #FEF3C7; border-color: #B45309; }
.fn-baixa .fn-bola b { color: #B45309; }

.fn-cols { display: grid; gap: 14px; }
@media (min-width: 640px) { .fn-cols { grid-template-columns: repeat(3, 1fr); } }
.fn-col { background: var(--bg); border: 1px solid var(--line); border-radius: 11px;
  padding: 18px; border-top: 4px solid var(--brand); display: flex; flex-direction: column; }
.fn-col.fn-alta { border-top-color: #B91C1C; }
.fn-col.fn-baixa { border-top-color: #B45309; }
.fn-col-tit { font-size: 13px; font-weight: 900; margin: 0 0 12px; line-height: 1.3; color: var(--ink); }
.fn-lista { display: grid; gap: 1px; flex: 1; }
.fn-item { display: grid; gap: 1px; padding: 7px 8px; border-radius: 6px; text-decoration: none; transition: background .14s; }
.fn-item:hover { background: var(--brand-softer); }
.fn-pl { font-size: 10.5px; font-weight: 900; color: var(--brand); letter-spacing: .4px; }
.fn-tit { font-size: 12.5px; color: var(--ink-2); line-height: 1.35; }
.fn-mais { font-size: 11.5px; color: var(--meta); margin: 9px 0 0; padding: 0 8px; }
.fn-acao { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 12.5px; font-weight: 700; color: var(--brand); text-decoration: none; }
.fn-acao:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .fn-passo { grid-template-columns: 120px 1fr; gap: 14px; }
  .fn-elo { margin-left: 60px; }
}

/* Chamada do Radar na home. O número que exige ação hoje vem destacado,
   porque é ele que faz alguém clicar. */
.rd-caixa { display: grid; gap: 30px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 14px; padding: 34px; }
@media (min-width: 900px) { .rd-caixa { grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; } }
.rd-titulo { font-size: 30px; font-weight: 900; letter-spacing: -.02em; line-height: 1.15;
  margin: 14px 0 12px; color: var(--ink); }
.rd-sub { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin: 0 0 20px; max-width: 58ch; }
.rd-alerta { display: inline-block; background: #FEE2E2; color: #7F1D1D; font-size: 14px;
  padding: 10px 16px; border-radius: 8px; margin-bottom: 20px; }
.rd-alerta b { font-size: 20px; font-weight: 900; color: #B91C1C; margin-right: 4px; }
.rd-dir { display: grid; gap: 16px; }
.rd-num b { display: block; font-size: 32px; font-weight: 900; color: var(--brand); line-height: 1; }
.rd-num span { font-size: 12px; color: var(--meta); }
.rd-urg b { color: #B91C1C; }
.rd-quando { font-size: 11px; color: var(--meta); margin: 4px 0 0; }

/* Voto compacto dentro do funil. Uma pergunta e três botões pequenos, para
   caber embaixo de cada projeto sem dobrar a altura da coluna. */
.fn-item { display: grid; gap: 6px; padding: 9px 8px; border-radius: 6px; transition: background .14s; }
.fn-item:hover { background: var(--brand-softer); }
.fn-abre { display: grid; gap: 1px; text-decoration: none; }
.term-mini { display: grid; gap: 4px; }
.tm-q { font-size: 10.5px; color: var(--meta); }
.tm-ops { display: flex; gap: 4px; }
.tm-op { font: inherit; font-size: 11px; font-weight: 700; padding: 3px 9px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--meta-2);
  border-radius: 20px; transition: all .14s; }
.tm-op:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.tm-op:disabled { cursor: default; opacity: .5; }
.tm-op.escolhido { background: var(--brand); border-color: var(--brand); color: #fff; opacity: 1; }
.tm-res { font-size: 10.5px; color: var(--brand); font-weight: 700; }

/* Projetos em fonte única: um bloco por etapa, cada projeto com análise,
   situação, voto e link. Antes eram duas seções sobre os mesmos projetos
   com critérios diferentes e nenhuma sobreposição. */
.pj-grupo { margin-bottom: 40px; }
.pj-cab { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px;
  padding-left: 16px; border-left: 4px solid var(--line-2); }
.pj-alta .pj-cab { border-left-color: #B91C1C; }
.pj-media .pj-cab { border-left-color: var(--brand); }
.pj-baixa .pj-cab { border-left-color: #B45309; }
.pj-curado .pj-cab { border-left-color: var(--ink); }
.pj-n { font-size: 32px; font-weight: 900; line-height: 1; color: var(--brand); }
.pj-alta .pj-n { color: #B91C1C; }
.pj-baixa .pj-n { color: #B45309; }
.pj-curado .pj-n { color: var(--ink); }
.pj-gt { font-size: 18px; font-weight: 900; margin: 0 0 4px; color: var(--ink); }
.pj-gp { font-size: 13px; color: var(--meta); margin: 0; line-height: 1.5; }
.pj-lista { display: grid; gap: 14px; }
@media (min-width: 760px) { .pj-lista { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .pj-lista { grid-template-columns: repeat(3, 1fr); } }
.pj { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line);
  border-radius: 11px; padding: 18px; }
.pj-topo { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.pj-pl { font-size: 11px; font-weight: 900; color: var(--brand); letter-spacing: .5px;
  background: var(--brand-softer); padding: 3px 8px; border-radius: 5px; }
.pj-selo { font-size: 9.5px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; color: var(--meta); }
.pj-tit { font-size: 15px; font-weight: 900; margin: 0 0 8px; line-height: 1.3; color: var(--ink); }
.pj-analise { font-size: 13px; line-height: 1.6; color: var(--ink-2); margin: 0 0 10px; }
.pj-onde { font-size: 11.5px; color: var(--meta); margin: 0 0 12px; }
.pj .term-mini { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.pj-link { font-size: 12px; font-weight: 700; color: var(--brand); text-decoration: none; margin-top: 10px; }
.pj-link:hover { text-decoration: underline; }
.pj-mais { font-size: 12.5px; color: var(--meta); margin: 14px 0 0; }

/* Consulta às associadas. Um projeto por bloco, três respostas, sem placar
   à vista: quem responde não deve ser influenciado por quem respondeu antes. */
.cs-lista { display: grid; gap: 14px; }
.cs-item { background: var(--bg); border: 1px solid var(--line); border-radius: 11px; padding: 20px; }
.cs-cab { margin-bottom: 8px; }
.cs-pl { font-size: 11px; font-weight: 900; color: var(--brand); letter-spacing: .5px;
  background: var(--brand-softer); padding: 3px 8px; border-radius: 5px; }
.cs-tit { font-size: 17px; font-weight: 900; margin: 0 0 8px; line-height: 1.3; color: var(--ink); }
.cs-analise { font-size: 14px; line-height: 1.65; color: var(--ink-2); margin: 0 0 14px; }
.cs-ops { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-op { font: inherit; font-size: 13px; font-weight: 700; padding: 8px 16px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--meta-2);
  border-radius: 22px; transition: all .14s; }
.cs-op:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.cs-op:disabled { cursor: default; opacity: .45; }
.cs-op.escolhido { background: var(--brand); border-color: var(--brand); color: #fff; opacity: 1; }
.cs-ok { font-size: 12px; font-weight: 700; color: var(--brand); margin: 10px 0 0; }
.cs-contagem { font-size: 14px; font-weight: 700; color: var(--brand); margin: 20px 0 0; }
.cs-rodape { font-size: 12px; color: var(--meta); line-height: 1.6; margin-top: 26px;
  padding-top: 16px; border-top: 1px solid var(--line); }

/* Trilha de círculos que abre o bloco de projetos. Cada círculo leva para a
   lista da sua etapa. Área proporcional à quantidade, não diâmetro. */
.tr-trilha { list-style: none; margin: 0 0 44px; padding: 0; display: flex;
  flex-direction: column; align-items: center; }
.tr-passo { display: grid; grid-template-columns: 150px 1fr; align-items: center;
  gap: 18px; width: 100%; max-width: 620px; }
.tr-bola { justify-self: center; display: grid; place-content: center; text-align: center;
  border-radius: 50%; background: var(--brand-softer); border: 3px solid var(--brand);
  text-decoration: none; transition: transform .16s; }
.tr-bola:hover { transform: scale(1.05); }
.tr-bola b { display: block; font-size: 27px; font-weight: 900; color: var(--brand); line-height: 1; }
.tr-bola i { display: block; font-size: 10.5px; font-style: normal; color: var(--meta); margin-top: 3px; }
/* O fio herda a mesma grade do passo. Sem isso ele se posiciona em relação
   à página inteira e vai parar na borda esquerda, longe dos círculos. */
.tr-elo { display: grid; grid-template-columns: 150px 1fr; width: 100%; max-width: 620px; }
.tr-elo::before { content: ''; justify-self: center; width: 3px; height: 24px; background: var(--line-2); }
.tr-texto { display: grid; gap: 4px; min-width: 0; }
.tr-titulo { font-size: 15px; font-weight: 900; color: var(--ink); line-height: 1.25; }
.tr-porque { font-size: 12px; color: var(--meta); line-height: 1.5; }
.tr-alta .tr-bola { background: #FEE2E2; border-color: #B91C1C; }
.tr-alta .tr-bola b { color: #B91C1C; }
.tr-baixa .tr-bola { background: #FEF3C7; border-color: #B45309; }
.tr-baixa .tr-bola b { color: #B45309; }
.tr-curado .tr-bola { background: var(--line-2); border-color: var(--ink); }
.tr-curado .tr-bola b { color: var(--ink); }
@media (min-width: 940px) {
  .tr-trilha { max-width: 100%; }
  .tr-passo, .tr-elo { max-width: 700px; }
}
@media (max-width: 520px) {
  .tr-passo, .tr-elo { grid-template-columns: 116px 1fr; gap: 14px; }
}

/* Seletor de idioma, montado pelo site.js. Só aparece nas 13 páginas do
   núcleo institucional, que são as que existem nos três idiomas. */
.idiomas { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.idiomas a {
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--ink-3, #6b7280); text-decoration: none;
  padding: 4px 7px; border-radius: 6px; line-height: 1;
  transition: color 0.15s, background 0.15s;
}
.idiomas a:hover { color: var(--brand); background: rgba(64, 48, 214, 0.07); text-decoration: none; }
.idiomas a.ativo { color: var(--brand); background: rgba(64, 48, 214, 0.1); }
.idiomas-mobile { justify-content: flex-end; }
.idiomas-mobile a { font-size: 14px; padding: 8px 12px; }

/* Nas versões traduzidas, os itens de menu que levam a páginas que seguem em
   português são marcados no build. O selo avisa antes do clique. */
.nav-drop a[hreflang="pt-BR"]::after,
.nav-mobile-group a[hreflang="pt-BR"]::after,
.nav-links > a[hreflang="pt-BR"]::after {
  content: ' PT'; font-size: 9px; font-weight: 700; letter-spacing: 0.06em;
  vertical-align: super; opacity: 0.55; margin-left: 3px;
}

@media (max-width: 900px) {
  .nav-actions .idiomas { display: none; }
}

/* Aviso de idioma para quem chega com o navegador em outra língua. Aparece
   uma vez e some ao ser fechado; quem lê português nunca vê. É position:fixed
   porque entrar empurrando o conteúdo seria pior que o problema que resolve. */
.aviso-idioma {
  position: fixed; z-index: 60;
  left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 16px;
  background: #fff; border: 1px solid var(--line, #e5e7eb); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 12, 40, 0.16);
  font-size: 14px; line-height: 1.4;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.aviso-idioma.visivel { opacity: 1; transform: none; }
.aviso-idioma-texto { flex: 1 1 auto; color: var(--ink-2, #374151); }
.aviso-idioma-acao {
  flex: 0 0 auto; font-weight: 700; color: var(--brand, #4030D6);
  text-decoration: none; white-space: nowrap;
}
.aviso-idioma-acao:hover { text-decoration: underline; }
.aviso-idioma-fechar {
  flex: 0 0 auto; width: 28px; height: 28px; padding: 0;
  border: none; border-radius: 6px; background: transparent; cursor: pointer;
  font-size: 20px; line-height: 1; color: var(--ink-3, #6b7280);
}
.aviso-idioma-fechar:hover { background: rgba(15, 12, 40, 0.06); color: var(--ink-2, #374151); }

@media (min-width: 640px) {
  .aviso-idioma { left: auto; right: 24px; bottom: 24px; max-width: 420px; }
}

/* O seletor no topo do painel do celular ganha uma linha só para ele. */
.nav-mobile-body > .idiomas-mobile {
  justify-content: flex-start;
  padding: 4px 0 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line, #e5e7eb);
}

/* O logo nunca deve ser espremido. Havia um `img { max-width: 100% }` global
   e o logo é item flexível: quando faltava espaço no cabeçalho, a largura
   cedia e a altura ficava presa em 44px, distorcendo a marca. Em 375px isso
   dava 24% de distorção em português e 53% em inglês, onde o rótulo do botão
   é mais longo. Medido em 04/08/2026. */
.nav-brand { flex-shrink: 0; }
.nav-brand img { flex-shrink: 0; max-width: none; object-fit: contain; }

/* Em tela estreita a folga vem de reduzir o logo e apertar respiros, nunca
   de deformar a marca. */
@media (max-width: 560px) {
  .nav-inner { gap: 12px; padding: 0 16px; }
  .nav-brand img { height: 36px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding: 10px 14px; font-size: 14px; }
}
@media (max-width: 400px) {
  .nav-brand img { height: 32px; }
  .nav-actions .btn { padding: 9px 11px; font-size: 13px; }
}

/* Alvo de toque do seletor de idioma: 24px é o mínimo da WCAG 2.2 AA. */
.idiomas a { min-height: 24px; display: inline-flex; align-items: center; }

/* O bloco de números dos 50 anos ficava cortado no celular. `1fr` tem largura
   mínima automática, então o número grande empurrava a coluna além da caixa e
   o `overflow: hidden` do cartão cortava a borda direita. `minmax(0, 1fr)`
   deixa a coluna encolher; a escala menor em tela estreita evita que o número
   volte a mandar na largura. */
.numeros-50 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) {
  .n50 { padding: 20px 14px; }
  .n50-v { font-size: 34px; }
  .n50-v em { font-size: 18px; }
  .n50-l { font-size: 12px; }
}

/* Botão com rótulo longo não pode empurrar a página. Acontece principalmente
   nas versões traduzidas, onde a mesma frase fica bem mais comprida: em
   espanhol "Asóciese a través de su entidad miembro" media 367px numa faixa
   de 327px e criava rolagem horizontal. */
.btn { max-width: 100%; white-space: normal; text-align: center; }
@media (max-width: 560px) {
  .btn-lg { padding: 12px 20px; font-size: 15px; }
}

/* A área de texto ficava branca no meio de campos escuros: o tema tratava
   .form-input e esquecia .form-textarea. */
.tema-50 .form-textarea { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.tema-50 .form-textarea:focus { border-color: var(--c-gold); }
.tema-50 .form-textarea::placeholder { color: rgba(255,255,255,.35); }

/* Ficha para revisão (/ficha/<token>): link privado, fora do menu.
   Prefixo revisao- porque ficha- já é a ficha pública do homenageado. */
.revisao-passo { font-size: 19px; font-weight: 900; margin: 40px 0 6px; }
#form-ficha > .revisao-passo:first-of-type { margin-top: 0; }
/* Esta página explica muito mais que as outras, e o cinza padrão das notas
   fica ilegível quando o texto deixa de ser uma linha solta. */
.revisao-ajuda { margin-top: 0; margin-bottom: 16px; }
.tema-50 .revisao-ajuda { color: rgba(255,255,255,.62); }
.revisao-foto-alvo { width: 100%; padding: 36px 20px; border: 2px dashed var(--line); border-radius: 12px;
  background: var(--bg-soft); color: var(--meta); font-family: inherit; font-size: 15px; font-weight: 700;
  cursor: pointer; display: block; transition: border-color 0.15s, color 0.15s; }
.revisao-foto-alvo:hover { border-color: var(--brand); color: var(--brand); }
.revisao-foto-alvo span { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; }
.tema-50 .revisao-foto-alvo { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.62); }
.tema-50 .revisao-foto-alvo:hover { border-color: var(--c-gold); color: var(--c-gold); }
/* display:flex venceria o atributo hidden e a moldura vazia aparecia antes
   de existir foto. */
.revisao-foto { display: flex; align-items: center; gap: 18px; }
.revisao-foto[hidden] { display: none; }
.revisao-foto img { width: 128px; height: 128px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.revisao-foto-nome { font-size: 15px; font-weight: 700; margin-bottom: 8px; word-break: break-word; }
.tema-50 .revisao-foto-nome { color: #fff; }
.revisao-trocar { background: none; border: none; padding: 0; font-family: inherit; font-size: 14px;
  font-weight: 700; color: var(--brand); text-decoration: underline; cursor: pointer; }
.tema-50 .revisao-trocar { color: var(--c-gold); }
.revisao-linha { list-style: none; margin: 0 0 24px; }
.revisao-linha li { display: flex; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.revisao-linha li:first-child { border-top: none; }
.revisao-linha b { flex: 0 0 52px; font-size: 15px; color: var(--brand); }
.tema-50 .revisao-linha li { border-top-color: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.tema-50 .revisao-linha b { color: var(--c-gold); }

/* Painel de administração (/admin) — ferramenta interna, fora do menu.
   Densidade maior que o resto do site: aqui se opera, não se lê. */
.adm-topo { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.adm-topo .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.adm-topo img { height: 30px; width: auto; }
.adm-abas { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.adm-aba { background: none; border: none; border-bottom: 2px solid transparent; padding: 12px 16px; font-family: inherit;
  font-size: 15px; font-weight: 700; color: var(--meta); cursor: pointer; }
.adm-aba.ativa { color: var(--brand); border-bottom-color: var(--brand); }
.adm-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: start;
  padding: 14px 0; border-top: 1px solid var(--line-2); }
.adm-item:first-child { border-top: none; }
.adm-num { font-size: 13px; font-weight: 700; color: var(--meta-2); padding-top: 2px; }
.adm-nome { font-size: 16px; font-weight: 700; }
.adm-sub { font-size: 13px; color: var(--meta); margin-top: 2px; }
.adm-acoes { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.adm-btn { background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px;
  font-family: inherit; font-size: 13px; font-weight: 700; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.adm-btn:hover { border-color: var(--brand); color: var(--brand); }
.adm-btn.perigo:hover { border-color: #B22234; color: #B22234; }
.adm-selo { display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.adm-selo.no-ar { background: rgba(26,135,84,.12); color: #157347; }
.adm-selo.fora { background: rgba(178,34,52,.1); color: #B22234; }
.adm-selo.espera { background: rgba(160,124,0,.12); color: #8A6A00; }
.adm-edicao { grid-column: 1 / -1; padding: 16px; margin-top: 10px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 12px; }
.adm-aviso { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; }
.adm-aviso.erro { background: rgba(178,34,52,.07); border: 1px solid rgba(178,34,52,.2); color: #B22234; }
.adm-aviso.ok { background: rgba(26,135,84,.08); border: 1px solid rgba(26,135,84,.2); color: #157347; }
.adm-link { font-size: 12px; color: var(--meta); word-break: break-all; }
@media (max-width: 640px) {
  .adm-item { grid-template-columns: 40px 1fr; }
  .adm-acoes { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ─────────────────────────────────────────────────────────────
   ASSESPRO-BA · o que este site acrescenta ao sistema herdado.
   Tudo daqui para baixo é da regional. O que veio da Confederação
   fica intocado acima, para dar para atualizar o sistema sem
   pisar no que é da Bahia.
   ───────────────────────────────────────────────────────────── */

.rn-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.rn-grid .rn { padding: 26px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rn-grid .rn:nth-child(2n) { border-right: none; }
.rn-grid .rn:nth-last-child(-n+2) { border-bottom: none; }
@media (min-width: 860px) {
  .rn-grid { grid-template-columns: repeat(4, 1fr); }
  .rn-grid .rn { border-bottom: none; }
  .rn-grid .rn:nth-child(2n) { border-right: 1px solid var(--line); }
  .rn-grid .rn:last-child { border-right: none; }
}

.section-soft { background: var(--bg-soft); }
.hero-curto { padding-bottom: 28px; }

.info-grid-3 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 700px) { .info-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .info-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.info-grid-3 .info-card p { font-size: 14.5px; color: var(--meta); margin-top: 8px; line-height: 1.55; }

/* Chamada do Radar. O quadro é da Confederação, então ele se distingue do
   resto da página de propósito: quem lê precisa perceber que está sendo
   levado para fora. */
.radar-chamada { border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 14px;
  padding: 32px 28px; background: var(--brand-softer); }
.radar-chamada .section-title { margin-bottom: 10px; }
.radar-chamada .section-sub { margin-bottom: 22px; }
.radar-numeros { display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 14px; }
.radar-numeros b { display: block; font-size: 30px; font-weight: 900; color: var(--brand); line-height: 1.1; }
.radar-numeros span { font-size: 13px; color: var(--meta); }

.filtros { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 22px; }
@media (min-width: 800px) { .filtros { grid-template-columns: 2fr 1fr 1fr; align-items: end; } }
.filtros .form-group { margin-bottom: 0; }

/* Card de associada: sem foto, então o peso está no nome. */
.emp-card { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, transform .15s; }
.emp-card:hover { border-color: var(--brand); transform: translateY(-2px); text-decoration: none; }
.emp-nome { font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.emp-meta { font-size: 13px; color: var(--meta); margin-top: 6px; }
.emp-seg { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; margin-top: 12px; }
.emp-site { font-size: 13px; color: var(--brand); margin-top: 10px; word-break: break-all; }

.nota-lista { margin-top: 44px; padding: 22px; background: var(--bg-soft); border-radius: 12px; }
.nota-lista p { font-size: 14px; color: var(--meta); line-height: 1.6; }
.nota-lista p + p { margin-top: 10px; }

.cta { background: var(--brand-gradient); padding: 64px 0; text-align: center; }
.cta h2 { color: #fff; font-size: 26px; margin-bottom: 24px; }
.cta .btn-primary { background: #fff; color: var(--brand); }
.cta .btn-primary:hover { background: rgba(255,255,255,.9); }
@media (min-width: 800px) { .cta h2 { font-size: 32px; } }

/* Pessoas: diretoria, conselho e subsecção. */
.pessoas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
@media (min-width: 700px) { .pessoas-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .pessoas-grid { grid-template-columns: repeat(4, 1fr); } }
.pessoa { text-align: center; }
.pessoa-foto { width: 100%; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden;
  background: var(--brand-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.pessoa-foto img { width: 100%; height: 100%; object-fit: cover; }
.pessoa-ini { font-size: 30px; font-weight: 900; color: var(--brand); }
.pessoa-nome { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.pessoa-cargo { font-size: 13px; color: var(--meta); margin-top: 4px; line-height: 1.45; }
/* O presidente ocupa a linha inteira e vem maior: a hierarquia é informação. */
.pessoa-destaque { grid-column: 1 / -1; }
.pessoa-destaque .pessoa-foto { width: 190px; height: 190px; margin: 0 auto 12px; }
.pessoa-destaque .pessoa-nome { font-size: 18px; }

.texto-corrido p { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.texto-corrido p + p { margin-top: 16px; }

.info-card-link { display: block; }
.info-card-link:hover { border-color: var(--brand); text-decoration: none; }

/* Logo da associada. Só 8 das 79 têm: o cadastro da ASSESPRO-BA nunca foi
   preenchido, e na página deles isso aparece como um aviso vermelho de erro.
   Aqui, quem não tem logo mostra a inicial, que é discreto e não parece
   defeito. */
.emp-logo { height: 46px; display: flex; align-items: center; margin-bottom: 12px; }
.emp-logo img { max-height: 46px; max-width: 140px; object-fit: contain; }
.emp-ini { width: 46px; height: 46px; border-radius: 10px; background: var(--brand-soft); color: var(--brand);
  font-weight: 900; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.emp-tel { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.emp-tel a { color: var(--ink-2); }

/* Prêmio Por TI Bahia */
.vencedor { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); }
.vencedor:first-child { border-top: none; }
@media (min-width: 800px) { .vencedor { grid-template-columns: 280px 1fr auto; gap: 20px; align-items: baseline; } }
.vencedor-cat { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .6px; color: var(--brand); }
.vencedor-nome { font-size: 17px; font-weight: 700; color: var(--ink); }
.vencedor-det { font-size: 13.5px; color: var(--meta); }
.vencedor-votos { font-size: 13px; color: var(--meta-2); white-space: nowrap; }

.galeria-fotos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .galeria-fotos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .galeria-fotos { grid-template-columns: repeat(4, 1fr); } }
.foto { margin: 0; border-radius: 12px; overflow: hidden; background: var(--bg-card); }
.foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.foto figcaption { font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 10px 12px; text-align: center; }

.lista-simples { display: flex; flex-wrap: wrap; gap: 10px; }
.lista-simples span { font-size: 14px; font-weight: 700; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }

/* Galeria dos Presidentes */
.gestao { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.gestao:first-child { border-top: none; }
@media (min-width: 800px) { .gestao { grid-template-columns: 140px 1fr; gap: 28px; } }
.gestao-foto { width: 100%; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; }
.gestao-foto img { width: 100%; height: 100%; object-fit: cover; }
.gestao-periodo { font-size: 12px; font-weight: 900; letter-spacing: 1px; color: var(--brand); }
.gestao-nome { font-size: 19px; font-weight: 700; color: var(--ink); margin: 2px 0 10px; }
.gestao-equipe { list-style: none; margin: 0; }
.gestao-equipe li { font-size: 13.5px; color: var(--meta); line-height: 1.6; }
.gestao-equipe strong { color: var(--ink-2); font-weight: 700; }

/* Notícias */
.ano { font-size: 13px; font-weight: 900; letter-spacing: 2px; color: var(--meta-2); margin: 36px 0 4px; }
.ano:first-child { margin-top: 0; }
.noticia { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.noticia:hover { text-decoration: none; }
.noticia:hover .noticia-titulo { color: var(--brand); }
@media (min-width: 760px) { .noticia { grid-template-columns: 170px 1fr; gap: 24px; } }
.noticia-data { font-size: 13px; color: var(--meta-2); }
.noticia-titulo { font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.noticia-resumo { font-size: 14px; color: var(--meta); margin-top: 5px; line-height: 1.55; }
