/* ==========================================================================
   Imobiliária Triângulo — Folha de Estilos Moderna e Responsiva
   Paleta: Azul-Marinho (#0B2C52), Dourado (#E5B80B), Fundo Claro (#F8FAFC)
   ========================================================================== */

:root {
  --navy-950: #061A33;
  --navy-900: #0B2C52;
  --navy-800: #133E70;
  --gold-500: #E5B80B;
  --gold-400: #F4CE2D;
  --gold-100: #FEF7D6;
  --emerald-600: #059669;
  --emerald-100: #D1FAE5;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DAE53;
  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --bg-page: #F8FAFC;
  --white: #FFFFFF;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 44, 82, 0.06);
  --shadow-md: 0 12px 30px rgba(11, 44, 82, 0.10);
  --shadow-lg: 0 24px 60px rgba(6, 26, 51, 0.24);
  --transition: 0.22s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--slate-900);
  background: var(--bg-page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  margin: 0;
  line-height: 1.2;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 6px 18px rgba(229, 184, 11, 0.28);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #F8D94E, #EAB909);
  box-shadow: 0 10px 24px rgba(229, 184, 11, 0.38);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
}

.btn-outline {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--slate-200);
}

.btn-outline:hover {
  border-color: var(--navy-900);
  background: var(--slate-100);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 44, 82, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}

.brand-logo {
  height: 50px;
  width: auto;
}

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

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-700);
  transition: color var(--transition);
}

.main-nav a:hover {
  color: var(--navy-900);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  background: var(--slate-100);
  transition: background var(--transition), color var(--transition);
}

.icon-btn:hover {
  background: var(--navy-900);
  color: var(--gold-400);
}

/* ==========================================================================
   Hero & Filtros
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 58%, #164479 100%);
  color: var(--white);
  padding: 58px 0 46px;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(244, 206, 45, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 12% 85%, rgba(244, 206, 45, 0.10) 0%, transparent 38%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: 18px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 800;
  max-width: 720px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  margin: 14px 0 26px;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.04rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.stat-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 16px;
  border-radius: 12px;
}

.stat-pill strong {
  font-size: 1.18rem;
  color: var(--gold-400);
}

.stat-pill span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Barra de Filtros */
.filter-bar {
  background: var(--white);
  color: var(--slate-900);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  border: none;
  background: var(--slate-100);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
}

.tab-btn:hover {
  background: var(--slate-200);
}

.tab-btn.active {
  background: var(--navy-900);
  color: var(--white);
}

.filter-inputs {
  display: grid;
  grid-template-columns: 2fr 1fr 1.1fr 1.1fr;
  gap: 10px;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group svg {
  position: absolute;
  left: 14px;
  color: var(--slate-500);
  pointer-events: none;
}

.filter-inputs input,
.filter-inputs select {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid var(--slate-200);
  background: var(--bg-page);
  padding: 0 14px;
  font-size: 0.92rem;
  color: var(--slate-900);
  font-family: inherit;
  transition: border-color var(--transition), background var(--transition);
}

.filter-inputs input {
  padding-left: 42px;
}

.filter-inputs input:focus,
.filter-inputs select:focus {
  outline: none;
  border-color: var(--navy-900);
  background: var(--white);
}

/* ==========================================================================
   Catálogo & Cards
   ========================================================================== */
.catalog-section {
  padding: 56px 0 72px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #B48400;
  margin-bottom: 6px;
}

.eyebrow-gold {
  color: var(--gold-400);
}

.section-header h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  color: var(--navy-900);
}

.results-counter {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.95rem;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 26px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(11, 44, 82, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.property-card:hover,
.property-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 44, 82, 0.22);
  outline: none;
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--slate-100);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.property-card:hover .card-media img {
  transform: scale(1.04);
}

.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.badge-locacao {
  background: var(--navy-900);
  color: var(--white);
}

.badge-venda {
  background: var(--gold-400);
  color: var(--navy-950);
}

.badge-status-disponivel {
  background: var(--emerald-600);
  color: var(--white);
}

.badge-status-locado,
.badge-status-vendido {
  background: #334155;
  color: var(--white);
}

.photo-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(6, 26, 51, 0.78);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Imóvel Locado ou Vendido (prova social) */
.property-card.is-closed .card-media img {
  filter: grayscale(40%) brightness(0.84);
}

.closed-ribbon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 26, 51, 0.25);
  pointer-events: none;
}

.closed-ribbon span {
  background: rgba(15, 23, 42, 0.90);
  color: var(--gold-400);
  border: 1.5px solid var(--gold-400);
  padding: 8px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 8px;
}

.property-type {
  font-weight: 700;
  color: var(--navy-800);
}

.card-title {
  font-size: 1.12rem;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.card-address {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--slate-600);
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-address svg {
  flex-shrink: 0;
  color: #B48400;
}

.card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--slate-700);
  font-weight: 500;
}

.card-specs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-specs svg {
  color: var(--navy-800);
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.price-label {
  display: block;
  font-size: 0.74rem;
  color: var(--slate-500);
}

.price-value {
  font-size: 1.32rem;
  color: var(--navy-900);
  font-weight: 800;
}

.price-value small {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-500);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--gold-100);
  transition: background var(--transition);
}

.property-card:hover .card-cta {
  background: var(--gold-400);
}

/* Estado Vazio */
.empty-state {
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 52px 24px;
  margin-top: 12px;
}

.empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.empty-state p {
  max-width: 460px;
  margin: 10px auto 22px;
  color: var(--slate-600);
}

.empty-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Banner CTA Proprietários
   ========================================================================== */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-900));
  color: var(--white);
  padding: 52px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  max-width: 620px;
}

.cta-inner p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 580px;
}

/* ==========================================================================
   Sobre a Imobiliária
   ========================================================================== */
.about-section {
  padding: 72px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy-900);
  margin-bottom: 14px;
}

.about-lead {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--slate-700);
  margin: 0 0 12px;
}

.about-content p {
  color: var(--slate-600);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.about-cards {
  display: grid;
  gap: 16px;
}

.info-card {
  background: var(--bg-page);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.info-card h3 {
  font-size: 1.04rem;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.info-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate-600);
}

/* ==========================================================================
   Rodapé com Mapa
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.84);
  padding-top: 58px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-logo-box {
  display: inline-block;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 14px;
  margin-bottom: 14px;
}

.footer-logo {
  height: 48px;
  width: auto;
}

.footer-slogan {
  color: var(--gold-400);
  font-weight: 600;
  margin: 0 0 18px;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
}

.footer-contact-list a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(244, 206, 45, 0.55);
  text-underline-offset: 3px;
}

.footer-map h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  height: 240px;
  background: var(--navy-900);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 18px 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom a:hover {
  color: var(--gold-400);
}

/* ==========================================================================
   Botão Flutuante WhatsApp
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42);
  transition: transform var(--transition), background var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.07);
  background: var(--whatsapp-dark);
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: var(--navy-950);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity var(--transition), transform var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   Modal de Detalhes + Galeria
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 26, 51, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 1120px;
  height: min(88vh, 760px);
  max-height: 92vh;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition: background var(--transition), transform var(--transition);
}

.modal-close:hover {
  background: var(--navy-900);
  color: var(--white);
  transform: rotate(90deg);
}

.modal-grid {
  flex: 1;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
}

.modal-gallery {
  background: #0A1320;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.gallery-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
  user-select: none;
}

.gallery-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: background var(--transition), transform var(--transition);
}

.gallery-nav:hover {
  background: var(--gold-400);
}

.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }

.gallery-counter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(6, 26, 51, 0.82);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
}

.gallery-thumbs {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: #060D17;
  overflow-x: auto;
  scrollbar-width: thin;
}

.thumb-btn {
  flex: 0 0 74px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  opacity: 0.62;
  transition: opacity var(--transition), border-color var(--transition);
}

.thumb-btn:hover {
  opacity: 0.9;
}

.thumb-btn.active {
  opacity: 1;
  border-color: var(--gold-400);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  height: 100%;
  min-height: 0;
  padding: 26px 26px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-right: 36px;
}

.modal-code {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.modal-info h2 {
  font-size: 1.4rem;
  color: var(--navy-900);
}

.modal-address {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.94rem;
}

.modal-price-card {
  background: linear-gradient(135deg, #F8FAFC, #FEF7D6);
  border: 1px solid rgba(229, 184, 11, 0.45);
  border-radius: 14px;
  padding: 14px 18px;
}

.modal-price-card span {
  display: block;
  font-size: 0.78rem;
  color: var(--slate-600);
  font-weight: 600;
}

.modal-price-card strong {
  font-size: 1.65rem;
  color: var(--navy-900);
  font-weight: 800;
}

.modal-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-spec-chip {
  background: var(--slate-100);
  color: var(--navy-900);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
}

.modal-description {
  margin: 0;
  font-size: 0.94rem;
  color: var(--slate-700);
}

.modal-features-wrap h3 {
  font-size: 0.95rem;
  color: var(--navy-900);
  margin-bottom: 10px;
}

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

.modal-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.91rem;
  color: var(--slate-700);
}

.modal-features li::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-100);
  color: #9A7000;
  font-weight: 800;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.modal-actions {
  margin-top: auto;
  padding-top: 10px;
  display: grid;
  gap: 10px;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy-950);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  box-shadow: var(--shadow-md);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Responsividade
   ========================================================================== */
@media (max-width: 960px) {
  .filter-inputs {
    grid-template-columns: 1fr 1fr;
  }
  .search-group {
    grid-column: 1 / -1;
  }
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .modal-dialog {
    height: auto;
    max-height: 92vh;
    overflow-y: auto;
  }
  .modal-grid {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
  }
  .modal-gallery {
    height: auto;
    flex: none;
  }
  .gallery-stage {
    height: 340px;
    flex: none;
    padding: 10px;
  }
  .modal-info {
    height: auto;
    overflow-y: visible;
  }
}

@media (max-width: 680px) {
  .main-nav {
    display: none;
  }
  .header-inner {
    height: 66px;
  }
  .brand-logo {
    height: 42px;
  }
  .filter-inputs {
    grid-template-columns: 1fr;
  }
  .properties-grid {
    grid-template-columns: 1fr;
  }
  .modal-backdrop {
    padding: 0;
  }
  .modal-dialog {
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
  }
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}
