/** Estilização do botão flutuante de idioma para manter consistência com o scroll progress. */
.language-switcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  transition: bottom 0.3s ease;
}

/* Quando o botão de scroll para o topo estiver visível, move o language-switcher para cima */
.language-switcher.progress-active {
  bottom: 86px;
}

.language-switcher__button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--tp-common-black, #14101d);
  color: var(--tp-common-white, #ffffff);
  border: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(20, 16, 29, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  padding: 4px;
}

/* Tema light (claro) */
.light .language-switcher__button {
  background: var(--tp-common-white, #ffffff);
  color: var(--tp-common-black, #14101d);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
}

.language-switcher__button:hover,
.language-switcher__button:focus {
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(20, 16, 29, 0.35);
  background: var(--tp-theme-1, #ff5f2d);
}

.language-switcher__button i {
  font-size: 14px;
  line-height: 1;
}

.language-switcher__label {
  display: block !important;
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-top: 2px;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none;
}

@media (max-width: 767px) {
  .language-switcher {
    right: 16px;
    bottom: 16px;
  }
  
  .language-switcher.progress-active {
    bottom: 80px;
  }
}
