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

:root {
  --petrol: #0A3F50;
  --petrol-deep: #062530;
  --petrol-darker: #041921;
  --petrol-light: #0E566C;
  --gold: #C7A46A;
  --gold-light: #DFBE86;
  --gold-bright: #E5C158;
  --gold-dim: rgba(199, 164, 106, 0.16);
  --gold-glow: rgba(199, 164, 106, 0.35);
  --ice: #F5F3EE;
  --ice-dark: #EAE6DD;
  --white: #FFFFFF;
  --graphite: #1B1F22;
  --graphite-mid: #555B60;
  --emerald: #10B981;
  --danger: #EF4444;
  --info: #3B82F6;
  --card-border: rgba(10, 63, 80, 0.09);
  --glass-bg: rgba(8, 45, 58, 0.72);
  --glass-border: rgba(199, 164, 106, 0.28);
  --shadow-sm: 0 4px 16px rgba(6, 37, 48, 0.06);
  --shadow-md: 0 14px 36px rgba(6, 37, 48, 0.10);
  --shadow-lg: 0 24px 60px rgba(6, 37, 48, 0.16);
  --shadow-gold: 0 10px 30px rgba(199, 164, 106, 0.32);
  --radius: 18px;
  --radius-sm: 12px;
  --transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 84px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--ice);
  color: var(--graphite);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

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

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

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

/* =========================================
   TOP NAVIGATION BAR (GLASSMORPHISM)
   ========================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(6, 37, 48, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(199, 164, 106, 0.2);
  z-index: 1000;
  padding: 0 4%;
  transition: var(--transition);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  max-width: 1340px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  color: var(--white);
  letter-spacing: 0.5px;
}

.nav-logo .g-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), #9F7B42);
  color: var(--petrol-deep);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(199, 164, 106, 0.35);
}

.nav-logo .g-mark svg {
  width: 24px;
  height: 22px;
}

.nav-logo span {
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  display: block;
  margin-top: -4px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(199, 164, 106, 0.14);
  color: var(--gold-light);
  border: 1px solid rgba(199, 164, 106, 0.4);
  padding: 9px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-admin-toggle:hover,
.btn-admin-toggle.active {
  background: var(--gold);
  color: var(--petrol-deep);
  box-shadow: var(--shadow-gold);
}

.btn-admin-toggle .lead-badge-count {
  background: var(--emerald);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), #B38E52);
  color: var(--petrol-deep) !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  background: var(--petrol-deep);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  border-bottom: 1px solid var(--glass-border);
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeDown 0.3s ease;
}

.mobile-menu a, .mobile-menu button {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
}

/* =========================================
   CINEMATIC KEN BURNS HERO & GLASS HUD
   ========================================= */
.hero-cinematic {
  position: relative;
  min-height: 94vh;
  padding: 130px 4% 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--petrol-darker);
  color: var(--white);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.8s ease-in-out, transform 9s ease-out;
}

.hero-slide.active {
  opacity: 0.42;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 80% 25%, rgba(199, 164, 106, 0.18), transparent 45%),
    linear-gradient(125deg, rgba(4, 25, 33, 0.95) 0%, rgba(10, 63, 80, 0.80) 55%, rgba(6, 37, 48, 0.92) 100%);
}

.hero-container {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(199, 164, 106, 0.14);
  border: 1px solid rgba(199, 164, 106, 0.38);
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseEmerald 2s infinite;
}

@keyframes pulseEmerald {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-cinematic h1 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--white);
}

.hero-cinematic h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-cinematic .hero-sub {
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin-bottom: 32px;
  line-height: 1.75;
}

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

/* HERO FEATURED SHOWCASE CARD */
.hero-spotlight-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(199, 164, 106, 0.32);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.hero-spotlight-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.spotlight-img-wrap {
  position: relative;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}

.spotlight-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-spotlight-card:hover .spotlight-img-wrap img {
  transform: scale(1.06);
}

.spotlight-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(6, 37, 48, 0.88);
  color: var(--gold-light);
  border: 1px solid var(--gold);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.spotlight-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.spotlight-price {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--gold-light);
}

/* GLASSMORPHIC QUICK SEARCH HUD */
.search-hud {
  background: rgba(8, 45, 58, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(199, 164, 106, 0.35);
  border-radius: 22px;
  padding: 22px 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.hud-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.hud-field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.hud-field select option {
  background: var(--petrol-deep);
  color: var(--white);
}

.hud-field select:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.14);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--petrol-deep);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 14px 32px rgba(199, 164, 106, 0.45);
}

.btn-petrol {
  background: var(--petrol);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(10, 63, 80, 0.25);
}

.btn-petrol:hover {
  background: var(--petrol-deep);
  transform: translateY(-3px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--gold-light);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--petrol);
  border: 2px solid var(--petrol);
}

.btn-outline:hover {
  background: var(--petrol);
  color: var(--white);
}

/* =========================================
   CREDIBILITY BAR
   ========================================= */
.cred-bar {
  background: var(--petrol-deep);
  padding: 36px 5%;
  border-bottom: 1px solid rgba(199, 164, 106, 0.2);
}

.cred-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.cred-item {
  text-align: center;
  color: var(--white);
  padding: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.cred-item:last-child {
  border-right: none;
}

.cred-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: var(--gold-light);
  line-height: 1.1;
}

.cred-item .label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.78;
  margin-top: 6px;
}

/* =========================================
   SECTIONS & HEADERS
   ========================================= */
.section {
  padding: 88px 4%;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 52px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  color: var(--petrol);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--graphite-mid);
  font-size: 15px;
}

.section-header .accent-line {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 18px auto 0;
  border-radius: 2px;
}

.section-dark {
  background: linear-gradient(160deg, var(--petrol-darker) 0%, var(--petrol-deep) 100%);
  color: var(--white);
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

/* =========================================
   PROPERTY SHOWCASE & CARDS
   ========================================= */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1260px;
  margin: 0 auto 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 30px;
  border: 1.5px solid var(--card-border);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  color: var(--graphite-mid);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--petrol);
  color: var(--white);
  border-color: var(--petrol);
  box-shadow: var(--shadow-sm);
}

.catalog-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--petrol);
  background: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--card-border);
}

.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1260px;
  margin: 0 auto;
}

.prop-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--card-border);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.prop-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(199, 164, 106, 0.45);
}

.prop-card.hidden {
  display: none;
}

.prop-img {
  position: relative;
  height: 235px;
  overflow: hidden;
  background: var(--petrol-deep);
}

.prop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.prop-card:hover .prop-img img {
  transform: scale(1.07);
}

.prop-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(transparent, rgba(4, 25, 33, 0.65));
  pointer-events: none;
}

.prop-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  z-index: 2;
  letter-spacing: 0.7px;
}

.prop-badge.real {
  background: #0D7A4E;
  color: var(--white);
}

.prop-badge.exclusive {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--petrol-deep);
}

.prop-badge.opportunity {
  background: var(--petrol);
  color: var(--white);
}

.prop-badge.sold {
  background: #DC2626;
  color: var(--white);
}

.prop-type-chip {
  position: absolute;
  bottom: 12px;
  left: 14px;
  z-index: 2;
  background: rgba(6, 37, 48, 0.82);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  padding: 4px 11px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

.prop-photo-count {
  position: absolute;
  bottom: 12px;
  right: 14px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.prop-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prop-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: 5px;
}

.prop-location {
  font-size: 13px;
  color: var(--graphite-mid);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.prop-specs {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.prop-spec {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--petrol);
  background: var(--ice);
  padding: 5px 10px;
  border-radius: 8px;
  font-weight: 600;
}

.prop-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--card-border);
}

.prop-price {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--petrol);
  font-weight: 700;
}

.prop-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--petrol-deep);
  background: var(--gold-dim);
  border: 1px solid rgba(199, 164, 106, 0.35);
  padding: 8px 15px;
  border-radius: 20px;
  transition: var(--transition);
}

.prop-card:hover .prop-cta {
  background: var(--gold);
  color: var(--petrol-deep);
}

/* =========================================
   INTERACTIVE MAP OF GRANDE VITÓRIA
   ========================================= */
.map-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  max-width: 1220px;
  margin: 0 auto;
  align-items: center;
}

.map-canvas-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(199, 164, 106, 0.28);
  border-radius: 24px;
  padding: 28px;
  position: relative;
}

.map-svg {
  width: 100%;
  height: 410px;
}

.map-zone {
  fill: rgba(14, 86, 108, 0.45);
  stroke: rgba(199, 164, 106, 0.55);
  stroke-width: 2;
  cursor: pointer;
  transition: var(--transition);
}

.map-zone:hover,
.map-zone.active {
  fill: rgba(199, 164, 106, 0.32);
  stroke: var(--gold-light);
  stroke-width: 3;
}

.map-pin {
  cursor: pointer;
}

.map-pin circle.pin-outer {
  fill: rgba(199, 164, 106, 0.28);
  transition: var(--transition);
}

.map-pin circle.pin-inner {
  fill: var(--gold-light);
  stroke: var(--petrol-darker);
  stroke-width: 2;
}

.map-pin:hover circle.pin-outer,
.map-pin.active circle.pin-outer {
  r: 22;
  fill: rgba(16, 185, 129, 0.35);
}

.map-details-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(199, 164, 106, 0.32);
  border-radius: 24px;
  padding: 36px;
}

.map-region-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.map-tab {
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.map-tab.active,
.map-tab:hover {
  background: var(--gold);
  color: var(--petrol-deep);
  border-color: var(--gold);
}

.map-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.map-kpi {
  background: rgba(4, 25, 33, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px;
  border-radius: 14px;
  text-align: center;
}

.map-kpi .val {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--gold-light);
}

.map-kpi .lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.map-bairros {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.bairro-pill {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

/* =========================================
   FINANCING SIMULATOR
   ========================================= */
.sim-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 26px;
  padding: 42px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--card-border);
}

.sim-control {
  margin-bottom: 26px;
}

.sim-control-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sim-control-head label {
  font-size: 13px;
  font-weight: 700;
  color: var(--graphite-mid);
  text-transform: uppercase;
}

.sim-control-head .sim-val {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--petrol);
  font-weight: 700;
}

.sim-range {
  width: 100%;
  accent-color: var(--gold);
  height: 8px;
  border-radius: 6px;
  cursor: pointer;
}

.sim-result-card {
  background: linear-gradient(155deg, var(--petrol-deep), var(--petrol));
  color: var(--white);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-highlight {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(199, 164, 106, 0.35);
  border-radius: 16px;
  margin: 16px 0;
}

.sim-highlight .lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
}

.sim-highlight .big-price {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: var(--white);
  margin: 6px 0;
}

.sim-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.sim-stat {
  background: rgba(0, 0, 0, 0.22);
  padding: 12px;
  border-radius: 12px;
}

.sim-stat span {
  display: block;
  font-size: 11px;
  opacity: 0.75;
}

.sim-stat strong {
  font-size: 15px;
  color: var(--gold-light);
}

/* =========================================
   BEFORE / AFTER CURADORIA SLIDER
   ========================================= */
.curadoria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}

.ba-slider {
  position: relative;
  width: 100%;
  height: 410px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  user-select: none;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid var(--gold-light);
}

.ba-before-wrap img {
  filter: brightness(0.72) contrast(0.85) saturate(0.65);
}

.ba-after-img {
  filter: contrast(1.08) saturate(1.18) brightness(1.04);
}

.ba-label {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  z-index: 4;
}

.ba-label.before {
  left: 16px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}

.ba-label.after {
  right: 16px;
  background: var(--gold);
  color: var(--petrol-deep);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--petrol-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  z-index: 5;
  pointer-events: none;
}

/* =========================================
   QUIZ, DIFFERENTIALS, TIMELINE, ABOUT, CONTACT
   ========================================= */
.quiz-box {
  max-width: 740px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(199, 164, 106, 0.3);
  border-radius: 24px;
  padding: 42px;
}

.quiz-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}

.quiz-progress .step {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
}

.quiz-progress .step.done {
  background: var(--gold);
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeUp 0.3s ease;
}

.quiz-step h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #fff;
}

.quiz-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 24px;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.quiz-opt {
  padding: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.quiz-opt:hover {
  border-color: var(--gold);
  background: rgba(199, 164, 106, 0.15);
}

.quiz-opt.selected {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--petrol-deep);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1220px;
  margin: 0 auto;
}

.diff-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.diff-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.diff-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.diff-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--petrol);
  margin-bottom: 10px;
}

.diff-card p {
  font-size: 13.5px;
  color: var(--graphite-mid);
}

.about-grid, .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.about-photo {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--gold);
}

.about-photo img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.about-details {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.about-detail {
  background: var(--white);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--petrol);
  border: 1px solid var(--card-border);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  transition: var(--transition);
}

.channel:hover {
  border-color: var(--gold);
  transform: translateX(4px);
}

.channel-icon {
  width: 46px;
  height: 46px;
  background: var(--petrol);
  color: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.form-card {
  background: var(--white);
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--card-border);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--graphite-mid);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: var(--ice);
  border: 1.5px solid var(--card-border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--graphite);
  outline: none;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-success {
  display: none;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--emerald);
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  color: #065F46;
  font-weight: 700;
  margin-top: 14px;
}

/* =========================================
   MODAL & FULLSCREEN LIGHTBOX
   ========================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 20, 27, 0.88);
  backdrop-filter: blur(10px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: 22px;
  max-width: 920px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  animation: fadeUp 0.35s ease;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
}

.modal-gallery {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: var(--petrol-darker);
}

.modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: zoom-in;
}

.modal-gallery img.active {
  opacity: 1;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--card-border);
  border: none;
  cursor: pointer;
}

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

.modal-body {
  padding: 28px 32px 34px;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.modal-spec {
  background: var(--ice);
  padding: 14px;
  border-radius: 12px;
  text-align: center;
}

.modal-spec .val {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--petrol);
}

.modal-spec .lbl {
  font-size: 11px;
  color: var(--graphite-mid);
  font-weight: 700;
  text-transform: uppercase;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 12, 16, 0.97);
  z-index: 3000;
  justify-content: center;
  align-items: center;
  padding: 36px;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 92%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  cursor: pointer;
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* =========================================
   PAINEL GERENCIAL INTEGRADO (CRM KANBAN + IMÓVEIS + ADS)
   ========================================= */
.admin-panel-view {
  display: none;
  min-height: 100vh;
  padding: 100px 4% 80px;
  background: #071E26;
  color: var(--white);
}

.admin-panel-view.active {
  display: block;
}

.admin-container {
  max-width: 1360px;
  margin: 0 auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(199, 164, 106, 0.22);
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.admin-kpi-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(199, 164, 106, 0.22);
  border-radius: 16px;
  padding: 20px;
}

.admin-kpi-card .lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.65);
}

.admin-kpi-card .val {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--gold-light);
  margin: 6px 0 4px;
}

.admin-kpi-card .sub {
  font-size: 12px;
  color: var(--emerald);
  font-weight: 600;
}

.admin-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.admin-tab {
  padding: 12px 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.admin-tab.active,
.admin-tab:hover {
  background: var(--gold);
  color: var(--petrol-deep);
  border-color: var(--gold);
}

.admin-pane {
  display: none;
}

.admin-pane.active {
  display: block;
  animation: fadeUp 0.3s ease;
}

/* KANBAN BOARD */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(240px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
}

.kanban-col {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}

.kanban-col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 700;
}

.kanban-count {
  background: var(--gold-dim);
  color: var(--gold-light);
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 11px;
}

.kanban-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.kanban-card {
  background: rgba(10, 63, 80, 0.65);
  border: 1px solid rgba(199, 164, 106, 0.28);
  border-radius: 12px;
  padding: 14px;
  font-size: 12.5px;
  transition: var(--transition);
}

.kanban-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.kanban-origin {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.18);
  color: #34D399;
  margin-bottom: 8px;
}

.kanban-card h4 {
  font-size: 14px;
  color: var(--white);
  margin-bottom: 4px;
}

.kanban-prop {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 8px;
}

.kanban-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.kanban-btn {
  padding: 5px 9px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.kanban-btn:hover {
  background: var(--gold);
  color: var(--petrol-deep);
}

/* ADMIN CATALOG MANAGER */
.admin-catalog-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: start;
}

.admin-form-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(199, 164, 106, 0.28);
  border-radius: 18px;
  padding: 24px;
}

.admin-form-box h3 {
  font-size: 20px;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.admin-input-group {
  margin-bottom: 12px;
}

.admin-input-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.admin-input-group input,
.admin-input-group select,
.admin-input-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
}

.admin-table-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.25);
}

/* ADS HUB CARDS */
.ads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ads-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(199, 164, 106, 0.25);
  border-radius: 18px;
  padding: 26px;
}

/* =========================================
   FOOTER & MOBILE APP BOTTOM BAR
   ========================================= */
.footer {
  background: var(--petrol-darker);
  padding: 60px 4% 90px;
  color: var(--white);
  border-top: 1px solid rgba(199, 164, 106, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1220px;
  margin: 0 auto 32px;
}

.footer h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer ul a {
  font-size: 13px;
  opacity: 0.75;
}

.footer ul a:hover {
  opacity: 1;
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  text-align: center;
  font-size: 12px;
  opacity: 0.55;
  max-width: 1220px;
  margin: 0 auto;
}

/* STICKY MOBILE APP BAR */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 66px;
  background: rgba(6, 37, 48, 0.96);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(199, 164, 106, 0.35);
  z-index: 1500;
  justify-content: space-around;
  align-items: center;
  padding: 0 8px;
}

.mob-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
}

.mob-tab span.ico {
  font-size: 18px;
}

.mob-tab.highlight {
  background: var(--gold);
  color: var(--petrol-deep);
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 800;
}

.wpp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 1200;
  transition: var(--transition);
}

.wpp-float:hover {
  transform: scale(1.1);
}

.wpp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* TOAST NOTIFICATION */
.toast-msg {
  position: fixed;
  bottom: 95px;
  right: 28px;
  background: var(--petrol-deep);
  color: var(--white);
  border: 1px solid var(--gold);
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 3500;
  display: none;
  animation: fadeUp 0.3s ease;
}

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

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .search-hud { grid-template-columns: 1fr 1fr; }
  .props-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .map-layout, .sim-grid, .curadoria-grid, .about-grid, .contact-grid, .admin-catalog-grid, .ads-grid {
    grid-template-columns: 1fr;
  }
  .admin-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-cinematic { padding: 105px 4% 60px; min-height: auto; }
  .search-hud { grid-template-columns: 1fr; padding: 18px; }
  .cred-inner { grid-template-columns: repeat(2, 1fr); }
  .cred-item { border-right: none; }
  .props-grid, .diff-grid, .quiz-options, .form-row, .footer-grid {
    grid-template-columns: 1fr;
  }
  .sim-grid { padding: 24px 18px; }
  .ba-slider { height: 290px; }
  .modal-gallery { height: 260px; }
  .modal-specs { grid-template-columns: repeat(2, 1fr); }
  .mobile-bottom-bar { display: flex; }
  .wpp-float { bottom: 80px; right: 16px; width: 52px; height: 52px; }
}

