:root {
  --cor-primaria: linear-gradient(
    to right,
    #223e2a,
    #2d5238,
    #386043,
    #386043,
    #386043
  );
  --cor-secondaria: #ffce46;
  --cor-quaternaria: #47704a;
  --cor-texto-primaria: #4c4c4c;
  --background: #f8f4e7;
  --verde-escuro: #223e2a;
  --cor-footer-verde: #386641;
  --cor-amarelo-escuro: #F59E0B;
  --cor-borda: #E0E0E0;
  --cor-branco: #fff;
}

header {
  display: flex;
  justify-content: center;
  padding: 20px 10px;
  position: relative;
}

@media (max-width: 768px) {
  header {
    padding: 15px 8px;
  }
}

.header-container {
  background-color: var(--background);
  width: 90%;
  max-width: 1320px;
  border-radius: 16px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: relative;
  overflow: hidden;
  z-index: 1001;
  border: 1px solid var(--cor-borda);
}

@media (max-width: 768px) {
  .header-container {
    padding: 8px 12px;
    height: auto;
    min-height: 60px;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 6px 10px;
    min-height: 55px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .logo {
    gap: 8px;
  }
}

.logo-placeholder {
  width: 80px;
  height: 55px;
  background-color: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .logo-placeholder {
    width: 50px;
    height: 40px;
  }
}

.logo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  color: var(--cor-quaternaria);
  font-size: 18px;
}

@media (max-width: 768px) {
  .logo-text {
    display: none;
  }
}

nav {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 100%;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  nav {
    gap: 8px;
  }
}

nav a {
  text-decoration: none;
  padding: 10px 30px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70%;
  white-space: nowrap;
}

@media (max-width: 768px) {
  nav a {
    padding: 8px 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  nav a {
    padding: 6px 10px;
    font-size: 12px;
  }
}

nav .btn-outline {
  border: 2px solid var(--cor-quaternaria);
  color: var(--cor-quaternaria);
  background-color: var(--cor-terciaria);
}

nav .btn-filled {
  background-color: var(--cor-quaternaria);
  color: var(--cor-branco);
}

/* ========== ESTILOS DO MENU MOBILE ========== */
.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 26px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-icon span {
  display: block;
  height: 5px;
  background-color: var(--cor-quartenaria);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-icon.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-icon.active span:nth-child(2) {
  opacity: 0;
}

.menu-icon.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.menu-overlay {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 40%;
  background-color: var(--cor-branco);
  border-radius: 0 0 0 16px;
  padding: 20px 15px;
  display: none;
  z-index: 1000;
  margin-top: -16px;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.mobile-menu-item:last-child {
  border-bottom: none;
}

.mobile-menu-item:hover {
  background-color: #f0e8d5;
  padding-left: 10px;
  border-radius: 8px;
}

.mobile-menu-emoji {
  font-size: 20px;
  width: 30px;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-emoji svg {
  width: 26px;
  height: 26px;
  fill: var(--cor-secondaria);
  stroke-width: 1.5;
}

.mobile-menu-emoji img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.mobile-menu-text {
  color: #223e2a;
  font-weight: 700;
  font-size: 14px;
  flex: 1;
  text-align: center;
}

.mobile-menu-arrow {
  color: #000;
  font-size: 16px;
  font-weight: bold;
  transform: rotate(90deg);
}


.right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.accessibility-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #ffce46;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 206, 70, 0.4);
  transition: all 0.3s ease;
  z-index: 1002;
  border: 3px solid white;
  overflow: hidden;
}

.accessibility-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 206, 70, 0.6);
}

.accessibility-button svg {
  width: 25px;
  height: 25px;
  fill: white;
}

div[vw-access-button] {
  display: none !important;
}

.footer-principal {
            background-color: var(--cor-footer-verde);
            color: var(--cor-branco);
            padding: 50px 20px 30px 20px;
            margin-top: 60px; /* Espaço acima do rodapé */
        }

        .footer-container-amarelo {
            background-color: var(--cor-amarelo-escuro); /* Amarelo do container interno */
            max-width: 900px;
            margin: 0 auto;
            border-radius: 30px;
            padding: 30px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap; /* Para responsividade */
            gap: 20px;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .footer-titulo-redes {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--cor-texto);
        }

        .icones-sociais {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .icone-social {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border: 2px solid var(--cor-texto);
            border-radius: 50%;
            color: var(--cor-texto);
            text-decoration: none;
            font-size: 1.2rem;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .logo-image {
          width: 1.5rem;
          height: 1.5rem;
        }

        .logo-image-ecoleta {
          width: 2rem;
          height: 2rem;
        }

        .icone-social:hover {
            background-color: var(--cor-texto);
            color: var(--cor-amarelo-escuro);
            transform: scale(1.1);
        }

        .footer-cta {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--cor-texto);
            text-decoration: none;
        }

        .footer-logo {
            width: 60px;
            height: 60px;
            background-color: #f0f0f0;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            flex-shrink: 0;
        }

        .footer-copyright {
            text-align: center;
            margin-top: 30px;
            font-size: 0.9rem;
            color: #f0f0f0;
            opacity: 0.8;
        }

        /* 9. Responsividade do Rodapé */
        @media (max-width: 768px) {
            .footer-container-amarelo {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 30px;
            }

            .footer-links {
                align-items: center;
            }

            .icones-sociais {
                justify-content: center;
            }

            .footer-cta {
                flex-direction: column;
                font-size: 1.25rem;
            }
        }