/* ============================================================
   ALAMEDA IMÓVEIS — sistema de design
   Paleta: pedra clara + verde-pinho + latão fosco
   Tipografia: Fraunces (display) · Inter (texto) · IBM Plex Mono (dados)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
  --bg: #FAF9F5;
  --surface: #FFFFFF;
  --ink: #1C201D;
  --ink-soft: #5B6158;
  --line: #E2DED3;
  --accent: #415954;      /* verde-pinho — cor exata da logo */
  --accent-ink: #2C3C39;  /* variação escura, usada em textos e fundos */
  --brass: #B08A44;       /* latão fosco */
  --brass-soft: #EFE6D3;
  --danger: #A6432F;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 2px;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Utilidades tipográficas ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(36px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.4vw, 38px); }
h3 { font-size: 20px; }

.lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ---------- Marca "blueprint": cantos de enquadramento ---------- */

.bracket-frame {
  position: relative;
}
.bracket-frame::before,
.bracket-frame::after,
.bracket-frame .b-tr,
.bracket-frame .b-bl {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--brass);
  opacity: 0.9;
  pointer-events: none;
}
.bracket-frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.bracket-frame::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo span { color: var(--accent); }
.logo-mark {
  height: 38px;
  width: auto;
  border-radius: 4px;
  display: block;
}

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

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--brass);
}

.main-nav a.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-ink); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-whats { background: #25A160; color: #fff; }
.btn-whats:hover { background: #1E8750; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 86vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: url('hero.jpg') center/cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18,22,19,0.78) 0%, rgba(18,22,19,0.55) 45%, rgba(18,22,19,0.15) 75%, rgba(18,22,19,0) 100%),
    linear-gradient(180deg, rgba(20,24,21,0.25) 0%, rgba(20,24,21,0.15) 40%, rgba(18,22,19,0.85) 100%);
}
@media (max-width: 720px) {
  .hero-media::after {
    background: linear-gradient(180deg, rgba(18,22,19,0.6) 0%, rgba(18,22,19,0.6) 55%, rgba(18,22,19,0.88) 100%);
  }
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
  width: 100%;
}
.hero .eyebrow { color: var(--brass-soft); }
.hero h1 { color: #fff; margin: 14px 0 10px; max-width: 16ch; }
.hero .lede { color: rgba(255,255,255,0.82); }

/* Busca flutuante */
.search-card {
  background: var(--surface);
  margin-top: 40px;
  padding: 26px 26px 22px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr auto;
  gap: 16px;
  align-items: end;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field select, .field input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  padding: 12px 12px;
  font-size: 14px;
  font-family: var(--font-body);
  border-radius: var(--radius);
}
.field select:focus, .field input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* ---------- Seções gerais ---------- */

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--accent-ink); color: #fff; }
.section-dark .ink-soft-dark { color: rgba(255,255,255,0.7); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

/* ---------- Carrossel de destaques ---------- */

.carousel-wrap { position: relative; }

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-controls {
  display: flex;
  gap: 10px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-mono);
  transition: background 0.15s;
}
.carousel-btn:hover { background: var(--brass-soft); border-color: var(--brass); }

/* ---------- Card de imóvel ---------- */

.property-card {
  background: var(--surface);
  border: 1px solid var(--line);
  flex: 0 0 340px;
  scroll-snap-align: start;
}
.property-card.grid-card { flex: none; width: auto; }

.property-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.property-card:hover .property-media img { transform: scale(1.05); }

.property-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.property-tag {
  position: absolute;
  bottom: 14px; left: 14px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.property-body { padding: 20px; }
.property-price {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent-ink);
  margin-bottom: 6px;
}
.property-title { font-size: 17px; font-family: var(--font-body); font-weight: 600; margin-bottom: 4px; }
.property-loc { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }

.property-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.property-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.spec-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 4px;
  text-align: center;
}
.spec-ico {
  display: block;
  width: 16px; height: 16px;
  margin: 0 auto 6px;
  color: var(--brass);
}
.spec-ico svg { width: 100%; height: 100%; }
.spec-box b {
  display: block;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.1;
}
.spec-box small {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.property-agent {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 0 20px 16px;
}

.agent-line {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 6px 0 18px;
}

/* Grade de listagem */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ---------- Acordeão "Por que a Lozano" ---------- */

.why-accordion {
  border-top: 1px solid rgba(255,255,255,0.15);
}

.why-item {
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.why-item summary {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.why-item summary::-webkit-details-marker { display: none; }
.why-item summary::marker { content: ""; }

.why-num {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--brass-soft);
  opacity: 0.55;
  width: 44px;
  flex-shrink: 0;
}

.why-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  flex: 1;
  transition: opacity 0.2s;
}

.why-item:not([open]) .why-title { opacity: 0.7; }
.why-item:hover .why-title { opacity: 1; }

.why-toggle {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.why-toggle::before, .why-toggle::after {
  content: "";
  position: absolute;
  background: var(--brass);
  transition: transform 0.25s ease;
}
.why-toggle::before { top: 9px; left: 0; width: 20px; height: 2px; }
.why-toggle::after { top: 0; left: 9px; width: 2px; height: 20px; }
.why-item[open] .why-toggle::after { transform: rotate(90deg); }

.why-desc {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  max-width: 62ch;
  padding: 0 0 28px 68px;
}

@media (max-width: 720px) {
  .why-title { font-size: 18px; }
  .why-desc { padding-left: 0; margin-top: -6px; }
}

/* ---------- Conheça os corretores ---------- */

.agents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.agent-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 36px 32px 32px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.agent-watermark {
  position: absolute;
  top: -8px; left: 20px;
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 84px);
  font-weight: 500;
  color: var(--bg);
  text-shadow: 0 0 0 var(--line);
  -webkit-text-stroke: 1px var(--line);
  color: transparent;
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  letter-spacing: -0.02em;
}

.agent-photo {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}
.agent-photo img {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.agent-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}
.agent-avatar svg { width: 40px; height: 40px; }

.agent-info { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; }
.agent-info .btn { margin-top: auto; }
.agent-info h3 { margin-bottom: 4px; }
.agent-creci {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.agent-bio {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  max-width: 42ch;
}

@media (max-width: 720px) {
  .agents-grid { grid-template-columns: 1fr; }
}

/* ---------- Bairros ---------- */

.neigh-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.neigh-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  color: #fff;
}
.neigh-card img { width: 100%; height: 100%; object-fit: cover; }
.neigh-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%);
}
.neigh-name {
  position: absolute; bottom: 16px; left: 16px; z-index: 2;
  font-family: var(--font-display);
  font-size: 20px;
}

/* ---------- CTA final ---------- */

.cta-band {
  background: var(--accent);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 50ch; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; }

/* ---------- Filtros (página catálogo) ---------- */

.catalog-head { padding: 56px 0 32px; }

.filters-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.filters-bar .field.full { grid-column: 1 / -1; }

.results-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--ink-soft);
}
.empty-state h3 { font-family: var(--font-body); margin-bottom: 8px; color: var(--ink); }

/* ---------- Página de detalhe ---------- */

.property-hero-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 8px;
  height: 480px;
}
.property-hero-gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-side { display: grid; grid-template-rows: minmax(0,1fr) minmax(0,1fr); gap: 8px; min-height: 0; }

.detail-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 28px 0;
}
.detail-spec .k { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); display:block; margin-bottom: 6px; }
.detail-spec .v { font-family: var(--font-mono); font-size: 20px; color: var(--accent-ink); }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  position: sticky;
  top: 110px;
}
.contact-card .property-price { font-size: 24px; }
.contact-card form { margin-top: 20px; display: grid; gap: 12px; }
.contact-card input, .contact-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  border-radius: var(--radius);
  background: var(--bg);
}
.contact-card textarea { resize: vertical; min-height: 80px; }

/* ---------- Página de contato ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info-item .ico {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  color: var(--accent);
  flex-shrink: 0;
}
.big-form { display: grid; gap: 16px; }
.big-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.big-form label { display:block; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 8px; }
.big-form input, .big-form select, .big-form textarea {
  width: 100%; border: 1px solid var(--line); padding: 13px; font-family: var(--font-body); font-size: 14px; border-radius: var(--radius); background: var(--surface);
}
.big-form textarea { min-height: 130px; resize: vertical; }
.map-embed { border: 1px solid var(--line); height: 260px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-grid .logo { color: #fff; margin-bottom: 14px; }
.footer-logo-img { width: 96px; height: auto; margin-bottom: 16px; border-radius: 4px; }

.footer-newsletter { margin-top: 24px; }
.footer-newsletter h4 { margin-bottom: 6px; }
.footer-newsletter p { font-size: 13px; margin-bottom: 12px; }
.newsletter-form { display: flex; gap: 8px; max-width: 320px; }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 11px 12px;
  font-size: 13px;
  border-radius: var(--radius);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { outline: 1px solid var(--brass); }
.newsletter-form .btn { padding: 11px 18px; font-size: 13px; white-space: nowrap; }

.footer-regions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-regions h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 14px;
}
.footer-regions li { margin-bottom: 8px; font-size: 14px; }
.footer-regions a:hover { color: #fff; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  font-family: var(--font-mono);
}

/* ---------- WhatsApp flutuante ---------- */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  background: #25A160;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.whatsapp-float:hover { background: #1E8750; }

/* ---------- Responsivo ---------- */

@media (max-width: 980px) {
  .neigh-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .property-hero-gallery { grid-template-columns: 1fr; grid-template-rows: 320px 220px; height: auto; }
  .gallery-side { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0,1fr); }
  .filters-bar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 28px 20px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a.active::after { display: none; }
  .nav-cta { text-align: center; margin-top: 8px; border-bottom: none !important; }
  .nav-toggle { display: flex; }
  .search-card { grid-template-columns: 1fr; }
  .hero { height: auto; padding-top: 120px; }
  .neigh-grid { grid-template-columns: 1fr 1fr; }
  .detail-specs { grid-template-columns: repeat(2, 1fr); }
  .big-form .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .filters-bar { grid-template-columns: 1fr; }
  .footer-regions { grid-template-columns: 1fr 1fr; }
  .newsletter-form { max-width: none; }
  .newsletter-form { flex-direction: column; }
  .section { padding: 64px 0; }
}


/* -------- Galeria do imóvel: botões e visualizador -------- */
.property-hero-gallery { position: relative; }
.gallery-open {
  display: block; width: 100%; height: 100%; min-height: 0;
  padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden;
}
.gallery-open:focus-visible, .gallery-all:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.gallery-all {
  position: absolute; right: 16px; bottom: 16px;
  background: var(--surface); color: var(--accent-ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 16px; font: 500 14px var(--font-body); cursor: pointer;
}
.gallery-all:hover { background: var(--brass-soft); }

.price-extras { display: grid; gap: 4px; margin: 10px 0 0; font-size: 14px; color: var(--ink-soft); }
.price-extras div { display: flex; justify-content: space-between; gap: 12px; }
.price-extras dd { color: var(--ink); }

.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: #141A18;
  display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto;
  align-items: center;
  padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
}
.lightbox[hidden] { display: none; }
.lb-figure { grid-column: 2; margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 0 12px; min-height: 0; }
.lb-figure img { max-width: 100%; max-height: calc(100% - 28px); object-fit: contain; }
.lb-count { color: #E8E4DA; font: 13px var(--font-mono); margin-top: 10px; }
.lb-nav, .lb-close {
  background: none; border: 0; color: #fff; cursor: pointer;
  width: 48px; height: 48px; font-size: 34px; line-height: 1; justify-self: center;
}
.lb-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 8px); right: 12px; font-size: 24px; }
.lb-nav:hover, .lb-close:hover { color: var(--brass); }
.lb-nav:focus-visible, .lb-close:focus-visible, .lb-thumbs button:focus-visible { outline: 2px solid var(--brass); }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-thumbs {
  grid-column: 1 / -1; display: flex; gap: 6px; overflow-x: auto;
  padding: 10px 16px 16px; justify-content: safe center;
}
.lb-thumbs button { flex: 0 0 64px; height: 48px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .55; }
.lb-thumbs button.is-active { border-color: var(--brass); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 720px) {
  .lightbox { grid-template-columns: 40px 1fr 40px; }
  .gallery-all { right: 10px; bottom: 10px; padding: 8px 12px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.detail-spec .v-extra { display: block; font: 13px var(--font-body); color: var(--ink-soft); margin-top: 2px; }
.property-price .price-alt { display: block; font-size: 0.6em; color: var(--ink-soft); margin-top: 2px; }
.tour-btn { margin: 14px 0 4px; }

/* Vídeo do imóvel */
.videobox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(20, 24, 22, .92);
  display: flex; align-items: center; justify-content: center; padding: 56px 16px 24px;
}
.videobox[hidden] { display: none; }
.videobox video { width: 100%; max-width: 1100px; max-height: calc(100vh - 100px); background: #000; display: block; }

/* -------- Lançamentos e imóveis em construção -------- */
.fase-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--brass); color: #fff;
  font: 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 9px;
}
.ilustrativa-tag {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(28, 32, 29, .62); color: #fff;
  font: 10px var(--font-mono); letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 8px; pointer-events: none;
}
.gallery-open { position: relative; }
.price-from { display: block; font: 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; }
.property-card.is-novo .property-media { position: relative; }

.novo-h3 { margin: 40px 0 16px; }
.plantas-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.plantas-tabs button {
  background: none; border: 0; padding: 10px 0; cursor: pointer; white-space: nowrap;
  font: 15px var(--font-body); color: var(--ink-soft);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.plantas-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.plantas-tabs button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.planta-painel { display: grid; grid-template-columns: minmax(220px, 1fr) 1.4fr; gap: 28px; align-items: start; }
.planta-painel[hidden] { display: none; }
.planta-chip { display: inline-block; background: var(--brass-soft); color: var(--accent-ink); font: 12px var(--font-mono); padding: 4px 9px; margin-bottom: 12px; }
.planta-label { display: block; font-size: 13px; color: var(--ink-soft); }
.planta-preco { font-family: var(--font-display); font-size: 28px; color: var(--accent-ink); line-height: 1.15; }
.planta-m2 { display: block; font: 12px var(--font-mono); color: var(--ink-soft); margin-top: 2px; }
.planta-resumo { font-size: 14px; margin: 12px 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.planta-info ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.planta-img { position: relative; border: 1px solid var(--line); background: var(--surface); padding: 16px; }
.planta-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.planta-zoom img { width: 100%; display: block; }
.planta-zoom + .planta-legenda { margin-top: 16px; }
.planta-legenda { margin: 0 0 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.planta-vazia {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1px dashed var(--line); color: var(--ink-soft); font: 12px var(--font-mono); text-transform: uppercase; letter-spacing: .06em;
}
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); padding: 6px 12px; font-size: 13px; color: var(--ink); background: var(--surface); }
.chip-destaque { border-color: var(--brass); background: var(--brass-soft); color: var(--accent-ink); font-weight: 600; }
.projeto-lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0; }
.projeto-lista dt { font: 11px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.projeto-lista dd { margin: 4px 0 0; font-size: 15px; }
.fine-print { font-size: 12px; color: var(--ink-soft); margin-top: 18px; }
.section-link { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 900px) { .filters-bar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .planta-painel { grid-template-columns: 1fr; }
  .filters-bar { grid-template-columns: 1fr; }
}

.form-hint { font-size: 13px; color: var(--ink-soft); margin: 4px 0 10px; line-height: 1.45; }
