@layer utilities {
  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }

  .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-scroll {
  animation: scroll 30s linear infinite;
}

.ticker-content:hover {
  animation-play-state: paused;
}

/* Category buttons styling */
.categoria-btn {
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;
  border: 1px solid rgba(45, 55, 72, 0.4);
  background: rgba(26, 31, 46, 0.4);
  color: #a0aec0;
  cursor: pointer;
}

.categoria-btn:hover {
  border-color: rgba(102, 126, 234, 0.5);
  color: #e5e7eb;
  background: rgba(102, 126, 234, 0.1);
}

.categoria-btn.active {
  background-color: #667eea;
  color: #ffffff;
  border-color: #667eea;
  box-shadow: 0 10px 15px -3px rgba(102, 126, 234, 0.2);
}

/* News cards styling */
.noticia-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: rgba(26, 31, 46, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(45, 55, 72, 0.4);
  padding: 1.5rem;
  transition: all 0.5s;
  display: flex;
  flex-direction: column;
}

@media (max-width: 640px) {
  .noticia-card {
    padding: 1.25rem;
  }
}

.noticia-card:hover {
  background-color: rgba(26, 31, 46, 0.8);
  border-color: rgba(45, 55, 72, 0.6);
  transform: translateY(-0.25rem);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(102, 126, 234, 0.1);
}

.noticia-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.25rem;
  background: linear-gradient(to right, #2563eb, #9333ea, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.noticia-card:hover::before {
  opacity: 1;
}

/* News cards styling updates for compatibility */
.card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #f8fafc;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}

@media (max-width: 640px) {
  .card-title {
    font-size: 1.15rem;
    line-height: 1.3;
  }
}

.card-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  color: #94a3b8;
  font-size: 0.85rem;
}

.agenda-master-container {
  transition: none !important;
  transform: none !important;
}

.card-summary,
.card-full-content {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.card-summary.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-clamp: 4;
  overflow: hidden;
}

.card-full-content p {
  margin-bottom: 1.25rem;
}

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 480px) {
  .card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
}

.btn-read-more,
.btn-source {
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (max-width: 480px) {

  .btn-read-more,
  .btn-source {
    width: 100%;
    padding: 0.75rem 1rem;
  }
}

.btn-read-more {
  background: rgba(102, 126, 234, 0.1);
  color: #a5b4fc;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.btn-read-more:hover {
  background: rgba(102, 126, 234, 0.2);
  color: #c7d2fe;
}

.btn-source {
  color: #cbd5e1;
  text-decoration: none;
}

.btn-source:hover {
  color: #f8fafc;
  text-decoration: underline;
}


/* Footer Base - Removed to use Tailwind classes in HTML */

/* Logo Style - Static Neon */
.logo-container {
  padding: 1rem;
  pointer-events: none;
}

.logo-img {
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
}


/* --- CONTATO E FAQ --- */
.nav-bar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.nav-links a.active {
  background-color: rgba(255, 255, 255, 0.3);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info,
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 2rem;
  margin-right: 1rem;
  color: #667eea;
  min-width: 60px;
}

.contact-details h5 {
  font-family: 'Poppins', sans-serif;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-details p {
  margin: 0;
  color: #6c757d;
}

.response-time {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 5px solid #667eea;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.response-time h4 {
  font-family: 'Poppins', sans-serif;
  color: #667eea;
  margin-bottom: 1rem;
  font-weight: 600;
}

.faq-section {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  background: #667eea;
  color: white;
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #5a67d8;
}

.faq-answer {
  padding: 1.5rem;
  display: none;
  line-height: 1.6;
}

.faq-answer.active {
  display: block;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info,
  .contact-form {
    padding: 2rem;
  }

  .nav-links {
    gap: 1rem;
  }
}

/* --- POLÍTICA DE PRIVACIDADE --- */
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.subsection-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  color: #667eea;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.content-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: justify;
}

.highlight-box {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 5px solid #667eea;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.highlight-box h4 {
  font-family: 'Poppins', sans-serif;
  color: #667eea;
  margin-bottom: 1rem;
  font-weight: 600;
}

.info-table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  margin: 2rem 0;
}

.info-table table {
  width: 100%;
  margin: 0;
}

.info-table th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem;
  font-weight: 600;
  border: none;
}

.info-table td {
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  vertical-align: top;
}

.info-table tr:last-child td {
  border-bottom: none;
}

.contact-info {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
  margin: 3rem 0;
}

.contact-info h4 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
  color: #ffd700;
}

.last-updated {
  background: #e3f2fd;
  border: 1px solid #2196f3;
  border-radius: 8px;
  padding: 1rem;
  margin: 2rem 0;
  text-align: center;
  color: #1976d2;
  font-weight: 600;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }

  .subsection-title {
    font-size: 1.3rem;
  }

  .content-text {
    font-size: 1rem;
  }

  .info-table th,
  .info-table td {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
}

/* --- SOBRE NÓS --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.value-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h5 {
  font-family: 'Poppins', sans-serif;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 600;
}

.team-section {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

.stats-section {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.cta-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #667eea;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: #667eea;
  text-decoration: none;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Ajuste para centralizar sublinhado quando título estiver centralizado */
.section-title.text-white::after,
.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}


/* --- ESTILOS PARA H2 DAS PÁGINAS --- */
.hero-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #5a67d8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.08);
  letter-spacing: 1px;
  margin-bottom: 0.5rem !important;
  /* Ajuste para reduzir o espaço */
  position: relative;
  display: inline-block;
}

.hero-section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

/* Responsividade para H2 */
@media (max-width: 768px) {
  .hero-section h2 {
    font-size: 2.2rem;
    letter-spacing: 0.5px;
  }

  .hero-section h2::after {
    width: 50px;
    height: 2px;
  }
}

@media (max-width: 480px) {
  .hero-section h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  .hero-section h2::after {
    width: 40px;
  }
}




/* --- ESTILOS PARA PÁGINA DE CONTATO --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-info,
.contact-form {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Para garantir que o conteúdo se espalhe e os cards tenham altura similar */
}

.contact-info .section-title,
.contact-form .section-title {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-item .contact-icon {
  font-size: 2rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-item .contact-details h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 0.2rem;
}

.contact-item .contact-details p {
  font-size: 0.95rem;
  color: #495057;
  margin: 0;
}

.response-time {
  background-color: #f8f9fa;
  border-left: 4px solid #667eea;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.response-time h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #667eea;
  margin-bottom: 0.5rem;
}

.response-time p {
  font-size: 0.9rem;
  color: #495057;
  margin: 0;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-form .form-control {
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  width: 100%;
}

.contact-form .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.contact-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  width: auto;
  display: block;
  margin-top: 1.5rem;
}

.contact-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}



/* Garantir altura igual dos cards de contato */
.contact-info,
.contact-form {
  min-height: 500px;
  /* Altura mínima para garantir uniformidade */
}

/* Ajustar responsividade dos cards de contato */
@media (max-width: 767px) {

  .contact-info,
  .contact-form {
    min-height: auto;
    /* Em mobile, deixar altura automática */
  }
}



/* ===== ESTILOS PARA PÁGINAS INTERNAS ===== */

/* Navegação das páginas internas */
.nav-bar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 1rem 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: white;
}

.nav-links a:hover::before {
  left: 0;
}

.nav-links a.active {
  background: rgba(255, 255, 255, 0.25);
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* Hero section das páginas internas */
.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid #dee2e6;
}

.hero-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
}

.hero-section p {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Seções de conteúdo */
.content-section {
  margin-bottom: 3.5rem;
  padding: 2rem 0;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.subsection-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #495057;
  margin: 2.5rem 0 1.5rem 0;
  position: relative;
  padding-left: 1rem;
}

.subsection-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 2px;
}

.content-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 2rem;
}

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

.content-text strong {
  color: #2c3e50;
  font-weight: 600;
}

/* Caixas de destaque */
.highlight-box {
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
  border: 1px solid #bbdefb;
  border-radius: 12px;
  padding: 2rem;
  margin: 2.5rem 0;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 12px 12px 0 0;
}

.highlight-box h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.highlight-box p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #495057;
}

/* Data de última atualização */
.last-updated {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: #856404;
  text-align: center;
}

/* Tabelas informativas */
.info-table {
  margin: 2.5rem 0;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.info-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.info-table th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.2rem;
  font-weight: 600;
  text-align: left;
  font-size: 1rem;
}

.info-table td {
  padding: 1.2rem;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.95rem;
  color: #495057;
}

.info-table tr:last-child td {
  border-bottom: none;
}

.info-table tr:nth-child(even) {
  background: #f8f9fa;
}

.info-table tr:hover {
  background: #e3f2fd;
  transition: background 0.3s ease;
}

/* Grid de valores/características */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.value-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.value-card h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.value-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #6c757d;
  margin-bottom: 0;
}

/* Seção de estatísticas */
.stats-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 4rem 0;
  margin: 4rem 0;
  color: white;
  text-align: center;
}

.stats-section .section-title {
  color: white;
  margin-bottom: 3rem;
}

.stats-section .section-title::after {
  background: rgba(255, 255, 255, 0.3);
  left: 50%;
  transform: translateX(-50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffd700;
}

.stat-item p {
  font-size: 1.1rem;
  margin-bottom: 0;
  opacity: 0.9;
}

/* Seção CTA */
.cta-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 0;
  text-align: center;
  margin: 4rem 0;
}

.cta-section h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  text-decoration: none;
  color: white;
}

/* Formulário de contato */
.contact-grid {
  display: flex;
  gap: 4rem;
  margin-top: 2rem;
  align-items: stretch;
  /* Garante que os itens filhos se estiquem para preencher a altura */
}

.contact-info {
  flex: 1;
  /* Permite que o item ocupe o espaço disponível */
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #bbdefb;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  margin-top: 0.2rem;
}

.contact-details h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.contact-details p {
  margin-bottom: 0;
  color: #6c757d;
  line-height: 1.6;
}

.response-time {
  background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
  border: 1px solid #c3e6c3;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
}

.response-time h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.response-time p {
  margin-bottom: 0;
  color: #495057;
  line-height: 1.6;
}

.contact-form {
  flex: 1;
  /* Permite que o item ocupe o espaço disponível */
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-control:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* FAQ */
.faq-section {
  background: #f8f9fa;
  padding: 3rem 0;
  margin: 3rem 0;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background: #f8f9fa;
  color: #667eea;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: bold;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #f8f9fa;
  color: #6c757d;
  line-height: 1.6;
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 200px;
}

/* Footer melhorado */
footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 3rem 0 1rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ecf0f1;
}

.footer-section p {
  line-height: 1.6;
  color: #bdc3c7;
  margin-bottom: 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #667eea;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 1rem;
  text-align: center;
  color: #95a5a6;
}

/* Responsividade para páginas internas */
@media (max-width: 768px) {
  .hero-section h2 {
    font-size: 2.2rem;
  }

  .hero-section p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .subsection-title {
    font-size: 1.4rem;
  }

  .content-text {
    font-size: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info {
    padding-right: 0;
  }

  .contact-form {
    padding: 2rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-item h3 {
    font-size: 2.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 2.5rem 0;
  }

  .hero-section h2 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-links a {
    text-align: center;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    padding: 1.5rem;
  }

  .highlight-box {
    padding: 1.5rem;
  }

  .info-table {
    font-size: 0.9rem;
  }

  .info-table th,
  .info-table td {
    padding: 1rem;
  }
}


/* Loading Component Styles */
.news-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  min-height: 300px;
  width: 100%;
  max-width: 800px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
  text-align: center;
  grid-column: 1 / -1;
  /* Faz o elemento ocupar todas as colunas do grid */
  justify-self: center;
  /* Centraliza o elemento dentro do grid */
}

.news-loading-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(90, 103, 216, 0.1), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #e9ecef;
  border-top: 4px solid #5a67d8;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1.5rem;
  position: relative;
}

.loading-spinner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: #5a67d8;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 1.5s ease-in-out infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.8);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.loading-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #5a67d8;
  margin-bottom: 0.5rem;
  text-align: center;
  letter-spacing: 0.5px;
}

.loading-subtext {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: #6c757d;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.loading-dots {
  display: flex;
  gap: 8px;
  margin-top: 1rem;
}

.loading-dot {
  width: 8px;
  height: 8px;
  background: #5a67d8;
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite both;
}

.loading-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dot:nth-child(2) {
  animation-delay: -0.16s;
}

.loading-dot:nth-child(3) {
  animation-delay: 0s;
}

@keyframes bounce {

  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }

  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Skeleton Loading for News Cards */
.skeleton-news-container {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.skeleton-news-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.skeleton-news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.skeleton-title {
  height: 24px;
  background: #e9ecef;
  border-radius: 4px;
  margin-bottom: 1rem;
  width: 80%;
}

.skeleton-date {
  height: 16px;
  background: #f1f3f4;
  border-radius: 4px;
  margin-bottom: 1rem;
  width: 30%;
}

.skeleton-content {
  height: 16px;
  background: #e9ecef;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.skeleton-content:nth-child(3) {
  width: 100%;
}

.skeleton-content:nth-child(4) {
  width: 85%;
}

.skeleton-content:nth-child(5) {
  width: 70%;
}

.skeleton-source {
  height: 20px;
  background: #f1f3f4;
  border-radius: 20px;
  margin-top: 1.5rem;
  width: 120px;
}

/* Responsive adjustments for loading */
@media (max-width: 768px) {
  .news-loading-container {
    padding: 3rem 1.5rem;
    min-height: 250px;
  }

  .loading-spinner {
    width: 50px;
    height: 50px;
    border-width: 3px;
  }

  .loading-spinner::after {
    width: 16px;
    height: 16px;
  }

  .loading-text {
    font-size: 1.2rem;
  }

  .loading-subtext {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .news-loading-container {
    padding: 2.5rem 1rem;
    min-height: 200px;
  }

  .loading-text {
    font-size: 1.1rem;
  }

  .skeleton-news-card {
    padding: 1.5rem;
  }
}


/* Botão Ler Mais */
.ler-mais-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  flex: 1;
  min-width: 120px;
  justify-content: center;
}

.ler-mais-btn::before {
  content: '📖';
  margin-right: 0.5rem;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.ler-mais-btn:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #667eea 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  text-decoration: none;
}

.ler-mais-btn:hover::before {
  transform: rotate(15deg) scale(1.1);
}

/* Modal para desktop */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 16px;
  max-width: 800px;
  max-height: 90vh;
  width: 90%;
  overflow-y: auto;
  position: relative;
  transform: scale(0.8) translateY(50px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 2rem 2rem 1rem 2rem;
  border-bottom: 1px solid #e9ecef;
  position: sticky;
  top: 0;
  background: white;
  border-radius: 16px 16px 0 0;
  z-index: 1;
}

.modal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  line-height: 1.3;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  background: #f8f9fa;
  color: #dc3545;
  transform: scale(1.1);
}

.modal-body {
  padding: 1rem 2rem 2rem 2rem;
}

.modal-date {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.modal-date::before {
  content: '📅';
  margin-right: 0.5rem;
}

.modal-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 2rem;
  font-family: 'Lato', sans-serif;
  text-align: justify;
  hyphens: auto;
  word-wrap: break-word;
}

.modal-text p:first-child {
  text-indent: 1.5rem;
  /* Adiciona indentação apenas ao primeiro parágrafo */
  font-weight: 500;
  letter-spacing: 0.3px;
  word-spacing: 0.1em;
}


.modal-text p:last-child {
  margin-bottom: 0;
}

.modal-text br {
  line-height: 2.2;
}

.modal-text strong {
  font-weight: 600;
  color: #2c3e50;
}

.modal-text em {
  font-style: italic;
  color: #5a67d8;
}

.modal-footer {
  padding: 1rem 2rem 2rem 2rem;
  border-top: 1px solid #e9ecef;
  text-align: center;
}

.modal-source-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.modal-source-btn::before {
  content: '🔗';
  margin-right: 0.5rem;
}

.modal-source-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  text-decoration: none;
  color: white;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 95vh;
    margin: 2.5vh auto;
  }

  .modal-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }

  .modal-title {
    font-size: 1.3rem;
    padding-right: 3rem;
  }

  .modal-body {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
  }

  .modal-footer {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
  }

  .modal-text {
    font-size: 1rem;
  }

  .modal-close {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
  }
}