
/* Reset simples */
* {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;

}

html,
body {
  height: 100%;
  font-family: "Poppins", sans-serif;
  color: #222;
}

main {
  background: #f4f4f4;
}

/* Esconde mobile em desktop */
@media (min-width: 768px) {
  .cabecalho-mobile {
    display: none;
  }
}

/* ------------- HEADER ------------- */
.cabecalho {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  
  /* Layout Flexível */
  display: flex;
  align-items: center;
  justify-content: space-between;
  
  /* CORREÇÃO 1: Altura dinâmica e padding flexível */
  /* Use porcentagem para os lados, assim se a tela diminuir (zoom 150%), o espaço se adapta */
  padding: 8px 3%; 
  min-height: 80px; /* Altura mínima, mas pode crescer se precisar */
  
  /* Estilos padrão (Fundo Branco) */
  background: #fff;
  color: #F36D53;
  box-shadow: 0 6px 20px rgba(46, 48, 49, 0.06);
  
  transition: background-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
  padding: 0 100px;
}

.logo { 
  display: flex;
  align-items: center;
  gap: 0px;
  font-weight: 700; 

  
}

.logo img {
  height: 80px; /* Levemente menor para melhor */
  width: 200px;
  max-width: 100%;  
}

/* nav básico */
.nav-principal {
  display: flex;
  gap: 18px;
  align-items: center; 
}

.nav-links {
  display: flex;
  gap: 15px;
  list-style: none;
  font-weight: 800;
}

.nav-links a {
  padding: 6px 4px;
  color: inherit;
  text-decoration: none;
  color:#F36D53;
  font-size: 1rem;
  font-weight: 520;
}

.nav-principal ul {
  /* CORREÇÃO 3: Margem responsiva */
  margin: 0 30px 0 0; /* Reduzido de 80px para não empurrar tanto */
  font-family: "Poppins", sans-serif;
  color: inherit;
  font-weight: 300;
  font-size: 1rem; /* Levemente reduzido para melhor ajuste */
}

.botao-contactar {
  color: #fff;
  border-radius: 0.5rem;
  padding: 8px 18px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  background-color: #F36D53;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap; /* Impede que o texto quebre */
   font-size: 0.9rem;
    padding: 6px 12px;
}

.botao-contactar img {
  height: 18px;
  margin: 0;
  color:#fff;
}
.botao-contactar a {
  text-decoration: none;
  color: #fff;
}



/* ============================
   ESTADOS DO HEADER (Transparência)
   ============================ */

/* Classe para forçar laranja em fundo branco */
.cabecalho.cabecalho-branco {
  background: #fff;
  color: #F36D53; 
  box-shadow: 0 6px 20px rgba(46, 48, 49, 0.06);
}

/* Classe para transparência (Index) 
.cabecalho.modo-transparente {
  background: transparent;
  box-shadow: none;
  color: #fff !important; 
  margin-top: 25px;
  
}

.cabecalho.modo-transparente .nav-principal ul a {
  color: #fff !important;
   
}
.cabecalho.modo-transparente .botao-contactar {
  color: #F36D53;
  background-color: #fff;
   
}
.cabecalho.modo-transparente #idiomaSelecionado {
  color: #F36D53;
  background-color: #fff;
}
.cabecalho.modo-transparente .lista-idiomas li{
  background-color: #fff;
  color: #F36D53;
}*/ 

/* ============================
   CORREÇÃO PARA ZOOM 150% (Telas Médias)
   ============================ */
/* Isso ativa quando a "janela" do navegador fica menor, o que acontece no zoom 150% */
@media (max-width: 1200px) {
  .cabecalho {
    padding: 10px 2%; /* Reduz padding lateral ainda mais */
  }

  .nav-principal ul {
    margin-right: 15px;
    font-size: 0.9rem; /* Fonte um pouco menor */
    gap: 10px;
  }

  .botao-contactar, .seletor-idioma {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  .logo img {
  
  height: 80px; /* Levemente menor para caber melhor */
  width: 200px;
  max-width: 100%; 
  
}

}






/* ESCONDER COMPLETAMENTE GOOGLE TRANSLATE */

#google_translate_element{
display:none;
}

.goog-te-banner-frame{
display:none !important;
}

.goog-te-banner-frame.skiptranslate{
display:none !important;
}

.goog-te-gadget{
display:none !important;
}

.goog-te-gadget-simple{
display:none !important;
}

.goog-te-combo{
display:none !important;
}

.goog-te-balloon-frame{
display:none !important;
}

.goog-tooltip{
display:none !important;
}

.skiptranslate{
display:none !important;
}

/* impedir que o google empurre a página */
body{
top:0 !important;
}



/* =====================================================
   SELETOR DE IDIOMA - CORRIGIDO (usa IDs como o JS)
   ===================================================== */

/* Container principal - ID como no JS */
#seletorIdiomas {
  position: relative;
  font-weight: 600;
  cursor: pointer;
}

/* Botão que mostra o idioma atual - ID como no JS */
#idiomaSelecionado {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #F36D53;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.375rem 1.125rem rgba(0, 0, 0, 0.08);
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  white-space: nowrap;
  transition: background 0.3s ease;
}

#idiomaSelecionado:hover {
  background: #e55a42;
}

#textoIdioma {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#textoIdioma img {
  width: 1.25rem;
  height: auto;
  border-radius: 2px;
}

/* Dropdown - mantém classe .lista-idiomas */
.lista-idiomas {
  list-style: none;
  padding: 0;
  background: #fff;
  border-radius: 0.5rem;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 10rem;
  display: none;
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.12);
  z-index: 99;
  overflow: hidden;
}

/* Classe .aberto adicionada pelo JS */
#seletorIdiomas.aberto .lista-idiomas {
  display: block;
}

.lista-idiomas li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  color: #FFFF;
  font-size: 0.9rem;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  transition: background 0.2s ease;
  background-color: #F36D53;
}

.lista-idiomas li:hover {
  background: #FFFF;
  color: #F36D53;
}

.lista-idiomas li img {
  width: 1.25rem;
  height: auto;
  border-radius: 2px;
}
@supports (-webkit-touch-callout: none) {

  *{
    font-family: 'Poppins', sans-serif !important;
  }

}
