/* ============================================================
   Mapa de Lotes · Gêmeos Imóveis
   Verde-escuro + dourado · Cormorant Garamond + Jost
   ============================================================ */

:root {
  /* Identidade Visual Oficial Gêmeos Imóveis (PLANO_COMPLETO_GEMEOS_MAP_ANTIGRAVITY.txt) */
  --color-green-very-dark: #031D14;
  --color-green-dark: #062A1D;
  --color-green-mid: #0A3526;
  --color-green-support: #104331;

  --color-gold-main: #D3A83C;
  --color-gold-dark: #B98A24;
  --color-gold-light: #E4C568;

  --color-cream: #FFF8E7;
  --color-white: #FFFFFF;
  --color-gray-light: #F4F5F4;
  --color-gray-mid: #9DA6A1;
  --color-gray-dark: #17201C;

  /* Aliases do Design System */
  --green-950: var(--color-green-very-dark);
  --green-900: var(--color-green-dark);
  --green-800: var(--color-green-support);
  --green-700: #1a5238;
  --gold-500: var(--color-gold-main);
  --gold-400: var(--color-gold-light);
  --gold-300: var(--color-gold-light);
  --cream: var(--color-cream);
  --cream-2: #f1ead9;
  --ink: #22301f;
  --ink-soft: #5c6355;

  --disp: #2e9e6b;
  --res: #d9a23c;
  --vend: #c25a50;
  --exclusivo: #2e719e;

  --grad-gold: linear-gradient(115deg, #a37e2f, var(--color-gold-main) 45%, #b18a37);
  --shadow-lg: 0 18px 45px rgba(3, 29, 20, 0.35);
  --font-display: "Montserrat", sans-serif;
  --font-body: "Jost", "Segoe UI", sans-serif;

  /* Design Tokens de Espaçamento, Bordas e Transições */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* ============================================================
   ESTILIZAÇÃO CUSTOMIZADA DE SCROLLBAR (DESIGN DOURADO & VERDE)
   ============================================================ */
/* Webkit browsers (Chrome, Edge, Safari, Opera) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(3, 29, 20, 0.95);
  border-left: 1px solid rgba(211, 168, 60, 0.2);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a37e2f, #d4af56 50%, #b18a37);
  border-radius: 999px;
  border: 2px solid rgba(3, 29, 20, 0.95);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #d4af56, #f1ead9 50%, #d4af56);
}

::-webkit-scrollbar-corner {
  background: rgba(3, 29, 20, 0.95);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #d4af56 rgba(3, 29, 20, 0.95);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: var(--font-body);
  background: var(--green-950);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ---------- topo ---------- */
/* embutido na landing page: oculta topo, lista de lotes e botão de alternar */
html.is-embed .topbar { display: none; }
html.is-embed .sidebar { display: none !important; }
html.is-embed #lista-toggle { display: none !important; }


.topbar {
  height: 66px;
  flex: 0 0 66px;
  background: rgba(3, 29, 20, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid rgba(228, 197, 104, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(228, 197, 104, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  gap: 1rem;
  z-index: 1200;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  flex-shrink: 0;
}
.topbar__brand:hover .topbar__titles strong {
  color: var(--gold-300);
}
.topbar__brand:hover .topbar__medal {
  border-color: var(--gold-300);
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 15px rgba(211, 168, 60, 0.7);
}

.topbar__medal {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2.5px solid var(--gold-500);
  background: var(--cream);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: logoGlow 3s infinite ease-in-out;
}
.topbar__medal img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

@keyframes logoGlow {
  0% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 10px rgba(211, 168, 60, 0.3); }
  50% { box-shadow: 0 6px 25px rgba(0, 0, 0, 0.45), 0 0 22px rgba(211, 168, 60, 0.7); }
  100% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 10px rgba(211, 168, 60, 0.3); }
}

.topbar__titles {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-width: 0;
}
.topbar__titles strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--cream);
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1;
  display: flex;
  align-items: center;
}

.topbar__center {
  display: none;
}
.topbar__link {
  background: rgba(3, 29, 20, 0.82) !important; /* Base verde fosco com baixa opacidade para ver a foto do fundo */
  border: 1.5px solid rgba(228, 197, 104, 0.6);
  color: #ffffff; /* Texto em branco */
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  z-index: 1;
}

/* Fundo dos botoes: degrade verde da marca.
   Antes cada botao carregava uma foto do Unsplash por tras, em opacidade
   baixa. Alem de poluir visualmente, eram 4 requisicoes a um servidor
   externo a cada carregamento da pagina. */
.topbar__link::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(26, 82, 56, 0.95) 0%, rgba(5, 31, 21, 0.7) 100%);
  z-index: -1;
  transition: background 0.3s ease;
}

.topbar__link:hover::before {
  background: linear-gradient(135deg, rgba(38, 112, 78, 0.98) 0%, rgba(10, 53, 38, 0.85) 100%);
}

.topbar__link-logo {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold-400);
  background: #ffffff;
  display: inline-block;
  flex-shrink: 0;
  margin-top: -1px;
}

.topbar__link i {
  color: #ffffff; /* Ícone em branco */
  font-size: 0.84rem;
  transition: transform 0.25s ease, color 0.25s ease;
  position: relative;
  z-index: 2;
}

.topbar__link span {
  position: relative;
  z-index: 2;
}
.topbar__link:hover {
  background: linear-gradient(135deg, rgba(228, 197, 104, 0.25) 0%, rgba(228, 197, 104, 0.08) 100%);
  color: #ffffff;
  border-color: #E4C568;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(228, 197, 104, 0.3);
}
.topbar__link:hover i {
  color: #ffffff;
  transform: scale(1.15);
}
.topbar__link:active {
  transform: scale(0.97);
}
.topbar__link--active {
  background: linear-gradient(135deg, #E4C568, #C9A24B) !important;
  color: #043825 !important;
  font-weight: 700;
  border-color: #E4C568 !important;
  box-shadow: 0 6px 20px rgba(228, 197, 104, 0.45) !important;
  animation: activePulse 2.5s infinite ease-in-out;
}
.topbar__link--active::before {
  opacity: 0 !important;
}
.topbar__link--active i {
  color: #043825 !important;
  background: linear-gradient(135deg, #022015 0%, #094d33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.topbar__link--active span {
  color: #043825 !important;
  background: linear-gradient(135deg, #022015 0%, #094d33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes activePulse {
  0% { box-shadow: 0 4px 12px rgba(228, 197, 104, 0.2), inset 0 0 6px rgba(228, 197, 104, 0.1); border-color: rgba(228, 197, 104, 0.7); }
  50% { box-shadow: 0 4px 18px rgba(228, 197, 104, 0.45), inset 0 0 10px rgba(228, 197, 104, 0.2); border-color: rgba(228, 197, 104, 0.95); }
  100% { box-shadow: 0 4px 12px rgba(228, 197, 104, 0.2), inset 0 0 6px rgba(228, 197, 104, 0.1); border-color: rgba(228, 197, 104, 0.7); }
}

#btn-header-admin {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid rgba(228, 197, 104, 0.6);
  border-radius: 999px;
  background: rgba(3, 29, 20, 0.82) !important;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}
#btn-header-admin:hover {
  background: linear-gradient(135deg, rgba(228, 197, 104, 0.25) 0%, rgba(228, 197, 104, 0.08) 100%) !important;
  color: #ffffff;
  border-color: #E4C568;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(228, 197, 104, 0.3);
}
#btn-header-admin i {
  color: #ffffff !important;
  font-size: 0.84rem;
  transition: transform 0.25s ease, color 0.25s ease;
}
#btn-header-admin:hover i {
  color: #ffffff !important;
  transform: scale(1.15);
}

.topbar__right { display: flex; align-items: center; gap: 0.75rem; flex-wrap: nowrap; justify-content: flex-end; }

/* Category buttons group (individual separated buttons) */
.topbar__categories {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  background: rgba(228, 197, 104, 0.08);
  border: 1.5px solid rgba(228, 197, 104, 0.5);
  color: #E4C568;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.mobile-menu-btn:hover {
  background: rgba(228, 197, 104, 0.18);
  border-color: #ffd35c;
}
.mobile-menu-btn i {
  font-size: 1.1rem;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-green-very-dark);
  border-top: 1px solid rgba(211, 168, 60, 0.3);
  z-index: 2000;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
}

.mobile-nav-btn {
  background: transparent;
  border: none;
  color: rgba(255, 248, 231, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.7rem;
  min-width: 44px;
  min-height: 44px;
  text-decoration: none;
  cursor: pointer;
}

.mobile-nav-btn i {
  font-size: 1.1rem;
}

.mobile-nav-btn--active, .mobile-nav-btn:hover {
  color: var(--color-gold-main);
}
.mobile-nav-btn:hover img, .mobile-nav-btn--active img {
  transform: scale(1.12);
  border-color: #ffffff !important;
}

@media (max-width: 992px) {
  .topbar__center { display: none; }
  .desktop-only { display: none; }
  .mobile-bottom-nav { display: flex; }
}

/* Bottom controls wrapper (Auto-Visualizar + Layer Switcher side by side) */
.map-bottom-controls {
  position: absolute;
  bottom: 20px;
  left: 525px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-panel--collapsed ~ .map-container .map-bottom-controls,
.side-panel.side-panel--collapsed + .map-container .map-bottom-controls,
body.side-panel--collapsed .map-bottom-controls {
  left: 20px;
}

.map-floating-toolbar {
  position: static;
  display: flex;
  align-items: center;
  background: rgba(3, 29, 20, 0.88);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--gold-500);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Toolbar now bottom-centered, no side-panel position adjustment needed */

.map-auto-update-toggle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-cream);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.map-auto-update-toggle input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox {
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid var(--gold-500);
  border-radius: 4px;
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

/* Quando o input estiver selecionado */
.map-auto-update-toggle input:checked ~ .custom-checkbox {
  background: var(--grad-gold);
  border-color: var(--gold-400);
}

/* Criar o indicador de seleção (o "check") */
.custom-checkbox::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 1.5px;
  width: 4px;
  height: 8px;
  border: solid var(--green-950);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Mostrar o check quando selecionado */
.map-auto-update-toggle input:checked ~ .custom-checkbox::after {
  display: block;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--grad-gold);
  color: var(--green-950);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 0.55rem 1.1rem;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  box-shadow: 0 6px 18px rgba(201, 162, 75, 0.28);
}
.btn-gold:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 9px 22px rgba(201, 162, 75, 0.4); }
.btn-gold--full { width: 100%; justify-content: center; border-radius: 10px; padding: 0.7rem 1rem; font-size: 0.88rem; }

/* ---------- estrutura ---------- */
.layout { flex: 1; display: flex; min-height: 0; position: relative; }

/* ---------- barra lateral ---------- */
.sidebar {
  width: 332px;
  flex: 0 0 332px;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(201, 162, 75, 0.08), transparent 55%),
    var(--cream);
  border-right: 1px solid rgba(201, 162, 75, 0.5);
  display: flex;
  flex-direction: column;
  min-height: 0;
  z-index: 1100;
}

.sidebar__head { padding: 1.1rem 1.2rem 0.6rem; }
/* Botão "Voltar ao mapa" — só aparece no celular */
.sidebar__fechar {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1.5px solid var(--gold-500);
  background: linear-gradient(150deg, var(--green-800), var(--green-950));
  color: var(--gold-300);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.sidebar__fechar:active { transform: scale(0.98); }
.sidebar__head h1 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.1;
}
.sidebar__head p {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-500);
  margin-top: 0.25rem;
}
.sidebar__head p:empty {
  display: none;
  margin: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  padding: 0.7rem 1.2rem 0.3rem;
}
.stat {
  background: #fff;
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-top: 3px solid var(--dot, var(--gold-500));
  border-radius: 10px;
  padding: 0.5rem 0.15rem 0.45rem;
  text-align: center;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.stat:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(5, 31, 21, 0.12); }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-variant-numeric: lining-nums;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1;
}
.stat > span { font-size: 0.54rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.stat--todos { --dot: var(--ink-soft); }
.stat--disp { --dot: var(--disp); }
.stat--res  { --dot: var(--res); }
.stat--vend { --dot: var(--vend); }

.ordenacao {
  margin: 0.65rem 1.2rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
  color: var(--green-950);
  font-family: var(--font-body);
}
.ordenacao svg {
  color: var(--green-950);
  flex-shrink: 0;
  display: inline-block;
}
.ordenacao select {
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  width: 100%;
  background: transparent;
  color: var(--green-950);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 1.5rem;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23051f15' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 11px;
}

.lista { flex: 1; overflow-y: auto; padding: 0.3rem 0.8rem 1rem; min-height: 0; scrollbar-width: thin; scrollbar-color: rgba(201,162,75,.6) transparent; }

.lista__quadra {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green-800);
  padding: 0.7rem 0.4rem 0.25rem;
  border-bottom: 1px solid rgba(201, 162, 75, 0.35);
  margin-bottom: 0.3rem;
  position: sticky;
  top: 0;
  background: var(--cream);
  z-index: 2;
}

.lote-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.42rem 0.5rem;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.lote-item:hover { background: rgba(255, 255, 255, 0.85); border-color: rgba(201, 162, 75, 0.4); }
.lote-item--sel { background: #fff; border-color: var(--gold-500); box-shadow: 0 4px 12px rgba(5,31,21,.1); }
.lote-item .dot { flex: 0 0 9px; }
.lote-item__id { font-weight: 600; font-size: 0.85rem; color: var(--green-900); width: 3.2rem; }
.lote-item__meta { font-size: 0.74rem; color: var(--ink-soft); flex: 1; }
.lote-item__preco { font-size: 0.78rem; font-weight: 600; color: var(--green-800); font-variant-numeric: lining-nums; }
.lote-item--vendido .lote-item__preco { color: var(--ink-soft); text-decoration: line-through; opacity: .6; }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.dot--disp { background: var(--disp); }
.dot--res  { background: var(--res); }
.dot--vend { background: var(--vend); }
.dot--exc  { background: var(--exclusivo); }

/* ---------- mapa ---------- */
.mapwrap { flex: 1; position: relative; min-width: 0; }
#mapa { position: absolute; inset: 0; background: #0d271b; }

/* pinos de localização numerados */
.pin { filter: drop-shadow(0 5px 8px rgba(5, 31, 21, 0.5)); transition: opacity 0.2s ease; }
.pin svg { display: block; overflow: visible; }
.pin__corpo { stroke: #f8f4e9; stroke-width: 2; }
.pin__disco { fill: rgba(248, 244, 233, 0.94); }
.pin__num {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 600;
  fill: var(--green-900);
}
.pin--disponivel .pin__corpo { fill: var(--disp); }
.pin--reservado  .pin__corpo { fill: var(--res); }
.pin--vendido    .pin__corpo { fill: var(--vend); }
.pin--exclusivo  .pin__corpo { fill: var(--exclusivo); }
.pin--dim { opacity: 0.25; }
.pin--sel { filter: drop-shadow(0 0 6px rgba(230, 201, 121, 0.95)) drop-shadow(0 6px 10px rgba(5, 31, 21, 0.55)); z-index: 1000 !important; }
.pin--sel svg { transform: scale(1.22); transform-origin: 50% 100%; }
.pin--sel .pin__corpo { stroke: var(--gold-300); stroke-width: 2.5; }

/* controles flutuantes */
.basemap {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1000;
  display: flex;
  background: var(--green-950);
  border: 1px solid rgba(201, 162, 75, 0.55);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.basemap__btn {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border: none;
  background: transparent;
  color: rgba(248, 244, 233, 0.7);
  cursor: pointer;
  transition: all 0.15s ease;
}
.basemap__btn--ativo { background: var(--grad-gold); color: var(--green-950); font-weight: 600; }

.legenda {
  position: absolute;
  bottom: 22px;
  left: 14px;
  z-index: 1000;
  background: rgba(5, 31, 21, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201, 162, 75, 0.5);
  border-radius: 12px;
  padding: 0.55rem 0.95rem;
  display: flex;
  gap: 1rem;
  color: var(--cream);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-lg);
}
.legenda span { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ---------- cartão de detalhes ---------- */
.detalhe {
  position: absolute;
  top: 60px;
  left: 14px;
  z-index: 1050;
  width: 290px;
  background: var(--cream);
  border: 1px solid var(--gold-500);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 0 0 1.15rem;
  overflow: hidden;
  animation: surgir 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes surgir {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.detalhe__fechar {
  position: absolute;
  top: 8px; right: 10px;
  z-index: 20;
  border: none;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(5, 31, 21, 0.55);
  backdrop-filter: blur(4px);
  font-size: 1.2rem;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}
.detalhe__fechar:hover { background: rgba(5, 31, 21, 0.85); }

.detalhe__badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--badge, var(--disp));
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}
.detalhe__topo h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;        /* equilibra as linhas automaticamente */
  overflow-wrap: break-word;
}
.detalhe__topo p { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.2rem; }

.detalhe__preco {
  font-family: var(--font-display);
  font-variant-numeric: lining-nums;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--green-950);
  margin: 0.5rem 0 0.6rem;
}
.detalhe__preco small { font-size: 0.85rem; font-family: var(--font-body); font-weight: 400; }

.detalhe__ficha {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.8rem;
  border-top: 1px solid rgba(201, 162, 75, 0.4);
  padding-top: 0.65rem;
}
/* o atributo [hidden] precisa vencer o display:grid/flex acima */
.detalhe__ficha[hidden], .detalhe__tags[hidden] { display: none !important; }
.detalhe__ficha dt { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); }
.detalhe__ficha dd { font-size: 0.9rem; font-weight: 500; color: var(--green-900); font-variant-numeric: lining-nums; }

.detalhe__obs { font-size: 0.78rem; font-style: italic; color: var(--ink-soft); margin: 0.55rem 0 0.75rem; min-height: 1em; }

/* ---------- modo editor ---------- */
.editor {
  position: absolute;
  bottom: 22px;
  right: 14px;
  z-index: 1050;
  width: 300px;
  background: var(--green-950);
  border: 1px dashed var(--gold-400);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}
.editor__head { font-weight: 600; letter-spacing: 0.14em; font-size: 0.72rem; color: var(--gold-300); margin-bottom: 0.4rem; }
.editor__modo { display: flex; gap: 0.4rem; margin-bottom: 0.5rem; }
.editor__modo .chip { color: var(--cream); border-color: rgba(248, 244, 233, 0.35); }
.editor__modo .chip--ativo { background: var(--grad-gold); color: var(--green-950); border-color: transparent; }
.editor p { font-size: 0.76rem; color: rgba(248, 244, 233, 0.75); margin-bottom: 0.5rem; }
.editor__coord { font-size: 0.72rem; font-variant-numeric: tabular-nums; color: var(--gold-300); margin-bottom: 0.5rem; }
.editor textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: 8px;
  color: var(--cream);
  font-family: Consolas, monospace;
  font-size: 0.68rem;
  padding: 0.5rem;
  resize: vertical;
  margin-bottom: 0.55rem;
}

/* botão lista (mobile) */
.lista-toggle {
  display: none;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1060;
  background: linear-gradient(150deg, var(--green-800), var(--green-950));
  color: var(--gold-300);
  border: 1.6px solid var(--gold-500);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 0.78rem 1.9rem;
  box-shadow: 0 14px 30px -10px rgba(5, 31, 21, 0.7), inset 0 1px 0 rgba(201, 162, 75, 0.3);
  cursor: pointer;
}

/* leaflet: ajustes de tema */
.leaflet-bar {
  border: 1.5px solid var(--gold-500) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35) !important;
  overflow: hidden;
}
.leaflet-control-zoom a {
  background: var(--green-950) !important;
  color: var(--gold-300) !important;
  border: none !important;
}
.leaflet-control-zoom-in {
  border-bottom: 1.5px solid rgba(201, 162, 75, 0.35) !important;
}
.leaflet-control-zoom a:hover { background: var(--green-800) !important; }
.leaflet-control-attribution { background: rgba(5, 31, 21, 0.75) !important; color: rgba(248,244,233,.6) !important; font-size: 9px !important; }
.leaflet-control-attribution a { color: var(--gold-300) !important; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  /* ---- cabeçalho limpo no celular ---- */
  .topbar { padding: 0 0.7rem; gap: 0.5rem; }
  .btn-topbar-site { display: none !important; }   /* remove o "Website" central que bagunçava */
  .topbar__brand { flex: 1 1 auto; min-width: 0; padding-left: 0 !important; }
  .topbar__medal {
    position: static !important;
    transform: none !important;
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
    border: 1.5px solid var(--gold-500) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  }
  .topbar__titles { min-width: 0; }
  .topbar__titles strong { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar__titles span { font-size: 0.55rem; }
  .topbar__right { gap: 0.55rem; flex-shrink: 0; }
  .map-bottom-controls {
    left: 20px !important;
  }
  /* WhatsApp vira um círculo verde só de ícone (vence a regra base mais abaixo) */
  .topbar__right #topbar-whats {
    font-size: 0 !important;
    gap: 0 !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;
    background: linear-gradient(150deg, #2bb35a, #1d8a44) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 18px -6px rgba(29, 138, 68, 0.7) !important;
    animation: none !important;
    flex-shrink: 0 !important;
  }
  .topbar__right #topbar-whats svg, .topbar__right #topbar-whats i {
    width: 22px !important;
    height: 22px !important;
    font-size: 1.35rem !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  /* Ocultar cadeado/login e Instagram do cabeçalho no mobile (acesso mantido no menu principal) */
  #btn-header-admin,
  .topbar__right #btn-header-admin,
  #topbar-instagram,
  .topbar__right #topbar-instagram,
  .btn-instagram-header {
    display: none !important;
  }

  .layout { position: relative; }
  .sidebar {
    position: absolute;
    inset: 0;
    width: 100%;
    flex: none;
    z-index: 1300;
    transform: translateY(105%);
    transition: transform 0.3s cubic-bezier(0.3, 0.8, 0.3, 1);
    border-right: none;
  }
  .sidebar--aberta { transform: none; }
  .sidebar__fechar { display: inline-flex; }
  .lista-toggle { display: block; }

  .detalhe {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 86vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px 18px 0 0;
    animation-name: subir;
  }
  /* com o detalhe aberto, o botão "Lotes" some para não sobrepor */
  .mapwrap:has(.detalhe:not([hidden])) .lista-toggle { display: none; }
  @keyframes subir {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: none; opacity: 1; }
  }

  /* legenda no canto INFERIOR ESQUERDO, empilhada e compacta */
  .legenda {
    top: auto;
    bottom: 14px;
    left: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.68rem;
    max-width: none;
    width: max-content;
  }
  .basemap { top: 14px; }
  .editor { width: calc(100% - 28px); bottom: 80px; }
}

/* ---------- Tooltips Personalizados ---------- */
.pin-tooltip {
  background: var(--green-950) !important;
  color: var(--gold-300) !important;
  border: 1px solid var(--gold-500) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.7rem !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 10px rgba(5, 31, 21, 0.4) !important;
  border-bottom-width: 2px !important;
}
.pin-tooltip::before {
  border-top-color: var(--green-950) !important;
}

.guadalupe-tooltip {
  background: rgba(5, 31, 21, 0.92) !important;
  color: var(--cream) !important;
  border: 1px solid var(--gold-500) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 0.65rem !important;
  text-align: center !important;
  padding: 4px 10px !important;
  border-radius: 30px !important;
  box-shadow: 0 4px 14px rgba(5, 31, 21, 0.5), 0 0 10px rgba(201, 162, 75, 0.35) !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}
.guadalupe-tooltip::before {
  display: none !important;
}

/* ---------- Marcadores dos Pontos de Interesse (Landmark) no Mapa ---------- */
.pin-landmark {
  /* O Leaflet posiciona marcadores com position:absolute. Sobrescrever
     para relative joga cada marcador no fluxo normal, empilhando um
     sobre o outro e deslocando a posicao a cada nivel de zoom. */
  position: absolute !important;
  width: 36px !important;
  height: 48px !important;
  background: transparent !important;
  border: none !important;
}

/* O SVG do pino fica travado nas dimensões corretas */
.pin-landmark svg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 36px !important;
  height: 48px !important;
  display: block !important;
  z-index: 2 !important;
}

/* Animação hover no corpo do pino */
.pin-landmark__corpo {
  transition: transform 0.2s ease, filter 0.2s ease;
  transform-origin: 18px 46px;
}
.pin-landmark:hover svg {
  transform: scale(1.15);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Nome embaixo - posicionado absolutamente sem interferir na coordenada */
.landmark-label {
  position: absolute !important;
  top: 50px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: none !important;
  backdrop-filter: none !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0 !important;
  font-family: var(--font-body);
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: normal;         /* permite quebrar em mais de uma linha */
  max-width: 130px;            /* nomes longos quebram; curtos ficam numa linha */
  text-align: center;
  line-height: 1.25;
  text-wrap: balance;          /* equilibra as linhas */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), -1.5px -1.5px 0 #051f15, 1.5px -1.5px 0 #051f15, -1.5px 1.5px 0 #051f15, 1.5px 1.5px 0 #051f15;
  box-shadow: none !important;
  z-index: 4 !important;
}
.pin-landmark--valor .landmark-label {
  color: var(--gold-300) !important;
  font-size: 0.76rem !important;
  text-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.95), -1.5px -1.5px 0 #051f15, 1.5px -1.5px 0 #051f15, -1.5px 1.5px 0 #051f15, 1.5px 1.5px 0 #051f15;
}

/* Efeito Gota Caindo (Pulso de Ondulação) na Base da Área de Valor */
.landmark-pulse {
  position: absolute !important;
  top: 17.6px !important; /* Exatamente no centro do disco branco do pino (cy=17.6) */
  left: 18px !important;  /* Exatamente no centro do disco branco do pino (cx=18) */
  transform: translate(-50%, -50%) !important;
  width: 24px !important;
  height: 24px !important;
  z-index: 1 !important;
}

.landmark-pulse__ring {
  position: absolute !important;
  width: 24px !important;
  height: 24px !important;
  border: 2px solid var(--gold-400);
  border-radius: 50%;
  background: transparent;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
  transform-origin: center;
}

.landmark-pulse__ring--2 { animation-delay: 0.66s !important; }
.landmark-pulse__ring--3 { animation-delay: 1.33s !important; }

@keyframes pulse-ring {
  0% {
    transform: scale(0.5);
    opacity: 0.85;
  }
  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

/* ---------- Seções Retráteis da Barra Lateral (Nítidas) ---------- */
.sidebar__secoes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1.2rem 1rem;
}

.sidebar__secao {
  background: #fff;
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(5,31,21,0.04);
}

.secao-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
  border: none;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-950);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}
.secao-toggle:hover {
  background: var(--cream-2);
}

.secao-toggle .arrow-icon {
  transition: transform 0.25s ease;
  color: var(--gold-500);
}
.secao-toggle--aberto .arrow-icon {
  transform: rotate(180deg);
}

.secao-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background: #fff;
}
.secao-content--aberto {
  max-height: 500px;
  overflow-y: auto;
  transition: max-height 0.3s ease-in-out;
  border-top: 1px solid rgba(201, 162, 75, 0.2);
}

.landmark-item {
  width: 100%;
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201, 162, 75, 0.15);
  padding: 0.55rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--green-900);
  cursor: pointer;
  text-align: left;
  transition: background 0.12s ease, padding-left 0.12s ease;
}
.landmark-item:last-child {
  border-bottom: none;
}
.landmark-item:hover {
  background: rgba(201, 162, 75, 0.08);
  color: var(--gold-500);
  padding-left: 1.1rem;
}

/* ---------- Nitidez da Barra Lateral (Texto mais Escuro e Sharp) ---------- */
.sidebar__head h1 {
  color: var(--green-950) !important;
  letter-spacing: -0.01em;
}
.sidebar__head p {
  color: #a37e2f !important;
  font-weight: 600 !important;
}

.stats {
  padding: 0.7rem 1.2rem 0.5rem;
}
.stat {
  box-shadow: 0 2px 8px rgba(5,31,21,0.03);
}

/* TODOS: Sempre Verde Escuro */
.stat--todos {
  background: var(--green-950) !important;
  border: 1px solid var(--green-950) !important;
}
.stat--todos strong {
  color: var(--gold-300) !important;
}
.stat--todos span {
  color: #fff !important;
}

/* DISPONÍVEL: Verde Claro (Inativo) e Verde Escuro (Ativo) */
.stat--disp {
  background: #eaf7ed !important;
  border: 1px solid #c3e6cb !important;
}
.stat--disp strong {
  color: #1b5e20 !important;
}
.stat--disp span {
  color: #1b5e20 !important;
}
.stat--disp.stat--ativo {
  background: #1b5e20 !important;
  border-color: #1b5e20 !important;
}
.stat--disp.stat--ativo strong {
  color: #ffffff !important;
}
.stat--disp.stat--ativo span {
  color: #eaf7ed !important;
}

/* RESERVADO: Amarelo Claro (Inativo) e Amarelo Escuro/Mostarda (Ativo) */
.stat--res {
  background: #fef9e7 !important;
  border: 1px solid #ffeeba !important;
}
.stat--res strong {
  color: #b58900 !important;
}
.stat--res span {
  color: #b58900 !important;
}
.stat--res.stat--ativo {
  background: #b58900 !important;
  border-color: #b58900 !important;
}
.stat--res.stat--ativo strong {
  color: #ffffff !important;
}
.stat--res.stat--ativo span {
  color: #fef9e7 !important;
}

/* VENDIDO: Vermelho Claro (Inativo) e Vermelho Escuro (Ativo) */
.stat--vend {
  background: #fdf2f2 !important;
  border: 1px solid #f5c6cb !important;
}
.stat--vend strong {
  color: #b82525 !important;
}
.stat--vend span {
  color: #b82525 !important;
}
.stat--vend.stat--ativo {
  background: #b82525 !important;
  border-color: #b82525 !important;
}
.stat--vend.stat--ativo strong {
  color: #ffffff !important;
}
.stat--vend.stat--ativo span {
  color: #fdf2f2 !important;
}



.ordenacao {
  border: 1.5px solid rgba(201, 162, 75, 0.5) !important;
}
.ordenacao svg {
  color: var(--green-950) !important;
}
.ordenacao select {
  font-weight: 600 !important;
  color: var(--green-950) !important;
}

.lista__quadra {
  color: var(--green-950) !important;
  border-bottom: 1.5px solid rgba(201, 162, 75, 0.5) !important;
  font-weight: 800 !important;
  margin-top: 0.4rem;
}

.lote-item {
  background: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(201, 162, 75, 0.2) !important;
  margin-bottom: 0.35rem !important;
  box-shadow: 0 1px 4px rgba(5,31,21,0.02) !important;
}
.lote-item:hover {
  background: #fff !important;
  border-color: var(--gold-500) !important;
}
.lote-item--sel {
  background: #fff !important;
  border-color: var(--gold-400) !important;
  border-width: 1.5px !important;
  box-shadow: 0 4px 10px rgba(5,31,21,0.08) !important;
}
.lote-item__id {
  color: var(--green-950) !important;
  font-weight: 700 !important;
}
.lote-item__meta {
  color: var(--green-900) !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
}
.lote-item__preco {
  color: var(--green-950) !important;
  font-weight: 700 !important;
}

/* ---------- Estrelas de Avaliação (suporta meia-estrela) ---------- */
.stars {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  font-size: 0.65rem;
  line-height: 1;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
.stars__bg { color: rgba(10, 45, 31, 0.22); }
.stars__fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  color: #f1c40f;
  text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.15);
}
.detalhe__estrelas {
  margin: 0.15rem 0 0.3rem;
  display: block;
}
.detalhe__estrelas .stars {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

/* ---------- Efeito de Shimmer / Alta Valorização ---------- */
.shimmery-text {
  background: linear-gradient(90deg, #5ed699 0%, #a2ffd1 25%, #5ed699 50%, #a2ffd1 75%, #5ed699 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  font-weight: 800 !important;
  animation: textShimmer 3s linear infinite;
  border-color: rgba(94, 214, 153, 0.4) !important;
}

@keyframes textShimmer {
  to { background-position: 200% center; }
}

/* ---------- Planta Técnica SVG do Lote ---------- */
.detalhe__planta {
  width: 100%;
  height: 175px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: #0a2d1f;
  flex-shrink: 0;
  display: block;
}
.detalhe__planta svg { display: block; }

/* ---------- Hero de marca (Pontos de Interesse) ---------- */
.poi-hero {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(130% 100% at 50% 0%, #0f4633, #062218 78%);
}
.poi-hero__photos { position: absolute; inset: 0; }
.poi-hero__ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.poi-hero__ph.is-on { opacity: 1; }
/* slide da logomarca: mostra inteira, sem cortar; a cor do letterbox vem do capaBg (inline) */
.poi-hero__ph--logo { object-fit: contain; background: #0a3d2e; }
.poi-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 34, 24, 0.35) 0%, rgba(6, 34, 24, 0.55) 55%, rgba(6, 34, 24, 0.82) 100%);
}
.poi-hero__emblem {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.poi-hero__emblem svg {
  width: 60%;
  max-width: 178px;
  height: auto;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.55));
}

/* ---------- Selos de pilares (Pontos de Interesse) ---------- */
.detalhe__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.1rem 0 0.2rem;
}
.detalhe__tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-900);
  background: rgba(201, 162, 75, 0.14);
  border: 1px solid rgba(201, 162, 75, 0.45);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.detalhe__corpo {
  padding: 0.95rem 1.15rem 1.15rem;
  overflow-y: auto;
  flex-grow: 1;
}


/* Linha limite do terreno - amarelo nítido */
.lote-diagram__polygon {
  fill: rgba(255, 235, 59, 0.06);
  stroke: #ffeb3b;
  stroke-width: 2.2;
  stroke-dasharray: 4 4;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

/* Linhas de cota amarelas */
.lote-diagram__line {
  stroke: #ffeb3b;
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

/* Labels de cotas em amarelo bem nítido */
.lote-diagram__label {
  fill: #ffeb3b;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 800;
  text-shadow: 
    -1px -1px 2px #000, 
     1px -1px 2px #000, 
    -1px  1px 2px #000, 
     1px  1px 2px #000,
     0px  2px 4px rgba(0,0,0,0.8);
}

/* ---------- Card Premium de Valorização (Sidebar) ---------- */
.premium-card {
  margin: 0.5rem 1.2rem 1.2rem;
  background: radial-gradient(120% 60% at 100% 100%, rgba(201, 162, 75, 0.12), transparent 75%), var(--green-900);
  border: 1.5px solid var(--gold-500);
  border-radius: 14px;
  padding: 0.9rem;
  box-shadow: 0 10px 25px rgba(5, 31, 21, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
.premium-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(5, 31, 21, 0.35);
}

.premium-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(201, 162, 75, 0.25);
  padding-bottom: 0.5rem;
}

.premium-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.premium-card__trend {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(46, 158, 107, 0.15);
  color: #5ed699;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 214, 153, 0.25);
}

.premium-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.premium-card__stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.premium-card__counts {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(248, 244, 233, 0.85);
  font-weight: 500;
  flex-shrink: 0;
}

.premium-card__counts strong {
  color: var(--gold-300);
  font-weight: 700;
}

.premium-card__counts .counts-dot {
  color: var(--gold-400);
  opacity: 0.6;
  margin: 0 0.1rem;
}

.premium-card__progress-block {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-grow: 1;
  min-width: 0;
  justify-content: flex-end;
}

.premium-card__progress-block .progress-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(248, 244, 233, 0.55);
  font-weight: 600;
  flex-shrink: 0;
}

.premium-card__graph-bar {
  width: 75px;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.premium-card__graph-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--width, 0%);
  background: var(--grad-gold);
  border-radius: 999px;
  animation: graphFill 1.2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes graphFill {
  from { width: 0%; }
  to { width: var(--width); }
}



.premium-card__visuals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.premium-card__icon-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 162, 75, 0.15);
  border-radius: 8px;
  padding: 0.45rem 0.2rem;
  text-align: center;
  color: var(--gold-300);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  transition: background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  outline: none;
}
.premium-card__icon-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-300);
}
.premium-card__icon-box svg {
  color: var(--gold-400);
}
.premium-card__icon-box span {
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: var(--cream);
}

/* ---------- Botão Whatsapp de Contato no Detalhe ---------- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  background: #25D366 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0.7rem 1.4rem !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35) !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.btn-whatsapp:hover {
  background: #20ba56 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45) !important;
}

/* ---------- CRECI em Negrito ---------- */
.topbar__creci {
  font-weight: 700 !important;
  color: var(--gold-300) !important;
}

/* ---------- Destaque da Zona de Guadalupe (Alta Valorização Pulsante) ---------- */
.premium-card__trend {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  background: linear-gradient(135deg, #1b5e20, #2e7d32) !important;
  color: #ffffff !important;
  font-size: 0.62rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  padding: 0.25rem 0.6rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 235, 59, 0.4) !important;
  box-shadow: 0 0 10px rgba(46, 125, 50, 0.4), 0 0 5px rgba(255, 235, 59, 0.2) !important;
  position: relative !important;
  overflow: hidden !important;
  animation: valorizacao-pulse 1.8s infinite alternate !important;
}
@keyframes valorizacao-pulse {
  0% { box-shadow: 0 0 8px rgba(46, 125, 50, 0.3); transform: scale(0.96); }
  100% { box-shadow: 0 0 18px rgba(46, 125, 50, 0.8), 0 0 10px rgba(255, 235, 59, 0.5); transform: scale(1.04); }
}

/* ---------- Estilização dos Ícones das Abas Retráteis ---------- */
.toggle-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
}

.toggle-icon {
  width: 15px !important;
  height: 15px !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.toggle-icon--praia {
  fill: #2196f3 !important;
}

.toggle-icon--valor {
  fill: #b8860b !important; /* dark goldenrod for excellent contrast on light backgrounds */
}

/* ---------- Setas de Navegação do Hero de Imagens ---------- */
.poi-hero__btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 15 !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(5, 31, 21, 0.65) !important;
  backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(201, 162, 75, 0.45) !important;
  border-radius: 50% !important;
  color: var(--cream) !important;
  cursor: pointer !important;
  transition: background 0.15s ease, transform 0.15s ease !important;
  padding: 0 !important;
}
.poi-hero__btn:hover {
  background: rgba(5, 31, 21, 0.9) !important;
  transform: translateY(-50%) scale(1.08) !important;
}
.poi-hero__btn--prev { left: 8px !important; }
.poi-hero__btn--next { right: 8px !important; }

/* ============================================================
   MINI-INDICADORES DO IMÓVEL (quartos, banheiros, vagas…)
   ============================================================ */
.detalhe__minis {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.55rem 0 0.15rem;
}
.detalhe__minis[hidden], .detalhe__feats[hidden] { display: none !important; }
.mini {
  flex: 1 1 0;
  min-width: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  background: #fff;
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 9px;
  padding: 0.38rem 0.1rem 0.3rem;
  color: var(--gold-500);
}
.mini b {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--green-950);
  line-height: 1;
}
.mini i {
  font-style: normal;
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.detalhe__tag--feat {
  background: rgba(46, 158, 107, 0.1);
  border-color: rgba(46, 158, 107, 0.45);
  color: #1d6b47;
}

/* ============================================================
   PAINEL ADMINISTRADOR
   ============================================================ */

/* ---- cadeado no topo ---- */
.btn-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(248, 244, 233, 0.75);
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}
.btn-admin:hover { border-color: var(--gold-300); color: var(--gold-300); }
.btn-admin--on {
  background: var(--grad-gold);
  color: var(--green-950);
  border-color: transparent;
  box-shadow: 0 0 12px rgba(212, 175, 86, 0.5);
}

/* ---- botões do admin ---- */
.adm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 75, 0.55);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.adm-btn:hover { background: rgba(201, 162, 75, 0.2); border-color: var(--gold-300); }
.adm-btn--novo { background: var(--grad-gold); color: var(--green-950); border-color: transparent; }
.adm-btn--novo:hover { filter: brightness(1.07); background: var(--grad-gold); }
.adm-btn--fantasma { border-color: rgba(248, 244, 233, 0.3); background: transparent; }
.adm-btn--atencao {
  background: #2e9e6b;
  border-color: transparent;
  box-shadow: 0 0 0 0 rgba(46, 158, 107, 0.6);
  animation: adm-pulsa 1.6s infinite;
}
@keyframes adm-pulsa {
  0% { box-shadow: 0 0 0 0 rgba(46, 158, 107, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(46, 158, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 158, 107, 0); }
}
.adm-btn--editar { border-color: rgba(16, 64, 44, 0.4); background: var(--green-900); }
.adm-btn--excluir { border-color: rgba(194, 90, 80, 0.6); background: rgba(194, 90, 80, 0.12); color: #a13c33; }
.adm-btn--excluir:hover { background: #c25a50; border-color: #c25a50; color: #fff; }
.adm-btn--mapa { width: 100%; border-style: dashed; margin-top: 0.35rem; }

/* ---- barra de ferramentas lateral direita ---- */
.adm-bar {
  position: absolute;
  top: 80px;
  right: 14px;
  width: 250px;
  z-index: 1150;
  display: flex;
  flex-direction: column;
  background: rgba(5, 31, 21, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-500);
  border-radius: 16px;
  padding: 1.25rem 1.1rem;
  box-shadow: var(--shadow-lg);
  gap: 1.1rem;
  box-sizing: border-box;
  max-height: calc(100% - 100px);
  overflow-y: auto;
}
.adm-bar[hidden] { display: none !important; }

.adm-bar__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(201, 162, 75, 0.25);
  padding-bottom: 0.8rem;
}
.adm-bar__selo {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--green-950);
  background: var(--grad-gold);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}
.adm-bar__titulo {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.adm-bar__section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.adm-bar__section-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-400);
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}
.adm-bar__buttons-row {
  display: flex;
  gap: 0.5rem;
}
.adm-bar__buttons-row button {
  flex: 1;
}

/* ---- faixa de captura ---- */
.adm-captura {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1150;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(5, 31, 21, 0.94);
  border: 1px dashed var(--gold-300);
  border-radius: 999px;
  padding: 0.45rem 0.55rem 0.45rem 1rem;
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: surgir 0.25s ease;
}
.adm-captura[hidden] { display: none !important; }

/* durante a captura: mira e cliques passam direto pros mapa */
.modo-captura #mapa { cursor: crosshair !important; }
.modo-captura .pin,
.modo-captura .pin-landmark,
.modo-captura path.leaflet-interactive { pointer-events: none !important; }
.modo-captura .pin-tooltip { opacity: 0.25 !important; }

/* ---- login ---- */
.adm-login {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(5, 31, 21, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.adm-login[hidden] { display: none !important; }
.adm-login__caixa {
  position: relative;
  width: 320px;
  max-width: 100%;
  background: var(--cream);
  border: 1px solid var(--gold-500);
  border-radius: 18px;
  padding: 1.6rem 1.4rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: surgir 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.adm-login__cadeado {
  width: 54px;
  height: 54px;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-900);
  color: var(--gold-300);
  border: 2px solid var(--gold-500);
}
.adm-login__caixa h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-950);
}
.adm-login__caixa p {
  font-size: 0.74rem;
  color: var(--ink-soft);
  margin: 0.2rem 0 0.9rem;
}
.adm-login__caixa input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid rgba(201, 162, 75, 0.55);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  outline: none;
  text-align: center;
  letter-spacing: 0.12em;
  margin-bottom: 0.7rem;
}
.adm-login__caixa input:focus { border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(212, 175, 86, 0.2); }
.adm-login__erro {
  font-size: 0.74rem;
  font-weight: 600;
  color: #a13c33;
  margin: -0.25rem 0 0.6rem;
}
.adm-login__erro[hidden] { display: none !important; }
.adm-shake { animation: adm-shake 0.4s ease; }
@keyframes adm-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-9px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(4px); }
}

/* ---- gaveta do formulário ---- */
.adm-drawer {
  position: fixed;
  top: 66px;
  right: 0;
  bottom: 0;
  width: 390px;
  max-width: 100vw;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(140% 50% at 100% 0%, rgba(201, 162, 75, 0.1), transparent 60%),
    var(--green-950);
  border-left: 1px solid var(--gold-500);
  box-shadow: -18px 0 45px rgba(5, 31, 21, 0.45);
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.25, 0.9, 0.3, 1);
}
.adm-drawer--aberto { transform: translateX(0); }
.adm-drawer--recolhido { transform: translateX(105%) !important; }

.adm-drawer__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(201, 162, 75, 0.35);
  flex-shrink: 0;
}
.adm-drawer__topo h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-300);
  letter-spacing: 0.02em;
}
.adm-drawer__topo .detalhe__fechar { position: static; }

.adm-drawer__corpo {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem 1.1rem 1.2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 75, 0.6) transparent;
}

.adm-drawer__rodape {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem 1.1rem;
  border-top: 1px solid rgba(201, 162, 75, 0.35);
  flex-shrink: 0;
}
.adm-drawer__rodape .btn-gold { flex: 1; justify-content: center; border-radius: 10px; }

.adm-secao { margin-bottom: 1.05rem; }
.adm-secao h3 {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-400);
  border-bottom: 1px solid rgba(201, 162, 75, 0.25);
  padding-bottom: 0.3rem;
  margin-bottom: 0.55rem;
}

.adm-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.5rem; }
.adm-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; margin-bottom: 0.5rem; }

.adm-campo { display: flex; flex-direction: column; gap: 0.22rem; min-width: 0; }
.adm-campo > span {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(248, 244, 233, 0.65);
}
.adm-drawer input[type="text"],
.adm-drawer input[type="number"],
.adm-drawer input[type="password"],
.adm-drawer select,
.adm-drawer textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.adm-drawer input:focus, .adm-drawer select:focus, .adm-drawer textarea:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(212, 175, 86, 0.18);
}
.adm-drawer select option { background: var(--green-950); color: var(--cream); }
.adm-drawer textarea { resize: vertical; }

.adm-checks { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.adm-check { position: relative; cursor: pointer; }
.adm-check input { position: absolute; opacity: 0; pointer-events: none; }
.adm-check span {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(248, 244, 233, 0.8);
  border: 1px solid rgba(248, 244, 233, 0.3);
  border-radius: 999px;
  padding: 0.34rem 0.75rem;
  transition: all 0.15s ease;
  user-select: none;
}
.adm-check:hover span { border-color: var(--gold-300); }
.adm-check input:checked + span {
  background: var(--grad-gold);
  color: var(--green-950);
  border-color: transparent;
  font-weight: 700;
}

.adm-poly { display: flex; gap: 0.4rem; align-items: center; }
.adm-poly .adm-btn--mapa { flex: 1; }
.adm-poly .adm-btn--fantasma { margin-top: 0.35rem; }
.adm-poly-status {
  font-size: 0.7rem;
  color: rgba(248, 244, 233, 0.55);
  margin-top: 0.35rem;
}
.adm-poly-status.ok { color: #5ed699; font-weight: 600; }
.adm-dica {
  font-size: 0.66rem;
  color: rgba(248, 244, 233, 0.5);
  margin-top: 0.35rem;
}
.adm-dica b { color: var(--gold-300); }

/* ---- ações de admin no cartão de detalhes ---- */
.detalhe__admin {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(201, 162, 75, 0.45);
}
.detalhe__admin[hidden] { display: none !important; }
.detalhe__admin .adm-btn { flex: 1; }

/* ---- toast ---- */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 16px);
  z-index: 1600;
  max-width: min(92vw, 460px);
  background: rgba(5, 31, 21, 0.96);
  color: var(--cream);
  border: 1px solid var(--gold-500);
  border-radius: 12px;
  padding: 0.65rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast--on { opacity: 1; transform: translate(-50%, 0); }
.toast--erro { border-color: #c25a50; color: #ffd9d5; }

/* ---- responsivo ---- */
@media (max-width: 900px) {
  .adm-drawer { width: 100vw; top: 66px; }
  .adm-bar {
    position: absolute;
    top: auto;
    bottom: 22px;
    left: 14px;
    right: 14px;
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 12px;
    padding: 0.6rem;
    gap: 0.6rem;
  }
  .adm-bar__header { display: none; }
  .adm-bar__section { display: flex; flex-direction: row; align-items: center; gap: 0.4rem; }
  .adm-bar__section-title { display: none; }
  .adm-bar__buttons-row { display: flex; gap: 0.4rem; }
  .adm-bar__section button, .adm-bar__buttons-row button { padding: 0.45rem 0.7rem; font-size: 0.7rem; }
  .btn-admin { width: 32px; height: 32px; }
}

/* ============================================================
   CTA DE WHATSAPP EM DESTAQUE
   ============================================================ */

/* botão do topo: verde WhatsApp com respiração de brilho */
#topbar-whats {
  background: linear-gradient(135deg, #31d76e, #1fba58 60%, #17a94c);
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.62rem 1.25rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  animation: whats-respira 2.4s ease-in-out infinite;
}
#topbar-whats:hover {
  filter: brightness(1.08);
  box-shadow: 0 9px 24px rgba(37, 211, 102, 0.55);
}
@keyframes whats-respira {
  0%, 100% { box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35); }
  50%      { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.65), 0 0 16px rgba(37, 211, 102, 0.35); }
}

/* botão flutuante sobre o mapa (canto inferior direito) */
.whats-float {
  position: absolute;
  right: 16px;
  bottom: 28px;
  z-index: 1080;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #33da71, #1fba58 55%, #149c45);
  color: #fff;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 0.55rem 1.3rem 0.55rem 0.6rem;
  box-shadow: 0 10px 28px rgba(5, 31, 21, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: whats-onda 2.2s cubic-bezier(0.45, 0, 0.4, 1) infinite;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.whats-float:hover { transform: translateY(-3px) scale(1.03); filter: brightness(1.07); }
@keyframes whats-onda {
  0%   { box-shadow: 0 10px 28px rgba(5, 31, 21, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 10px 28px rgba(5, 31, 21, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 28px rgba(5, 31, 21, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}
.whats-float__icone {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}
.whats-float__txt {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.whats-float__txt b {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  /* no celular vira bolinha (o texto some), acima do botão ☰ Lotes */
  .whats-float { padding: 0.5rem; bottom: 84px; right: 12px; }
  .whats-float__txt { display: none; }
}

/* Botão Ver mais no site */
.btn-ver-mais {
  display: inline-flex;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  background: transparent !important;
  color: var(--gold-500) !important;
  border: 1.5px solid var(--gold-500) !important;
  border-radius: 999px !important;
  padding: 0.7rem 1.4rem !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 0.5rem !important;
}
.btn-ver-mais:hover {
  background: var(--gold-500) !important;
  color: var(--green-950) !important;
  box-shadow: 0 4px 12px rgba(201, 162, 75, 0.25) !important;
}

/* Hover do botão de voltar ao site no topbar */
.btn-topbar-site:hover {
  background: var(--gold-500) !important;
  color: var(--green-950) !important;
  box-shadow: 0 4px 12px rgba(201, 162, 75, 0.3) !important;
  transform: translateY(-1px);
}

/* Fotos Anexo */
.adm-fotos-anexo-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.adm-foto-slot {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(201, 162, 75, 0.25);
  border-radius: 8px;
  padding: 0.5rem;
}
.adm-foto-slot__lbl {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.adm-foto-slot__wrapper {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.adm-foto-slot__preview {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(201, 162, 75, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.adm-foto-slot__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.adm-foto-slot__preview svg {
  color: rgba(248, 244, 233, 0.25);
}
.adm-foto-slot__inputs {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.adm-foto-slot__path {
  font-size: 0.75rem !important;
  padding: 0.25rem 0.5rem !important;
  background: rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(201, 162, 75, 0.25) !important;
}
.adm-foto-slot__botoes {
  display: flex;
  gap: 0.4rem;
}
.adm-foto-slot__botoes .adm-btn {
  padding: 0.25rem 0.6rem !important;
  font-size: 0.7rem !important;
  height: auto !important;
  border-radius: 4px !important;
}
.adm-btn-anexar {
  background: var(--gold-500) !important;
  color: var(--green-950) !important;
  font-weight: 700 !important;
  border: none !important;
}
.adm-btn-anexar:hover {
  background: var(--gold-400) !important;
}

/* Ocultar detalhes ao embutir no site principal */
html.is-embed .detalhe {
  display: none !important;
}

/* ============================================================
   GÊMEOS MAP V1 - LUXURY DESIGN SYSTEM & ULTIMATE COMPONENTS
   ============================================================ */

/* ---------- Shimmer & Metallic Gold Animations ---------- */
@keyframes goldShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-gold {
  background: linear-gradient(110deg, #a37e2f 0%, #d4af56 30%, #fff 50%, #d4af56 70%, #b18a37 100%) !important;
  background-size: 200% 100% !important;
  animation: goldShimmer 3s infinite linear !important;
}

@keyframes goldPulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 162, 75, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(201, 162, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 162, 75, 0); }
}

.pin-beira-mar {
  animation: goldPulse 2s infinite;
}

/* ---------- Glassmorphism & Layout Core ---------- */
.map-container {
  flex: 1;
  position: relative;
  height: 100%;
  width: 100%;
  z-index: 1;
}

#map {
  width: 100%;
  height: 100%;
  background: var(--green-950);
}

.side-panel {
  width: 510px; /* Expandido para que os botões não fiquem em cima da borda */
  max-width: 90vw;
  position: absolute;
  top: 81px;
  bottom: 15px;
  left: 0;
  height: auto; /* Permite esticar de acordo com top e bottom */
  z-index: 1050;
  background: rgba(5, 31, 21, 0.88);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 3px solid #E4C568;
  border-left: none;
  border-radius: 0 16px 16px 0;
  box-shadow: 10px 10px 35px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-panel--collapsed {
  left: -510px;
}

.sidebar-toggle-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -32px;
  width: 32px;
  height: 70px;
  background: rgba(3, 29, 20, 0.95);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--gold-500);
  border-left: none;
  border-radius: 0 12px 12px 0;
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1200;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
}

.sidebar-toggle-btn:hover {
  background: var(--grad-gold);
  color: var(--green-950);
  border-color: var(--gold-400);
  width: 36px;
  right: -36px;
}

.side-panel--collapsed .sidebar-toggle-btn {
  right: -32px;
  background: rgba(3, 29, 20, 0.98);
  border: 1.5px solid var(--gold-500);
  border-left: none;
  border-radius: 0 12px 12px 0;
  width: 32px;
  height: 70px;
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 9999 !important;
}

.side-panel--collapsed .sidebar-toggle-btn:hover {
  width: 36px;
  right: -36px;
}

/* Botão Verde WhatsApp Falar Conosco no Cabeçalho */
.btn-whatsapp-header {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-whatsapp-header i {
  font-size: 1.15rem;
  color: #ffffff;
}
.btn-whatsapp-header:hover {
  transform: translateY(-2px) scale(1.03);
  background: linear-gradient(135deg, #20ba5a, #0e7065);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

/* Botão Instagram no Cabeçalho Desktop */
.btn-instagram-header {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-instagram-header i {
  font-size: 1.15rem;
  color: #ffffff;
}

.btn-instagram-header:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 22px rgba(220, 39, 67, 0.55);
  color: #ffffff !important;
}

@media (max-width: 992px) {
  .btn-instagram-header,
  #topbar-instagram {
    display: none !important;
  }
}

/* Header & Search inside Side Panel */
.panel-header {
  padding: 1.2rem 1.4rem 0.8rem;
  border-bottom: 1px solid rgba(201, 162, 75, 0.2);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 0.8rem;
}
.search-box i {
  position: absolute;
  left: 1rem;
  color: var(--gold-400);
}
.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.8rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 162, 75, 0.3);
  border-radius: 12px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: all 0.2s ease;
}
.search-input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-400);
  box-shadow: 0 0 15px rgba(201, 162, 75, 0.25);
}

select.search-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e4c568' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 12px;
  padding-right: 2.2rem !important;
  cursor: pointer;
  background-color: rgba(3, 29, 20, 0.98) !important;
  border: 1.5px solid rgba(228, 197, 104, 0.4) !important;
  color: var(--cream) !important;
}

select.search-input:focus {
  border-color: var(--gold-400) !important;
  box-shadow: 0 0 15px rgba(201, 162, 75, 0.35) !important;
  background-color: rgba(3, 29, 20, 0.98) !important;
}

select.search-input option {
  background-color: #031D14 !important;
  color: #F8F4E9 !important;
  padding: 0.75rem;
  font-family: var(--font-body);
}

/* Custom Checkbox styles for Filter Modal */
.modal-content input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--gold-400);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  transition: all 0.2s ease;
}

.modal-content input[type="checkbox"]:checked {
  background: var(--grad-gold);
  border-color: var(--gold-400);
}

.modal-content input[type="checkbox"]::after {
  content: "";
  position: absolute;
  display: none;
  left: 4.5px;
  top: 1.5px;
  width: 4px;
  height: 8px;
  border: solid var(--green-950);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.modal-content input[type="checkbox"]:checked::after {
  display: block;
}

.modal-content label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  user-select: none;
  transition: color 0.2s ease;
}

.modal-content label:hover {
  color: #ffffff;
}

/* Category Horizontal Slider Pills */
.category-slider {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  padding: 0.8rem 1.4rem 0.2rem;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  justify-content: center; /* Centraliza as categorias no painel */
}
.category-slider::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}
.category-slider::after {
  content: '';
  flex: 0 0 1.4rem; /* Garante espaço de respiro na ponta direita ao rolar */
  display: block;
}
.pill-btn {
  flex: 0 0 auto;
  padding: 0.45rem 0.95rem;
  background: rgba(3, 29, 20, 0.88) !important; /* Verde fosco escuro oficial */
  border: 1.8px solid #E4C568 !important; /* Traçado dourado bem visível */
  border-radius: 20px;
  color: #ffffff; /* Texto em branco */
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
/* Mesmo degrade verde dos botoes da topbar, sem fotos externas */
.pill-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(26, 82, 56, 0.95) 0%, rgba(5, 31, 21, 0.7) 100%);
  z-index: -1;
  transition: background 0.3s ease;
}
.pill-btn:hover::before {
  background: linear-gradient(135deg, rgba(38, 112, 78, 0.98) 0%, rgba(10, 53, 38, 0.85) 100%);
}
/* O botao ativo usa o dourado da marca, entao o fundo verde sai de cena */
.pill-btn--active::before {
  background: transparent !important;
}
.pill-btn i,
.pill-btn span {
  position: relative;
  z-index: 2;
}
.pill-btn i {
  color: #ffffff; /* Ícone em branco */
  transition: transform 0.25s ease, color 0.25s ease;
}
.pill-btn:hover {
  color: #ffffff;
  border-color: #ffd700 !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(228, 197, 104, 0.45);
}
.pill-btn:hover i {
  color: #ffffff;
  transform: scale(1.15);
}
.pill-btn--active {
  background: linear-gradient(135deg, #E4C568, #C9A24B) !important;
  color: #043825 !important;
  border: 2px solid #ffd700 !important;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(228, 197, 104, 0.5) !important;
}
.pill-btn--active i {
  color: #043825 !important;
  background: linear-gradient(135deg, #022015 0%, #094d33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pill-btn--active span {
  color: #043825 !important;
  background: linear-gradient(135deg, #022015 0%, #094d33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Property Feed Container */
.panel-feed {
  flex: 1;
  overflow-y: auto;
  padding: 0.8rem 1.4rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-behavior: smooth;
}

/* Indicador animado de scroll / mouse para indicar mais opções abaixo */
.feed-scroll-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(3, 29, 20, 0.94);
  border: 1.8px solid #E4C568;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  color: #ffffff;
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.65), 0 0 16px rgba(228, 197, 104, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1150;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s;
  pointer-events: auto;
  animation: feedScrollHintPulse 2.4s infinite ease-in-out;
}

.feed-scroll-hint:hover {
  background: rgba(5, 45, 32, 0.98);
  border-color: #ffd700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 22px rgba(228, 197, 104, 0.5);
  transform: translateX(-50%) translateY(-2px);
}

.feed-scroll-hint--hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateX(-50%) translateY(16px) !important;
  pointer-events: none !important;
}

.feed-scroll-hint .mouse-icon {
  width: 16px;
  height: 24px;
  border: 1.8px solid #E4C568;
  border-radius: 10px;
  position: relative;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.feed-scroll-hint .mouse-wheel {
  width: 2.5px;
  height: 5px;
  background-color: #E4C568;
  border-radius: 2px;
  position: absolute;
  top: 3.5px;
  animation: mouseWheelMove 1.5s infinite ease-in-out;
}

@keyframes mouseWheelMove {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  65% {
    opacity: 0.1;
    transform: translateY(8px);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

.feed-scroll-hint .mouse-hint-text {
  color: #f5f0e1;
  white-space: nowrap;
}

.feed-scroll-hint .mouse-hint-arrow {
  color: #E4C568;
  font-size: 0.75rem;
  animation: mouseArrowBounce 1.5s infinite ease-in-out;
}

@keyframes mouseArrowBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

@keyframes feedScrollHintPulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.65), 0 0 14px rgba(228, 197, 104, 0.25);
  }
  50% {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.75), 0 0 24px rgba(228, 197, 104, 0.5);
  }
}


/* Property Card Design Matching the Reference Image Overlay Style */
.property-card {
  background: rgba(10, 32, 25, 0.95);
  border: 1.8px solid #E4C568; /* Traçado dourado bem nítido e visível */
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.property-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: #ffd700;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 16px rgba(228, 197, 104, 0.4);
}

.property-card--selected {
  border: 2.5px solid #ffd700;
  box-shadow: 0 0 25px rgba(228, 197, 104, 0.65);
}

.card-thumb {
  height: 160px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8, 26, 21, 0.4) 85%, rgba(8, 26, 21, 0.8) 100%);
  pointer-events: none;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.property-card:hover .card-thumb img {
  transform: none;
}

/* Card Internal Carousel Nav Buttons */
.card-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(3, 29, 20, 0.88);
  border: 1.5px solid rgba(228, 197, 104, 0.55);
  color: #E4C568;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  opacity: 0.95;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  font-size: 0.82rem;
}

.card-carousel-btn:hover,
.card-carousel-btn:active {
  background: #E4C568;
  color: #031D14;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 14px rgba(228, 197, 104, 0.4);
  opacity: 1;
}

.card-carousel-btn--prev { left: 8px; }
.card-carousel-btn--next { right: 8px; }

.card-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 5;
}
.dot-item {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
}
.dot-item--active {
  background: var(--gold-400);
  width: 14px;
  border-radius: 4px;
}

.card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  z-index: 4;
}
.badge {
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-gold { background: var(--grad-gold); color: var(--green-950); }
.badge-teal { background: #1a5238; color: #7ef1c6; border: 1px solid #2e9e6b; }
.badge-dark { background: rgba(5, 31, 21, 0.85); color: var(--cream); border: 1px solid rgba(201, 162, 75, 0.4); }
.badge-red { background: #5a1a1a; color: #f17e7e; border: 1px solid #9e2e2e; }

.btn-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(5, 31, 21, 0.7);
  border: 1px solid rgba(201, 162, 75, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
}
.btn-fav:hover, .btn-fav--active {
  background: var(--grad-gold);
  color: var(--green-950);
  border-color: var(--gold-400);
}

.card-content {
  padding: 1rem;
}
.card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-300);
}
.card-code {
  font-size: 0.7rem;
  color: #E4C568;
  font-weight: 700;
  text-transform: uppercase;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cream);
  margin: 0.3rem 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-location {
  font-size: 0.78rem;
  color: rgba(248, 244, 233, 0.7);
  margin-bottom: 0.6rem;
}
.card-description {
  font-size: 0.76rem;
  color: rgba(248, 244, 233, 0.6);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-features {
  display: flex;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(201, 162, 75, 0.15);
  font-size: 0.75rem;
  color: rgba(248, 244, 233, 0.85);
}

.card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.btn-card-detail {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 0.65rem 0.8rem;
  background: rgba(3, 29, 20, 0.95); /* Background verde escuro */
  border: 1.5px solid #E4C568; /* Traçado dourado */
  border-radius: 8px;
  color: #ffffff; /* Texto branco */
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.btn-card-detail:hover {
  background: #E4C568; /* Inverte no hover */
  border-color: #E4C568;
  color: #031D14;
  box-shadow: 0 6px 18px rgba(228, 197, 104, 0.4);
  transform: translateY(-1px);
  text-shadow: none;
}
.btn-card-compare {
  width: 36px;
  height: 36px;
  background: rgba(201, 162, 75, 0.15);
  border: 1px solid var(--gold-400);
  border-radius: 8px;
  color: var(--gold-300);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.btn-card-compare--active { background: var(--gold-500); color: var(--green-950); }
.btn-card-whatsapp {
  width: 36px;
  height: 36px;
  background: #25d366;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Side-by-Side Property Comparison Drawer */
.comparison-drawer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1500;
  background: rgba(5, 31, 21, 0.92);
  backdrop-filter: blur(15px);
  border: 1px solid var(--gold-500);
  border-radius: 16px;
  padding: 0.8rem 1.2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--cream);
}
.comp-thumbs {
  display: flex;
  gap: 0.5rem;
}
.comp-item {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gold-400);
}
.comp-item img { width: 100%; height: 100%; object-fit: cover; }
.comp-remove {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: #c25a50;
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Custom Leaflet Pins */
.div-pin-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 90px !important;
  height: 42px !important;
  /* O Leaflet posiciona marcadores com position:absolute. Sobrescrever
     para relative joga cada marcador no fluxo normal, empilhando um
     sobre o outro e deslocando a posicao a cada nivel de zoom. */
  position: absolute !important;
}
.custom-pin {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  background: #083d2c;
  border: 2px solid var(--gold-400);
  border-radius: 10px;
  padding: 3px 10px 3px 3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  box-sizing: border-box;
  height: 42px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.custom-pin:hover, .custom-pin--hovered {
  border-color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.85);
  z-index: 9999;
}
.custom-pin--selected {
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(212, 175, 86, 0.9);
}
.pin-thumb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 6px;
  border: 2px solid #2e9e6b;
}
.pin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pin-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.pin-label-top {
  font-size: 0.6rem;
  font-weight: 700;
  color: #ffea00; /* Nome LOTE em amarelo brilhante */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pin-label-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffea00; /* Número em amarelo brilhante */
  white-space: nowrap;
}

.map-layer-switcher {
  position: static;
  display: flex;
  gap: 3px;
  background: rgba(5, 31, 21, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Legacy collapsed rules removed - handled by .map-bottom-controls now */
.btn-map-layer {
  padding: 0.35rem 0.75rem;
  background: transparent;
  border: none;
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.btn-layer--active {
  background: var(--grad-gold);
  color: var(--green-950);
}

/* Modals Core */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal--open {
  display: flex;
}
.modal-content {
  background: var(--green-900);
  border: 3px solid #E4C568;
  border-radius: 20px;
  width: 100%;
  max-width: 950px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  color: var(--cream);
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-900);
  border: 2px solid var(--gold-500);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1210;
  cursor: pointer;
}

/* Side-by-Side Property Comparison Drawer */
.comparison-drawer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1500;
  background: rgba(5, 31, 21, 0.92);
  backdrop-filter: blur(15px);
  border: 1px solid var(--gold-500);
  border-radius: 16px;
  padding: 0.8rem 1.2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--cream);
}
.comp-thumbs {
  display: flex;
  gap: 0.5rem;
}
.comp-item {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gold-400);
}
.comp-item img { width: 100%; height: 100%; object-fit: cover; }
.comp-remove {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: #c25a50;
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Custom Leaflet Pins */
.div-pin-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 90px !important;
  height: 42px !important;
  /* O Leaflet posiciona marcadores com position:absolute. Sobrescrever
     para relative joga cada marcador no fluxo normal, empilhando um
     sobre o outro e deslocando a posicao a cada nivel de zoom. */
  position: absolute !important;
}
.custom-pin {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  background: #083d2c;
  border: 2px solid var(--gold-400);
  border-radius: 10px;
  padding: 3px 10px 3px 3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  box-sizing: border-box;
  height: 42px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.custom-pin:hover, .custom-pin--hovered {
  border-color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.85);
  z-index: 9999;
}
.custom-pin--selected {
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(212, 175, 86, 0.9);
}
.pin-thumb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 6px;
  border: 2px solid #2e9e6b;
}
.pin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pin-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.pin-label-top {
  font-size: 0.6rem;
  font-weight: 700;
  color: #ffea00; /* Nome LOTE em amarelo brilhante */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pin-label-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffea00; /* Número em amarelo brilhante */
  white-space: nowrap;
}

.map-layer-switcher {
  position: static;
  display: flex;
  gap: 3px;
  background: rgba(5, 31, 21, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Legacy collapsed rules removed - handled by .map-bottom-controls now */
.btn-map-layer {
  padding: 0.35rem 0.75rem;
  background: transparent;
  border: none;
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.btn-layer--active {
  background: var(--grad-gold);
  color: var(--green-950);
}

/* Modals Core */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal--open {
  display: flex;
}
.modal-content {
  background: var(--green-900);
  border: 3px solid #E4C568;
  border-radius: 20px;
  width: 100%;
  max-width: 950px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  color: var(--cream);
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(3, 29, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid var(--gold-400);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1250;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 12px rgba(228, 197, 104, 0.3);
  transition: all 0.25s ease;
}
.modal-close:hover {
  background: var(--gold-500);
  color: var(--green-950);
  transform: scale(1.08) rotate(90deg);
  border-color: var(--gold-400);
}

/* Detail Modal Styles */
.detail-container {
  padding: 0 0 3.5rem 0;
  width: 100%;
}
.detail-content-wrap,
.detail-container > *:not(.detail-gallery-carousel) {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.detail-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--cream);
  margin-top: 0.2rem;
  margin-bottom: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
/* Interactive Carousel Gallery Header - 16:9 Cinematic Stage */
.detail-gallery-carousel {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.5rem;
  width: 100%;
}

.detail-gallery-main {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 520px;
  position: relative;
  cursor: pointer;
  border-radius: 17px 17px 0 0;
  overflow: hidden;
  background: #031D14;
  border: none;
  border-bottom: 2px solid rgba(228, 197, 104, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Opções com Foto Única (Terrenos/Áreas): Formato 16:9 */
.detail-gallery-carousel--single .detail-gallery-main {
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 520px;
  border-radius: 17px 17px 0 0;
}

.detail-gallery-carousel--single .detail-gallery-thumbs {
  display: none !important;
}

.detail-gallery-main picture {
  display: block;
  width: 100%;
  height: 100%;
}

.detail-gallery-main img,
#detail-main-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.detail-gallery-main:hover img {
  transform: none;
}

.gallery-zoom-overlay {
  display: none !important;
}

.detail-gallery-main:hover .gallery-zoom-overlay {
  display: none !important;
}

.detail-gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.8rem 1.5rem 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(228, 197, 104, 0.3) transparent;
}

.detail-gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}

.detail-gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(228, 197, 104, 0.3);
  border-radius: 2px;
}

.thumb-item {
  flex: 0 0 85px; /* Tamanho proporcional para as miniaturas */
  height: 55px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumb-item:hover {
  opacity: 0.85;
}

.thumb-item--active {
  border-color: #E4C568 !important;
  opacity: 1 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(228, 197, 104, 0.25);
}

/* Gallery Nav Buttons Overlay */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(3, 29, 20, 0.85);
  border: 1.5px solid rgba(228, 197, 104, 0.45);
  color: #E4C568;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.gallery-nav-btn:hover {
  background: #E4C568;
  color: #031D14;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(228, 197, 104, 0.4);
}

.gallery-nav-btn--prev {
  left: 15px;
}

.gallery-nav-btn--next {
  right: 15px;
}

@media (max-width: 768px) {
  .gallery-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  .gallery-nav-btn--prev {
    left: 8px;
  }
  .gallery-nav-btn--next {
    right: 8px;
  }
}

/* ============================================================
   BOTÃO DE WHATSAPP DIRETO ABAIXO DA IMAGEM DO IMÓVEL (MODAL)
   ============================================================ */
.detail-whatsapp-action {
  margin: 0.85rem 0 1rem 0;
  width: 100%;
}

.btn-detail-whatsapp-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1.4rem;
  background: linear-gradient(135deg, #2fe575, #25D366 50%, #1eb853);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.25s ease;
  animation: whats-respira 2.5s ease-in-out infinite;
  box-sizing: border-box;
}

.btn-detail-whatsapp-banner:hover {
  background: linear-gradient(135deg, #3bf084, #25D366 50%, #1ba349);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
  filter: brightness(1.06);
}

.btn-detail-whatsapp-banner:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}

.btn-detail-whatsapp-banner i {
  font-size: 1.4rem;
  line-height: 1;
}

/* ============================================================
   TECHNICAL SPECIFICATIONS BAR (Linha Reta - 3 Opções Exclusivas)
   ============================================================ */
.detail-specs-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: rgba(5, 31, 21, 0.85);
  border: 1.5px solid rgba(228, 197, 104, 0.3);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  margin-top: 0;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  width: 100%;
}

.spec-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: rgba(228, 197, 104, 0.06);
  border: 1px solid rgba(228, 197, 104, 0.18);
  transition: all 0.2s ease;
  box-sizing: border-box;
  min-width: 0;
}

.spec-item:hover {
  background: rgba(228, 197, 104, 0.1);
  border-color: rgba(228, 197, 104, 0.35);
  transform: translateY(-1px);
}

.spec-item i {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(228, 197, 104, 0.12);
  border: 1px solid rgba(228, 197, 104, 0.25);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.spec-item div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
}

.spec-item strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cream);
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spec-item span {
  font-size: 0.65rem;
  color: rgba(248, 244, 233, 0.75);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   CARD DE DESTAQUES (ACIMA DO TÍTULO DA OPÇÃO)
   ============================================================ */
.detail-destaques-top-card {
  background: rgba(10, 53, 38, 0.65);
  border: 1.5px solid rgba(228, 197, 104, 0.35);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  margin-top: 0;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.detail-destaques-top-card__header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-bottom: 1px dashed rgba(228, 197, 104, 0.22);
  padding-bottom: 0.5rem;
  margin-bottom: 0.65rem;
}

.detail-destaques-top-card__header i {
  color: var(--gold-400);
  font-size: 1rem;
}

.detail-destaques-top-card__header h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-300);
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.detail-destaques-top-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.detail-destaques-top-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(248, 244, 233, 0.92);
}

.detail-destaques-top-card__list li i {
  color: #22c55e;
  font-size: 0.85rem;
  margin-top: 0.22rem;
  flex-shrink: 0;
}

/* ============================================================
   ESTILOS DE CARDS ESTRUTURADOS E REFERÊNCIAS DO IMÓVEL (MODAL)
   ============================================================ */
.detail-info-card {
  background: rgba(10, 53, 38, 0.55);
  border: 1.5px solid rgba(228, 197, 104, 0.22);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-top: 0.85rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.detail-info-card__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(228, 197, 104, 0.2);
  padding-bottom: 0.5rem;
}

.detail-info-card__header i {
  color: var(--gold-400);
  font-size: 1rem;
}

.detail-info-card__header h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--gold-300);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.detail-info-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.detail-info-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: rgba(248, 244, 233, 0.92);
  line-height: 1.45;
}

.detail-info-card__list li i {
  color: var(--gold-400);
  font-size: 0.82rem;
  margin-top: 0.22rem;
  flex-shrink: 0;
}

/* ============================================================
   PROXIMIDADE E OPÇÕES NA REGIÃO (SEM FOTOS - ESPAÇO OTIMIZADO)
   ============================================================ */
.detail-proximity-container {
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.proximity-block {
  background: rgba(10, 53, 38, 0.65);
  border: 1.5px solid rgba(228, 197, 104, 0.28);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.proximity-block--nearby {
  background: rgba(8, 42, 30, 0.75);
  border-color: rgba(228, 197, 104, 0.35);
}

.proximity-section-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.proximity-section-header i {
  color: var(--gold-400);
  font-size: 1.05rem;
}

.proximity-section-header h4 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gold-300);
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.proximity-section-subtitle {
  color: rgba(248, 244, 233, 0.72);
  font-size: 0.82rem;
  margin: 0 0 0.85rem 0;
  line-height: 1.4;
}

/* Lista de pontos de interesse / proximidade */
.proximity-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.proximity-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  background: rgba(4, 28, 19, 0.7);
  border: 1px solid rgba(228, 197, 104, 0.2);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.proximity-item-card:hover {
  border-color: rgba(228, 197, 104, 0.5);
  background: rgba(4, 28, 19, 0.9);
  transform: translateY(-1px);
}

.proximity-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.proximity-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(228, 197, 104, 0.12);
  border: 1px solid rgba(228, 197, 104, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.proximity-item-details {
  flex: 1;
  min-width: 0;
}

.proximity-item-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.proximity-item-name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-display);
}

.proximity-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold-300);
  background: rgba(228, 197, 104, 0.15);
  border: 1px solid rgba(228, 197, 104, 0.3);
  padding: 1px 7px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.proximity-item-info {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(248, 244, 233, 0.75);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proximity-item-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.proximity-dist {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-300);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  background: rgba(10, 53, 38, 0.8);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(228, 197, 104, 0.2);
}

.proximity-dist i {
  color: var(--gold-400);
  font-size: 0.75rem;
}

.btn-prox-map {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.btn-prox-map:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* Grid de opções na mesma região */
.nearby-props-grid {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.nearby-prop-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  background: rgba(4, 28, 19, 0.75);
  border: 1.5px solid rgba(228, 197, 104, 0.22);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  transition: all 0.2s ease;
}

.nearby-prop-card:hover {
  border-color: rgba(228, 197, 104, 0.55);
  background: rgba(4, 28, 19, 0.95);
  transform: translateY(-1px);
}

.nearby-prop-left {
  flex: 1;
  min-width: 0;
}

.nearby-prop-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.nearby-prop-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold-300);
  background: rgba(228, 197, 104, 0.18);
  border: 1px solid rgba(228, 197, 104, 0.35);
  padding: 1px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.nearby-prop-dist {
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nearby-prop-title {
  margin: 0 0 0.3rem 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-display);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nearby-prop-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.nearby-prop-cat {
  color: rgba(248, 244, 233, 0.7);
  font-size: 0.76rem;
}

.nearby-prop-price {
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.88rem;
}

.nearby-prop-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-nearby-view {
  background: linear-gradient(135deg, rgba(228, 197, 104, 0.2) 0%, rgba(201, 162, 75, 0.3) 100%);
  color: var(--gold-300);
  border: 1px solid rgba(228, 197, 104, 0.4);
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-nearby-view:hover {
  background: linear-gradient(135deg, rgba(228, 197, 104, 0.35) 0%, rgba(201, 162, 75, 0.5) 100%);
  color: #ffffff;
  border-color: var(--gold-400);
  transform: translateY(-1px);
}

.btn-nearby-map {
  background: rgba(10, 53, 38, 0.9);
  color: #a7f3d0;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-nearby-map:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ---------- Grid de Fotos / Ambientes do Imóvel ---------- */
.detail-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.detail-photo-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(228, 197, 104, 0.22);
  background: #031d14;
}

.detail-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.detail-photo-card:hover img {
  transform: scale(1.08);
}

.detail-photo-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 29, 20, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.detail-photo-card:hover .detail-photo-card__overlay {
  opacity: 1;
}

.btn-more-photos {
  margin-top: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(228, 197, 104, 0.1);
  border: 1px solid rgba(228, 197, 104, 0.35);
  border-radius: 8px;
  color: var(--gold-300);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-more-photos:hover {
  background: rgba(228, 197, 104, 0.22);
  border-color: var(--gold-400);
  color: #ffffff;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
}

.detail-sidebar {
  position: sticky;
  top: 15px;
  align-self: start;
}

.luxury-price-box {
  background: rgba(5, 31, 21, 0.9);
  border: 1px solid var(--gold-500);
  border-radius: 16px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.price-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-300);
}
.broker-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 162, 75, 0.2);
  border-radius: 14px;
  padding: 1rem;
  margin-top: 1rem;
}
.broker-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold-400);
  overflow: hidden;
}
.broker-avatar img { width: 100%; height: 100%; object-fit: cover; }
.broker-info { display: flex; flex-direction: column; }
.broker-info h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.15rem;
}
.broker-info p {
  font-size: 0.72rem;
  color: var(--gold-300);
  margin-bottom: 0.25rem;
}
.broker-info a {
  font-size: 0.78rem;
  color: var(--gold-400);
  text-decoration: none;
  transition: color 0.2s ease;
}
.broker-info a:hover {
  color: var(--cream);
  text-decoration: underline;
}

/* Responsive Mobile Bottom Sheet Snap Positions */
@media (max-width: 992px) {
  .mobile-menu-btn {
    display: flex !important; /* Mostra o botão do menu no mobile */
  }
  .topbar__categories {
    display: none !important; /* Esconde por padrão no mobile */
  }
  .topbar__categories.topbar__categories--open {
    display: flex !important;
    position: absolute !important;
    top: 75px !important;
    right: 1.25rem !important;
    background: rgba(3, 29, 20, 0.96) !important;
    border: 1.5px solid var(--gold-500) !important;
    border-radius: 16px !important;
    padding: 0.8rem !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    z-index: 3500 !important;
  }
  .side-panel {
    width: 100vw;
    max-width: 100vw;
    height: 60vh;
    top: auto;
    bottom: 60px !important; /* Posiciona logo acima da barra inferior de 60px */
    left: 0;
    border: none;
    border-top: 3px solid #E4C568;
    border-radius: 24px 24px 0 0;
    z-index: 1500; /* Acima do mapa mas abaixo do menu inferior */
  }
  .side-panel--collapsed {
    left: 0 !important; /* Previne ocultar para a esquerda no mobile */
  }
  .sidebar-toggle-btn {
    display: none !important;
  }
  .bottom-sheet-handle {
    width: 60px;
    height: 5px;
    background: var(--gold-400);
    border-radius: 4px;
    margin: 10px auto 4px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 10px rgba(228, 197, 104, 0.4);
    transition: transform 0.2s ease, background 0.2s ease;
  }
  .bottom-sheet-handle::before {
    content: '';
    position: absolute;
    top: -12px;
    bottom: -12px;
    left: -20px;
    right: -20px;
    cursor: pointer;
  }
  .bottom-sheet-handle:active {
    transform: scale(0.95);
    background: var(--gold-300);
  }
  .panel--collapsed {
    transform: translateY(calc(100% - 50px)); /* Mostra a aba de arrasto logo acima do menu */
  }
  .panel--full {
    transform: translateY(0);
    height: calc(100vh - 126px) !important; /* Altura total descontando o topo de 66px e o rodapé de 60px */
  }
  .map-bottom-controls {
    left: 15px !important;
    bottom: 75px !important;
  }
  /* Ajustes na galeria de detalhes no celular - Formato 16:9 completando a tela */
  .detail-gallery-main,
  .detail-gallery-carousel--single .detail-gallery-main {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 17px 17px 0 0 !important;
    border: none !important;
    border-bottom: 2px solid rgba(228, 197, 104, 0.35) !important;
  }
  .detail-gallery-main img,
  #detail-main-img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    border-radius: 17px 17px 0 0 !important;
  }
  .detail-container {
    padding: 0 0 3.5rem 0 !important;
  }
  .detail-content-wrap,
  .detail-container > *:not(.detail-gallery-carousel) {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .detail-gallery-thumbs {
    padding: 0.6rem 1rem 0.3rem !important;
  }
  .thumb-item {
    flex: 0 0 65px !important; /* Miniaturas ligeiramente menores no celular */
    height: 45px !important;
  }
  /* Estilização da modal como um Bottom Sheet Premium no celular */
  .modal {
    padding: 0 !important;
    align-items: flex-end !important;
  }
  .modal-content {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    max-height: 88vh !important;
    border-radius: 20px 20px 0 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-top: 3.5px solid #E4C568 !important; /* Borda grossa amarela no topo do bottom sheet */
  }
  #modal-property-detail .modal-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 0.95rem !important;
  }
  .leaflet-control-zoom {
    display: none !important; /* Esconde botões de + e - no mobile */
  }
}

/* Responsividade Avançada para Telas Menores de Celular (width <= 640px) */
@media (max-width: 640px) {
  .panel-header {
    padding: 0.8rem 1rem 0.4rem !important;
  }
  .cormorant-title {
    font-size: 1.5rem !important;
    line-height: 1.15 !important;
  }
  .panel-pre-title {
    font-size: 0.65rem !important;
    letter-spacing: 0.08em !important;
  }
  
  /* Categoria pills rolando do ínicio sem cortar a primeira opção */
  .category-slider {
    justify-content: flex-start !important;
    padding: 0.6rem 1rem 0.4rem !important;
    gap: 0.4rem !important;
    -webkit-overflow-scrolling: touch;
  }
  .pill-btn {
    padding: 0.4rem 0.85rem !important;
    font-size: 0.7rem !important;
  }

  /* Cards de Imóveis no Celular */
  .property-card {
    margin-bottom: 0.85rem !important;
  }
  .card-content {
    padding: 0.85rem !important;
  }
  .card-price {
    font-size: 1.18rem !important;
  }
  .card-title {
    font-size: 0.95rem !important;
  }
  .card-location {
    font-size: 0.72rem !important;
  }
  .card-features {
    gap: 0.4rem !important;
    font-size: 0.68rem !important;
    padding: 0.5rem 0 !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
  }

  /* Lista de Imóveis com espaço inferior para a barra mobile */
  .property-list {
    padding-bottom: 5.5rem !important;
  }
}

/* ---------- Empty State ---------- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  min-height: 200px;
}
.empty-state i {
  font-size: 2.5rem;
  color: var(--gold-400);
  margin-bottom: 1rem;
  opacity: 0.8;
}
.empty-state h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.empty-state p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 280px;
  line-height: 1.5;
}

/* Auto-Visualizar magnet icon */
.map-auto-update-toggle i.fa-magnet {
  margin-right: 4px;
  font-size: 0.8rem;
  color: var(--gold-400);
}

/* Premium Animated Gradient Title */
.panel-pre-title {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-400);
  margin-bottom: 0.45rem;
}

.cormorant-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700; /* Negrito na primeira linha ("Aqui Temos seu Lote") */
  font-size: 2.15rem; /* Ampliado e mais imponente */
  line-height: 1.1; /* Linhas muito mais próximas */
  color: var(--cream);
  margin: 0;
  letter-spacing: 0.01em;
}

.cormorant-title-regular {
  font-weight: 400; /* Peso normal/regular para a segunda linha */
}
.title-highlight {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; /* Em itálico */
  font-weight: 700; /* Bold na parte destacada */
  color: var(--gold-400);
  display: inline-block;
  -webkit-text-stroke: 0.7px var(--gold-400); /* Engrossa as letras para dar mais peso ao negrito */
}

@keyframes shineGradient {
  0% { background-position: 0% center; }
  100% { background-position: -200% center; }
}

/* ---------- About Us / Institutional Modal (Quem Somos) ---------- */
.about-modal-content {
  max-width: 1260px !important;
  /* Degrade verde puro. A foto do Unsplash que ficava por baixo era coberta
     em 91% a 97% pelo degrade — praticamente invisivel, mas custava uma
     requisicao a um servidor externo. */
  background-image: linear-gradient(135deg, rgba(10, 53, 38, 0.98) 0%, rgba(5, 31, 21, 0.99) 55%, rgba(3, 22, 15, 1) 100%);
  background-size: cover;
  background-position: center;
  border: 3px solid #E4C568 !important;
  border-radius: 24px !important;
  overflow-y: auto;
}

.about-container {
  padding: 3rem 2.5rem 2.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 260px 1.25fr 1fr 1.2fr;
  gap: 2.2rem;
  align-items: start;
}

/* Round Logo styling with multiple gold outlines */
.about-col-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-col-logo::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 197, 104, 0.18) 0%, rgba(3, 29, 20, 0) 70%);
  z-index: 0;
  pointer-events: none;
  animation: backlightPulse 4s infinite alternate ease-in-out;
}

.about-logo-outer {
  width: 290px;
  height: 290px;
  border-radius: 50%;
  border: 1.5px solid rgba(228, 197, 104, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 29, 20, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(228, 197, 104, 0.15);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: aboutLogoGlow 4s infinite alternate ease-in-out;
}

.about-logo-mid {
  width: 272px;
  height: 272px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  box-shadow: inset 0 0 15px rgba(228, 197, 104, 0.2);
}

.about-logo-inner {
  width: 256px;
  height: 256px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(228, 197, 104, 0.35);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-logo-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: logoShine 6s infinite ease-in-out;
  z-index: 2;
}

.about-logo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

@keyframes aboutLogoGlow {
  0% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(228, 197, 104, 0.15);
  }
  100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 45px rgba(228, 197, 104, 0.45);
  }
}

@keyframes backlightPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes logoShine {
  0%, 70% { left: -150%; }
  85%, 100% { left: 150%; }
}

/* Columns Typography */
.about-section-tag {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-400);
  margin-bottom: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.about-section-tag::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1.5px;
  background: var(--gold-500);
}

.about-story-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 1.25;
  color: var(--cream);
  margin: 0 0 1.2rem 0;
  letter-spacing: 0.01em;
}

.about-story-text {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: rgba(248, 244, 233, 0.78);
  line-height: 1.65;
  margin: 0;
}

.about-services-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--cream);
  margin: 0 0 1.5rem 0;
}

.about-services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.about-service-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-service-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-400);
  background: rgba(228, 197, 104, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.about-service-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.08em;
  line-height: 1.3;
}

/* Column 4: Accredited Brokers */
.about-col-brokers {
  display: flex;
  flex-direction: column;
}

.about-brokers-card {
  padding: 1.1rem;
  background: rgba(228, 197, 104, 0.05);
  border: 1.5px solid rgba(228, 197, 104, 0.25);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.about-brokers-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.about-broker-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.about-broker-item i {
  color: var(--gold-300);
  font-size: 0.95rem;
}

.about-broker-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.about-broker-creci {
  font-size: 0.72rem;
  color: var(--gold-400);
  font-weight: 600;
}

.about-brokers-contact {
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(228, 197, 104, 0.25);
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  align-items: center;
}

.about-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: #ffffff;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(228, 197, 104, 0.2);
}

.about-contact-pill i.fa-phone-alt {
  color: var(--gold-300);
  font-size: 0.75rem;
}

.about-contact-pill i.fa-map-marker-alt {
  color: #25D366;
  font-size: 0.75rem;
}

/* Stats Footer Row */
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1.5px solid rgba(228, 197, 104, 0.2);
  padding-top: 2rem;
  margin-top: 2.5rem;
}

.about-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffea00;
  line-height: 1;
  letter-spacing: -0.01em;
}

.about-stat-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ffffff;
  margin-top: 0.4rem;
  font-weight: 700;
}

/* Mobile Responsiveness for About Us Modal */
@media (max-width: 992px) {
  .about-modal-content {
    border-radius: 20px 20px 0 0 !important;
  }
  .about-container {
    padding: 2.5rem 1.5rem 3.5rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    text-align: center;
  }
  .about-section-tag {
    justify-content: center;
  }
  .about-logo-outer {
    width: 240px;
    height: 240px;
  }
  .about-logo-mid {
    width: 222px;
    height: 222px;
  }
  .about-logo-inner {
    width: 206px;
    height: 206px;
  }
  .about-services-list {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
  }
  .about-brokers-card {
    max-width: 420px;
    margin: 0 auto;
  }
  .about-brokers-list {
    flex-direction: row;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
  }
  .about-brokers-contact {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  #modal-about {
    padding: 0.5rem !important;
  }
  .about-modal-content {
    max-height: 92vh !important;
    width: 100% !important;
    padding: 0 !important;
  }
  .about-container {
    padding: 1.5rem 1rem 2.5rem !important;
  }
  .about-col-logo::before {
    width: 180px;
    height: 180px;
  }
  .about-logo-outer {
    width: 160px !important;
    height: 160px !important;
  }
  .about-logo-mid {
    width: 146px !important;
    height: 146px !important;
  }
  .about-logo-inner {
    width: 134px !important;
    height: 134px !important;
  }
  .about-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
  .about-stat-num {
    font-size: 2.3rem;
  }
}

/* ---------- Main Menu Modal & Services (Organized Centered Menu) ---------- */
.main-menu-modal-content {
  max-width: 500px !important;
  background: rgba(3, 29, 20, 0.98) !important;
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 3px solid #E4C568 !important; /* Borda grossa amarela */
  border-radius: 24px !important;
  padding: 2.2rem 2rem !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

.menu-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.menu-modal-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(228, 197, 104, 0.4);
  margin-bottom: 1rem;
}
.menu-modal-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.menu-modal-logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: logoShine 6s infinite ease-in-out;
  z-index: 2;
}

.menu-modal-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--cream);
  margin: 0 0 0.25rem 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.menu-modal-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(248, 244, 233, 0.6);
  margin: 0 0 1.6rem 0;
}

.menu-modal-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1.6rem;
}

.menu-option-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(228, 197, 104, 0.15);
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-option-card:hover {
  background: rgba(228, 197, 104, 0.08);
  border-color: #E4C568;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.menu-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1.5px solid #E4C568;
  color: #E4C568;
  background: rgba(228, 197, 104, 0.04);
}

.menu-option-text {
  flex: 1;
}

.menu-option-text h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--cream);
  margin: 0 0 0.15rem 0;
  font-weight: 600;
}

.menu-option-text p {
  font-family: var(--font-body);
  font-size: 0.73rem;
  color: rgba(248, 244, 233, 0.6);
  margin: 0;
  line-height: 1.3;
}

.menu-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
}

.menu-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-body);
}

.menu-action-btn.btn-instagram-menu {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-action-btn.btn-instagram-menu:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.55);
  color: #ffffff;
}

.menu-action-btn.btn-instagram-menu i {
  font-size: 1.15rem;
  color: #ffffff;
}

.menu-action-btn.btn-whats {
  background: linear-gradient(135deg, #075E54 0%, #128C7E 40%, #25D366 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-action-btn.btn-whats:hover {
  background: linear-gradient(135deg, #0a6b60 0%, #17a090 40%, #2ee776 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.menu-action-btn.btn-login-menu {
  background: #0A3526;
  border: 3px solid #E4C568;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(6, 42, 29, 0.4), 0 0 10px rgba(228, 197, 104, 0.2);
}

.menu-action-btn.btn-login-menu:hover {
  background: #104331;
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 42, 29, 0.6), 0 0 15px rgba(228, 197, 104, 0.35);
}

.menu-action-btn.btn-login-menu i {
  color: #ffffff;
}

/* Responsividade do Menu Modal no Mobile */
@media (max-width: 576px) {
  #modal-main-menu {
    align-items: flex-end !important;
    padding: 0 0.5rem !important;
  }
  .main-menu-modal-content {
    border-radius: 24px 24px 0 0 !important;
    border: 3px solid #E4C568 !important;
    border-bottom: none !important;
    max-height: 90vh !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.8rem 1.25rem 4.5rem 1.25rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(228, 197, 104, 0.3) !important;
  }
  .menu-modal-actions {
    margin-top: 1.2rem;
    padding-bottom: 1.5rem;
  }
  .detail-whatsapp-action {
    margin: 0.75rem 0 0.85rem 0 !important;
  }
  .btn-detail-whatsapp-banner {
    font-size: 0.95rem !important;
    padding: 0.8rem 1rem !important;
    gap: 0.6rem !important;
  }
  .btn-detail-whatsapp-banner i {
    font-size: 1.3rem !important;
  }
  .detail-specs-bar {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.35rem !important;
    padding: 0.5rem 0.35rem !important;
  }
  .spec-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    gap: 0.25rem !important;
    padding: 0.5rem 0.2rem !important;
    min-width: 0 !important;
  }
  .spec-item i {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.88rem !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
    margin: 0 auto !important;
  }
  .spec-item div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    min-width: 0 !important;
    line-height: 1.15 !important;
    overflow: hidden !important;
    width: 100% !important;
  }
  .spec-item strong {
    font-size: 0.76rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: center !important;
    width: 100% !important;
  }
  .spec-item span {
    font-size: 0.56rem !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: center !important;
    width: 100% !important;
  }
  .detail-title {
    font-size: 1.25rem !important;
  }
  .detail-amenities-grid {
    grid-template-columns: 1fr !important;
  }
  .detail-proximity-container {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    gap: 1rem !important;
  }
  .proximity-block {
    padding: 0.85rem 0.9rem !important;
  }
  .proximity-item-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.6rem !important;
    padding: 0.7rem 0.8rem !important;
  }
  .proximity-item-left {
    width: 100% !important;
  }
  .proximity-item-info {
    white-space: normal !important;
  }
  .proximity-item-right {
    width: 100% !important;
    justify-content: space-between !important;
    padding-top: 0.35rem !important;
    border-top: 1px dashed rgba(228, 197, 104, 0.15) !important;
  }
  .btn-prox-map {
    flex: 1 !important;
    justify-content: center !important;
    padding: 0.4rem 0.65rem !important;
  }
  .nearby-prop-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.6rem !important;
    padding: 0.75rem 0.85rem !important;
  }
  .nearby-prop-left {
    width: 100% !important;
  }
  .nearby-prop-title {
    white-space: normal !important;
  }
  .nearby-prop-actions {
    width: 100% !important;
    display: flex !important;
    gap: 0.5rem !important;
    padding-top: 0.4rem !important;
    border-top: 1px dashed rgba(228, 197, 104, 0.15) !important;
  }
  .btn-nearby-view,
  .btn-nearby-map {
    flex: 1 !important;
    justify-content: center !important;
    padding: 0.45rem 0.5rem !important;
  }
  .detail-photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr)) !important;
    gap: 0.45rem !important;
  }
  .detail-info-card {
    padding: 0.85rem 1rem !important;
  }
  .detail-destaques-top-card {
    padding: 0.7rem 0.8rem !important;
    margin-bottom: 1rem !important;
  }
  .detail-destaques-top-card__list li {
    font-size: 0.82rem !important;
    gap: 0.45rem !important;
  }
  .detail-destaques-top-card__list li i {
    font-size: 0.78rem !important;
    margin-top: 0.18rem !important;
  }
}

/* ============================================================
   CMS ADMIN PANEL - SIDEBAR, TABS & LIGHT/DARK THEMES
   ============================================================ */
:root {
  --admin-bg: #051f15;
  --admin-sidebar-bg: rgba(3, 29, 20, 0.98);
  --admin-card-bg: rgba(10, 45, 31, 0.8);
  --admin-text: #F8F4E9;
  --admin-text-muted: rgba(248, 244, 233, 0.7);
  --admin-border: rgba(201, 162, 75, 0.3);
  --admin-table-header: rgba(5, 31, 21, 0.9);
  --admin-table-tr: rgba(10, 45, 31, 0.6);
}

body.theme-light {
  --admin-bg: #faf8f5;
  --admin-sidebar-bg: #f2eee6;
  --admin-card-bg: #ffffff;
  --admin-text: #031d14;
  --admin-text-muted: rgba(3, 29, 20, 0.65);
  --admin-border: rgba(201, 162, 75, 0.45);
  --admin-table-header: #ebe5d9;
  --admin-table-tr: rgba(255, 255, 255, 0.95);
}

/* Sidebar structure */
#admin-dashboard-view {
  background: var(--admin-bg);
  display: flex !important; /* Force flex layout instead of column */
  color: var(--admin-text);
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
}

.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--admin-sidebar-bg);
  border-right: 1.5px solid var(--gold-500);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.admin-sidebar__brand {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(201, 162, 75, 0.2);
}

.admin-sidebar__brand .topbar__medal {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--gold-500);
}

.admin-sidebar__titles {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.admin-sidebar__titles strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--admin-text);
}

.admin-sidebar__titles span {
  font-size: 0.68rem;
  color: var(--gold-400);
  text-transform: uppercase;
  font-weight: 600;
}

.admin-sidebar__nav {
  flex: 1;
  padding: 1.2rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow-y: auto;
}

/* Redefine admin nav buttons to work vertically in sidebar */
.admin-sidebar .admin-nav-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: 1px solid transparent;
  color: var(--admin-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.admin-sidebar .admin-nav-btn:hover {
  background: rgba(201, 162, 75, 0.1);
  color: var(--gold-400);
}

.admin-sidebar .admin-nav-btn--active {
  background: linear-gradient(135deg, rgba(228, 197, 104, 0.15) 0%, rgba(228, 197, 104, 0.05) 100%);
  color: var(--gold-400);
  border: 1px solid rgba(228, 197, 104, 0.4);
}

.admin-sidebar__footer {
  padding: 1rem 0.8rem;
  border-top: 1px solid rgba(201, 162, 75, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sidebar-action-btn {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: transparent;
  border: 1px solid transparent;
  color: var(--admin-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.sidebar-action-btn:hover {
  background: rgba(201, 162, 75, 0.1);
  color: var(--gold-400);
}

.sidebar-action-btn--logout:hover {
  background: rgba(194, 90, 80, 0.15);
  color: #ff8a80;
}

/* Main Content Area */
.admin-main-content {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  height: 100vh;
}

.admin-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--admin-border);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.admin-content-header h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--admin-text);
  margin: 0;
}

.admin-status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--admin-text-muted);
  background: rgba(201, 162, 75, 0.08);
  border: 1px solid var(--admin-border);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  background: #2e9e6b;
  border-radius: 50%;
  box-shadow: 0 0 8px #2e9e6b;
  animation: markerPulse 1.8s infinite;
}

/* Update dashboard elements with Theme Variables */
.kpi-card {
  background: var(--admin-card-bg) !important;
  border: 1px solid var(--admin-border) !important;
  color: var(--admin-text) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.kpi-label {
  font-size: 0.78rem;
  color: var(--admin-text-muted);
}

.admin-chart-box {
  background: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  padding: 1.5rem 1.5rem 2.2rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 350px;
}

.chart-box-title {
  color: var(--gold-400);
  font-family: var(--font-display);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  font-weight: 700;
}

/* Tables styling */
.admin-table {
  background: var(--admin-card-bg) !important;
  border: 1px solid var(--admin-border);
}

.admin-table th {
  background: var(--admin-table-header) !important;
  color: var(--gold-400) !important;
  border-bottom: 1.5px solid var(--admin-border) !important;
}

.admin-table td {
  border-bottom: 1px solid var(--admin-border) !important;
  color: var(--admin-text) !important;
}

.admin-table tbody tr {
  background: var(--admin-table-tr);
  transition: background 0.2s ease;
}

.admin-table tbody tr:hover {
  background: rgba(201, 162, 75, 0.05);
}

/* Leaderboard list views */
.leaderboard-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  transition: transform 0.2s ease;
}

.leaderboard-item:hover {
  transform: translateY(-2px);
}

.leaderboard-rank {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-400);
  width: 36px;
}

.leaderboard-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
}

.leaderboard-info img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid var(--gold-400);
}

.leaderboard-bar-container {
  width: 250px;
  margin: 0 2rem;
}

.leaderboard-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.leaderboard-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500) 0%, var(--gold-400) 100%);
  border-radius: 4px;
}

.leaderboard-views {
  font-weight: 700;
  color: var(--gold-400);
  font-size: 1.05rem;
}

/* Metric Row */
.metric-row {
  color: var(--admin-text);
}

/* Settings Forms */
.settings-group {
  border-bottom: 1px solid var(--admin-border);
  padding-bottom: 1.5rem;
}

.settings-group label {
  color: var(--admin-text-muted);
}

/* Responsive grid helper classes for admin panels */
.admin-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.admin-grid-funnel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.admin-grid-settings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.admin-grid-integration {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.admin-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--admin-border);
}

.kpi-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

/* Responsive adjustment for admin grid */
@media (max-width: 1024px) {
  #admin-dashboard-view {
    flex-direction: column !important;
  }
  .admin-sidebar {
    width: 100% !important;
    height: auto !important;
    position: sticky !important;
    top: 0;
    z-index: 1000;
    border-right: none !important;
    border-bottom: 1.5px solid var(--gold-500);
  }
  .admin-sidebar__brand {
    padding: 0.8rem 1rem !important;
    justify-content: space-between;
    align-items: center;
  }
  .admin-sidebar__nav {
    flex-direction: row !important;
    overflow-x: auto !important;
    padding: 0.5rem !important;
    gap: 0.5rem !important;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
  }
  .admin-sidebar__nav::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
  }
  .admin-sidebar .admin-nav-btn {
    white-space: nowrap !important;
    width: auto !important;
    padding: 0.5rem 0.8rem !important;
    font-size: 0.78rem !important;
  }
  .admin-sidebar__footer {
    display: none !important; /* Hide vertical footer, mobile actions are in brand bar */
  }
  .admin-main-content {
    height: auto;
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem !important;
  }
  .kpi-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem !important;
  }
  .admin-grid-2, .admin-grid-funnel, .admin-grid-settings, .admin-grid-integration {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

@media (max-width: 480px) {
  .kpi-grid {
    grid-template-columns: 1fr !important;
  }
  .kpi-grid-3 {
    grid-template-columns: 1fr !important;
  }
  .admin-main-content {
    padding: 1rem !important;
  }
  .admin-content-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}

/* Collapse details modal grid to single-column on screens <= 992px (mobile & tablets) */
@media (max-width: 992px) {
  .detail-content-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  .detail-main {
    width: 100% !important;
    max-width: 100% !important;
  }
  .detail-sidebar {
    order: 1; /* Price box goes to bottom on mobile phones */
    position: static !important;
    margin-bottom: 0.8rem;
    align-self: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .detail-sidebar > div,
  .luxury-price-box,
  .detail-sidebar .detail-section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}



/* ============================================================
   ABOUT MODAL ACTION BUTTONS (WHATSAPP & INSTAGRAM)
   ============================================================ */
.about-actions-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  width: 100%;
}

.about-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem 1.5rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-body);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.about-btn--whatsapp {
  background: #25D366;
  color: #ffffff;
}

.about-btn--whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.about-btn--instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
}

.about-btn--instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
  color: #ffffff;
}

/* Responsive adjustment for modal buttons */
@media (max-width: 576px) {
  .about-actions-row {
    gap: 1rem;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
  }
  .about-action-btn {
    width: 100%;
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* ============================================================
   PROPERTY DETAILS EXTRA INFO: GMAPS LINK & PERSUASIVE SEO BOX
   ============================================================ */
.detail-gmaps-link {
  transition: all 0.22s ease-in-out;
}

.detail-gmaps-link:hover {
  background: rgba(228, 197, 104, 0.18) !important;
  transform: translateY(-1px);
  color: var(--gold-300) !important;
}

.detail-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.65rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(248, 244, 233, 0.92);
  font-size: 0.84rem;
  font-weight: 500;
  background: rgba(5, 31, 21, 0.5);
  border: 1px solid rgba(228, 197, 104, 0.18);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.amenity-item:hover {
  transform: translateX(3px);
}

/* ---------- Marcadores dos Pontos de Interesse (Landmark) no Mapa ---------- */
.pin-landmark {
  /* O Leaflet posiciona marcadores com position:absolute. Sobrescrever
     para relative joga cada marcador no fluxo normal, empilhando um
     sobre o outro e deslocando a posicao a cada nivel de zoom. */
  position: absolute !important;
  width: 36px !important;
  height: 48px !important;
  background: transparent !important;
  border: none !important;
}

.pin-landmark svg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 36px !important;
  height: 48px !important;
  display: block !important;
  z-index: 2 !important;
}

.pin-landmark__corpo {
  transition: transform 0.2s ease, filter 0.2s ease;
  transform-origin: 18px 46px;
}

.pin-landmark:hover svg {
  transform: scale(1.15);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.landmark-label {
  position: absolute !important;
  top: 50px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: none !important;
  backdrop-filter: none !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0 !important;
  font-family: var(--font-body);
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: normal;
  max-width: 130px;
  text-align: center;
  line-height: 1.25;
  text-wrap: balance;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), -1.5px -1.5px 0 #051f15, 1.5px -1.5px 0 #051f15, -1.5px 1.5px 0 #051f15, 1.5px 1.5px 0 #051f15;
  box-shadow: none !important;
  z-index: 4 !important;
}

.pin-landmark--valor .landmark-label {
  color: var(--gold-300) !important;
  font-size: 0.76rem !important;
  text-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.95), -1.5px -1.5px 0 #051f15, 1.5px -1.5px 0 #051f15, -1.5px 1.5px 0 #051f15, 1.5px 1.5px 0 #051f15;
}

/* Efeito Gota Caindo (Pulso de Ondulação) na Base da Área de Valor */
.landmark-pulse {
  position: absolute !important;
  top: 17.6px !important; /* cy=17.6 */
  left: 18px !important;  /* cx=18 */
  transform: translate(-50%, -50%) !important;
  width: 24px !important;
  height: 24px !important;
  z-index: 1 !important;
}

.landmark-pulse__ring {
  position: absolute !important;
  width: 24px !important;
  height: 24px !important;
  border: 2px solid var(--gold-400);
  border-radius: 50%;
  background: transparent;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
  transform-origin: center;
}

.landmark-pulse__ring--2 { animation-delay: 0.66s !important; }
.landmark-pulse__ring--3 { animation-delay: 1.33s !important; }

@keyframes pulse-ring {
  0% {
    transform: scale(0.5);
    opacity: 0.85;
  }
  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

/* ============================================================
   PROMOTIONAL TOP BANNER
   ============================================================ */
.promo-banner {
  background: linear-gradient(135deg, #0a2d1f, #0d3826);
  border-bottom: 1.5px solid rgba(201, 162, 75, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  z-index: 1002;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  animation: slideDownBanner 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownBanner {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.promo-banner__content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 auto;
  text-align: center;
}

.promo-banner__icon {
  color: var(--gold-300);
  animation: promoPulse 2s infinite ease-in-out;
}

@keyframes promoPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.18);
    color: var(--gold-100);
  }
}

.promo-banner__close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
}

.promo-banner__close:hover {
  color: var(--gold-300);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .promo-banner {
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
  }
  .promo-banner__content {
    padding-right: 1.5rem;
  }
}



/* ============================================================
   PONTOS DE INTERESSE NO MAPA (condomínios, hotéis, resorts)
   ------------------------------------------------------------
   São contexto da região, não o produto à venda. Ficam num chip
   verde discreto — ícone e nome juntos, num só bloco. O destaque
   visual do mapa pertence aos imóveis.
   ============================================================ */
.leaflet-marker-icon {
  transition: none !important;
}

.poi-dot {
  background: transparent !important;
  border: none !important;
  width: 22px !important;
  height: 22px !important;
  /* O Leaflet posiciona marcadores com position:absolute. Sobrescrever
     para relative joga cada marcador no fluxo normal, empilhando um
     sobre o outro e deslocando a posicao a cada nivel de zoom. */
  position: absolute !important;
  overflow: visible !important;
}

.poi-chip {
  position: absolute;
  left: 0;
  top: 0;
  height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px 0 0;
  background: rgba(5, 31, 21, 0.92);
  border: 1.5px solid rgba(201, 162, 75, 0.4);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  box-sizing: border-box;
  transform: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.poi-chip__disco {
  width: 22px;
  height: 22px;
  min-width: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
}

.poi-chip__disco i {
  font-size: 8px;
  line-height: 1;
}

.poi-chip__nome {
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  line-height: 1;
  text-transform: uppercase;
}

/* Nome longo quebra em duas linhas centralizadas em vez de ser cortado.
   align-items: flex-start é essencial: com o chip mais alto, centralizar
   empurraria o disco para baixo e ele sairia de cima da coordenada. */
.poi-chip--longo {
  height: auto;
  min-height: 22px;
  align-items: flex-start;
  white-space: normal;
  border-radius: 14px;
}

.poi-chip--longo .poi-chip__nome {
  max-width: 92px;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
  padding: 2px 0;
}

.poi-dot:hover .poi-chip {
  background: rgba(10, 61, 46, 0.98);
  border-color: var(--gold-400);
}

.poi-dot:hover .poi-chip__nome {
  color: var(--gold-300);
}

/* Responsividade do Mapa e Marcadores para Celulares / Telas Menores */
@media (max-width: 640px) {
  .custom-pin {
    transform: scale(0.82) !important;
    transform-origin: 20px 21px !important;
  }

  .poi-chip {
    transform: scale(0.85) !important;
    transform-origin: 11px 11px !important;
  }
}

/* ============================================================
   SPLASH DE INICIALIZAÇÃO (some assim que o catálogo estiver pronto)
   ============================================================ */
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #083d2c 0%, #031d14 60%, #02140d 100%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease-out, visibility 0.25s ease-out;
  overflow: hidden;
}

.preloader-overlay--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  max-width: 320px;
  width: 100%;
}

.preloader-logo-wrapper {
  width: 115px;
  height: 115px;
  border-radius: 50%;
  border: 3.5px solid #E4C568;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  box-shadow: 0 0 35px rgba(228, 197, 104, 0.45), 0 12px 35px rgba(0, 0, 0, 0.7);
  animation: preloaderPulse 2s infinite ease-in-out;
  overflow: hidden;
}

.preloader-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preloader-progress-track {
  width: 100%;
  max-width: 250px;
  height: 6px;
  background: rgba(228, 197, 104, 0.15);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(228, 197, 104, 0.35);
  margin-bottom: 1.2rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.preloader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #b8860b 0%, #e4c568 50%, #fff2b2 100%);
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(228, 197, 104, 0.85);
  transition: width 0.05s linear;
}

.preloader-status {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: #E4C568;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  animation: statusFade 1.5s infinite alternate ease-in-out;
}

@keyframes preloaderPulse {
  0% { transform: scale(1); box-shadow: 0 0 25px rgba(228, 197, 104, 0.35), 0 10px 30px rgba(0, 0, 0, 0.6); }
  50% { transform: scale(1.05); box-shadow: 0 0 45px rgba(228, 197, 104, 0.65), 0 15px 40px rgba(0, 0, 0, 0.85); }
  100% { transform: scale(1); box-shadow: 0 0 25px rgba(228, 197, 104, 0.35), 0 10px 30px rgba(0, 0, 0, 0.6); }
}

@keyframes statusFade {
  0% { opacity: 0.75; }
  100% { opacity: 1; }
}

/* Proteção de interação somente nas fotos dos imóveis. */
img[src*="imoveis/"],
img[data-copy-protected="true"] {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
}

/* Custom Floating Map Zoom Controls (+ / -) */
.mobile-map-zoom-controls {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: auto;
}

.map-zoom-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(8, 61, 44, 0.92);
  border: 1.5px solid #E4C568;
  color: #E4C568;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.map-zoom-btn:hover,
.map-zoom-btn:active {
  background: rgba(228, 197, 104, 0.25);
  color: #ffffff;
  border-color: #ffd35c;
  transform: scale(1.08);
}



/* Image optimization */
img {
  content-visibility: auto;
}
.card-thumb img,
.poi-showcase-card img {
  will-change: auto;
  image-rendering: auto;
}

/* Cards fora da área visível não precisam ser pintados imediatamente. */
.property-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 430px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* POI Showcase Grid Styles */
.poi-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  padding: 1.25rem 0;
  max-height: 60vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 75, 0.6) transparent;
}
.poi-showcase-grid::-webkit-scrollbar {
  width: 6px;
}
.poi-showcase-grid::-webkit-scrollbar-track {
  background: rgba(3, 29, 20, 0.95);
}
.poi-showcase-grid::-webkit-scrollbar-thumb {
  background: var(--grad-gold);
  border-radius: 4px;
}
.poi-showcase-card {
  background: #ffffff;
  border: 1px solid rgba(228, 197, 104, 0.3);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.poi-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  border-color: var(--gold-500);
}
.poi-showcase-img {
  width: 100%;
  height: 160px;
  position: relative;
}
.poi-showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poi-showcase-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.poi-showcase-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* POI Showcase responsive */
@media (max-width: 600px) {
  .poi-showcase-grid {
    grid-template-columns: 1fr;
    max-height: 70vh;
    gap: 1rem;
  }
  .poi-showcase-img {
    height: 180px;
  }
}

/* ============================================================
   LIGHTBOX / JANELA CENTRAL DE FOTOS AMPLIADAS
   ============================================================ */
.modal.modal-lightbox,
#modal-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  background: rgba(1, 15, 10, 0.94) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem !important;
  cursor: zoom-out;
}

.modal.modal-lightbox.modal--open,
#modal-lightbox.modal--open {
  display: flex !important;
  animation: fadeInLightbox 0.25s ease forwards;
}

@keyframes fadeInLightbox {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-dialog {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.lightbox-media-wrapper {
  position: relative;
  max-width: 86vw;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  border: 2px solid #E4C568;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(201, 162, 75, 0.25);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

/* Botão Fechar (X) no CANTO SUPERIOR DIREITO DA IMAGEM */
.lightbox-close-btn {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #031D14;
  border: 2px solid #E4C568;
  color: #E4C568;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover,
.lightbox-close-btn:active {
  background: #E4C568;
  color: #031D14;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 20px rgba(228, 197, 104, 0.5);
}

/* Botões de Navegação (Esquerda / Direita) */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(3, 29, 20, 0.92);
  border: 2px solid #E4C568;
  color: #E4C568;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-nav-btn:hover,
.lightbox-nav-btn:active {
  background: #E4C568;
  color: #031D14;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 8px 24px rgba(228, 197, 104, 0.5);
}

.lightbox-nav-btn--prev {
  left: -26px;
}

.lightbox-nav-btn--next {
  right: -26px;
}

/* Indicador de Contagem de Fotos */
.lightbox-counter {
  margin-top: 12px;
  background: rgba(3, 29, 20, 0.92);
  border: 1.5px solid rgba(228, 197, 104, 0.6);
  padding: 0.35rem 1.1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-300);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.04em;
}

/* Ajustes no Mobile */
@media (max-width: 768px) {
  .modal.modal-lightbox,
  #modal-lightbox {
    padding: 0.8rem !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .lightbox-dialog {
    max-width: 96vw;
    max-height: 85vh;
  }
  .lightbox-media-wrapper {
    max-width: 92vw;
    max-height: 80vh;
  }
  #lightbox-img {
    max-height: 72vh;
    border-radius: 12px;
  }
  .lightbox-close-btn {
    top: -12px;
    right: -10px;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .lightbox-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
  .lightbox-nav-btn--prev {
    left: 4px;
  }
  .lightbox-nav-btn--next {
    right: 4px;
  }
}

/* ============================================================
   Rótulos Elegantes de Cidades, Bairros e Praias no Mapa
   ============================================================ */
.map-place-label-wrapper {
  background: transparent !important;
  border: none !important;
  pointer-events: none !important;
}

.map-place-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.map-place-label--city .map-place-text {
  font-family: var(--font-body), system-ui, -apple-system, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.6);
  text-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.95),
    0 0 8px rgba(0, 0, 0, 0.95),
    0 0 16px rgba(0, 0, 0, 0.9);
}

.map-place-label--city .map-place-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E4C568;
  border: 1.5px solid #0a2d1f;
  box-shadow: 0 0 8px #E4C568, 0 0 2px #000;
  display: inline-block;
  flex-shrink: 0;
}

.map-place-label--neighborhood .map-place-text,
.map-place-label--beach .map-place-text {
  font-family: var(--font-body), system-ui, -apple-system, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fdf5d6;
  -webkit-text-stroke: 0.4px rgba(0, 0, 0, 0.5);
  text-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.95),
    0 0 6px rgba(0, 0, 0, 0.95),
    0 0 12px rgba(0, 0, 0, 0.85);
}

.map-place-label--beach .map-place-text {
  color: #FDF0A6;
}
