/* Reset e Variáveis CSS */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Fonts */
@font-face {
  font-family: 'Segoe UI'; font-weight: normal; font-style: normal;
  src: url('fontes/Segoe UI.ttf') format('truetype');  
}

@font-face {
  font-family: 'Raleway'; font-weight: normal; font-style: normal;
  src: url('fontes/Raleway-VariableFont_wght.ttf') format('truetype');  
}

@font-face {
  font-family: 'RalewayBold'; font-weight: normal; font-style: normal;
  src: url('fontes/Raleway-Black.ttf') format('truetype');  
}

@font-face {
  font-family: 'Bebas'; font-weight: normal; font-style: normal;
  src: url('fontes/BebasNeue-Regular.ttf') format('truetype');  
}

:root {
  --verde-primario: #1B5E20;
  --verde-secundario: #2E7D32;
  --verde-claro: #4CAF50;
  --dourado: #FFB300;
  --dourado-escuro: #F57C00;
  --grafite: #212121;
  --cinza-escuro: #424242;
  --cinza-medio: #757575;
  --cinza-claro: #F5F5F5;
  --branco: #FFFFFF;
  --sombra: 0 2px 10px rgba(0,0,0,0.1);
  --sombra-hover: 0 5px 20px rgba(0,0,0,0.15);
}

html, body {
  width: 100%; height: auto;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  color: #495057; font-family: 'Exo', 'Segoe UI', sans-serif;
  background: #e3e8e952;
  overflow-x: hidden; cursor: url('img/cursor/cursor.cur') 7 2, auto !important;
}

* { cursor: url('img/cursor/cursor.cur') 7 2, auto !important; }  
input, textarea, select { cursor: url('img/cursor/text.cur') 7 2, text !important; }  
input:focus, textarea:focus, select:focus, input:active, textarea:active,
select:active { cursor: url('img/cursor/text.cur') 7 2, text !important; }
a, a:link, a:hover, a:active  { cursor: url('img/cursor/hand.cur') 7 2, pointer !important; outline: none !important; user-select: none !important; -webkit-tap-highlight-color: transparent !important;  }
button { cursor: url('img/cursor/hand.png') 7 2, pointer !important; outline: none !important; user-select: none !important; -webkit-tap-highlight-color: transparent !important; }

/* Header *//* Cabeçalho */
.header { position: fixed; display: flex; justify-content: space-between; align-items: center;
  top: 0; left: 0; width: 100%; height: 60px; padding: 0;
  z-index: 1000;
  background: #062725; transition: background-color 0.3s ease;
  color: #FFF; font-family: 'Segoe UI', 'Exo', sans-serif;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.header-container {
  display: flex; box-sizing: border-box; align-items: center; justify-content: space-between; position: relative;
  width: 100%; max-width: 1200px; height: 60px; margin: 0 auto; padding: 0 20px 0 10px;
}
.header.transparente { background-color: rgba(6, 39, 37, 0.9) !important; backdrop-filter: blur(5px) !important; }
.logo { max-width: 240px; height: 54px; margin: 0 auto; position: relative;  margin: 0; left: 0px; }
.logo img { cursor: url('img/cursor/hand.cur') 12 12, pointer !important; max-width: 240px; height: 54px; margin: 0 auto; display: block; border-radius: 8px; border: none; }

/* Hamburger Menu Animation */
.hamburger { cursor: pointer; height: 60px; display: none; position: relative; align-items: center; margin-right: 10px; }
 label.hamburger { font-weight: bold; margin: 0px; }
.hamburger input { display: none; }
.hamburger input[type="checkbox"] { display: none; }
.hamburger svg {
  height: 54px; width: 60px; border-radius: 20px 5px;
  margin-left: 10px; fill: none;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.hamburger svg:hover {
  background: #3FA110;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.line { fill: none; stroke: #188E45; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
              stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line-top-bottom { stroke-dasharray: 12 63; }
.hamburger input:checked + svg { transform: rotate(-45deg); }
.hamburger input:checked + svg .line-top-bottom {
  stroke-dasharray: 20 300; stroke-dashoffset: -32.42;
}
#menuToggle, .menu-toggle input[type="checkbox"] {
  position: absolute;
  width: 60px; height: 60px; margin: 0; padding: 0;
  opacity: 0; z-index: 1001;
  cursor: pointer;
}
#menuToggle:checked ~ .menu { left: 0; }
#menuToggle:checked ~ .menu-overlay { display: block; }
.icone { width: 25px; height: 20px; padding: 0 0 0 0; }

.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
nav ul { list-style: none; display: flex; gap: 2rem; align-items: center; }
nav a { color: #FFF; text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
nav a:hover { color: var(--verde-primario); }

.cta-header {
  background: linear-gradient(to bottom, #538d22, #548c2f);
  color: #FFF;
  padding: 0.5rem 1.6rem; border-radius: 25px;
  text-decoration: none; font-weight: 500; line-height: 1;
  box-shadow: 0 4px 15px rgba(27, 94, 32, 0.3);
}
.cta-header:hover {
  background: linear-gradient(to bottom, #46771d, #548c2f);
  transition: 0.4s ease;
  color: #062725; transform: translateY(-2px);
}

.menu {
  position: fixed;
  top: 60px; left: -100%;
  width: 250px; height: calc(100% - 60px); max-height: 100vh; border-radius: 0 20px 20px 0;
  background: #145034; color: #FFF;
  z-index: 1000;
  transition: left 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: #3FA110 #145034;
}
  
.menu.open { left: 0; }
.menu ul { padding: 10px 0; margin: 0; list-style: none; }
.menu li { border-bottom: 1px solid #146E37; }
.menu a { display: block; padding: 12px 20px; color: #FFF; text-decoration: none; }
.menu a:hover { background: #3FA110; }
.menu a.active { background: #3FA110; font-weight: regular; }
.menu a.active:hover { background: #146E37; }
  
.menu-overlay {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Fundo semitransparente */
  display: none; /* Esconde o overlay inicialmente */
  z-index: 999; /* Deve estar abaixo do menu, mas acima do conteúdo */
  transition: background-color 0.3s ease; /* Transição suave */
}
  
.menu-overlay.ativo { display: block; transition: background-color 0.3s ease; }

/* News Ticker */
.news-ticker { position: fixed; top: 59px; left: 0; width: 100%; height: 25px; padding: 2px 0;
  z-index: 999; overflow: hidden;
  font-size: 0.8rem;
  background: linear-gradient(270deg, rgb(10, 19, 13) 0%, rgba(3, 51, 51, 1) 100%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.news-content { display: inline-flex; white-space: nowrap; animation: scroll-news 30s linear infinite; }
.news-ticker:hover .news-content { animation-play-state: paused; }
@keyframes scroll-news {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.news-item { margin-right: 3rem; font-weight: 400; color: #e3ff9590;
  text-decoration: none; transition: color 0.3s ease; cursor: pointer;
}
.news-item:hover {  text-decoration: none; color: #e3ff95; }

/* Estilos para Slider */
.portal-slider {
  width: 100%; margin-top: 83px; padding: 0; display: flex; justify-content: space-between; align-items: center; box-sizing: border-box;
  background: #33714A; color: #FFF; line-height: 1.4;
  background: linear-gradient(270deg,rgba(51, 113, 74, 1) 0%, rgba(3, 51, 51, 1) 100%);
}

.portal-slider-slider {
  width: 100%; max-width: 1200px; justify-content: space-between; align-items: center;
  margin: 0 auto; display: flex; box-sizing: border-box; color: #FFF;
}

.slide-content {
  width: 100%; max-width: 1200px; margin: auto auto; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
}

.portal-slider-colM {
  width: 90%; max-width: 1200px;
  margin: 0 auto; display: flex; gap: 20px; padding: 0 35px;
  justify-content: space-between; align-items: center; box-sizing: border-box;
}

.portal-slider-col {
  display: block;  width: 50%; background: #f0f0f000; padding: 0;
  text-align: left; justify-content: space-between; align-items: center; box-sizing: border-box;
}

.portal-slider-col h1{ font-family: 'RalewayBold'; font-size: 2.2rem; line-height: 1.2; margin: 0.5rem 0 0 0; text-align: left; display: block; }

.slide-img { max-width: 100%; max-height: 300px; margin: 0px auto; padding: 20px 0;
  justify-content: space-between; align-items: center; display: block;
}
.slide-imgX {
  max-width: 250px; max-height: 250px; width: auto; height: auto; margin: 20px auto;
  display: block; object-fit: contain;
}
.slide-imgR {
  max-width: 250px; max-height: 250px; width: auto; height: auto; margin: 20px auto;
  border-radius: 20%; display: block; object-fit: contain;
}

.portal-slider p { font-family: 'Raleway'; font-size: 1.2rem; color: #FFFFFFa1;  margin: 0.9rem 0 1.5rem 0; display: block; }
.portal-slider-destaque { border-radius: 10px; margin-top: auto; padding: 1.5rem; box-sizing: border-box; background: #FFFFFFea; }
.portal-slider-col .highlight {
  background: linear-gradient(135deg, var(--dourado), var(--verde-claro));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.portal-slider-destaque h3 { margin: 0 0 0.5rem 0; color: #337015; }
.portal-slider-destaque li, .portal-slider-destaque ul {    
  margin: 0 0 0.5rem 0; color: #495057; list-style: none;  padding: 0;
}

.flex.items-start::marker { unicode-bidi: isolate; }

.check-circleC:before, .circle-checkC:before {
  font-family: 'Font Awesome'; font-style: normal; font-size: 1rem;
  content: "\f058"; color: #10b948;
}

.swiper { width: 100%; height: 100%; display: flex; justify-content: space-between; align-items: center; }
.swiper-slide { text-align: center; font-size: 18px; display: flex; justify-content: center; align-items: center; }
.swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hero-buttons { box-sizing: border-box; margin: 20px 0 20px 0; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; align-items: center; }

.btn-primary {
  background: linear-gradient(135deg, var(--dourado-escuro), var(--dourado));  
  padding: 1rem 1.4rem; height: auto;
  border-radius: 30px;  
  font-size: 1.1rem; font-weight: 600; color: #43291f; text-align: center; line-height: 1; text-decoration: none;  
  overflow: hidden; position: relative; display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 179, 0, 0.3);
}
.btn-primary::before { content: ''; position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 25px rgba(255, 179, 0, 0.4); }

.btn-secondary { box-sizing: border-box;
  background: transparent;
  color: #e3ff95d2; text-align: center;
  padding: 1rem 1.4rem; height: auto;
  border: 2px solid #e3ff95d2;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600; line-height: 0.8;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.3s ease;
}
.btn-secondary:hover { transform: translateY(-3px); background: var(--verde-primario); color: #FFF; }

.btn-terc { box-sizing: border-box;
  background: transparent;
  color: #337015; text-align: center;
  padding: 1rem 1.4rem; height: auto;
  border: 2px solid #40804B;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600; line-height: 0.8;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.3s ease;
}
.btn-terc:hover { transform: translateY(-3px); background: var(--verde-primario); color: #FFF; }

/* Ajuste para resoluções menores */
@media (max-width: 825px) {
  .header-container { justify-content: flex-start; gap: 10px; padding: 0px 10px }
  .logo { margin: 0 auto; position: absolute; left: 50%; transform: translateX(-50%); }
  .hamburger { display: flex !important; align-items: center; margin-right: 10px; }
  .nav-menu { display: none !important; }
  .portal-slider-colM { width: 100%; display: block; padding: 0px 45px; }
  .portal-slider-col { width: 100%; margin: 20px 0 0px 0; }
  .portal-slider h1 { margin: 0px 0; display: block; }
  .portal-slider { margin-top: 83px; padding: 0px 0 0px 0; }
}


.container {
  width: 90%; max-width: 1200px; margin: 40px auto; padding: 20px; box-sizing: border-box;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  flex: 1;
  animation: fadeUp 0.6s ease-out; /* Animação de entrada */
  will-change: transform, opacity;
}

/* Seções */
.section-header { text-align: center; margin: 0rem; display: block; }
.section-header2 { text-align: center; margin: 0rem 0 2rem 0; display: block; }
.section-header2 h2 { font-weight: bold; font-family: 'RalewayBold'; font-size: 2rem; line-height: 1; color: #212121; margin-bottom: 1rem; font-weight: 800; }
.section-header h2 { font-family: 'RalewayBold'; font-size: 2rem; line-height: 1.2; color: #212121; margin-bottom: 1rem; font-weight: 800; }
.section-header p { font-family: 'Raleway'; font-size: 1.2rem; color: #666; font-weight: 600; }
@media (max-width: 768px) {
  .section-header h2 { font-size: 1.6rem; }
  .section-header2 h2 { font-size: 1.6rem; }
  .section-header p { font-size: 1.1rem; }
}

/* Cards do Blog - Estilos padronizados */
.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.blog-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-hover);
}

/* Imagem padronizada */
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Conteúdo do card */
.card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Categoria */
.blog-category {
  color: #495057;;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* Título */
.card-content h2 {
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: #146E37;
  line-height: 1.3;
}

/* Resumo */
.card-content p {
  font-size: 0.95rem;
  color: #666;
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Meta informações */
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cinza-medio);
  font-size: 0.9rem;
  margin: 1rem 0;
  padding-top: 0.5rem;
  border-top: 1px solid #eee;
}

.blog-meta span {
  font-size: 0.85rem;
  color: #999;
}

/* Botões */
.btn-leia-mais,
.btn-voltar { width: 100%; box-sizing: border-box;
  background: #3FA110;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: auto;
  transition: background 0.3s;
  align-self: flex-start;
}

.btn-leia-mais:hover,
.btn-voltar:hover {
  background: #146E37;
}

/* Responsividade */
@media (max-width: 768px) {
  .blog-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 15px;
  }

  .card-content {
    padding: 15px;
  }

  .card-content h2 {
    font-size: 1.1rem;
  }

  .card-content p {
    font-size: 0.9rem;
  }

  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}

/* Página de notícia individual - Espaçamentos corrigidos */
.noticia-container {
  display: flex; box-sizing: border-box;
  width: 90%; max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  gap: 30px;
  flex-wrap: wrap;
}

.noticia-conteudo {
  width: 100%; flex: 3; box-sizing: border-box;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.capa-noticia {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.noticia-conteudo h2 { 
  color: #146E37; 
  font-family: 'RalewayBold', sans-serif; font-weight: 400;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

.data-noticia {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

/* CONTEÚDO HTML - ESPAÇAMENTOS CORRIGIDOS */
.conteudo-html {
  font-size: 1rem;
  line-height: 1.6;
  color: #333; 
  box-sizing: border-box;
}

/* Parágrafos */
.conteudo-html p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin: 0 0 1rem 0;
}

/* Títulos */
.conteudo-html h1 {
  font-size: 1.8rem;
  color: #146E37;
  margin: 1.5rem 0 1rem 0;
  line-height: 1.3;
}

.conteudo-html h2 {
  font-size: 1.5rem;
  color: #146E37;
  margin: 3rem 0 0.8rem 0;
  line-height: 1.3;
}

.conteudo-html h3 {
  font-size: 1.3rem;
  color: #3FA110;
  margin: 1.2rem 0 0.6rem 0;
  line-height: 1.3;
}

.conteudo-html h4 {
  font-size: 1.1rem;
  color: #3FA110;
  margin: 1rem 0 0.5rem 0;
  line-height: 1.3;
}

.conteudo-html br {
    display: none !important;
}

/* Ou se quiser manter apenas uma quebra de linha pequena */
.conteudo-html br {
    display: block !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    visibility: hidden !important;
}

/* Listas */
.conteudo-html ul, 
.conteudo-html ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.conteudo-html li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Imagens */
.conteudo-html img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto; /* Espaçamento reduzido */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Blockquotes */
.conteudo-html blockquote {
  border-left: 4px solid #3FA110;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #666;
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 4px;
}

/* Links */
.conteudo-html a {
  color: #3FA110;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.conteudo-html a:hover {
  color: #146E37;
}

/* Códigos */
.conteudo-html code {
  background: #f4f4f4;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9rem;
}

.conteudo-html pre {
  background: #f4f4f4;
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  margin: 1rem 0;
}

/* Tabelas */
/* ========================================
   ESTILIZAÇÃO DE TABELAS
   ======================================== */

/* ========================================
   1. FONTE BASE
   ======================================== */
@font-face {
  font-family: 'Exo';
  src: url('fontes/exo2.0-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* ========================================
   2. ESTILIZAÇÃO PRINCIPAL DA TABELA
   ======================================== */
.conteudo-html table {
  width: 100%;
  border: 1px solid #DEE2E6; 
  border-radius: 8px; 
  border-collapse: collapse; 
  border-spacing: 0;
  table-layout: fixed; 
  overflow: hidden;
  font-family: 'Exo', 'Segoe UI', sans-serif; 
  font-size: 1rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* QUEBRA DE TEXTO - Propriedades principais */
  word-wrap: break-word;           /* Quebra palavras longas */
  word-break: break-word;          /* Quebra palavras se necessário */
  overflow-wrap: break-word;       /* Quebra texto que transborda */
  hyphens: auto;                   /* Adiciona hífens automáticos */
  white-space: normal;             /* Permite quebra de linha normal */
}

/* ========================================
   3. CABEÇALHO DA TABELA
   ======================================== */
.conteudo-html th {
  background-color: #3FA110;
  color: #FFF; 
  font-weight: 600; 
  text-align: center;
  padding: 15px;
  border: 1px solid #DEE2E6; 
  border-bottom: 1px solid #DEE2E6;
}

.conteudo-html th:last-child {
  border-right: 1px solid #DEE2E6;
}

/* ========================================
   4. CÉLULAS DA TABELA
   ======================================== */
.conteudo-html td {
  padding: 10px 15px; 
  vertical-align: middle; 
  font-family: 'Exo', 'Segoe UI', sans-serif; 
  font-size: 1rem; 
  text-align: center;
  border: 1px solid #DEE2E6;
  background-color: rgba(20, 80, 52, 0.02);
}

/* ========================================
   5. PRIMEIRA COLUNA (RÓTULOS)
   ======================================== */
.conteudo-html td:first-child,
.conteudo-html .label-column {
  background-color: #F8F9FA;
  font-weight: 600; 
  text-align: left;
  width: 25%;
}

/* ========================================
   6. EFEITO HOVER
   ======================================== */
.conteudo-html table tr:hover td {
  background-color: #FFF7D6;
  transition: background-color 0.3s ease;
}

.conteudo-html table tr:hover th {
  background-color: #2d8f0a;
  transition: background-color 0.3s ease;
}

/* ========================================
   7. CLASSES ESPECIAIS PARA LINHAS
   ======================================== */

/* Linha de total */
.conteudo-html .total-row td {
  background-color: #F1F3F5 !important;
  font-weight: bold;
  border-top: 2px solid #3FA110;
}

/* Linha destacada */
.conteudo-html .highlight-row td {
  background-color: #E3F2FD !important;
}

/* ========================================
   8. CLASSES ESPECIAIS PARA COLUNAS
   ======================================== */

/* Coluna destacada */
.conteudo-html .highlight-column {
  background-color: #E9ECEF !important;
  color: #333;
}

/* Coluna com fundo alternativo */
.conteudo-html .alt-background {
  background-color: rgba(40, 167, 69, 0.1) !important;
}

/* ========================================
   9. CABEÇALHOS ALTERNATIVOS
   ======================================== */

/* Cabeçalho alternativo verde escuro */
.conteudo-html .alt-header {
  background-color: #146E37 !important;
  color: #FFF;
}

/* Cabeçalho azul */
.conteudo-html .header-blue {
  background-color: #007bff !important;
  color: #FFF;
}

/* Cabeçalho vermelho */
.conteudo-html .header-red {
  background-color: #dc3545 !important;
  color: #FFF;
}

/* ========================================
   10. CÉLULAS COM MÚLTIPLAS LINHAS
   ======================================== */
.conteudo-html .multi-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.conteudo-html .multi-line span {
  display: block;
  line-height: 1.4;
}

.conteudo-html .multi-line.align-left {
  align-items: flex-start;
}

.conteudo-html .multi-line.align-center {
  align-items: center;
}

/* ========================================
   11. TEMAS DE COR PARA TABELAS INTEIRAS
   ======================================== */

/* Tema azul */
.conteudo-html .theme-blue th {
  background-color: #007bff !important;
}

.conteudo-html .theme-blue tr:hover th {
  background-color: #0056b3 !important;
}

/* Tema vermelho */
.conteudo-html .theme-red th {
  background-color: #dc3545 !important;
}

.conteudo-html .theme-red tr:hover th {
  background-color: #c82333 !important;
}

/* Tema verde escuro */
.conteudo-html .theme-dark th {
  background-color: #145034 !important;
}

.conteudo-html .theme-dark tr:hover th {
  background-color: #0d3321 !important;
}

/* Tema verde claro */
.conteudo-html .theme-light th {
  background-color: #28a745 !important;
}

.conteudo-html .theme-light tr:hover th {
  background-color: #218838 !important;
}

/* ========================================
   12. UTILIDADES DE TEXTO
   ======================================== */

/* Alinhamento */
.conteudo-html .text-center {
  text-align: center !important;
}

.conteudo-html .text-left {
  text-align: left !important;
}

.conteudo-html .text-right {
  text-align: right !important;
}

/* Peso da fonte */
.conteudo-html .font-bold {
  font-weight: bold !important;
}

.conteudo-html .font-normal {
  font-weight: normal !important;
}

/* Cores do texto */
.conteudo-html .text-success {
  color: #28a745 !important;
}

.conteudo-html .text-danger {
  color: #dc3545 !important;
}

.conteudo-html .text-warning {
  color: #ffc107 !important;
}

.conteudo-html .text-info {
  color: #17a2b8 !important;
}

.conteudo-html .text-primary {
  color: #007bff !important;
}

.conteudo-html .text-muted {
  color: #6c757d !important;
}

/* ========================================
   13. ANIMAÇÃO DE DESTAQUE
   ======================================== */
@keyframes flashHighlight {
  0% { background-color: #FCE9AB; }
  100% { background-color: transparent; }
}

.conteudo-html .highlight-flash {
  animation: flashHighlight 1.0s ease-in-out;
}

/* ========================================
   14. BORDAS ESPECIAIS
   ======================================== */

/* Sem bordas */
.conteudo-html .no-border {
  border: none !important;
}

/* Borda superior destacada */
.conteudo-html .border-top-highlight {
  border-top: 3px solid #3FA110 !important;
}

/* Borda esquerda destacada */
.conteudo-html .border-left-highlight {
  border-left: 4px solid #3FA110 !important;
}

/* ========================================
   15. LARGURAS ESPECÍFICAS
   ======================================== */

/* Colunas com larguras predefinidas */
.conteudo-html .col-narrow {
  width: 15% !important;
}

.conteudo-html .col-small {
  width: 20% !important;
}

.conteudo-html .col-medium {
  width: 30% !important;
}

.conteudo-html .col-large {
  width: 40% !important;
}

.conteudo-html .col-wide {
  width: 50% !important;
}

/* ========================================
   16. RESPONSIVIDADE
   ======================================== */

/* Tablets */
@media (max-width: 768px) {
  .conteudo-html table {
    font-size: 0.9rem;
  }

  .conteudo-html th {
    padding: 10px 8px;
    font-size: 0.9rem;
  }

  .conteudo-html td {
    padding: 8px 6px;
    font-size: 0.85rem;
  }

  .conteudo-html td:first-child {
    font-size: 0.85rem;
  }
}

/* Smartphones */
@media (max-width: 480px) {
  .conteudo-html table {
    font-size: 0.8rem;
  }

  .conteudo-html th {
    padding: 8px 4px;
    font-size: 0.8rem;
  }

  .conteudo-html td {
    padding: 6px 4px;
    font-size: 0.75rem;
  }

  .conteudo-html td:first-child {
    font-size: 0.75rem;
  }

  /* Em telas muito pequenas, permitir scroll horizontal */
  .conteudo-html {
    overflow-x: auto;
  }
}

/* ========================================
   17. TABELAS ESPECIAIS
   ======================================== */

/* Tabela compacta */
.conteudo-html .table-compact th,
.conteudo-html .table-compact td {
  padding: 5px 8px;
  font-size: 0.9rem;
}

/* Tabela espaçada */
.conteudo-html .table-spacious th,
.conteudo-html .table-spacious td {
  padding: 20px;
  font-size: 1.1rem;
}

/* Tabela sem hover */
.conteudo-html .table-no-hover tr:hover td,
.conteudo-html .table-no-hover tr:hover th {
  background-color: inherit !important;
}

/* Remover espaçamentos excessivos de elementos específicos */
.conteudo-html *:first-child {
  margin-top: 0 !important;
}

.conteudo-html *:last-child {
  margin-bottom: 0 !important;
}

/* Ads internas */
.ads-horizontal, .ads-internal, .ads-vertical {
  margin: 20px 0;
  text-align: center;
}

/* Responsividade */
@media (max-width: 768px) {
  .noticia-container {
    flex-direction: column;
    padding: 0 15px;
  }

  .noticia-conteudo {
    padding: 20px;
    font-size: 0.95rem;
  }

  .conteudo-html h1 {
    font-size: 1.5rem;
    margin: 1.2rem 0 0.8rem 0;
  }

  .conteudo-html h2 {
    font-size: 1.3rem;
    margin: 1rem 0 0.6rem 0;
  }

  .conteudo-html h3 {
    font-size: 1.2rem;
    margin: 0.8rem 0 0.5rem 0;
  }

  .conteudo-html p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 0.8rem 0;
  }

  .capa-noticia {
    max-height: 250px;
  }
}

.ads-horizontal, .ads-internal, .ads-vertical { margin: 20px 0; text-align: center; }
.noticia-sidebar { min-width: 250px; flex: 1; box-sizing: border-box; background: #fff;
  padding: 30px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);  
}
.noticia-sidebar h3 { color: #146E37; font-size: 1.2rem; margin-bottom: 15px; }
.noticia-sidebar ul { list-style: none; padding: 0; margin: 0; }
.noticia-sidebar li { margin-bottom: 20px; }
.noticia-sidebar a { text-decoration: none; color: #3FA110; font-weight: bold; transition: margin 0.3s ease; }
.noticia-sidebar a:hover { text-decoration: none; color: #033333; margin: 0 0 0 5px; transition: margin 0.3s ease; }

/* Rodapé */
.footer {
  width: 100%;
  background: #033333;
  color: #FFF;
  display: block; /* Flexbox para o rodapé */
  unicode-bidi: isolate; /* Isola o rodapé para evitar quebras de linha indesejadas */
  overflow: hidden; /* Evita que o conteúdo extrapole */
  box-sizing: border-box; /* Inclui padding e bordas no tamanho total */
  margin: 0px 0 0 0; /* Centraliza o rodapé horizontalmente */
}
.footer-animacao.oculto { opacity: 0; transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.footer-animacao.aparece { opacity: 1; transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.footer-cont {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 10px; display: flex; gap: 20px;
  justify-content: space-around; flex-wrap: wrap; box-sizing: border-box;
}

@media (max-width: 768px) {
  .footer-cont { flex-direction: column; align-items: center; padding: 10px; }
  .footer-info-box { flex: 1 1 100%; max-width: 100%; }
  .footer-info-box p { font-size: 0.8rem; }
}

.footer-top {
  display: flex; justify-content: space-around; padding: 20px 25px;
  background-color: #062725;
  text-align: left;
}

.footer-info-box {
  flex: 1 1; /* Permite que o item cresça, encolha e tenha um tamanho mínimo de 250px */
  max-width: 100%; /* Garante que o item não ultrapasse os limites do container */
  margin: 10px 0;
  color: #fff;
  display: flex;
  flex-direction: column; /* Organiza o conteúdo verticalmente */
  align-items: center; /* Centraliza o conteúdo horizontalmente */
  text-align: center; /* Centraliza o texto */
  box-sizing: border-box; /* Inclui padding e bordas no tamanho total */
}

.footer-info-box h4 { margin: 8px 0; font-size: 1.2rem; color: #58AD65; }

.footer-info-box p { margin: 8px 0; font-size: 0.9rem; color: #FFF; }

.icon-circle {
  background-color: rgba(255, 255, 255, 0.08);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.icon-circle:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.icon-circlesvg {
  width: 30px; height: 30px; fill: #3FA110;
  filter: invert(33%) sepia(78%) saturate(500%) hue-rotate(90deg) brightness(1.2);  
}

.whatsapp-link {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.95rem;
  color: #58AD65;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.whatsapp-link:hover { color: #3FA110; text-decoration: none; }

.botao-contato {
  display: inline-block;
  background-color: #1c3f2e;
  font-size: 0.95rem; color: #c9f3d1;
  text-decoration: none;
  padding: 5px 10px;
  margin: 5px 8px;
  border-radius: 30px;
  border: 1px solid #00ff91;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
}

.botao-contato:hover { background-color: #00ff91; color: #062725; transform: scale(1.05); }
.botao-contato i { margin-right: 6px; }
  
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: #033333;
  padding: 30px 10px;
  color: #FFF;
}

.footer-col { flex: 1; min-width: 250px; margin: 10px; }

.footer-col:last-child {
  max-width: 320px; /* Limita a largura da coluna do formulário */
}

.footer-col h4 {
  font-size: 1.2rem;
  margin: 0 0 15px 0;
  color: #58AD65;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
  font-size: 1rem;
  transition: margin 0.3s ease; /* Transição suave para o efeito de hover */
}

.footer-col ul li a { color: #FFF; text-decoration: none; transition: margin 0.3s ease; }
.footer-col ul li a:hover { color: #3FA110; margin: 0 0 0 5px; transition: margin 0.3s ease; }

.footer-form input,
.footer-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px;
  margin-bottom: 10px;
  background: #FFFFFF0E;
  border: none;
  border-radius: 4px;
  color: #FFF;
  font-size: 1rem;
  font-family: 'Exo', sans-serif;
}

.footer-form textarea {
  min-height: 100px; /* Altura fixa para o textarea */
}

.footer-form input:focus,
.footer-form textarea:focus {
  background: #FFFFFF0E;
  box-shadow: 0 0px 5px #58AD65D0;
  outline: none;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: #E3FF9550; /* Cinza claro para o placeholder */
}

.footer-form button {
  max-width: 100%;
  box-sizing: border-box;
  background-color: #58AD65;
  transition: background-color 0.3s;
  color: #033333;
  padding: 12px;
  border: none;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Exo', sans-serif;
  font-weight: bold;
}

.footer-form button:hover {
  background-color: #40804B;
  transition: background-color 0.3s;
}

.footer-form button:active { scale: 0.95; }

.footer-bottom {
  background-color: #062725;
  padding: 20px 30px;
  text-align: center;
  color: #E2FF9550;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .noticia-container {
    flex-direction: column;
    padding: 0 15px;
  }

  .noticia-conteudo {
    padding: 30px;
    font-size: 0.95rem;
  }

  .conteudo-html p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .noticia-sidebar {
    width: 100%;
    margin-top: 30px;
    padding: 30px;
    min-width: auto;
  }

  .capa-noticia {
    max-height: 250px;
  }
}
