/*
  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;
  --pub-text-invert:    #ffffff;
  --pub-text-invert-soft: rgba(255,255,255,0.9);

  /* 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);
}


/* ── 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);
}


/* ── PROP CARD (COMPARTILHADO home + lista) ──────────────────────── */


.pub-prop-badge--dest   { background: var(--pub-accent); color: #fff; }


.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-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;
}


/* ── 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-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; }
  
}
@media (max-width: 480px) {
  .pub-page-pad { --pub-page-pad: 16px; }
}


Título — branco sobre foto {
  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;
}


/* ── HERO IMMERSIVE — RESPONSIVE ──────────────────────────────────── */


.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);
}


/* ── 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; }


/* ── 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; }


/* ── 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-testi-grid { grid-template-columns: 1fr; }
  
  
  
  
  
}


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


/* ══════════════════════════════════════════════════════════════
   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; }


/* 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 {
  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 {
  border-color: var(--pub-accent);
  background: var(--pub-bg);
}
.pub-lf-input::placeholder { color: var(--pub-text-muted); }


/* 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;
}


/* 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; }


/* ── 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-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;
}


/* ── 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; }


#mainImageLoading {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.75);
  align-items: center;
  justify-content: center;
  z-index: 3;
}


/* ============================================================
   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); }


.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--pub-r-pill);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}


.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;
}


/* 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);
}


/* ============================================================
   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--broker { background: var(--pub-bg-soft); }


/* ── RESPONSIVE DETAIL PAGE ────────────────────────────────── */
@media (max-width: 1024px) {
  .detail-content { grid-template-columns: 1fr 320px; }
}
@media (max-width: 768px) {
  
  
  .detail-content { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; padding-top: 0; }
  
  
  
  .detail-title { font-size: 22px; }
  
}
@media (max-width: 480px) {
  .gallery-back-link { padding: var(--pub-space-sm) var(--pub-page-pad-mobile); }
  
  .detail-content { padding: 0 var(--pub-page-pad-mobile) var(--pub-space-xl); }
  
  
}

/* ============================================================
   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.
 *


 */
