/* 2026-10-27: hero loop + tour video (owner's video). The picture is the poster and the LCP;
   the muted loop fades in over it once it plays. No loop with reduced motion or Save-Data. */
.capa__ph--vid .ph__in img { object-fit: cover; }
.capa__vid {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 700ms var(--ease-out);
}
.capa__vid.on { opacity: 1; }
@media (min-width: 600px) and (max-width: 1023px) {
  .capa__ph--vid .ph__in img { object-position: 50% 30%; }
  .capa__vid { object-position: 50% 30%; }
}
/* wide and short: the 2,1:1 video sits higher so the roof clears the headline scrim */
@media (min-width: 1024px) and (min-aspect-ratio: 21/10) {
  .capa .capa__ph--vid { --fy: 0.2 !important; }
}
.capa__pause {
  position: absolute; right: var(--g); bottom: 16px; z-index: 2;
  min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px;
  background: var(--scrim-n); color: var(--pedra); font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform 160ms var(--ease-out);
}
.capa__pause:active { transform: scale(.97); }
.capa__pause:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

.tour { background: var(--noite); color: var(--pedra); padding: var(--gap) 0; }
.tour__head { text-align: center; }
.tour__h { text-wrap: balance; }
.tour__lead { padding: 0 var(--g); max-width: 52ch; margin-inline: auto; text-wrap: balance; font-size: var(--t); line-height: 1.45; color: var(--mute-n); }
.tour__frame { position: relative; margin: 32px var(--g) 0; aspect-ratio: 16 / 9; background: #000; overflow: clip; }
.tour__v { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.tour__play {
  position: absolute; left: clamp(12px, 3%, 32px); bottom: clamp(12px, 5%, 40px);
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 24px 0 18px; border: 0; border-radius: 999px;
  background: var(--pedra); color: var(--noite); font: inherit; font-size: 17px; font-weight: 600; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out);
}
.tour__play:active { transform: scale(.97); }
@media (max-width: 599px) { .tour__play { min-height: 44px; padding: 0 18px 0 14px; font-size: 15px; } }
@media (hover: hover) { .tour__play:hover { background: var(--pedra-2); } }
.tour__play:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.tour__ic { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; }
.tour.is-playing .tour__play { display: none; }
@media (min-width: 1024px) {
  /* heading + video fit one screen: the 16:9 frame narrows on short screens */
  .tour__frame { margin: 28px auto 0; width: min(calc(100% - 2 * var(--g)), calc((var(--H) - 230px) * 16 / 9)); }
}
