/* Botões no estilo do site da Terravista Imobiliária (terravista-os, "botão de ponto"):
   pílula com um PONTO à esquerda do texto; no hover o ponto cresce até cobrir o
   botão, o texto desliza para a esquerda e uma SETA entra pela direita (troca de
   padding: a largura não muda). Cores da construtora:
     .btn--primary / --outline-gold  -> dourado (como o .btn-argila da imobiliária)
     .btn--outline-light             -> vazado branco sobre foto/fundo escuro (.btn-vazado)
   Pedido de 16/10/2026. */
.btn {
  --btn-fill: var(--dourado);
  --btn-on-fill: var(--preto);
  --btn-ponto: var(--dourado);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px;
  padding: .7rem calc(1rem + 4px) .7rem calc(1rem + 20px);
  border-radius: 999px;
  border: 1px solid var(--btn-fill);
  background: #FBF8F2;
  color: var(--grafite);
  font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.2;
  letter-spacing: -.01em; text-transform: none; white-space: nowrap;
  cursor: pointer;
  transition: padding 300ms cubic-bezier(.16, 1, .3, 1), color 300ms ease-out, border-color 300ms ease-out;
}
/* o ponto: 8px parado; no hover vira o preenchimento */
.btn::before {
  content: ""; position: absolute; z-index: -1;
  left: calc(1rem + 4px); top: 50%;
  width: 8px; aspect-ratio: 1; border-radius: 999px;
  translate: -50% -50%;
  background: var(--btn-ponto);
  transition: width 450ms cubic-bezier(.16, 1, .3, 1), background-color 300ms ease-out;
  pointer-events: none;
}
/* a seta que entra pela direita */
.btn::after {
  content: ""; position: absolute; right: 1rem; top: 50%;
  width: 18px; height: 18px;
  translate: 14px -50%; opacity: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M662.82-440.39H185.48q-16.96 0-28.28-11.33-11.33-11.32-11.33-28.28t11.33-28.28q11.32-11.33 28.28-11.33h477.34l-210.6-210.61q-11.83-11.82-12.11-28.06-.28-16.24 11.54-28.630 11.83-11.83 28.35-11.55 16.52.29 28.35 12.11l278 278q6.13 6.13 9.26 13.39 3.13 7.26 3.13 14.96 0 7.7-3.13 14.96-3.13 7.26-9.26 13.39l-278.57 278q-12.39 12.39-28.35 12.39-15.95 0-27.78-12.39-11.82-11.83-11.82-27.780 0-15.96 11.82-27.79l211.17-211.17Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M662.82-440.39H185.48q-16.96 0-28.28-11.33-11.33-11.32-11.33-28.28t11.33-28.28q11.32-11.33 28.28-11.33h477.34l-210.6-210.61q-11.83-11.82-12.11-28.06-.28-16.24 11.54-28.630 11.83-11.83 28.35-11.55 16.52.29 28.35 12.11l278 278q6.13 6.13 9.26 13.39 3.13 7.26 3.13 14.96 0 7.7-3.13 14.96-3.13 7.26-9.26 13.39l-278.57 278q-12.39 12.39-28.350 12.39-15.95 0-27.78-12.39-11.82-11.83-11.82-27.78 0-15.96 11.82-27.79l211.17-211.17Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: translate 300ms cubic-bezier(.16, 1, .3, 1), opacity 200ms ease-out;
  pointer-events: none;
}
.btn:hover, .btn:focus-visible, .at-caminho:hover .btn, .at-caminho:focus-visible .btn, .at-filme__play:hover .btn, .at-filme__play:focus-visible .btn {
  padding-left: 1rem; padding-right: calc(1rem + 24px);
  border-color: var(--btn-fill); color: var(--btn-on-fill);
}
.btn:hover::before, .btn:focus-visible::before, .at-caminho:hover .btn::before, .at-caminho:focus-visible .btn::before, .at-filme__play:hover .btn::before, .at-filme__play:focus-visible .btn::before {
  width: 300%; background: var(--btn-fill);
}
.btn:hover::after, .btn:focus-visible::after, .at-caminho:hover .btn::after, .at-caminho:focus-visible .btn::after, .at-filme__play:hover .btn::after, .at-filme__play:focus-visible .btn::after {
  translate: 0 -50%; opacity: 1;
}
.btn:focus-visible { outline: 2px solid var(--dourado-claro); outline-offset: 3px; }
.btn--primary:hover, .btn--outline-gold:hover { background: #FBF8F2; }

/* vazado: sem fundo, borda/texto/ponto brancos; preenche de branco com texto grafite */
.btn--outline-light {
  --btn-fill: #FFFFFF; --btn-on-fill: var(--grafite); --btn-ponto: #FFFFFF;
  background: transparent; border-color: rgba(255, 255, 255, .85); color: #FFFFFF;
}
.btn--outline-light:hover { background: transparent; }

/* filtros (Obras) = o "ghost" da imobiliária: pílula com borda, preenche ao passar, sem ponto nem seta */
.filter-tab { position: relative; isolation: isolate; overflow: hidden; border-radius: 999px; border: 1px solid var(--linha-dourada); background: #FBF8F2; color: var(--grafite);
  font-size: 15px; font-weight: 500; letter-spacing: -.01em; text-transform: none; padding: .55rem 1.1rem; transition: color 300ms ease-out, border-color 300ms ease-out; }
.filter-tab::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 300%; aspect-ratio: 1; border-radius: 999px; translate: -50% -50%; scale: 0; background: var(--grafite); transition: scale 500ms cubic-bezier(.16, 1, .3, 1); pointer-events: none; }
.filter-tab:hover::before, .filter-tab.is-active::before { scale: 1; }
.filter-tab:hover, .filter-tab.is-active { color: #FFFFFF; border-color: var(--grafite); background: #FBF8F2; }

/* botões só de ícone: redondos */
.lightbox__nav-btn, .hv-pausa { border-radius: 999px; }

/* seletor de idioma PT | EN (menu do computador e rodapé do menu do celular) — tools/traduzir_en.py */
.idioma { display: inline-flex; align-items: center; gap: .45rem; margin-left: 1.25rem; padding-left: 1.25rem; border-left: 1px solid rgba(255, 255, 255, .22);
  font-family: var(--font-body); font-size: .74rem; font-weight: 500; letter-spacing: .16em; color: rgba(255, 255, 255, .5); }
.idioma a { color: inherit; padding: .3rem .1rem; transition: color .2s; }
.idioma a:hover { color: #fff; }
.idioma a[aria-current] { color: var(--dourado-claro); }
.mobile-menu__footer .idioma { margin: 0 0 1.25rem; padding-left: 0; border-left: 0; font-size: .95rem; }
