/* ============================================================
   ROBERTA LOPES · LOCAÇÃO DE IMÓVEIS · DESIGN TOKENS
   ============================================================
   Cor primária:   #F3D7A6 (champagne)
   Cor secundária: #644C44 (cacau)
   Inspiração de estrutura: jfl.inc (hero cheio, cards por unidade,
   seções alternadas, mosaico de diferenciais)
   Assinatura visual: "etiqueta de chave" nos cards de apartamento,
   referência direta ao próprio conteúdo do site atual (unidades
   nomeadas por prédio + número, ex. MONT TANNAT I 1103), como se
   cada apartamento tivesse sua etiqueta de chave física.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Inter:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root {
  /* Paleta */
  --cream:        #FFFFFF;
  --cream-soft:   #FAF6F0;
  --champagne:    #F3D7A6;
  --champagne-dk: #E3BE7E;
  --cocoa:        #644C44;
  --cocoa-dark:   #4A3830;
  --ink:          #2A211D;
  --muted:        #8A7A72;
  --white:        #FFFFFF;
  --line:         rgba(100, 76, 68, 0.13);

  /* Tipografia */
  --font-display: 'Cormorant Garamond', serif;   /* combina com a serifa fina da logo */
  --font-body:    'Inter', sans-serif;
  --font-tag:     'Space Mono', monospace;

  /* Escala */
  --container: 1200px;
  --radius: 18px;
  --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 18px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-tag);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cocoa);
  opacity: 0.8;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--cocoa-dark);
  line-height: 1.12;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 500; }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.5rem; font-weight: 600; }

.italic { font-style: italic; color: var(--champagne-dk); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--champagne);
  color: var(--cocoa-dark);
}
.btn-primary:hover { background: var(--champagne-dk); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.btn-dark {
  background: var(--cocoa-dark);
  color: var(--cream);
}
.btn-dark:hover { background: var(--ink); transform: translateY(-2px); }

/* ============================== HEADER ============================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  padding: 14px 40px;
  border-bottom: 1px solid var(--line);
}

.logo { display: flex; align-items: center; }
.logo img { height: 42px; width: auto; display: block; }
.logo .logo-cacau { display: none; }
.site-header.is-scrolled .logo-white { display: none; }
.site-header.is-scrolled .logo-cacau { display: block; }

.main-nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.main-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.3s ease;
  position: relative;
}
.site-header.is-scrolled .main-nav a { color: var(--cocoa-dark); }
.main-nav a:hover { color: var(--champagne); }
.main-nav a.btn-primary,
.main-nav a.btn-primary:hover { color: var(--cocoa-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px; height: 20px;
  position: relative;
  z-index: 20;
  flex: none;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  height: 2px; width: 100%;
  background: var(--white);
  left: 0;
  transition: 0.3s;
}
.site-header.is-scrolled .nav-toggle span,
.site-header.is-scrolled .nav-toggle span::before,
.site-header.is-scrolled .nav-toggle span::after { background: var(--cocoa-dark); }
.nav-toggle span { top: 9px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

/* botão de menu vira "X" quando o menu mobile está aberto */
.nav-toggle.is-active span { background: transparent; }
.nav-toggle.is-active span::before,
.nav-toggle.is-active span::after { background: var(--cocoa-dark); top: 0; }
.nav-toggle.is-active span::before { transform: rotate(45deg); }
.nav-toggle.is-active span::after { transform: rotate(-45deg); }

/* ============================== HERO ============================== */
.hero {
  position: relative;
  height: 62vh;
  min-height: 460px;
  max-height: 640px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, #6b5346 0%, #8a6a53 45%, #d9b98a 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,33,29,0.35) 0%, rgba(42,33,29,0.15) 40%, rgba(42,33,29,0.75) 100%);
  z-index: 1;
}
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 56px;
  max-width: 640px;
}

.hero-content .eyebrow { color: var(--champagne); opacity: 1; margin-bottom: 14px; display: block; }

.hero-content h1 { color: var(--white); margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.2rem); }

.hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.86);
  max-width: 480px;
  margin-bottom: 26px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* scroll-cue removido: o hero mais curto já revela o conteúdo abaixo sem precisar de indicativo */

/* ============================== CATEGORIAS (estilo Airbnb) ============================== */
.buildings-strip {
  background: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.buildings-strip .container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.buildings-strip .container::-webkit-scrollbar { display: none; }

.pill {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 14px 12px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.pill svg { opacity: 0.65; transition: opacity 0.2s ease; }
.pill:hover { color: var(--ink); }
.pill:hover svg { opacity: 1; }
.pill.is-active {
  color: var(--ink);
  border-bottom-color: var(--cocoa-dark);
  font-weight: 600;
}
.pill.is-active svg { opacity: 1; }

/* ============================== SECTION HEADINGS ============================== */
.section { padding: 110px 0; }
.section-cream { background: var(--cream); }
.section-soft { background: var(--cream-soft); }
.section-dark { background: var(--cocoa-dark); color: var(--cream); }
.section-dark h2 { color: var(--cream); }

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head p { margin-top: 16px; color: rgba(42,33,29,0.68); font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(250,243,231,0.75); }

/* ============================== APARTMENTS GRID ============================== */
.apt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}

.apt-card {
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: opacity 0.25s ease;
}
.apt-card:hover { transform: none; box-shadow: none; }
.apt-card:hover .apt-photo img { transform: scale(1.035); }

.apt-photo {
  position: relative;
  aspect-ratio: 4/3.4;
  background: linear-gradient(135deg, #cbb190, #8a6a53);
  overflow: hidden;
  border-radius: 16px;
}
.apt-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }

.apt-status {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: var(--cocoa-dark);
  box-shadow: 0 2px 8px rgba(42,33,29,0.12);
}
.apt-status.is-unavailable { background: rgba(42,33,29,0.8); color: var(--cream); }

/* -- assinatura: etiqueta de chave (achatada, no estilo Airbnb "guest favorite") -- */
.key-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--white);
  color: var(--cocoa-dark);
  font-family: var(--font-tag);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(42,33,29,0.14);
}
.key-tag::before { content: none; }

.apt-body { padding: 14px 2px 0; }
.apt-building { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.apt-body h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.apt-meta { display: flex; gap: 10px; font-size: 0.95rem; color: var(--muted); margin-bottom: 10px; }
.apt-link { font-weight: 600; font-size: 0.95rem; color: var(--cocoa-dark); display: inline-flex; align-items: center; gap: 6px; }
.apt-link svg { transition: transform 0.25s ease; }
.apt-card:hover .apt-link svg { transform: translateX(4px); }

.apt-card.is-unavailable { opacity: 1; }
.apt-card.is-unavailable .apt-photo img { filter: brightness(0.5) saturate(0.85); }
.apt-card.is-unavailable .apt-status { display: none; }
.apt-card.is-unavailable .apt-body { opacity: 0.6; }
.apt-card.is-unavailable .apt-link { color: var(--muted); pointer-events: none; }

.lock-badge {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(20,16,14,0.55);
}
.lock-badge .lock-icon {
  width: 60px; height: 60px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.45));
}
.lock-badge .lock-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--champagne);
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}

/* ============================== FEATURES ALTERNADAS ============================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse .feature-media { order: 2; }
.feature-media {
  aspect-ratio: 5/4;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e7d3b0, #8a6a53);
  overflow: hidden;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-index {
  font-family: var(--font-tag);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--champagne-dk);
  margin-bottom: 14px;
  display: block;
}
.feature-text h3 { font-size: 1.7rem; margin-bottom: 16px; }
.feature-text p { color: rgba(42,33,29,0.68); font-size: 1.02rem; }

/* ============================== DIFERENCIAIS (ícones) ============================== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.diff-item {
  text-align: left;
  padding: 28px 8px 0;
  border-top: 1px solid rgba(250,243,231,0.18);
}
.diff-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--champagne);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--cocoa-dark);
}
.diff-item h4 { color: var(--cream); font-size: 1.05rem; margin-bottom: 8px; }
.diff-item p { color: rgba(250,243,231,0.72); font-size: 1rem; }

/* ============================== CTA WHATSAPP ============================== */
.cta-band {
  background: var(--champagne);
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: var(--cocoa-dark); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-inner p { color: rgba(42,33,29,0.72); margin-top: 8px; }

/* ============================== FOOTER ============================== */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(250,243,231,0.14);
}
.footer-logo { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 16px; }
.footer-logo span { color: var(--champagne); }
.footer-col h5 {
  font-family: var(--font-tag);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 18px;
}
.footer-col a, .footer-col p {
  display: block;
  color: rgba(250,243,231,0.78);
  font-size: 1rem;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--champagne); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.9rem;
  color: rgba(250,243,231,0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(250,243,231,0.75); text-decoration: underline; }
.footer-bottom a:hover { color: var(--champagne); }

/* ============================== WHATSAPP FLOAT ============================== */
.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--cocoa-dark);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(42,33,29,0.3);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 980px) {
  .apt-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .site-header { padding: 16px 20px; background: rgba(42,33,29,0.55); backdrop-filter: blur(6px); }
  .site-header.is-scrolled { padding: 14px 20px; }
  .logo img { height: 30px; }
  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
    background: var(--cream); flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 40px; gap: 28px; transition: right 0.35s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.15); z-index: 15; }
  .main-nav.is-open { right: 0; }
  .main-nav a { color: var(--cocoa-dark); font-size: 1.1rem; }
  .nav-toggle { display: block; }
  .apt-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 72px 0; }
}


/* ============================================================
   HOME · CARDS DE APARTAMENTOS — UX/UI 2026
   Hierarquia: imagem > identidade > especificações > resumo > CTA
   ============================================================ */
#apartamentos .section-head {
  max-width: 690px;
  margin-bottom: 44px;
}
#apartamentos .section-head h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.05;
}
#apartamentos .section-head p {
  max-width: 600px;
  font-size: 1rem;
  line-height: 1.65;
}

.apt-grid {
  gap: 48px 28px;
}

.apt-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.apt-photo {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: #eee8e3;
  box-shadow: 0 1px 0 rgba(74,56,48,.04);
}
.apt-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(26,20,17,.04), transparent 35%, rgba(26,20,17,.09));
}
.apt-photo img {
  transition: transform .45s ease;
}

.apt-status {
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .02em;
  box-shadow: 0 3px 14px rgba(42,33,29,.10);
}
.apt-status.is-unavailable {
  display: inline-flex;
  background: rgba(42,33,29,.86);
  color: #fff;
}

.key-tag {
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 7px 11px;
  font-size: 11px;
}

.apt-body {
  padding: 18px 2px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.apt-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}

.apt-building {
  display: block;
  margin: 0 0 3px;
  color: #8b7970;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.apt-body h3 {
  margin: 0;
  color: var(--cocoa-dark);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.5vw, 1.45rem);
  font-weight: 600;
  line-height: 1.15;
}

.apt-availability {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 5px;
  color: #4d6b55;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.apt-availability-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #66846e;
}
.apt-availability.is-unavailable {
  color: #96877f;
}
.apt-availability.is-unavailable .apt-availability-dot {
  background: #b5aaa4;
}

.apt-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.apt-spec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #71635c;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}
.apt-spec svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #9b887d;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.apt-spec strong {
  color: var(--cocoa-dark);
  font-weight: 600;
}

.apt-summary {
  min-height: 3.2em;
  margin: 14px 0 18px;
  color: #756860;
  font-size: 13.5px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.apt-card-footer {
  margin-top: auto;
}

.apt-link {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cocoa-dark);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  border-bottom: 1px solid rgba(74,56,48,.25);
  padding: 0 0 3px;
}
.apt-link.is-disabled {
  color: #a69a94;
  border-bottom-color: transparent;
  cursor: default;
}
.apt-card:hover .apt-link svg {
  transform: translateX(3px);
}

/* Indisponível continua legível: a disponibilidade não deve destruir a ficha. */
.apt-card.is-unavailable {
  opacity: 1;
}
.apt-card.is-unavailable .apt-photo img {
  filter: grayscale(.15) brightness(.62);
}
.apt-card.is-unavailable .apt-photo::before {
  content: 'Indisponível';
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,.96);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(42,33,29,.68);
  backdrop-filter: blur(4px);
}
.apt-card.is-unavailable .apt-body {
  opacity: 1;
}

/* Tablets */
@media (max-width: 980px) {
  .apt-grid {
    gap: 42px 22px;
  }
  .apt-card-head {
    gap: 10px;
  }
  .apt-availability {
    display: none;
  }
  .apt-specs {
    gap: 8px 12px;
  }
}

/* Mobile */
@media (max-width: 720px) {
  html {
    font-size: 16px;
  }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  #apartamentos {
    padding-top: 64px;
    padding-bottom: 72px;
  }
  #apartamentos .section-head {
    margin-bottom: 30px;
  }
  #apartamentos .section-head .eyebrow {
    margin-bottom: 9px;
    font-size: 10px;
  }
  #apartamentos .section-head h2 {
    font-size: clamp(2rem, 11vw, 2.65rem);
    line-height: .98;
  }
  #apartamentos .section-head p {
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.6;
  }
  .apt-grid {
    gap: 36px;
  }
  .apt-photo {
    aspect-ratio: 16 / 12;
    border-radius: 15px;
  }
  .apt-body {
    padding-top: 15px;
  }
  .apt-card-head {
    margin-bottom: 12px;
  }
  .apt-building {
    font-size: 10px;
  }
  .apt-body h3 {
    font-size: 1.35rem;
  }
  .apt-availability {
    display: none;
  }
  .apt-specs {
    gap: 9px 14px;
    padding: 12px 0;
  }
  .apt-spec {
    font-size: 11.5px;
  }
  .apt-summary {
    min-height: 0;
    margin: 12px 0 15px;
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
  .apt-link {
    min-height: 36px;
    font-size: 12.5px;
  }
  .apt-status,
  .key-tag {
    top: 12px;
    font-size: 10.5px;
  }
  .apt-status { left: 12px; }
  .key-tag { right: 12px; }
}

/* Telefones estreitos */
@media (max-width: 380px) {
  .apt-specs {
    gap: 8px 10px;
  }
  .apt-spec {
    font-size: 11px;
  }
}


/* HOME · CARD INTEIRO CLICÁVEL */
.apt-card[data-href] {
  cursor: pointer;
  outline: none;
}
.apt-card[data-href]:focus-visible {
  border-radius: 18px;
  box-shadow: 0 0 0 3px rgba(207, 166, 104, .34);
}
.apt-card[data-href]:hover .apt-photo img {
  transform: scale(1.025);
}


/* ============================================================
   HOME · LISTAGEM CLEAN
   Somente imagem, empreendimento, unidade e ação.
   ============================================================ */
.apt-grid {
  row-gap: 42px;
}

.apt-body-clean {
  min-height: 0;
  padding: 15px 2px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-direction: row;
  gap: 18px;
}

.apt-identity {
  min-width: 0;
}

.apt-body-clean .apt-building {
  margin-bottom: 4px;
  color: #8d7a70;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
}

.apt-body-clean h3 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.1;
}

.apt-link-clean {
  flex: none;
  min-height: 32px;
  padding: 0 0 2px;
  font-size: 12.5px;
  white-space: nowrap;
}

/* Remove elementos da versão anterior que não pertencem ao card clean. */
.apt-body-clean .apt-card-head,
.apt-body-clean .apt-specs,
.apt-body-clean .apt-summary,
.apt-body-clean .apt-card-footer,
.apt-body-clean .apt-availability {
  display: none !important;
}

/* Indisponível: foto mais escura, sem textos redundantes fora da imagem. */
.apt-card.is-unavailable .apt-photo img {
  filter: grayscale(.12) brightness(.43);
}
.apt-card.is-unavailable .apt-photo::before {
  content: none !important;
}
.apt-card.is-unavailable .apt-photo::after {
  background: rgba(31, 24, 21, .18);
  z-index: 1;
}
.apt-card.is-unavailable .apt-body {
  opacity: .72;
}

.apt-locked {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  pointer-events: none;
  color: #fff;
}
.apt-lock-icon {
  width: 36px;
  height: 36px;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.18));
}
.apt-locked span {
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  text-shadow: 0 1px 7px rgba(0,0,0,.28);
}

/* Status "Disponível" é supérfluo no layout clean. */
.apt-status:not(.is-unavailable) {
  display: none !important;
}

@media (max-width: 720px) {
  .apt-grid {
    row-gap: 32px;
  }
  .apt-body-clean {
    padding-top: 13px;
    gap: 12px;
  }
  .apt-body-clean h3 {
    font-size: 1.24rem;
  }
  .apt-link-clean {
    font-size: 12px;
  }
  .apt-lock-icon {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 390px) {
  .apt-body-clean {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}


/* ============================================================
   REFINO VISUAL GLOBAL · LEITURA + LUXO CONTEMPORÂNEO
   Display serif fica reservada a títulos editoriais/banners.
   Conteúdo funcional usa Inter para máxima legibilidade.
   ============================================================ */
body,
p,
a,
button,
input,
select,
textarea,
label,
.apt-building,
.apt-link,
.feature-index,
.feature-text p,
.diff-item p,
.diff-item h4,
.footer-col,
.footer-bottom,
.cta-band p {
  font-family: var(--font-body);
}

.apt-body h3,
.feature-text h3,
.diff-item h4,
.site-footer h5 {
  font-family: var(--font-body);
}

/* Cadeado / indisponibilidade: leitura imediata sem ficar caricato */
.apt-lock-icon {
  width: 46px;
  height: 46px;
}
.apt-locked {
  gap: 11px;
}
.apt-locked span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
}
.apt-card.is-unavailable .apt-photo img {
  filter: grayscale(.10) brightness(.36);
}

/* POR QUE FICAR · composição editorial mais compacta */
.section-soft {
  padding: clamp(72px, 8vw, 118px) 0;
}
.section-soft > .container {
  display: grid;
  gap: 54px;
}
.section-soft .section-head {
  max-width: 720px;
  margin: 0;
}
.section-soft .section-head h2 {
  max-width: 690px;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.5vw, 4.5rem);
  line-height: .98;
}
.feature-row,
.feature-row.reverse {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  align-items: center;
  gap: clamp(38px, 6vw, 88px);
  min-height: 0;
  margin: 0;
}
.feature-row.reverse .feature-media {
  order: 2;
}
.feature-row.reverse .feature-text {
  order: 1;
}
.feature-media {
  height: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 22px;
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-text {
  max-width: 520px;
  padding: 0;
}
.feature-index {
  display: block;
  margin-bottom: 12px;
  color: #b88b4f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.feature-text h3 {
  margin: 0 0 14px;
  color: var(--cocoa-dark);
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.feature-text p {
  margin: 0;
  color: #6d625c;
  font-size: 15px;
  line-height: 1.75;
}

/* DIFERENCIAIS · cards sutis, menos blocão e mais produto premium */
.section-dark {
  padding: clamp(74px, 8vw, 112px) 0;
}
.section-dark .section-head {
  max-width: 690px;
  margin-bottom: 48px;
}
.section-dark .section-head h2 {
  font-size: clamp(2.35rem, 4.2vw, 4.15rem);
  line-height: 1;
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.diff-item {
  min-width: 0;
  padding: 28px 24px 30px;
  border: 1px solid rgba(243,215,166,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
.diff-item::before {
  display: none;
}
.diff-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
}
.diff-item h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}
.diff-item p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 13.5px;
  line-height: 1.65;
}

/* CTA · menos faixa genérica */
.cta-band {
  padding: clamp(58px, 6vw, 84px) 0;
}
.cta-inner {
  gap: 34px;
}
.cta-inner h2 {
  max-width: 690px;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 1.02;
}
.cta-band p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
}

/* FOOTER · hierarquia e respiro controlados */
.site-footer {
  padding: 0;
}
.site-footer .container {
  padding-top: 64px;
  padding-bottom: 26px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(250px, 1.1fr) minmax(520px, 1.9fr);
  gap: 70px;
  padding-bottom: 48px;
}
.footer-brand {
  max-width: 390px;
}
.footer-logo img {
  display: block;
  width: auto;
  height: 58px;
  margin-bottom: 20px;
}
.footer-brand > p {
  max-width: 360px;
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 13.5px;
  line-height: 1.7;
}
.footer-nav-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.footer-col h5 {
  margin: 0 0 17px;
  color: #f1d39d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 10px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.5;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.11);
  color: rgba(255,255,255,.42);
  font-size: 11px;
  line-height: 1.5;
}
.footer-bottom a {
  color: rgba(255,255,255,.62);
}

/* Tablet */
@media (max-width: 980px) {
  .section-soft > .container {
    gap: 44px;
  }
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .apt-lock-icon {
    width: 42px;
    height: 42px;
  }
  .apt-locked span {
    font-size: 13px;
  }

  .section-soft {
    padding: 66px 0 74px;
  }
  .section-soft > .container {
    gap: 42px;
  }
  .section-soft .section-head h2 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .feature-row.reverse .feature-media,
  .feature-row.reverse .feature-text {
    order: initial;
  }
  .feature-media {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }
  .feature-text {
    padding: 0 2px 12px;
  }
  .feature-text h3 {
    font-size: 1.35rem;
  }
  .feature-text p {
    font-size: 14px;
    line-height: 1.7;
  }

  .section-dark {
    padding: 68px 0;
  }
  .section-dark .section-head {
    margin-bottom: 30px;
  }
  .section-dark .section-head h2 {
    font-size: clamp(2.2rem, 10.5vw, 3.1rem);
  }
  .diff-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .diff-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 16px;
    padding: 20px;
  }
  .diff-icon {
    grid-row: 1 / span 2;
    margin: 0;
  }
  .diff-item h4 {
    align-self: end;
    margin-bottom: 4px;
    font-size: 14px;
  }
  .diff-item p {
    font-size: 13px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer .container {
    padding-top: 48px;
  }
  .footer-top {
    gap: 36px;
    padding-bottom: 34px;
  }
  .footer-logo img {
    height: 52px;
  }
  .footer-nav-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }
  .footer-nav-wrap .footer-col:last-child {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 390px) {
  .footer-nav-wrap {
    grid-template-columns: 1fr;
  }
  .footer-nav-wrap .footer-col:last-child {
    grid-column: auto;
  }
}


/* ============================================================
   PRIVACIDADE / LGPD
   Página institucional discreta, acessível somente pelo rodapé.
   ============================================================ */
.footer-legal-link {
  margin-left: 8px;
  color: rgba(255,255,255,.62) !important;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.22);
  text-underline-offset: 3px;
}
.footer-legal-link:hover {
  color: #fff !important;
}

.privacy-page {
  background: #f8f5f1;
  color: #4a3931;
}
.privacy-header {
  position: relative;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid rgba(74,57,49,.09);
}
.privacy-nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.privacy-brand img {
  display: block;
  height: 46px;
  width: auto;
}
.privacy-back {
  color: #4a3931;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
}
.privacy-hero {
  padding: clamp(70px, 8vw, 118px) 0 clamp(56px, 6vw, 86px);
  background: #efe8e0;
}
.privacy-hero-inner {
  max-width: 820px;
}
.privacy-hero h1 {
  margin: 10px 0 20px;
  color: #4a3931;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 500;
  line-height: .96;
}
.privacy-hero p {
  max-width: 700px;
  margin: 0 0 22px;
  color: #6f625b;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
}
.privacy-updated {
  color: #998981;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.privacy-content {
  padding: clamp(60px, 7vw, 100px) 0;
}
.privacy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: center;
  gap: clamp(46px, 7vw, 100px);
}
.privacy-index {
  position: sticky;
  top: 28px;
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(74,57,49,.09);
  border-radius: 16px;
  background: rgba(255,255,255,.7);
}
.privacy-index > span {
  margin-bottom: 5px;
  color: #ae8454;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.privacy-index a {
  color: #75665f;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.45;
}
.privacy-index a:hover {
  color: #3f302a;
}
.privacy-article {
  min-width: 0;
}
.privacy-article section {
  scroll-margin-top: 30px;
  padding: 0 0 40px;
  margin: 0 0 40px;
  border-bottom: 1px solid rgba(74,57,49,.10);
}
.privacy-article section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}
.privacy-article h2 {
  margin: 0 0 15px;
  color: #4a3931;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.privacy-article p {
  margin: 0 0 14px;
  color: #6b5e57;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.8;
}
.privacy-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 18px;
  border-radius: 999px;
  background: #4a3931;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 650;
}
.privacy-footer .container {
  padding-top: 28px;
}

@media (max-width: 820px) {
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .privacy-index {
    position: static;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px;
    scrollbar-width: none;
  }
  .privacy-index::-webkit-scrollbar { display: none; }
  .privacy-index > span { display: none; }
  .privacy-index a {
    flex: none;
    padding: 9px 12px;
    border-radius: 999px;
    background: #fff;
  }
}
@media (max-width: 720px) {
  .privacy-nav {
    min-height: 72px;
  }
  .privacy-brand img {
    height: 40px;
  }
  .privacy-hero {
    padding: 58px 0 48px;
  }
  .privacy-content {
    padding: 44px 0 62px;
  }
  .privacy-article section {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
  .privacy-article p {
    font-size: 14px;
    line-height: 1.75;
  }
}


/* ============================================================
   REFINO DE COMPOSIÇÃO · EIXO, RITMO E MOVIMENTO
   ============================================================ */
:root {
  --site-max: 1240px;
  --site-gutter: clamp(22px, 4vw, 52px);
}

.container {
  width: min(100% - (var(--site-gutter) * 2), var(--site-max));
  max-width: none;
  margin-inline: auto;
  padding-left: 0;
  padding-right: 0;
}

/* Header no mesmo eixo do conteúdo */
.site-header {
  left: 0;
  right: 0;
  width: 100%;
  padding: 0;
  transition: background .32s ease, box-shadow .32s ease, backdrop-filter .32s ease;
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.logo {
  position: relative;
  left: auto;
  top: auto;
  flex: none;
}
.logo img {
  height: 52px;
  width: auto;
}
.main-nav {
  position: static;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 34px);
  margin-left: auto;
}
.main-nav > a:not(.btn) {
  font-size: 13px;
  font-weight: 600;
}
.header-cta {
  padding: 11px 20px !important;
  white-space: nowrap;
}
.nav-toggle {
  position: static;
  flex: none;
}

.site-header.is-scrolled {
  background: rgba(250, 248, 245, .93);
  box-shadow: 0 8px 28px rgba(55, 42, 35, .07);
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled .main-nav > a:not(.btn) {
  color: var(--cocoa-dark);
}
.site-header.is-scrolled .logo-white {
  opacity: 0;
}
.site-header.is-scrolled .logo-cacau {
  opacity: 1;
}

/* Hero: menor, mais denso e alinhado */
.hero {
  min-height: 620px;
  height: min(76vh, 720px);
}
.hero-content {
  width: min(100% - (var(--site-gutter) * 2), var(--site-max));
  margin-inline: auto;
  padding: 0;
  transform: none;
}
.hero-content > * {
  max-width: 650px;
}
.hero-content h1 {
  max-width: 640px;
  font-size: clamp(3.25rem, 5.5vw, 5.9rem);
  line-height: .98;
}
.hero-content p {
  max-width: 570px;
  font-size: 16px;
  line-height: 1.65;
}
.hero-actions {
  margin-top: 26px;
}
.scroll-cue {
  bottom: 20px;
}

/* Filtros integrados, sem "andar" separado */
.buildings-strip {
  border-bottom: 1px solid rgba(74,57,49,.08);
}
.buildings-strip .container {
  min-height: 84px;
  display: flex;
  align-items: center;
}

/* Ritmo vertical mais controlado */
.section {
  padding-top: clamp(72px, 7vw, 104px);
  padding-bottom: clamp(72px, 7vw, 104px);
}
#apartamentos {
  padding-top: clamp(64px, 6vw, 88px);
}
#apartamentos .section-head {
  margin-bottom: 34px;
}
#apartamentos .section-head p {
  margin-top: 12px;
}
.apt-grid {
  gap: 34px 24px;
}

/* Seção soft: reduz vazio e mantém sensação editorial */
.section-soft {
  padding: clamp(78px, 7vw, 104px) 0;
}
.section-soft > .container {
  gap: 42px;
}
.section-soft .section-head {
  max-width: 650px;
}
.feature-row,
.feature-row.reverse {
  gap: clamp(30px, 4.5vw, 64px);
}
.feature-media {
  border-radius: 18px;
}

/* Diferenciais mais densos */
.section-dark {
  padding: clamp(78px, 7vw, 104px) 0;
}
.section-dark .section-head {
  margin-bottom: 38px;
}
.diff-grid {
  gap: 12px;
}
.diff-item {
  min-height: 210px;
  padding: 24px 22px;
}

/* CTA/footer no mesmo ritmo */
.cta-band {
  padding: clamp(54px, 5vw, 72px) 0;
}
.site-footer .container {
  padding-top: 52px;
}

/* Movimento sutil e progressivo */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .7s cubic-bezier(.2,.7,.2,1),
    transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-content [data-reveal]:nth-child(1) { transition-delay: .08s; }
.hero-content [data-reveal]:nth-child(2) { transition-delay: .16s; }
.hero-content [data-reveal]:nth-child(3) { transition-delay: .24s; }
.hero-content [data-reveal]:nth-child(4) { transition-delay: .32s; }

.apt-card[data-reveal]:nth-child(3n + 2),
.diff-item[data-reveal]:nth-child(2) {
  transition-delay: .08s;
}
.apt-card[data-reveal]:nth-child(3n),
.diff-item[data-reveal]:nth-child(3) {
  transition-delay: .15s;
}
.diff-item[data-reveal]:nth-child(4) {
  transition-delay: .22s;
}

.hero-media video {
  transform: scale(1.035);
  transition: transform 1.6s cubic-bezier(.2,.7,.2,1);
}
body.page-ready .hero-media video {
  transform: scale(1);
}
.feature-media img,
.apt-photo img {
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.feature-row:hover .feature-media img {
  transform: scale(1.025);
}

/* Mobile */
@media (max-width: 820px) {
  :root {
    --site-gutter: 20px;
  }

  .header-inner {
    min-height: 74px;
  }
  .logo img {
    height: 44px;
  }
  .main-nav {
    position: fixed;
  }

  .hero {
    min-height: 560px;
    height: min(78svh, 640px);
  }
  .hero-content h1 {
    font-size: clamp(2.7rem, 12vw, 4.15rem);
  }
  .hero-content p {
    max-width: 92%;
    font-size: 14.5px;
  }
  .hero-actions {
    gap: 10px;
    flex-wrap: wrap;
  }

  .buildings-strip .container {
    min-height: 70px;
  }

  .section,
  #apartamentos,
  .section-soft,
  .section-dark {
    padding-top: 62px;
    padding-bottom: 68px;
  }

  #apartamentos .section-head {
    margin-bottom: 26px;
  }

  .apt-grid {
    gap: 30px;
  }

  .section-soft > .container {
    gap: 34px;
  }

  .diff-item {
    min-height: 0;
  }

  [data-reveal] {
    transform: translateY(16px);
    transition-duration: .55s;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 530px;
  }
  .hero-content {
    padding-top: 44px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .buildings-strip {
    overflow-x: auto;
  }
}

/* Acessibilidade: respeita preferência por menos movimento */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-media video,
  .feature-media img,
  .apt-photo img {
    transform: none !important;
    transition: none !important;
  }
}


/* ============================================================
   HERO CORRIGIDO + FILTROS CENTRALIZADOS + NOVA EXPERIÊNCIA
   ============================================================ */

/* HERO: impede quebra e deslocamento visual */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 74px;
}
.hero-copy {
  width: min(100%, 650px);
}
.hero-copy > * {
  max-width: none;
}
.hero-copy h1 {
  width: 100%;
  max-width: 650px;
  margin: 12px 0 20px;
  font-size: clamp(3rem, 4.7vw, 5.2rem);
  line-height: .98;
  overflow-wrap: normal;
  word-break: normal;
}
.hero-copy p {
  width: min(100%, 560px);
  margin: 0;
}
.hero-copy .eyebrow {
  display: block;
}

/* Filtros centralizados */
.buildings-strip .container {
  justify-content: center;
}
.buildings-tabs,
.buildings-strip .container > div {
  justify-content: center;
}
.buildings-strip a:first-child {
  margin-left: 0;
}

/* NOVA SEÇÃO EXPERIÊNCIA */
.experience-section {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 7vw, 108px) 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(220,186,136,.13), transparent 28%),
    #f7f2ec;
}
.experience-shell {
  display: grid;
  gap: 44px;
}
.experience-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 42px 70px;
  align-items: end;
}
.experience-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -22px;
}
.experience-intro h2 {
  margin: 0;
  color: var(--cocoa-dark);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 4.6vw, 4.8rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.025em;
}
.experience-intro p {
  max-width: 470px;
  margin: 0 0 4px;
  color: #71645d;
  font-size: 15px;
  line-height: 1.75;
}

.experience-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
  gap: 22px;
  align-items: stretch;
}
.experience-main-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 24px;
  background: #ded3c7;
}
.experience-main-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.experience-showcase:hover .experience-main-media img {
  transform: scale(1.018);
}
.experience-main-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(38,28,23,.30));
}
.experience-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: rgba(45,34,29,.35);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  backdrop-filter: blur(10px);
}

.experience-side {
  display: grid;
  gap: 12px;
}
.experience-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 24px 26px;
  border: 1px solid rgba(74,57,49,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 12px 35px rgba(74,57,49,.045);
}
.experience-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #efe0c6;
  color: #7f6038;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.experience-card h3 {
  margin: 1px 0 8px;
  color: var(--cocoa-dark);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
}
.experience-card p {
  margin: 0;
  color: #756861;
  font-size: 13.5px;
  line-height: 1.65;
}

/* Desktop largo: mantém hero no eixo e sem "escapar" à esquerda */
@media (min-width: 1280px) {
  .hero-copy h1 {
    font-size: 5rem;
  }
}

/* Tablet */
@media (max-width: 980px) {
  .hero-copy {
    width: min(100%, 590px);
  }
  .hero-copy h1 {
    max-width: 590px;
    font-size: clamp(2.9rem, 7vw, 4.6rem);
  }

  .experience-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .experience-intro .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }
  .experience-intro p {
    max-width: 650px;
  }
  .experience-showcase {
    grid-template-columns: 1fr;
  }
  .experience-main-media {
    min-height: 430px;
  }
  .experience-side {
    grid-template-columns: repeat(3, 1fr);
  }
  .experience-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .hero-content {
    padding-top: 54px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 11.2vw, 3.85rem);
    line-height: .98;
  }
  .hero-copy p {
    width: 100%;
    max-width: 100%;
  }

  .buildings-strip .container {
    justify-content: center;
  }

  .experience-section {
    padding: 64px 0 72px;
  }
  .experience-shell {
    gap: 30px;
  }
  .experience-intro {
    gap: 14px;
  }
  .experience-intro h2 {
    font-size: clamp(2.3rem, 10vw, 3.25rem);
  }
  .experience-intro p {
    font-size: 14px;
  }
  .experience-showcase {
    gap: 16px;
  }
  .experience-main-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }
  .experience-side {
    grid-template-columns: 1fr;
  }
  .experience-card {
    grid-template-columns: 42px 1fr;
    gap: 15px;
    padding: 18px;
  }
  .experience-number {
    width: 38px;
    height: 38px;
  }
  .experience-card h3 {
    font-size: 15px;
  }
  .experience-card p {
    font-size: 13px;
  }
}

/* Telefones estreitos */
@media (max-width: 390px) {
  .hero-copy h1 {
    font-size: 2.45rem;
  }
}


/* ============================================================
   UX/UI · COMPOSIÇÃO MAIS EQUILIBRADA
   ============================================================ */
:root { --site-max: 1180px; }

/* Hero centralizado no desktop para eliminar grande vazio lateral */
.hero-content {
  justify-content: center;
  text-align: center;
}
.hero-copy-centered {
  width: min(100%, 820px);
  margin-inline: auto;
}
.hero-copy-centered .eyebrow {
  text-align: center;
}
.hero-copy-centered h1 {
  max-width: 820px;
  margin: 12px auto 20px;
  font-size: clamp(3.2rem, 5.1vw, 5.45rem);
  line-height: .98;
}
.hero-copy-centered p {
  width: min(100%, 620px);
  margin-inline: auto;
}
.hero-copy-centered .hero-actions {
  justify-content: center;
}

/* Cabeçalhos principais centralizados e com largura controlada */
.section-head-centered {
  width: min(100%, 820px);
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}
.section-head-centered p {
  margin-left: auto;
  margin-right: auto;
}
#apartamentos {
  padding-top: 56px;
}
#apartamentos .section-head {
  max-width: 820px;
  margin-bottom: 30px;
}
#apartamentos .section-head h2 {
  max-width: none;
}

/* Experiência sem coluna vazia no topo */
.experience-intro-centered {
  display: block;
  width: min(100%, 920px);
  margin-inline: auto;
  text-align: center;
}
.experience-intro-centered .eyebrow {
  display: block;
  margin: 0 0 14px;
}
.experience-intro-centered h2 {
  max-width: 920px;
  margin: 0 auto;
}
.experience-intro-centered p {
  max-width: 660px;
  margin: 20px auto 0;
}
.experience-shell {
  gap: 36px;
}
.experience-showcase {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}
.experience-main-media {
  min-height: 500px;
}

/* Diferenciais: contraste correto + título centralizado */
.section-dark .dark-head {
  max-width: 840px;
  margin-bottom: 34px;
}
.section-dark .dark-head .eyebrow {
  color: #f3d7a6 !important;
  opacity: 1 !important;
}
.section-dark .dark-head h2 {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.diff-grid {
  max-width: 1180px;
  margin-inline: auto;
}
.diff-item {
  min-height: 188px;
}

/* Nova seção de contato: não é mais uma faixa comprimida entre marrons */
.contact-section {
  position: relative;
  padding: clamp(72px, 7vw, 104px) 0;
  background: #f7f2ec;
}
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(40px, 5vw, 64px);
  border: 1px solid rgba(74,57,49,.09);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(232,198,145,.18), transparent 35%),
    #fff;
  box-shadow: 0 20px 55px rgba(74,57,49,.07);
}
.contact-copy .eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #a97942;
}
.contact-copy h2 {
  max-width: 700px;
  margin: 0;
  color: var(--cocoa-dark);
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.025em;
}
.contact-copy p {
  max-width: 660px;
  margin: 18px 0 0;
  color: #70635c;
  font-size: 14.5px;
  line-height: 1.75;
}
.contact-action {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
  padding-left: clamp(0px, 3vw, 28px);
  border-left: 1px solid rgba(74,57,49,.10);
}
.contact-mini {
  color: #8d7c72;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}
.contact-action .btn {
  min-width: 210px;
  justify-content: center;
}

/* Tablet */
@media (max-width: 980px) {
  .experience-showcase {
    grid-template-columns: 1fr;
    max-width: 900px;
  }
  .contact-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-action {
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid rgba(74,57,49,.10);
  }
}

/* Mobile: volta ao alinhamento à esquerda, mais natural para leitura */
@media (max-width: 720px) {
  .hero-content {
    justify-content: flex-start;
    text-align: left;
  }
  .hero-copy-centered {
    width: 100%;
    margin: 0;
  }
  .hero-copy-centered .eyebrow,
  .hero-copy-centered h1,
  .hero-copy-centered p {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .hero-copy-centered .hero-actions {
    justify-content: flex-start;
  }

  .section-head-centered,
  .experience-intro-centered,
  .section-dark .dark-head {
    text-align: left;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .experience-intro-centered h2,
  .experience-intro-centered p,
  .section-dark .dark-head h2 {
    margin-left: 0;
    margin-right: 0;
  }

  .contact-section {
    padding: 58px 0 68px;
  }
  .contact-card {
    padding: 28px 22px;
    border-radius: 20px;
  }
  .contact-copy h2 {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }
  .contact-action .btn {
    width: 100%;
    min-width: 0;
  }
}


/* ============================================================
   HERO · RITMO E ESPAÇAMENTO FINAL
   ============================================================ */

/* Altura controlada: espaço suficiente sem virar um bloco vazio */
.hero {
  min-height: 0;
  height: auto;
  padding: 0;
}

.hero-content {
  min-height: clamp(590px, 72vh, 700px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 108px;
  padding-bottom: 70px;
  text-align: center;
}

.hero-copy-centered {
  width: min(100%, 850px);
  margin-inline: auto;
}

/* Localização */
.hero-copy-centered .eyebrow {
  margin: 0 0 24px;
  color: #f0d199;
  font-size: 11px;
  letter-spacing: .18em;
}

/* Título principal com linhas deliberadas */
.hero-copy-centered h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  max-width: 850px;
  margin: 0 auto;
  font-size: clamp(3.15rem, 5vw, 5.15rem);
  line-height: .98;
  letter-spacing: -.035em;
}

.hero-line {
  display: block;
}

.hero-line-accent {
  margin-top: 8px;
  color: #e7bd74;
}

/* Descrição com respiro real do título */
.hero-copy-centered p {
  width: min(100%, 620px);
  margin: 30px auto 0;
  color: rgba(255,255,255,.90);
  font-size: 15.5px;
  line-height: 1.7;
}

/* Botões */
.hero-copy-centered .hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

/* Garante que filtros não encostem visualmente no hero */
.buildings-strip {
  margin-top: 0;
  background: #fff;
}
.buildings-strip .container {
  min-height: 92px;
}

/* Header ligeiramente mais respirado */
.header-inner {
  min-height: 92px;
}

/* Desktop muito largo */
@media (min-width: 1440px) {
  .hero-content {
    min-height: 680px;
    padding-top: 116px;
    padding-bottom: 78px;
  }
}

/* Tablet */
@media (max-width: 980px) {
  .hero-content {
    min-height: 620px;
    padding-top: 96px;
    padding-bottom: 62px;
  }

  .hero-copy-centered {
    width: min(100%, 720px);
  }

  .hero-copy-centered h1 {
    max-width: 720px;
    font-size: clamp(2.9rem, 7vw, 4.5rem);
  }

  .hero-copy-centered p {
    margin-top: 26px;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .header-inner {
    min-height: 74px;
  }

  .hero-content {
    min-height: 0;
    padding-top: 112px;
    padding-bottom: 54px;
    text-align: left;
  }

  .hero-copy-centered,
  .hero-copy-centered h1,
  .hero-copy-centered p {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy-centered h1 {
    align-items: flex-start;
    gap: 0;
    font-size: clamp(2.55rem, 11vw, 3.6rem);
    line-height: .98;
  }

  .hero-line-accent {
    margin-top: 6px;
  }

  .hero-copy-centered .eyebrow {
    margin-bottom: 18px;
  }

  .hero-copy-centered p {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-copy-centered .hero-actions {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 24px;
  }

  .buildings-strip .container {
    min-height: 76px;
  }
}

/* Telefones estreitos */
@media (max-width: 420px) {
  .hero-content {
    padding-top: 104px;
    padding-bottom: 48px;
  }

  .hero-copy-centered h1 {
    font-size: clamp(2.35rem, 11.2vw, 3.1rem);
  }

  .hero-copy-centered .hero-actions {
    flex-direction: column;
  }

  .hero-copy-centered .hero-actions .btn {
    width: 100%;
  }
}


/* ============================================================
   HEADER PÚBLICO UNIFICADO · HOME + INTERNAS
   ============================================================ */

/* O mesmo componente é usado em todas as páginas públicas */
.public-header,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Interna do apartamento: header inicia sobre o hero */
body:not(.privacy-page) .public-header {
  background: linear-gradient(180deg, rgba(35,27,23,.38), rgba(35,27,23,0));
}

/* Ao rolar, comportamento idêntico ao da home */
.public-header.is-scrolled {
  background: rgba(250,248,245,.94) !important;
  box-shadow: 0 8px 28px rgba(55,42,35,.07);
  backdrop-filter: blur(14px);
}
.public-header.is-scrolled .main-nav > a:not(.btn) {
  color: var(--cocoa-dark);
}
.public-header.is-scrolled .logo-white {
  opacity: 0;
}
.public-header.is-scrolled .logo-cacau {
  opacity: 1;
}

/* Privacidade não tem hero escuro: header claro desde o início */
.privacy-page .public-header {
  position: sticky;
  background: rgba(250,248,245,.97);
  border-bottom: 1px solid rgba(74,57,49,.08);
  box-shadow: none;
  backdrop-filter: blur(12px);
}
.privacy-page .public-header .logo-white {
  opacity: 0;
}
.privacy-page .public-header .logo-cacau {
  opacity: 1;
}
.privacy-page .public-header .main-nav > a:not(.btn) {
  color: var(--cocoa-dark);
}

/* Remove antigo header específico da política */
.privacy-header,
.privacy-nav,
.privacy-brand,
.privacy-back {
  all: unset;
}

/* A página interna precisa reservar o header sem criar outro eixo */
.apartment-page .site-header,
.apartment-page .public-header {
  width: 100%;
}

/* Mobile idêntico em todas as páginas */
@media (max-width: 820px) {
  .public-header .header-inner {
    min-height: 74px;
  }

  .public-header .main-nav {
    top: 74px;
  }

  .privacy-page .public-header {
    position: sticky;
  }
}


/* ============================================================
   HERO · ÁREA ÚTIL EXPANDIDA
   Ocupa a região visual central do banner sem amontoar conteúdo.
   ============================================================ */

.hero {
  min-height: 650px;
  height: min(78vh, 760px);
  padding: 0;
}

.hero-content {
  height: 100%;
  min-height: inherit;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding-top: 108px;
  padding-bottom: 46px;
  text-align: center;
}

.hero-copy-expanded {
  width: min(100%, 1080px);
  min-height: 490px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.hero-heading-group,
.hero-bottom-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-heading-group {
  padding-top: 4px;
}

.hero-heading-group .eyebrow {
  margin: 0 0 18px;
  color: #f0d199;
  font-size: 11px;
  letter-spacing: .18em;
}

.hero-copy-expanded h1 {
  width: min(100%, 980px);
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-size: clamp(3.1rem, 4.75vw, 5rem);
  line-height: .96;
  letter-spacing: -.035em;
}

.hero-copy-expanded .hero-line {
  display: block;
}

.hero-copy-expanded .hero-line-accent {
  margin-top: 10px;
  color: #e7bd74;
}

.hero-bottom-group {
  padding-bottom: 2px;
}

.hero-bottom-group p {
  width: min(100%, 660px);
  margin: 0 auto;
  color: rgba(255,255,255,.91);
  font-size: 15.5px;
  line-height: 1.7;
}

.hero-bottom-group .hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

/* A transição para os filtros fica próxima, mas não grudada. */
.buildings-strip .container {
  min-height: 82px;
}

/* Desktop baixo: evita que o hero exceda a viewport. */
@media (min-width: 981px) and (max-height: 760px) {
  .hero {
    min-height: 610px;
    height: 690px;
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 38px;
  }

  .hero-copy-expanded {
    min-height: 455px;
  }

  .hero-copy-expanded h1 {
    font-size: clamp(3rem, 4.45vw, 4.65rem);
  }
}

/* Tablet */
@media (max-width: 980px) {
  .hero {
    min-height: 610px;
    height: auto;
  }

  .hero-content {
    min-height: 610px;
    padding-top: 102px;
    padding-bottom: 44px;
  }

  .hero-copy-expanded {
    width: min(100%, 760px);
    min-height: 450px;
  }

  .hero-copy-expanded h1 {
    width: 100%;
    font-size: clamp(2.8rem, 7vw, 4.35rem);
  }
}

/* Mobile: leitura volta à esquerda e o espaço é reduzido. */
@media (max-width: 720px) {
  .hero {
    min-height: 0;
    height: auto;
  }

  .hero-content {
    min-height: 0;
    padding-top: 112px;
    padding-bottom: 50px;
    text-align: left;
  }

  .hero-copy-expanded {
    width: 100%;
    min-height: 0;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .hero-heading-group,
  .hero-bottom-group {
    align-items: flex-start;
  }

  .hero-heading-group .eyebrow {
    margin-bottom: 18px;
  }

  .hero-copy-expanded h1 {
    width: 100%;
    align-items: flex-start;
    font-size: clamp(2.45rem, 10.8vw, 3.55rem);
    line-height: .98;
  }

  .hero-copy-expanded .hero-line-accent {
    margin-top: 6px;
  }

  .hero-bottom-group {
    margin-top: 30px;
  }

  .hero-bottom-group p {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-bottom-group .hero-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 22px;
  }

  .buildings-strip .container {
    min-height: 74px;
  }
}

@media (max-width: 420px) {
  .hero-content {
    padding-top: 104px;
    padding-bottom: 44px;
  }

  .hero-copy-expanded h1 {
    font-size: clamp(2.25rem, 10.8vw, 3rem);
  }

  .hero-bottom-group {
    margin-top: 26px;
  }

  .hero-bottom-group .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-bottom-group .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ============================================================
   HOME HERO · COMPOSIÇÃO EM 2 LINHAS
   ============================================================ */
.hero-copy-expanded {
  width: min(100%, 1160px);
  min-height: 475px;
}

.hero-copy-expanded h1 {
  width: min(100%, 1140px);
  max-width: 1140px;
  font-size: clamp(3.05rem, 4.25vw, 4.55rem);
  line-height: .98;
}

.hero-copy-expanded .hero-line-main {
  white-space: nowrap;
}

.hero-copy-expanded .hero-line-accent {
  margin-top: 14px;
}

.hero-heading-group .eyebrow {
  margin-bottom: 20px;
}

.hero-bottom-group p {
  max-width: 650px;
}

.hero-bottom-group .hero-actions {
  margin-top: 23px;
}

/* Em telas intermediárias preserva duas linhas enquanto houver espaço. */
@media (max-width: 1180px) and (min-width: 981px) {
  .hero-copy-expanded h1 {
    font-size: clamp(2.8rem, 4.15vw, 4rem);
  }
}

/* Tablet/mobile: libera a quebra natural para não estourar a tela. */
@media (max-width: 980px) {
  .hero-copy-expanded .hero-line-main {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .hero-copy-expanded {
    min-height: 0;
  }
}


/* HERO · aproxima título do bloco inferior */
@media (min-width: 981px) {
  .hero-copy-expanded {
    justify-content: flex-start;
  }

  .hero-bottom-group {
    margin-top: clamp(42px, 5.2vh, 58px);
  }
}


/* ============================================================
   HOME · HERO COM VÍDEO DA CLIENTE
   ============================================================ */

/* O vídeo final já é 16:9; mantém preenchimento consistente. */
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Overlay pensado para manter o texto legível sobre cenas claras. */
.hero-media::after {
  background:
    linear-gradient(180deg, rgba(34,25,21,.34) 0%, rgba(34,25,21,.30) 36%, rgba(34,25,21,.58) 100%),
    linear-gradient(90deg, rgba(33,24,20,.18), rgba(33,24,20,.10), rgba(33,24,20,.18));
}

/* Desce o bloco inteiro sem alterar o alinhamento do menu. */
@media (min-width: 981px) {
  .hero-copy-expanded {
    transform: translateY(28px);
  }
}

/* Tablet recebe deslocamento menor. */
@media (min-width: 721px) and (max-width: 980px) {
  .hero-copy-expanded {
    transform: translateY(16px);
  }
}

@media (max-width: 720px) {
  .hero-copy-expanded {
    transform: none;
  }
}

/* ============================================================
   INTERNA · TIPOGRAFIA FUNCIONAL CLEAN
   Serifada fica reservada ao hero/banner.
   ============================================================ */

.detail-content-section {
  padding-top: 60px !important;
}

/* Conteúdo principal passa a usar somente a fonte de leitura. */
.detail-content-section,
.detail-content-section p,
.detail-content-section li,
.detail-content-section a,
.detail-content-section span {
  font-family: var(--font-body);
}

.detail-intro .eyebrow {
  font-family: var(--font-body);
  color: #987c6d;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.detail-intro h2 {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.detail-description {
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
}

/* Especificações sem numerais editoriais antigos. */
.detail-spec .num {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.detail-spec .label {
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 500;
}

.amenities-block h3 {
  font-family: var(--font-body);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -.025em;
}

/* Card lateral segue a mesma linguagem do conteúdo. */
.booking-card .key-tag {
  transform: none;
  padding: 7px 10px;
  background: #f6efe6;
  color: #806b60;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  box-shadow: none;
}

.booking-card h3 {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.booking-card p {
  font-family: var(--font-body);
}

/* Breadcrumb removido: evita espaço residual de regras antigas. */
.breadcrumb {
  display: none !important;
}

/* Mobile */
@media (max-width: 640px) {
  .detail-content-section {
    padding-top: 48px !important;
  }

  .detail-intro h2 {
    font-size: 1.85rem;
  }

  .detail-description {
    font-size: .94rem;
  }
}


/* ============================================================
   HOME · OVERLAY MAIS FORTE SOBRE O VÍDEO
   ============================================================ */
.hero-media::after {
  background:
    linear-gradient(
      180deg,
      rgba(28,20,17,.52) 0%,
      rgba(28,20,17,.44) 34%,
      rgba(28,20,17,.58) 68%,
      rgba(28,20,17,.76) 100%
    ),
    linear-gradient(
      90deg,
      rgba(26,19,16,.30) 0%,
      rgba(26,19,16,.18) 50%,
      rgba(26,19,16,.30) 100%
    );
}


/* ============================================================
   INTERNA · INFORMAÇÕES BÁSICAS COM ÍCONES
   ============================================================ */
.detail-specs-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin: 38px 0 46px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.detail-specs-icons .detail-spec {
  min-height: 96px;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fbf8f4;
  border: 1px solid rgba(74,57,49,.10);
  border-radius: 16px;
}

.detail-spec-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f2e5d1;
  color: #8a6339;
}

.detail-spec-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-spec-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-specs-icons .detail-spec .num {
  display: block;
  margin: 0;
  color: var(--cocoa-dark);
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1;
}

.detail-specs-icons .detail-spec .label {
  display: block;
  margin: 0;
  color: rgba(42,33,29,.64);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .detail-specs-icons {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 30px 0 38px;
  }

  .detail-specs-icons .detail-spec {
    min-height: 82px;
    padding: 15px 16px;
  }

  .detail-spec-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .detail-spec-icon svg {
    width: 19px;
    height: 19px;
  }
}


/* ============================================================
   INTERNA · DESTAQUES DA UNIDADE
   Sem bloco externo: cada informação funciona como peça própria.
   ============================================================ */

/* Neutraliza completamente o "container dentro de container" antigo */
.detail-specs,
.detail-specs-icons {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)) !important;
  gap: 12px !important;
  margin: 38px 0 44px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
}

/* Cada informação vira um destaque independente */
.detail-specs-icons .detail-spec,
.detail-specs .detail-spec {
  position: relative;
  min-height: 118px !important;
  padding: 20px 18px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  flex-direction: column !important;
  gap: 18px !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(225,188,129,.16), transparent 42%),
    #fbf8f4 !important;
  border: 1px solid rgba(74,57,49,.09) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(74,57,49,.045) !important;
}

/* pequeno detalhe editorial no topo direito */
.detail-specs-icons .detail-spec::after,
.detail-specs .detail-spec::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 54px;
  border-radius: 0 18px 0 54px;
  background: rgba(225,188,129,.10);
  pointer-events: none;
}

.detail-spec-icon {
  position: relative;
  z-index: 1;
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 40px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 12px !important;
  background: #f1e3ce !important;
  color: #805d38 !important;
}

.detail-spec-icon svg {
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  stroke-width: 1.7 !important;
}

.detail-spec-content {
  position: relative;
  z-index: 1;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.detail-specs-icons .detail-spec .num,
.detail-specs .detail-spec .num {
  margin: 0 !important;
  color: var(--cocoa-dark) !important;
  font-family: var(--font-body) !important;
  font-size: 1.55rem !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  letter-spacing: -.025em !important;
}

.detail-specs-icons .detail-spec .label,
.detail-specs .detail-spec .label {
  margin: 0 !important;
  color: rgba(42,33,29,.60) !important;
  font-family: var(--font-body) !important;
  font-size: .77rem !important;
  font-weight: 550 !important;
  line-height: 1.3 !important;
}

/* Comodidades: estacionamento com ícone de carro */
.amenity-list li {
  align-items: center;
}

.amenity-icon {
  background: #f7eddd;
  color: #8d6840;
}

@media (max-width: 780px) {
  .detail-specs,
  .detail-specs-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .detail-specs,
  .detail-specs-icons {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    margin: 30px 0 38px !important;
  }

  .detail-specs-icons .detail-spec,
  .detail-specs .detail-spec {
    min-height: 92px !important;
    padding: 15px 16px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
  }

  .detail-spec-icon {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
  }

  .detail-specs-icons .detail-spec .num,
  .detail-specs .detail-spec .num {
    font-size: 1.3rem !important;
  }
}

/* ============================================================
   MOBILE FINAL · HEADER / HERO / FILTROS / INTERNA
   ============================================================ */

/* Corrige as três listras que ocupavam a tela inteira. */
.nav-toggle {
  position: relative !important;
  width: 30px;
  height: 24px;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  width: 24px;
  left: 3px;
}

/* Airbnb — segunda opção de reserva, somente quando cadastrada. */
.booking-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.booking-actions .btn {
  margin-top: 0 !important;
}
.btn-airbnb {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(74,57,49,.14);
  background: #fff;
  color: var(--cocoa-dark);
  box-shadow: none;
}
.btn-airbnb:hover {
  background: #f8f3ed;
  border-color: rgba(74,57,49,.24);
  transform: translateY(-1px);
}
.booking-action-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}
.booking-action-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.booking-external {
  font-size: .9rem;
  opacity: .62;
}
.booking-platform-note {
  margin: 0 !important;
  color: rgba(42,33,29,.50) !important;
  font-size: .68rem !important;
  line-height: 1.45 !important;
  text-align: center;
}

/* Trilho interno para centralizar os prédios quando cabem na tela. */
.buildings-strip .container {
  overflow-x: auto;
  scrollbar-width: none;
}
.buildings-strip .container::-webkit-scrollbar { display: none; }
.buildings-tabs {
  width: max-content;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-inline: auto;
}

@media (max-width: 820px) {
  /* Header realmente contido no eixo da tela. */
  .site-header,
  .public-header {
    padding: 0 !important;
  }
  .site-header .header-inner,
  .public-header .header-inner {
    position: relative;
    width: calc(100% - 32px);
    min-height: 78px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .site-header .logo,
  .public-header .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
  .site-header .logo img,
  .public-header .logo img {
    height: 48px;
    max-width: 150px;
  }
  .site-header .nav-toggle,
  .public-header .nav-toggle {
    display: block;
    position: absolute !important;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 40;
  }
  .site-header .main-nav,
  .public-header .main-nav {
    top: 0;
    padding-top: 92px;
  }

  /* HOME: tudo centralizado no mobile. */
  .hero-content {
    width: calc(100% - 36px);
    margin-inline: auto;
    padding: 108px 0 48px;
    text-align: center !important;
  }
  .hero-copy-expanded,
  .hero-heading-group,
  .hero-bottom-group {
    width: 100%;
    align-items: center !important;
    text-align: center !important;
  }
  .hero-copy-expanded h1 {
    width: 100%;
    max-width: 650px;
    align-items: center !important;
    margin-inline: auto;
    text-align: center !important;
    font-size: clamp(2.45rem, 10.2vw, 3.45rem);
  }
  .hero-copy-expanded .hero-line,
  .hero-heading-group .eyebrow,
  .hero-bottom-group p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-bottom-group {
    margin-top: 28px;
  }
  .hero-bottom-group p {
    max-width: 520px;
  }
  .hero-bottom-group .hero-actions {
    width: min(100%, 360px);
    margin: 22px auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
    justify-content: center !important;
  }
  .hero-bottom-group .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Filtros centralizados; se houver muitos, continuam roláveis. */
  .buildings-strip {
    padding: 10px 0 8px;
  }
  .buildings-strip .container {
    width: 100%;
    padding: 0 14px;
    min-height: 78px;
  }
  .buildings-tabs {
    gap: 16px;
    padding-inline: 4px;
  }
  .buildings-tabs .pill {
    padding: 5px 8px 10px;
    font-size: 11.5px;
    white-space: nowrap;
  }

  /* INTERNA: hero menor, conteúdo mais alto e completamente centralizado. */
  .detail-hero {
    height: 430px !important;
    min-height: 430px !important;
  }
  .detail-hero .detail-hero-content {
    width: calc(100% - 36px) !important;
    height: 100%;
    margin-inline: auto;
    padding: 82px 0 20px !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .detail-hero-copy {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
    align-items: center !important;
    text-align: center !important;
  }
  .detail-hero-copy .eyebrow,
  .detail-hero-copy h1,
  .detail-hero .hero-summary {
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
  .detail-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10.7vw, 3.15rem) !important;
  }
  .detail-hero .hero-summary {
    max-width: 560px;
    margin-top: 10px !important;
    font-size: .92rem !important;
    line-height: 1.45 !important;
  }
  .detail-hero .hero-specs {
    width: 100%;
    justify-content: center !important;
    gap: 6px;
    margin-top: 15px !important;
  }
  .detail-hero .hero-spec {
    min-width: 0;
    padding: 6px 9px !important;
  }

  /* Galeria logo após o hero, também centralizada. */
  .gallery-section {
    padding-top: 30px !important;
  }
  .gallery-heading {
    padding: 0 20px !important;
    margin-bottom: 16px !important;
    text-align: center !important;
  }
  .gallery-heading > div,
  .gallery-heading h2,
  .gallery-heading p {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
}

@media (max-width: 430px) {
  .hero-content {
    width: calc(100% - 30px);
    padding-top: 104px;
  }
  .hero-copy-expanded h1 {
    font-size: clamp(2.25rem, 10.8vw, 3rem);
  }
  .buildings-tabs {
    gap: 10px;
  }
  .buildings-tabs .pill {
    padding-inline: 6px;
    font-size: 11px;
  }
  .detail-hero {
    height: 415px !important;
    min-height: 415px !important;
  }
  .detail-hero .detail-hero-content {
    width: calc(100% - 28px) !important;
    padding-top: 78px !important;
  }
  .detail-hero .hero-spec-copy span {
    font-size: .63rem;
  }
}

/* ============================================================
   ALINHAMENTO FINAL · HOME + INTERNA
   Uma única régua visual para header, hero, filtros e conteúdo.
   ============================================================ */

:root {
  --site-max: 1180px;
  --site-gutter: clamp(22px, 4vw, 48px);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.container,
.header-inner {
  width: min(calc(100% - (var(--site-gutter) * 2)), var(--site-max)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* HEADER: mesma régua do conteúdo, sem compensações laterais. */
.site-header .header-inner,
.public-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* HOME HERO */
.hero {
  width: 100%;
  overflow: hidden;
}

.hero-content {
  width: min(calc(100% - (var(--site-gutter) * 2)), var(--site-max)) !important;
  margin-inline: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: flex !important;
  justify-content: center !important;
  text-align: center !important;
}

.hero-copy-expanded {
  width: min(100%, 1080px) !important;
  max-width: 1080px !important;
  margin-inline: auto !important;
  transform: translateY(24px);
  align-items: center !important;
  text-align: center !important;
}

.hero-heading-group,
.hero-bottom-group {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-items: center !important;
  text-align: center !important;
}

.hero-heading-group .eyebrow {
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.hero-copy-expanded h1 {
  width: 100% !important;
  max-width: 1080px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-items: center !important;
  text-align: center !important;
  font-size: clamp(2.85rem, 4vw, 4.15rem) !important;
  line-height: .98 !important;
}

.hero-copy-expanded .hero-line {
  width: 100%;
  text-align: center !important;
}

/* Mantém duas linhas no desktop sem permitir que o texto saia da viewport. */
.hero-copy-expanded .hero-line-main {
  white-space: nowrap !important;
}

.hero-bottom-group {
  margin-top: clamp(38px, 5vh, 54px) !important;
}

.hero-bottom-group p {
  width: min(100%, 650px) !important;
  max-width: 650px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.hero-bottom-group .hero-actions {
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
}

/* FILTROS: centro real no mesmo eixo do site. */
.buildings-strip {
  width: 100%;
}

.buildings-strip .container {
  width: min(calc(100% - (var(--site-gutter) * 2)), var(--site-max)) !important;
  margin-inline: auto !important;
  padding: 0 !important;
  justify-content: center !important;
  overflow-x: auto;
}

.buildings-tabs {
  width: max-content !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  justify-content: center !important;
}

/* Cabeçalhos de seção realmente no centro da régua. */
.section-head-centered,
.experience-intro-centered,
.section-dark .dark-head {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* INTERNA: segue exatamente a mesma régua. */
.detail-hero .detail-hero-content,
.detail-content-section > .container,
.gallery-heading,
.property-gallery {
  width: min(calc(100% - (var(--site-gutter) * 2)), var(--site-max)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Telas intermediárias: reduz tipografia antes que o nowrap possa estourar. */
@media (max-width: 1220px) and (min-width: 821px) {
  .hero-copy-expanded {
    width: min(100%, 980px) !important;
    max-width: 980px !important;
  }

  .hero-copy-expanded h1 {
    max-width: 980px !important;
    font-size: clamp(2.65rem, 3.75vw, 3.65rem) !important;
  }
}

@media (max-width: 820px) {
  :root {
    --site-gutter: 18px;
  }

  /* Header mobile: logo no centro geométrico, menu à direita. */
  .site-header .header-inner,
  .public-header .header-inner {
    width: calc(100% - 36px) !important;
    min-height: 76px !important;
    margin-inline: auto !important;
    position: relative;
    justify-content: center !important;
  }

  .site-header .logo,
  .public-header .logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
  }

  .site-header .nav-toggle,
  .public-header .nav-toggle {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  /* HERO MOBILE: sem nenhum deslocamento residual. */
  .hero-content {
    width: calc(100% - 36px) !important;
    margin-inline: auto !important;
    padding: 104px 0 48px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero-copy-expanded {
    width: 100% !important;
    max-width: 620px !important;
    margin-inline: auto !important;
    transform: none !important;
    align-items: center !important;
    text-align: center !important;
  }

  .hero-heading-group,
  .hero-bottom-group {
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }

  .hero-copy-expanded h1 {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    align-items: center !important;
    text-align: center !important;
    font-size: clamp(2.25rem, 9.8vw, 3.15rem) !important;
    line-height: .99 !important;
  }

  .hero-copy-expanded .hero-line-main {
    white-space: normal !important;
  }

  .hero-copy-expanded .hero-line,
  .hero-heading-group .eyebrow,
  .hero-bottom-group p {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .hero-bottom-group {
    margin-top: 28px !important;
  }

  .hero-bottom-group p {
    max-width: 520px !important;
  }

  .hero-bottom-group .hero-actions {
    width: min(100%, 360px) !important;
    margin: 22px auto 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .hero-bottom-group .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Filtros mobile: centralizados quando cabem; scroll só se necessário. */
  .buildings-strip .container {
    width: 100% !important;
    padding: 0 14px !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
  }

  .buildings-tabs {
    min-width: 100% !important;
    width: max-content !important;
    margin-inline: auto !important;
    justify-content: center !important;
    padding-inline: 0 !important;
  }

  /* Interna mobile no centro geométrico. */
  .detail-hero .detail-hero-content {
    width: calc(100% - 36px) !important;
    margin-inline: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
  }

  .detail-hero-copy,
  .detail-hero-copy .eyebrow,
  .detail-hero-copy h1,
  .detail-hero .hero-summary {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    align-items: center !important;
  }

  .detail-hero .hero-specs {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .gallery-heading {
    width: calc(100% - 36px) !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .gallery-heading > div,
  .gallery-heading h2,
  .gallery-heading p {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
}

@media (max-width: 430px) {
  .hero-content,
  .detail-hero .detail-hero-content,
  .gallery-heading {
    width: calc(100% - 28px) !important;
  }

  .hero-copy-expanded h1 {
    font-size: clamp(2.1rem, 9.7vw, 2.8rem) !important;
  }
}


/* ============================================================
   HERO · CENTRALIZAÇÃO ÓPTICA FINAL
   ============================================================ */
@media (min-width: 821px) {
  .hero-content {
    width: 100% !important;
    max-width: none !important;
    padding-left: var(--site-gutter) !important;
    padding-right: var(--site-gutter) !important;
    box-sizing: border-box !important;
  }

  .hero-copy-expanded {
    width: min(900px, calc(100vw - (var(--site-gutter) * 2))) !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: translateY(24px) !important;
  }

  .hero-heading-group,
  .hero-bottom-group,
  .hero-copy-expanded h1 {
    width: 100% !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .hero-copy-expanded h1 {
    display: block !important;
    font-size: clamp(3rem, 4.1vw, 4.2rem) !important;
    line-height: .98 !important;
  }

  .hero-copy-expanded .hero-line {
    display: block !important;
    width: auto !important;
    white-space: nowrap !important;
    text-align: center !important;
  }

  .hero-copy-expanded .hero-line + .hero-line {
    margin-top: 10px !important;
  }

  .hero-copy-expanded .hero-line-accent {
    display: inline !important;
    width: auto !important;
    margin: 0 0 0 .10em !important;
  }

  .hero-bottom-group {
    margin-top: 44px !important;
  }
}

@media (max-width: 820px) {
  .hero-content {
    width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
  }

  .hero-copy-expanded,
  .hero-heading-group,
  .hero-bottom-group,
  .hero-copy-expanded h1 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .hero-copy-expanded h1 {
    display: block !important;
  }

  .hero-copy-expanded .hero-line {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .hero-copy-expanded .hero-line + .hero-line {
    margin-top: 6px !important;
  }

  .hero-copy-expanded .hero-line-accent {
    display: inline !important;
    width: auto !important;
    margin-left: .08em !important;
  }
}

/* ============================================================
   HERO · CENTRO GEOMÉTRICO DEFINITIVO
   Independente de containers/flex antigos.
   ============================================================ */
.hero {
  position: relative !important;
}

.hero-content {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  transform: none !important;
}

.hero-copy-expanded {
  position: absolute !important;
  left: 50% !important;
  top: 53% !important;
  width: min(900px, calc(100% - 96px)) !important;
  max-width: 900px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translate(-50%, -50%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
}

.hero-heading-group,
.hero-bottom-group,
.hero-copy-expanded h1,
.hero-copy-expanded .hero-line,
.hero-heading-group .eyebrow,
.hero-bottom-group p {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.hero-copy-expanded h1 {
  max-width: 900px !important;
  display: block !important;
}

.hero-copy-expanded .hero-line {
  display: block !important;
}

.hero-copy-expanded .hero-line-accent {
  display: inline !important;
  width: auto !important;
}

.hero-bottom-group {
  margin-top: 40px !important;
}

.hero-bottom-group p {
  max-width: 650px !important;
}

.hero-bottom-group .hero-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: auto !important;
  margin: 22px auto 0 !important;
}

@media (max-width: 980px) {
  .hero-copy-expanded {
    top: 53% !important;
    width: min(760px, calc(100% - 48px)) !important;
    max-width: 760px !important;
  }
}

@media (max-width: 820px) {
  .hero-copy-expanded {
    left: 50% !important;
    top: 53% !important;
    width: calc(100% - 36px) !important;
    max-width: 620px !important;
    transform: translate(-50%, -50%) !important;
  }

  .hero-heading-group,
  .hero-bottom-group,
  .hero-copy-expanded h1,
  .hero-copy-expanded .hero-line,
  .hero-heading-group .eyebrow,
  .hero-bottom-group p {
    text-align: center !important;
    align-items: center !important;
  }

  .hero-bottom-group {
    margin-top: 28px !important;
  }

  .hero-bottom-group .hero-actions {
    width: min(100%, 360px) !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 22px auto 0 !important;
  }

  .hero-bottom-group .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 430px) {
  .hero-copy-expanded {
    width: calc(100% - 28px) !important;
  }
}
