/* ==========================================================================
   TRAVINHA NEGÓCIOS & INTERMEDIAÇÕES - LUXURY DESIGN SYSTEM & STYLES
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #090D14;
  --bg-surface: #101622;
  --bg-surface-elevated: #161F30;
  --bg-glass: rgba(16, 22, 34, 0.75);
  --bg-glass-card: rgba(22, 31, 48, 0.65);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-gold: rgba(212, 175, 55, 0.35);

  --gold-primary: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA7C11 100%);

  --whatsapp-green: #25D366;
  --whatsapp-hover: #1EBE5D;
  --whatsapp-glow: rgba(37, 211, 102, 0.3);

  --text-primary: #FFFFFF;
  --text-secondary: #9BA3AF;
  --text-muted: #657084;

  --status-available-bg: rgba(37, 211, 102, 0.15);
  --status-available-text: #25D366;
  --status-negotiating-bg: rgba(234, 179, 8, 0.15);
  --status-negotiating-text: #FACC15;
  --status-sold-bg: rgba(239, 68, 68, 0.15);
  --status-sold-text: #F87171;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.15);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Background Ambient Glow */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(9, 13, 20, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

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

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Top Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background: #06090F;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 8px 0;
  position: relative;
  z-index: 10;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.top-bar-right .top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--whatsapp-green);
  font-weight: 700;
  transition: var(--transition-fast);
}

.top-bar-right .top-link:hover {
  filter: brightness(1.2);
}

/* --------------------------------------------------------------------------
   Main Header
   -------------------------------------------------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #1C273C 0%, #111827 100%);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

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

.logo-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #FFFFFF;
  line-height: 1.25;
}

.logo-nickname {
  color: var(--gold-primary);
  font-weight: 800;
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 2px;
}

.header-search {
  flex: 1;
  max-width: 440px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input-wrapper input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 10px 38px 10px 42px;
  color: var(--text-primary);
  font-size: 0.88rem;
  transition: var(--transition-normal);
}

.search-input-wrapper input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.clear-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

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

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #090D14;
  border: none;
  font-weight: 700;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-primary);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #FFFFFF;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 4px 18px var(--whatsapp-glow);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-md {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 60px 0 40px;
  z-index: 1;
}

.hero-content {
  max-width: 820px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.tag-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  box-shadow: 0 0 8px var(--whatsapp-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  display: inline-flex;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

/* --------------------------------------------------------------------------
   Filter & Catalog Bar
   -------------------------------------------------------------------------- */
.catalog-section {
  padding: 20px 20px 60px;
  position: relative;
  z-index: 10;
}

.filter-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-tabs::-webkit-scrollbar {
  height: 4px;
}

.category-tabs::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.tab-btn.active {
  background: var(--gold-gradient);
  color: #090D14;
  border-color: transparent;
  font-weight: 700;
}

.tab-count {
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.72rem;
  padding: 1px 7px;
  border-radius: var(--radius-full);
}

.filter-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.status-filter-group {
  display: flex;
  gap: 8px;
}

.status-pill {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.status-pill input {
  display: none;
}

.status-pill:hover, .status-pill.active {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text-primary);
  border-color: var(--gold-primary);
}

.sort-select-wrapper select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  cursor: pointer;
}

.sort-select-wrapper select:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.catalog-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.reset-filter-btn {
  background: none;
  border: none;
  color: var(--gold-primary);
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   SHOWROOM GRID (CARDS DE LUXO)
   -------------------------------------------------------------------------- */
#listings-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}

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

.card-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #151C2C;
  cursor: pointer;
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-item:hover .card-image-box img {
  transform: scale(1.04);
}

.badge-status {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}

.badge-available {
  background: rgba(37, 211, 102, 0.2);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.4);
}

.badge-negotiating {
  background: rgba(234, 179, 8, 0.2);
  color: #FACC15;
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.badge-sold {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge-featured {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(212, 175, 55, 0.25);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  color: #FFFFFF;
  cursor: pointer;
}

.card-title:hover {
  color: var(--gold-light);
}

.card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 12px;
}

.price-container {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.price-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.price-sob-consulta {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  display: inline-block;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   Detail Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden; /* Nunca permitir barra horizontal no modal */
  position: relative;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.detail-modal-content {
  max-width: 1060px;
  width: 95vw;
  padding: 28px 32px;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 20;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #EF4444;
  color: #F87171;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px;
  width: 100%;
  align-items: start;
}

.detail-gallery-col {
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.main-image-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #090D14;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 10px;
  cursor: zoom-in;
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition-fast);
}

.main-image-viewport:hover {
  border-color: var(--border-gold);
}

.main-image-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  user-select: none;
}

.main-image-viewport:hover img {
  transform: scale(1.02);
}

/* Direct Arrow Navigation Over Main Image */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(9, 13, 20, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-light);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.gallery-nav-btn.prev {
  left: 12px;
}

.gallery-nav-btn.next {
  right: 12px;
}

.gallery-nav-btn:hover {
  background: var(--gold-primary);
  color: #090D14;
  border-color: var(--gold-primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.6);
}

/* Badges on Main Image */
.gallery-badges-bar {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.gallery-counter {
  background: rgba(9, 13, 20, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.gallery-zoom-badge {
  background: rgba(9, 13, 20, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-zoom-badge:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* Thumbnail Strip & Wrapper */
.thumbnail-strip-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.thumb-scroll-btn {
  background: rgba(22, 31, 48, 0.9);
  border: 1px solid var(--border-medium);
  color: var(--gold-light);
  width: 30px;
  height: 52px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.thumb-scroll-btn:hover {
  background: var(--gold-primary);
  color: #090D14;
  border-color: var(--gold-primary);
}

.thumbnail-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 2px 10px 2px;
  flex: 1;
}

/* Estilo de scrollbar muito mais visível, espesso e elegante */
.thumbnail-strip::-webkit-scrollbar {
  height: 8px;
}

.thumbnail-strip::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.45);
  border-radius: 4px;
  transition: background 0.2s;
}

.thumbnail-strip::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

.thumb-item {
  width: 78px;
  height: 54px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.thumb-item.active {
  border-color: var(--gold-primary);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.thumb-item:hover {
  opacity: 1;
  border-color: rgba(212, 175, 55, 0.6);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Fullscreen Lightbox Modal (Cinema Mode)
   ========================================================================== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 12, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 24px;
  box-sizing: border-box;
  animation: fadeInModal 0.25s ease-out;
}

.lightbox-close-btn {
  position: absolute;
  top: 18px;
  right: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10010;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: rgba(239, 68, 68, 0.4);
  border-color: #EF4444;
  color: #FFFFFF;
  transform: scale(1.08);
}

.lightbox-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px 12px 10px;
  width: 100%;
  box-sizing: border-box;
}

.lightbox-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.lightbox-item-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: -0.3px;
}

.lightbox-counter {
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--gold-light);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.lightbox-hint {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.lightbox-main-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 0;
  position: relative;
}

.lightbox-img-box {
  flex: 1;
  height: 100%;
  max-height: 76vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img-box img {
  max-width: 90vw;
  max-height: 74vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
  animation: fadeInModal 0.2s ease-out;
}

.lightbox-nav-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(22, 31, 48, 0.85);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-light);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.lightbox-nav-btn:hover {
  background: var(--gold-primary);
  color: #090D14;
  border-color: var(--gold-primary);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.lightbox-thumbs-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.lightbox-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 92vw;
  padding: 6px 4px;
  scroll-behavior: smooth;
}

.lightbox-thumbs::-webkit-scrollbar {
  height: 6px;
}

.lightbox-thumbs::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.4);
  border-radius: 3px;
}

.lightbox-thumb {
  width: 64px;
  height: 46px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.5;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.lightbox-thumb.active {
  border-color: var(--gold-primary);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.6);
}

.lightbox-thumb:hover {
  opacity: 0.9;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-photos-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.detail-info-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

.detail-category {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold-primary);
  font-weight: 700;
  padding-right: 42px; /* Espaço para o botão fechar */
}

.detail-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 6px 0 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding-right: 42px; /* Garante que o botão X nunca encavale no título */
}

.detail-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.detail-price-box {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.price-caption {
  font-size: 0.72rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-price-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1.1;
  margin: 4px 0;
}

.price-note {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.spec-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  min-width: 0;
  overflow: hidden;
}

.spec-card-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spec-card-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2px;
  word-break: break-word;
}

.detail-desc-box {
  margin-bottom: 28px;
}

.detail-desc-box h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gold-light);
}

.detail-desc-box p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.detail-action-box {
  margin-top: auto;
}

.action-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Admin Modal
   -------------------------------------------------------------------------- */
.admin-modal-content {
  max-width: 900px;
  padding: 28px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.admin-header-title {
  display: flex;
  gap: 14px;
  align-items: center;
}

.admin-header-title h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.admin-header-title p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.admin-nav-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}

.admin-tab {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.admin-tab.active {
  background: var(--bg-surface);
  color: var(--gold-primary);
  border: 1px solid var(--border-gold);
}

.admin-table-wrapper {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.admin-table th {
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 14px;
  color: var(--text-secondary);
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.admin-actions-cell {
  display: flex;
  gap: 8px;
}

.btn-icon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn-icon-danger:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #EF4444;
  color: #F87171;
}

/* Admin Form */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flex-1 { flex: 1; min-width: 180px; }
.flex-2 { flex: 2; min-width: 240px; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
}

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

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 4px;
  cursor: pointer;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Floating WhatsApp Button
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 99;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition-normal);
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
}

.whatsapp-badge-pulse {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 8px #FFFFFF;
  animation: pulse 2s infinite;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.main-footer {
  background: #06090E;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 20px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}

.footer-brand {
  max-width: 440px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-location-tag {
  color: var(--gold-light) !important;
  font-weight: 600;
  font-size: 0.85rem !important;
  margin-top: 8px !important;
}

.footer-contact h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--gold-light);
}

.footer-contact p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 320px;
  margin-bottom: 14px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-discreet-trigger {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: 0.35;
  transition: var(--transition-fast);
}

.admin-discreet-trigger:hover {
  opacity: 1;
  color: var(--gold-primary);
  border-color: var(--border-gold);
}

/* --------------------------------------------------------------------------
   História & Tradição: Quem é o Travinha
   -------------------------------------------------------------------------- */
.about-section {
  padding: 64px 0 84px;
  background: linear-gradient(180deg, rgba(9, 13, 20, 0.5) 0%, rgba(17, 24, 39, 0.85) 100%);
  position: relative;
}

.about-card {
  background: linear-gradient(135deg, rgba(28, 39, 60, 0.7) 0%, rgba(17, 24, 39, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 48px 52px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(212, 175, 55, 0.08);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-header {
  max-width: 820px;
  margin-bottom: 40px;
}

.about-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  margin: 14px 0 12px;
}

.about-lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  align-items: start;
}

.about-story {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.about-story strong {
  color: var(--text-primary);
}

.about-quote {
  background: rgba(212, 175, 55, 0.08);
  border-left: 4px solid var(--gold-primary);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 10px 0 6px;
  font-size: 0.98rem;
  color: #E2E8F0;
}

.about-quote em {
  display: block;
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.5;
}

.about-quote span {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-cta-box {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.about-cta-phone {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.about-cta-phone strong {
  color: var(--gold-light);
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.pillar-icon {
  font-size: 1.8rem;
  line-height: 1;
  background: rgba(212, 175, 55, 0.12);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.pillar-content h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.pillar-content p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries (Otimização Completa Mobile - Passo 1)
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-modal-content {
    padding: 24px 18px;
    width: 95vw;
  }
  .header-search {
    display: none;
  }
  .about-card {
    padding: 32px 24px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .catalog-section {
    padding: 16px 14px 50px;
  }

  #listings-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-item {
    width: 100%;
  }

  /* Abas de categorias deslizáveis com o dedo (Touch Swipe) */
  .category-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex-shrink: 0;
    padding: 8px 15px;
    font-size: 0.82rem;
  }
}

@media (max-width: 600px) {
  /* Top Bar */
  .top-bar {
    padding: 6px 0;
    font-size: 0.74rem;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  /* Main Header */
  .main-header {
    padding: 10px 0;
  }

  .header-inner {
    justify-content: space-between;
  }

  .brand-logo {
    gap: 8px;
  }

  .logo-badge {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }

  .logo-title {
    font-size: 0.86rem;
    letter-spacing: 0.4px;
  }

  .logo-subtitle {
    font-size: 0.58rem;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .btn {
    padding: 7px 11px;
    font-size: 0.76rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 30px 0 24px;
  }

  .hero-tag {
    font-size: 0.74rem;
    padding: 4px 10px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 1.62rem;
    line-height: 1.24;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  /* Painel de Estatísticas em Grade Compacta */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 12px 8px;
    width: 100%;
    text-align: center;
  }

  .stat-item {
    align-items: center;
  }

  .stat-number {
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .stat-label {
    font-size: 0.65rem;
    white-space: nowrap;
  }

  .stat-divider {
    display: none;
  }

  /* Filtros secundários */
  .filter-bar {
    padding: 14px 12px;
    border-radius: var(--radius-md);
  }

  .filter-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .status-filter-group {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 4px;
  }

  .status-pill {
    flex: 1;
    justify-content: center;
    padding: 6px 8px;
    font-size: 0.72rem;
    text-align: center;
  }

  .sort-select-wrapper {
    width: 100%;
  }

  .sort-select-wrapper select {
    width: 100%;
    font-size: 0.82rem;
  }

  /* Cards dos Bens */
  .card-item {
    border-radius: var(--radius-md);
  }

  .card-body {
    padding: 16px 14px;
  }

  .card-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .card-specs {
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .spec-chip {
    font-size: 0.75rem;
  }

  .card-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .price-container {
    min-width: 0;
  }

  .price-label {
    font-size: 0.65rem;
  }

  .price-sob-consulta {
    font-size: 0.95rem;
    padding: 3px 8px;
  }

  .card-footer .btn-whatsapp {
    padding: 8px 12px;
    font-size: 0.78rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Modal de Detalhes no Celular (Gaveta Fluida) */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .detail-modal-content {
    width: 100vw;
    max-width: 100vw;
    height: 94vh;
    max-height: 94vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 24px 16px 36px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .modal-close-btn {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
    z-index: 30;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .main-image-viewport {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
  }

  .thumbnail-strip {
    gap: 6px;
    padding: 6px 0;
  }

  .thumb-item {
    width: 58px;
    height: 42px;
  }

  .detail-title {
    font-size: 1.35rem;
    padding-right: 42px;
  }

  .detail-price-box {
    padding: 12px 14px;
    margin-bottom: 16px;
  }

  .detail-price-val {
    font-size: 1.4rem;
  }

  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .spec-card {
    padding: 10px 12px;
  }

  .spec-card-label {
    font-size: 0.68rem;
  }

  .spec-card-value {
    font-size: 0.82rem;
  }

  .detail-desc-box {
    padding: 14px;
    font-size: 0.88rem;
  }

  /* História do Travinha */
  .about-section {
    padding: 36px 0 46px;
  }

  .about-card {
    padding: 22px 16px;
    border-radius: var(--radius-lg);
  }

  .about-header {
    margin-bottom: 22px;
  }

  .about-title {
    font-size: 1.42rem;
    line-height: 1.25;
  }

  .about-lead {
    font-size: 0.94rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-story {
    font-size: 0.9rem;
    gap: 12px;
  }

  .about-quote {
    padding: 14px 16px;
    font-size: 0.88rem;
  }

  .about-cta-box {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

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

  .about-cta-phone {
    text-align: center;
    font-size: 0.84rem;
  }

  .about-pillars {
    gap: 10px;
  }

  .pillar-card {
    padding: 12px 14px;
    gap: 12px;
  }

  .pillar-icon {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }

  .pillar-content h4 {
    font-size: 0.95rem;
  }

  .pillar-content p {
    font-size: 0.8rem;
  }

  /* Rodapé */
  .main-footer {
    padding: 36px 0 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  /* Botão WhatsApp Flutuante */
  .floating-wa-text {
    display: none;
  }

  .floating-whatsapp {
    padding: 13px;
    border-radius: 50%;
    bottom: 18px;
    right: 18px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  }

  .floating-whatsapp .whatsapp-icon {
    width: 26px;
    height: 26px;
  }

  /* Mobile Gallery & Lightbox Adjustments */
  .gallery-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .gallery-nav-btn.prev {
    left: 8px;
  }

  .gallery-nav-btn.next {
    right: 8px;
  }

  .gallery-badges-bar {
    top: 8px;
    right: 8px;
    gap: 6px;
  }

  .gallery-counter {
    font-size: 0.72rem;
    padding: 3px 8px;
  }

  .gallery-zoom-badge {
    font-size: 0.7rem;
    padding: 3px 9px;
  }

  .thumb-scroll-btn {
    display: none; /* No celular, o usuário desliza diretamente com o dedo na faixa */
  }

  .thumbnail-strip {
    gap: 6px;
    padding: 4px 0 8px;
  }

  .thumb-item {
    width: 62px;
    height: 44px;
  }

  /* Lightbox Mobile */
  .lightbox-overlay {
    padding: 12px 10px;
  }

  .lightbox-top-bar {
    padding: 0 44px 8px 4px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .lightbox-hint {
    display: none;
  }

  .lightbox-item-title {
    font-size: 0.98rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75vw;
  }

  .lightbox-counter {
    font-size: 0.75rem;
    padding: 2px 10px;
  }

  .lightbox-close-btn {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .lightbox-main-container {
    gap: 8px;
  }

  .lightbox-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }

  .lightbox-img-box img {
    max-width: 95vw;
    max-height: 66vh;
  }

  .lightbox-thumb {
    width: 50px;
    height: 36px;
  }
}
