/* Design tokens */
:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-muted: #eceff2;
  --text: #111820;
  --text-soft: #46515d;
  --text-muted: #737b86;
  --gold: #94743a;
  --gold-soft: #d7c18a;
  --tech: #2f6f8f;
  --tech-dark: #214e66;
  --tech-soft: rgba(47, 111, 143, 0.1);
  --line: rgba(17, 24, 32, 0.12);
  --shadow: 0 0.875rem 2.25rem rgba(17, 24, 32, 0.08);
  --shadow-soft: 0 0.5rem 1.375rem rgba(17, 24, 32, 0.07);
  --radius: 0.625rem;
  --control-radius: 0.75rem;
  --pill: var(--control-radius);
  --container: 96rem;
  --page-gutter: clamp(1rem, 3vw, 3rem);
  --section-y: clamp(3.5rem, 7vw, 5rem);
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.4vw, 1rem);
  --space-md: clamp(1rem, 2vw, 1.5rem);
  --space-lg: clamp(1.5rem, 3vw, 2.5rem);
  --space-xl: clamp(2rem, 5vw, 6rem);
  --control-block: clamp(2.75rem, 5svh, 3.625rem);
  --hero-media-width: min(58vw, 66svh);
  --listing-nav-width: clamp(9rem, 10vw, 11rem);
  --listing-info-width: clamp(19rem, 21vw, 23rem);
  --listing-video-width: min(100%, 28rem);
}

/* Base */
* {
  box-sizing: border-box;
}

/* Garante que o atributo hidden sempre esconde, mesmo com display definido por classe. */
[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: clamp(4.75rem, 10svh, 6.5rem);
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  /* Trava o scroll horizontal em navegadores que não suportam overflow-x: clip (iOS Safari antigo, webviews). */
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(245, 245, 247, 0.96) 52%, rgba(255, 255, 255, 0.88) 100%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(47, 111, 143, 0.28);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.container {
  width: min(100% - var(--page-gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--text);
  color: #ffffff;
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  background: transparent;
  color: var(--text);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(17, 24, 32, 0.92);
  box-shadow: 0 12px 30px rgba(17, 24, 32, 0.14);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.header-content {
  display: flex;
  min-height: clamp(4.75rem, 8svh, 5.25rem);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.brand-logo {
  display: grid;
  width: clamp(12rem, 18vw, 22.5rem);
}

.brand-logo img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  transition: opacity 180ms ease;
}

.logo-white {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo .logo-black {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo .logo-white {
  opacity: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a:hover {
  color: var(--gold);
}

.nav-cta {
  min-width: min(14.5rem, 42vw);
  border: 1px solid rgba(17, 24, 32, 0.12);
  border-radius: var(--pill);
  background: linear-gradient(180deg, #1c2631 0%, #111820 100%);
  color: #ffffff;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
}

.site-header.is-scrolled .nav-cta {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: clip;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 245, 247, 0.9) 58%, rgba(240, 242, 244, 0.78) 100%),
    var(--bg);
  color: var(--text);
  padding-block: clamp(6rem, 11svh, 7rem) clamp(3rem, 6svh, 4rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 111, 143, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 143, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 82%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 82%);
  opacity: 0.32;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(min(100%, 22rem), 1fr) auto;
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
  min-height: calc(100svh - 9.75rem);
}

.hero-content {
  max-width: 47.5rem;
}

.hero-visual {
  position: relative;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
  margin: 0;
}

.hero-media {
  width: var(--hero-media-width);
  aspect-ratio: 4 / 5;
  height: auto;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111820;
  box-shadow: 0 24px 56px rgba(17, 24, 32, 0.12);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Typography and shared UI */
.eyebrow {
  margin: 0 0 12px;
  color: var(--tech-dark);
  font-family: Manrope, Inter, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: var(--tech-dark);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  word-break: normal;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  line-height: 1.08;
  text-wrap: balance;
}

p,
li,
summary,
blockquote {
  text-wrap: pretty;
}

h1 {
  max-width: 12.5ch;
  color: var(--text);
  font-size: clamp(3.8rem, 6vw, 6.2rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
}

h3 {
  font-size: 1.35rem;
  font-weight: 850;
}

.hero-text {
  max-width: 38.75rem;
  margin: var(--space-md) 0 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.hero-platforms span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-logo {
  width: clamp(2.125rem, 3vw, 2.375rem);
  height: clamp(2.125rem, 3vw, 2.375rem);
  flex: 0 0 auto;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(17, 24, 32, 0.08);
}

.button {
  display: inline-flex;
  min-height: var(--control-block);
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--pill);
  padding: 0 clamp(1rem, 2vw, 1.375rem);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button-primary {
  background: linear-gradient(180deg, #1c2631 0%, #111820 100%);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(17, 24, 32, 0.18);
}

.button-primary:hover {
  background: linear-gradient(180deg, #243140 0%, #111820 100%);
  box-shadow: 0 14px 30px rgba(17, 24, 32, 0.2);
  transform: translateY(-1px);
}

.button-secondary {
  border-color: rgba(17, 24, 32, 0.14);
  background: #ffffff;
  color: var(--text);
}

.unit-badge {
  border: 1px solid rgba(47, 111, 143, 0.16);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.84);
  color: var(--tech-dark);
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.section {
  scroll-margin-top: clamp(4.75rem, 10svh, 6.5rem);
  padding-block: var(--section-y);
}

.section-muted {
  background: var(--surface-muted);
}

.split-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 22rem), 1fr);
  align-items: center;
  gap: var(--space-xl);
}

.section-copy {
  display: grid;
  gap: var(--space-md);
}

.section-copy p,
.section-heading p,
.unit-content p:not(.unit-label),
.feature-card p,
.topic-list p,
.contact-copy p,
.site-footer p,
address {
  margin: 0;
  color: var(--text-soft);
}

.section-heading {
  max-width: 60rem;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.section-heading.narrow {
  max-width: 52rem;
}

.section-heading p {
  margin-top: 18px;
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border: 1px solid rgba(148, 116, 58, 0.3);
  border-radius: var(--radius);
  color: var(--gold);
}

.feature-grid {
  display: grid;
  gap: var(--space-sm);
}

.feature-card,
.lead-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
  box-shadow: var(--shadow);
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: var(--space-lg);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--tech);
}

.feature-icon {
  display: grid;
  width: 2.625rem;
  height: 2.625rem;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(47, 111, 143, 0.16);
  border-radius: var(--control-radius);
  background: var(--tech-soft);
  color: var(--tech-dark);
  font-weight: 900;
}

.feature-card p,
.unit-content p:not(.unit-label),
.topic-list p {
  margin-top: 10px;
}

/* Unit cards */
.unit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.unit-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto auto;
  gap: var(--space-sm);
  min-width: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition:
    transform 180ms ease;
}

.unit-card:hover,
.unit-card:focus-within {
  transform: translateY(-3px);
}

.unit-media {
  position: relative;
  aspect-ratio: 4 / 5;
  height: auto;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--text);
  box-shadow: 0 20px 44px rgba(17, 24, 32, 0.12);
}

.unit-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.54) 48%, rgba(0, 0, 0, 0.94) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.54) 0%, rgba(0, 0, 0, 0.08) 70%);
  transition: opacity 220ms ease;
}

.unit-media picture,
.unit-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.unit-media img {
  filter: saturate(0.9) brightness(0.74);
  object-fit: cover;
  transform: scale(1.02);
  transition:
    filter 220ms ease,
    transform 220ms ease;
}

.unit-content {
  position: absolute;
  right: var(--space-md);
  bottom: var(--space-md);
  left: var(--space-md);
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 8px;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
  transition:
    opacity 200ms ease,
    transform 200ms ease,
    filter 200ms ease;
}

.unit-label {
  width: fit-content;
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.unit-content h3 {
  max-width: 13ch;
  color: #ffffff;
  font-size: clamp(1.62rem, 2vw, 2.22rem);
  line-height: 1.18;
}

.unit-content p:not(.unit-label) {
  max-width: 30ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  line-height: 1.42;
}

.unit-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: fit-content;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.48);
  color: #ffffff;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
  backdrop-filter: blur(10px);
  padding: 7px 9px;
  text-transform: uppercase;
  z-index: 2;
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.unit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.unit-meta span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--pill);
  background: rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.86);
  padding: 5px 8px;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
}

.unit-link {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  border: 1px solid rgba(47, 111, 143, 0.26);
  border-radius: var(--pill);
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  min-height: clamp(2.75rem, 5svh, 3rem);
  padding: 0 var(--space-md);
  box-shadow: var(--shadow-soft);
  text-transform: uppercase;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.unit-link span:last-child {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.unit-link:hover {
  border-color: transparent;
  background: linear-gradient(180deg, #1c2631 0%, #111820 100%);
  color: #ffffff;
}

.unit-link:hover span:last-child {
  transform: translateX(4px);
}

@media (hover: hover) and (pointer: fine) {
  .unit-card:hover .unit-media::after {
    opacity: 0;
  }

  .unit-card:hover .unit-media img {
    filter: none;
    transform: scale(1);
  }

  .unit-card:hover .unit-content,
  .unit-card:hover .unit-badge {
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
  }

  .unit-card:hover .unit-content {
    filter: blur(3px);
  }
}

body.has-listing-viewer {
  overflow: hidden;
}

/* Listing viewer */
.listing-viewer[hidden] {
  display: none;
}

.listing-viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(0.875rem, 2vw, 1.75rem);
}

.listing-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 32, 0.72);
  backdrop-filter: blur(10px);
  animation: exitBackdropIn 380ms ease both;
}

.listing-shell {
  position: relative;
  display: grid;
  width: min(94vw, 88rem);
  max-height: min(92svh, 54rem);
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: #f7fafc;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  animation: exitShellIn 440ms cubic-bezier(0.16, 1, 0.3, 1) 70ms both;
}

.listing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  padding: clamp(0.875rem, 1.7vw, 1.25rem);
}

.listing-header .eyebrow {
  margin-bottom: 6px;
  font-size: 0.78rem;
}

.listing-header h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

.listing-close {
  display: grid;
  width: 2.875rem;
  height: 2.875rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.listing-close:hover {
  background: var(--text);
  color: #ffffff;
}

.listing-layout {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(var(--listing-nav-width), 0.12fr) minmax(0, 1fr) minmax(var(--listing-info-width), 0.26fr);
  overflow: hidden;
}

.listing-units {
  display: grid;
  align-content: start;
  gap: 8px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: #ffffff;
  padding: clamp(0.75rem, 1.5vw, 1.125rem);
}

.listing-units button,
.listing-tabs button,
.listing-thumbs button {
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
}

.listing-units button {
  display: grid;
  gap: 4px;
  min-height: clamp(3.25rem, 6svh, 3.75rem);
  align-content: center;
  padding: 0.625rem;
  text-align: left;
  font-weight: 900;
}

.listing-units button[aria-current="true"] {
  cursor: default;
}

.listing-units span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.listing-units button:hover,
.listing-tabs button:hover,
.listing-thumbs button:hover {
  border-color: rgba(47, 111, 143, 0.42);
}

.listing-units button.is-active,
.listing-tabs button.is-active {
  border-color: transparent;
  background: #111820;
  color: #ffffff;
}

.listing-units button.is-active span {
  color: rgba(255, 255, 255, 0.72);
}

.listing-stage {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--space-sm);
  overflow: hidden;
  padding: clamp(0.875rem, 1.7vw, 1.375rem);
}

.listing-viewer[data-active-mode="video"] .listing-stage {
  grid-template-rows: auto minmax(0, 1fr);
}

.listing-tabs {
  position: relative;
  z-index: 3;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.listing-tabs::-webkit-scrollbar {
  display: none;
}

.listing-tabs button {
  position: relative;
  z-index: 1;
  min-height: clamp(2.5rem, 5svh, 2.75rem);
  flex: 0 0 auto;
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 850;
  box-shadow: 0 0.375rem 1rem rgba(17, 24, 32, 0.08);
}

.listing-viewer[data-active-mode="video"] .listing-tabs {
  isolation: isolate;
}

.listing-viewer[data-active-mode="video"] .listing-tabs button {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(0.5rem);
}

.listing-viewer[data-active-mode="video"] .listing-tabs button.is-active {
  background: #111820;
}

.listing-tabs button:focus-visible,
.listing-panel:focus-visible {
  outline: 3px solid rgba(47, 111, 143, 0.24);
  outline-offset: 3px;
}

.listing-panel {
  position: relative;
  z-index: 1;
  min-height: 0;
}

.listing-panel[hidden] {
  display: none;
}

.listing-panel.is-active {
  display: grid;
  gap: var(--space-sm);
}

.listing-panel[data-listing-panel="video"].is-active {
  min-height: 0;
  place-items: center;
}

.listing-photo-frame {
  position: relative;
  display: grid;
  min-height: 0;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 111, 143, 0.08), rgba(255, 255, 255, 0.72)),
    #ffffff;
  margin: 0;
}

.listing-photo-frame img {
  width: 100%;
  height: min(50svh, 31rem);
  min-height: 0;
  object-fit: cover;
}

.listing-photo-frame figcaption {
  position: absolute;
  left: var(--space-sm);
  bottom: var(--space-sm);
  width: fit-content;
  max-width: calc(100% - (var(--space-sm) * 2));
  margin: 0;
  border-radius: var(--pill);
  background: rgba(17, 24, 32, 0.88);
  color: #ffffff;
  padding: 8px 10px;
  font-size: 0.86rem;
  font-weight: 850;
}

.listing-gallery-controls {
  display: grid;
  grid-template-columns: 2.625rem minmax(0, 1fr) 2.625rem;
  gap: var(--space-xs);
  align-items: center;
}

.listing-arrow {
  display: grid;
  width: 2.625rem;
  height: 2.625rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--text);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.listing-arrow:hover {
  background: var(--tech);
  color: #ffffff;
}

.listing-thumbs {
  display: flex;
  min-width: 0;
  gap: var(--space-xs);
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: none;
}

.listing-thumbs::-webkit-scrollbar {
  display: none;
}

.listing-thumbs button {
  position: relative;
  width: clamp(5rem, 8vw, 5.75rem);
  aspect-ratio: 23 / 15;
  height: auto;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
}

.listing-thumbs button.is-active {
  border-color: var(--tech);
  box-shadow: 0 0 0 2px rgba(47, 111, 143, 0.18);
}

.listing-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-floorplan-board {
  position: relative;
  display: grid;
  min-height: min(50svh, 31rem);
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: var(--space-lg);
}

.listing-floorplan-board img {
  width: min(100%, 58rem);
  max-height: min(46svh, 29rem);
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(4, 22, 39, 0.08));
}

.listing-video-frame {
  position: relative;
  display: grid;
  width: var(--listing-video-width);
  aspect-ratio: 2 / 3;
  min-height: 0;
  justify-self: center;
  align-self: center;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #05070a;
  color: #ffffff;
  margin: 0;
  box-shadow: 0 18px 42px rgba(17, 24, 32, 0.22);
}

.listing-video-frame video {
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #05070a;
  object-fit: contain;
}

.listing-video-frame figcaption {
  display: none;
}

.listing-info {
  display: grid;
  align-content: start;
  gap: var(--space-sm);
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: #ffffff;
  padding: clamp(1rem, 1.8vw, 1.5rem);
}

.listing-kicker {
  width: fit-content;
  margin: 0;
  border-radius: var(--pill);
  background: var(--tech-soft);
  color: var(--tech-dark);
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.listing-info h3 {
  color: #181c1e;
  font-size: clamp(1.45rem, 1.7vw, 2rem);
  line-height: 1.08;
  text-wrap: balance;
}

.listing-info p {
  max-width: 34ch;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.45;
}

.listing-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
}

.listing-specs div {
  display: grid;
  grid-template-columns: minmax(6rem, 0.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 10px;
}

.listing-specs dt {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.listing-specs dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.1;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: normal;
}

.listing-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.listing-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
}

.listing-points li::before {
  content: "";
  width: 0.5625rem;
  height: 0.5625rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--tech);
  margin-top: 0.46em;
}

.listing-contact {
  width: 100%;
  max-width: 20rem;
  margin-top: 2px;
}

/* Floorplans */
.floorplan-carousel {
  display: grid;
  gap: var(--space-md);
  max-width: min(100%, 74rem);
  margin-inline: auto;
}

.floorplan-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f8fa;
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.5vw, 1.75rem);
}

.floorplan-viewport {
  display: grid;
  height: clamp(22rem, 52vw, 70svh);
  min-height: 0;
  align-items: center;
}

.floorplan-slide {
  display: none;
  margin: 0;
}

.floorplan-slide[hidden] {
  display: none;
}

.floorplan-slide.is-active {
  display: grid;
  height: 100%;
  min-height: 0;
  place-items: center;
}

.floorplan-slide img {
  width: 100%;
  height: 100%;
  max-width: 70rem;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  background: transparent;
  filter: drop-shadow(0 12px 20px rgba(17, 24, 32, 0.08));
}

.floorplan-slide figcaption {
  display: none;
}

.floorplan-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.carousel-counter {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.carousel-actions {
  display: flex;
  gap: 8px;
}

.carousel-control {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--text);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.carousel-control:hover {
  background: var(--tech);
  color: #ffffff;
}

.carousel-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: #e9ecef;
  padding: 4px;
}

.carousel-tabs button {
  min-height: clamp(2.5rem, 5svh, 2.75rem);
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 0 14px;
  font-size: 0.9rem;
  font-weight: 800;
}

.carousel-tabs button:hover {
  background: rgba(255, 255, 255, 0.56);
}

.carousel-tabs button.is-active {
  border-color: rgba(17, 24, 32, 0.08);
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(17, 24, 32, 0.1);
}

/* Amenities */
.amenity-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-md);
}

.amenity-photo-card {
  position: relative;
  isolation: isolate;
  display: flex;
  grid-column: span 2;
  min-height: clamp(18rem, 28vw, 24rem);
  overflow: hidden;
  align-items: flex-end;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-lg);
}

.amenity-photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 22, 39, 0.14) 0%, rgba(4, 22, 39, 0.86) 100%),
    linear-gradient(90deg, rgba(4, 22, 39, 0.88) 0%, rgba(4, 22, 39, 0.2) 72%);
  opacity: 1;
  transition: opacity 240ms ease;
}

.amenity-photo-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62) saturate(0.86);
  transform: scale(1.02);
  transition: filter 260ms ease, transform 260ms ease;
}

.amenity-photo-card-wide {
  grid-column: span 3;
  min-height: clamp(20rem, 30vw, 26rem);
}

.amenity-photo-content {
  display: grid;
  max-width: 32.5rem;
  gap: var(--space-sm);
  color: #ffffff;
  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
}

.amenity-photo-card.is-photo-focused::before {
  opacity: 0;
}

.amenity-photo-card.is-photo-focused img {
  filter: brightness(1) saturate(1);
  transform: scale(1);
}

.amenity-photo-card.is-photo-focused .amenity-photo-content {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(18px);
}

@media (hover: hover) and (pointer: fine) {
  .amenity-photo-card:hover::before {
    opacity: 0;
  }

  .amenity-photo-card:hover img {
    filter: brightness(1) saturate(1);
    transform: scale(1);
  }

  .amenity-photo-card:hover .amenity-photo-content {
    opacity: 0;
    filter: blur(3px);
    transform: translateY(18px);
  }
}

.amenity-photo-content h3 {
  color: #ffffff;
  font-size: clamp(1.45rem, 1.8vw, 2rem);
  line-height: 1.12;
}

.amenity-photo-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.55;
}

.amenity-points {
  margin: 2px 0 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.amenity-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
}

.rounded-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.rounded-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reviews */
.reviews-section {
  background: #ffffff;
}

.reviews-container {
  display: grid;
  gap: clamp(2rem, 5vw, 3.25rem);
  max-width: 100rem;
}

.reviews-container>h2 {
  color: #191c1d;
  font-size: clamp(2.35rem, 4vw, 3rem);
  line-height: 1.08;
  text-align: center;
}

.reviews-carousel {
  position: relative;
  min-width: 0;
}

.reviews-track {
  display: flex;
  align-items: stretch;
  gap: var(--space-md);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0.25rem clamp(3rem, 6vw, 4rem) 0.625rem;
  scroll-padding-inline: clamp(3rem, 6vw, 4rem);
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.reviews-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: clamp(2.875rem, 4vw, 3.25rem);
  height: clamp(2.875rem, 4vw, 3.25rem);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(7, 17, 31, 0.92);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.2);
  transform: translateY(-50%);
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.reviews-control span {
  font-size: 2.2rem;
  line-height: 0.72;
  transform: translateY(-1px);
}

.reviews-control:hover {
  background: var(--tech);
  color: #ffffff;
  transform: translateY(-50%) scale(1.04);
}

.reviews-control:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.reviews-control-prev {
  left: 8px;
}

.reviews-control-next {
  right: 8px;
}

.review-card {
  display: flex;
  flex: 0 0 clamp(18rem, 25vw, 24rem);
  min-height: clamp(21rem, 34svh, 24rem);
  height: auto;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  scroll-snap-align: start;
  box-shadow: var(--shadow-soft);
}

.review-card-long {
  flex-basis: clamp(18rem, 25vw, 24rem);
}

.review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.rating {
  margin: 0 0 8px;
  color: #f9ab00;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.review-date {
  margin: 0;
  color: #424753;
  font-size: 0.68rem;
  line-height: 1.5;
}

.review-source {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(4, 22, 39, 0.08);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(4, 22, 39, 0.08);
}

.review-source img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-source-airbnb {
  background: #e9425b;
}

.review-card blockquote {
  display: -webkit-box;
  max-height: 14.4em;
  margin: 0 0 24px;
  overflow: hidden;
  color: #191c1d;
  font-size: clamp(1rem, 1.18vw, 1.16rem);
  font-weight: 650;
  line-height: 1.44;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
  line-clamp: 10;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.review-author img {
  width: 2.625rem;
  height: 2.625rem;
  flex: 0 0 auto;
  border: 2px solid #ffffff;
  border-radius: 50%;
  object-fit: cover;
}

.review-author cite,
.review-author span {
  display: block;
  font-style: normal;
  line-height: 1.35;
}

.review-author cite {
  color: #191c1d;
  font-size: 0.9rem;
  font-weight: 850;
}

.review-author span {
  color: #424753;
  font-size: 0.88rem;
}

.reviews-closing {
  max-width: 54rem;
  margin: 0 auto;
  color: #191c1d;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 850;
  line-height: 1.4;
  text-align: center;
}

.topic-list {
  display: grid;
  gap: 18px;
}

.topic-list article {
  border-left: 3px solid var(--tech);
  padding-left: 18px;
}

address {
  font-style: normal;
  font-weight: 800;
}

/* Location */
.location-map-grid {
  display: grid;
  grid-template-columns: minmax(min(100%, 22rem), 0.9fr) minmax(min(100%, 28rem), 0.96fr);
  align-items: stretch;
  column-gap: var(--space-xl);
  row-gap: var(--space-md);
}

.location-panel {
  display: grid;
  gap: var(--space-md);
}

.location-panel h2 {
  max-width: 12.5ch;
  font-size: clamp(2.7rem, 4.7vw, 5rem);
  line-height: 0.98;
}

.location-panel>p {
  max-width: 38.75rem;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.location-address {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.35fr) 1fr;
  gap: var(--space-sm);
  align-items: center;
  border: 1px solid rgba(47, 111, 143, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #1c2631 0%, #111820 100%);
  color: #ffffff;
  padding: var(--space-sm) var(--space-md);
}

.location-address span {
  font-size: 0.86rem;
  line-height: 1.35;
}

.location-list {
  display: grid;
}

.location-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 0.9375rem 0.75rem;
  text-align: left;
}

.location-item span {
  font-size: 1rem;
  font-weight: 850;
}

.location-item strong {
  color: var(--text);
  font-size: 0.88rem;
  white-space: nowrap;
}

.location-item.is-active {
  border-color: rgba(47, 111, 143, 0.24);
  background: rgba(47, 111, 143, 0.07);
  color: var(--tech-dark);
}

.location-item.is-active strong {
  color: var(--tech-dark);
}

.location-map-card {
  display: flex;
  width: min(100%, 52rem);
  min-height: min(58svh, 40rem);
  align-self: stretch;
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.location-map {
  flex: 1;
  width: 100%;
  min-height: min(58svh, 40rem);
  background: #e8eee7;
  isolation: isolate;
}

.leaflet-container {
  position: relative;
  overflow: hidden;
  font-family: inherit;
  outline-offset: 2px;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane>svg,
.leaflet-pane>canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  top: 0;
  left: 0;
}

.leaflet-container img.leaflet-tile,
.leaflet-container img.leaflet-marker-icon,
.leaflet-container img.leaflet-marker-shadow {
  max-width: none;
  max-height: none;
}

.leaflet-container .leaflet-tile {
  width: 256px;
  height: 256px;
}

.leaflet-tile {
  user-select: none;
  -webkit-user-drag: none;
}

.leaflet-marker-icon,
.leaflet-marker-shadow {
  display: block;
}

.leaflet-control-container .leaflet-top,
.leaflet-control-container .leaflet-bottom {
  position: absolute;
  z-index: 1000;
}

.leaflet-control-container .leaflet-top {
  top: 10px;
}

.leaflet-control-container .leaflet-bottom {
  bottom: 10px;
}

.leaflet-control-container .leaflet-left {
  left: 10px;
}

.leaflet-control-container .leaflet-right {
  right: 10px;
}

.location-map .leaflet-control-attribution {
  font-size: 0.65rem;
}

.map-pin {
  position: relative;
  display: grid;
  width: 2.125rem;
  height: 2.125rem;
  place-items: center;
  border: 3px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  background: #e21b2d;
  box-shadow: 0 8px 18px rgba(4, 22, 39, 0.28);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  transform: rotate(-45deg);
}

.map-pin span {
  transform: rotate(45deg);
}

.map-pin-main {
  width: 2.625rem;
  height: 2.625rem;
  background: var(--tech);
  color: #ffffff;
}

.map-pin.is-active {
  background: var(--text);
}

.map-pin-main.is-active {
  background: var(--tech);
}

.map-fallback {
  margin: 0;
  padding: 14px 18px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.map-fallback.is-hidden {
  display: none;
}

.location-cta {
  display: flex;
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 0;
}

/* Contact */
.contact-section {
  background:
    linear-gradient(135deg, #111820 0%, #1d2834 64%, #263541 100%);
  color: #ffffff;
}

.contact-copy h2 {
  max-width: 13.5ch;
  color: #ffffff;
  font-size: clamp(3.3rem, 7vw, 6.25rem);
  line-height: 0.94;
  overflow-wrap: normal;
  word-break: normal;
}

.contact-copy h2 span {
  display: block;
  white-space: nowrap;
}

.contact-copy p {
  color: #b7c8de;
  font-size: 1.2rem;
}

.contact-copy p strong {
  color: #ffffff;
}

.lead-form {
  display: grid;
  gap: var(--space-md);
  border-color: rgba(47, 111, 143, 0.18);
  padding: var(--space-xl);
}

.lead-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: var(--control-block);
  border: 1px solid rgba(7, 17, 31, 0.12);
  border-radius: var(--radius);
  background: #f2f6f7;
  color: var(--text);
  padding: 0 var(--space-sm);
}

.field input:focus,
.field select:focus {
  border-color: rgba(47, 111, 143, 0.48);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(47, 111, 143, 0.12);
}

.form-button {
  width: 100%;
}

.form-button:disabled {
  cursor: wait;
  filter: grayscale(0.2) brightness(0.9);
  opacity: 0.72;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--gold-soft);
  font-weight: 750;
  text-align: center;
}

.form-status.is-success {
  color: #95f0b8;
}

.form-status.is-error {
  color: #ffb4b4;
}

/* Seletor de interesse (material / reunião) */
.interesse-group {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.interesse-group legend {
  padding: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.interesse-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.interesse-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.interesse-option input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.interesse-card {
  display: grid;
  gap: 4px;
  height: 100%;
  border: 1px solid rgba(7, 17, 31, 0.12);
  border-radius: var(--radius);
  background: #f2f6f7;
  padding: 12px;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.interesse-card strong {
  font-size: 0.92rem;
  color: var(--text);
}

.interesse-card small {
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--text-muted);
}

.interesse-option input:checked + .interesse-card {
  border-color: var(--tech);
  background: var(--tech-soft);
  box-shadow: 0 0 0 3px rgba(47, 111, 143, 0.14);
}

.interesse-option input:focus-visible + .interesse-card {
  border-color: var(--tech);
  box-shadow: 0 0 0 4px rgba(47, 111, 143, 0.22);
}

.field-optional {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
}

.form-pdf-link {
  width: 100%;
}

.button-whatsapp {
  background: #25d366;
  color: #06351a;
}

.button-whatsapp:hover {
  background: #1fbd5b;
  transform: translateY(-1px);
}

/* Pop-up de saída (exit-intent) */
.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: var(--space-md);
}

.exit-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 22, 0.62);
  animation: exitBackdropIn 380ms ease both;
}

.exit-shell {
  position: relative;
  display: grid;
  gap: var(--space-sm);
  width: min(28rem, 100%);
  max-height: 92svh;
  overflow: auto;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
  box-shadow: var(--shadow);
  padding: var(--space-lg);
  animation: exitShellIn 440ms cubic-bezier(0.16, 1, 0.3, 1) 70ms both;
}

@keyframes exitBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes exitShellIn {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .exit-backdrop,
  .exit-shell,
  .listing-backdrop,
  .listing-shell {
    animation: none;
  }
}

.exit-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.exit-shell h2 {
  max-width: none;
  font-size: clamp(1.4rem, 3.4vw, 1.85rem);
  line-height: 1.12;
  color: var(--text);
}

.exit-text {
  color: var(--text-soft);
}

.exit-form {
  display: grid;
  gap: var(--space-sm);
}

.exit-whatsapp-link {
  width: 100%;
}

body.has-exit-modal {
  overflow: hidden;
}

@media (max-width: 820px) {
  .interesse-options {
    grid-template-columns: 1fr;
  }
}

.faq-container {
  max-width: 56rem;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 0;
  box-shadow: none;
}

.faq-list summary {
  cursor: pointer;
  padding: var(--space-md);
  color: var(--text);
  font-weight: 850;
  text-wrap: balance;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list details p {
  margin: 0;
  padding: 0 var(--space-md) var(--space-md);
  color: var(--text-soft);
}

/* Footer */
.site-footer {
  background: var(--text);
  color: #ffffff;
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.7fr;
  gap: var(--space-lg);
}

.footer-logo img {
  margin-bottom: 18px;
}

.footer-logo {
  width: clamp(9rem, 14vw, 11.25rem);
  margin-bottom: var(--space-sm);
}

.footer-logo img {
  margin-bottom: 0;
}

.footer-logo .logo-black {
  opacity: 0;
}

.footer-logo .logo-white {
  opacity: 1;
}

.footer-grid p,
.footer-grid address,
.footer-bottom,
.footer-bottom p,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.footer-grid a:hover,
.footer-bottom a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 40;
  display: grid;
  width: clamp(3.5rem, 6vw, 4rem);
  height: clamp(3.5rem, 6vw, 4rem);
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  font-size: 0.9rem;
  font-weight: 900;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25d366;
  animation: pulse 1.5s ease-out infinite;
}

.whatsapp-float img {
  position: relative;
  width: clamp(2.75rem, 5vw, 3.125rem);
  height: clamp(2.75rem, 5vw, 3.125rem);
  border-radius: 50%;
  object-fit: cover;
}

@keyframes pulse {
  from {
    opacity: 0.65;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(1.75);
  }
}

/* Responsive */
@media (max-width: 1100px) {

  .unit-grid,
  .amenity-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-layout {
    grid-template-areas: none;
    grid-template-columns: minmax(8.25rem, 0.16fr) minmax(0, 1fr) minmax(15rem, 0.3fr);
    overflow: hidden;
  }

  .listing-units {
    grid-area: auto;
  }

  .listing-stage {
    grid-area: auto;
  }

  .listing-info {
    grid-area: auto;
    border-top: 0;
    border-left: 1px solid var(--line);
    overflow: hidden;
  }

  .amenity-photo-card {
    grid-column: auto;
  }

  .amenity-photo-card-wide {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - clamp(1rem, 4vw, 2rem), var(--container));
  }

  .header-content {
    min-height: clamp(4.5rem, 8svh, 4.75rem);
  }

  .brand-logo {
    width: clamp(10rem, 46vw, 16.25rem);
  }

  .nav-cta {
    min-width: auto;
    padding: 0.75rem 0.875rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }

  .hero {
    min-height: auto;
    padding-block: clamp(6rem, 11svh, 6.5rem) clamp(3rem, 6svh, 3.5rem);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 2rem;
  }

  .hero-visual {
    order: -1;
    justify-content: center;
    min-height: 0;
  }

  .hero-media {
    width: min(60vw, 20rem);
    margin-inline: auto;
  }

  .split-layout,
  .location-map-grid,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .location-panel h2 {
    max-width: 12.5ch;
  }

  .location-address {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }

  .location-map-card {
    justify-self: stretch;
    min-height: 0;
  }

  .location-map {
    height: clamp(22rem, 54svh, 27rem);
    min-height: 0;
  }

  .unit-grid,
  .amenity-photo-grid {
    grid-template-columns: 1fr;
  }

  .listing-viewer {
    padding: 0;
  }

  .listing-shell {
    width: 100%;
    height: 100svh;
    max-height: 100svh;
    min-height: 0;
    display: block;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
  }

  .listing-header {
    position: sticky;
    top: 0;
    z-index: 2;
    align-items: flex-start;
    padding: 0.875rem 1rem;
  }

  .listing-close {
    width: 2.625rem;
    height: 2.625rem;
  }

  .listing-layout {
    grid-template-areas:
      "units"
      "stage"
      "info";
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .listing-units {
    grid-area: units;
    display: flex;
    gap: var(--space-xs);
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem;
  }

  .listing-units button {
    min-width: 8.5rem;
    min-height: clamp(3.25rem, 6svh, 3.625rem);
  }

  .listing-stage {
    grid-area: stage;
    overflow: visible;
    padding: var(--space-md);
  }

  .listing-photo-frame,
  .listing-floorplan-board,
  .listing-video-frame {
    min-height: 0;
  }

  .listing-photo-frame img {
    height: min(58vw, 22.5rem);
    min-height: 15rem;
  }

  .listing-video-frame {
    width: min(100%, 22.5rem);
  }

  .listing-video-frame video {
    height: 100%;
    min-height: 0;
  }

  .listing-floorplan-board {
    min-height: 17.5rem;
  }

  .listing-floorplan-board img {
    max-height: 17.5rem;
  }

  .listing-info {
    grid-area: info;
    border-top: 1px solid var(--line);
    border-left: 0;
    overflow: visible;
  }

  .listing-specs {
    grid-template-columns: 1fr;
  }

  .amenity-photo-card,
  .amenity-photo-card-wide {
    grid-column: auto;
    min-height: 18.75rem;
  }

  .section {
    padding-block: clamp(3rem, 8vw, 3.5rem);
  }

  .reviews-container {
    gap: clamp(2rem, 5vw, 2.25rem);
  }

  .review-card,
  .review-card-long {
    flex-basis: min(82vw, 21rem);
    min-height: 21.5rem;
    height: auto;
  }

  .reviews-track {
    padding-inline: clamp(2.5rem, 10vw, 3.25rem);
    scroll-padding-inline: clamp(2.5rem, 10vw, 3.25rem);
  }

  .reviews-control {
    width: 2.875rem;
    height: 2.875rem;
  }

  .reviews-control span {
    font-size: 2rem;
  }

  .reviews-control-prev {
    left: 6px;
  }

  .reviews-control-next {
    right: 6px;
  }

  .review-card blockquote {
    font-size: 0.98rem;
    -webkit-line-clamp: 8;
    line-clamp: 8;
  }

  h1 {
    max-width: 11.5ch;
    font-size: clamp(3rem, 13vw, 4.75rem);
  }

  .button {
    width: auto;
    max-width: 100%;
    min-height: clamp(3rem, 6svh, 3.25rem);
    padding-inline: var(--space-md);
  }

  .contact-copy h2 {
    max-width: 100%;
    font-size: clamp(2.75rem, 12vw, 4.75rem);
    line-height: 1;
  }

  .contact-copy h2 span {
    white-space: normal;
  }

  .floorplan-frame {
    padding: 1rem;
  }

  .floorplan-viewport {
    height: clamp(18rem, 62vw, 32rem);
    min-height: 0;
  }

  .floorplan-slide img {
    max-height: 100%;
  }

  .floorplan-toolbar {
    flex-wrap: wrap;
    margin-top: var(--space-sm);
  }

  .carousel-counter {
    order: 3;
    width: 100%;
  }

  .carousel-control {
    width: 2.625rem;
    height: 2.625rem;
    font-size: 1.7rem;
  }

  .carousel-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .site-nav {
    display: none;
  }

  .hero {
    color: #fff;
    align-items: flex-start;
    min-height: min(88svh, 40rem);
    background-image:
      linear-gradient(180deg, rgba(4, 22, 39, 0.5) 0%, rgba(4, 22, 39, 0.86) 100%),
      url("../images/hero-building-768.webp");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover, auto 112%;
  }

  .hero::before {
    display: none;
  }

  .hero-visual {
    display: none;
  }

  .hero-grid {
    gap: 1.375rem;
    min-height: 0;
    align-content: start;
  }

  .hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 8vw, 3.2rem);
  }

  .hero-actions .button-primary {
    background: #ffffff;
    color: #111820;
    border-color: #ffffff;
  }

  .hero-text {
    color: rgba(255, 255, 255, 0.9);
  }

  .hero-platforms span {
    color: rgba(255, 255, 255, 0.78);
  }

  .site-header .brand-logo .logo-black {
    opacity: 0;
  }

  .site-header .brand-logo .logo-white {
    opacity: 1;
  }

  .hero-platforms {
    align-items: flex-start;
  }

  .hero-platforms span {
    flex-basis: 100%;
  }

  .hero-actions .button,
  .amenity-cta .button,
  .location-cta .button {
    width: 100%;
  }

  .unit-content h3 {
    max-width: 15ch;
  }

  .section-heading {
    text-align: left;
  }

  .floorplan-viewport {
    height: clamp(18rem, 72vw, 21.25rem);
  }

  .floorplan-toolbar {
    align-items: flex-end;
  }

  .location-map {
    height: clamp(20rem, 48svh, 21.5rem);
    min-height: 0;
  }

  .listing-header h2 {
    font-size: 1.55rem;
  }

  .listing-tabs {
    width: 100%;
  }

  .listing-tabs button {
    flex: 1 0 auto;
    padding-inline: 12px;
  }

  .listing-gallery-controls {
    grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
    gap: var(--space-xs);
  }

  .listing-arrow {
    width: 2.5rem;
    height: 2.5rem;
  }

  .listing-thumbs button {
    width: 5.375rem;
    aspect-ratio: 43 / 31;
    height: auto;
  }

  .listing-photo-frame,
  .listing-floorplan-board,
  .listing-video-frame {
    min-height: 0;
  }

  .listing-photo-frame img {
    height: 16.25rem;
    min-height: 0;
  }

  .listing-video-frame {
    width: min(100%, 20rem);
  }

  .listing-video-frame video {
    height: 100%;
    min-height: 0;
  }

  .listing-floorplan-board {
    min-height: 15rem;
    padding: 0.75rem;
  }

  .listing-floorplan-board img {
    max-height: 13.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
