/* ===========================
   HEADER FIXO E FLUIDO FULL WIDTH
=========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw; /* cobre toda a tela */
  background: #fff;
  z-index: 9999;
  transition: all 0.3s ease;
  box-shadow: none;
}

/* Efeito visual quando rola */
.site-header.fixed,
.site-header.shrink {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Container interno centralizado */
.header-inner {
  max-width: 1280px;
  width: 100%;
  height: 90px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Ajuste da logo */
.logo img {
  max-width: 230px;
  height: auto;
  display: block;
  transition: all 0.3s ease;
}
.site-header.shrink .logo img {
  max-width: 190px;
}

/* Menu desktop alinhado verticalmente */
.main-nav {
  display: flex;
  align-items: center;
}
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.menu-list li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  transition: color 0.3s ease;
}
.menu-list li a:hover,
.menu-list li.current-menu-item a {
  color: #1B7D3A;
}


/* ===========================
   HAMBURGER
=========================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: #1B7D3A;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  margin: 3px 0;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ===========================
   OVERLAY
=========================== */
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  opacity: 0;
  z-index: 9997;
  backdrop-filter: blur(3px);
  transition: opacity 0.3s ease;
}
#overlay.active {
  display: block;
  opacity: 1;
}

/* ===========================
   MOBILE MENU (SideMenu)
=========================== */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100%;
  background: #fff;
  z-index: 9998;
  transition: right 0.35s ease;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -3px 0 8px rgba(0,0,0,0.1);
}
.side-menu.active {
  right: 0;
}

/* Cabeçalho interno (logo + fechar) */
.side-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.side-header img {
  max-width: 170px;
  height: auto;
}
.close-menu {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #111;
  transition: color 0.3s ease;
}
.close-menu:hover {
  color: #1B7D3A;
}

/* Lista de links */
.side-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.side-menu-list li a {
  font-size: 1.2rem;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.3s ease;
}
.side-menu-list li a:hover {
  color: #1B7D3A;
}

/* Rodapé do menu (CTA e redes) */
.side-footer {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.side-footer .cta {
  display: block;
  text-align: center;
  background: #1B7D3A;
  color: #fff;
  padding: 0.9rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}
.side-footer .cta:hover {
  background: #16944a;
}
.side-footer .social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.side-footer .social a {
  color: #111;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}
.side-footer .social a:hover {
  color: #1B7D3A;
}

/* ===========================
   RESPONSIVIDADE MOBILE
=========================== */
@media (max-width: 1024px) {
  .main-nav {
    display: none !important;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw; /* garante tarja fluida */
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }
  


  .header-inner {
    height: 72px;
    padding: 0 1rem;
  }

  .logo img {
    max-width: 180px;
  }

  .hamburger {
    display: flex;
  }
}
