body {
  font-family: 'Lato', sans-serif; /* Nova fonte para o corpo */
  background-color: #fdfdfd; /* Off-white mais suave */
  color: #343a40; /* Cinza mais escuro para o texto principal */
}

header {
  background-color: #ffffff;
  padding: 2.5rem 1rem; /* Um pouco mais de padding */
  border-bottom: 1px solid #e9ecef; /* Borda mais suave */
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05 ); /* Sombra sutil */
}

header h1 {
  font-family: 'Poppins', sans-serif; /* Nova fonte para o título */
  font-size: 3.2rem; /* Mais destaque */
  margin-bottom: 0.5rem;
  color: #5a67d8; /* Um ton de azul mais vibrante, mas ainda coeso */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.08); /* Sombra mais suave */
  font-weight: 700;
  letter-spacing: 1.5px; /* Mais espaçamento para elegância */
}

header p {
  font-family: 'Lato', sans-serif; /* Mantém a fonte do corpo */
  font-size: 1.15rem; /* Levemente maior */
  color: #6c757d; /* Cinza médio */
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
}

.categorias-bar {
  margin-top: 1.5rem; /* Ajustado para mais espaçamento */
  margin-bottom: 1.5rem; /* Ajustado para mais espaçamento */
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Sombra para a barra */
}

.categorias-bar::-webkit-scrollbar {
  display: none;
}

.categorias-grid {
  display: flex;
  gap: 0;
  width: 100%;
  min-width: auto;
  padding: 0;
  justify-content: flex-start;
}

.categoria-btn {
  background: #ffffff;
  border: 1px solid #e0e0e0; /* Borda mais suave */
  border-radius: 0;
  padding: 0.8rem 0; /* Mais padding vertical */
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1 );
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #495057;
  font-weight: 600;
  font-size: 0.95rem; /* Levemente maior */
  white-space: nowrap;
  min-width: auto;
  flex-grow: 1;
  box-shadow: none; /* Removido sombra padrão, a barra já tem */
}

.categoria-btn::before {
  /* Removido o efeito de brilho para um visual mais limpo */
  display: none;
}

.categoria-btn:hover {
  transform: translateY(-2px); /* Elevação sutil */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Sombra mais pronunciada no hover */
  border-color: #667eea; /* Cor da borda ao passar o mouse */
  background-color: #f0f8ff; /* Cor sólida muito clara ao passar o mouse */
  color: #343a40; /* Cor do texto mais escura no hover */
}

.categoria-btn.active {
  background-color: #667eea; /* Cor sólida da barra de cotações */
  border-color: #764ba2; /* Borda com a cor final do gradiente da barra de cotações */
  color: white;
  transform: none;
  box-shadow: 0 5px 15px rgba(102,126,234,0.4); /* Sombra ajustada para a nova cor */
}

.categoria-btn.active:hover {
  transform: translateY(-2px); /* Elevação sutil no hover do ativo */
  box-shadow: 0 8px 20px rgba(102,126,234,0.5); /* Sombra mais forte */
}

.categoria-icon {
  display: none;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2.5rem;
  }
  header p {
    font-size: 1rem;
  }
  .categorias-bar {
    padding: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .categorias-grid {
    gap: 0;
    justify-content: flex-start;
  }
  .categoria-btn {
    min-width: auto;
    padding: 0.6rem 0;
    font-size: 0.85rem;
  }
}

.crypto-ticker {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.5rem; /* Ajustado para 1.5rem */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra para o ticker */
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: scroll-continuous 20s linear infinite;
}

.crypto-item {
  display: inline-flex;
  align-items: center;
  margin-right: 3rem;
  font-weight: 500;
  min-width: 200px;
  flex-shrink: 0;
}

.crypto-symbol {
  font-weight: bold;
  margin-right: 0.5rem;
  color: #ffd700;
}

.crypto-price {
  margin-right: 0.5rem;
}

.crypto-change {
  font-size: 0.9rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.crypto-change.positive {
  background-color: rgba(40, 167, 69, 0.8);
}

.crypto-change.negative {
  background-color: rgba(220, 53, 69, 0.8);
}

@keyframes scroll-continuous {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

#noticias {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
}

.noticia-card {
  background: #fdfdfd;
  border: none;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 450px; /* Altura fixa para padronizar os cards */
  overflow: hidden;
  position: relative;
}

.noticia-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px) scale(1.02);
}

.noticia-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  border-radius: 16px 16px 0 0;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.noticia-titulo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #2c3e50;
  display: block;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.noticia-data {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.noticia-data::before {
  content: '📅';
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.noticia-conteudo {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #495057;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-weight: 400;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* Limita a 4 linhas */
  -webkit-box-orient: vertical;
  position: relative;
  text-indent: 1.5rem; /* Adiciona indentação ao primeiro parágrafo */
}

.noticia-conteudo.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
  display: block;
}

.fonte-container {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.fonte-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #dee2e6;
  border-radius: 25px;
  color: #6c757d;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 120px;
}

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

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

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

.fonte-btn .fonte-texto {
  position: relative;
}

.fonte-btn:hover .fonte-texto::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  animation: underlineSlide 0.3s ease;
}

@keyframes underlineSlide {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

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

.noticia-card {
  animation: fadeInUp 0.6s ease forwards;
}

.noticia-card:nth-child(1) { animation-delay: 0.1s; }
.noticia-card:nth-child(2) { animation-delay: 0.2s; }
.noticia-card:nth-child(3) { animation-delay: 0.3s; }
.noticia-card:nth-child(4) { animation-delay: 0.4s; }
.noticia-card:nth-child(5) { animation-delay: 0.5s; }
.noticia-card:nth-child(6) { animation-delay: 0.6s; }

.loading-state {
  text-align: center;
  padding: 3rem;
  color: #6c757d;
  font-style: italic;
}

.loading-state::before {
  content: '⏳';
  display: block;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Responsividade completa para todos os dispositivos */
@media (max-width: 1200px) and (min-width: 1025px) {
  #noticias {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.8rem;
  }

  .noticia-titulo {
    font-size: 1.35rem;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  #noticias {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0.8rem;
  }

  .noticia-card {
    border-radius: 14px;
  }

  .card-content {
    padding: 1.4rem;
  }

  .noticia-titulo {
    font-size: 1.3rem;
    line-height: 1.25;
  }

  .fonte-btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  #noticias {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0.5rem;
  }

  .noticia-card {
    border-radius: 12px;
    margin: 0 0.5rem;
  }

  .card-content {
    padding: 1.25rem;
  }

  .noticia-titulo {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .noticia-conteudo {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .fonte-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 20px;
  }

  .noticia-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

@media (max-width: 480px) {
  #noticias {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 0.25rem;
  }

  .noticia-card {
    border-radius: 10px;
    margin: 0 0.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .card-content {
    padding: 1rem;
  }

  .noticia-titulo {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 0.8rem;
  }

  .noticia-titulo::after {
    width: 30px;
    height: 2px;
  }

  .noticia-card:hover .noticia-titulo::after {
    width: 60px;
  }

  .noticia-data {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .noticia-conteudo {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.2rem;
  }

  .fonte-container {
    padding-top: 0.8rem;
  }

  .fonte-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.75rem;
    border-radius: 18px;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .noticia-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
  }

  .noticia-card {
    animation-duration: 0.4s;
  }
}

@media (max-width: 320px) {
  #noticias {
    gap: 1rem;
    padding: 0.1rem;
  }

  .noticia-card {
    margin: 0 0.1rem;
    border-radius: 8px;
  }

  .card-content {
    padding: 0.8rem;
  }

  .noticia-titulo {
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .noticia-conteudo {
    font-size: 0.85rem;
  }

  .fonte-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .noticia-card {
    animation: none;
  }

  .card-content {
    padding: 0.8rem;
  }

  .noticia-titulo {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .noticia-conteudo {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .noticia-card::before {
    height: 3px;
  }

  .noticia-titulo::after {
    height: 2px;
  }
}

@media (pointer: coarse) {
  .fonte-btn {
    min-height: 44px;
    touch-action: manipulation;
  }

  .noticia-titulo {
    touch-action: manipulation;
  }
}



/* --- BANNER DE COOKIES LGPD --- */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  border-top: 3px solid #667eea;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
}

.cookie-text p {
  margin: 0;
  line-height: 1.5;
}

.cookie-text p:first-child {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.cookie-text p:last-child {
  font-size: 0.95rem;
  opacity: 0.9;
}

.cookie-text a {
  color: #667eea;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.cookie-text a:hover {
  color: #5a67d8;
}

.cookie-actions {
  flex-shrink: 0;
}

.cookie-accept-btn {
  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: 0.95rem;
  white-space: nowrap;
}

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

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .cookie-text p:first-child {
    font-size: 1rem;
  }

  .cookie-text p:last-child {
    font-size: 0.9rem;
  }

  .cookie-accept-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: 1rem;
  }

  .cookie-content {
    gap: 1rem;
  }

  .cookie-text p:first-child {
    font-size: 0.95rem;
  }

  .cookie-text p:last-child {
    font-size: 0.85rem;
  }

  .cookie-accept-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    width: 100%;
  }
}

/* --- NOVO FOOTER --- */
footer {
  background-color: #2c3e50; /* Fundo escuro para o rodapé */
  color: #ecf0f1; /* Cor do texto principal do rodapé */
  padding: 3rem 1rem 1.5rem; /* Mais padding */
  margin-top: 4rem; /* Mais espaçamento do conteúdo principal */
  font-size: 0.9rem;
  box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.2); /* Sombra para destacar */
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Layout responsivo em colunas */
  gap: 2rem; /* Espaçamento entre as seções */
  max-width: 1200px;
  margin: 0 auto 2rem; /* Centraliza e adiciona margem inferior */
  padding: 0 1rem;
}

.footer-section h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: #667eea; /* Cor de destaque para os títulos das seções */
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-section p {
  line-height: 1.6;
  color: #bdc3c7; /* Cinza mais claro para parágrafos */
}

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

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

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

.footer-links ul li a:hover {
  color: #667eea; /* Cor de destaque no hover */
}

.footer-disclaimers {
  margin-top: 0.5rem;
}

.disclaimer {
  background-color: rgba(255, 255, 255, 0.08); /* Fundo sutil para os avisos */
  border: 1px solid rgba(255, 255, 255, 0.15); /* Borda sutil */
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem; /* Espaçamento entre os avisos */
  color: #ecf0f1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.disclaimer:hover {
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.disclaimer summary {
  font-weight: bold;
  cursor: pointer;
  color: #ffd700; /* Cor de destaque para o resumo do aviso */
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: block; /* Para que a borda ocupe a largura total */
}
.disclaimer summary::-webkit-details-marker {
  display: none; /* Remove o marcador padrão */
}
.disclaimer summary::before {
  content: '▶ '; /* Adiciona um marcador personalizado */
  font-size: 0.8em;
  margin-right: 0.5em;
  transition: transform 0.2s ease;
}
.disclaimer[open] summary::before {
  content: '▼ '; /* Altera o marcador quando aberto */
  transform: rotate(90deg);
}

.disclaimer p {
  margin-top: 1rem;
  color: #bdc3c7; /* Cor do texto dentro do aviso */
  font-size: 0.85rem;
}
.disclaimer p strong {
  color: #ecf0f1;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Linha divisória */
  color: #bdc3c7;
}

.footer-bottom #ultimaAtualizacao {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .ticker-content {
    animation: scroll-continuous 10s linear infinite; /* Muito mais rápido em mobile */
  }
  .footer-content {
    grid-template-columns: 1fr; /* Uma coluna em telas menores */
    text-align: center;
  }
  .footer-links ul {
    text-align: center;
  }
}

/* --- 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: 1rem;
  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;
  }
}



.hero-section h2 {
  margin-bottom: 0.5rem; /* Ajuste para reduzir o espaço */
}




.hero-section h2 {
  margin-bottom: 0.5rem !important; /* Ajuste para reduzir o espaço */
}




/* --- 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-ri.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;
}er-spacing: 0.3px;
  word-spacing: 0.1em;
}

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

.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;
  }
}

/* Ajustes para mobile - expansão do card */
@media (max-width: 768px) {
  .noticia-card {
    height: auto; /* Permite altura automática em mobile */
    min-height: 350px; /* Altura mínima */
  }
  
  .noticia-card.expanded {
    height: auto;
  }
  
  .noticia-conteudo {
    -webkit-line-clamp: 3; /* Menos linhas em mobile */
  }
}

@media (max-width: 480px) {
  .fonte-container {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .fonte-btn,
  .ler-mais-btn {
    flex: none;
    width: 100%;
    justify-content: center;
    min-width: auto;
  }
  
  .noticia-card {
    min-height: 300px;
  }
}

