/* 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');  
}

* { 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; }

: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);
}

body { width: 100%; height: 100%; margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--grafite); background: #e3e8e952;
  line-height: 1.4;
  overflow-x: hidden;
}

/* Animações */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes slideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.animate-on-scroll.show { opacity: 1; transform: translateY(0); }

/* 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;
}
.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);
  transition: background 0.4s ease-in-out;
  color: #FFF;
  padding: 0.7rem 1.6rem; border-radius: 25px;
  text-decoration: none; font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(27, 94, 32, 0.3);
}
.cta-header:hover {
  background: linear-gradient(to bottom, #46771d, #548c2f);
  transition: background 0.4s ease-in-out;
  color: #062725; transform: translateY(-2px);
}

.menu {
  position: fixed;
  top: 60px; left: -100%;
  width: 250px; height: calc(100% - 70px); /* altura ajustada para não cobrir o cabeçalho */
  background: #145034; color: #FFF;
  z-index: 1000;
  transition: left 0.3s ease;
  overflow-y: auto; /* permite rolagem vertical */
  -webkit-overflow-scrolling: touch; /* rolagem suave no iOS */
  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 a página do portal */

.container {
  width: 90%; max-width: 1200px; margin: 40px auto; padding: 20px; box-sizing: border-box;
  background: #FFF;
  border-radius: 8px;
  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;
}


h1 { font-family: 'RalewayBold'; font-size: 2rem; color: #145c2e; margin: 0px; }

h2 { font-size: 1.3rem; color: #146E37; margin-top: 30px; }

p {
  line-height: 1.6;
  margin-top: 15px;
}

/* 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;
}
