﻿.real-estate-section {
  padding: 90px 0;
  background: #fff;
}

.property-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.property-filters button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--soft);
  cursor: pointer;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.property-filters button:hover,
.property-filters button.active {
  color: #fff;
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.property-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.property-gallery {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}

.property-gallery > img,
.property-gallery > video {
  width: 100%;
  height: 310px;
  cursor: zoom-in;
  object-fit: cover;
  transition: transform 0.3s ease;
  background: #0b1720;
}

.property-gallery > img:hover,
.property-gallery > video:hover {
  transform: scale(1.025);
}

.property-arrow {
  position: absolute;
  z-index: 2;
  top: 44%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 22px rgba(28, 70, 101, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
}

.property-arrow-left {
  left: 14px;
}

.property-arrow-right {
  right: 14px;
}

.property-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: #fff;
}

.property-thumbs button {
  overflow: hidden;
  width: 74px;
  height: 54px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.property-thumbs button.active {
  border-color: var(--brand-dark);
}

.property-thumbs img,
.property-thumbs video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0b1720;
}

.property-content {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.property-status {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 8px;
  color: #0b2a40;
  background: var(--brand-soft);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.property-status.imovel-alugado,
.property-status.imovel-vendido {
  color: #5b2630;
  background: #ffe8ed;
}

.property-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.property-card p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.property-card p svg {
  width: 18px;
  min-width: 18px;
  color: var(--brand-dark);
}

.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.empty-properties {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--soft);
  font-weight: 700;
}

.property-lightbox {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 31, 48, 0.72);
  backdrop-filter: blur(8px);
}

.property-lightbox-frame {
  position: relative;
  width: min(80vw, 1100px);
  max-height: 80vh;
}

.property-lightbox-media {
  width: 100%;
  display: flex;
  justify-content: center;
}

.property-lightbox-media img,
.property-lightbox-media video {
  width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  object-fit: contain;
  background: #0b1720;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.property-lightbox-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
}

.property-lightbox-prev {
  left: 14px;
}

.property-lightbox-next {
  right: 14px;
}

.property-lightbox-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.property-lightbox-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.property-lightbox-dots button.active {
  width: 26px;
  background: var(--brand);
}

.property-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-weight: 900;
}


