/*
Theme Name: PM Penaforte CE - V3
Description: Tema institucional moderno para Prefeitura Municipal de Penaforte-CE
Version: 3.0
Author: Desenvolvimento Web
*/

/* ========================================
   VARIÁVEIS CSS E CONFIGURAÇÕES GLOBAIS
======================================== */

:root {
  /* Cores Institucionais */
  --primary-color: #1e40af;
  --primary-light: #3b82f6;
  --primary-dark: #1e3a8a;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  
  /* Cores de Estado */
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --info-color: #06b6d4;
  
  /* Cores Neutras */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Tipografia */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  
  /* Espaçamentos */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  
  /* Bordas e Sombras */
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Transições */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
}

/* ========================================
   RESET E CONFIGURAÇÕES BASE
======================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-base);
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--gray-50);
  margin: 0;
  padding: 0;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--primary-dark);
}

/* Foco para acessibilidade */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ========================================
   FOOTER INSTITUCIONAL MODERNO
======================================== */

.footer-institucional {
  margin-top: auto;
  position: relative;
  z-index: 10;
}

/* ===== SEÇÃO PRINCIPAL DO FOOTER ===== */
.footer-main {
  background: var(--gray-900) !important;
  position: relative;
  overflow: hidden;
}

.footer-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(59,130,246,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-dots)"/></svg>') repeat;
  opacity: 0.3;
}

.footer-main .container {
  position: relative;
  z-index: 2;
}

/* ===== BRAND DO FOOTER ===== */
.footer-brand {
  position: relative;
}

.footer-logo {
  max-height: 80px;
  width: auto;
  filter: brightness(1.1);
  transition: all var(--transition-normal);
}

.footer-logo:hover {
  filter: brightness(1.3);
  transform: scale(1.05);
}

.footer-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== INFORMAÇÕES DE CONTATO ===== */
.contact-info {
  margin-top: 1.5rem;
}

.contact-item {
  padding: 0.25rem 0;
  font-size: var(--font-size-sm);
  transition: all var(--transition-normal);
}

.contact-item:hover {
  transform: translateX(5px);
  color: white !important;
}

.contact-item i {
  width: 16px;
  text-align: center;
  opacity: 0.8;
}

.text-light-gray {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ===== SEÇÕES DO FOOTER ===== */
.footer-section {
  position: relative;
}

.footer-section-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.footer-section-title i {
  color: var(--primary-light);
  font-size: var(--font-size-lg);
}

/* ===== LINKS DO FOOTER ===== */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  padding: 0.375rem 0;
  transition: all var(--transition-normal);
  border-radius: var(--border-radius-sm);
}

.footer-link:hover {
  color: white !important;
  transform: translateX(5px);
  background-color: rgba(59, 130, 246, 0.1);
  padding-left: 0.5rem;
}

.footer-link i {
  width: 16px;
  text-align: center;
  opacity: 0.8;
  transition: all var(--transition-normal);
}

.footer-link:hover i {
  opacity: 1;
  color: var(--primary-light);
  transform: scale(1.1);
}

/* ===== REDES SOCIAIS ===== */
.social-section {
  position: relative;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: white !important;
  text-decoration: none;
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.2);
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white !important;
}

.social-btn.facebook:hover {
  background: #1877f2;
  color: white !important;
}

.social-btn.youtube:hover {
  background: #ff0000;
  color: white !important;
}

.social-btn.whatsapp:hover {
  background: #25d366;
  color: white !important;
}

.social-btn i {
  font-size: var(--font-size-lg);
}

/* ===== AÇÕES RÁPIDAS ===== */
.quick-actions {
  position: relative;
}

.action-buttons-footer {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.action-buttons-footer .btn {
  font-size: var(--font-size-xs);
  padding: 0.375rem 0.75rem;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-normal);
  border: none;
}

.action-buttons-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.action-buttons-footer .btn i {
  font-size: var(--font-size-xs);
}

/* ===== MAPA DO FOOTER ===== */
.footer-map {
  position: relative;
  overflow: hidden;
}

.footer-map iframe {
  display: block;
  width: 100%;
  filter: grayscale(0.3);
  transition: filter var(--transition-normal);
}

.footer-map:hover iframe {
  filter: grayscale(0);
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-bottom-dots" width="15" height="15" patternUnits="userSpaceOnUse"><circle cx="7.5" cy="7.5" r="0.8" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-bottom-dots)"/></svg>') repeat;
  opacity: 0.4;
}

.footer-bottom .container {
  position: relative;
  z-index: 2;
}

.copyright,
.footer-credits {
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.copyright i,
.footer-credits i {
  opacity: 0.8;
}

.footer-credits .fa-heart {
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 50%, 100% {
    transform: scale(1);
  }
  25%, 75% {
    transform: scale(1.1);
  }
}

/* ===== CLASSES UTILITÁRIAS ESPECÍFICAS ===== */
.bg-gray-900 {
  background-color: var(--gray-900) !important;
}

.bg-primary-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
}

.text-primary-light {
  color: var(--primary-light) !important;
}

.border-secondary {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* ===== RESPONSIVIDADE DO FOOTER ===== */
@media (max-width: 991.98px) {
  .footer-main {
    padding: 3rem 0 !important;
  }
  
  .footer-logo {
    max-height: 60px;
  }
  
  .footer-title {
    font-size: var(--font-size-lg);
  }
  
  .footer-section-title {
    font-size: var(--font-size-sm);
  }
  
  .social-links {
    justify-content: center;
  }
  
  .action-buttons-footer {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .footer-main {
    padding: 2rem 0 !important;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
  
  .social-btn {
    font-size: var(--font-size-xs);
    padding: 0.375rem 0.75rem;
  }
  
  .social-btn span {
    display: none;
  }
  
  .action-buttons-footer .btn {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
  
  .footer-map iframe {
    height: 150px;
  }
  
  .copyright,
  .footer-credits {
    font-size: var(--font-size-xs);
    justify-content: center !important;
    text-align: center !important;
  }
  
  .footer-credits {
    margin-top: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .footer-description {
    font-size: var(--font-size-xs);
  }
  
  .contact-item {
    font-size: var(--font-size-xs);
  }
  
  .footer-link {
    font-size: var(--font-size-xs);
  }
  
  .social-btn {
    padding: 0.25rem 0.5rem;
  }
  
  .social-btn i {
    font-size: var(--font-size-base);
  }
}

/* ===== ANIMAÇÕES PARA FOOTER ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-section {
  animation: fadeInUp 0.8s ease-out;
}

.footer-section:nth-child(2) {
  animation-delay: 0.1s;
}

.footer-section:nth-child(3) {
  animation-delay: 0.2s;
}

.footer-section:nth-child(4) {
  animation-delay: 0.3s;
}

.footer-section:nth-child(5) {
  animation-delay: 0.4s;
}

/* ===== PRINT STYLES PARA FOOTER ===== */
@media print {
  .footer-institucional {
    display: none !important;
  }
}

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

.header-institucional {
  position: relative;
  z-index: 1050;
  overflow: visible !important;
}

.header-institucional .container {
  overflow: visible !important;
}

.header-institucional .row {
  overflow: visible !important;
}

.header-institucional .col-lg-8 {
  overflow: visible !important;
}

/* ===== BARRA SUPERIOR ===== */

.header-top {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: visible;
  z-index: 1050;
}

.bg-primary-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
}

.text-primary-light {
  color: rgba(255, 255, 255, 0.8) !important;
}

.header-link {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  font-size: var(--font-size-sm);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem !important;
  border-radius: 0.25rem;
}

.header-link:hover {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-1px);
}

.header-link:focus {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* ===== MENU NAVEGAÇÃO BARRA SUPERIOR - BOOTSTRAP 5 ===== */

/* Navbar superior */
.header-top .navbar {
  overflow: visible !important;
}

.header-top .navbar-nav {
  align-items: center;
  overflow: visible !important;
}

.header-top .nav-item {
  position: relative;
  z-index: 1051;
}

.header-top .nav-item.dropdown {
  position: relative;
  overflow: visible !important;
}

.header-top .nav-link.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transition: transform 0.15s ease-in-out;
}

.header-top .nav-link.dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu-header {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  min-width: 200px;
  z-index: 9999 !important;
  position: absolute !important;
  background-color: white;
  margin-top: 0.125rem;
  animation: fadeIn 0.15s ease-in-out;
  top: 100% !important;
  left: 0 !important;
  transform: translateZ(0) !important;
  will-change: transform !important;
}

/* Força o dropdown a aparecer por cima */
.header-top .dropdown.show .dropdown-menu-header {
  z-index: 9999 !important;
  position: fixed !important;
  transform: none !important;
}

.dropdown-menu-header .dropdown-item {
  color: var(--gray-700) !important;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  transition: all 0.15s ease-in-out;
  border-radius: 0.25rem;
  margin: 0.125rem 0.5rem;
}

.dropdown-menu-header .dropdown-item:hover,
.dropdown-menu-header .dropdown-item:focus {
  color: var(--primary-color) !important;
  background-color: var(--gray-100) !important;
  transform: translateX(2px);
}

.dropdown-menu-header .dropdown-item:active {
  color: var(--white) !important;
  background-color: var(--primary-color) !important;
}

.header-info {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-xs);
}

/* ===== HEADER PRINCIPAL ===== */

.header-main {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  z-index: 1030;
}

/* Logo */
.logo-container {
  transition: transform var(--transition-normal);
}

.logo-container:hover {
  transform: scale(1.02);
}

.logo-img {
  max-height: 70px;
  width: auto;
}

/* Botões de Ação */
.action-buttons {
  gap: var(--spacing-lg);
}

.btn-action {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius-xl);
  text-decoration: none;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.btn-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn-action:hover::before {
  left: 100%;
}

.btn-action:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-transparencia {
  color: var(--primary-color);
  border-color: rgba(30, 64, 175, 0.2);
}

.btn-transparencia:hover {
  background: rgba(30, 64, 175, 0.05);
  border-color: var(--primary-color);
  color: var(--primary-dark);
}

.btn-informacao {
  color: var(--success-color);
  border-color: rgba(16, 185, 129, 0.2);
}

.btn-informacao:hover {
  background: rgba(16, 185, 129, 0.05);
  border-color: var(--success-color);
  color: #059669;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  transition: all var(--transition-normal);
}

.btn-transparencia .btn-icon {
  background: rgba(30, 64, 175, 0.1);
}

.btn-informacao .btn-icon {
  background: rgba(16, 185, 129, 0.1);
}

.btn-esic {
  color: #d97706;
  border-color: rgba(251, 191, 36, 0.3);
}

.btn-esic:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: #f59e0b;
  color: #92400e;
}

.btn-esic .btn-icon {
  background: rgba(251, 191, 36, 0.15);
}

.btn-action:hover .btn-icon {
  transform: scale(1.1);
}

/* Botões Menores */
.btn-action-sm {
  padding: var(--spacing-sm) var(--spacing-md);
  gap: var(--spacing-sm);
  min-width: 110px;
}

.btn-action-sm .btn-icon {
  width: 35px;
  height: 35px;
  font-size: 1rem;
}

.btn-action-sm .btn-title,
.btn-action-sm .btn-subtitle {
  font-size: 0.8rem;
  line-height: 1.1;
}

.btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.btn-title,
.btn-subtitle {
  font-weight: 600;
  font-size: var(--font-size-sm);
}

/* Redes Sociais */
.social-media {
  gap: var(--spacing-sm);
}

.social-label {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  font-weight: 500;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all var(--transition-normal);
  font-size: var(--font-size-lg);
}

.social-link.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

/* Botão Mobile */
.navbar-toggler {
  border: none;
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-md);
  background: var(--gray-100);
  transition: all var(--transition-normal);
}

.navbar-toggler:hover {
  background: var(--gray-200);
  transform: scale(1.05);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 2px var(--primary-color);
}

.navbar-toggler-icon i {
  font-size: var(--font-size-lg);
  color: var(--gray-700);
}

/* Ações Mobile */
.mobile-actions {
  gap: var(--spacing-sm);
}

/* ===== MENU PRINCIPAL ULTRA ELEGANTE ===== */

/* ===== NAVBAR BOOTSTRAP PADRÃO ===== */
.main-navigation {
  background-color: var(--white) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.main-navigation.sticky-top {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95) !important;
}

/* ===== NAVBAR LINKS BOOTSTRAP PADRÃO ===== */
.navbar-nav .nav-link {
  color: var(--gray-700) !important;
  font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary-color) !important;
  background-color: transparent !important;
}

.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link.active,
.navbar-nav .nav-item.current-menu-item .nav-link {
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* ===== DROPDOWN BOOTSTRAP 5 ===== */
.navbar-nav .dropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  margin-top: 0.125rem;
  animation: fadeIn 0.15s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== DROPDOWN ITEMS BOOTSTRAP 5 ===== */
.navbar-nav .dropdown-item {
  color: var(--gray-700) !important;
  padding: 0.5rem 1rem;
  transition: all 0.15s ease-in-out;
  border-radius: 0.25rem;
  margin: 0.125rem 0.5rem;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  color: var(--primary-color) !important;
  background-color: transparent !important;
  transform: none !important;
}

.navbar-nav .dropdown-item:active {
  color: var(--white) !important;
  background-color: var(--primary-color) !important;
}

.navbar-nav .dropdown-item.disabled {
  color: var(--gray-400) !important;
  background-color: transparent !important;
  cursor: not-allowed;
}

/* ===== DROPDOWN TOGGLE BOOTSTRAP 5 ===== */
.navbar-nav .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transition: transform 0.15s ease-in-out;
}

.navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* ===== DROPDOWN HEADER BOOTSTRAP 5 ===== */
.navbar-nav .dropdown-header {
  display: block;
  padding: 0.5rem 1rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--gray-600);
  white-space: nowrap;
  font-weight: 600;
}

/* ===== DROPDOWN DIVIDER BOOTSTRAP 5 ===== */
.navbar-nav .dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/* Busca no Menu Elegante */
.navbar-search {
  margin-left: 1.5rem;
  position: relative;
}

.navbar-search::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 30px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.3) 0%, rgba(30, 64, 175, 0.1) 100%);
  border-radius: 1px;
}

.search-input {
  border-radius: 25px 0 0 25px;
  border: 2px solid rgba(30, 64, 175, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-width: 200px;
  background: rgba(248, 250, 252, 0.5);
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1), 0 4px 15px rgba(30, 64, 175, 0.1);
  background: white;
  transform: scale(1.02);
}

.search-form .btn {
  border-radius: 0 25px 25px 0;
  border: 2px solid var(--primary-color);
  border-left: none;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0.6rem 1.2rem;
}

.search-form .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

/* ===== MELHORIAS MENU PROFISSIONAL ===== */

/* Container do Menu */
.navbar-container {
  position: relative;
}

/* Brand Mobile Melhorado */
.navbar-brand-container .navbar-brand {
  text-decoration: none;
  transition: all var(--transition-normal);
}

.navbar-brand .brand-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--font-size-lg);
  transition: all var(--transition-normal);
}

.navbar-brand:hover .brand-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-md);
}

.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar-brand .brand-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-brand .brand-subtitle {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
}

/* Toggle Button Customizado */
.navbar-toggler {
  background: transparent !important;
  border: none !important;
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 50% !important;
  transition: all var(--transition-normal);
}

.navbar-toggler:hover {
  background: rgba(30, 64, 175, 0.1) !important;
  transform: scale(1.05);
}

.navbar-toggler-icon-custom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 18px;
  position: relative;
}

.toggler-line {
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: all var(--transition-normal);
  margin: 2px 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Utilitários do Menu */
.navbar-utilities {
  position: relative;
  gap: var(--spacing-md);
}

/* Busca Avançada */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.navbar-search .search-input {
  border: 2px solid var(--gray-200);
  border-radius: 25px;
  padding: 0.5rem 3rem 0.5rem 1rem;
  width: 250px;
  transition: all var(--transition-normal);
  background: var(--gray-50);
  font-size: 0.9rem;
}

.navbar-search .search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
  background: white;
  width: 300px;
  outline: none;
}

.navbar-search .search-btn {
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
  color: white;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.navbar-search .search-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-md);
}

/* Sugestões de Busca */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  margin-top: 0.5rem;
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}

.suggestions-header {
  padding: 0.75rem 1rem;
  background: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.suggestions-list {
  padding: 0.5rem 0;
}

/* Acesso Rápido */
.quick-access-btn {
  border-radius: 20px !important;
  font-weight: 500;
  transition: all var(--transition-normal);
  border-width: 2px;
}

.quick-access-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.quick-access-menu {
  border: none;
  box-shadow: var(--shadow-xl);
  border-radius: var(--border-radius-lg);
  padding: 0.5rem 0;
  min-width: 200px;
  animation: dropdownFadeIn var(--transition-normal) ease;
}

.quick-access-menu .dropdown-header {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
}

.quick-access-menu .dropdown-item {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  border-left: 3px solid transparent;
}

.quick-access-menu .dropdown-item:hover {
  background: rgba(30, 64, 175, 0.1);
  border-left-color: var(--primary-color);
  transform: translateX(3px);
}

/* Botão de Acessibilidade */
.accessibility-toggle {
  border-radius: 20px !important;
  font-weight: 500;
  transition: all var(--transition-normal);
  border-width: 2px;
  position: relative;
}

.accessibility-toggle:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-sm);
}

.accessibility-toggle::after {
  content: 'Ferramentas de Acessibilidade';
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-900);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  z-index: 1000;
}

.accessibility-toggle:hover::after {
  opacity: 1;
}

/* Seletor de Idiomas */
.language-btn {
  border-radius: 20px !important;
  transition: all var(--transition-normal);
}

.language-btn:hover {
  background: rgba(30, 64, 175, 0.1) !important;
  color: var(--primary-color) !important;
}

.language-menu {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius-lg);
  min-width: 150px;
}

.language-menu .dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
}

.language-menu .dropdown-item.active {
  background: rgba(30, 64, 175, 0.1);
  color: var(--primary-color);
  font-weight: 600;
}

.language-menu .dropdown-item:hover {
  background: rgba(30, 64, 175, 0.1);
}

/* Busca Mobile */
.mobile-search {
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}

.search-form-mobile .form-control {
  border-radius: 20px 0 0 20px;
  border-right: none;
  padding: 0.6rem 1rem;
}

.search-form-mobile .btn {
  border-radius: 0 20px 20px 0;
  padding: 0.6rem 1.2rem;
}

/* Acesso Rápido Mobile */
.mobile-quick-access {
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}

.accessibility-toggle-mobile {
  transition: all var(--transition-normal);
}

.accessibility-toggle-mobile:hover {
  transform: scale(1.02);
}

.mobile-quick-access .btn {
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all var(--transition-normal);
}

.mobile-quick-access .btn i {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.mobile-quick-access .btn small {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}

.mobile-quick-access .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Estilos sticky removidos - usando Bootstrap padrão */

/* ===== SELO DE ACESSIBILIDADE ===== */

.accessibility-seal {
  position: fixed;
  top: 50%;
  right: var(--spacing-lg);
  transform: translateY(-50%);
  z-index: var(--z-tooltip);
  background: var(--success-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.accessibility-seal:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-xl);
  background: #059669;
}

.accessibility-seal:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* ========================================
   RESPONSIVIDADE
======================================== */

/* Tablet */
@media (max-width: 991.98px) {
  .footer-main {
    padding: 3rem 0 !important;
  }
  
  .footer-logo {
    max-height: 60px;
  }
  
  .footer-title {
    font-size: var(--font-size-lg);
  }
  
  .footer-section-title {
    font-size: var(--font-size-sm);
  }
  
  .social-links {
    justify-content: center;
  }
  
  .action-buttons-footer {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .footer-main {
    padding: 2rem 0 !important;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
  
  .social-btn {
    font-size: var(--font-size-xs);
    padding: 0.375rem 0.75rem;
  }
  
  .social-btn span {
    display: none;
  }
  
  .action-buttons-footer .btn {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
  
  .footer-map iframe {
    height: 150px;
  }
  
  .copyright,
  .footer-credits {
    font-size: var(--font-size-xs);
    justify-content: center !important;
    text-align: center !important;
  }
  
  .footer-credits {
    margin-top: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .footer-description {
    font-size: var(--font-size-xs);
  }
  
  .contact-item {
    font-size: var(--font-size-xs);
  }
  
  .footer-link {
    font-size: var(--font-size-xs);
  }
  
  .social-btn {
    padding: 0.25rem 0.5rem;
  }
  
  .social-btn i {
    font-size: var(--font-size-base);
  }
}

/* ===== ANIMAÇÕES PARA FOOTER ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-section {
  animation: fadeInUp 0.8s ease-out;
}

.footer-section:nth-child(2) {
  animation-delay: 0.1s;
}

.footer-section:nth-child(3) {
  animation-delay: 0.2s;
}

.footer-section:nth-child(4) {
  animation-delay: 0.3s;
}

.footer-section:nth-child(5) {
  animation-delay: 0.4s;
}

/* ===== PRINT STYLES PARA FOOTER ===== */
@media print {
  .footer-institucional {
    display: none !important;
  }
}

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

.header-institucional {
  position: relative;
  z-index: 1050;
  overflow: visible !important;
}

.header-institucional .container {
  overflow: visible !important;
}

.header-institucional .row {
  overflow: visible !important;
}

.header-institucional .col-lg-8 {
  overflow: visible !important;
}

/* ===== BARRA SUPERIOR ===== */

.header-top {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: visible;
  z-index: 1050;
}

.bg-primary-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, #069 100%) !important;
}

.text-primary-light {
  color: rgba(255, 255, 255, 0.8) !important;
}

.header-link {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  font-size: var(--font-size-sm);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem !important;
  border-radius: 0.25rem;
}

.header-link:hover {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-1px);
}

.header-link:focus {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* ===== MENU NAVEGAÇÃO BARRA SUPERIOR - BOOTSTRAP 5 ===== */

/* Navbar superior */
.header-top .navbar {
  overflow: visible !important;
}

.header-top .navbar-nav {
  align-items: center;
  overflow: visible !important;
}

.header-top .nav-item {
  position: relative;
  z-index: 1051;
}

.header-top .nav-item.dropdown {
  position: relative;
  overflow: visible !important;
}

.header-top .nav-link.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transition: transform 0.15s ease-in-out;
}

.header-top .nav-link.dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu-header {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  min-width: 200px;
  z-index: 9999 !important;
  position: absolute !important;
  background-color: white;
  margin-top: 0.125rem;
  animation: fadeIn 0.15s ease-in-out;
  top: 100% !important;
  left: 0 !important;
  transform: translateZ(0) !important;
  will-change: transform !important;
}

/* Força o dropdown a aparecer por cima */
.header-top .dropdown.show .dropdown-menu-header {
  z-index: 9999 !important;
  position: fixed !important;
  transform: none !important;
}

.dropdown-menu-header .dropdown-item {
  color: var(--gray-700) !important;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  transition: all 0.15s ease-in-out;
  border-radius: 0.25rem;
  margin: 0.125rem 0.5rem;
}

.dropdown-menu-header .dropdown-item:hover,
.dropdown-menu-header .dropdown-item:focus {
  color: var(--primary-color) !important;
  background-color: var(--gray-100) !important;
  transform: translateX(2px);
}

.dropdown-menu-header .dropdown-item:active {
  color: var(--white) !important;
  background-color: var(--primary-color) !important;
}

.header-info {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-xs);
}

/* ===== HEADER PRINCIPAL ===== */

.header-main {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  z-index: 1030;
}

/* Logo */
.logo-container {
  transition: transform var(--transition-normal);
}

.logo-container:hover {
  transform: scale(1.02);
}

.logo-img {
  max-height: 70px;
  width: auto;
}

/* Botões de Ação */
.action-buttons {
  gap: var(--spacing-lg);
}

.btn-action {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius-xl);
  text-decoration: none;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.btn-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn-action:hover::before {
  left: 100%;
}

.btn-action:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-transparencia {
  color: var(--primary-color);
  border-color: rgba(30, 64, 175, 0.2);
}

.btn-transparencia:hover {
  background: rgba(30, 64, 175, 0.05);
  border-color: var(--primary-color);
  color: var(--primary-dark);
}

.btn-informacao {
  color: var(--success-color);
  border-color: rgba(16, 185, 129, 0.2);
}

.btn-informacao:hover {
  background: rgba(16, 185, 129, 0.05);
  border-color: var(--success-color);
  color: #059669;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  transition: all var(--transition-normal);
}

.btn-transparencia .btn-icon {
  background: rgba(30, 64, 175, 0.1);
}

.btn-informacao .btn-icon {
  background: rgba(16, 185, 129, 0.1);
}

.btn-esic {
  color: #d97706;
  border-color: rgba(251, 191, 36, 0.3);
}

.btn-esic:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: #f59e0b;
  color: #92400e;
}

.btn-esic .btn-icon {
  background: rgba(251, 191, 36, 0.15);
}

.btn-action:hover .btn-icon {
  transform: scale(1.1);
}

/* Botões Menores */
.btn-action-sm {
  padding: var(--spacing-sm) var(--spacing-md);
  gap: var(--spacing-sm);
  min-width: 110px;
}

.btn-action-sm .btn-icon {
  width: 35px;
  height: 35px;
  font-size: 1rem;
}

.btn-action-sm .btn-title,
.btn-action-sm .btn-subtitle {
  font-size: 0.8rem;
  line-height: 1.1;
}

.btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.btn-title,
.btn-subtitle {
  font-weight: 600;
  font-size: var(--font-size-sm);
}

/* Redes Sociais */
.social-media {
  gap: var(--spacing-sm);
}

.social-label {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  font-weight: 500;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all var(--transition-normal);
  font-size: var(--font-size-lg);
}

.social-link.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

/* Botão Mobile */
.navbar-toggler {
  border: none;
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-md);
  background: var(--gray-100);
  transition: all var(--transition-normal);
}

.navbar-toggler:hover {
  background: var(--gray-200);
  transform: scale(1.05);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 2px var(--primary-color);
}

.navbar-toggler-icon i {
  font-size: var(--font-size-lg);
  color: var(--gray-700);
}

/* Ações Mobile */
.mobile-actions {
  gap: var(--spacing-sm);
}

/* ===== MENU PRINCIPAL ULTRA ELEGANTE ===== */

/* ===== NAVBAR BOOTSTRAP PADRÃO ===== */
.main-navigation {
  background-color: var(--white) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.main-navigation.sticky-top {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95) !important;
}

/* ===== NAVBAR LINKS BOOTSTRAP PADRÃO ===== */
.navbar-nav .nav-link {
  color: var(--gray-700) !important;
  font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary-color) !important;
  background-color: transparent !important;
}

.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link.active,
.navbar-nav .nav-item.current-menu-item .nav-link {
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* ===== DROPDOWN BOOTSTRAP 5 ===== */
.navbar-nav .dropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  margin-top: 0.125rem;
  animation: fadeIn 0.15s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== DROPDOWN ITEMS BOOTSTRAP 5 ===== */
.navbar-nav .dropdown-item {
  color: var(--gray-700) !important;
  padding: 0.5rem 1rem;
  transition: all 0.15s ease-in-out;
  border-radius: 0.25rem;
  margin: 0.125rem 0.5rem;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  color: var(--primary-color) !important;
  background-color: transparent !important;
  transform: none !important;
}

.navbar-nav .dropdown-item:active {
  color: var(--white) !important;
  background-color: var(--primary-color) !important;
}

.navbar-nav .dropdown-item.disabled {
  color: var(--gray-400) !important;
  background-color: transparent !important;
  cursor: not-allowed;
}

/* ===== DROPDOWN TOGGLE BOOTSTRAP 5 ===== */
.navbar-nav .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transition: transform 0.15s ease-in-out;
}

.navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* ===== DROPDOWN HEADER BOOTSTRAP 5 ===== */
.navbar-nav .dropdown-header {
  display: block;
  padding: 0.5rem 1rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--gray-600);
  white-space: nowrap;
  font-weight: 600;
}

/* ===== DROPDOWN DIVIDER BOOTSTRAP 5 ===== */
.navbar-nav .dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/* Busca no Menu Elegante */
.navbar-search {
  margin-left: 1.5rem;
  position: relative;
}

.navbar-search::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 30px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.3) 0%, rgba(30, 64, 175, 0.1) 100%);
  border-radius: 1px;
}

.search-input {
  border-radius: 25px 0 0 25px;
  border: 2px solid rgba(30, 64, 175, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-width: 200px;
  background: rgba(248, 250, 252, 0.5);
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1), 0 4px 15px rgba(30, 64, 175, 0.1);
  background: white;
  transform: scale(1.02);
}

.search-form .btn {
  border-radius: 0 25px 25px 0;
  border: 2px solid var(--primary-color);
  border-left: none;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0.6rem 1.2rem;
}

.search-form .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

/* ===== MELHORIAS MENU PROFISSIONAL ===== */

/* Container do Menu */
.navbar-container {
  position: relative;
}

/* Brand Mobile Melhorado */
.navbar-brand-container .navbar-brand {
  text-decoration: none;
  transition: all var(--transition-normal);
}

.navbar-brand .brand-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--font-size-lg);
  transition: all var(--transition-normal);
}

.navbar-brand:hover .brand-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-md);
}

.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar-brand .brand-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-brand .brand-subtitle {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
}

/* Toggle Button Customizado */
.navbar-toggler {
  background: transparent !important;
  border: none !important;
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 50% !important;
  transition: all var(--transition-normal);
}

.navbar-toggler:hover {
  background: rgba(30, 64, 175, 0.1) !important;
  transform: scale(1.05);
}

.navbar-toggler-icon-custom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 18px;
  position: relative;
}

.toggler-line {
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: all var(--transition-normal);
  margin: 2px 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Utilitários do Menu */
.navbar-utilities {
  position: relative;
  gap: var(--spacing-md);
}

/* Busca Avançada */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.navbar-search .search-input {
  border: 2px solid var(--gray-200);
  border-radius: 25px;
  padding: 0.5rem 3rem 0.5rem 1rem;
  width: 250px;
  transition: all var(--transition-normal);
  background: var(--gray-50);
  font-size: 0.9rem;
}

.navbar-search .search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
  background: white;
  width: 300px;
  outline: none;
}

.navbar-search .search-btn {
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
  color: white;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.navbar-search .search-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-md);
}

/* Sugestões de Busca */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  margin-top: 0.5rem;
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}

.suggestions-header {
  padding: 0.75rem 1rem;
  background: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.suggestions-list {
  padding: 0.5rem 0;
}

/* Acesso Rápido */
.quick-access-btn {
  border-radius: 20px !important;
  font-weight: 500;
  transition: all var(--transition-normal);
  border-width: 2px;
}

.quick-access-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.quick-access-menu {
  border: none;
  box-shadow: var(--shadow-xl);
  border-radius: var(--border-radius-lg);
  padding: 0.5rem 0;
  min-width: 200px;
  animation: dropdownFadeIn var(--transition-normal) ease;
}

.quick-access-menu .dropdown-header {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
}

.quick-access-menu .dropdown-item {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  border-left: 3px solid transparent;
}

.quick-access-menu .dropdown-item:hover {
  background: rgba(30, 64, 175, 0.1);
  border-left-color: var(--primary-color);
  transform: translateX(3px);
}

/* Botão de Acessibilidade */
.accessibility-toggle {
  border-radius: 20px !important;
  font-weight: 500;
  transition: all var(--transition-normal);
  border-width: 2px;
  position: relative;
}

.accessibility-toggle:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-sm);
}

.accessibility-toggle::after {
  content: 'Ferramentas de Acessibilidade';
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-900);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  z-index: 1000;
}

.accessibility-toggle:hover::after {
  opacity: 1;
}

/* Seletor de Idiomas */
.language-btn {
  border-radius: 20px !important;
  transition: all var(--transition-normal);
}

.language-btn:hover {
  background: rgba(30, 64, 175, 0.1) !important;
  color: var(--primary-color) !important;
}

.language-menu {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius-lg);
  min-width: 150px;
}

.language-menu .dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
}

.language-menu .dropdown-item.active {
  background: rgba(30, 64, 175, 0.1);
  color: var(--primary-color);
  font-weight: 600;
}

.language-menu .dropdown-item:hover {
  background: rgba(30, 64, 175, 0.1);
}

/* Busca Mobile */
.mobile-search {
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}

.search-form-mobile .form-control {
  border-radius: 20px 0 0 20px;
  border-right: none;
  padding: 0.6rem 1rem;
}

.search-form-mobile .btn {
  border-radius: 0 20px 20px 0;
  padding: 0.6rem 1.2rem;
}

/* Acesso Rápido Mobile */
.mobile-quick-access {
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}

.accessibility-toggle-mobile {
  transition: all var(--transition-normal);
}

.accessibility-toggle-mobile:hover {
  transform: scale(1.02);
}

.mobile-quick-access .btn {
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all var(--transition-normal);
}

.mobile-quick-access .btn i {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.mobile-quick-access .btn small {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}

.mobile-quick-access .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Estilos sticky removidos - usando Bootstrap padrão */

/* ===== SELO DE ACESSIBILIDADE ===== */

.accessibility-seal {
  position: fixed;
  top: 50%;
  right: var(--spacing-lg);
  transform: translateY(-50%);
  z-index: var(--z-tooltip);
  background: var(--success-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.accessibility-seal:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-xl);
  background: #059669;
}

.accessibility-seal:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* ========================================
   RESPONSIVIDADE
======================================== */

/* Tablet */
@media (max-width: 991.98px) {
  .logo-img {
    max-height: 60px;
  }
  
  .btn-action {
    padding: var(--spacing-sm) var(--spacing-md);
    gap: var(--spacing-sm);
  }
  
  .btn-icon {
    width: 35px;
    height: 35px;
  }
  
  .btn-title,
  .btn-subtitle {
    font-size: var(--font-size-xs);
  }
  
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0.5rem;
    margin-left: 1rem;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
  }
  
  .navbar-nav .nav-link {
    padding: 1rem !important;
    border-bottom: 1px solid rgba(30, 64, 175, 0.1);
    margin: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
  }
  
  .navbar-nav .nav-link::after {
    display: none;
  }
  
  .navbar-nav .nav-link:hover {
    background: transparent !important;
    transform: none;
    box-shadow: none;
  }
  
  .navbar-nav .dropdown-item {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0.5rem !important;
    border-radius: 0.375rem !important;
    font-size: 0.9rem !important;
  }
  
  .navbar-nav .dropdown-item:hover {
    background-color: transparent !important;
    transform: none !important;
  }
  
  .navbar-nav .dropdown-toggle::after {
    float: right;
    margin-top: 0.5rem;
  }
  
  .navbar-collapse {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    margin-top: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-lg);
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .header-top {
    padding: var(--spacing-md) 0;
  }
  
  .logo-img {
    max-height: 50px;
  }
  
  .accessibility-seal {
    right: var(--spacing-md);
    width: 45px;
    height: 45px;
    font-size: var(--font-size-base);
  }
  
  .mobile-actions .btn {
    font-size: var(--font-size-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .mobile-actions .btn i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
  }
  
  .mobile-actions .btn small {
    font-size: 0.75rem;
    font-weight: 500;
  }
}

/* ========================================
   ANIMAÇÕES E EFEITOS ESPECIAIS
======================================== */

/* Animação de entrada para elementos */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Efeito de loading para botões */
.btn-loading {
  position: relative;
  pointer-events: none;
}

.btn-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Efeito de pulso para elementos importantes */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* ========================================
   UTILITÁRIOS E CLASSES AUXILIARES
======================================== */

/* Espaçamentos */
.spacing-xs { margin: var(--spacing-xs); }
.spacing-sm { margin: var(--spacing-sm); }
.spacing-md { margin: var(--spacing-md); }
.spacing-lg { margin: var(--spacing-lg); }
.spacing-xl { margin: var(--spacing-xl); }

/* Cores de texto */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-danger { color: var(--danger-color) !important; }

/* Garantir que os ícones Font Awesome sejam exibidos globalmente */
.fas, .far, .fal, .fab, .fa {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome" !important;
  font-style: normal !important;
  font-weight: 900 !important;
  display: inline-block !important;
}

.far {
  font-weight: 400 !important;
}

.fal {
  font-weight: 300 !important;
}

.fab {
  font-weight: 400 !important;
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
}

/* Backgrounds */
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-light { background-color: var(--gray-100) !important; }

/* Bordas */
.border-primary { border-color: var(--primary-color) !important; }
.border-radius-sm { border-radius: var(--border-radius-sm) !important; }
.border-radius-md { border-radius: var(--border-radius-md) !important; }
.border-radius-lg { border-radius: var(--border-radius-lg) !important; }

/* Sombras */
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

/* Transições */
.transition-fast { transition: all var(--transition-fast) !important; }
.transition-normal { transition: all var(--transition-normal) !important; }
.transition-slow { transition: all var(--transition-slow) !important; }

/* ========================================
   IMPRESSÃO
======================================== */

@media print {
  .header-top,
  .accessibility-seal,
  .navbar-search,
  .mobile-actions {
    display: none !important;
  }
  
  .header-main {
    box-shadow: none;
    border-bottom: 2px solid var(--gray-800);
  }
  
  .main-navigation {
    background: var(--white) !important;
    box-shadow: none;
  }
}

/* ========================================
   COMPATIBILIDADE BOOTSTRAP 5 + NAVWALKER
======================================== */

/* Garantir que os itens do menu tenham as classes corretas */
.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .nav-item .nav-link {
  display: block;
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/* Dropdowns Bootstrap 5 melhorados */
.navbar-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 10rem;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-clip: padding-box;
}

.navbar-nav .dropdown-menu.show {
  display: block !important;
}

/* Melhorias específicas para o design moderno - APENAS DESKTOP */
@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
  }
}

/* Animações suaves para dropdowns */
.navbar-nav .dropdown-menu {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.navbar-nav .dropdown-menu.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto;
}

/* Hover apenas no desktop */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto;
  }
}

/* Estados ativos melhorados */
.navbar-nav .nav-item.current-menu-item > .nav-link,
.navbar-nav .nav-item.current-menu-parent > .nav-link,
.navbar-nav .nav-item.current-menu-ancestor > .nav-link,
.navbar-nav .nav-item.active > .nav-link {
  color: var(--primary-color) !important;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.12) 0%, 
    rgba(30, 64, 175, 0.08) 50%,
    rgba(59, 130, 246, 0.12) 100%) !important;
  transform: translateY(-2px) !important;
}

.navbar-nav .nav-item.current-menu-item > .nav-link::before,
.navbar-nav .nav-item.current-menu-parent > .nav-link::before,
.navbar-nav .nav-item.current-menu-ancestor > .nav-link::before,
.navbar-nav .nav-item.active > .nav-link::before {
  left: 0 !important;
}

.navbar-nav .nav-item.current-menu-item > .nav-link::after,
.navbar-nav .nav-item.current-menu-parent > .nav-link::after,
.navbar-nav .nav-item.current-menu-ancestor > .nav-link::after,
.navbar-nav .nav-item.active > .nav-link::after {
  transform: translateX(-50%) scaleX(1) !important;
}

/* Responsive melhorado */
@media (max-width: 991.98px) {
  .navbar-nav .dropdown-menu {
    position: static !important;
    float: none !important;
    width: auto !important;
    margin-top: 0 !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    display: none !important; /* Esconder dropdowns por padrão no mobile */
  }
  
  /* Mostrar dropdowns apenas quando ativo */
  .navbar-nav .dropdown-menu.show {
    display: block !important;
  }
  
  .navbar-nav .dropdown-item {
    padding-left: 2rem !important;
    font-size: 0.9rem !important;
  }
  
  .navbar-nav .dropdown-menu::before,
  .navbar-nav .dropdown-menu::after {
    display: none !important;
  }
}

/* ========================================
   PAGE.PHP - PÁGINA MODERNA
======================================== */

/* ===== BREADCRUMB MODERNO ===== */
.breadcrumb-section {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
  border-bottom: 1px solid var(--gray-200);
}

.modern-breadcrumb {
  background: transparent;
  margin: 0;
  padding: 0;
}

.modern-breadcrumb .breadcrumb-item {
  font-size: var(--font-size-sm);
}

.breadcrumb-link {
  color: var(--gray-600) !important;
  text-decoration: none;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
}

.breadcrumb-link:hover {
  color: var(--primary-color) !important;
  transform: translateX(2px);
}

.breadcrumb-item.active {
  color: var(--gray-800) !important;
  font-weight: 500;
}

.page-meta {
  gap: 1rem;
}

.page-actions .btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 0.25rem;
}

/* ===== CONTEÚDO PRINCIPAL ===== */
.main-content {
  min-height: 60vh;
}

.content-article {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  margin-bottom: 2rem;
}

/* ===== CABEÇALHO DA PÁGINA ===== */
.page-header {
  position: relative;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--gray-100);
}

.page-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  line-height: 1.2;
}

.page-excerpt .lead {
  font-size: var(--font-size-lg);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.page-meta-info {
  border-top: 1px solid var(--gray-100);
  padding-top: 1rem;
}

.meta-item {
  display: flex;
  align-items: center;
  font-size: var(--font-size-sm);
  color: var(--gray-600);
}

.meta-item i {
  width: 16px;
  text-align: center;
}

/* ===== CONTEÚDO DA PÁGINA ===== */
.page-content {
  margin: 2rem 0;
}

.content-wrapper {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--gray-700);
}

.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
  color: var(--gray-800);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.content-wrapper h1 { font-size: var(--font-size-3xl); }
.content-wrapper h2 { font-size: var(--font-size-2xl); }
.content-wrapper h3 { font-size: var(--font-size-xl); }
.content-wrapper h4 { font-size: var(--font-size-lg); }

.content-wrapper p {
  margin-bottom: 1.5rem;
}

.content-wrapper ul,
.content-wrapper ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-wrapper li {
  margin-bottom: 0.5rem;
}

.content-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.content-wrapper blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--gray-50);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  font-style: italic;
}

.content-wrapper code {
  background: var(--gray-100);
  padding: 0.125rem 0.375rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.875em;
  color: var(--gray-800);
}

.content-wrapper pre {
  background: var(--gray-800);
  color: white;
  padding: 1rem;
  border-radius: var(--border-radius-md);
  overflow-x: auto;
  margin: 1.5rem 0;
}

.content-wrapper pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

/* ===== PAGINAÇÃO DE CONTEÚDO ===== */
.page-links {
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
  text-align: center;
}

.page-links-title {
  font-weight: 600;
  margin-right: 1rem;
  color: var(--gray-700);
}

.page-number {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  margin: 0 0.25rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-normal);
}

.page-number:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== SEÇÃO DE COMPARTILHAMENTO ===== */
.share-section {
  background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
  border: 1px solid var(--gray-200);
}

.share-title {
  color: var(--gray-800);
  font-weight: 600;
}

.share-buttons {
  gap: 0.5rem;
}

.btn-facebook {
  background: #1877f2;
  border-color: #1877f2;
  color: white;
}

.btn-facebook:hover {
  background: #166fe5;
  border-color: #166fe5;
  color: white;
}

.btn-twitter {
  background: #1da1f2;
  border-color: #1da1f2;
  color: white;
}

.btn-twitter:hover {
  background: #0d8bd9;
  border-color: #0d8bd9;
  color: white;
}

.btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  background: #128c7e;
  border-color: #128c7e;
  color: white;
}

/* ===== NAVEGAÇÃO ENTRE PÁGINAS ===== */
.page-navigation {
  margin-top: 2rem;
}

.nav-link-card {
  display: block;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  transition: all var(--transition-normal);
  color: inherit;
}

.nav-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
  color: inherit;
  text-decoration: none;
}

.nav-direction {
  font-size: var(--font-size-sm);
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.nav-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
}

.next-page .nav-direction {
  justify-content: flex-end;
}

/* ===== ESTADO DE ERRO ===== */
.no-content {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.no-content-icon i {
  opacity: 0.5;
}

/* ========================================
   SIDEBAR MODERNA
======================================== */

.sidebar-container {
  position: sticky;
  top: 2rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
}

.sidebar-container::-webkit-scrollbar {
  width: 4px;
}

.sidebar-container::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-container::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 2px;
}

.sidebar-container::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* ===== WIDGETS GERAIS ===== */
.sidebar-widget {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  overflow: hidden;
}

.widget-header {
  background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.widget-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
  display: flex;
  align-items: center;
}

.widget-content {
  padding: 1.5rem;
}

/* ===== WIDGET DE BUSCA ===== */
.search-input-group {
  position: relative;
  display: flex;
}

.search-input-sidebar {
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  padding-right: 3rem;
}

.search-btn-sidebar {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 0.5rem 1rem;
}

.search-suggestions-sidebar {
  margin-top: 0.75rem;
  text-align: center;
}

/* ===== WIDGET DE ACESSO RÁPIDO ===== */
.quick-access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quick-access-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--border-radius-md);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.quick-access-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-200);
  color: inherit;
  text-decoration: none;
}

.quick-access-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--font-size-lg);
  margin-bottom: 0.5rem;
}

.quick-access-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.quick-access-title {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--gray-700);
}

.quick-access-subtitle {
  font-size: var(--font-size-xs);
  color: var(--gray-600);
}

/* ===== LISTAS DA SIDEBAR ===== */
.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list-item {
  border-bottom: 1px solid var(--gray-100);
}

.sidebar-list-item:last-child {
  border-bottom: none;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  color: var(--gray-700) !important;
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: all var(--transition-normal);
}

.sidebar-link:hover {
  color: var(--primary-color) !important;
  transform: translateX(5px);
  text-decoration: none;
}

.sidebar-link i {
  width: 16px;
  text-align: center;
  opacity: 0.7;
  transition: all var(--transition-normal);
}

.sidebar-link:hover i {
  opacity: 1;
  color: var(--primary-color);
}

/* ===== WIDGET DE DOCUMENTOS ===== */
.document-link {
  justify-content: space-between;
  align-items: center;
}

.document-badge {
  background: var(--gray-200);
  color: var(--gray-700);
  font-size: var(--font-size-xs);
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  margin-left: auto;
}

/* ===== WIDGET DE NOTÍCIAS RECENTES ===== */
.recent-posts-list {
  margin-bottom: 1rem;
}

.recent-post-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.recent-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-post-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.recent-post-link {
  color: var(--gray-800) !important;
  text-decoration: none;
  transition: color var(--transition-normal);
}

.recent-post-link:hover {
  color: var(--primary-color) !important;
}

.recent-post-meta {
  margin-bottom: 0.5rem;
}

.recent-post-excerpt {
  font-size: var(--font-size-xs);
  color: var(--gray-600);
  line-height: 1.4;
  margin: 0;
}

/* ===== WIDGET DE CATEGORIAS ===== */
.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.category-item {
  display: block;
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.category-item:hover {
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.category-content {
  text-align: center;
}

.category-name {
  font-size: var(--font-size-xs);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.category-count {
  font-size: var(--font-size-xs);
  opacity: 0.8;
}

/* ===== WIDGET DE REDES SOCIAIS ===== */
.social-buttons-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-btn-sidebar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: var(--border-radius-md);
  text-decoration: none;
  color: var(--gray-700);
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.social-btn-sidebar:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: white;
}

.social-btn-sidebar.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn-sidebar.facebook:hover {
  background: #1877f2;
}

.social-btn-sidebar.youtube:hover {
  background: #ff0000;
}

.social-btn-sidebar i {
  font-size: var(--font-size-lg);
  width: 24px;
  text-align: center;
}

.social-btn-sidebar span {
  font-weight: 600;
  font-size: var(--font-size-sm);
}

.social-btn-sidebar small {
  font-size: var(--font-size-xs);
  opacity: 0.8;
  margin-top: 0.125rem;
}

/* ===== WIDGET DE CONTATO ===== */
.contact-info-sidebar {
  margin-bottom: 1rem;
}

.contact-item-sidebar {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-item-sidebar:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  flex-shrink: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-details strong {
  font-size: var(--font-size-sm);
  color: var(--gray-800);
  font-weight: 600;
}

.contact-details span {
  font-size: var(--font-size-xs);
  color: var(--gray-600);
}

.contact-actions-sidebar .btn {
  font-size: var(--font-size-sm);
  padding: 0.5rem 1rem;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 991.98px) {
  .sidebar-container {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
  
  .quick-access-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
  
  .quick-access-item {
    padding: 0.75rem 0.5rem;
  }
  
  .quick-access-icon {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-base);
  }
  
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767.98px) {
  .content-article {
    padding: 1.5rem;
  }
  
  .page-title {
    font-size: var(--font-size-2xl);
  }
  
  .page-meta {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem;
  }
  
  .page-actions {
    order: -1;
    align-self: flex-end;
  }
  
  .quick-access-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .categories-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .page-title {
    font-size: var(--font-size-xl);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .share-buttons {
    flex-direction: column;
  }
  
  .nav-link-card {
    padding: 1rem;
  }
  
  .nav-title {
    font-size: var(--font-size-base);
  }
}

/* ========================================
   SINGLE.PHP - POST INDIVIDUAL MODERNO
======================================== */

/* ===== ARTIGO DO POST ===== */
.post-article {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  margin-bottom: 2rem;
}

/* ===== CABEÇALHO DO POST ===== */
.post-header {
  position: relative;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--gray-100);
}

.post-category-badge {
  display: flex;
  justify-content: flex-start;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: white !important;
  text-decoration: none;
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-badge:hover {
  background: var(--primary-dark);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.category-badge i {
  font-size: var(--font-size-xs);
  opacity: 0.9;
}

/* Cores específicas para categorias */
.category-saude { background: var(--success-color) !important; }
.category-educacao { background: #6f42c1 !important; }
.category-cultura { background: #fd7e14 !important; }
.category-esportes { background: #20c997 !important; }
.category-social { background: #e83e8c !important; }

.post-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--gray-800);
  margin: 1.5rem 0 1rem 0;
  line-height: 1.2;
}

.post-excerpt .lead {
  font-size: var(--font-size-lg);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--gray-600);
  font-style: italic;
}

.post-meta-info {
  border-top: 1px solid var(--gray-100);
  padding-top: 1rem;
  margin-top: 1rem;
}

.meta-item {
  display: flex;
  align-items: center;
  font-size: var(--font-size-sm);
  color: var(--gray-600);
}

.meta-item i {
  width: 16px;
  text-align: center;
}

.meta-item strong {
  color: var(--gray-800);
}

/* ===== IMAGEM DESTACADA ===== */
.post-featured-image {
  position: relative;
  margin: 2rem 0;
}

.featured-image-container {
  position: relative;
  margin: 0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.featured-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.featured-image:hover {
  transform: scale(1.02);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 2rem 1.5rem 1rem;
  margin: 0;
}

.image-caption small {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== CONTEÚDO DO POST ===== */
.post-content {
  margin: 2rem 0;
}

.post-content .content-wrapper {
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--gray-700);
}

/* Estilos herdados do page.php para consistência */
.post-content .content-wrapper h1,
.post-content .content-wrapper h2,
.post-content .content-wrapper h3,
.post-content .content-wrapper h4,
.post-content .content-wrapper h5,
.post-content .content-wrapper h6 {
  color: var(--gray-800);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.post-content .content-wrapper h1 { font-size: var(--font-size-2xl); }
.post-content .content-wrapper h2 { font-size: var(--font-size-xl); }
.post-content .content-wrapper h3 { font-size: var(--font-size-lg); }

.post-content .content-wrapper p {
  margin-bottom: 1.5rem;
}

.post-content .content-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.post-content .content-wrapper blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  background: var(--gray-50);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  font-style: italic;
  position: relative;
}

.post-content .content-wrapper blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-color);
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  opacity: 0.3;
  font-family: Georgia, serif;
}

/* ===== PAGINAÇÃO DO POST ===== */
.post-pagination {
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
  text-align: center;
  margin-top: 2rem;
}

.pagination-title {
  font-weight: 600;
  margin-right: 1rem;
  color: var(--gray-700);
}

.post-pagination .page-number {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  margin: 0 0.25rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-normal);
}

.post-pagination .page-number:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== FOOTER DO POST ===== */
.post-footer {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  margin-top: 2rem;
}

.taxonomy-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.categories-list,
.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-tag {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--primary-color);
  color: white !important;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: all var(--transition-normal);
}

.category-tag:hover {
  background: var(--primary-dark);
  color: white !important;
  transform: translateY(-2px);
  text-decoration: none;
}

.tag-item {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: var(--gray-200);
  color: var(--gray-700) !important;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 500;
  transition: all var(--transition-normal);
}

.tag-item:hover {
  background: var(--gray-300);
  color: var(--gray-800) !important;
  transform: translateY(-1px);
  text-decoration: none;
}

/* ===== BOTÕES DE COMPARTILHAMENTO ===== */
.btn-telegram {
  background: #0088cc;
  border-color: #0088cc;
  color: white;
}

.btn-telegram:hover {
  background: #006699;
  border-color: #006699;
  color: white;
}

/* ===== POSTS RELACIONADOS ===== */
.related-posts {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  margin-bottom: 2rem;
}

.related-header {
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-100);
}

.related-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.related-post-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.related-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.related-post-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.related-post-card:hover .related-post-image img {
  transform: scale(1.1);
}

.related-post-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.related-post-meta {
  margin-bottom: 0.75rem;
}

.related-post-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.related-post-link {
  color: var(--gray-800) !important;
  text-decoration: none;
  transition: color var(--transition-normal);
}

.related-post-link:hover {
  color: var(--primary-color) !important;
}

.related-post-excerpt {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
}

.related-post-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ===== NAVEGAÇÃO ENTRE POSTS ===== */
.post-navigation {
  margin-top: 2rem;
}

.post-navigation .nav-link-card {
  display: block;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  transition: all var(--transition-normal);
  color: inherit;
  height: 100%;
}

.post-navigation .nav-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
  color: inherit;
  text-decoration: none;
}

.post-navigation .nav-direction {
  font-size: var(--font-size-sm);
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.post-navigation .nav-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.post-navigation .nav-meta {
  font-size: var(--font-size-xs);
  color: var(--gray-500);
}

.next-post .nav-direction {
  justify-content: flex-end;
}

/* ===== SEÇÃO DE COMENTÁRIOS ===== */
.comments-section {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}

.comments-container h3 {
  color: var(--gray-800);
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

/* ===== PROGRESS BAR DE LEITURA ===== */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
  z-index: 1051;
  transition: width 0.1s ease;
}

/* ===== RESPONSIVIDADE PARA POSTS ===== */
@media (max-width: 991.98px) {
  .post-article {
    padding: 1.5rem;
  }
  
  .post-title {
    font-size: var(--font-size-2xl);
  }
  
  .related-post-card {
    margin-bottom: 1rem;
  }
  
  .related-post-image {
    height: 150px;
  }
}

@media (max-width: 767.98px) {
  .post-article {
    padding: 1rem;
  }
  
  .post-title {
    font-size: var(--font-size-xl);
  }
  
  .post-meta {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem;
  }
  
  .post-actions {
    order: -1;
    align-self: flex-end;
  }
  
  .categories-list,
  .tags-list {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .related-posts {
    padding: 1rem;
  }
  
  .related-post-image {
    height: 120px;
  }
  
  .related-post-content {
    padding: 1rem;
  }
}

@media (max-width: 575.98px) {
  .post-title {
    font-size: var(--font-size-lg);
    line-height: 1.3;
  }
  
  .post-excerpt .lead {
    font-size: var(--font-size-base);
  }
  
  .post-meta-info {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .category-badge {
    font-size: var(--font-size-xs);
    padding: 0.375rem 0.75rem;
  }
  
  .share-buttons {
    flex-direction: column;
  }
  
  .share-buttons .btn {
    width: 100%;
  }
  
  .post-navigation .nav-link-card {
    padding: 1rem;
  }
  
  .post-navigation .nav-title {
    font-size: var(--font-size-base);
  }
}

/* ===== PRINT STYLES PARA POSTS ===== */
@media print {
  .post-actions,
  .share-section,
  .related-posts,
  .post-navigation,
  .comments-section,
  .reading-progress {
    display: none !important;
  }
  
  .post-article {
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .featured-image {
    max-height: 300px;
    object-fit: contain;
  }
}

/* ========================================
   PORTAL DA TRANSPARÊNCIA MODERNO
======================================== */

/* ===== HEADER TRANSPARÊNCIA ===== */
.transparency-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.transparency-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="30" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.5;
}

.header-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.transparency-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin: 0;
  color: white;
}

.transparency-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  margin: 0.5rem 0 0 0;
}

.transparency-description {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 1rem 0 0 0;
}

.transparency-stats {
  display: flex;
  justify-content: flex-end;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 200px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.stat-number {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: white;
  line-height: 1;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

/* ===== BARRA DE BUSCA ===== */
.transparency-search {
  border-bottom: 1px solid var(--gray-200);
}

.search-wrapper {
  position: relative;
}

.search-input-container {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gray-200);
  transition: all var(--transition-normal);
}

.search-input-container:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.search-icon {
  position: absolute;
  left: 1rem;
  color: var(--gray-400);
  font-size: 1.2rem;
  z-index: 2;
}

.search-input {
  flex: 1;
  border: none;
  padding: 1rem 1rem 1rem 3rem;
  font-size: var(--font-size-lg);
  background: transparent;
  border-radius: var(--border-radius-xl);
}

.search-input:focus {
  outline: none;
  box-shadow: none;
}

.search-button {
  margin: 0.25rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-lg);
  white-space: nowrap;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  z-index: 1000;
  display: none;
  max-height: 300px;
  overflow-y: auto;
}

.suggestion-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background-color var(--transition-normal);
  display: flex;
  align-items: center;
  font-size: var(--font-size-sm);
}

.suggestion-item:hover {
  background: var(--gray-50);
}

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

/* ===== SEÇÕES TRANSPARÊNCIA ===== */
.transparency-section {
  position: relative;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--gray-600);
  font-size: var(--font-size-base);
  margin: 0;
}

/* ===== ACESSO RÁPIDO ===== */
.quick-access-card {
  display: flex;
  align-items: center;
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  gap: 1rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.quick-access-card:hover {
  color: inherit;
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.quick-access-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.quick-access-content {
  flex: 1;
}

.quick-access-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 0.25rem 0;
}

.quick-access-desc {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  margin: 0;
}

.quick-access-arrow {
  color: var(--gray-400);
  font-size: 1.2rem;
  transition: all var(--transition-normal);
}

.quick-access-card:hover .quick-access-arrow {
  color: var(--primary-color);
  transform: translateX(4px);
}

/* ===== CARDS TRANSPARÊNCIA ===== */
.transparency-card {
  background: white;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.transparency-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.transparency-card.featured {
  border-color: var(--warning-color);
  background: linear-gradient(135deg, #fff9f0 0%, white 100%);
}

.transparency-card.featured:hover {
  border-color: var(--warning-color);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.2);
}

.transparency-card.compact {
  padding: 1.5rem;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  min-height: 100px;
}

.card-header {
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.card-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.card-badge {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-badge.featured {
  background: var(--warning-color);
  color: white;
}

.card-count {
  font-size: var(--font-size-xs);
  color: var(--gray-500);
  font-weight: 500;
}

.card-content {
  padding:  1.5rem 1.5rem 1.5rem 1.5rem;
  flex: 1;
}

.card-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.75rem;
}

.card-description {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

.card-footer {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}

.card-link {
  color: var(--primary-color);
  font-size: var(--font-size-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  transition: color var(--transition-normal);
}

.transparency-card:hover .card-link {
  color: var(--primary-dark);
}

/* ===== CARDS COMPACTOS ===== */
.card-icon-compact {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0;
}

.card-content-compact {
  flex: 1;
}

.card-title-compact {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 0.25rem 0;
}

.card-desc-compact {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  margin: 0;
}

/* ===== GRID ORÇAMENTÁRIO ===== */
.budget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.budget-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.budget-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.budget-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0;
}

.budget-content {
  flex: 1;
  min-width: 0;
}

.budget-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 0.25rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.budget-desc {
  font-size: var(--font-size-xs);
  color: var(--gray-600);
  margin: 0;
}

/* ===== CORES DOS ÍCONES ===== */
.bg-orange { background: #f97316; }
.bg-purple { background: #a855f7; }
.bg-indigo { background: #6366f1; }
.bg-teal { background: #14b8a6; }
.bg-cyan { background: #06b6d4; }
.bg-gray { background: #6b7280; }

/* ===== CARDS INFORMATIVOS ===== */
.info-card {
  background: white;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.info-header {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.info-content {
  flex: 1;
}

.info-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 0.75rem 0;
}

.info-description {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

.info-stats {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  font-size: var(--font-size-xs);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

/* ===== MODAL ESTATÍSTICAS ===== */
.stat-box {
  background: white;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition-normal);
}

.stat-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-box .stat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
}

.stat-box .stat-content {
  flex: 1;
}

.stat-box .stat-number {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1;
}

.stat-box .stat-label {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  margin-top: 0.25rem;
}

/* ===== RESPONSIVIDADE TRANSPARÊNCIA ===== */
@media (max-width: 991.98px) {
  .transparency-header {
    text-align: center;
  }
  
  .header-icon-wrapper {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
  }
  
  .transparency-stats {
    justify-content: center;
    margin-top: 2rem;
  }
  
  .budget-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 767.98px) {
  .transparency-title {
    font-size: var(--font-size-2xl);
  }
  
  .search-input-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-input {
    padding: 1rem;
    padding-left: 3rem;
  }
  
  .search-button {
    margin: 0.5rem;
    margin-top: 0;
  }
  
  .quick-access-card {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .quick-access-icon {
    width: 50px;
    height: 50px;
  }
  
  .budget-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
  }
  
  .budget-card {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .budget-icon {
    width: 40px;
    height: 40px;
  }
  
  .budget-title {
    white-space: normal;
    text-align: center;
  }
  
  .info-header {
    flex-direction: column;
    text-align: center;
  }
  
  .info-stats {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .transparency-title {
    font-size: var(--font-size-xl);
  }
  
  .header-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .stat-card {
    flex-direction: column;
    text-align: center;
    min-width: auto;
    padding: 1rem;
  }
  
  .search-icon {
    font-size: 1rem;
  }
  
  .search-input {
    font-size: var(--font-size-base);
  }
  
  .quick-access-card {
    padding: 0.75rem;
  }
  
  .transparency-card.compact {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .budget-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .budget-card {
    padding: 0.75rem;
  }
  
  .card-header {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .card-meta {
    text-align: center;
  }
  
  .card-content,
  .card-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* =============================================================================
   Hero Banner e Carousels Modernos
   ========================================================================== */

/* Hero Banner Principal */
.hero-banner {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.hero-banner .carousel {
   
}

@media (min-width: 768px) {
    .hero-banner .carousel {
       
    }
}

@media (min-width: 1200px) {
    .hero-banner .carousel {
       
    }
}

.hero-banner .carousel-item {
    height: 100%;
    position: relative;
}

.hero-banner .banner-image-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.hero-banner .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease-in-out;
}

.hero-banner .carousel-item:hover .banner-image {
    transform: scale(1.05);
}

.hero-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.7) 0%, rgba(59, 130, 246, 0.5) 100%);
    z-index: 1;
}

/* Controles do Carousel */
.hero-banner .carousel-control-prev,
.hero-banner .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.hero-banner .carousel-control-prev {
    left: 20px;
}

.hero-banner .carousel-control-next {
    right: 20px;
}

.hero-banner .carousel-control-prev:hover,
.hero-banner .carousel-control-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.hero-banner .carousel-control-prev-icon,
.hero-banner .carousel-control-next-icon {
    background-size: 100% 100%;
    width: 24px;
    height: 24px;
}

/* Indicadores */
.hero-banner .carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

.hero-banner .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    transition: all 0.3s ease;
}

.hero-banner .carousel-indicators button.active {
    background: white;
    transform: scale(1.2);
}

/* Carousel de Notícias */
.news-carousel-wrapper {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-carousel-wrapper .section-header {
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.news-carousel-wrapper .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
}

.news-carousel-wrapper .section-title i {
    color: var(--primary-light);
}

.news-carousel-wrapper #newsCarousel {
    position: relative;
}

.news-carousel-wrapper .carousel-item {
    padding: 0.5rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-overlay {
    opacity: 1;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.news-category {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 500;
}

.news-date {
    color: #666;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--primary-light);
}

.news-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.btn-news {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-news:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    color: white;
}

/* Controles do Carousel de Notícias */
.news-carousel-wrapper .carousel-control-prev,
.news-carousel-wrapper .carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.news-carousel-wrapper .carousel-control-prev {
    left: -20px;
}

.news-carousel-wrapper .carousel-control-next {
    right: -20px;
}

.news-carousel-wrapper .carousel-control-prev:hover,
.news-carousel-wrapper .carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.news-carousel-wrapper .carousel-control-prev-icon,
.news-carousel-wrapper .carousel-control-next-icon {
    background-size: 100% 100%;
    width: 20px;
    height: 20px;
}

.news-carousel-wrapper .carousel-indicators {
    bottom: -30px;
    margin-bottom: 0;
}

.news-carousel-wrapper .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(30, 64, 175, 0.3);
    border: none;
    transition: all 0.3s ease;
}

.news-carousel-wrapper .carousel-indicators button.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-banner .carousel {
        height: 300px;
    }
    
    .news-carousel-wrapper {
        padding: 1rem;
    }
    
    .news-carousel-wrapper .section-title {
        font-size: 1.2rem;
    }
}

/* =============================================================================
   Seção de Cards Informativos
   ========================================================================== */

.info-cards-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    z-index: 1;
}

.info-cards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(30,64,175,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.6;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.info-card-item {
    position: relative;
}

.info-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Layout Horizontal dos Cards */
.info-card-horizontal {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.info-card-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.info-card-horizontal:hover::before {
    left: 100%;
}

.info-card-horizontal:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

/* Ícone para layout horizontal */
.info-card-horizontal .card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

/* Centralizar pseudo-elemento ::before se existir */
.info-card-horizontal .card-icon-wrapper::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Ícone para layout horizontal */
.info-card-horizontal .card-icon {
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* Centralizar o ::before do Font Awesome */
.info-card-horizontal .card-icon::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Cores dos ícones - aplicadas no wrapper quando o ícone tem a classe correspondente */
.info-card-link .card-icon-wrapper:has(.transparency-icon),
.info-card-link .transparency-icon {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.info-card-link .card-icon-wrapper:has(.publications-icon),
.info-card-link .publications-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.info-card-link .card-icon-wrapper:has(.accounts-icon),
.info-card-link .accounts-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.info-card-link .card-icon-wrapper:has(.accountability-icon),
.info-card-link .accountability-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

/* Fallback para navegadores que não suportam :has() */
.info-card-link .transparency-icon ~ *,
.info-card-link .card-icon-wrapper {
    border-radius: 50%;
}

/* Aplicar background no wrapper baseado na classe do ícone */
.info-card-item:nth-child(1) .card-icon-wrapper {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.info-card-item:nth-child(2) .card-icon-wrapper {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.info-card-item:nth-child(3) .card-icon-wrapper {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.info-card-item:nth-child(4) .card-icon-wrapper {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

/* Efeitos hover para layout horizontal */
.info-card-horizontal:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.info-card-horizontal:hover .card-icon {
    transform: scale(1.1);
}

/* Conteúdo para layout horizontal */
.card-content-horizontal {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    min-width: 0;
}

/* Títulos para layout horizontal */
.info-card-horizontal .card-title-modern {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.info-card-horizontal .card-subtitle-modern {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-description-modern {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Seta para layout horizontal */
.info-card-horizontal .card-arrow {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.info-card-horizontal:hover .card-arrow {
    background: var(--primary-light);
    transform: translateX(5px) scale(1.1);
}

/* Nova versão horizontal - Design moderno v2 */
.info-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.info-card-horizontal-new {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-card-horizontal-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--primary-color, #3b82f6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card-horizontal-new:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #cbd5e1;
}

.info-card-horizontal-new:hover::before {
    opacity: 1;
}

/* Ícone - Versão v2 com centralização perfeita */
.card-icon-wrapper-new {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    background: transparent;
}

.card-icon-new {
    font-size: 1.5rem;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

/* Centralizar o ::before do Font Awesome perfeitamente */
.card-icon-new::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.info-card-horizontal-new:hover .card-icon-wrapper-new {
    transform: translateY(-2px);
}

.info-card-horizontal-new:hover .card-icon-new {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Cores dos ícones - Aplicadas apenas no ícone */
.transparency-icon-new {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1e40af 100%);
}

.publications-icon-new {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
}

.accounts-icon-new {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
}

.accountability-icon-new {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
}

/* Conteúdo - Versão v2 */
.card-content-new {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.card-title-new {
    font-size: 1.2rem;
    font-weight: 600;
    color: #334155;
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
}

.info-card-horizontal-new:hover .card-title-new {
    color: #1e293b;
}

/* Animações de entrada */
.info-card-item {
    animation: fadeInUp 0.6s ease-out;
}

.info-card-item:nth-child(1) { animation-delay: 0.1s; }
.info-card-item:nth-child(2) { animation-delay: 0.2s; }
.info-card-item:nth-child(3) { animation-delay: 0.3s; }
.info-card-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade - Versão v2 */
@media (max-width: 991.98px) {
    .info-cards-section {
        padding: 3rem 0;
    }
    
    .info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .info-card-horizontal-new {
        padding: 1.25rem;
        gap: 1.25rem;
    }
    
    .card-icon-wrapper-new {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }
    
    .card-icon-new {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }
    
    .card-title-new {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .info-cards-section {
        padding: 2rem 0;
    }
    
    .info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .info-card-horizontal-new {
        padding: 1.125rem;
        gap: 1rem;
        border-radius: 14px;
    }
    
    .card-icon-wrapper-new {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
    
    .card-icon-new {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .card-title-new {
        font-size: 1rem;
    }
}

/* Para telas muito pequenas (mobile) - cards em coluna única */
@media (max-width: 575.98px) {
    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card-horizontal-new {
        padding: 1.25rem;
        gap: 1.125rem;
    }
    
    .card-icon-wrapper-new {
        width: 52px;
        height: 52px;
    }
    
    .card-icon-new {
        width: 52px;
        height: 52px;
        font-size: 1.35rem;
    }
    
    .card-title-new {
        font-size: 1.1rem;
    }
}

/* Para telas médias-grandes (tablets em landscape) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .info-cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .info-card-horizontal-new {
        padding: 1.4rem;
        gap: 1.4rem;
    }
    
    .card-icon-wrapper-new {
        width: 54px;
        height: 54px;
    }
    
    .card-icon-new {
        width: 54px;
        height: 54px;
        font-size: 1.45rem;
    }
    
    .card-title-new {
        font-size: 1.15rem;
    }
}

/* Para telas muito grandes - garantir que os 4 cards fiquem na mesma linha */
@media (min-width: 1200px) {
    .info-cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .info-card-horizontal-new {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .card-icon-wrapper-new {
        width: 56px;
        height: 56px;
    }
    
    .card-icon-new {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}

/* =============================================================================
   Seção de Notícias
   ========================================================================== */

.news-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="newspattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(59,130,246,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23newspattern)"/></svg>') repeat;
    opacity: 0.4;
}

/* Cabeçalho da Seção */
.section-header-news {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.section-title-news {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-800);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title-news i {
    color: var(--primary-color);
    font-size: 2rem;
}

.section-subtitle-news {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin: 0.5rem 0 0 0;
    font-weight: 400;
}

.btn-news-all {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-news-all:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: white;
    text-decoration: none;
}

/* Notícia em Destaque */
.featured-news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.featured-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.featured-news-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.featured-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-news-card:hover .featured-news-image img {
    transform: scale(1.05);
}

.news-placeholder-featured {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 1.2rem;
    gap: 0.5rem;
}

.news-placeholder-featured i {
    font-size: 3rem;
    opacity: 0.6;
}

.featured-news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-news-card:hover .featured-news-overlay {
    opacity: 1;
}

.featured-news-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.featured-news-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.featured-news-category,
.featured-news-date {
    font-size: 0.9rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-news-category {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.featured-news-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.featured-news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-news-title a:hover {
    color: var(--primary-color);
}

.featured-news-excerpt {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.btn-read-more {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    align-self: flex-start;
    border: none;
}

.btn-read-more:hover {
    background: var(--primary-light);
    transform: translateX(5px);
    color: white;
    text-decoration: none;
}

/* Grid de Notícias Secundárias */
.secondary-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: 100%;
}

.secondary-news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.secondary-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.secondary-news-image {
    height: 120px;
    overflow: hidden;
    position: relative;
}

.secondary-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.secondary-news-card:hover .secondary-news-image img {
    transform: scale(1.05);
}

.news-placeholder-secondary {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 1.5rem;
}

.secondary-news-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.secondary-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.secondary-news-date {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
}

.secondary-news-category {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.secondary-news-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.secondary-news-title a {
    color: var(--gray-800);
    text-decoration: none;
    transition: color 0.3s ease;
}

.secondary-news-title a:hover {
    color: var(--primary-color);
}

/* Mais Notícias */
.more-news-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.more-news-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.more-news-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin: 0 auto;
    border-radius: 2px;
}

.more-news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.more-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.more-news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.more-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.more-news-card:hover .more-news-image img {
    transform: scale(1.05);
}

.news-placeholder-more {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 1rem;
    gap: 0.5rem;
}

.news-placeholder-more i {
    font-size: 2rem;
    opacity: 0.6;
}

.more-news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-news-card:hover .more-news-overlay {
    opacity: 1;
}

.news-link-overlay {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.news-link-overlay:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    color: white;
}

.more-news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.more-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.more-news-category {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.more-news-date {
    color: var(--gray-600);
    font-weight: 500;
}

.more-news-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    color: var(--gray-800);
}

.more-news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.more-news-title a:hover {
    color: var(--primary-color);
}

.more-news-excerpt {
    color: var(--gray-600);
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
}

/* Botão Ver Todas */
.btn-see-all-news {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s ease;
    border: none;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-see-all-news:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsividade */
@media (max-width: 991.98px) {
    .section-header-news {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .section-title-news {
        font-size: 2rem;
    }
    
    .secondary-news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .featured-news-image {
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .news-section {
        padding: 3rem 0;
    }
    
    .section-title-news {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section-title-news i {
        font-size: 1.5rem;
    }
    
    .featured-news-content {
        padding: 1.5rem;
    }
    
    .featured-news-title {
        font-size: 1.3rem;
    }
    
    .secondary-news-image {
        height: 100px;
    }
    
    .more-news-image {
        height: 180px;
    }
    
    .more-news-content {
        padding: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .section-title-news {
        font-size: 1.5rem;
    }
    
    .featured-news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .secondary-news-content {
        padding: 0.8rem;
    }
    
    .secondary-news-title {
        font-size: 0.9rem;
    }
    
    .more-news-title {
        font-size: 1.1rem;
    }
    
    .btn-see-all-news {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* =============================================================================
   Seção de Serviços Municipais
   ========================================================================== */

.services-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="servicespattern" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M0 20h40M20 0v40" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23servicespattern)"/></svg>') repeat;
    opacity: 0.3;
}

.services-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* =============================================================================
   Seção de Reels do Instagram
   ========================================================================== */

.instagram-reels-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.instagram-reels-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(59,130,246,0.12) 0%, transparent 55%),
                radial-gradient(circle at bottom right, rgba(16,185,129,0.12) 0%, transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

.instagram-reels-section .container {
    position: relative;
    z-index: 1;
}

.instagram-reels-header {
    margin-bottom: 2.5rem;
    gap: 1.5rem;
}

.instagram-reels-title-wrapper {
    max-width: 700px;
}

.instagram-reels-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.5rem;
}

.instagram-reels-title i {
    font-size: 1.8rem;
    background: radial-gradient(circle at 30% 30%, #facc15, #f97316, #ec4899, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.instagram-reels-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.btn-instagram-follow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(45deg, #f97316, #ec4899, #6366f1);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-instagram-follow i {
    font-size: 1.1rem;
}

.btn-instagram-follow:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.05);
}

.instagram-reels-row {
    row-gap: 1.75rem;
}

.instagram-reel-card {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 0.75rem;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.instagram-reel-card .instagram-media {
    margin: 0 auto !important;
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
}

.instagram-reel-card .instagram-media a {
    font-size: 0.9rem;
    color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .instagram-reels-header {
        flex-direction: column;
        align-items: flex-start !important;
    }
}

@media (max-width: 575.98px) {
    .instagram-reels-title {
        font-size: 1.6rem;
    }

    .instagram-reels-section {
        padding: 2.5rem 0;
    }
}

/* Cabeçalho da Seção */
.services-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.services-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.services-title i {
    font-size: 2.5rem;
    color: #fbbf24;
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.4));
}

.services-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.4);
}

/* Grid de Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-item {
    position: relative;
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Ícones dos Serviços */
.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-icon-wrapper i {
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Cores específicas para cada ícone */
.prefeito-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.secretarias-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.cidade-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.saude-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.escolas-icon {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.telefones-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
}

/* Conteúdo dos Serviços */
.service-content {
    flex: 1;
    min-width: 0;
}

.service-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.4rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-description {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

.service-card:hover .service-title {
    color: var(--primary-color);
}


/* Animações de entrada */
.service-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-item:nth-child(5) { animation-delay: 0.5s; }
.service-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 991.98px) {
    .services-section {
        padding: 4rem 0;
    }
    
    .services-title {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .services-title i {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-icon-wrapper {
        width: 55px;
        height: 55px;
    }
    
    .service-icon-wrapper i {
        font-size: 1.4rem;
    }
}

@media (max-width: 767.98px) {
    .services-section {
        padding: 3rem 0;
    }
    
    .services-title {
        font-size: 1.8rem;
    }
    
    .services-subtitle {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .services-title {
        font-size: 1.6rem;
    }
    
    .services-title i {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 1rem;
        gap: 0.875rem;
    }
    
    .service-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .service-icon-wrapper i {
        font-size: 1.3rem;
    }
    
    .service-title {
        font-size: 1rem;
    }
    
    .service-description {
        font-size: 0.8rem;
    }
}

/* Animações de entrada */
.service-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-item:nth-child(5) { animation-delay: 0.5s; }
.service-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Seção de Documentos e Publicações */
.documents-publications-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.documents-publications-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23cbd5e1" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23cbd5e1" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23cbd5e1" opacity="0.1"/><circle cx="20" cy="80" r="0.5" fill="%23cbd5e1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    z-index: 0;
}

.documents-publications-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.documents-publications-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.documents-publications-title i {
    color: #3b82f6;
    font-size: 1.8rem;
}

.documents-publications-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.documents-publications-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    margin: 0 auto;
    border-radius: 2px;
}

/* Bootstrap Grid - Forçar comportamento correto das colunas */
.documents-publications-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -15px !important;
    margin-left: -15px !important;
}

.documents-publications-section .col-lg-6 {
    position: relative !important;
    width: 100% !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
}

@media (min-width: 992px) {
    .documents-publications-section .col-lg-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* Cards de Documentos - SEM interferir no Bootstrap */
.documents-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    /* Garantir que não interfira no layout das colunas */
    width: auto !important;
    display: block !important;
}

.documents-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.documents-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.documents-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.fiscal-card .documents-card-title i {
    color: #3b82f6;
}

.publications-card .documents-card-title i {
    color: #f59e0b;
}

.documents-card-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* Navbar Toggle de Documentos */
.fiscal-nav-wrapper {
    position: relative;
    z-index: 1;
}

.fiscal-nav-pills {
    background: white;
    border-radius: 40px;
    padding: 0.3rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fiscal-nav-pills::-webkit-scrollbar {
    display: none;
}

.fiscal-nav-pills .nav-item {
    flex-shrink: 0;
}

.fiscal-nav-pills .nav-link {
    background: transparent;
    border: none;
    border-radius: 30px;
    padding: 0.5rem 1rem;
    margin: 0 0.1rem;
    font-weight: 600;
    font-size: 0.8rem;
    color: #64748b;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    overflow: hidden;
    outline: none;
}

.fiscal-nav-pills .nav-link i {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.fiscal-nav-pills .nav-link span {
    font-weight: 600;
}

.fiscal-nav-pills .nav-link:hover {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #1e293b;
    transform: translateY(-2px);
}

.fiscal-nav-pills .nav-link.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.fiscal-nav-pills .nav-link.active:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-2px);
}

/* Tab Content */
.fiscal-tab-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
}

.fiscal-content-wrapper {
    padding: 1.5rem;
}

.fiscal-content-header {
    text-align: center;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.fiscal-content-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.fiscal-content-title i {
    font-size: 1.3rem;
}

.fiscal-content-description {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Cores dos ícones */
.rgf-icon-color { color: #3b82f6; }
.rreo-icon-color { color: #10b981; }
.loa-icon-color { color: #f59e0b; }
.ldo-icon-color { color: #8b5cf6; }
.ppa-icon-color { color: #ef4444; }
.pcg-icon-color { color: #06b6d4; }

/* Lista de Documentos */
.fiscal-documents-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.fiscal-documents-list::-webkit-scrollbar {
    width: 4px;
}

.fiscal-documents-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
}

.fiscal-documents-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.fiscal-documents-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.fiscal-document-item {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.fiscal-document-item:hover {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.fiscal-doc-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fiscal-doc-icon i {
    font-size: 1rem;
    color: white;
}

.rgf-bg { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.rreo-bg { background: linear-gradient(135deg, #10b981, #059669); }
.loa-bg { background: linear-gradient(135deg, #f59e0b, #d97706); }
.ldo-bg { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.ppa-bg { background: linear-gradient(135deg, #ef4444, #dc2626); }
.pcg-bg { background: linear-gradient(135deg, #06b6d4, #0891b2); }

.fiscal-doc-info {
    flex: 1;
}

.fiscal-doc-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.fiscal-doc-meta-info {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.fiscal-doc-date-info {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #64748b;
}

.fiscal-doc-date-info i {
    color: #3b82f6;
    font-size: 0.7rem;
}

.fiscal-doc-competence-info {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #3730a3;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid #c7d2fe;
}

.fiscal-doc-actions {
    flex-shrink: 0;
}

.btn-fiscal-view {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.btn-fiscal-view:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
    color: white;
    text-decoration: none;
}

.btn-fiscal-view i {
    font-size: 0.7rem;
}

/* Estado Vazio */
.fiscal-empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: #94a3b8;
}

.fiscal-empty-state i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    opacity: 0.5;
}

.fiscal-empty-state p {
    font-size: 0.9rem;
    margin: 0;
}

/* Responsividade para Navbar Toggle */
@media (max-width: 991.98px) {
    .fiscal-documents-section {
        padding: 2.5rem 0;
    }
    
    .fiscal-documents-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .fiscal-documents-title i {
        font-size: 1.6rem;
    }
    
    .fiscal-nav-pills {
        padding: 0.25rem;
        margin-bottom: 1.2rem;
    }
    
    .fiscal-nav-pills .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .fiscal-content-wrapper {
        padding: 1.2rem;
    }
    
    .fiscal-content-title {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 0.4rem;
    }
    
    .fiscal-content-title i {
        font-size: 1.1rem;
    }
    
    .fiscal-document-item {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .fiscal-doc-icon {
        width: 35px;
        height: 35px;
    }
    
    .fiscal-doc-icon i {
        font-size: 0.9rem;
    }
    
    .fiscal-doc-name {
        font-size: 0.9rem;
    }
    
    .fiscal-doc-meta-info {
        flex-direction: column;
        gap: 0.4rem;
    }
}

@media (max-width: 767.98px) {
    .fiscal-documents-section {
        padding: 2rem 0;
    }
    
    .fiscal-documents-title {
        font-size: 1.6rem;
    }
    
    .fiscal-documents-subtitle {
        font-size: 0.9rem;
    }
    
    .fiscal-nav-pills {
        border-radius: 25px;
        padding: 0.2rem;
        margin-bottom: 1rem;
    }
    
    .fiscal-nav-pills .nav-link {
        padding: 0.35rem 0.7rem;
        font-size: 0.7rem;
        border-radius: 20px;
        margin: 0 0.05rem;
    }
    
    .fiscal-nav-pills .nav-link i {
        font-size: 0.75rem;
    }
    
    .fiscal-content-wrapper {
        padding: 1rem;
    }
    
    .fiscal-content-title {
        font-size: 1.1rem;
    }
    
    .fiscal-content-description {
        font-size: 0.8rem;
    }
    
    .fiscal-document-item {
        padding: 0.7rem;
        gap: 0.6rem;
        flex-direction: column;
        text-align: center;
    }
    
    .fiscal-doc-icon {
        width: 32px;
        height: 32px;
        margin: 0 auto;
    }
    
    .fiscal-doc-icon i {
        font-size: 0.8rem;
    }
    
    .fiscal-doc-info {
        width: 100%;
    }
    
    .fiscal-doc-name {
        font-size: 0.85rem;
        text-align: center;
    }
    
    .fiscal-doc-meta-info {
        justify-content: center;
    }
    
    .fiscal-doc-actions {
        width: 100%;
    }
    
    .btn-fiscal-view {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .fiscal-documents-title {
        font-size: 1.6rem;
    }
    
    .fiscal-documents-title i {
        font-size: 1.5rem;
    }
    
    .fiscal-nav-pills .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .fiscal-nav-pills .nav-link span {
        display: none;
    }
    
    .fiscal-nav-pills .nav-link i {
        font-size: 1rem;
    }
    
    .fiscal-content-wrapper {
        padding: 1rem;
    }
    
    .fiscal-content-title {
        font-size: 1.2rem;
    }
    
    .fiscal-content-title i {
        font-size: 1.1rem;
    }
    
    .fiscal-content-description {
        font-size: 0.85rem;
    }
    
    .fiscal-document-item {
        padding: 0.8rem;
    }
    
    .fiscal-doc-name {
        font-size: 0.9rem;
    }
    
    .btn-fiscal-view {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

.btn-see-all-docs {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.btn-see-all-docs::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-see-all-docs:hover::before {
    left: 100%;
}

.btn-see-all-docs:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    color: white;
    text-decoration: none;
}

.btn-see-all-docs i:last-child {
    transition: transform 0.3s ease;
}

.btn-see-all-docs:hover i:last-child {
    transform: translateX(4px);
}

/* Seção de Publicações */
.publications-nav-wrapper {
    position: relative;
    z-index: 1;
}

.publications-nav-pills {
    background: white;
    border-radius: 40px;
    padding: 0.3rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.publications-nav-pills::-webkit-scrollbar {
    display: none;
}

.publications-nav-pills .nav-item {
    flex-shrink: 0;
}

.publications-nav-pills .nav-link {
    background: transparent;
    border: none;
    border-radius: 30px;
    padding: 0.5rem 1rem;
    margin: 0 0.1rem;
    font-weight: 600;
    font-size: 0.8rem;
    color: #64748b;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    overflow: hidden;
    outline: none;
}

.publications-nav-pills .nav-link i {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.publications-nav-pills .nav-link span {
    font-weight: 600;
}

.publications-nav-pills .nav-link:hover {
    background: linear-gradient(135deg, #fef3c7, #fbbf24);
    color: #1e293b;
    transform: translateY(-2px);
}

.publications-nav-pills .nav-link.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.publications-nav-pills .nav-link.active:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
}

.publications-tab-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
}

.publications-content-wrapper {
    padding: 1.5rem;
}

.publications-content-header {
    text-align: center;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.publications-content-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.publications-content-title i {
    font-size: 1.3rem;
}

.publications-content-description {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Cores dos ícones de publicações */
.decretos-icon-color { color: #dc2626; }
.leis-icon-color { color: #f59e0b; }
.portarias-icon-color { color: #7c3aed; }

.publications-documents-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.publications-documents-list::-webkit-scrollbar {
    width: 4px;
}

.publications-documents-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
}

.publications-documents-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.publications-documents-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.publications-document-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.publications-document-item:hover {
    background: white;
    border-color: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.publications-doc-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.publications-doc-icon i {
    font-size: 1rem;
}

.decretos-bg { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.leis-bg { background: linear-gradient(135deg, #f59e0b, #d97706); }
.portarias-bg { background: linear-gradient(135deg, #7c3aed, #6d28d9); }

.publications-doc-info {
    flex: 1;
}

.publications-doc-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.publications-doc-meta-info {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
}

.publications-doc-date-info {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.publications-doc-date-info i {
    color: #94a3b8;
}

.publications-doc-number-info {
    color: #3b82f6;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
}

.publications-doc-actions {
    flex-shrink: 0;
}

.btn-publications-view {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.btn-publications-view:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-publications-view i {
    font-size: 0.8rem;
}

.publications-empty-state {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

.publications-empty-state i {
    font-size: 2rem;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.publications-empty-state p {
    margin: 0;
    font-size: 0.9rem;
}

.btn-see-all-publications {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-see-all-publications::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-see-all-publications:hover::before {
    left: 100%;
}

.btn-see-all-publications:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.btn-see-all-publications i:last-child {
    transition: transform 0.3s ease;
}

.btn-see-all-publications:hover i:last-child {
    transform: translateX(5px);
}

/* Apenas ajustes visuais - SEM interferir no Bootstrap Grid */
@media (min-width: 992px) {
    .fiscal-documents-list,
    .publications-documents-list {
        max-height: 300px;
        overflow-y: auto;
    }
}

/* Responsividade - apenas ajustes visuais */
@media (max-width: 991.98px) {
    .documents-publications-section {
        padding: 2rem 0;
    }
    
    .documents-publications-title {
        font-size: 1.8rem;
    }
    
    .documents-card-title {
        font-size: 1.2rem;
    }
    
    .publications-nav-pills .nav-link,
    .fiscal-nav-pills .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .documents-publications-title {
        font-size: 1.6rem;
    }
    
    .documents-card {
        padding: 1rem;
    }
    
    .publications-nav-pills .nav-link span,
    .fiscal-nav-pills .nav-link span {
        display: none;
    }
    
    .publications-nav-pills .nav-link i,
    .fiscal-nav-pills .nav-link i {
        font-size: 1rem;
    }
    
    .btn-see-all-docs,
    .btn-see-all-publications {
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }
}

/* Responsividade */

/* ========================================
   PÁGINA DE DECRETOS - ESTILOS ADICIONAIS
======================================== */

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Cabeçalho da Página */
.page-header-clean {
  position: relative;
  overflow: hidden;
}

.page-header-clean::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(10, 88, 202, 0.1) 100%);
  z-index: 0;
}

.header-content {
  position: relative;
  z-index: 1;
  animation: fadeIn 0.6s ease-out;
}

.page-title {
  position: relative;
  padding-bottom: 1rem;
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #0d6efd, #0a58ca);
  border-radius: 2px;
}

/* Tabela de Decretos */
.decretos-table-section {
  animation: fadeIn 0.8s ease-out;
}

.table-header {
  position: relative;
  overflow: hidden;
}

.table-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  z-index: 0;
}

.table-title,
.table-info {
  position: relative;
  z-index: 1;
}

.decretos-table thead th {
  position: relative;
  overflow: hidden;
}

.decretos-table thead th i {
  display: inline-block;
  margin-right: 0.5rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.decretos-table thead th:hover i {
  transform: scale(1.2);
  opacity: 1;
}

.decretos-table tbody tr {
  animation: slideIn 0.5s ease-out;
  animation-fill-mode: both;
}

.decretos-table tbody tr:nth-child(n) {
  animation-delay: calc(0.1s * var(--row-index, 0));
}

/* Badges e Elementos */
.number-badge {
  position: relative;
  overflow: hidden;
}

.number-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.number-badge:hover::before {
  left: 100%;
}

.exercise-badge {
  position: relative;
  overflow: hidden;
}

.exercise-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.exercise-badge:hover::before {
  left: 100%;
}

.description-content {
  position: relative;
  padding-left: 1rem;
}

.description-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #e9ecef, #dee2e6);
  border-radius: 3px;
}

/* Botão Ver Detalhes */
.btn-view-decreto {
  position: relative;
  overflow: hidden;
}

.btn-view-decreto::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-view-decreto:hover::before {
  left: 100%;
}

.btn-view-decreto i {
  transition: transform 0.3s ease;
}

.btn-view-decreto:hover i {
  transform: translateX(3px);
}

/* Estado Vazio */
.empty-state {
  animation: fadeIn 0.8s ease-out;
}

.empty-state i {
  animation: fadeIn 1s ease-out;
}

/* Responsividade */
@media (max-width: 991.98px) {
  .page-title::after {
    width: 40px;
  }
  
  .description-content::before {
    width: 2px;
  }
}

@media (max-width: 767.98px) {
  .page-title {
    text-align: center;
    padding-bottom: 0.8rem;
  }
  
  .page-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .description-content {
    padding-left: 0.8rem;
  }
  
  .description-content::before {
    width: 2px;
  }
}

/* ===== SEARCH PAGE STYLES ===== */
.search-results-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 60vh;
}

.search-title {
    color: var(--gray-800);
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.search-meta .badge {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}

.search-info {
    font-size: 1.1rem;
    color: var(--gray-600);
}

.result-card {
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.result-title a {
    color: var(--gray-800);
    font-weight: 600;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.result-title a:hover {
    color: var(--primary-color);
}

.result-type {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.no-results-icon {
    opacity: 0.6;
}

.search-suggestions ul {
    max-width: 400px;
    margin: 0 auto;
}

.search-again-form {
    background: var(--gray-100) !important;
    border: 1px solid rgba(0,0,0,0.1);
}

/* ===== MODERN SEARCH FORM STYLES ===== */
.modern-search-form {
    width: 100%;
    max-width: 100%;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.search-icon-wrapper {
    padding: 0 15px;
    display: flex;
    align-items: center;
    color: var(--gray-500);
    pointer-events: none;
}

.search-icon {
    font-size: 1rem;
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.search-input-group:focus-within .search-icon {
    color: var(--primary-color);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 0;
    font-size: 1rem;
    background: transparent;
    color: var(--gray-700);
}

.search-input::placeholder {
    color: var(--gray-400);
    font-style: italic;
}

.search-input:focus {
    box-shadow: none;
    border: none;
}

.search-submit-btn {
    border: none;
    background: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 0 50px 50px 0;
    margin: 0;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-submit-btn:hover {
    background: var(--primary-dark);
    transform: translateX(2px);
}

.search-submit-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.search-btn-text {
    font-size: 0.95rem;
}

/* Search form variations for different contexts */
.search-form.compact .search-input-group {
    border-radius: 25px;
}

.search-form.compact .search-submit-btn {
    padding: 8px 15px;
    border-radius: 0 25px 25px 0;
}

.search-form.large .search-input-group {
    border-radius: 60px;
}

.search-form.large .search-input {
    padding: 15px 0;
    font-size: 1.1rem;
}

.search-form.large .search-submit-btn {
    padding: 15px 25px;
    border-radius: 0 60px 60px 0;
}

/* Animation for search suggestions */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -10px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive adjustments for search */
@media (max-width: 767.98px) {
    .search-title {
        font-size: 1.5rem;
    }
    
    .search-info {
        font-size: 1rem;
    }
    
    .result-card {
        margin-bottom: 1rem;
    }
    
    .search-input-group {
        border-radius: 25px;
    }
    
    .search-submit-btn {
        padding: 10px 15px;
        border-radius: 0 25px 25px 0;
    }
    
    .search-btn-text {
        display: none;
    }
    
    .search-input {
        padding: 10px 0;
        font-size: 0.9rem;
    }
    
    .search-icon-wrapper {
        padding: 0 12px;
    }
}

@media (max-width: 575.98px) {
    .search-input::placeholder {
        font-size: 0.85rem;
    }
    
    .search-submit-btn {
        padding: 8px 12px;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .search-input-group {
        background: var(--gray-800);
        border-color: var(--gray-600);
    }
    
    .search-input {
        color: var(--gray-100);
    }
    
    .search-input::placeholder {
        color: var(--gray-400);
    }
}

/* ===== CATEGORY PAGE STYLES ===== */
.category-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 70vh;
}

.category-title {
    color: var(--gray-800);
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.category-type {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-count {
    font-size: 0.9rem;
}

.category-description {
    border-left: 4px solid var(--primary-color);
}

.category-description .description-content {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
}

/* Post Cards */
.post-card {
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.post-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-image-link:hover .post-image {
    transform: scale(1.05);
}

.post-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 1.5rem;
}

.post-image-link:hover .post-image-overlay {
    opacity: 1;
}

.post-title-link {
    color: var(--gray-800);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.post-title-link:hover {
    color: var(--primary-color);
}

.category-badge {
    background: var(--primary-color) !important;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-date {
    font-size: 0.9rem;
}

.post-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
}

.post-meta-info {
    font-size: 0.85rem;
}

.comments-count,
.author-info {
    display: flex;
    align-items: center;
}

/* No Posts State */
.no-posts-icon {
    opacity: 0.6;
}

.no-posts-title {
    color: var(--gray-700);
    font-weight: 600;
}

.no-posts-text {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Pagination */
.category-pagination .pagination {
    margin-bottom: 0;
}

.category-pagination .page-link {
    color: var(--primary-color);
    border-color: var(--gray-300);
    padding: 0.75rem 1rem;
    font-weight: 500;
}

.category-pagination .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.category-pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Responsive adjustments for category */
@media (max-width: 991.98px) {
    .category-title {
        font-size: 1.75rem;
    }
    
    .post-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    .category-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .category-meta {
        text-align: center;
    }
    
    .post-image-wrapper {
        height: 180px;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .post-categories {
        margin-bottom: 0.5rem !important;
        margin-right: 0 !important;
    }
    
    .post-actions {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }
    
    .post-meta-info {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
}

@media (max-width: 575.98px) {
    .category-description {
        margin-left: 0;
        margin-right: 0;
    }
    
    .post-image-wrapper {
        height: 160px;
    }
    
    .post-title-link {
        font-size: 1.1rem;
    }
    
    .post-excerpt {
        font-size: 0.9rem;
    }
    
    .no-posts-actions {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .no-posts-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* === SINGLE DECRETO COMPACT PAGE STYLES === */
.single-decreto-compact {
    background: #f8f9fa;
    min-height: 70vh;
}

.decreto-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition-normal);
}

.decreto-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.decreto-card-header {
    background: white;
}

.decreto-badge .badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
}

.decreto-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.3;
}

.decreto-date {
    font-size: 0.9rem;
}

.decreto-info {
    background: #f8f9fa;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}

.info-item {
    text-align: left;
}

.info-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    display: block;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-800);
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.description-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--primary-color);
}

.files-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.file-item-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition-fast);
}

.file-item-compact:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.file-info-compact {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 500;
    color: var(--gray-800);
    margin-right: 0.5rem;
}

.file-size {
    font-size: 0.8rem;
}

.no-files-compact {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: var(--border-radius-md);
    text-align: center;
    font-style: italic;
}

.decreto-card-footer {
    background: #f8f9fa !important;
}

.no-content-compact {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 3rem 2rem;
}

.no-content-compact .no-content-icon {
    color: var(--gray-400);
}

.no-content-compact .no-content-title {
    color: var(--gray-700);
    font-weight: 600;
}

.no-content-compact .no-content-text {
    color: var(--gray-600);
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .decreto-title {
        font-size: 1.5rem;
    }

    .decreto-info .row {
        row-gap: 1rem;
    }

    .info-item {
        text-align: center;
    }

    .file-item-compact {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        text-align: center;
    }

    .file-info-compact {
        justify-content: center;
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (max-width: 767.98px) {
    .decreto-card-header {
        text-align: center;
    }

    .decreto-card-header .row {
        justify-content: center;
    }

    .decreto-card-header .col-md-4 {
        margin-top: 1rem;
    }

    .decreto-title {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1rem;
    }

    .decreto-card-footer .d-flex {
        flex-direction: column;
        gap: 0.75rem;
    }

    .decreto-card-footer .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .decreto-title {
        font-size: 1.1rem;
    }

    .decreto-badge .badge {
        font-size: 0.7rem;
    }

    .decreto-info {
        padding: 1rem;
    }

    .info-label {
        font-size: 0.75rem;
    }

    .info-value {
        font-size: 0.9rem;
    }

    .description-text {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .file-item-compact {
        padding: 0.5rem;
    }

    .file-name {
        font-size: 0.9rem;
    }
}

@media print {
    .breadcrumb-section,
    .decreto-card-footer {
        display: none !important;
    }

    .single-decreto-compact {
        background: white !important;
        padding: 1rem 0 !important;
    }

    .decreto-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }

    .decreto-card-header,
    .decreto-card-body {
        padding: 1rem !important;
    }

    .section-title {
        color: #000 !important;
        border-color: #000 !important;
    }
}

/* Fix para larguras das colunas da tabela - Permitir larguras automáticas */
.decretos-table,
.decretos-table table {
    table-layout: auto !important;
    width: 100% !important;
}

.decretos-table td,
.decretos-table th {
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
}

.decretos-table .description-content {
    max-width: none !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
}

/* Responsividade melhorada para tabelas */
@media (max-width: 768px) {
    .decretos-table {
        font-size: 0.875rem;
    }
    
    .decretos-table td,
    .decretos-table th {
        padding: 0.5rem 0.25rem;
    }
}

/* =============================================
   SINGLE PUBLICAÇÃO STYLES (usando classes do decreto)
   ============================================= */

/* ========================================
   SEÇÃO MAGAZINE DE NOTÍCIAS
======================================== */

/* ===== CONFIGURAÇÕES GERAIS ===== */
.magazine-news-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.magazine-news-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="magazine-dots" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1.5" fill="rgba(59,130,246,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23magazine-dots)"/></svg>') repeat;
  opacity: 0.8;
  z-index: 1;
}

.magazine-news-section .container {
  position: relative;
  z-index: 2;
}

/* ===== HEADER DA SEÇÃO ===== */
.magazine-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  padding-bottom: 30px;
  border-bottom: 3px solid var(--primary-color);
  position: relative;
}

.magazine-section-header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
}

.magazine-title-wrapper {
  flex: 1;
}

.magazine-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-md);
  animation: fadeInLeft 0.6s ease-out;
}

.magazine-badge i {
  font-size: 14px;
}

.magazine-main-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.magazine-subtitle {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  font-weight: 400;
  line-height: 1.5;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.magazine-actions {
  animation: fadeInRight 0.6s ease-out 0.6s both;
}

.btn-magazine-all {
  background: linear-gradient(135deg, var(--accent-color), #f97316);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  border: none;
}

.btn-magazine-all:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  color: white;
}

.btn-magazine-all i {
  transition: transform var(--transition-normal);
}

.btn-magazine-all:hover i {
  transform: translateX(3px);
}

/* ===== LAYOUT PRINCIPAL ===== */
.magazine-content-row {
  margin-bottom: 70px;
}

/* ===== CARROSSEL DE DESTAQUE ===== */
.magazine-hero-section {
  height: 100%;
}

.magazine-carousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: white;
}

.magazine-hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.magazine-hero-image {
  position: relative;
  height: 60%;
  overflow: hidden;
}

.magazine-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.magazine-hero-card:hover .magazine-hero-image img {
  transform: scale(1.05);
}

.magazine-hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
}

.magazine-hero-placeholder i {
  font-size: 3rem;
  margin-bottom: 10px;
}

.magazine-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.magazine-hero-content {
  padding: 30px;
  background: white;
  height: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.magazine-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.magazine-category-tag,
.magazine-date-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.magazine-category-tag {
  color: var(--primary-color);
  background: rgba(59, 130, 246, 0.1);
  padding: 4px 12px;
  border-radius: 15px;
}

.magazine-date-tag {
  color: var(--gray-600);
}

.magazine-hero-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
  color: var(--gray-900);
}

.magazine-hero-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-normal);
}

.magazine-hero-title a:hover {
  color: var(--primary-color);
}

.magazine-hero-excerpt {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 30px;
  flex: 1;
}

.magazine-hero-actions {
  margin-top: auto;
}

.btn-magazine-read {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-normal);
}

.btn-magazine-read:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-magazine-read i {
  transition: transform var(--transition-normal);
}

.btn-magazine-read:hover i {
  transform: translateX(2px);
}

/* ===== CONTROLES DO CARROSSEL ===== */

.magazine-control-prev,
.magazine-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.magazine-carousel:hover .magazine-control-prev,
.magazine-carousel:hover .magazine-control-next {
  opacity: 1;
}

.magazine-control-prev:hover,
.magazine-control-next:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.magazine-control-icon {
  color: var(--gray-700);
  font-size: 18px;
}

.magazine-control-prev {
  left: 20px;
}

.magazine-control-next {
  right: 20px;
}

/* ===== SIDEBAR DE NOTÍCIAS ===== */
.magazine-sidebar {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-lg);

  position: sticky;
  top: 20px;
}

.magazine-sidebar-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gray-100);
}

.magazine-sidebar-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.magazine-sidebar-title i {
  color: var(--primary-color);
}

.magazine-sidebar-line {
  height: 3px;
  width: 50px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
}

.magazine-news-list {
  max-height: 620px;
  overflow-y: auto;
  padding-right: 10px;
}

.magazine-news-list::-webkit-scrollbar {
  width: 4px;
}

.magazine-news-list::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: 2px;
}

.magazine-news-list::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 2px;
}

.magazine-list-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--transition-normal);
}

.magazine-list-item:last-child {
  border-bottom: none;
}

.magazine-list-item:hover {
  transform: translateX(5px);
  background: rgba(59, 130, 246, 0.02);
  margin: 0 -15px;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 10px;
}

.magazine-list-number {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xs);
  font-weight: 700;
}

.magazine-list-image {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: var(--gray-200);
}

.magazine-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.magazine-list-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
}

.magazine-list-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.magazine-list-item:hover .magazine-list-overlay {
  opacity: 1;
}

.magazine-list-link {
  color: white;
  font-size: 18px;
  text-decoration: none;
}

.magazine-list-content {
  flex: 1;
  min-width: 0;
}

.magazine-list-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: var(--font-size-xs);
}

.magazine-list-category {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.magazine-list-date {
  color: var(--gray-500);
}

.magazine-list-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.magazine-list-title a {
  color: var(--gray-900);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.magazine-list-title a:hover {
  color: var(--primary-color);
}

.magazine-list-excerpt {
  font-size: var(--font-size-xs);
  color: var(--gray-600);
  line-height: 1.4;
}

.magazine-sidebar-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid var(--gray-100);
}

.btn-magazine-sidebar {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  transition: all var(--transition-normal);
}

.btn-magazine-sidebar:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}

/* ===== SEÇÃO MAIS NOTÍCIAS ===== */
.magazine-more-news-header {
  margin-bottom: 40px;
}

.magazine-more-news-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.magazine-more-news-title i {
  color: var(--primary-color);
  font-size: 1.8rem;
}

.magazine-more-news-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.magazine-more-news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.magazine-more-news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.magazine-more-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.magazine-more-news-card:hover .magazine-more-news-image img {
  transform: scale(1.05);
}

.magazine-more-news-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
}

.magazine-more-news-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.magazine-more-news-card:hover .magazine-more-news-overlay {
  opacity: 1;
}

.magazine-more-news-icon {
  color: white;
  font-size: 16px;
}

.magazine-more-news-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.magazine-more-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: var(--font-size-xs);
}

.magazine-more-news-category {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.magazine-more-news-date {
  color: var(--gray-500);
  font-weight: 500;
}

.magazine-more-news-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}

.magazine-more-news-title a {
  color: var(--gray-900);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.magazine-more-news-title a:hover {
  color: var(--primary-color);
}

.magazine-more-news-excerpt {
  color: var(--gray-600);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  margin-bottom: 15px;
}

.magazine-more-news-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: all var(--transition-normal);
}

.magazine-more-news-link:hover {
  color: var(--primary-dark);
  transform: translateX(3px);
}

.magazine-more-news-link i {
  transition: transform var(--transition-normal);
}

.magazine-more-news-link:hover i {
  transform: translateX(2px);
}

/* ===== CTA FINAL ===== */
.magazine-final-cta {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 25px;
  color: white;
  position: relative;
  overflow: hidden;
}

.magazine-final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><polygon points="10,0 20,10 10,20 0,10" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>') repeat;
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.magazine-cta-text {
  font-size: var(--font-size-lg);
  margin-bottom: 30px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.btn-magazine-final {
  background: white;
  color: var(--primary-color);
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: var(--font-size-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 2;
}

.btn-magazine-final:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  color: var(--primary-color);
}

.btn-magazine-final i:last-child {
  transition: transform var(--transition-normal);
}

.btn-magazine-final:hover i:last-child {
  transform: translateX(3px);
}

/* ========================================
   RESPONSIVIDADE MAGAZINE
======================================== */

@media (max-width: 1199.98px) {
  .magazine-main-title {
    font-size: 2.5rem;
  }
  
  .magazine-hero-card {
    height: 450px;
  }
  
  .magazine-sidebar {
    margin-top: 30px;
    position: static;
  }
}

@media (max-width: 991.98px) {
  .magazine-news-section {
    padding: 60px 0;
  }
  
  .magazine-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .magazine-main-title {
    font-size: 2.2rem;
  }
  
  .magazine-hero-card {
    height: 400px;
  }
  
  .magazine-hero-content {
    padding: 25px;
  }
  
  .magazine-sidebar {
    padding: 25px;
    margin-top: 40px;
  }
  
  .magazine-more-news-title {
    font-size: 1.8rem;
  }
  
  .magazine-final-cta {
    padding: 50px 30px;
  }
  
  .magazine-cta-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 767.98px) {
  .magazine-news-section {
    padding: 40px 0;
  }
  
  .magazine-section-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }
  
  .magazine-main-title {
    font-size: 1.8rem;
  }
  
  .magazine-subtitle {
    font-size: var(--font-size-base);
  }
  
  .btn-magazine-all {
    padding: 10px 20px;
  }
  
  .magazine-hero-card {
    height: 350px;
  }
  
  .magazine-hero-content {
    padding: 20px;
  }
  
  .magazine-hero-title {
    font-size: 1.4rem;
  }
  
  .magazine-sidebar {
    padding: 20px;
    margin-top: 30px;
  }
  
  .magazine-sidebar-title {
    font-size: 1.3rem;
  }
  
  .magazine-news-list {
    max-height: 300px;
  }
  
  .magazine-list-image {
    width: 60px;
    height: 45px;
  }
  
    .magazine-more-news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .magazine-more-news-title {
    font-size: 1.5rem;
  }

  .magazine-more-news-image {
    height: 180px;
  }
  
  .magazine-final-cta {
    padding: 40px 20px;
  }
  

  
  .magazine-cta-text {
    font-size: var(--font-size-base);
  }
}

@media (max-width: 575.98px) {
  .magazine-news-section {
    padding: 30px 0;
  }
  
  .magazine-main-title {
    font-size: 1.6rem;
  }
  
  .magazine-hero-card {
    height: 320px;
  }
  
  .magazine-hero-image {
    height: 65%;
  }
  
  .magazine-hero-content {
    height: 35%;
    padding: 15px;
  }
  
  .magazine-hero-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .magazine-hero-excerpt {
    font-size: var(--font-size-sm);
    margin-bottom: 15px;
  }
  
  .btn-magazine-read {
    padding: 8px 16px;
    font-size: var(--font-size-xs);
  }
  
  .magazine-control-prev,
  .magazine-control-next {
    width: 40px;
    height: 40px;
  }
  
  .magazine-sidebar {
    padding: 15px;
  }
  
  .magazine-list-item {
    padding: 12px 0;
  }
  
  .magazine-list-number {
    width: 25px;
    height: 25px;
  }
  
  .magazine-list-image {
    width: 50px;
    height: 40px;
  }
  
    .magazine-more-news-image {
    height: 160px;
  }

  .magazine-more-news-content {
    padding: 15px;
  }

  .magazine-final-cta {
    padding: 30px 15px;
  }
  
  .btn-magazine-final {
    padding: 12px 25px;
    font-size: var(--font-size-sm);
  }
}

/* ===== ANIMAÇÕES ESPECIAIS ===== */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
   PÁGINA DE SECRETARIAS
======================================== */

/* Gradientes e Cores Primárias */
.bg-primary-gradient {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.text-primary-light {
  color: #66b3ff !important;
}

.bg-primary-light {
  background-color: #e7f3ff !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 123, 255, 0.1);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-stats .stat-item {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Cards das Secretarias */
.secretaria-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.secretaria-card:hover {
  transform: translateY(-5px);
}

.secretaria-card:hover .card {
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2) !important;
}

.secretaria-item {
  border-radius: 15px;
  overflow: hidden;
}

.card-header {
  border-radius: 15px 15px 0 0 !important;
}

/* Ícones de Contato */
.contact-icon {
  width: 30px;
  height: 30px;
  background: rgba(0, 123, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* Seção de Informações */
.info-section {
  border-left: 4px solid #007bff;
}

/* Botão outline customizado */
.btn-outline-primary {
  border-color: #007bff;
  color: #007bff;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Imagem Destacada das Secretarias */
.secretaria-image {
  position: relative;
  overflow: hidden;
}

.secretaria-featured-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.secretaria-card:hover .secretaria-featured-image {
  transform: scale(1.05);
}

.secretaria-placeholder {
  height: 200px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.secretaria-placeholder i {
  opacity: 0.3;
  transition: all 0.3s ease;
}

/* Cores específicas para cada secretaria */
.secretaria-saude {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

.secretaria-saude i {
  opacity: 1 !important;
  color: white !important;
}

.secretaria-educacao {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
}

.secretaria-educacao i {
  opacity: 1 !important;
  color: white !important;
}

.secretaria-assistencia {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.secretaria-assistencia i {
  opacity: 1 !important;
  color: white !important;
}

.secretaria-obras {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.secretaria-obras i {
  opacity: 1 !important;
  color: white !important;
}

.secretaria-administracao {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
}

.secretaria-administracao i {
  opacity: 1 !important;
  color: white !important;
}

.secretaria-fazenda {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
}

.secretaria-fazenda i {
  opacity: 1 !important;
  color: white !important;
}

.secretaria-item:hover .secretaria-placeholder {
  transform: scale(1.05);
}

.secretaria-item:hover .secretaria-placeholder i {
  transform: scale(1.1);
}

/* Títulos e conteúdo */
.secretaria-title {
  line-height: 1.3;
  margin-bottom: 0.75rem !important;
}

.secretario-nome {
  font-size: 0.9rem;
  line-height: 1.4;
}

.secretario-nome i {
  color: var(--primary-color);
  opacity: 0.7;
}

/* ========================================
   PÁGINA INDIVIDUAL DA SECRETARIA
======================================== */

/* Header da Secretaria */
.secretaria-single .secretaria-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.secretaria-single .secretaria-description {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Garantir que os ícones do cabeçalho sejam exibidos */
.secretaria-single .secretaria-title i,
.secretaria-single .secretaria-description i {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block !important;
}

.secretaria-single .secretaria-title i.fas,
.secretaria-single .secretaria-description i.fas {
  font-weight: 900 !important;
}

.secretaria-single .secretaria-title i.text-primary,
.secretaria-single .secretaria-description i.text-primary {
  color: #007bff !important;
}

.secretaria-logo img {
  border: 3px solid rgba(0, 123, 255, 0.1);
  transition: all 0.3s ease;
}

.secretaria-logo img:hover {
  border-color: rgba(0, 123, 255, 0.3);
  transform: scale(1.05);
}

/* Card de Informações do Secretário */
.secretario-info-card .card-header {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
  border-bottom: none;
}

.secretario-info-card .card-header h4 {
  color: white;
  font-weight: 600;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 123, 255, 0.02);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(0, 123, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}

.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 18px;
  color: var(--primary-color);
}

.info-content {
  flex: 1;
  min-width: 0;
}

.info-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.info-value {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-800);
  line-height: 1.4;
}

.info-value a {
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.info-value a:hover {
  color: var(--primary-dark);
  text-decoration: underline !important;
}

/* Layout Compacto para Informações */
.info-item-compact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(0, 123, 255, 0.02);
  border-radius: 6px;
  border: 1px solid rgba(0, 123, 255, 0.08);
  transition: all 0.3s ease;
}

/* Garantir que os ícones Font Awesome sejam exibidos */
.info-item-compact i {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block !important;
  min-width: 1.2em;
  text-align: center;
}

.info-item-compact i.fas {
  font-weight: 900 !important;
}

.info-item-compact i.text-primary {
  color: #007bff !important;
}

.info-item-compact:hover {
  background: rgba(0, 123, 255, 0.05);
  border-color: rgba(0, 123, 255, 0.15);
}

.info-item-compact .info-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 0;
}

.info-item-compact .info-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 0;
}

.info-item-compact .info-value a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.info-item-compact .info-value a:hover {
  color: var(--primary-dark);
  text-decoration: underline !important;
}

/* Card de Conteúdo */
.secretaria-content .card-header {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.secretaria-content .card-header h4 {
  color: var(--primary-color);
  font-weight: 600;
}

/* Responsividade */
@media (max-width: 991.98px) {
  .secretaria-single .secretaria-title {
    font-size: 2rem;
  }
  
  .secretaria-logo {
    text-align: center;
    margin-top: 1.5rem;
  }
  
  .info-item {
    padding: 0.75rem;
  }
  
  .info-icon {
    width: 35px;
    height: 35px;
  }
  
  .info-icon i {
    font-size: 16px;
  }
}

@media (max-width: 767.98px) {
  .secretaria-single .secretaria-title {
    font-size: 1.75rem;
  }
  
  .secretaria-single .secretaria-description {
    font-size: 1rem;
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .info-icon {
    align-self: center;
  }
  
  .secretario-info-card .card-header h4 {
    font-size: 1.1rem;
  }
}

/* Responsividade */
@media (max-width: 991.98px) {
  /* Tablet: 2 cards por linha */
  .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem !important;
  }
  
  .secretaria-card {
    margin-bottom: 1rem;
  }
  
  .info-actions {
    text-align: center;
    margin-top: 1rem;
  }
  
  .secretaria-featured-image {
    height: 180px;
  }
  
  .secretaria-placeholder {
    height: 180px;
  }
}

@media (max-width: 575.98px) {
  /* Mobile: 1 card por linha */
  .secretaria-featured-image {
    height: 160px;
  }
  
  .secretaria-placeholder {
    height: 160px;
  }
  
  .secretaria-title {
    font-size: 1rem !important;
  }
  
  .secretario-nome {
    font-size: 0.85rem;
  }
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.secretaria-card {
  animation: fadeInUp 0.6s ease-out;
}

.secretaria-card:nth-child(odd) {
  animation-delay: 0.1s;
}

.secretaria-card:nth-child(even) {
  animation-delay: 0.2s;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MELHORIAS DE PERFORMANCE ===== */
.magazine-news-section * {
  will-change: transform;
}

.magazine-hero-image img,
.magazine-list-image img,
.magazine-more-news-image img {
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* ===== MODO ESCURO (OPCIONAL) ===== */
@media (prefers-color-scheme: dark) {
  .magazine-news-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  }
  
    .magazine-main-title,
  .magazine-more-news-title {
    color: white;
  }

  .magazine-subtitle {
    color: #9ca3af;
  }

  .magazine-hero-content,
  .magazine-sidebar,
  .magazine-more-news-card {
    background: #1f2937;
    color: white;
  }
}

/* ===== FAQ MODERN STYLES ===== */
.faq-container {
    max-width: 100%;
}

.faq-item.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: white;
    transition: var(--transition-normal);
}

.faq-item.accordion-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.faq-item .accordion-header {
    margin-bottom: 0;
}

.faq-item .accordion-button {
    background: white;
    border: none;
    padding: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-normal);
}

.faq-item .accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

.faq-item .accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}

.faq-item .accordion-button::after {
    background-image: none;
    content: '\f067';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.875rem;
    color: inherit;
    transition: var(--transition-normal);
    margin-left: auto;
    flex-shrink: 0;
}

.faq-item .accordion-button:not(.collapsed)::after {
    content: '\f068';
    transform: rotate(0deg);
}

.faq-number {
    background: var(--primary-color);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    border-radius: 50px;
    min-width: 2.5rem;
    text-align: center;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.faq-item .accordion-button:not(.collapsed) .faq-number {
    background: white;
    color: var(--primary-color);
}

.faq-question {
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.faq-item .accordion-collapse {
    border: none;
}

.faq-item .accordion-body {
    padding: 1.5rem;
    padding-top: 0;
    background: white;
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 1rem;
}

/* FAQ Category Header Enhancement */
.category-section .category-header {
    position: relative;
}

.category-section .category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    margin-top: -2rem;
}

/* FAQ Call to Action Enhancement */
.faq-container + .row .bg-light {
    position: relative;
    overflow: hidden;
}

.faq-container + .row .bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Responsive FAQ Styles */
@media (max-width: 991.98px) {
    .faq-item .accordion-button {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
    
    .faq-number {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        min-width: 2.2rem;
    }
    
    .faq-item .accordion-body {
        padding: 1.25rem;
        padding-top: 0;
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .category-section .category-header {
        margin-bottom: 3rem;
    }
    
    .category-section .category-header::before {
        width: 60px;
        margin-top: -1.5rem;
    }
    
    .faq-item {
        margin-bottom: 0.75rem;
    }
    
    .faq-item .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
        gap: 0.75rem;
    }
    
    .faq-number {
        font-size: 0.75rem;
        padding: 0.35rem 0.5rem;
        min-width: 2rem;
    }
    
    .faq-question {
        font-size: 0.9rem;
    }
    
    .faq-item .accordion-body {
        padding: 1rem;
        padding-top: 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .faq-item .accordion-button {
        padding: 0.875rem;
        gap: 0.5rem;
    }
    
    .faq-number {
        font-size: 0.7rem;
        padding: 0.3rem 0.45rem;
        min-width: 1.8rem;
    }
    
    .faq-question {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .faq-item .accordion-body {
        padding: 0.875rem;
        padding-top: 0;
        font-size: 0.85rem;
    }
    
    .faq-item .accordion-button::after {
        font-size: 0.75rem;
    }
}

/* FAQ Animation Enhancement */
@keyframes faqSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: faqSlideIn 0.6s ease-out;
    animation-fill-mode: both;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.15s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.25s; }
.faq-item:nth-child(5) { animation-delay: 0.3s; }
.faq-item:nth-child(6) { animation-delay: 0.35s; }
.faq-item:nth-child(7) { animation-delay: 0.4s; }
.faq-item:nth-child(8) { animation-delay: 0.45s; }
.faq-item:nth-child(9) { animation-delay: 0.5s; }
.faq-item:nth-child(10) { animation-delay: 0.55s; }
.faq-item:nth-child(11) { animation-delay: 0.6s; }
.faq-item:nth-child(12) { animation-delay: 0.65s; }
.faq-item:nth-child(13) { animation-delay: 0.7s; }
.faq-item:nth-child(14) { animation-delay: 0.75s; }
.faq-item:nth-child(15) { animation-delay: 0.8s; }
.faq-item:nth-child(16) { animation-delay: 0.85s; }

/* Enhanced accessibility */
.faq-item .accordion-button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles for FAQ */
@media print {
    .faq-container {
        page-break-inside: avoid;
    }
    
    .faq-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        margin-bottom: 1rem;
    }
    
    .faq-item .accordion-button {
        background: #f8f9fa !important;
        color: #000 !important;
        -webkit-print-color-adjust: exact;
    }
    
    .faq-item .accordion-collapse {
        display: block !important;
    }
    
    .faq-item .accordion-body {
        padding-top: 1rem;
    }
    
    .faq-number {
        background: #000 !important;
        color: #fff !important;
        -webkit-print-color-adjust: exact;
    }
}

/* === CORREÇÃO COR DOS LINKS DO HEADER SUPERIOR === */
.header-top .nav-link,
.header-top .nav-link.dropdown-toggle,
.header-top .header-link {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
}

.header-top .nav-link:hover,
.header-top .nav-link.dropdown-toggle:hover,
.header-top .header-link:hover {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* === ESTRUTURA MOBILE ORGANIZADA === */

/* Botões Mobile Header */
.mobile-main-menu,
.mobile-services-menu {
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: var(--border-radius-md);
  margin-bottom: 1rem;
  animation: slideInDown 0.3s ease-out;
}

/* Título do Menu Mobile */
.mobile-menu-title {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

/* Lista de Serviços Mobile */
.mobile-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-service-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.mobile-service-item:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateX(5px);
}

.mobile-service-item i {
  width: 20px;
  opacity: 0.8;
}

/* Botões Toggle Múltiplos */
.navbar-toggler {
  position: relative;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius-sm);
  padding: 0.5rem;
  transition: all 0.3s ease;
  width: 45px;
  height: 45px;
}

.navbar-toggler:hover {
  background-color: var(--primary-color);
  transform: scale(1.05);
}

/* Remover estilos conflitantes para o ícone padrão do Bootstrap 5 */
.navbar-toggler .navbar-toggler-icon i {
  display: none; /* Esconder ícones FontAwesome conflitantes */
}

.navbar-toggler:hover .navbar-toggler-icon i {
  display: none;
}

/* Botão de Serviços diferenciado */
.navbar-toggler[aria-label="Serviços"] {
  border-color: var(--secondary-color);
}

.navbar-toggler[aria-label="Serviços"]:hover {
  background-color: var(--secondary-color);
}

.navbar-toggler[aria-label="Serviços"] .navbar-toggler-icon i {
  display: none; /* Esconder ícones FontAwesome conflitantes */
}

/* Botão Social Mobile Corrigido */
.mobile-main-menu .btn.btn-primary {
  border-radius: var(--border-radius-sm);
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #E1306C 0%, #F56040 50%, #FCAF45 100%);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: auto;
  height: auto;
}

.mobile-main-menu .btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

/* Animações de Entrada Mobile */
.mobile-main-menu .row > div {
  animation: fadeInUp 0.6s ease-out;
  animation-delay: calc(var(--animation-delay, 0) * 0.1s);
}

.mobile-main-menu .row > div:nth-child(1) { --animation-delay: 1; }
.mobile-main-menu .row > div:nth-child(2) { --animation-delay: 2; }
.mobile-main-menu .row > div:nth-child(3) { --animation-delay: 3; }

.mobile-service-item {
  animation: fadeInLeft 0.6s ease-out;
  animation-delay: calc(var(--animation-delay, 0) * 0.1s);
}

.mobile-service-item:nth-child(1) { --animation-delay: 1; }
.mobile-service-item:nth-child(2) { --animation-delay: 2; }
.mobile-service-item:nth-child(3) { --animation-delay: 3; }
.mobile-service-item:nth-child(4) { --animation-delay: 4; }

/* Responsividade Melhorada */
@media (max-width: 576px) {
  .mobile-main-menu,
  .mobile-services-menu {
    margin: 0.5rem;
    padding: 0.75rem;
  }
  
  .mobile-service-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .mobile-menu-title {
    font-size: 0.9rem;
  }
  
  .navbar-toggler {
    width: 40px;
    height: 40px;
    padding: 0.4rem;
  }
}

/* Estados dos Collapse */
.collapse.show .mobile-main-menu,
.collapse.show .mobile-services-menu {
  animation: slideInDown 0.3s ease-out;
}

.collapse.collapsing .mobile-main-menu,
.collapse.collapsing .mobile-services-menu {
  animation: slideOutUp 0.3s ease-in;
}

/* Indicadores Visuais */
.navbar-toggler[aria-expanded="true"] {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon i {
  display: none; /* Esconder ícones FontAwesome conflitantes */
}

.navbar-toggler[aria-label="Serviços"][aria-expanded="true"] {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* ===== CORREÇÃO CONFLITOS NAVBAR-TOGGLER-ICON ===== */
/* Sobrescrever todos os estilos conflitantes para o ícone padrão do Bootstrap 5 */
.navbar-toggler-icon i {
  display: none !important; /* Forçar esconder ícones FontAwesome conflitantes */
}

.navbar-toggler .navbar-toggler-icon i {
  display: none !important;
}

.navbar-toggler:hover .navbar-toggler-icon i {
  display: none !important;
}

.navbar-toggler[aria-label="Serviços"] .navbar-toggler-icon i {
  display: none !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon i {
  display: none !important;
}

/* ===== CORREÇÃO TOGGLE MOBILE ===== */
/* Garantir que o toggle funcione corretamente */
.navbar-toggler {
  cursor: pointer !important;
  border: none !important;
  padding: 0.25rem 0.5rem !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
  outline: none !important;
}

.navbar-toggler-icon {
  display: inline-block !important;
  width: 1.5em !important;
  height: 1.5em !important;
  vertical-align: middle !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 100% !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Keyframes para Animações */
@keyframes slideInDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideOutUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-20px);
    opacity: 0;
  }
}

@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInLeft {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
