/* IMPORTAÇÃO DE FONTES */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* RESET E ESTILOS GLOBAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
/* CORPO DO SITE */
body{
    background-color: #fff;
    font-family: Poppins;
    font-size: 12px;
    overflow-x: hidden;
}

/* LINKS */
a{
    text-decoration: none;
}

/* HEADER SECTION  */
/* HEADER */
header {
  width: 1140px;
  max-width: 80%;
  margin: auto;
  height: 50px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
  transition: transform .8s ease, opacity .8s ease;
}
header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}
/* MENU FLUTUANTE */
.floating-menu {
    padding: 1rem;
    gap: 2rem;
    bottom: 0;
    position: fixed;
    top: 0;
    left: 35%;
    width: auto;
    min-width:500px;
    height: 30px;
    background: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 3;
    opacity: 0;
    transform: translateX(-50%);
    transform: translateY(20px);
  }
  .floating-menu .menu-item {
    color: #444;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.floating-menu .menu-item::after {
    content: attr(data-title);
    position: absolute;
    top: 20px;
    left: 35%;
    transform: translateX(-50%);
    background-color: #444;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.floating-menu .menu-item:hover {
    color: #00ff88;
    transform: translateY(2px);
}

.floating-menu .menu-item:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
}
.floating-menu.visible{
  opacity: 1;
  transform: translateY(0);
}
.floating-menu:active {
  transform: translateY(0);
}
/* MODAL DE PESQUISA */
 .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.modal.active {
  display: flex;
  opacity: 1;
}


.modal.active .search-container {
  transform: translateY(0);
}

/* CONTAINER CENTRAL DA BARRA */
.search-container {
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* CAIXA DE PESQUISA */
.search-box {
  display: flex;
  width: 100%;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.search-box input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  outline: none;
  font-size: 16px;
  border-radius: 50px 0 0 50px;
}

.search-box button {
  background-color: #22ff94;
  border: none;
  color: white;
  padding: 0 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 18px;
  border-radius: 0 50px 50px 0;
}

.search-box button:hover {
  background-color: #00cc6a;
}

  /* ESTILOS PARA OS RESULTADOS DA PESQUISA */
.search-results {
  display: none;
  max-height: 70vh;
  overflow-y: auto;
  margin-top: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 20px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.results-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.results-header h3 {
  color: #333;
  font-size: 1.2rem;
  font-weight: 600;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.result-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-radius: 8px;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.result-item:hover {
  background: #e8f5e9;
  border-color: #22ff94;
  transform: translateX(5px);
  box-shadow: 0 2px 10px rgba(34, 255, 148, 0.2);
}

.result-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #22ff94, #00cc6a);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
}

.result-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-type {
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.result-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

.result-title mark {
  background: #ffeb3b;
  color: #333;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 700;
}

.result-excerpt {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.result-excerpt mark {
  background: #ffeb3b;
  color: #333;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 600;
}

.result-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.result-meta span {
  font-size: 0.85rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 5px;
}

.result-meta i {
  color: #22ff94;
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.no-results i {
  font-size: 3rem;
  color: #ccc;
  margin-bottom: 15px;
}

.no-results p {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
}

.no-results p strong {
  color: #22ff94;
}

.no-results span {
  font-size: 0.9rem;
  color: #999;
}

/* SCROLLBAR PERSONALIZADA PARA RESULTADOS */
.search-results::-webkit-scrollbar {
  width: 8px;
}

.search-results::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb {
  background: #22ff94;
  border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb:hover {
  background: #00cc6a;
}

/* AJUSTES RESPONSIVOS */
@media (max-width: 768px) {
  .search-results {
    max-height: 60vh;
    padding: 15px;
  }

  .result-item {
    padding: 12px;
    gap: 12px;
  }

  .result-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .result-title {
    font-size: 0.95rem;
  }

  .result-excerpt {
    font-size: 0.85rem;
  }

  .results-header h3 {
    font-size: 1rem;
  }
}

.close-modal {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 1.5rem;
  color: #dfdfdf;
  cursor: pointer;
  transition: color 0.3s ease;
  background-color: rgba(24, 46, 31, 0.908);
  padding: 0.5rem 1rem;
  border-radius: 50%;
}

.close-modal:hover {
  color: #868686;
}

/* RESPONSIVO PARA TELA MENORES */
@media (max-width: 480px) {
  .search-box input {
    padding: 12px 16px;
    font-size: 14px;
  }

  .search-box button {
    padding: 0 16px;
    font-size: 16px;
  }
}

/* BOTÃO DE PESQUISA */
.search-button:hover {
  background-color: #00cc6a;
  transform: translateY(-2px);
}

/* LINKS DO HEADER */
header a{
  color: #eee;
  margin-right: 5px;
  padding: 5px 10px;
  transition: 0.2s;
}

a.active{
  background: #14ff72cb;
  border-radius: 2px;
}

header a:hover{
  background: #14ff72cb;
  border-radius: 2px;
}

/* MENU HAMBURGUER */
.menu-toggle {
    display: none;
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}
.hamburger {
    width: 30px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;

    z-index: 2;
}
.hamburger::before {
    transform: translateY(-10px);
}

.hamburger::after {
    transform: translateY(10px);
}

.menu-toggle.active .hamburger {
    background: transparent;
}
.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
}

/* MENU NAV */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 2;
}

.nav-menu.active {
    visibility: visible;
    opacity: 1;
}

.nav-menu ul {
    list-style: none;
    text-align: center;
}

.nav-menu ul li {
    margin: 20px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.nav-menu.active ul li {
    opacity: 1;
    transform: translateY(0);
}

.nav-menu ul li:nth-child(1) { transition-delay: 0.1s; }
.nav-menu ul li:nth-child(2) { transition-delay: 0.2s; }
.nav-menu ul li:nth-child(3) { transition-delay: 0.3s; }
.nav-menu ul li:nth-child(4) { transition-delay: 0.4s; }
.nav-menu ul li:nth-child(5) { transition-delay: 0.5s; }

.nav-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}
/* MEDIA QUERIES */
@media (max-width: 768px) {
    header nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: flex;
    }
}
/*FOOTER*/
/* FOOTER */
.footer {
    background: linear-gradient(135deg, #2E7D32 0%, #29B6F6 100%);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
    font-size: 15px;
  }

  /* CONTAINER DO FOOTER */
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
  }

  /* SEÇÃO DO FOOTER */
  .footer-section {
    margin-bottom: 30px;
  }

  /* TÍTULO DA SEÇÃO DO FOOTER */
  .footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }

  /* LINHA DESEPARTAÇÃO DO TÍTULO DA SEÇÃO DO FOOTER */
  .footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #fff;
  }

  /* LISTA DE LINKS DO FOOTER */
.footer-links {
    list-style: none;
  }

  /* ITEM DA LISTA DE LINKS DO FOOTER */
  .footer-links li {
    margin-bottom: 12px;
  }

  /* LINK DA LISTA DE LINKS DO FOOTER */
  .footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* EFEITO AO PASSAR O MOUSE SOBRE O LINK DA LISTA DE LINKS DO FOOTER */
  .footer-links a:hover {
    transform: translateX(5px);
    opacity: 0.8;
  }

  /* SOCIAL MEDIA DO FOOTER */
  .footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
  }

  /* LINK DA SOCIAL MEDIA DO FOOTER */
  .footer-social a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
  }

  /* EFEITO AO PASSAR O MOUSE SOBRE O LINK DA SOCIAL MEDIA DO FOOTER */
  .footer-social a:hover {
    transform: translateY(-3px);
  }

  /* CONTATO DO FOOTER */
  .footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* RODAPÉ DO FOOTER */
  .footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* TEXTO DO RODAPÉ DO FOOTER */
  .footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
  }

  /* MEDIA QUERIES PARA TELA MENORES */
  @media (max-width: 768px) {
    .floating-menu {
      top: 0;
      left: 6%;
      min-width: 330px;
  }
    .footer-container {
      grid-template-columns: 1fr;
    }
  }



  /* BOTÃO DE WHATSAPP E VOLTAR PARA O TOPO */
  .btn-whatsapp,
  .btn-voltar-topo {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      background: #1a1a1a;
      color: #fff;
      border: 2px solid #25D366;
      border-radius: 50%;
      cursor: pointer;
      display: none;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
      z-index: 1000;
      opacity: 0;
      transform: translateY(20px);
  }

  /* BOTÃO DE WHATSAPP */
  .btn-whatsapp {
      border-color: #25D366;
      font-size: 1.5rem;
  }

  .btn-whatsapp:hover {
      background: #25D366;
      color: #fff;
      transform: translateY(-3px);
      box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  }

  /* BOTÃO DE VOLTAR PARA O TOPO */
  .btn-voltar-topo.visible,
  .btn-whatsapp.visible {
      opacity: 1;
      transform: translateY(0);
  }

  /* EFEITO AO PASSAR O MOUSE SOBRE O BOTÃO DE VOLTAR PARA O TOPO */
  .btn-voltar-topo:hover {
      background: #1a1a1a;
      color: #fff;
      transform: translateY(-3px);
      box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  }

  /* EFEITO AO CLICAR NO BOTÃO DE VOLTAR PARA O TOPO */
  .btn-voltar-topo:active,
  .btn-whatsapp:active {
      transform: translateY(0);
  }


