/* ===========================
   HEADER / NAVBAR (SINDUSCON-PR)
   =========================== */
/* Barra de Acessibilidade */

.accessibility-bar {
  background-color: #f4f4f4;
  border-bottom: 1px solid #ddd;
  font-size: 0.85rem;
  color: #333;
}

.accessibility-bar .container {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.accessibility-label {
  font-weight: 600;
  margin-right: 0.5rem;
}

.accessibility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.accessibility-btn {
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.8rem;
  line-height: 1.2;
  cursor: pointer;
}

.accessibility-btn:hover,
.accessibility-btn:focus {
  background: #e9ecef;
  outline: none;
}

.accessibility-link {
  text-decoration: none;
  display: inline-block;
}

/* Alto contraste */

body.accessibility-contrast {
  background-color: #000;
  color: #fff;
}

body.accessibility-contrast a {
  color: #ffff00;
}

body.accessibility-contrast .bg-light,
body.accessibility-contrast .bg-white,
body.accessibility-contrast .card,
body.accessibility-contrast .content,
body.accessibility-contrast .institucional-content {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

body.accessibility-contrast .btn-primary,
body.accessibility-contrast .btn-secondary {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}
/* Utilitário para esconder algo visualmente mas manter para leitores de tela */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.top-header--pr {
  background: #ffffff;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.top-header-logo {
  height: 80px;        /* ajuste conforme a tua logo */
  width: auto;
}

.top-header-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #003a7a;
}

.top-header-actions {
  font-size: 0.78rem;
}

.top-header-box {
  min-width: 180px;
}

.top-header-box-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #003a7a;
}

.top-header-box-text {
  font-size: 0.75rem;
  color: #666;
}

.top-header-link {
  color: inherit;
  text-decoration: none;
}

.top-header-link:hover {
  text-decoration: none;
}

.top-header-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #003a7a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
}

/* Barra azul de navegação */
.main-nav--pr {
  background-color: #003a7a;
  position: sticky;
  top: 0;
  z-index: 1020; /* acima do conteúdo */
}
/* Barra azul fixa quando rola a página */
.main-nav--pr.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1020;
}

.main-nav--pr .navbar-nav .nav-link {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.7rem 0.9rem;
}

.main-nav--pr .navbar-nav .nav-link:hover,
.main-nav--pr .navbar-nav .nav-link:focus {
  color: #ffda6a;
}

.main-nav--pr .navbar-nav .nav-link.active {
  color: #ffda6a;
}

.main-nav--pr .navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}

.main-nav--pr .navbar-toggler-icon {
  filter: invert(1) grayscale(100%);
}

/* Centralizar conteúdo da barra azul */
.main-nav--pr .navbar-collapse {
  justify-content: center;
}

/* Ícones sociais + botão Associe-se na barra azul */
.main-nav-social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.main-nav-social .nav-social-link {
  color: #ffffff;
  font-size: 1.1rem;
}

.main-nav-social .nav-social-link:hover {
  color: #ffda6a;
}

/* Responsivo: empilhar ações no topo em telas menores */
@media (max-width: 767.98px) {
  .top-header--pr .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .top-header-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .main-nav-social {
    margin-top: 0.5rem;
  }
}

/* Se ainda usar em algum lugar */
.navbar-brand-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}


/* ===========================
   HERO (HOME)
   =========================== */

.hero-wrapper {
  position: relative;
}

.hero-img {
  max-height: 480px;
  object-fit: cover;
}

.hero-simple {
  min-height: 360px;
  background: linear-gradient(135deg, #004b8d, #0077c8);
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.15));
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  color: #fff;
}

.hero-text {
  max-width: 640px;
}

.hero-title {
  font-size: clamp(1.8rem, 3vw + 0.8rem, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
}

/* Responsivo HERO */
@media (max-width: 767.98px) {
  .hero-content {
    align-items: center;
    text-align: center;
    padding-bottom: 2rem;
  }
  .hero-text {
    margin: 0 auto;
  }
}


/* ===========================
   ATALHOS RÁPIDOS (HOME)
   =========================== */

.shortcut-card {
  display: block;
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e5e5;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  color: inherit;
}

.shortcut-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
  border-color: #004b8d;
}

.shortcut-label {
  display: block;
  font-weight: 700;
  color: #004b8d;
  margin-bottom: 0.25rem;
}

.shortcut-text {
  font-size: 0.88rem;
  color: #555;
}


/* ===========================
   TÍTULOS DE SEÇÃO
   =========================== */

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
}


/* ===========================
   CARTÕES DE NOTÍCIAS (HOME)
   =========================== */

.news-card {
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e5e5e5;
  padding: 1.3rem 1.3rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.news-date {
  font-size: 0.8rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-title a {
  font-size: 1.02rem;
  color: #222;
  text-decoration: none;
}

.news-title a:hover {
  color: #004b8d;
}

.news-card-footer {
  margin-top: 1rem;
}

.news-link {
  font-size: 0.9rem;
  color: #004b8d;
  text-decoration: none;
}

.news-link::after {
  content: ' →';
}


/* ===========================
   CONTATO / LOCALIZAÇÃO
   =========================== */

.contact-card {
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e5e5e5;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.contact-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}


/* ===========================
   CUB / ÍNDICES
   =========================== */

.cub-select-form {
  max-width: 360px;
}

.cub-highlight-card {
  background: #ffffff;
  border-radius: 0.9rem;
  border: 1px solid #e5e5e5;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.cub-highlight-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.8rem;
}

.cub-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #888;
  margin-bottom: 0.25rem;
}

.cub-periodo {
  font-size: 1.35rem;
  font-weight: 700;
}

.cub-info-card {
  background: #f8fafc;
  border-radius: 0.9rem;
  border: 1px solid #e0e7ff;
  padding: 1.4rem 1.6rem;
}

.cub-info-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Histórico CUB */
.cub-history table a {
  text-decoration: none;
  color: #004b8d;
}

.cub-history table a:hover {
  text-decoration: underline;
}


/* ===========================
   LISTAGEM DE NOTÍCIAS
   =========================== */

.news-list-card {
  background: #ffffff;
  border-radius: 0.9rem;
  border: 1px solid #e5e5e5;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.news-list-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-list-body {
  padding: 1.1rem 1.2rem 0.3rem;
}

.news-list-title {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.news-list-title a {
  color: #222;
  text-decoration: none;
}

.news-list-title a:hover {
  color: #004b8d;
}

.news-list-summary {
  font-size: 0.9rem;
  color: #555;
}

.news-list-footer {
  padding: 0 1.2rem 1rem;
}


/* ===========================
   DETALHE DA NOTÍCIA
   =========================== */

.noticia-detalhe-container {
  max-width: 900px;
}

.noticia-detalhe .noticia-titulo {
  font-size: 1.7rem;
}

.noticia-imagem-destaque img {
  max-height: 420px;
  object-fit: cover;
}

.conteudo-noticia {
  font-size: 0.98rem;
  line-height: 1.7;
}

.conteudo-noticia p {
  margin-bottom: 1rem;
}

.conteudo-noticia h2,
.conteudo-noticia h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.conteudo-noticia ul,
.conteudo-noticia ol {
  padding-left: 1.2rem;
}

.conteudo-noticia a {
  color: #004b8d;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
}


/* ===========================
   INSTITUCIONAL
   =========================== */

.institucional-container {
  max-width: 1100px;
}

/* MENU LATERAL AZUL */
.institucional-sidebar {
  background: #e6edf7;
  border-radius: 0.3rem;
  border: 1px solid #c5d3ea;
  padding: 0.4rem 0.2rem 0.6rem;
}

/* Títulos dos grupos: O SINDICATO / DESTAQUES / SERVIÇOS */
.institucional-sidebar .sidebar-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  background: #6599d4;
  padding: 0.35rem 0.6rem;
  margin: 0.5rem 0 0.25rem;
}

/* Links da lista */
.institucional-sidebar ul {
  margin: 0;
  padding: 0;
}

.institucional-sidebar ul li {
  list-style: none;
}

.institucional-sidebar ul li + li {
  margin-top: 0.1rem;
}

.institucional-sidebar .sidebar-link {
  display: block;
  font-size: 0.85rem;
  padding: 0.25rem 0.6rem;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(to right, #2464a7 0, #2464a7 6px, #4f9cd9 6px, #4f9cd9 100%);
}

.institucional-sidebar .sidebar-link:hover {
  background: linear-gradient(to right, #1a4f86 0, #1a4f86 6px, #5f94c8 6px, #5f94c8 100%);
}

.institucional-sidebar .sidebar-link.active {
  background: linear-gradient(to right, #0f3a66 0, #0f3a66 6px, #3f78b4 6px, #3f78b4 100%);
  font-weight: 600;
}

/* Corpo de texto institucional */
.institucional-content .institucional-body {
  font-size: 1rem;
  line-height: 1.7;
}

.institucional-content .institucional-body p {
  margin-bottom: 1rem;
}


/* ===========================
   COLUNA DIREITA (INSTITUCIONAL)
   =========================== */

.right-sidebar {
  font-size: 0.86rem;
}

.right-box {
  background: #f5f7fb;
  border: 1px solid #d6deee;
  margin-bottom: 0.75rem;
}

.right-box-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #333;
  padding: 0.35rem 0.5rem;
  margin: 0;
  background: #e0e6f3;
  border-bottom: 1px solid #d6deee;
}

.right-box > *:not(.right-box-title) {
  padding: 0.45rem 0.55rem 0.6rem;
}

/* Busca */
.right-search-form .form-control-sm {
  font-size: 0.8rem;
}

/* Indicadores */
.right-indicadores p {
  font-size: 0.8rem;
}

/* Notícias compactas */
.right-news-item {
  padding: 0.25rem 0;
  border-bottom: 1px solid #dde3f2;
}

.right-news-item:last-child {
  border-bottom: none;
}

.right-news-date {
  font-size: 0.75rem;
  color: #777;
}

.right-news-link {
  display: block;
  font-size: 0.8rem;
  color: #004b8d;
  text-decoration: none;
}

.right-news-link:hover {
  text-decoration: underline;
}

.right-more-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: #004b8d;
  text-decoration: none;
}

.right-more-link::after {
  content: ' →';
}

/* Responsivo coluna direita */
@media (max-width: 767.98px) {
  .right-sidebar {
    margin-top: 1rem;
  }
  .institucional-sidebar {
    margin-bottom: 1rem;
  }
}


/* ===========================
   SERVIÇOS
   =========================== */

.servico-card {
  background: #ffffff;
  border-radius: 0.9rem;
  border: 1px solid #e5e5e5;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.servico-titulo {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.servico-descricao {
  font-size: 0.95rem;
  color: #555;
}

.servico-icone {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #004b8d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}


/* ===========================
   COMISSÕES
   =========================== */

.comissao-card {
  background: #ffffff;
  border-radius: 0.9rem;
  border: 1px solid #e5e5e5;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.comissao-titulo a {
  font-size: 1.05rem;
  font-weight: 600;
  color: #222;
  text-decoration: none;
}

.comissao-titulo a:hover {
  color: #004b8d;
}

.comissao-descricao {
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.35rem;
}


/* ===========================
   COLEÇÕES
   =========================== */

.colecao-card {
  background: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #e5e5e5;
  padding: 0.8rem 0.9rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.colecao-capa img {
  width: 150px; /* capa maior */
  height: auto;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* título menor, sobrepõe Bootstrap h2 */
h2.colecao-titulo {
  font-size: 1.5rem !important;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.colecao-subtitulo {
  font-size: 0.8rem;
  font-weight: 500;
  color: #555;
}

.colecao-descricao {
  font-size: 0.8rem;
  color: #444;
}

.colecao-dados {
  font-size: 0.78rem;
  color: #666;
}


/* ===========================
   RODAPÉ - PARCEIROS
   =========================== */

.footer-partners {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-partner-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-partner-logo {
  max-height: 32px; /* ajuste conforme as imagens */
  width: auto;
}

@media (max-width: 767.98px) {
  .footer-partners {
    align-items: flex-start;
    margin-top: 0.5rem;
  }
  /* Rodapé compacto */

.footer-bar {
  padding-top: 0.75rem;   /* antes era py-4 (1.5rem) */
  padding-bottom: 0.75rem;
}

.footer-main-text {
  font-size: 0.8rem;
  color: #ddd;
  line-height: 1.4;
}

/* parceiros */
.footer-partners {
  /* agora é d-inline-flex no HTML; aqui só ajustes finos */
}

.footer-partner-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-partner-logo {
  max-height: 26px;   /* menor pra reduzir altura total */
  width: auto;
}

@media (max-width: 767.98px) {
  .footer-bar {
    text-align: left;
  }
  .footer-main-text {
    margin-bottom: 0.5rem;
  }
}