/* =============================================
   Noble Imóveis — Seletor de Idioma + Tradução
   ============================================= */

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 10px;
  vertical-align: middle;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.8px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  line-height: 1;
}

.lang-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.lang-btn.active {
  background: #fff;
  border-color: #fff;
  color: #896a2e;
  font-weight: 800;
}

.lang-flag {
  font-size: 10px;
  line-height: 1;
  opacity: 0.7;
  font-weight: 600;
}

.lang-label {
  font-size: 11px;
  font-weight: 800;
}

.lang-btn.active .lang-flag {
  opacity: 0.6;
  color: #896a2e;
}

.lang-btn.active .lang-label {
  color: #896a2e;
}

/* Topo escuro / com fundo — ajusta cor dos botões */
.topo-ficha .lang-btn,
.buscar .lang-btn {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

/* Botão "Traduzir descrição" na ficha do imóvel */
.btn-traduzir {
  display: inline-block;
  margin: 8px 0 16px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #896a2e;
  background: transparent;
  border: 1px solid #896a2e;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-traduzir:hover {
  background: #896a2e;
  color: #fff;
}

/* Responsivo — esconde label no mobile */
@media (max-width: 576px) {
  .lang-label {
    display: none;
  }
  .lang-btn {
    padding: 3px 5px;
  }
  .lang-switcher {
    margin-right: 6px;
  }
}
