.cabecalho-guarulhos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-bottom: 10px;
}

.logo-guarulhos img {
  max-height: 70px;
  width: auto;
}

.cabecalho-direita {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Redes sociais + acessibilidade */
.redes-sociais {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.redes-sociais a {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 50% !important;
  background: #137eb8 !important;
  color: #fff !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: .2s !important;
}

.redes-sociais a:hover {
  background: #0f6797 !important;
}

/* Botões A-, A+ e contraste */
.btn-acessibilidade {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #d1d5db !important;
  background: #fff !important;
  color: #4b5563 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  line-height: 1 !important;
}

.btn-acessibilidade:hover {
  background: #f3f4f6 !important;
}

#btn-contraste {
  font-size: 16px !important;
}

/* Busca */
.busca-topo {
  display: flex;
  width: 320px;
}

.busca-topo input {
  flex: 1;
  height: 40px;
  border: 1px solid #d1d5db;
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 0 12px;
  box-sizing: border-box;
}

.busca-topo button {
  width: 50px;
  height: 40px;
  border: none;
  background: #137eb8;
  color: #fff;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

/* Alto contraste */
body.modo-contraste {
  background: #000 !important;
  color: #fff !important;
}

body.modo-contraste * {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

body.modo-contraste a {
  color: #ffff00 !important;
}

body.modo-contraste img {
  filter: grayscale(1) contrast(1.2);
}

/* VLibras */
.vp-pop-up,
img.vp-pop-up {
  display: none !important;
}

.vlibras-topo {
  position: static !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  margin: 0 4px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: none !important;
}

.vlibras-topo .vp-access-button {
  display: block !important;
  width: 32px !important;
  height: 32px !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Mobile */
@media (max-width: 768px) {
  .cabecalho-guarulhos {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px !important;
  }
 
   #btn-fonte-menor,
  #btn-fonte-maior,
  #btn-contraste {
    display: none !important;
  }

  .logo-guarulhos {
    width: 100% !important;
    text-align: center !important;
  }

  .logo-guarulhos img {
    width: 90% !important;
    max-width: 280px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .cabecalho-direita {
    width: 100% !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .busca-topo {
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    margin: 0 auto !important;
  }

  .busca-topo input {
    width: 100% !important;
    height: 48px !important;
    font-size: 16px !important;
    border-radius: 10px 0 0 10px !important;
  }

  .busca-topo button {
    width: 60px !important;
    height: 48px !important;
    border-radius: 0 10px 10px 0 !important;
  }

  .redes-sociais {
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .btn-acessibilidade,
  .redes-sociais a {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  .vlibras-topo {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    margin: 0 !important;
  }

  .vlibras-topo .vp-access-button {
    width: 28px !important;
    height: 28px !important;
  }
}