/* ============================================================
   SindiSistema — Páginas públicas dinâmicas
   Listagens, publicação interna, downloads e contato
   ============================================================ */

/* ══ HERO INTERNO PADRÃO — usado em páginas dinâmicas e estáticas ══ */
.page-hero-public {
  --hero-bg: url('../img/hero01.png');
  background-image:
    linear-gradient(135deg, rgba(8,8,8,.82) 0%, rgba(31,7,7,.84) 58%, rgba(83,5,5,.86) 100%),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color:#fff;
  padding:58px 0 52px;
  position:relative;
  overflow:hidden;
  min-height: 300px;
  display:flex;
  align-items:center;
}
.page-hero-public::before {
  content:'';
  position:absolute;
  inset:0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 32px,
    rgba(255,255,255,.026) 32px,
    rgba(255,255,255,.026) 33px
  );
  pointer-events:none;
}
.page-hero-public::after {
  content:'';
  position:absolute;
  right:-120px;
  top:-90px;
  width:360px;
  height:360px;
  border-radius:50%;
  background:rgba(3,158,227,.22);
  filter:blur(4px);
}
.page-hero-public .container { position:relative; z-index:2; }
.page-hero-public .section-badge {
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--brand-color);
  color:#fff;
  padding:6px 14px;
  border-radius:3px;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  margin-bottom:14px;
}
.page-hero-public h1 {
  color:#fff;
  font-size:clamp(30px, 4vw, 42px);
  font-weight:800;
  line-height:1.1;
  margin:0 0 10px;
  max-width: 860px;
}
.page-hero-public p {
  max-width:760px;
  color:rgba(255,255,255,.74);
  font-size:15px;
  line-height:1.7;
  margin:0;
}
.breadcrumb-public {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  color:rgba(255,255,255,.55);
  font-size:13px;
  margin-bottom:14px;
}
.breadcrumb-public a { color:rgba(255,255,255,.85); }
.breadcrumb-public a:hover { color:#fff; }

.public-section { padding:64px 0; background:#fff; }
.public-section.alt { background:#f6f7f9; }

.filter-panel {
  background:#fff;
  border:1px solid #e8ecf0;
  border-radius:14px;
  padding:20px;
  box-shadow:0 8px 32px rgba(0,0,0,.05);
  margin-bottom:28px;
}
.filter-tabs { display:flex; flex-wrap:wrap; gap:8px; }
.filter-tab {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 15px;
  border:1px solid #e2e8f0;
  border-radius:22px;
  font-size:12px;
  font-weight:800;
  color:#4b5563;
  background:#fff;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.filter-tab.active,
.filter-tab:hover {
  background:var(--brand-color);
  border-color:var(--brand-color);
  color:#fff;
}
.public-search .form-control {
  border-radius:22px;
  min-height:42px;
  font-size:14px;
}
.public-search .btn {
  border-radius:22px;
  background:var(--brand-color);
  border-color:var(--brand-color);
  font-weight:700;
}
.public-search .btn:hover { background:var(--brand-dark); border-color:var(--brand-dark); }

.empty-public {
  background:#fff;
  border:1px dashed #cbd5e1;
  border-radius:18px;
  padding:44px 24px;
  text-align:center;
  color:#64748b;
}
.empty-public i { color:var(--brand-color); }

.public-card {
  background:#fff;
  border:1px solid #e8ecf0;
  border-radius:16px;
  overflow:hidden;
  height:100%;
  display:flex;
  flex-direction:column;
  box-shadow:0 8px 32px rgba(0,0,0,.06);
  transition:.3s;
}
.public-card:hover { transform:translateY(-6px); box-shadow:0 14px 42px rgba(0,0,0,.1); }
.public-card-img {
  position:relative;
  height:220px;
  background:#eef2f6;
  overflow:hidden;
}
.public-card-img img { width:100%; height:100%; object-fit:cover; transition:.4s; }
.public-card:hover .public-card-img img { transform:scale(1.04); }
.public-card-img.placeholder {
  display:flex;
  align-items:center;
  justify-content:center;
  color:#a2aab5;
  font-size:42px;
}
.public-card-badge {
  position:absolute;
  top:14px;
  left:14px;
  background:var(--brand-color);
  color:#fff;
  border-radius:20px;
  padding:5px 13px;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.public-card-body {
  padding:22px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.public-card-date {
  color:#888;
  font-size:12px;
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:8px;
}
.public-card-date i { color:var(--brand-color); }
.public-card h2 {
  font-size:18px;
  line-height:1.35;
  margin:0 0 10px;
  font-weight:800;
}
.public-card h2 a { color:var(--heading-color); }
.public-card h2 a:hover { color:var(--brand-color); }
.public-card p {
  color:#666;
  font-size:13px;
  line-height:1.7;
  margin:0 0 18px;
  flex:1;
}
.public-card-footer {
  border-top:1px solid #f0f0f0;
  padding-top:14px;
  display:flex;
  justify-content:flex-end;
}
.btn-public-more {
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:var(--brand-color);
  color:#fff;
  padding:8px 18px;
  border-radius:20px;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.btn-public-more:hover { background:var(--brand-dark); color:#fff; }

.pagination-public { display:flex; justify-content:center; gap:6px; margin-top:34px; flex-wrap:wrap; }
.pagination-public a,
.pagination-public span {
  min-width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid #e2e8f0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:800;
  color:#475569;
  background:#fff;
}
.pagination-public .active,
.pagination-public a:hover {
  background:var(--brand-color);
  border-color:var(--brand-color);
  color:#fff;
}

/* Publicação interna */
.post-layout { display:grid; grid-template-columns:minmax(0, 1.05fr) minmax(320px, .95fr); gap:34px; align-items:start; }
.post-media-main {
  border-radius:18px;
  overflow:hidden;
  background:#eef2f6;
  box-shadow:0 8px 32px rgba(0,0,0,.08);
}
.post-media-main img { width:100%; aspect-ratio:16/10; object-fit:cover; display:block; }
.post-thumbs { display:grid; grid-template-columns:repeat(4, 1fr); gap:10px; margin-top:12px; }
.post-thumb {
  border:2px solid transparent;
  border-radius:10px;
  padding:0;
  overflow:hidden;
  background:#f1f5f9;
  cursor:pointer;
}
.post-thumb.active { border-color:var(--brand-color); }
.post-thumb img { width:100%; aspect-ratio:1/1; object-fit:cover; display:block; }
.post-content-box {
  background:#fff;
  border:1px solid #e8ecf0;
  border-radius:18px;
  padding:30px;
  box-shadow:0 8px 32px rgba(0,0,0,.06);
}
.post-meta { display:flex; flex-wrap:wrap; gap:12px; color:#777; font-size:13px; margin-bottom:18px; }
.post-meta span { display:inline-flex; align-items:center; gap:6px; }
.post-meta i { color:var(--brand-color); }
.post-text { color:#444; line-height:1.85; font-size:15px; }
.post-text p:last-child { margin-bottom:0; }
.post-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; padding-top:18px; border-top:1px solid #f0f0f0; }
.btn-anexo {
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--brand-color);
  color:#fff;
  padding:11px 18px;
  border-radius:5px;
  font-weight:800;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.btn-anexo:hover { background:var(--brand-dark); color:#fff; }
.btn-back-list {
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid #cbd5e1;
  color:#475569;
  padding:10px 18px;
  border-radius:5px;
  font-weight:700;
  font-size:13px;
}
.btn-back-list:hover { border-color:var(--brand-color); color:var(--brand-color); }
.related-section { padding:58px 0 70px; background:#f6f7f9; }

/* Downloads */
.download-highlight {
  background:linear-gradient(135deg, #0e0e0e 0%, #1a1a1a 55%, #3a0404 100%);
  color:#fff;
  border-radius:18px;
  padding:30px;
  margin-bottom:30px;
  position:relative;
  overflow:hidden;
}
.download-highlight::after {
  content:'';
  position:absolute;
  right:-50px;
  bottom:-90px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:rgba(3,158,227,.18);
}
.download-highlight > * { position:relative; z-index:2; }
.download-highlight .badge-destaque {
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:var(--brand-color);
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:5px 12px;
  border-radius:3px;
  margin-bottom:14px;
}
.download-highlight h2 { color:#fff; font-size:30px; font-weight:800; margin-bottom:10px; }
.download-highlight p { color:rgba(255,255,255,.68); margin-bottom:20px; }
.download-highlight .btn-anexo { background:#fff; color:var(--brand-color); }
.download-highlight .btn-anexo:hover { background:#f4f4f4; color:var(--brand-dark); }

.download-public-group {
  border:1px solid #e8ecf0;
  border-radius:12px;
  overflow:hidden;
  margin-bottom:14px;
  background:#fff;
}
.download-public-head {
  background:#f5f7fa;
  border-left:4px solid var(--brand-color);
  padding:16px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.download-public-head h2 {
  font-size:18px;
  font-weight:800;
  margin:0;
  display:flex;
  align-items:center;
  gap:10px;
}
.download-public-head h2 .dico {
  width:28px;
  height:28px;
  border-radius:6px;
  background:var(--brand-color);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
}
.download-public-body { padding:14px 18px; display:flex; flex-direction:column; gap:9px; }
.download-public-item {
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto auto;
  align-items:center;
  gap:16px;
  background:#fafafa;
  border:1px solid #f0f0f0;
  border-radius:7px;
  padding:12px 14px;
}
.download-public-item:hover { background:#fff; border-color:var(--brand-color); box-shadow:0 2px 8px rgba(3,158,227,.10); }
.download-public-title { display:flex; align-items:flex-start; gap:10px; min-width:0; }
.download-public-title i { color:var(--brand-color); font-size:22px; flex-shrink:0; }
.download-public-title strong { display:block; color:var(--heading-color); font-size:14px; }
.download-public-title small { display:block; color:#777; font-size:12px; margin-top:3px; }
.download-public-date { color:#888; font-size:12px; white-space:nowrap; }
.download-public-btn {
  background:var(--brand-color);
  color:#fff;
  border-radius:4px;
  padding:7px 14px;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.download-public-btn:hover { background:var(--brand-dark); color:#fff; }

/* Contato */
.contact-card-public {
  background:#fff;
  border:1px solid #e8ecf0;
  border-radius:18px;
  padding:28px;
  box-shadow:0 8px 32px rgba(0,0,0,.06);
  height:100%;
}
.contact-info-item { display:flex; gap:14px; margin-bottom:22px; }
.contact-info-item i {
  width:42px;
  height:42px;
  border-radius:50%;
  background:#f5e5e5;
  color:var(--brand-color);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  font-size:18px;
}
.contact-info-item h3 { font-size:16px; font-weight:800; margin:0 0 4px; }
.contact-info-item p { margin:0; color:#666; font-size:14px; line-height:1.55; }
.form-public .form-control,
.form-public .form-select {
  border-radius:8px;
  min-height:46px;
  font-size:14px;
}
.form-public textarea.form-control { min-height:140px; }
.form-public .btn-submit-public {
  background:var(--brand-color);
  border:0;
  color:#fff;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
  border-radius:6px;
  padding:12px 22px;
}
.form-public .btn-submit-public:hover { background:var(--brand-dark); }
.btn-whatsapp-public {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:#25d366;
  color:#fff;
  font-weight:800;
  border-radius:6px;
  padding:12px 18px;
  border:0;
}
.btn-whatsapp-public:hover { color:#fff; filter:brightness(.95); }

@media(max-width:991px){
  .page-hero-public h1 { font-size:32px; }
  .post-layout { grid-template-columns:1fr; }
  .download-public-item { grid-template-columns:1fr; align-items:start; }
  .download-public-date { margin-left:32px; }
}
@media(max-width:767px){
  .page-hero-public { padding:44px 0 40px; }
  .page-hero-public h1 { font-size:28px; }
  .public-card-img { height:190px; }
  .post-thumbs { grid-template-columns:repeat(3, 1fr); }
}

/* Downloads filtrados por seção */
.download-filter-context {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 14px;
  border-radius:12px;
  background:#fff7f7;
  border:1px solid rgba(3,158,227,.13);
  color:#5b5b5b;
  font-size:13px;
}
.download-filter-context i { color:var(--brand-color); margin-right:5px; }
.download-filter-context strong { color:var(--heading-color); }
.download-filter-context a {
  color:var(--brand-color);
  font-weight:800;
  white-space:nowrap;
}
.download-section-summary {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  margin-bottom:20px;
  padding:24px;
  border-radius:18px;
  background:#fff;
  border:1px solid #e8ecf0;
  box-shadow:0 8px 30px rgba(0,0,0,.045);
}
.download-section-summary h2 {
  margin:10px 0 8px;
  font-size:28px;
  font-weight:800;
  color:var(--heading-color);
}
.download-section-summary p {
  margin:0;
  color:#666;
  max-width:760px;
}
.section-badge.light {
  background:#fff4f4;
  color:var(--brand-color);
  border:1px solid rgba(3,158,227,.12);
}
@media (max-width: 768px) {
  .download-filter-context,
  .download-section-summary { flex-direction:column; align-items:flex-start; }
  .download-filter-context a { white-space:normal; }
  .download-section-summary .btn { width:100%; justify-content:center; }
}


/* SITE_026 — títulos de downloads clicáveis */
.download-public-title a {
  color: var(--heading-color);
  text-decoration: none;
  display: inline-block;
}
.download-public-title a:hover {
  color: var(--brand-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.download-highlight h2 a {
  color:#fff;
  text-decoration:none;
}
.download-highlight h2 a:hover {
  color:#fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Campo invisível usado como honeypot antirobô */
.form-antibot-field {
  position:absolute !important;
  left:-10000px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
.btn-submit-public.is-sending,
.filiacao-submit.is-sending {
  opacity:.72;
  pointer-events:none;
}


/* SITE_043 — Página 404 aprimorada */
.error-404-section {
  background: #f6f7f9;
  padding: 70px 0;
}

.error-404-card {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 24px;
  padding: 42px;
  box-shadow: 0 18px 56px rgba(0,0,0,.08);
  text-align: center;
  max-width: 940px;
  margin: 0 auto;
}

.error-404-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 72px;
  border-radius: 22px;
  background: var(--brand-color);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 34px;
  letter-spacing: -.05em;
  margin-bottom: 22px;
  box-shadow: 0 14px 36px rgba(3,158,227,.18);
}

.error-404-card h2 {
  font-weight: 900;
  letter-spacing: -.035em;
  margin-bottom: 12px;
}

.error-404-card p {
  max-width: 680px;
  margin: 0 auto 26px;
  color: #5f6773;
  line-height: 1.75;
}

.error-404-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.error-404-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 122px;
  border-radius: 18px;
  background: #f7f9fc;
  border: 1px solid #e8ecf0;
  color: var(--heading-color);
  font-weight: 900;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.error-404-link i {
  color: var(--brand-color);
  font-size: 28px;
}

.error-404-link:hover {
  color: var(--brand-color);
  border-color: rgba(3,158,227,.22);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}

@media (max-width: 767px) {
  .error-404-section {
    padding: 46px 0;
  }

  .error-404-card {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .error-404-links {
    grid-template-columns: 1fr;
  }
}

/* Convenções — página de entrada por segmento */
.convencoes-intro {
  background:#fff;
  border:1px solid #e8ecf0;
  border-radius:18px;
  padding:24px;
  box-shadow:0 8px 32px rgba(0,0,0,.05);
  display:flex;
  justify-content:space-between;
  gap:22px;
  align-items:center;
  margin-bottom:28px;
}
.convencoes-intro h2 {
  margin:12px 0 10px;
  font-size:30px;
  font-weight:800;
  color:var(--heading-color);
}
.convencoes-intro p {
  margin:0;
  color:#64748b;
  max-width:760px;
}
.convencoes-intro-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.convencoes-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;
}
.convencao-card {
  background:#fff;
  border:1px solid #e8ecf0;
  border-radius:18px;
  box-shadow:0 8px 32px rgba(0,0,0,.05);
  display:flex;
  flex-direction:column;
  min-height:100%;
  overflow:hidden;
  transition:.3s;
}
.convencao-card:hover {
  transform:translateY(-6px);
  box-shadow:0 14px 42px rgba(0,0,0,.09);
  border-color:rgba(3,158,227,.35);
}
.convencao-card-icon {
  height:74px;
  width:74px;
  margin:22px 22px 0;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(3,158,227,.15), rgba(2,127,186,.22));
  color:var(--brand-dark);
  font-size:28px;
}
.convencao-card-body {
  padding:18px 22px 16px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.convencao-chip {
  display:inline-flex;
  align-items:center;
  width:max-content;
  background:#eef7fd;
  color:var(--brand-dark);
  border-radius:999px;
  padding:6px 12px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:14px;
}
.convencao-card h2 {
  margin:0 0 10px;
  font-size:20px;
  line-height:1.3;
  font-weight:800;
  color:var(--heading-color);
}
.convencao-card p {
  margin:0 0 18px;
  color:#64748b;
  font-size:14px;
  line-height:1.7;
  flex:1;
}
.convencao-meta {
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#475569;
  font-size:13px;
}
.convencao-meta span {
  display:flex;
  align-items:center;
  gap:8px;
}
.convencao-meta i {
  color:var(--brand-color);
}
.convencao-card-footer {
  padding:0 22px 22px;
}
.convencoes-helper {
  margin-top:24px;
  background:#fff;
  border:1px dashed rgba(3,158,227,.38);
  border-radius:16px;
  padding:18px 20px;
  color:#475569;
}
.convencoes-helper strong {
  color:var(--heading-color);
}
@media (max-width: 991.98px) {
  .convencoes-intro {
    flex-direction:column;
    align-items:flex-start;
  }
}


.btn-theme-primary,
.btn-theme-outline {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  font-weight:800;
  transition:.25s;
}
.btn-theme-primary {
  background:var(--brand-color);
  border:1px solid var(--brand-color);
  color:#fff;
}
.btn-theme-primary:hover {
  background:var(--brand-dark);
  border-color:var(--brand-dark);
  color:#fff;
}
.btn-theme-outline {
  background:#fff;
  border:1px solid rgba(3,158,227,.28);
  color:var(--brand-dark);
}
.btn-theme-outline:hover {
  border-color:var(--brand-color);
  background:#eef7fd;
  color:var(--brand-dark);
}

/* ============================================================
   SECHOSVEL_004 — cards mais elaborados para Convenções
   ============================================================ */
.convencoes-intro {
  border-radius: 24px;
  padding: 30px;
  background:
    radial-gradient(circle at 94% 14%, rgba(3,158,227,.12), transparent 28%),
    #fff;
  border-color: #dbe8f5;
  box-shadow: 0 18px 46px rgba(15,23,42,.07);
}
.convencoes-grid { gap: 24px; }
.convencao-card {
  position: relative;
  border-radius: 24px;
  border-color: #dbe8f5;
  box-shadow: 0 16px 42px rgba(15,23,42,.07);
  background: #fff;
}
.convencao-card::before {
  content:"";
  display:block;
  height:76px;
  background:
    radial-gradient(circle at 88% 8%, rgba(255,255,255,.26), transparent 28%),
    linear-gradient(135deg, #039ee3 0%, #323680 100%);
}
.convencao-card-icon {
  position: absolute;
  top: 34px;
  left: 22px;
  margin: 0;
  height: 76px;
  width: 76px;
  border-radius: 22px;
  background: #fff;
  color: #323680;
  box-shadow: 0 18px 38px rgba(15,23,42,.18);
  border: 1px solid rgba(255,255,255,.8);
}
.convencao-card-body { padding-top: 54px; }
.convencao-chip {
  background: #eef8fe;
  color: #323680;
  border: 1px solid rgba(3,158,227,.16);
}
.convencao-card h2 { font-size: 21px; }
.convencao-meta {
  background: #f7fbff;
  border: 1px solid #e2edf7;
  border-radius: 16px;
  padding: 12px;
}
.convencao-card-footer {
  padding-top: 2px;
}
.convencao-card .btn-public-more {
  width: 100%;
  justify-content: center;
  border-radius: 14px;
  background: #f2f9fe;
  border: 1px solid rgba(3,158,227,.18);
}
.convencao-card .btn-public-more:hover {
  background: var(--brand-color);
  color: #fff;
  border-color: var(--brand-color);
}
.convencao-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px rgba(15,23,42,.13);
  border-color: rgba(3,158,227,.44);
}

/* ============================================================
   SECHOSVEL_005 — ajustes visuais públicos
   Observação interna: textos de andamento do projeto devem ficar apenas em comentários no código.
   ============================================================ */
.convencao-card-body { padding-top: 64px; }
.convencao-card .convencao-chip { display: none !important; }
.convencao-card .btn-public-more,
.edital-card .btn-public-more {
  width: 100%;
  justify-content: center;
  border-radius: 14px;
  background: #323680 !important;
  border: 1px solid #323680 !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(50,54,128,.22);
}
.convencao-card .btn-public-more:hover,
.edital-card .btn-public-more:hover {
  background: #25285f !important;
  border-color: #25285f !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.editais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.edital-card {
  position: relative;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 22px;
  min-height: 100%;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15,23,42,.07);
  display: flex;
  flex-direction: column;
  transition: .3s;
}
.edital-card::before {
  content: "";
  display: block;
  height: 74px;
  background: linear-gradient(135deg, #323680 0%, #039ee3 100%);
}
.edital-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px rgba(15,23,42,.13);
  border-color: rgba(3,158,227,.44);
}
.edital-card-icon {
  position: absolute;
  top: 34px;
  left: 22px;
  height: 76px;
  width: 76px;
  border-radius: 22px;
  background: #fff;
  color: #323680;
  box-shadow: 0 18px 38px rgba(15,23,42,.18);
  border: 1px solid rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.edital-card-body {
  padding: 64px 22px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.edital-card h2 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--heading-color);
}
.edital-card h2 a { color: var(--heading-color); }
.edital-card h2 a:hover { color: var(--brand-color); }
.edital-card p {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}
.editais-intro { margin-bottom: 22px; }
.filter-panel-title {
  color: var(--heading-color);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

/* ============================================================
   SECHOSVEL_009 — refinamento das listagens públicas de downloads
   ============================================================ */
.download-filter-panel {
  border-radius: 22px;
  border-color: #dbe8f5;
  box-shadow: 0 16px 44px rgba(15,23,42,.07);
}
.download-current-section {
  display: flex;
  align-items: center;
  gap: 14px;
}
.download-current-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, #039ee3 0%, #323680 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 12px 28px rgba(50,54,128,.18);
}
.download-current-section strong {
  display: block;
  color: var(--heading-color);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.25;
}
.download-current-section small {
  display: block;
  color: #64748b;
  font-size: 13px;
  margin-top: 2px;
}
.filter-tabs {
  max-height: 116px;
  overflow-y: auto;
  padding-right: 4px;
}
.filter-tab {
  border-radius: 14px;
  background: #f8fbfe;
  border-color: #dbe8f5;
  color: #323680;
}
.filter-tab.active,
.filter-tab:hover {
  background: #323680;
  border-color: #323680;
  color: #fff;
}
.download-highlight {
  background:
    radial-gradient(circle at 90% 20%, rgba(3,158,227,.24), transparent 28%),
    linear-gradient(135deg, #101938 0%, #323680 55%, #039ee3 130%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 22px 58px rgba(15,23,42,.18);
}
.download-public-group {
  border: 1px solid #dbe8f5;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 16px 44px rgba(15,23,42,.07);
}
.download-public-head {
  background:
    radial-gradient(circle at 96% 20%, rgba(255,255,255,.18), transparent 30%),
    linear-gradient(135deg, #323680 0%, #039ee3 125%);
  color: #fff;
  border-left: 0;
  padding: 20px 24px;
}
.download-public-head h2 {
  color: #fff;
  font-size: 20px;
}
.download-public-head h2 .dico {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
}
.download-public-head .dl-count {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.download-public-body {
  padding: 18px;
  background: #fff;
  gap: 12px;
}
.download-public-item {
  grid-template-columns: minmax(0, 1fr) auto auto;
  background: #f8fbfe;
  border: 1px solid #e2edf7;
  border-radius: 16px;
  padding: 16px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.download-public-item:hover {
  background: #fff;
  border-color: rgba(3,158,227,.38);
  box-shadow: 0 14px 34px rgba(15,23,42,.08);
  transform: translateY(-2px);
}
.download-public-title i {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #eaf6fd;
  color: #323680;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.download-public-title strong {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}
.download-public-title small {
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.55;
}
.download-public-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 112px;
  color: #64748b;
  font-size: 12px;
  white-space: nowrap;
}
.download-public-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.download-public-meta i { color: var(--brand-color); }
.download-public-date { display: none; }
.download-public-btn {
  background: #323680;
  border: 1px solid #323680;
  color: #fff;
  border-radius: 13px;
  padding: 10px 16px;
  box-shadow: 0 12px 24px rgba(50,54,128,.18);
}
.download-public-btn:hover {
  background: #25285f;
  border-color: #25285f;
  color: #fff;
  transform: translateY(-1px);
}
.download-filter-context {
  background: #eef8fe;
  border-color: #d7edf9;
  color: #475569;
}
.download-filter-context a { color: #323680; }
.download-section-summary {
  border-radius: 22px;
  border-color: #dbe8f5;
  box-shadow: 0 16px 44px rgba(15,23,42,.07);
  background:
    radial-gradient(circle at 96% 12%, rgba(3,158,227,.10), transparent 26%),
    #fff;
}
.section-badge.light {
  background: #eef8fe;
  color: #323680;
  border-color: #d7edf9;
}
.contact-info-item i { background:#eef8fe; color:#323680; }
@media (max-width: 991px) {
  .download-public-item { grid-template-columns: 1fr; align-items: start; }
  .download-public-meta { margin-left: 52px; min-width: 0; }
  .download-public-btn { width: 100%; justify-content: center; }
}
@media (max-width: 575px) {
  .download-public-head { flex-direction: column; align-items: flex-start; }
  .download-current-section { align-items: flex-start; }
  .filter-tabs { max-height: 160px; }
  .download-public-title { align-items: flex-start; }
  .download-public-meta { margin-left: 0; }
}
