/* ==========================================================================
   CAPELLO IMÓVEIS - PÁGINA PRINCIPAL (INDEX.HTML)
   Paleta Oficial: Preto, Amarelo & Dourado (Design Black & Yellow Premium)
   ========================================================================== */

:root {
  /* Brand Palette - CAPELLO Imóveis Preto & Amarelo */
  --primary: #FFB800;         /* Amarelo Oficial Capello */
  --primary-hover: #E0A200;   /* Amarelo Tom Mais Escuro */
  --secondary: #FFC72C;       /* Amarelo Brilhante */
  --secondary-hover: #E5B220;
  --accent: #FFB800;          /* CTA Amarelo */
  --accent-hover: #E0A200;
  --whatsapp: #25D366;        /* Verde WhatsApp */
  --whatsapp-hover: #1DA851;
  
  /* Neutral Palette - Black & Dark Theme */
  --bg-dark: #0A0A0C;         /* Preto Absoluto */
  --bg-card: #141417;         /* Grafite Escuro para Cards */
  --bg-light: #0F0F12;        /* Fundo do Site */
  --text-main: #F4F4F5;       /* Texto Claro */
  --text-muted: #A1A1AA;      /* Texto Cinza Suave */
  --text-white: #FFFFFF;
  
  /* Glassmorphism & Borders */
  --border-color: #27272A;
  --border-yellow: rgba(255, 184, 0, 0.3);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.5);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.7);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.9);
  --glass-bg: rgba(20, 20, 23, 0.92);
  
  /* Typography & Spacing */
  --font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode Theme Overrides (Modo Dia) */
html.light-mode {
  --bg-dark: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-light: #F1F5F9;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-white: #0F172A;
  --border-color: #E2E8F0;
  --border-yellow: rgba(224, 162, 0, 0.4);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
  --glass-bg: rgba(255, 255, 255, 0.95);
}

html.light-mode body {
  background-color: #F8FAFC;
  color: #0F172A;
}

html.light-mode h1, 
html.light-mode h2, 
html.light-mode h3, 
html.light-mode h4, 
html.light-mode h5 {
  color: #0F172A;
}

html.light-mode .site-header {
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

html.light-mode .brand-name {
  color: #0F172A;
}

html.light-mode .brand-subtitle {
  color: #D97706;
}

html.light-mode .btn-main-site,
html.light-mode .btn-blog {
  background: #FFFFFF;
  color: #0F172A;
  border-color: #CBD5E1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

html.light-mode .btn-main-site:hover,
html.light-mode .btn-blog:hover {
  background: var(--primary);
  color: #000000;
  border-color: var(--primary);
}

html.light-mode .hero-search-section {
  background: linear-gradient(180deg, #F1F5F9 0%, #E2E8F0 100%);
}

html.light-mode .hero-title {
  color: #0F172A;
}

html.light-mode .hero-subtitle {
  color: #475569;
}

html.light-mode .search-box-container {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(224, 162, 0, 0.4);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

html.light-mode .form-control {
  background-color: #FFFFFF;
  color: #0F172A;
  border-color: #CBD5E1;
}

html.light-mode .form-control option {
  background-color: #FFFFFF;
  color: #0F172A;
}

html.light-mode .tag-btn {
  background: #E2E8F0;
  border-color: #CBD5E1;
  color: #0F172A;
}

html.light-mode .tag-btn.active, 
html.light-mode .tag-btn:hover {
  background: var(--primary);
  color: #000000;
  border-color: var(--primary);
}

html.light-mode .property-card {
  background-color: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

html.light-mode .card-title {
  color: #0F172A;
}

html.light-mode .card-location, 
html.light-mode .card-delivery,
html.light-mode .card-spec-item {
  color: #475569;
}

html.light-mode .card-footer {
  border-top-color: #F1F5F9;
}

html.light-mode .modal-card {
  background-color: #FFFFFF;
  color: #0F172A;
}

/* Theme Toggle Button */
.btn-theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-yellow);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-theme-toggle:hover {
  background: var(--primary);
  color: #000000;
  transform: translateY(-1px);
}

html.light-mode .btn-theme-toggle {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: #0F172A;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

html.light-mode .btn-theme-toggle:hover {
  background: var(--primary);
  color: #000000;
  border-color: var(--primary);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.5;
  padding-bottom: 70px;
}

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

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

/* Typography Helpers */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
}

.text-gradient {
  background: linear-gradient(135deg, #FFB800 0%, #FFE600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-mcmv {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  opacity: 0.8;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85));
}

.badge-mcmv img {
  height: 22px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
}

.badge-city {
  background: rgba(255, 184, 0, 0.15);
  color: #FFB800;
  border: 1px solid rgba(255, 184, 0, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}

/* Header & Top Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-yellow);
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--primary);
  display: block;
  font-weight: 600;
  letter-spacing: 0.5px;
}

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

.btn-main-site,
.btn-blog {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-yellow);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-main-site:hover,
.btn-blog:hover {
  background: var(--primary);
  color: #000000;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.btn-whatsapp-header {
  background-color: var(--primary);
  color: #000000;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(255, 184, 0, 0.3);
}

.btn-whatsapp-header:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.5);
}

/* Hero & Search Banner */
.hero-search-section {
  background: linear-gradient(180deg, #000000 0%, #121215 100%);
  color: white;
  padding: 40px 16px 56px 16px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-search-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* MCMV Search Container */
.search-box-container {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-yellow);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
  text-align: left;
}

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

@media (min-width: 768px) {
  .hero-title { font-size: 2.8rem; }
}

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

.filter-row-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 10px;
  align-items: end;
  width: 100%;
}

.filter-row-2 .form-group {
  min-width: 0;
}

.filter-row-2 label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-row-2 .btn-search {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .filter-row-1 {
    grid-template-columns: 1fr 1fr;
  }
  .filter-row-2 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .filter-row-2::-webkit-scrollbar { display: none; }
  .filter-row-2 .form-group {
    flex: 1 1 25%;
    min-width: 90px;
  }
  .filter-row-2 .btn-search {
    flex: 0 0 auto;
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}

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

.form-group label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #3F3F46;
  background-color: #0A0A0C;
  font-size: 0.9rem;
  color: white;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.25);
}

.btn-search {
  background: linear-gradient(135deg, #FFB800 0%, #E0A200 100%);
  color: #000000;
  font-weight: 800;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(255, 184, 0, 0.4);
}

.btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 184, 0, 0.6);
}

/* Quick Filter Badges bar */
.quick-tags-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 184, 0, 0.2);
}

@media (min-width: 769px) {
  .quick-tags-container {
    flex-direction: row;
    align-items: center;
  }
}

.quick-tags-label {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.quick-tags-bar {
  display: flex;
  flex-wrap: wrap; /* MULTILINHA NO CELULAR: Todas as cidades sempre visíveis! */
  gap: 6px;
  width: 100%;
}

@media (min-width: 769px) {
  .quick-tags-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .quick-tags-bar::-webkit-scrollbar { display: none; }
}

.tag-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  flex: 1 1 auto;
  text-align: center;
}

@media (min-width: 769px) {
  .tag-btn {
    flex: 0 0 auto;
  }
}

.tag-btn.active, .tag-btn:hover {
  background: var(--primary);
  color: #000000;
  border-color: var(--primary);
  font-weight: 800;
}

/* Main Catalog Area */
.catalog-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 16px;
}

.catalog-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .catalog-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.results-count {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.results-count span {
  color: var(--primary);
}

/* Caixa de Resultado da Simulação de Financiamento MCMV */
.simulation-alert-box {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.15) 0%, rgba(255, 184, 0, 0.05) 100%);
  border: 1.5px solid var(--primary);
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 0.98rem;
  color: var(--text-main);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  line-height: 1.5;
}

html.light-mode .simulation-alert-box {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-color: #D97706;
  color: #0F172A;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.12);
}

.simulation-alert-title {
  font-weight: 800;
  color: #FFB800;
  margin-bottom: 6px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

html.light-mode .simulation-alert-title {
  color: #B45309;
}

.simulation-alert-price {
  color: #FFB800;
  font-size: 1.18rem;
  font-weight: 900;
}

html.light-mode .simulation-alert-price {
  color: #B45309;
}

.simulation-alert-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

html.light-mode .simulation-alert-sub {
  color: #475569;
}

/* Property Grid */
.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .property-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Property Card */
.property-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: #1E1E24;
  overflow: hidden;
}

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

.property-card:hover .card-media img {
  transform: scale(1.06);
}

.card-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  z-index: 2;
}

.card-badge-status {
  background: rgba(0, 0, 0, 0.85);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

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

.card-developer {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.card-features {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-main);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.card-pricing {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}

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

.price-value {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
}

.subsidy-highlight {
  font-size: 0.75rem;
  color: #000000;
  font-weight: 800;
  background: var(--primary);
  padding: 4px 8px;
  border-radius: 6px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-card-details {
  background-color: var(--primary);
  color: #000000;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 11px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: var(--transition);
}

.btn-card-details:hover {
  background-color: var(--primary-hover);
}

.btn-card-whatsapp {
  background-color: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.4);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 11px;
  border-radius: var(--radius-sm);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-card-whatsapp:hover {
  background-color: var(--whatsapp);
  color: white;
}

/* Mobile Fixed Bottom Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10, 10, 12, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-yellow);
  display: flex;
  padding: 10px 16px;
  gap: 10px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
  .mobile-bottom-nav { display: none; }
  body { padding-bottom: 0; }
}

.btn-nav-action {
  flex: 1;
  padding: 12px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.btn-nav-simular {
  background: var(--primary);
  color: #000000;
}

.btn-nav-whatsapp {
  background: var(--whatsapp);
  color: white;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE POLISH (< 768px & < 480px)
   Layout do PC mantido 100% intacto!
   ========================================================================== */

/* Previne rolagem lateral em telas pequenas */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  /* 1. CABEÇALHO EMPILHADO NO CELULAR & TABLET */
  .site-header {
    padding: 8px 0;
  }

  .header-container {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    width: 100%;
  }

  .brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }

  .brand-logo-img {
    height: 38px;
  }

  .brand-name {
    font-size: 1.15rem;
    white-space: nowrap;
  }

  /* Oculta os nomes das cidades no subtítulo do cabeçalho só no celular/tablet */
  .brand-subtitle {
    display: none !important;
  }

  /* Ações do cabeçalho empilhadas verticalmente abaixo da logo */
  .header-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 6px;
  }

  .btn-main-site,
  .btn-blog {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 7px 14px;
    font-size: 0.8rem;
    border-radius: 20px;
  }

  /* Botão WhatsApp do cabeçalho posicionado logo abaixo sem esticar para a direita */
  .btn-whatsapp-header {
    display: flex !important;
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 8px 14px;
    font-size: 0.82rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(255, 184, 0, 0.3);
  }

  /* 2. FILTRO POR CIDADE EM MULTILINHA (SEM ROLAGEM LATERAL) */
  .quick-tags-container {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 184, 0, 0.2);
    width: 100%;
  }

  .quick-tags-label {
    justify-content: center;
    margin-bottom: 8px;
    font-size: 0.75rem;
  }

  .quick-tags-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 6px;
    width: 100%;
    overflow: visible !important;
  }

  .tag-btn {
    flex: 1 1 calc(33.33% - 6px);
    min-width: 90px;
    padding: 8px 6px;
    font-size: 0.78rem;
    text-align: center;
  }

  /* 3. BOTÃO WHATSAPP FLUTUANTE AJUSTADO NO CANTO INFERIOR DIREITO */
  body {
    padding-bottom: 75px;
  }

  /* 4. RODAPÉ FIXO MOBILE (APENAS 1 BOTÃO PRINCIPAL DE SIMULAÇÃO) */
  .mobile-bottom-nav {
    padding: 10px 14px;
  }

  .btn-nav-simular {
    width: 100%;
    font-size: 0.95rem;
    padding: 13px;
    font-weight: 900;
    box-shadow: 0 4px 16px rgba(255, 184, 0, 0.4);
  }

  .hero-search-section {
    padding: 24px 12px 36px 12px;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .search-box-container {
    padding: 16px 12px;
    border-radius: var(--radius-md);
  }

  .catalog-section {
    padding: 20px 12px;
  }
}

@media (max-width: 480px) {
  .tag-btn {
    flex: 1 1 calc(50% - 6px); /* 2 colunas bem espaçadas em telas menores de 480px */
  }

  .card-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
