/*
  FIFTY PUBLIC SITE — DESIGN TOKENS
  ===================================
  Arquivo: app/assets/stylesheets/public_theme.css
  Escopo: APENAS o site público {broker}.fifty.com.br
  NÃO usar no CRM (ai_first_theme.css é o sistema do admin)

  PRINCÍPIOS:
  - Light theme por padrão (fundo branco, texto escuro)
  - Acento laranja #FF5722 herdado do CRM
  - Tipografia: Montserrat (headings) + Open Sans (body) — mesmas do CRM
  - Mobile-first: todo componente começa em 375px
  - Zero backdrop-filter em mobile (regra global)
  - WhatsApp sempre visível: cor #25D366, toque mínimo 44px
*/

/* ── TOKENS GLOBAIS ──────────────────────────────────────────────── */
:root {
  /* Superfícies */
  --pub-bg:             #ffffff;
  --pub-bg-soft:        #f7f6f4;
  --pub-bg-muted:       #eeede9;
  --pub-bg-navy:        #0d1f6d;
  --pub-bg-navy-soft:   #1a3a8f;

  /* Texto */
  --pub-text:           #111111;
  --pub-text-soft:      #444444;
  --pub-text-muted:     #888880;
  --pub-text-faint:     #bbbb99;

  /* Bordas */
  --pub-border:         rgba(0,0,0,0.08);
  --pub-border-md:      rgba(0,0,0,0.13);
  --pub-border-strong:  rgba(0,0,0,0.20);

  /* Acentos */
  --pub-accent:         #FF5722;
  --pub-accent-dark:    #e64a19;
  --pub-accent-soft:    #fff3f0;
  --pub-accent-border:  rgba(255,87,34,0.25);
  --pub-navy:           #0d1f6d;
  --pub-navy-soft:      #1a3a8f;
  --pub-wa:             #25D366;
  --pub-wa-dark:        #20bb5a;
  --pub-success:        #1a7f37;
  --pub-danger:         #dc2626;
  --pub-warning:        #d97706;

  /* Sombras */
  --pub-shadow-xs:      0 1px 3px rgba(0,0,0,0.05);
  --pub-shadow-sm:      0 1px 4px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  --pub-shadow-md:      0 4px 20px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.06);
  --pub-shadow-lg:      0 12px 48px rgba(0,0,0,0.13);
  --pub-shadow-xl:      0 24px 64px rgba(0,0,0,0.16);

  /* Raios */
  --pub-r-xs:           4px;
  --pub-r-sm:           8px;
  --pub-r-md:           12px;
  --pub-r-lg:           20px;
  --pub-r-xl:           28px;
  --pub-r-pill:         999px;

  /* Espaçamentos */
  --pub-space-xs:       4px;
  --pub-space-sm:       8px;
  --pub-space-md:       16px;
  --pub-space-lg:       24px;
  --pub-space-xl:       40px;
  --pub-space-2xl:      64px;
  --pub-page-pad:       32px;
  --pub-page-pad-mobile: 16px;

  /* Tipografia */
  --pub-font-head:      'Montserrat', sans-serif;
  --pub-font-body:      'Open Sans', sans-serif;

  /* Z-index */
  --pub-z-base:         1;
  --pub-z-card:         10;
  --pub-z-sticky:       50;
  --pub-z-header:       100;
  --pub-z-overlay:      200;
  --pub-z-fab:          300;
}

/* ── RESET PÚBLICO ───────────────────────────────────────────────── */
.pub-body *, .pub-body *::before, .pub-body *::after {
  box-sizing: border-box;
}
.pub-body {
  font-family: var(--pub-font-body);
  color: var(--pub-text);
  background: var(--pub-bg-soft);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.pub-body a { text-decoration: none; color: inherit; }
.pub-body img { display: block; max-width: 100%; }
.pub-body button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── HEADER ──────────────────────────────────────────────────────── */
.pub-header {
  position: sticky;
  top: 0;
  z-index: var(--pub-z-header);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pub-border);
  padding: 0 var(--pub-page-pad);
  display: flex;
  align-items: center;
  height: 64px;
  gap: 24px;
}
.pub-header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pub-font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--pub-text);
  flex-shrink: 0;
  text-decoration: none;
}
.pub-header-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pub-accent);
  flex-shrink: 0;
}
.pub-header-logo img {
  height: 32px;
  width: auto;
}
.pub-header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.pub-header-nav a {
  padding: 6px 14px;
  border-radius: var(--pub-r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--pub-text-soft);
  font-family: var(--pub-font-body);
  transition: all 0.15s;
  white-space: nowrap;
}
.pub-header-nav a:hover,
.pub-header-nav a.active {
  color: var(--pub-text);
  background: var(--pub-bg-soft);
}
.pub-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pub-btn-anuncie {
  padding: 8px 16px;
  border-radius: var(--pub-r-sm);
  border: 1.5px solid var(--pub-border-md);
  font-family: var(--pub-font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--pub-text);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.pub-btn-anuncie:hover {
  border-color: var(--pub-accent);
  color: var(--pub-accent);
}
.pub-btn-wa-header {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: var(--pub-r-sm);
  background: var(--pub-wa);
  color: #fff;
  font-family: var(--pub-font-head);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  min-height: 44px;
}
.pub-btn-wa-header:hover {
  background: var(--pub-wa-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,211,102,0.35);
}
.pub-header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--pub-text-muted);
  flex: 1;
  overflow: hidden;
}
.pub-header-breadcrumb a { color: var(--pub-text-muted); transition: color 0.15s; }
.pub-header-breadcrumb a:hover { color: var(--pub-text); }
.pub-header-breadcrumb .pub-bc-sep { color: var(--pub-border-md); }
.pub-header-breadcrumb .pub-bc-cur {
  color: var(--pub-text-soft);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
.pub-footer {
  background: var(--pub-text);
  color: rgba(255,255,255,0.65);
  padding: 56px var(--pub-page-pad) 32px;
}
.pub-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.pub-footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pub-font-head);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  margin-bottom: 12px;
}
.pub-footer-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pub-accent);
}
.pub-footer-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255,255,255,0.55);
}
.pub-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.pub-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.pub-footer-col-title {
  font-family: var(--pub-font-head);
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 16px;
}
.pub-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pub-footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.pub-footer-links a:hover { color: #fff; }
.pub-footer-bairros {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.pub-footer-bairro {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.pub-footer-bairro::after {
  content: '·';
  margin-left: 8px;
  color: rgba(255,255,255,0.2);
}
.pub-footer-bairro:last-child::after { display: none; }
.pub-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pub-footer-bottom-text { font-size: 13px; }
.pub-footer-powered {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.pub-footer-powered-badge {
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

/* ── WA FAB GLOBAL ───────────────────────────────────────────────── */
.pub-wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--pub-z-fab);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: var(--pub-r-pill);
  background: var(--pub-wa);
  color: #fff;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  font-family: var(--pub-font-head);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  min-height: 52px;
}
.pub-wa-fab:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}
.pub-wa-fab-icon { font-size: 20px; }

/* ── BOTÕES GLOBAIS ──────────────────────────────────────────────── */
.pub-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--pub-r-md);
  background: var(--pub-accent);
  color: #fff;
  font-family: var(--pub-font-head);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  min-height: 44px;
  border: none;
}
.pub-btn-primary:hover {
  background: var(--pub-accent-dark);
  transform: translateY(-1px);
}
.pub-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--pub-r-md);
  background: var(--pub-bg);
  border: 1.5px solid var(--pub-border-md);
  color: var(--pub-text-soft);
  font-family: var(--pub-font-head);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  min-height: 44px;
}
.pub-btn-secondary:hover {
  border-color: var(--pub-text);
  color: var(--pub-text);
}
.pub-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--pub-r-md);
  background: var(--pub-wa);
  color: #fff;
  font-family: var(--pub-font-head);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  min-height: 44px;
  border: none;
  width: 100%;
}
.pub-btn-wa:hover {
  background: var(--pub-wa-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
}

/* ── LAYOUT HELPERS ──────────────────────────────────────────────── */
.pub-page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--pub-page-pad);
}
.pub-section { padding: var(--pub-space-2xl) var(--pub-page-pad); }
.pub-section--soft { background: var(--pub-bg-soft); }
.pub-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--pub-space-xl);
}
.pub-section-title {
  font-family: var(--pub-font-head);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.6px;
  line-height: 1.1;
  color: var(--pub-text);
}
.pub-section-title span { color: var(--pub-accent); }
.pub-section-subtitle {
  font-size: 15px;
  color: var(--pub-text-muted);
  margin-top: 6px;
}
.pub-section-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--pub-font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--pub-accent);
  padding: 8px 16px;
  border-radius: var(--pub-r-sm);
  border: 1.5px solid var(--pub-accent-border);
  transition: all 0.15s;
  white-space: nowrap;
}
.pub-section-link:hover {
  background: var(--pub-accent-soft);
  border-color: var(--pub-accent);
}

/* ── PROP CARD (COMPARTILHADO home + lista) ──────────────────────── */
.pub-prop-card {
  border-radius: var(--pub-r-lg);
  overflow: hidden;
  background: var(--pub-bg);
  border: 1px solid var(--pub-border);
  box-shadow: var(--pub-shadow-sm);
  transition: all 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.pub-prop-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pub-shadow-lg);
  border-color: var(--pub-border-md);
}
.pub-prop-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--pub-bg-muted);
  flex-shrink: 0;
}
.pub-prop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.pub-prop-card:hover .pub-prop-thumb img { transform: scale(1.05); }
.pub-prop-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 5px;
}
.pub-prop-badge {
  padding: 4px 9px;
  border-radius: 6px;
  font-family: var(--pub-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.pub-prop-badge--disp   { background: rgba(255,255,255,0.95); color: var(--pub-success); }
.pub-prop-badge--dest   { background: var(--pub-accent); color: #fff; }
.pub-prop-badge--lanc   { background: var(--pub-navy); color: #fff; }
.pub-prop-badge--red    { background: var(--pub-danger); color: #fff; }
.pub-prop-badge--alug   { background: rgba(255,255,255,0.95); color: var(--pub-navy); }
.pub-prop-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
}
.pub-prop-ai-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(13,31,109,0.82);
  backdrop-filter: blur(6px);
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}
.pub-prop-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pub-prop-type {
  font-size: 10px;
  font-weight: 600;
  color: var(--pub-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.pub-prop-title {
  font-family: var(--pub-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--pub-text);
  margin-top: 4px;
  line-height: 1.3;
}
.pub-prop-location {
  font-size: 12px;
  color: var(--pub-text-muted);
  margin-top: 4px;
}
.pub-prop-price {
  font-family: var(--pub-font-head);
  font-size: 21px;
  font-weight: 800;
  color: var(--pub-text);
  margin-top: auto;
  padding-top: 12px;
  letter-spacing: -0.5px;
}
.pub-prop-price-sub {
  font-size: 11px;
  color: var(--pub-text-muted);
  margin-top: 2px;
}
.pub-prop-price-reduction {
  font-size: 11px;
  color: var(--pub-accent);
  font-weight: 600;
  margin-top: 2px;
}
.pub-prop-meta {
  display: flex;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--pub-border);
}
.pub-prop-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--pub-text-soft);
  flex: 1;
}
.pub-prop-meta-item + .pub-prop-meta-item {
  border-left: 1px solid var(--pub-border);
  padding-left: 10px;
}
.pub-prop-cta {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}
.pub-prop-btn-ver {
  flex: 1;
  padding: 9px;
  border-radius: var(--pub-r-sm);
  background: var(--pub-bg-soft);
  border: 1.5px solid var(--pub-border-md);
  font-family: var(--pub-font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--pub-text);
  transition: all 0.15s;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}
.pub-prop-btn-ver:hover { background: var(--pub-bg-muted); }
.pub-prop-btn-wa {
  padding: 9px 14px;
  border-radius: var(--pub-r-sm);
  background: var(--pub-wa);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}
.pub-prop-btn-wa:hover { background: var(--pub-wa-dark); }

/* ── FORM COMPONENTS ─────────────────────────────────────────────── */
.pub-form-field { margin-bottom: 12px; }
.pub-form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--pub-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}
.pub-form-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--pub-r-sm);
  border: 1.5px solid var(--pub-border-md);
  font-family: var(--pub-font-body);
  font-size: 14px;
  color: var(--pub-text);
  outline: none;
  background: var(--pub-bg-soft);
  transition: border-color 0.15s, background 0.15s;
  min-height: 44px;
}
.pub-form-input:focus {
  border-color: var(--pub-accent);
  background: var(--pub-bg);
}
.pub-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--pub-r-sm);
  border: 1.5px solid var(--pub-border-md);
  font-family: var(--pub-font-body);
  font-size: 14px;
  color: var(--pub-text);
  outline: none;
  background: var(--pub-bg-soft);
  resize: none;
  height: 80px;
  line-height: 1.55;
  transition: border-color 0.15s, background 0.15s;
}
.pub-form-textarea:focus {
  border-color: var(--pub-accent);
  background: var(--pub-bg);
}
.pub-form-error {
  font-size: 12px;
  color: var(--pub-danger);
  margin-top: 4px;
}

/* ── STATUS PILLS ────────────────────────────────────────────────── */
.pub-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--pub-r-pill);
  font-size: 11px;
  font-weight: 600;
}
.pub-pill--success { background: rgba(26,127,55,0.1); color: var(--pub-success); }
.pub-pill--warning { background: rgba(217,119,6,0.1); color: var(--pub-warning); }
.pub-pill--danger  { background: rgba(220,38,38,0.1); color: var(--pub-danger); }
.pub-pill--accent  { background: var(--pub-accent-soft); color: var(--pub-accent); border: 1px solid var(--pub-accent-border); }
.pub-pill--navy    { background: rgba(13,31,109,0.08); color: var(--pub-navy); }

/* ── MOBILE RESPONSIVE BASE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .pub-header {
    padding: 0 var(--pub-page-pad-mobile);
    height: 56px;
  }
  .pub-header-nav { display: none; }
  .pub-header-nav.pub-mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 56px 0 0 0;
    background: var(--pub-bg);
    padding: 24px var(--pub-page-pad-mobile);
    gap: 8px;
    z-index: var(--pub-z-overlay);
    border-top: 1px solid var(--pub-border);
    animation: slideDown 0.2s ease;
  }
  @keyframes slideDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
  .pub-header-nav.pub-mobile-open a { padding: 12px; font-size: 16px; }
  .pub-btn-anuncie { display: none; }
  .pub-section { padding: var(--pub-space-xl) var(--pub-page-pad-mobile); }
  .pub-section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pub-footer { padding: 40px var(--pub-page-pad-mobile) 24px; }
  .pub-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .pub-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  * { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .pub-wa-fab { padding: 14px; border-radius: 50%; width: 56px; height: 56px; }
  .pub-wa-fab-label { display: none; }
  .pub-section-title { font-size: 24px; }
}
@media (max-width: 480px) {
  .pub-page-pad { --pub-page-pad: 16px; }
}

/* ================================================================
   FASE 2 — HOME PAGE STYLES
   Escopo: app/views/public/sites/home.html.erb
   ================================================================ */

/* ── HERO ─────────────────────────────────────────────────────────── */
.pub-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  overflow: hidden;
  background: var(--pub-bg);
}
.pub-hero-left {
  padding: 72px 64px 72px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  background: var(--pub-bg);
}
.pub-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--pub-r-pill);
  background: var(--pub-accent-soft);
  border: 1px solid var(--pub-accent-border);
  font-size: 11px;
  font-weight: 700;
  color: var(--pub-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}
.pub-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pub-accent);
  animation: pub-pulse 2s ease infinite;
}
@keyframes pub-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}
.pub-hero-title {
  font-family: var(--pub-font-head);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--pub-text);
}
.pub-hero-title em {
  font-style: normal;
  color: var(--pub-accent);
}
.pub-hero-subtitle {
  font-size: 16px;
  color: var(--pub-text-soft);
  line-height: 1.7;
  max-width: 420px;
}
.pub-hero-search-wrap { display: flex; flex-direction: column; gap: 12px; }
.pub-hero-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 20px;
  background: var(--pub-bg);
  border: 2px solid var(--pub-border-md);
  border-radius: var(--pub-r-lg);
  box-shadow: var(--pub-shadow-md);
  max-width: 500px;
  transition: border-color 0.2s;
}
.pub-hero-search:focus-within { border-color: var(--pub-accent); }
.pub-hero-search-icon { font-size: 18px; color: var(--pub-text-muted); flex-shrink: 0; }
.pub-hero-search input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-family: var(--pub-font-body);
  font-size: 15px;
  color: var(--pub-text);
  min-width: 0;
}
.pub-hero-search input::placeholder { color: var(--pub-text-muted); }
.pub-hero-search-btn {
  padding: 10px 22px;
  border-radius: var(--pub-r-md);
  background: var(--pub-accent);
  color: #fff;
  font-family: var(--pub-font-head);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  border: none;
  flex-shrink: 0;
}
.pub-hero-search-btn:hover {
  background: var(--pub-accent-dark);
  transform: translateY(-1px);
}
.pub-hero-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pub-hero-chip-label { font-size: 12px; color: var(--pub-text-muted); white-space: nowrap; }
.pub-hero-chip {
  padding: 4px 12px;
  border-radius: var(--pub-r-pill);
  border: 1px solid var(--pub-border-md);
  font-size: 12px;
  color: var(--pub-text-soft);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.pub-hero-chip:hover {
  border-color: var(--pub-accent);
  color: var(--pub-accent);
  background: var(--pub-accent-soft);
  text-decoration: none;
}
.pub-hero-right {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0d1f6d 0%, #1a3a8f 50%, #0d1f6d 100%);
  min-height: 400px;
}
.pub-hero-photo {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}
.pub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,109,0.9) 0%, rgba(13,31,109,0.4) 100%);
}
.pub-hero-broker {
  position: absolute;
  top: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.pub-hero-broker-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pub-accent) 0%, #ff8a65 100%);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pub-font-head);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.pub-hero-broker-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pub-hero-broker-name {
  font-family: var(--pub-font-head);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.pub-hero-broker-creci {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}
.pub-hero-stats {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--pub-r-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  z-index: 2;
}
.pub-hero-stat { text-align: center; }
.pub-hero-stat-val {
  font-family: var(--pub-font-head);
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.pub-hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}
.pub-hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  margin: auto;
}

/* ── HERO IMMERSIVE MODIFIER ─────────────────────────────────────── */
/* Uso: adicionar .pub-hero--immersive ao elemento .pub-hero           */
/* Layout: foto full-width como background, conteúdo centralizado     */

.pub-hero--immersive {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 620px;
  position: relative;
  overflow: hidden;
  background: var(--pub-bg-navy);
}

/* Camada 1: foto de fundo (position absolute, atrás de tudo) */
.pub-hero--immersive .pub-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Camada 2: overlay principal — gradiente vertical escuro top+bottom */
.pub-hero--immersive .pub-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(13, 31, 109, 0.60) 0%,
      rgba(13, 31, 109, 0.28) 38%,
      rgba(13, 31, 109, 0.52) 72%,
      rgba(13, 31, 109, 0.88) 100%
    );
  z-index: 1;
}

/* Camada 3: vinheta lateral sutil (profundidade) */
.pub-hero--immersive .pub-hero-overlay--lateral {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(13, 31, 109, 0.38) 0%,
      transparent 30%,
      transparent 70%,
      rgba(13, 31, 109, 0.38) 100%
    );
  z-index: 1;
}

/* Camada 4: conteúdo (acima dos overlays) */
.pub-hero--immersive .pub-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px var(--pub-page-pad) 80px;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

/* Badge sobre foto */
.pub-hero--immersive .pub-hero-badge {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--pub-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: var(--pub-space-lg);
}

.pub-hero--immersive .pub-hero-badge-dot {
  background: var(--pub-accent);
}

/* Título — branco sobre foto, maior que no split */
.pub-hero--immersive .pub-hero-title {
  color: var(--pub-bg);
  font-size: clamp(38px, 5.5vw, 58px);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.20);
  max-width: 720px;
  margin-bottom: var(--pub-space-md);
  /* No immersive o título vem DEPOIS da search box */
  order: 2;
}

.pub-hero--immersive .pub-hero-title em {
  color: var(--pub-accent);
  font-style: italic;
}

/* Subtítulo */
.pub-hero--immersive .pub-hero-subtitle {
  color: rgba(255, 255, 255, 0.82);
  order: 3;
  margin-bottom: var(--pub-space-xl);
}

/* Search box — branca destacada na frente da foto */
.pub-hero--immersive .pub-hero-search-wrap {
  order: 1;
  width: 100%;
  max-width: 680px;
  margin-bottom: var(--pub-space-xl);
}

.pub-hero--immersive .pub-hero-search {
  background: var(--pub-bg);
  border: none;
  border-radius: var(--pub-r-lg);
  box-shadow: var(--pub-shadow-xl);
  padding: 8px 8px 8px 20px;
  max-width: 100%;
}

.pub-hero--immersive .pub-hero-search-btn {
  padding: 12px 28px;
  font-size: 14px;
}

/* Chips de bairro — tom claro sobre escuro */
.pub-hero--immersive .pub-hero-chips {
  margin-top: 14px;
  justify-content: center;
}

.pub-hero--immersive .pub-hero-chip-label {
  color: rgba(255, 255, 255, 0.50);
}

.pub-hero--immersive .pub-hero-chip {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
}

.pub-hero--immersive .pub-hero-chip:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.40);
  color: var(--pub-bg);
}

/* Stats bar — ancora no rodapé do hero */
.pub-hero--immersive .pub-hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px var(--pub-page-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(to top, rgba(13, 31, 109, 0.55) 0%, transparent 100%);
}

.pub-hero--immersive .pub-hero-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 var(--pub-space-xl);
}

.pub-hero--immersive .pub-hero-stat-item:first-child {
  padding-left: 0;
}

.pub-hero--immersive .pub-hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.pub-hero--immersive .pub-hero-stat-val {
  font-family: var(--pub-font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--pub-bg);
  line-height: 1;
  white-space: nowrap;
}

.pub-hero--immersive .pub-hero-stat-val em {
  color: var(--pub-accent);
  font-style: normal;
}

.pub-hero--immersive .pub-hero-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.35;
}

/* Portais (ZAP, OLX, Viva Real) */
.pub-hero--immersive .pub-hero-portals {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pub-hero--immersive .pub-hero-portals-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-right: 4px;
  white-space: nowrap;
}

.pub-hero--immersive .pub-hero-portal-tag {
  padding: 3px 10px;
  border-radius: var(--pub-r-xs);
  border: 1px solid rgba(255, 255, 255, 0.20);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--pub-font-head);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

/* ── HERO IMMERSIVE — RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  .pub-hero--immersive {
    min-height: 520px;
  }

  .pub-hero--immersive .pub-hero-inner {
    padding: 48px var(--pub-page-pad-mobile) 100px;
  }

  .pub-hero--immersive .pub-hero-stats-bar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px var(--pub-page-pad-mobile);
  }

  .pub-hero--immersive .pub-hero-stat-item {
    padding: 0 var(--pub-space-md);
  }

  .pub-hero--immersive .pub-hero-portals {
    margin-left: 0;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .pub-hero--immersive .pub-hero-stat-val {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .pub-hero--immersive .pub-hero-title {
    font-size: 34px;
  }

  .pub-hero--immersive .pub-hero-search-btn {
    padding: 10px 18px;
    font-size: 13px;
  }
}

/* ── PROOF BAR ───────────────────────────────────────────────────── */
.pub-proof-bar {
  background: var(--pub-bg-soft);
  border-top: 1px solid var(--pub-border);
  border-bottom: 1px solid var(--pub-border);
  padding: 20px var(--pub-page-pad);
  display: flex;
  align-items: center;
  gap: 40px;
  overflow-x: auto;
}
.pub-proof-item { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.pub-proof-val {
  font-family: var(--pub-font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--pub-text);
  line-height: 1;
}
.pub-proof-label { font-size: 13px; color: var(--pub-text-muted); line-height: 1.35; }
.pub-proof-divider { width: 1px; height: 36px; background: var(--pub-border-md); flex-shrink: 0; }
.pub-proof-portals {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.pub-proof-portals-label { font-size: 12px; color: var(--pub-text-muted); white-space: nowrap; }
.pub-proof-portal-tag {
  padding: 5px 12px;
  border-radius: var(--pub-r-sm);
  border: 1px solid var(--pub-border-md);
  font-size: 12px;
  font-weight: 600;
  color: var(--pub-text-soft);
}

/* ── TYPE TABS ───────────────────────────────────────────────────── */
.pub-type-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.pub-type-tab {
  padding: 8px 20px;
  border-radius: var(--pub-r-pill);
  font-family: var(--pub-font-head);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--pub-border-md);
  color: var(--pub-text-soft);
  cursor: pointer;
  transition: all 0.15s;
  background: none;
  min-height: 40px;
}
.pub-type-tab.active,
.pub-type-tab[aria-selected="true"] {
  background: var(--pub-text);
  color: #fff;
  border-color: var(--pub-text);
}
.pub-type-tab:hover:not(.active):not([aria-selected="true"]) {
  border-color: var(--pub-text);
  color: var(--pub-text);
}

/* ── PROPS GRID (HOME — 3 cols) ──────────────────────────────────── */
.pub-home-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  min-height: 200px;
}
.pub-home-props-grid[data-empty="true"] {
  grid-template-columns: 1fr;
  place-items: center;
  color: var(--pub-text-muted);
  font-size: 15px;
}

/* ── PROPERTY CARD (pub-prop-card) ───────────────────────────────── */
.pub-prop-card {
  border-radius: var(--pub-r-lg);
  overflow: hidden;
  background: var(--pub-bg);
  border: 1px solid var(--pub-border);
  box-shadow: var(--pub-shadow-sm);
  transition: all 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.pub-prop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pub-shadow-lg);
  border-color: var(--pub-border-md);
  text-decoration: none;
}
.pub-prop-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--pub-bg-muted);
  flex-shrink: 0;
}
.pub-prop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.pub-prop-card:hover .pub-prop-thumb img { transform: scale(1.05); }
.pub-prop-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e6e0 0%, #d8d5cd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa8a0;
  font-size: 40px;
}
.pub-prop-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
}
.pub-prop-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--pub-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.pub-prop-badge--disp  { background: rgba(255,255,255,0.95); color: #1a7f37; }
.pub-prop-badge--sold  { background: rgba(220,38,38,0.9); color: #fff; }
.pub-prop-badge--rent  { background: rgba(255,255,255,0.95); color: var(--pub-navy); }
.pub-prop-badge--venda { background: var(--pub-accent); color: #fff; }
.pub-prop-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.pub-prop-type {
  font-size: 11px;
  font-weight: 600;
  color: var(--pub-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pub-prop-title {
  font-family: var(--pub-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--pub-text);
  margin-top: 4px;
  line-height: 1.35;
}
.pub-prop-location {
  font-size: 13px;
  color: var(--pub-text-muted);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pub-prop-price {
  font-family: var(--pub-font-head);
  font-size: 21px;
  font-weight: 800;
  color: var(--pub-text);
  margin-top: 14px;
  letter-spacing: -0.5px;
}
.pub-prop-price-label { font-size: 12px; font-weight: 500; color: var(--pub-text-muted); }
.pub-prop-meta {
  display: flex;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--pub-border);
}
.pub-prop-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--pub-text-soft);
  flex: 1;
}
.pub-prop-meta-item + .pub-prop-meta-item {
  border-left: 1px solid var(--pub-border);
  padding-left: 12px;
}
.pub-prop-cta { display: flex; gap: 8px; margin-top: 14px; }
.pub-btn-ver {
  flex: 1;
  padding: 9px;
  border-radius: var(--pub-r-sm);
  background: var(--pub-bg-soft);
  border: 1.5px solid var(--pub-border-md);
  font-family: var(--pub-font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--pub-text);
  transition: all 0.15s;
  text-align: center;
  text-decoration: none;
  display: block;
}
.pub-btn-ver:hover { background: var(--pub-bg-muted); text-decoration: none; }
.pub-btn-wa-sm {
  padding: 9px 14px;
  border-radius: var(--pub-r-sm);
  background: var(--pub-wa);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 40px;
}
.pub-btn-wa-sm:hover { background: #20bb5a; }

/* ── DIFFERENTIALS ───────────────────────────────────────────────── */
.pub-diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pub-diff-card {
  padding: 28px 22px;
  background: var(--pub-bg);
  border: 1px solid var(--pub-border);
  border-radius: var(--pub-r-lg);
  text-align: center;
  transition: all 0.2s;
}
.pub-diff-card:hover {
  box-shadow: var(--pub-shadow-md);
  transform: translateY(-2px);
}
.pub-diff-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--pub-r-md);
  background: var(--pub-accent-soft);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.pub-diff-title {
  font-family: var(--pub-font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--pub-text);
}
.pub-diff-text {
  font-size: 13px;
  color: var(--pub-text-muted);
  margin-top: 8px;
  line-height: 1.6;
}

/* ── TESTIMONIALS ────────────────────────────────────────────────── */
.pub-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pub-testi-card {
  background: var(--pub-bg-soft);
  border: 1px solid var(--pub-border);
  border-radius: var(--pub-r-lg);
  padding: 28px;
}
.pub-testi-stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; }
.pub-testi-text {
  font-size: 15px;
  color: var(--pub-text-soft);
  line-height: 1.7;
  margin-top: 14px;
}
.pub-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--pub-border);
}
.pub-testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pub-navy), var(--pub-navy-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pub-font-head);
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.pub-testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pub-testi-name { font-family: var(--pub-font-head); font-weight: 700; font-size: 14px; }
.pub-testi-meta { font-size: 12px; color: var(--pub-text-muted); margin-top: 2px; }

/* ── OWNER CTA SECTION ───────────────────────────────────────────── */
.pub-owner-section {
  margin: 0 var(--pub-page-pad);
  border-radius: var(--pub-r-xl);
  background: linear-gradient(135deg, #0d1f6d 0%, #1a3a8f 60%, #0d1f6d 100%);
  padding: 64px 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.pub-owner-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.pub-owner-bg-circle--1 {
  width: 320px; height: 320px;
  right: -40px; top: -40px;
  background: rgba(255,87,34,0.12);
}
.pub-owner-bg-circle--2 {
  width: 200px; height: 200px;
  right: 100px; bottom: -60px;
  background: rgba(255,255,255,0.05);
}
.pub-owner-content { position: relative; }
.pub-owner-title {
  font-family: var(--pub-font-head);
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.8px;
}
.pub-owner-title span { color: var(--pub-accent); }
.pub-owner-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 460px;
}
.pub-owner-bullets { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.pub-owner-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}
.pub-owner-bullet::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,87,34,0.3);
  border: 1.5px solid var(--pub-accent);
  flex-shrink: 0;
}
.pub-owner-cta-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.pub-btn-avaliar {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 36px;
  border-radius: var(--pub-r-lg);
  background: var(--pub-accent);
  color: #fff;
  font-family: var(--pub-font-head);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(255,87,34,0.45);
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
  min-height: 72px;
  justify-content: center;
}
.pub-btn-avaliar:hover {
  background: var(--pub-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,87,34,0.55);
  text-decoration: none;
}
.pub-btn-avaliar-sub {
  font-size: 12px;
  opacity: 0.75;
  font-weight: 500;
  font-family: var(--pub-font-body);
}
.pub-owner-note { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ── PROP NO-RESULTS ─────────────────────────────────────────────── */
.pub-no-results {
  text-align: center;
  padding: 48px 24px;
  color: var(--pub-text-muted);
}
.pub-no-results p { font-size: 15px; }

/* ── HOME MOBILE ADJUSTMENTS ─────────────────────────────────────── */
@media (max-width: 768px) {
  .pub-hero { grid-template-columns: 1fr; }
  .pub-hero-left { padding: 40px 20px 32px; gap: 20px; }
  .pub-hero-right { min-height: 260px; }
  .pub-hero-stats { grid-template-columns: 1fr 1fr; padding: 16px; gap: 12px; }
  .pub-hero-stat-val { font-size: 22px; }
  .pub-home-props-grid { grid-template-columns: 1fr; }
  .pub-diff-grid { grid-template-columns: 1fr 1fr; }
  .pub-testi-grid { grid-template-columns: 1fr; }
  .pub-owner-section {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    margin: 0 16px;
    gap: 32px;
  }
  .pub-owner-title { font-size: 26px; }
  .pub-proof-bar { gap: 24px; }
  .pub-type-tabs { gap: 6px; }
  .pub-hero-title { font-size: 34px; }
}
@media (max-width: 480px) {
  .pub-diff-grid { grid-template-columns: 1fr; }
}

/* ── /sobre — Broker photo ───────────────────────────────────── */
.pub-sobre-broker-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* ── HERO BROKER STRIP ───────────────────────────────────────────── */
.pub-hero-broker-strip {
  display: flex;
  align-items: center;
  gap: var(--pub-space-sm);
  margin-bottom: var(--pub-space-sm);
}
.pub-hero-broker-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 87, 34, 0.25);
  border: 2px solid rgba(255, 87, 34, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pub-font-head);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.pub-hero-broker-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pub-hero-broker-name {
  font-family: var(--pub-font-head);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.pub-hero-broker-creci {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

/* ── OWNER WRAP & UPDATED BULLETS ───────────────────────────────── */
.pub-owner-wrap {
  padding: 0 var(--pub-page-pad) 72px;
}
@media (max-width: 768px) {
  .pub-owner-wrap { padding: 0 var(--pub-page-pad-mobile) 48px; }
}

/* Override circle decoration on bullets — use inline SVG instead */
.pub-owner-bullet::before {
  display: none;
}
.pub-owner-bullet svg {
  flex-shrink: 0;
  color: var(--pub-accent);
}

/* ── OWNER CIRCLES (renamed from pub-owner-bg-circle) ───────────── */
.pub-owner-circle--1,
.pub-owner-circle--2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.pub-owner-circle--1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: -60px;
  background: rgba(255, 87, 34, 0.08);
  border: 1px solid rgba(255, 87, 34, 0.12);
}
.pub-owner-circle--2 {
  width: 180px;
  height: 180px;
  bottom: -40px;
  left: 10%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── OWNER WHATSAPP BUTTON ───────────────────────────────────────── */
.pub-btn-wa-owner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--pub-r-md);
  background: var(--pub-wa);
  color: #fff;
  font-family: var(--pub-font-head);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.pub-btn-wa-owner:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  text-decoration: none;
}

/* ══════════════════════════════════════════════════════════════
   LISTING PAGE v2 — SIDEBAR FILTERS LAYOUT
   ══════════════════════════════════════════════════════════════ */

/* Breadcrumb */
.pub-breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  font-size: 13px;
  color: var(--pub-text-muted);
}
.pub-breadcrumb a { color: var(--pub-text-muted); text-decoration: none; }
.pub-breadcrumb a:hover { color: var(--pub-accent); }
.pub-breadcrumb span { margin: 0 6px; }

/* Listing section wrapper */
.pub-listing {
  padding: 0 0 64px;
}

/* Two-column layout: 260px filters + 1fr main */
.pub-listing-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

/* ── FILTER ASIDE ───────────────────────────────────────────── */
.pub-listing-filters {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pub-lf-form {
  background: var(--pub-bg);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--pub-r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pub-lf-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pub-lf-label {
  font-family: var(--pub-font-head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pub-text-muted);
}

.pub-lf-input,
.pub-lf-select {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--pub-r-sm);
  padding: 9px 12px;
  font-size: 13px;
  font-family: var(--pub-font-body);
  color: var(--pub-text);
  background: var(--pub-bg-soft);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.pub-lf-input:focus,
.pub-lf-select:focus {
  border-color: var(--pub-accent);
  background: var(--pub-bg);
}
.pub-lf-input::placeholder { color: var(--pub-text-muted); }

.pub-lf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Checkbox / radio rows */
.pub-lf-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--pub-text-soft);
}
.pub-lf-check-row input { accent-color: var(--pub-accent); cursor: pointer; }
.pub-lf-check-label { cursor: pointer; }

/* Pill group (bedrooms) */
.pub-lf-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pub-lf-pill {
  padding: 5px 12px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--pub-r-pill);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--pub-font-body);
  color: var(--pub-text-soft);
  background: var(--pub-bg-soft);
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1;
}
.pub-lf-pill:hover { border-color: var(--pub-accent); color: var(--pub-accent); }
.pub-lf-pill.active { background: var(--pub-navy); color: #fff; border-color: var(--pub-navy); }

/* Clear link */
.pub-lf-clear {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--pub-text-muted);
  text-decoration: none;
  padding: 6px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 4px;
  transition: color 0.15s;
}
.pub-lf-clear:hover { color: var(--pub-accent); text-decoration: none; }

/* Sidebar cards (AI search, broker) */
.pub-lf-sidebar-card {
  background: var(--pub-bg);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--pub-r-lg);
  padding: 20px;
}
.pub-lf-sidebar-card h4 {
  font-family: var(--pub-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--pub-text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pub-lf-sidebar-card p {
  font-size: 12px;
  color: var(--pub-text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.pub-lf-ai-search {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.pub-lf-ai-search input {
  flex: 1;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--pub-r-sm);
  padding: 9px 12px;
  font-size: 12px;
  font-family: var(--pub-font-body);
  outline: none;
  transition: border-color 0.2s;
}
.pub-lf-ai-search input:focus { border-color: var(--pub-navy); }
.pub-lf-ai-search button {
  background: var(--pub-navy);
  color: #fff;
  border: none;
  border-radius: var(--pub-r-sm);
  padding: 9px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pub-lf-ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.pub-lf-ai-chip {
  font-size: 11px;
  padding: 3px 9px;
  background: var(--pub-accent-soft);
  color: var(--pub-accent);
  border: none;
  border-radius: var(--pub-r-pill);
  cursor: pointer;
  font-family: var(--pub-font-body);
  font-weight: 500;
  transition: background 0.15s;
}
.pub-lf-ai-chip:hover { background: rgba(255,87,34,0.15); }

/* Broker mini card inside sidebar card */
.pub-lf-broker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.pub-lf-broker-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pub-font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--pub-text-muted);
}
.pub-lf-broker-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pub-lf-broker-name { font-weight: 600; font-size: 13px; color: var(--pub-text); }
.pub-lf-broker-creci { font-size: 11px; color: var(--pub-text-muted); }

.pub-lf-btn {
  width: 100%;
  padding: 9px;
  border-radius: var(--pub-r-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--pub-font-body);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: none;
}
.pub-lf-btn + .pub-lf-btn { margin-top: 6px; }
.pub-lf-btn--wa { background: #25D366; color: #fff; }
.pub-lf-btn--wa:hover { background: #1ebe5d; color: #fff; text-decoration: none; }
.pub-lf-btn--chat { background: transparent; color: var(--pub-navy); border: 1.5px solid var(--pub-navy); }
.pub-lf-btn--chat:hover { background: var(--pub-navy); color: #fff; text-decoration: none; }

/* ── MAIN CONTENT AREA ─────────────────────────────────────── */
.pub-listing-main {
  min-width: 0;
}

.pub-listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pub-lf-count {
  font-size: 13px;
  color: var(--pub-text-muted);
}
.pub-lf-count strong { color: var(--pub-text); font-weight: 700; }

.pub-lf-sort {
  appearance: none;
  background: var(--pub-bg-soft);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--pub-r-sm);
  padding: 7px 28px 7px 10px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--pub-font-body);
  color: var(--pub-text);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7280' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  outline: none;
}

.pub-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Empty state */
.pub-listing-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  background: var(--pub-bg);
  border-radius: var(--pub-r-lg);
  border: 1px solid rgba(0,0,0,0.07);
}
.pub-listing-empty h3 {
  font-family: var(--pub-font-head);
  font-size: 18px;
  color: var(--pub-text);
  margin: 16px 0 8px;
}
.pub-listing-empty p {
  font-size: 14px;
  color: var(--pub-text-muted);
  margin-bottom: 20px;
}

/* Pagination wrapper */
.pub-listing-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* ── PROPERTY CARD v2 (pub-prop-card) ──────────────────────── */
/* Note: existing pub-prop-card styles are in public_theme.css   */
/* These extend the card specifically for the index listing view */
.pub-listing-grid .pub-prop-card {
  display: flex;
  flex-direction: column;
  background: var(--pub-bg);
  border-radius: var(--pub-r-md);
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pub-listing-grid .pub-prop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pub-listing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .pub-listing-layout {
    grid-template-columns: 1fr;
  }
  .pub-listing-filters {
    position: static;
  }
  .pub-lf-form {
    display: none; /* filters hidden on mobile — show only cards */
  }
  .pub-listing-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pub-listing-toolbar { padding-bottom: 12px; margin-bottom: 12px; }
}

@media (max-width: 480px) {
  .pub-listing-grid { grid-template-columns: 1fr; }
  .pub-listing-layout { padding: 0 12px; }
  .pub-breadcrumb { padding: 10px 12px; }
}

/* ============================================================
   DETAIL PAGE — GALLERY
   ============================================================ */
.gallery-back-link {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--pub-space-md) var(--pub-page-pad);
  font-size: 13px;
  color: var(--pub-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.gallery-back-link a { color: var(--pub-navy); font-weight: 600; }
.gallery-back-link a:hover { color: var(--pub-accent); text-decoration: none; }
.gallery-back-link__sep { color: var(--pub-text-muted); margin: 0 2px; }
.gallery-back-link__title { color: var(--pub-text-soft); font-size: 13px; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.detail-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pub-page-pad) var(--pub-space-md);
  display: grid;
  grid-template-columns: 1fr 80px;
  gap: var(--pub-space-sm);
  height: 440px;
}

.gallery-main {
  background: var(--pub-bg-muted);
  border-radius: var(--pub-r-lg);
  position: relative;
  overflow: hidden;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-empty-state {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--pub-bg-muted), var(--pub-bg-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pub-text-muted);
  font-size: 14px;
}
#mainImageLoading {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.75);
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.gallery-nav-btn:hover { background: rgba(0,0,0,0.75); }
.gallery-nav-btn--prev { left: 12px; }
.gallery-nav-btn--next { right: 12px; }
.gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--pub-r-pill);
  z-index: 2;
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  scrollbar-width: none;
  border-radius: var(--pub-r-md);
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--pub-r-xs);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s;
  flex-shrink: 0;
  opacity: 0.75;
}
.gallery-thumbs img:hover { opacity: 1; }
.gallery-thumbs img.is-active { border-color: var(--pub-accent); opacity: 1; }

/* ============================================================
   DETAIL PAGE — CONTENT
   ============================================================ */
.detail-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pub-page-pad) var(--pub-space-2xl);
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--pub-space-lg);
  align-items: start;
}
.detail-main { display: flex; flex-direction: column; gap: var(--pub-space-lg); }

/* Header */
.detail-header { padding-top: var(--pub-space-lg); }
.detail-badges { display: flex; gap: 8px; margin-bottom: var(--pub-space-sm); }
.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--pub-r-pill);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-sale { background: var(--pub-accent); color: #fff; }
.badge-rent { background: var(--pub-navy); color: #fff; }
.badge-sold { background: var(--pub-danger); color: #fff; }
.badge-rented { background: var(--pub-text-soft); color: #fff; }

.detail-title {
  font-family: var(--pub-font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--pub-text);
  line-height: 1.2;
  margin-bottom: 6px;
}
.detail-address {
  font-size: 14px;
  color: var(--pub-text-soft);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--pub-space-md);
}
.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--pub-space-lg);
  flex-wrap: wrap;
}
.detail-price {
  font-family: var(--pub-font-head);
  font-size: 30px;
  font-weight: 800;
  color: var(--pub-navy);
}
.detail-price-per-m2 { font-size: 14px; color: var(--pub-text-muted); }

/* Specs grid */
.detail-specs {
  background: var(--pub-bg);
  border: 1px solid var(--pub-border);
  border-radius: var(--pub-r-lg);
  padding: var(--pub-space-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--pub-space-md);
}
.detail-spec { text-align: center; padding: var(--pub-space-sm); }
.detail-spec-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--pub-space-sm);
  background: var(--pub-bg-soft);
  border-radius: var(--pub-r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pub-navy);
}
.detail-spec-value {
  font-family: var(--pub-font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--pub-text);
}
.detail-spec-label { font-size: 12px; color: var(--pub-text-muted); }

/* Description */
.detail-description {
  background: var(--pub-bg);
  border: 1px solid var(--pub-border);
  border-radius: var(--pub-r-lg);
  padding: var(--pub-space-lg);
}
.detail-description h3 {
  font-family: var(--pub-font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--pub-text);
  margin-bottom: var(--pub-space-md);
}
.detail-description p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--pub-text-soft);
}
.ai-generated-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--pub-navy);
  background: rgba(13,31,109,0.08);
  padding: 3px 10px;
  border-radius: var(--pub-r-pill);
  margin-bottom: var(--pub-space-sm);
}

/* Features */
.detail-features {
  background: var(--pub-bg);
  border: 1px solid var(--pub-border);
  border-radius: var(--pub-r-lg);
  padding: var(--pub-space-lg);
}
.detail-features h3 {
  font-family: var(--pub-font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--pub-text);
  margin-bottom: var(--pub-space-md);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pub-space-sm);
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--pub-text-soft);
  padding: 6px 0;
}
.feature-item .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(26,127,55,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pub-success);
  font-size: 11px;
  flex-shrink: 0;
}

/* Map */
.detail-map {
  background: var(--pub-bg);
  border: 1px solid var(--pub-border);
  border-radius: var(--pub-r-lg);
  overflow: hidden;
}
.detail-map h3 {
  font-family: var(--pub-font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--pub-text);
  padding: var(--pub-space-lg) var(--pub-space-lg) var(--pub-space-md);
}
.map-placeholder {
  height: 260px;
  background: linear-gradient(135deg, var(--pub-bg-muted), var(--pub-bg-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pub-text-muted);
  font-size: 14px;
}

/* ============================================================
   DETAIL PAGE — SIDEBAR
   ============================================================ */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--pub-space-lg);
  padding-top: var(--pub-space-lg);
  position: sticky;
  top: 80px;
}
.contact-card {
  background: var(--pub-bg);
  border: 1px solid var(--pub-border);
  border-radius: var(--pub-r-lg);
  padding: var(--pub-space-lg);
}
.contact-card h4 {
  font-family: var(--pub-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--pub-text);
  margin-bottom: var(--pub-space-md);
}
.contact-form-field { margin-bottom: var(--pub-space-md); }
.contact-form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--pub-text-soft);
  margin-bottom: 4px;
}
.contact-form-field input,
.contact-form-field textarea,
.contact-form-field select {
  width: 100%;
  border: 1px solid var(--pub-border-md);
  border-radius: var(--pub-r-sm);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--pub-font-body);
  color: var(--pub-text);
  outline: none;
  transition: border-color 0.2s;
  background: var(--pub-bg);
}
.contact-form-field textarea { resize: vertical; }
.contact-form-field input:focus,
.contact-form-field textarea:focus,
.contact-form-field select:focus { border-color: var(--pub-navy); }
.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder { color: var(--pub-text-muted); }
.btn-submit-lead {
  width: 100%;
  background: var(--pub-accent);
  color: white;
  border: none;
  padding: 14px;
  border-radius: var(--pub-r-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--pub-font-body);
  transition: background 0.2s;
  margin-bottom: var(--pub-space-sm);
}
.btn-submit-lead:hover { background: var(--pub-accent-dark); }
.btn-submit-lead:disabled { opacity: 0.7; cursor: not-allowed; }
.contact-or {
  text-align: center;
  font-size: 12px;
  color: var(--pub-text-muted);
  margin: var(--pub-space-sm) 0;
  position: relative;
}
.contact-or::before,
.contact-or::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 20px);
  height: 1px;
  background: var(--pub-border);
}
.contact-or::before { left: 0; }
.contact-or::after { right: 0; }
.lead-form-error {
  font-size: 12px;
  color: var(--pub-danger);
  margin-bottom: var(--pub-space-sm);
  display: none;
}
.btn-detail-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--pub-wa);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: var(--pub-r-sm);
  text-decoration: none;
  transition: background 0.2s;
}
.btn-detail-whatsapp:hover { background: var(--pub-wa-dark); color: white; }

/* Sidebar cards (detail) */
.detail-sidebar .sidebar-card {
  background: var(--pub-bg);
  border-radius: var(--pub-r-lg);
  border: 1px solid var(--pub-border);
  padding: var(--pub-space-lg);
}
.detail-sidebar .sidebar-card h4 {
  font-family: var(--pub-font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--pub-text);
  margin-bottom: var(--pub-space-md);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-card--ai { border-color: var(--pub-accent-border); }
.sidebar-card--broker { background: var(--pub-bg-soft); }

.broker-mini {
  display: flex;
  align-items: center;
  gap: var(--pub-space-md);
  margin-bottom: var(--pub-space-md);
}
.broker-mini-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pub-bg-muted);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pub-font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--pub-text-muted);
}
.broker-mini-avatar img { width: 100%; height: 100%; object-fit: cover; }
.broker-mini-name { font-weight: 600; font-size: 14px; color: var(--pub-text); }
.broker-mini-creci { font-size: 12px; color: var(--pub-text-muted); }
.detail-broker-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  border-radius: var(--pub-r-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--pub-font-body);
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}
.detail-broker-btn + .detail-broker-btn { margin-top: 8px; }
.detail-broker-btn--wa { background: var(--pub-wa); color: white; }
.detail-broker-btn--wa:hover { background: var(--pub-wa-dark); color: white; }
.detail-broker-btn--phone { background: transparent; color: var(--pub-navy); border: 1.5px solid var(--pub-navy); }
.detail-broker-btn--phone:hover { background: var(--pub-navy); color: white; }

.detail-ai-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--pub-space-md); }
.ai-chat-messages-wrap {
  max-height: 240px;
  overflow-y: auto;
  padding: var(--pub-space-sm);
  border: 1px solid var(--pub-border);
  border-radius: var(--pub-r-md);
  margin-bottom: var(--pub-space-sm);
  background: var(--pub-bg-soft);
}

/* ── RESPONSIVE DETAIL PAGE ────────────────────────────────── */
@media (max-width: 1024px) {
  .detail-content { grid-template-columns: 1fr 320px; }
}
@media (max-width: 768px) {
  .detail-gallery { grid-template-columns: 1fr; height: 280px; }
  .gallery-thumbs { display: none; }
  .detail-content { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; padding-top: 0; }
  .detail-specs { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-price-row { flex-direction: column; gap: var(--pub-space-sm); }
  .detail-title { font-size: 22px; }
  .detail-price { font-size: 24px; }
}
@media (max-width: 480px) {
  .gallery-back-link { padding: var(--pub-space-sm) var(--pub-page-pad-mobile); }
  .detail-gallery { padding: 0 var(--pub-page-pad-mobile) var(--pub-space-sm); height: 240px; }
  .detail-content { padding: 0 var(--pub-page-pad-mobile) var(--pub-space-xl); }
  .detail-specs { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   CONTATO PAGE
   ============================================================ */

/* Hero pequeno */
.pub-page-hero {
  background: var(--pub-bg-navy);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--pub-page-pad);
}
.pub-page-hero-inner { max-width: 600px; }
.pub-page-hero h1 {
  font-family: var(--pub-font-head);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.pub-page-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

/* Container */
.pub-contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px var(--pub-page-pad);
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

/* Form side */
.pub-contact-form-wrap > h2 {
  font-family: var(--pub-font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--pub-text);
  margin-bottom: 8px;
}
.pub-contact-intro {
  font-size: 14px;
  color: var(--pub-text-soft);
  margin-bottom: var(--pub-space-lg);
  line-height: 1.6;
}
.pub-contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--pub-space-md);
}
.pub-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pub-space-md);
}
.pub-form-group { display: flex; flex-direction: column; gap: 4px; }
.pub-form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--pub-text-soft);
}
.pub-form-group input,
.pub-form-group select,
.pub-form-group textarea {
  width: 100%;
  border: 1px solid var(--pub-border-md);
  border-radius: var(--pub-r-sm);
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--pub-font-body);
  color: var(--pub-text);
  background: var(--pub-bg);
  outline: none;
  transition: border-color 0.2s;
}
.pub-form-group textarea { resize: vertical; }
.pub-form-group input:focus,
.pub-form-group select:focus,
.pub-form-group textarea:focus { border-color: var(--pub-navy); }
.pub-form-group input::placeholder,
.pub-form-group textarea::placeholder { color: var(--pub-text-muted); }
.pub-form-footer {
  display: flex;
  flex-direction: column;
  gap: var(--pub-space-sm);
  margin-top: var(--pub-space-sm);
}
.pub-btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: var(--pub-r-sm);
  background: var(--pub-accent);
  color: #fff;
  font-family: var(--pub-font-head);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  min-height: 48px;
}
.pub-btn-submit:hover { background: var(--pub-accent-dark); }
.pub-btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.pub-form-note {
  font-size: 12px;
  color: var(--pub-text-muted);
  text-align: center;
}

/* Sidebar */
.pub-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--pub-space-lg);
}
.pub-contact-card {
  background: var(--pub-bg);
  border: 1px solid var(--pub-border);
  border-radius: var(--pub-r-lg);
  padding: var(--pub-space-lg);
}
.pub-contact-card--primary { border-top: 3px solid var(--pub-accent); }
.pub-contact-card--hours { background: var(--pub-bg-soft); }
.pub-contact-card--region { background: var(--pub-bg-soft); }

/* Primary card — broker identity */
.pub-contact-broker-header {
  display: flex;
  align-items: center;
  gap: var(--pub-space-md);
  margin-bottom: var(--pub-space-md);
}
.pub-contact-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--pub-accent);
  background: var(--pub-bg-muted);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pub-font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--pub-text-muted);
}
.pub-contact-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pub-contact-broker-header h3 {
  font-family: var(--pub-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--pub-text);
  margin-bottom: 2px;
}
.pub-contact-broker-creci {
  font-size: 12px;
  color: var(--pub-text-muted);
}
.pub-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--pub-space-md);
}
.pub-contact-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--pub-text-soft);
}
.pub-contact-info-item svg { flex-shrink: 0; color: var(--pub-accent); }
.pub-contact-info-item a { color: var(--pub-navy); font-weight: 500; }
.pub-contact-info-item a:hover { color: var(--pub-accent); }

/* WA button full-width */
.pub-btn-wa-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  padding: 12px;
  border-radius: var(--pub-r-sm);
  background: var(--pub-wa);
  color: #fff;
  font-family: var(--pub-font-head);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
  min-height: 56px;
}
.pub-btn-wa-full:hover { background: var(--pub-wa-dark); color: #fff; }
.pub-btn-wa-full > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pub-btn-wa-sub {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
}

/* Hours card */
.pub-contact-card--hours h4 {
  font-family: var(--pub-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--pub-text);
  margin-bottom: var(--pub-space-md);
}
.pub-hours-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pub-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--pub-text-soft);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--pub-border);
}
.pub-hours-row:last-child { border-bottom: none; padding-bottom: 0; }
.pub-hours-day { font-weight: 500; color: var(--pub-text); }

/* Region card */
.pub-contact-card--region {
  text-align: center;
}
.pub-contact-card--region p {
  font-size: 13px;
  color: var(--pub-text-soft);
  margin-bottom: var(--pub-space-md);
}
.pub-contact-card--region strong { color: var(--pub-navy); font-weight: 600; }

/* Success state */
.pub-contact-success {
  text-align: center;
  padding: var(--pub-space-xl) var(--pub-space-lg);
}
.pub-contact-success svg { margin: 0 auto var(--pub-space-md); display: block; }
.pub-contact-success h2 {
  font-family: var(--pub-font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--pub-text);
  margin-bottom: 8px;
}
.pub-contact-success p {
  font-size: 14px;
  color: var(--pub-text-soft);
  margin-bottom: var(--pub-space-lg);
}

/* Responsive */
@media (max-width: 900px) {
  .pub-contact-container { grid-template-columns: 1fr 340px; gap: 32px; }
}
@media (max-width: 768px) {
  .pub-contact-container {
    grid-template-columns: 1fr;
    padding: var(--pub-space-xl) var(--pub-page-pad-mobile);
    gap: var(--pub-space-xl);
  }
  .pub-page-hero { height: 160px; }
  .pub-page-hero h1 { font-size: 22px; }
  .pub-form-row { grid-template-columns: 1fr; }
}

/* ── LANÇAMENTOS — badge de status ─────────────────────────────────────── */
.pub-prop-badge--launch {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--pub-r-pill);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
}
.pub-prop-badge--launch-pre     { background: var(--pub-accent); }
.pub-prop-badge--launch-ok      { background: #1a7f37; }
.pub-prop-badge--launch-obra    { background: #b45309; }
.pub-prop-badge--launch-pronto  { background: #1d4ed8; }
.pub-prop-badge--launch-esgotado { background: var(--pub-text-muted, #6b7280); }

.pub-dev-builder {
  font-size: 12px;
  color: var(--pub-text-muted);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── LANÇAMENTOS — tipologias ───────────────────────────────────────────── */
.pub-typologies-section { margin-top: var(--pub-space-xl); }

.pub-typologies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--pub-space-md);
  margin-top: var(--pub-space-md);
}

.pub-typology-card {
  border: 1px solid var(--pub-border);
  border-radius: var(--pub-r-md);
  padding: 20px;
  background: var(--pub-bg);
}

.pub-typology-label {
  font-family: var(--pub-font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--pub-text);
  margin-bottom: 8px;
}

.pub-typology-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--pub-text-soft);
  margin: 8px 0;
}

.pub-typology-specs span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pub-typology-price {
  font-size: 18px;
  font-weight: 800;
  font-family: var(--pub-font-head);
  color: var(--pub-text);
  margin-top: 10px;
}

.pub-typology-notes {
  font-size: 12px;
  color: var(--pub-text-muted);
  margin-top: 6px;
}

/* ── LANÇAMENTOS — detail cover ─────────────────────────────────────────── */
.detail-cover-single {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  border-radius: var(--pub-r-lg);
  margin-bottom: var(--pub-space-xl);
}

.detail-cover-img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.detail-section-title {
  font-family: var(--pub-font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--pub-text);
  margin: var(--pub-space-xl) 0 var(--pub-space-md);
}

.detail-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--pub-text-soft);
  white-space: pre-line;
}

@media (max-width: 768px) {
  .pub-typologies-grid { grid-template-columns: 1fr; }
  .detail-cover-single { border-radius: 0; margin: 0 0 var(--pub-space-lg); }
}

/* ═══════════════════════════════════════════════════════
   LANDING PAGES — BANNER DE PRÉVIA (.pub-draft-banner)
   Renderiza somente em modo prévia (@preview), nunca na página publicada.
   ═══════════════════════════════════════════════════════ */

.pub-draft-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--pub-space-sm);
  flex-wrap: wrap;
  padding: var(--pub-space-sm) var(--pub-page-pad);
  background: var(--pub-bg-soft);
  border-bottom: 2px solid var(--pub-warning);
  color: var(--pub-text-soft);
  font-family: var(--pub-font-body);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.pub-draft-banner__pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--pub-r-pill);
  background: var(--pub-warning);
  color: var(--pub-bg);
  font-family: var(--pub-font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pub-draft-banner__text {
  font-weight: 500;
}

@media (max-width: 768px) {
  .pub-draft-banner {
    padding: var(--pub-space-sm) var(--pub-page-pad-mobile);
    font-size: 13px;
  }
}

/* ═══════════════════════════════════════════════════════
   LANDING PAGES — CLASSIC (.pub-lp-*)
   ═══════════════════════════════════════════════════════ */

.pub-lp-wrap {
  background: #fff;
  color: #111;
  min-height: 100vh;
}

.pub-lp-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px var(--pub-page-pad, 24px);
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pub-lp-hero { grid-template-columns: 1fr 1fr; align-items: center; }
}

.pub-lp-hero__media { border-radius: 12px; overflow: hidden; }

.pub-lp-hero__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
}

.pub-lp-badge {
  display: inline-block;
  background: #FF5722;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.pub-lp-hero__title {
  font-family: var(--pub-font-head, 'Montserrat', sans-serif);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 14px;
  color: #111;
}

.pub-lp-hero__sub {
  font-size: 16px;
  line-height: 1.65;
  color: #555;
  margin: 0 0 24px;
}

.pub-lp-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pub-lp-highlights__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #444;
}

.pub-lp-highlights__icon {
  color: #FF5722;
  font-weight: 700;
  flex-shrink: 0;
}

.pub-lp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FF5722;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.pub-lp-cta:hover {
  background: #e64a19;
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.pub-lp-cta--outline {
  background: transparent;
  color: #FF5722;
  border: 2px solid #FF5722;
}

.pub-lp-cta--outline:hover {
  background: rgba(255, 87, 34, 0.07);
  color: #FF5722;
}

.pub-lp-cta--full { width: 100%; }

.pub-lp-gallery { padding: 32px var(--pub-page-pad, 24px); background: #f8f8f8; }

.pub-lp-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .pub-lp-gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

.pub-lp-gallery__photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}

.pub-lp-broker {
  padding: 48px var(--pub-page-pad, 24px);
  background: #fff;
}

.pub-lp-broker__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 480px) {
  .pub-lp-broker__inner { flex-direction: row; text-align: left; }
}

.pub-lp-broker__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.pub-lp-broker__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #FF5722;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pub-lp-broker__name {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 0 0 12px;
}

.pub-lp-form-section {
  padding: 56px var(--pub-page-pad, 24px);
  background: #f4f4f4;
}

.pub-lp-form-inner {
  max-width: 480px;
  margin: 0 auto;
}

.pub-lp-form-title {
  font-family: var(--pub-font-head, 'Montserrat', sans-serif);
  font-size: 24px;
  font-weight: 800;
  color: #111;
  margin: 0 0 28px;
  text-align: center;
}

.pub-lp-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pub-lp-input {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #111;
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.pub-lp-input:focus { border-color: #FF5722; }

/* ═══════════════════════════════════════════════════════
   LANDING PAGES — LUXURY (.pub-lp-lux-*)
   ═══════════════════════════════════════════════════════ */

.pub-lp-lux-wrap {
  background: #faf8f5;
  color: #1a1a1a;
  min-height: 100vh;
  font-family: var(--pub-font-body, 'Open Sans', sans-serif);
}

.pub-lp-lux-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.pub-lp-lux-hero__bg {
  position: absolute;
  inset: 0;
}

.pub-lp-lux-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pub-lp-lux-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.pub-lp-lux-hero__content {
  position: relative;
  z-index: 2;
  padding: 64px var(--pub-page-pad, 32px);
  max-width: 720px;
  width: 100%;
}

.pub-lp-lux-badge {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.6);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.pub-lp-lux-hero__title {
  font-family: var(--pub-font-head, 'Montserrat', sans-serif);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 16px;
}

.pub-lp-lux-hero__sub {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  margin: 0 0 32px;
  max-width: 560px;
}

.pub-lp-lux-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #c9a84c;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s ease;
}

.pub-lp-lux-cta:hover { background: #b5923e; color: #fff; text-decoration: none; }

.pub-lp-lux-cta--outline {
  background: transparent;
  color: #c9a84c;
  border: 2px solid #c9a84c;
}

.pub-lp-lux-cta--outline:hover { background: rgba(201,168,76,0.1); color: #c9a84c; }

.pub-lp-lux-cta--full { width: 100%; }

.pub-lp-lux-section { padding: 80px var(--pub-page-pad, 32px); }

.pub-lp-lux-section--cream { background: #faf8f5; }

.pub-lp-lux-section--dark { background: #1a1a2e; }

.pub-lp-lux-inner { max-width: 960px; margin: 0 auto; }

.pub-lp-lux-inner--narrow { max-width: 640px; margin: 0 auto; }

.pub-lp-lux-section__title {
  font-family: var(--pub-font-head, 'Montserrat', sans-serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 48px;
  text-align: center;
}

.pub-lp-lux-section__title--light { color: #fff; }

.pub-lp-lux-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) { .pub-lp-lux-grid { grid-template-columns: 1fr 1fr; } }

.pub-lp-lux-card {
  background: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 4px;
  padding: 28px;
}

.pub-lp-lux-card__num {
  display: block;
  font-family: var(--pub-font-head, 'Montserrat', sans-serif);
  font-size: 32px;
  font-weight: 800;
  color: #c9a84c;
  line-height: 1;
  margin-bottom: 12px;
}

.pub-lp-lux-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

.pub-lp-lux-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (min-width: 640px) { .pub-lp-lux-gallery { grid-template-columns: repeat(3, 1fr); } }

.pub-lp-lux-gallery__photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
}

.pub-lp-lux-broker {
  background: #fff;
  border: 1px solid #e8e2d8;
  border-radius: 4px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

@media (min-width: 480px) {
  .pub-lp-lux-broker { flex-direction: row; text-align: left; align-items: flex-start; }
}

.pub-lp-lux-broker__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.pub-lp-lux-broker__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #c9a84c;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pub-lp-lux-broker__name {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 12px;
}

.pub-lp-lux-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pub-lp-lux-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  padding: 14px 16px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.pub-lp-lux-input::placeholder { color: rgba(255,255,255,0.4); }
.pub-lp-lux-input:focus { border-color: #c9a84c; }

/* ═══════════════════════════════════════════════════════
   LANDING PAGES — PRO (.pub-lp-pro-*)
   Navy #0d1526 · Laranja #f5720a · Inter
   ═══════════════════════════════════════════════════════ */

.pub-lp-pro-wrap,
.pub-lp-pro-float {
  --pro-navy:      #0d1526;
  --pro-navy-2:    #111d35;
  --pro-bg:        #f6f8fb;
  --pro-card:      #ffffff;
  --pro-orange:    #f5720a;
  --pro-orange-hov:#e0640a;
  --pro-text:      #111d35;
  --pro-muted:     #a8b4c8;
  --pro-border:    #e2e8f0;
  --pro-radius:    12px;
  font-family:     'Inter', 'Open Sans', sans-serif;
}

/* Floating CTA */
.pub-lp-pro-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pro-orange);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(245, 114, 10, 0.45);
}

.pub-lp-pro-float:hover { color: #fff; text-decoration: none; }

/* Wrap geral */
.pub-lp-pro-wrap {
  background: var(--pro-bg);
  color: var(--pro-text);
  min-height: 100vh;
}

/* Seções */
.pub-lp-pro-section { padding: 72px var(--pub-page-pad, 24px); }
.pub-lp-pro-section--dark  { background: var(--pro-navy); }
.pub-lp-pro-section--light { background: var(--pro-bg); }

.pub-lp-pro-inner { max-width: 960px; margin: 0 auto; }
.pub-lp-pro-inner--narrow { max-width: 680px; margin: 0 auto; }

.pub-lp-pro-section__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--pro-text);
  margin: 0 0 40px;
  text-align: center;
}

.pub-lp-pro-section__title--light { color: #fff; }

/* ── HERO ── */
.pub-lp-pro-hero {
  background: var(--pro-navy);
  color: #fff;
  padding: 56px var(--pub-page-pad, 24px) 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .pub-lp-pro-hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 72px 48px;
  }
}

.pub-lp-pro-hero__media {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: var(--pro-radius);
  overflow: hidden;
}

.pub-lp-pro-hero__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--pro-radius);
}

.pub-lp-pro-hero__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.pub-lp-pro-hero__thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.pub-lp-pro-hero__thumb:hover { opacity: 1; }

.pub-lp-pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 114, 10, 0.15);
  color: var(--pro-orange);
  border: 1px solid rgba(245, 114, 10, 0.3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.pub-lp-pro-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pro-orange);
  animation: pro-dot-pulse 1.5s ease-in-out infinite;
}

@keyframes pro-dot-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.pub-lp-pro-hero__title {
  font-size: clamp(26px, 5vw, 46px);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 16px;
}

.pub-lp-pro-hero__sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--pro-muted);
  margin: 0 0 28px;
}

.pub-lp-pro-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pub-lp-pro-hero__bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--pro-muted);
}

.pub-lp-pro-check {
  color: var(--pro-orange);
  flex-shrink: 0;
}

/* CTA Button */
.pub-lp-pro-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--pro-orange);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.pub-lp-pro-cta:hover {
  background: var(--pro-orange-hov);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.pub-lp-pro-cta--full { width: 100%; }

.pub-lp-pro-cta--pulse {
  animation: pro-cta-pulse 2s ease-in-out infinite;
}

@keyframes pro-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 114, 10, 0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(245, 114, 10, 0); }
}

/* ── GRID DE CARDS ── */
.pub-lp-pro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .pub-lp-pro-grid { grid-template-columns: 1fr 1fr; }
}

.pub-lp-pro-card {
  background: var(--pro-card);
  border: 1px solid var(--pro-border);
  border-radius: var(--pro-radius);
  padding: 24px;
  transition: box-shadow 0.2s ease;
}

.pub-lp-pro-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.pub-lp-pro-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(245, 114, 10, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pro-orange);
  margin-bottom: 14px;
}

.pub-lp-pro-card__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--pro-text);
  margin: 0;
}

.pub-lp-pro-fade {
  opacity: 0;
  transform: translateY(16px);
  animation: pro-fadein 0.5s ease forwards;
  animation-delay: var(--pro-delay, 0s);
}

@keyframes pro-fadein {
  to { opacity: 1; transform: translateY(0); }
}

/* ── GALERIA ── */
.pub-lp-pro-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (min-width: 640px) {
  .pub-lp-pro-photo-grid { grid-template-columns: repeat(3, 1fr); }
}

.pub-lp-pro-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}

/* ── CORRETOR ── */
.pub-lp-pro-broker {
  background: var(--pro-card);
  border: 1px solid var(--pro-border);
  border-radius: var(--pro-radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

@media (min-width: 640px) {
  .pub-lp-pro-broker {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }
}

.pub-lp-pro-broker__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.pub-lp-pro-broker__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--pro-orange);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pub-lp-pro-broker__name {
  font-size: 20px;
  font-weight: 800;
  color: var(--pro-text);
  margin: 0 0 6px;
}

.pub-lp-pro-broker__bio {
  font-size: 14px;
  line-height: 1.65;
  color: #6b7a99;
  margin: 0 0 16px;
}

.pub-lp-pro-broker__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--pro-orange);
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--pro-orange);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.pub-lp-pro-broker__cta:hover {
  background: rgba(245, 114, 10, 0.08);
  color: var(--pro-orange);
  text-decoration: none;
}

/* ── FORMULÁRIO ── */
.pub-lp-pro-form-sub {
  color: var(--pro-muted);
  font-size: 15px;
  text-align: center;
  margin: -24px 0 32px;
}

.pub-lp-pro-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pub-lp-pro-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 480px) {
  .pub-lp-pro-form__row { grid-template-columns: 1fr 1fr; }
}

.pub-lp-pro-input {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  padding: 14px 16px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}

.pub-lp-pro-input::placeholder { color: rgba(255,255,255,0.35); }

/* ── Exit Intent Popup ──────────────────────────────────── */
.pub-exit-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.pub-exit-overlay.pub-exit-popup--visible { display: flex; }

.pub-exit-popup__content {
  background: var(--pub-bg);
  border-radius: var(--pub-r-lg);
  padding: var(--pub-space-xl);
  max-width: 460px;
  width: 90%;
  text-align: center;
}

.pub-exit-popup__icon {
  font-size: 40px;
  margin-bottom: var(--pub-space-md);
}

.pub-exit-popup__title {
  font-family: var(--pub-font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--pub-navy);
  margin: 0 0 var(--pub-space-sm);
}

.pub-exit-popup__desc {
  color: var(--pub-text-soft);
  margin: var(--pub-space-sm) 0 var(--pub-space-lg);
  line-height: 1.6;
  font-size: 15px;
}

.pub-exit-popup__submit { width: 100%; }

.pub-exit-popup__dismiss {
  display: block;
  margin-top: var(--pub-space-sm);
  font-size: 13px;
  color: var(--pub-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-family: inherit;
}
.pub-exit-popup__dismiss:hover { text-decoration: underline; }
.pub-lp-pro-input:focus        { border-color: var(--pro-orange); }

/* ============================================================
   GALERIAS DE IMÓVEL — TEMAS (classic / modern / vibrant)
   Corrige imagem pequena/desalinhada no carrossel principal
   ============================================================ */

/* ── CLASSIC ─────────────────────────────────────────────── */
.pub-classic-gallery {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: var(--pub-space-sm);
  height: 420px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pub-page-pad, 24px) var(--pub-space-md);
}

.pub-classic-gallery__main {
  position: relative;
  overflow: hidden;
  border-radius: var(--pub-r-lg, 12px);
  background: #000;
}

.pub-classic-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pub-classic-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.pub-classic-gallery__nav:hover { background: rgba(0,0,0,0.75); }
.pub-classic-gallery__nav--prev { left: 12px; }
.pub-classic-gallery__nav--next { right: 12px; }

.pub-classic-gallery__loading-text { color: var(--pub-text-muted); font-size: 13px; }

.pub-classic-gallery__thumbs-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  scrollbar-width: none;
}
.pub-classic-gallery__thumbs-col::-webkit-scrollbar { display: none; }

.pub-classic-gallery__thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--pub-r-xs, 4px);
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
}
.pub-classic-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.pub-classic-gallery__thumb:hover img,
.pub-classic-gallery__thumb.is-active img { opacity: 1; }
.pub-classic-gallery__thumb.is-active { border-color: var(--pub-accent); }

.pub-classic-gallery__more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  font-weight: 600;
}

.pub-classic-gallery__empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pub-bg-muted);
  border-radius: var(--pub-r-lg, 12px);
  color: var(--pub-text-muted);
  font-size: 14px;
}

/* ── MODERN ──────────────────────────────────────────────── */
.pub-modern-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pub-page-pad, 24px) var(--pub-space-md);
  display: flex;
  flex-direction: column;
  gap: var(--pub-space-sm);
}

.pub-modern-gallery__main {
  position: relative;
  overflow: hidden;
  border-radius: var(--pub-r-lg, 12px);
  background: #000;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.pub-modern-gallery__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pub-modern-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.pub-modern-gallery__nav:hover { background: rgba(0,0,0,0.75); }
.pub-modern-gallery__nav--prev { left: 14px; }
.pub-modern-gallery__nav--next { right: 14px; }

.pub-modern-gallery__counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--pub-r-pill, 999px);
  z-index: 2;
}

.pub-modern-gallery__loading-text { color: var(--pub-text-muted); font-size: 13px; }

.pub-modern-gallery__empty {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pub-bg-muted);
  border-radius: var(--pub-r-lg, 12px);
  color: var(--pub-text-muted);
  font-size: 14px;
}

.pub-modern-gallery__thumbs {
  display: flex;
  flex-direction: row;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pub-modern-gallery__thumbs::-webkit-scrollbar { display: none; }

.pub-modern-gallery__thumb {
  width: 80px;
  height: 56px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  border-radius: var(--pub-r-xs, 4px);
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s;
  display: block;
}
.pub-modern-gallery__thumb:hover { opacity: 1; }
.pub-modern-gallery__thumb.is-active { border-color: var(--pub-accent); opacity: 1; }

/* ── VIBRANT ─────────────────────────────────────────────── */
.pub-vibrant-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--pub-space-sm);
}

.pub-vibrant-gallery__main {
  position: relative;
  overflow: hidden;
  background: #000;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.pub-vibrant-gallery__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pub-vibrant-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.pub-vibrant-gallery__nav:hover { background: rgba(0,0,0,0.75); }
.pub-vibrant-gallery__nav--prev { left: 14px; }
.pub-vibrant-gallery__nav--next { right: 14px; }

.pub-vibrant-gallery__counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--pub-r-pill, 999px);
  z-index: 2;
}

.pub-vibrant-gallery__loading-text { color: var(--pub-text-muted); font-size: 13px; }

.pub-vibrant-gallery__empty {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pub-bg-muted);
  color: var(--pub-text-muted);
  font-size: 14px;
}

.pub-vibrant-gallery__thumbs {
  display: flex;
  flex-direction: row;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 var(--pub-page-pad, 24px) var(--pub-space-md);
}
.pub-vibrant-gallery__thumbs::-webkit-scrollbar { display: none; }

.pub-vibrant-gallery__thumb {
  width: 80px;
  height: 56px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  border-radius: var(--pub-r-xs, 4px);
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s;
  display: block;
}
.pub-vibrant-gallery__thumb:hover { opacity: 1; }
.pub-vibrant-gallery__thumb.is-active { border-color: var(--pub-accent); opacity: 1; }

/* Responsivo — mobile ≤ 768px */
@media (max-width: 768px) {
  .pub-classic-gallery {
    grid-template-columns: 1fr;
    height: 260px;
  }
  .pub-classic-gallery__thumbs-col { display: none; }

  .pub-modern-gallery,
  .pub-vibrant-gallery { padding: 0; }
}
/*
 * FIFTY PUBLIC SITE — Asset Pipeline Entry Point
 * ================================================
 * Fases subsequentes adicionam @import abaixo de public_theme.
 *


 */
