/* Créditos: zandormedeiros.com */
/* Empresa: Publiq Soluções Digitais */
/* Seleção de idiomas no rodapé */

.footer-language-area {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 13px;
}

.footer-language-options {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 9px;
}

.footer-language-button {
  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;

  border:
    1px solid rgba(255, 255, 255, 0.16);

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.055);

  color: var(--branco);

  cursor: pointer;

  overflow: hidden;

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.footer-language-button:hover,
.footer-language-button:focus-visible {
  transform:
    translateY(-2px)
    scale(1.035);

  border-color:
    rgba(240, 189, 66, 0.72);

  background:
    rgba(240, 189, 66, 0.10);

  box-shadow:
    0
    8px
    22px
    rgba(0, 0, 0, 0.18);

  outline: none;
}

.footer-language-button[hidden] {
  display: none !important;
}

.footer-language-flag {
  width: 100%;
  height: 100%;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 50%;

  font-size: 25px;
  line-height: 1;
}

.footer-language-area {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 13px;
}

.footer-language-options {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 10px;

  min-height: 42px;
}

.footer-language-slot {
  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;
}

.footer-language-pool,
.footer-language-pool[hidden] {
  display: none !important;
}

.footer-language-button {
  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;

  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;

  border-radius: 50%;

  outline: 0;

  background: transparent !important;

  color: transparent;

  box-shadow: none;

  cursor: pointer;

  overflow: visible;

  appearance: none;
  -webkit-appearance: none;

  transition:
    transform 0.20s ease,
    filter 0.20s ease,
    opacity 0.20s ease;
}

.footer-language-button:hover {
  transform:
    translateY(-2px)
    scale(1.06);

  background: transparent !important;

  filter:
    brightness(1.07);
}

.footer-language-button:focus-visible {
  transform:
    translateY(-1px)
    scale(1.04);

  outline:
    2px solid
    rgba(240, 189, 66, 0.90);

  outline-offset: 3px;

  background: transparent !important;
}

.footer-language-button:active {
  transform:
    translateY(0)
    scale(0.97);
}

.footer-language-button[hidden] {
  display: none !important;
}

.footer-language-flag,
.footer-language-flag-image {
  width: 38px;
  height: 38px;

  flex: 0 0 38px;

  display: block;

  margin: 0;
  padding: 0;

  border: 0 !important;
  border-radius: 50%;

  outline: 0;

  background: transparent;

  box-shadow: none;

  object-fit: cover;
  object-position: center;

  pointer-events: none;

  user-select: none;
  -webkit-user-drag: none;
}

.footer-language-button,
.footer-language-button *,
.footer-language-flag {
  text-indent: 0;
  letter-spacing: normal;
}

.footer-language-button[data-language="pt"]
.footer-language-flag-image {
  width: 38px;
  height: 38px;
}

.footer-language-button[aria-pressed="true"] {
  opacity: 1;
}

.footer-language-button[aria-pressed="false"] {
  opacity: 1;
}

body.page-index[data-current-language="pt"] .hero-principal,
body.page-index[data-current-language="pt"] .hero-layout-final,
body.page-index[data-current-language="pt"] .hero-mobile-layout-final,
body.page-index[data-current-language="pt"] .hero-model-visible-all {
  background:
    linear-gradient(
      90deg,
      rgba(3, 19, 33, 0.94) 0%,
      rgba(3, 19, 33, 0.76) 30%,
      rgba(3, 19, 33, 0.22) 54%,
      rgba(3, 19, 33, 0.00) 100%
    ),
    url("../../assets/img/heroi-tiro-livre.png") 72% center / cover no-repeat !important;
}

body.page-index[data-current-language="en"] .hero-principal,
body.page-index[data-current-language="en"] .hero-layout-final,
body.page-index[data-current-language="en"] .hero-mobile-layout-final,
body.page-index[data-current-language="en"] .hero-model-visible-all {
  background:
    linear-gradient(
      90deg,
      rgba(3, 19, 33, 0.94) 0%,
      rgba(3, 19, 33, 0.76) 30%,
      rgba(3, 19, 33, 0.22) 54%,
      rgba(3, 19, 33, 0.00) 100%
    ),
    url("../../assets/img/heroi-tiro-livre_us.png") 72% center / cover no-repeat !important;
}

body.page-index[data-current-language="es"] .hero-principal,
body.page-index[data-current-language="es"] .hero-layout-final,
body.page-index[data-current-language="es"] .hero-mobile-layout-final,
body.page-index[data-current-language="es"] .hero-model-visible-all {
  background:
    linear-gradient(
      90deg,
      rgba(3, 19, 33, 0.94) 0%,
      rgba(3, 19, 33, 0.76) 30%,
      rgba(3, 19, 33, 0.22) 54%,
      rgba(3, 19, 33, 0.00) 100%
    ),
    url("../../assets/img/heroi-tiro-livre_es.png") 72% center / cover no-repeat !important;
}

body.page-index .footer-language-button {
  overflow: hidden;
  border-radius: 50%;
  background: transparent !important;
}

body.page-index .footer-language-button img.footer-language-flag-image {
  display: block;
  border-radius: 50% !important;
  object-fit: cover;
  background: transparent !important;
}

/* Créditos: zandormedeiros.com */
/* Empresa: Publiq Soluções Digitais */
/* Responsividade global de idiomas */

@media (max-width: 700px)  {
.footer-language-area {
    width: 100%;

    justify-content: space-between;
  }

.footer-language-options {
    justify-content: flex-end;
  }
}

@media (max-width: 430px)  {
.footer-language-label {
    font-size:
      11px;
  }

.footer-language-button {
    width: 39px;
    height: 39px;

    flex-basis: 39px;
  }

.footer-language-flag {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce)  {
.footer-language-button {
    transition:
      none !important;
  }
}

@media (max-width: 900px)  {
.footer-language-area {
    gap: 11px;
  }

.footer-language-options {
    gap: 9px;
  }
}

@media (max-width: 700px)  {
.footer-language-area {
    width: 100%;

    justify-content: space-between;
  }

.footer-language-options {
    justify-content: flex-end;

    gap: 9px;
  }

.footer-language-slot {
    width: 39px;
    height: 39px;

    flex-basis: 39px;
  }

.footer-language-button {
    width: 39px;
    height: 39px;

    flex-basis: 39px;
  }

.footer-language-flag,
.footer-language-flag-image {
    width: 35px;
    height: 35px;

    flex-basis: 35px;
  }
}

@media (max-width: 430px)  {
.footer-language-label {
    font-size: 11px;
  }

.footer-language-options {
    gap: 8px;
  }

.footer-language-slot {
    width: 37px;
    height: 37px;

    flex-basis: 37px;
  }

.footer-language-button {
    width: 37px;
    height: 37px;

    flex-basis: 37px;
  }

.footer-language-flag,
.footer-language-flag-image {
    width: 33px;
    height: 33px;

    flex-basis: 33px;
  }
}

@media (prefers-reduced-motion: reduce)  {
.footer-language-button {
    transition: none !important;
  }
}
