/* ========================================
   UNIDADES — Uberlândia + São Paulo
   Rodapé (todas as páginas) e página de Contatos
   ======================================== */

/* ---------- Rodapé: unidades empilhadas, sem caixa ---------- */
.unidades-footer {
  margin-top: 2px;
}

.unidade + .unidade {
  margin-top: 18px;
}

.unidade__cidade,
.unidades-horario__label {
  display: flex;
  align-items: center;
  gap: 7px;
}

.unidade__ico {
  width: 13px;
  height: 13px;
  flex: none;
  stroke: currentColor;
  fill: none;
}

.unidade__cidade {
  color: #aa7e32;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  margin-bottom: 6px;
}

.unidade__endereco {
  display: block;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 27px;
  text-decoration: none;
  transition: color .2s ease;
}

.unidade__endereco:hover {
  color: #aa7e32;
}

/* ícone do YouTube (faltava): rodapé, página de contatos e menu do rodapé */
.link-footer.youtube,
.link-footer-menu.youtube {
  background-image: url('../assets/i-youtube-dourado.svg');
  background-position: 0 2px;
  background-repeat: no-repeat;
  background-size: 14px;
}

.text-block-196.youtube {
  background-image: url('../assets/i-youtube-dourado.svg');
  background-position: 0%;
  background-repeat: no-repeat;
  background-size: 15px;
}

/* fio editorial: some nas pontas, igual ao divisor da página de contatos */
.footer-2 .title-small-2,
.footer-2 .title-small-2-copy {
  position: relative;
  border-bottom: 0;
}

.footer-2 .title-small-2:after,
.footer-2 .title-small-2-copy:after,
.unidades-horario:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, #ebc65e 0%, rgba(235, 198, 94, .45) 58%, rgba(235, 198, 94, 0) 100%);
}

.footer-2 .title-small-2:after,
.footer-2 .title-small-2-copy:after {
  bottom: 0;
}

.unidades-horario {
  position: relative;
  margin-top: 26px;
  padding-top: 24px;
}

.unidades-horario:before {
  top: 0;
  max-width: 300px;
}

.unidades-horario__label {
  display: flex;
  gap: 8px;
  color: #aa7e32;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  margin-bottom: 6px;
}

.unidades-horario .text-block-50 {
  margin-bottom: 0;
}

/* ---------- Contatos: duas unidades, mapa grande ---------- */
.unidades-mapas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 60px;
  width: 100%;
  position: relative;
}

.unidades-mapas:before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, rgba(235, 198, 94, 0) 0%, #ebc65e 22%, #ebc65e 78%, rgba(235, 198, 94, 0) 100%);
}

.unidade-local__cidade {
  color: #000;
  font-size: 30px;
  font-weight: 500;
  line-height: 36px;
  margin: 0 0 4px;
}

.unidade-local__uf {
  display: block;
  color: #aa7e32;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  margin-bottom: 10px;
}

.unidade-local__endereco {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 27px;
  margin: 0 0 18px;
}

.unidade-local__mapa {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  margin-bottom: 18px;
}

.unidade-local__mapa iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) contrast(105%);
  transition: filter .45s ease;
}

.unidade-local__mapa:hover iframe {
  filter: grayscale(0%);
}

.unidade-local__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aa7e32;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid #ebc65e;
  transition: gap .25s ease, color .25s ease;
}

.unidade-local__cta:hover {
  gap: 14px;
  color: #8c651f;
}

.unidade-local__cta svg {
  width: 14px;
  height: 14px;
  flex: none;
  fill: currentColor;
}

@media screen and (max-width: 991px) {
  .unidades-mapas {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }

  .unidades-mapas:before {
    display: none;
  }

  .unidade-local + .unidade-local {
    padding-top: 46px;
    border-top: 1px solid #f0e3c4;
  }

  .unidade-local__cidade {
    font-size: 26px;
    line-height: 32px;
  }
}

/* ---------- Mobile: leitura é de cima pra baixo ---------- */
@media screen and (max-width: 767px) {
  /* endereço + horário passam para DEPOIS dos menus (Menu, Experiências, Contato, Mídias sociais) */
  .footer-wrapper-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .div-block-10986 {
    display: contents;
  }

  .footer-wrapper-2 > .link-block-13 {
    order: 1;
  }

  .footer-content-2 {
    order: 2;
  }

  .div-block-10986 > .div-block-10854 {
    order: 3;
    margin-top: 30px;
  }

  .div-block-10986 > .div-block-10853 {
    order: 4;
  }

  /* títulos centralizados, iguais às informações abaixo deles */
  .unidade__cidade,
  .unidades-horario__label {
    justify-content: center;
  }

  /* o fio deixa de correr da esquerda pra direita: some nas DUAS pontas */
  .footer-2 .title-small-2:after,
  .footer-2 .title-small-2-copy:after {
    background: linear-gradient(90deg, rgba(235, 198, 94, 0) 0%, #ebc65e 50%, rgba(235, 198, 94, 0) 100%);
  }

  .unidades-horario:before {
    left: 50%;
    right: auto;
    width: 160px;
    max-width: 60%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(235, 198, 94, 0) 0%, #ebc65e 50%, rgba(235, 198, 94, 0) 100%);
  }
}
