/* styles.css - Design System e Estilos do Portal Imobiliário Santana Martins */

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

:root {
  /* Paleta de Cores */
  --primary-dark: #0A0F1D;     /* Obsidiana Escura */
  --secondary-dark: #121A2E;   /* Deep Navy */
  --accent-gold: #C5A880;      /* Champagne Gold */
  --accent-gold-hover: #D4AF37;/* Shining Gold */
  --text-light: #F8FAFC;       /* Off-White */
  --text-muted: #94A3B8;       /* Slate Gray */
  --text-dark: #0F172A;        /* Slate Dark */
  --bg-light: #F8FAFC;         /* Light Gray Background */
  --card-bg: #FFFFFF;
  --card-border: rgba(226, 232, 240, 0.8);
  --success: #10B981;          /* Emerald Green */
  --error: #EF4444;            /* Soft Red */
  
  /* Tipografia */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Espaçamentos e Bordas */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-gold: 0 4px 20px rgba(197, 168, 128, 0.25);
  
  /* Layout */
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--primary-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* --- UI COMPONENTS & UTILITIES --- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 5rem 0;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-dark {
  background-color: var(--primary-dark);
  color: var(--text-light);
}

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

.btn-whatsapp {
  background-color: #25D366;
  color: white !important;
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Badge (Tags) */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: rgba(197, 168, 128, 0.15);
  color: var(--accent-gold-hover);
}

.badge-outline {
  border: 1px solid var(--accent-gold);
  background-color: transparent;
}

/* --- HEADER / NAVIGATION --- */
header {
  background-color: rgba(10, 15, 29, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: var(--transition);
}

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

.logo {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.logo-main span {
  color: var(--accent-gold);
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: -2px;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
}

nav a:hover, nav a.active {
  color: var(--accent-gold);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
}

/* --- HERO SECTION WITH GLOW ORBS --- */
.hero {
  background: 
    radial-gradient(circle at 10% 20%, rgba(197, 168, 128, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(18, 26, 46, 0.6) 0%, transparent 50%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
}

.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.06) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.hero-glow-2 {
  position: absolute;
  bottom: 5%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.04) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  animation: floatOrb 15s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-40px) scale(1.1); }
}

/* Smartphone Mockup para vídeos verticais (Reels) */
.phone-mockup {
  position: relative;
  width: 280px;
  max-width: 100%;
  margin: 0 auto;
  border: 12px solid #242A38;
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 0 2px var(--accent-gold);
  overflow: hidden;
  background-color: #000;
  aspect-ratio: 9/16;
}

.phone-mockup video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 29, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 5;
}

.phone-play-overlay:hover {
  background: rgba(10, 15, 29, 0.15);
}

.phone-play-overlay:hover .play-btn {
  transform: scale(1.1);
  box-shadow: var(--shadow-gold), 0 0 0 8px rgba(197, 168, 128, 0.3);
}

/* Player de Vídeo Vertical no corpo da página */
.vertical-video-wrapper {
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 9/16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--accent-gold);
  background-color: #000;
}

.vertical-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: block;
}

.hero h1 {
  color: var(--text-light);
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero h1 span, .logo-main span, .section-header h2 span, h2 span, .logo-main span, .footer-about .logo-main span {
  background: linear-gradient(135deg, #F0D5B5 0%, #C5A880 50%, #9F8259 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 550px;
}

/* Alternador de Headlines do Hero */
.hero-switcher {
  display: flex;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  width: fit-content;
}

.switcher-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.switcher-btn.active {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Card Visual do Hero (Vídeo ou Imagem) */
.hero-media-wrapper {
  position: relative;
}

.hero-video-card {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 2px solid rgba(197, 168, 128, 0.2);
  position: relative;
  aspect-ratio: 16/9;
  background-color: #000;
}

.hero-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.hero-video-card:hover img {
  transform: scale(1.03);
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 29, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.play-overlay:hover {
  background: rgba(10, 15, 29, 0.2);
}

.play-btn {
  width: 70px;
  height: 70px;
  background: var(--accent-gold);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.5rem;
  box-shadow: var(--shadow-gold), 0 0 0 0px rgba(197, 168, 128, 0.4);
  transition: var(--transition);
  padding-left: 5px; /* Alinhar ícone de play */
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(197, 168, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(197, 168, 128, 0);
  }
}

.hero-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

/* --- QUICK SEARCH FILTER --- */
.quick-search {
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

.search-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1.25rem;
  align-items: end;
}

.search-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-group label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.search-group select, .search-group input {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #CBD5E1;
  font-size: 0.9rem;
  background-color: #FFF;
  color: var(--text-dark);
  transition: var(--transition);
}

.search-group select:focus, .search-group input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.15);
}

/* --- SECTION GENERAL STYLE --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: var(--accent-gold-hover);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
}

/* --- FEATURED PROPERTIES / GRID --- */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.property-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.property-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: #E2E8F0;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-dark);
  color: var(--accent-gold);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(197, 168, 128, 0.3);
}

.property-price-tag {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--accent-gold);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.property-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-loc {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.property-loc svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.property-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.property-content h3 a:hover {
  color: var(--accent-gold-hover);
}

.property-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-specs {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid var(--card-border);
  padding-top: 1rem;
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-dark);
}

.spec-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-gold);
}

/* --- BROKER SECTION --- */
.broker-section {
  background-color: var(--secondary-dark);
  color: var(--text-light);
  overflow: hidden;
  position: relative;
}

.broker-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-hover));
}

.broker-section .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: stretch;
}

.broker-section .section-header {
  grid-column: 1 / -1;
  margin-bottom: 2rem !important;
}

.broker-img-wrapper {
  position: relative;
  height: 100%;
}

.broker-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: var(--radius-lg);
  background-color: var(--primary-dark);
  object-fit: cover;
  /* Premium double border effect */
  border: 2px solid var(--accent-gold);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 0 8px var(--primary-dark), 0 0 0 10px rgba(193, 155, 108, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.broker-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 0 8px var(--primary-dark), 0 0 0 10px rgba(193, 155, 108, 0.6);
}

/* Foto do corretor simulação em SVG se não houver imagem */
.broker-avatar-placeholder {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  background: radial-gradient(circle at center, var(--secondary-dark) 0%, var(--primary-dark) 100%);
  border: 2px solid rgba(197, 168, 128, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  text-align: center;
  padding: 2rem;
}

.broker-avatar-placeholder svg {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  stroke: var(--accent-gold);
}

.broker-info h2 {
  color: var(--text-light);
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

.broker-subtitle {
  color: var(--accent-gold);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  display: block;
}

.broker-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.broker-creci {
  display: inline-block;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.broker-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}

.stat-card h4 {
  color: var(--accent-gold);
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
}

.stat-card p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

/* --- BENEFITS SECTION --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 168, 128, 0.15);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(10, 15, 29, 0.02);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(197, 168, 128, 0.08);
  border-color: rgba(197, 168, 128, 0.5);
  background: rgba(255, 255, 255, 0.85);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(197, 168, 128, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold-hover);
  margin-bottom: 1.5rem;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- DYNAMIC FILTER LAYOUT (CATALOG PAGE) --- */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.filter-sidebar {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  height: fit-content;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.filter-sidebar h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--card-border);
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.filter-group select, .filter-group input {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid #CBD5E1;
  font-size: 0.9rem;
  background-color: white;
}

.filter-group select:focus, .filter-group input:focus {
  border-color: var(--accent-gold);
}

.range-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.catalog-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.results-count {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.results-count span {
  font-weight: 700;
  color: var(--primary-dark);
}

.catalog-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  grid-column: 1 / -1;
}

.catalog-empty svg {
  width: 60px;
  height: 60px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* --- DETAILS PAGE --- */
.detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  margin-top: 2rem;
}

.detail-header {
  margin-bottom: 2rem;
}

.detail-meta-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.detail-title-price {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.detail-title h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

.detail-price {
  text-align: right;
}

.price-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.price-val {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold-hover);
  font-family: var(--font-serif);
}

.detail-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  background-color: var(--primary-dark);
  position: relative;
  aspect-ratio: 16/9;
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-gallery video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000;
}

.detail-tab-menu {
  display: flex;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 1.5rem;
  gap: 2rem;
}

.detail-tab-btn {
  background: none;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 0;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}

.detail-tab-btn.active {
  color: var(--primary-dark);
}

.detail-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-gold);
}

.detail-tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.detail-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.detail-desc {
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 2rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: white;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.tech-item span:first-child {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.tech-item span:last-child {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.detail-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.detail-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.detail-feature-item svg {
  color: var(--success);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-box {
  background: white;
  border: 1px solid var(--card-border);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.sidebar-box h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.sidebar-broker-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sidebar-broker-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background-color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}

.sidebar-broker-avatar svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-gold);
}

.sidebar-broker-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.sidebar-broker-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.cta-box-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta-box-actions .btn {
  width: 100%;
}

.sidebar-map {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #E2E8F0;
  border: 1px solid var(--card-border);
}

.sidebar-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- CONTACT & LEAD FORM PAGE --- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-card {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info-card h2 {
  color: var(--text-light);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.channel-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}

.channel-icon svg {
  width: 20px;
  height: 20px;
}

.channel-details h4 {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
}

.channel-details p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Formulário Estilizado */
.form-card {
  background: white;
  border: 1px solid var(--card-border);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.form-card > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  letter-spacing: 0.05em;
}

.form-group input, .form-group select, .form-group textarea {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #CBD5E1;
  font-size: 0.95rem;
  background-color: white;
  transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.15);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkbox-group input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Tela de sucesso do Formulário */
.form-success-message {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
  animation: fadeIn 0.4s ease;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.success-icon svg {
  width: 40px;
  height: 40px;
}

.form-success-message h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.form-success-message p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* --- ADMIN PANEL --- */
.admin-card {
  background: white;
  border: 1px solid var(--card-border);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--card-border);
}

.admin-header-row h2 {
  font-size: 1.75rem;
}

.admin-grid-manager {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.admin-table-container {
  overflow-x: auto;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  padding: 1rem;
}

.properties-list-table {
  width: 100%;
  border-collapse: collapse;
}

.properties-list-table th, .properties-list-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
  white-space: nowrap;
}

.properties-list-table th {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.table-prop-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.table-prop-img {
  width: 50px;
  height: 38px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background-color: #E2E8F0;
}

.table-prop-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.table-prop-loc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.table-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-icon-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon-danger:hover {
  background: var(--error);
  color: white;
}

/* --- FOOTER --- */
footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about .logo {
  margin-bottom: 1.25rem;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
}

.footer-col h3 {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact-info li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-info svg {
  width: 16px;
  height: 16px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* --- BANNER CTA FOOTER --- */
.footer-cta-banner {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: var(--primary-dark);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-cta-banner h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.footer-cta-banner p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-weight: 500;
  opacity: 0.9;
}

/* --- RESPONSIVIDADE (MOBILE BREAKPOINTS) --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-tag {
    justify-content: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-switcher {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .search-box {
    margin-top: -1.5rem;
  }
  
  .broker-section .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .broker-img-wrapper {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .admin-grid-manager {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  nav {
    display: none; /* Poderia expandir em um menu mobile */
  }
  
  .header-cta {
    display: none;
  }
  
  .search-box {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .quick-search {
    margin-top: 2rem;
    padding: 0 1rem;
  }
  
  .section-padding {
    padding: 3.5rem 0;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  
  .filter-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 2rem;
  }
  
  .detail-title-price {
    flex-direction: column;
    gap: 1rem;
  }
  
  .detail-price {
    text-align: left;
  }
  
  .lead-form {
    grid-template-columns: 1fr;
  }
  
  .form-card {
    padding: 2rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- CURSOR CUSTOMIZADO PREMIUM --- */
#custom-cursor {
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  top: -100px;
  left: -100px;
}

#custom-cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(197, 168, 128, 0.4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, width 0.2s, height 0.2s, border-color 0.2s, background-color 0.2s;
  top: -100px;
  left: -100px;
}

/* Hover em elementos clicáveis */
.cursor-hover #custom-cursor {
  width: 4px;
  height: 4px;
  background-color: var(--text-light);
}

.cursor-hover #custom-cursor-ring {
  width: 48px;
  height: 48px;
  border-color: var(--accent-gold);
  background-color: rgba(197, 168, 128, 0.1);
}

/* Ocultar cursor em dispositivos móveis */
@media (max-width: 1024px) {
  #custom-cursor, #custom-cursor-ring {
    display: none !important;
  }
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- VIDEO LIGHTBOX MODAL --- */
.video-lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 29, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 320px; /* matches vertical reels format */
  aspect-ratio: 9/16;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
  border: 12px solid #242A38;
  animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #000;
}

@keyframes zoomIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-content video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--text-light);
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10001;
}

.lightbox-close:hover {
  color: var(--accent-gold);
  transform: scale(1.1);
}

/* --- ADICIONADO PARA VISUAL POLISH PREMIUM --- */

/* Menu slide active/hover effect */
nav ul li {
  position: relative;
}

nav ul {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

nav a {
  position: relative;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  transition: var(--transition);
}

nav a:hover {
  color: var(--accent-gold) !important;
}

nav a.active {
  color: var(--accent-gold-hover) !important;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  transition: var(--transition);
  transform: translateX(-50%);
}

nav a:hover::after, nav a.active::after {
  width: 80%;
}

/* Glowing green WhatsApp button in header */
.btn-whatsapp-header {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: white !important;
  border-radius: var(--radius-full) !important;
  padding: 0.65rem 1.6rem !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: var(--transition) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  animation: waGlow 3s infinite;
  position: relative;
  overflow: hidden;
}

@keyframes waGlow {
  0% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2), 0 0 0 0 rgba(37, 211, 102, 0.2);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 8px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.btn-whatsapp-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 20%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: 0.75s;
  pointer-events: none;
}

.btn-whatsapp-header:hover::before {
  left: 150%;
}

.btn-whatsapp-header:hover {
  transform: translateY(-2px) scale(1.02) !important;
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
}

/* Category tabs on homepage */
.category-tabs-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.category-tab {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--card-border);
  padding: 0.6rem 1.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.category-tab:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-hover);
  transform: translateY(-1px);
}

.category-tab.active {
  background: var(--primary-dark);
  color: var(--accent-gold);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

/* Header scrolled state */
header.header-scrolled {
  background-color: rgba(10, 15, 29, 0.95) !important;
  backdrop-filter: blur(15px);
  padding: 0.6rem 0 !important;
  border-bottom: 1px solid rgba(197, 168, 128, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
}

/* Action button inside vertical video Lightbox */
.lightbox-action-container {
  position: absolute;
  bottom: 25px;
  left: 0;
  width: 100%;
  padding: 0 25px;
  display: flex;
  justify-content: center;
  z-index: 10;
  pointer-events: auto;
}

#lightbox-action-btn {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #E6CBB0 0%, #C5A880 100%);
  color: var(--primary-dark);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

#lightbox-action-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #F0D5B5 0%, #D4AF37 100%);
  box-shadow: 0 15px 35px rgba(197, 168, 128, 0.5);
}

/* Media slider (Carousel) on details page */
.details-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
}

.details-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
  background-color: #000;
}

.details-slide.active {
  opacity: 1;
  z-index: 2;
}

.slider-controls {
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 10;
  pointer-events: none;
}

.slider-arrow {
  width: 36px;
  height: 36px;
  background-color: rgba(10, 15, 29, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition);
  font-size: 0.9rem;
  user-select: none;
}

.slider-arrow:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
  pointer-events: auto;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--accent-gold);
  transform: scale(1.2);
}

/* Floating WhatsApp Circle Button */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-dark);
  border: 2px solid #25D366;
  color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  z-index: 99;
  cursor: pointer;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  background-color: #25D366;
  color: #FFF;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* Broker social links styles */
.broker-social-buttons {
  display: flex;
  gap: 0.8rem;
  margin: 1rem 0 1.5rem;
}

.broker-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.broker-social-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
  color: var(--accent-gold) !important;
  box-shadow: var(--shadow-sm);
}

.broker-social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  border-color: transparent;
  color: white !important;
}

.broker-social-btn.facebook:hover {
  background-color: #1877F2;
  border-color: transparent;
  color: white !important;
}

/* Circular WhatsApp Button Style */
.wa-round-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #25D366;
  color: #25D366;
  background-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  animation: waPulse 3s infinite;
  flex-shrink: 0;
}

.wa-round-btn:hover {
  background-color: #25D366;
  color: #FFF !important;
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Luxury WhatsApp Pill Button */
.wa-premium-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(37, 211, 102, 0.45);
  background-color: rgba(37, 211, 102, 0.05);
  color: #25D366 !important;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.04);
  width: fit-content;
}

.wa-premium-btn:hover {
  background-color: #25D366;
  border-color: #25D366;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.wa-premium-btn svg {
  transition: var(--transition);
}

.wa-premium-btn:hover svg {
  transform: scale(1.1);
}

/* Broker WhatsApp link block in bio */
.broker-wa-link-container {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 2rem;
}

.broker-wa-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.broker-wa-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
}

.broker-wa-link {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
  width: fit-content;
}

.broker-wa-link:hover {
  color: var(--accent-gold-hover) !important;
}

.broker-wa-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.broker-wa-link:hover::after {
  background-color: var(--accent-gold);
}

/* --- PROPERTY DETAIL MODAL (HOMEPAGE & CATALOG POPUP) --- */
.property-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 29, 0.9); /* dim dark glass backdrop */
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200; /* above header */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.property-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.property-modal-card {
  background-color: #121A2E; /* var(--secondary-dark) */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.property-modal-overlay.active .property-modal-card {
  transform: scale(1);
}

.property-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2.2rem;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  line-height: 1;
}

.property-modal-close:hover {
  color: var(--accent-gold);
}

.property-modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 500px;
}

/* Media/Photo slider in modal */
.property-modal-media {
  position: relative;
  background-color: #0A0F1D; /* var(--primary-dark) */
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

.modal-slider-wrapper {
  position: relative;
  flex-grow: 1;
  overflow: hidden;
  min-height: 350px;
}

.modal-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-slide.active {
  opacity: 1;
  position: relative;
  z-index: 1;
}

.modal-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-blur-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.35);
  transform: scale(1.15);
  z-index: 1;
}

.slide-foreground-img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 100%;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}

/* Controls */
.modal-slider-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 5;
}

.modal-arrow {
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
  font-weight: bold;
}

.modal-arrow:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--primary-dark);
}

.modal-dots {
  display: flex;
  gap: 0.5rem;
  background: rgba(10, 15, 29, 0.6);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.05);
}

.modal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.modal-dot.active {
  background-color: var(--accent-gold);
  transform: scale(1.25);
}

/* Info side in modal */
.property-modal-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.property-modal-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: rgba(197, 168, 128, 0.15);
  color: var(--accent-gold);
  width: fit-content;
  margin-bottom: 0.75rem;
}

.property-modal-title {
  color: white;
  font-size: 1.6rem;
  font-family: var(--font-serif);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.property-modal-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 1rem;
}

.meta-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.meta-size {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

.property-modal-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.property-modal-location svg {
  color: var(--accent-gold);
}

.property-modal-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.property-modal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.modal-feature-badge {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--text-light);
}

/* HUGE Pulsing WhatsApp CTA */
.property-modal-cta-container {
  width: 100%;
}

.modal-wa-cta-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.85rem 1.75rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  border-radius: var(--radius-full) !important;
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 12px rgba(18, 140, 126, 0.2) !important;
  animation: waCtaPulse 2.5s infinite;
  color: white !important;
  transition: var(--transition) !important;
  white-space: nowrap !important;
}

.modal-wa-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35) !important;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

@keyframes waCtaPulse {
  0% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25), 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 4px 22px rgba(37, 211, 102, 0.4), 0 0 0 8px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .property-modal-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .property-modal-media {
    min-height: 280px;
  }
  .modal-slider-wrapper {
    min-height: 280px;
  }
  .property-modal-info {
    padding: 1.5rem;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  .property-modal-title {
    font-size: 1.4rem;
  }
  .property-modal-card {
    max-height: 95vh;
  }
}

/* Edit and Photo Management */
.btn-icon-edit {
  background: rgba(197, 168, 128, 0.1);
  color: var(--accent-gold);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon-edit:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.photo-preview-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.photo-preview-delete:hover {
  background: var(--error);
  border-color: var(--error);
}
