/* ==========================================================================
   GUIA COMERCIAL PAPUCAIA - DESIGN SYSTEM v2.0
   Dark Glassmorphism + Dynamic Niche Palette
   ========================================================================== */

/* Fonts loaded via <link> tags in HTML */

/* ── DESIGN TOKENS ───────────────────────────────────────────────────────── */
:root {
  --bg-main: #0B0F19;
  --bg-surface: #131927;
  --bg-card: #1A2236;
  --bg-glass: rgba(11, 15, 25, 0.92);
  
  --border-color: rgba(255, 255, 255, 0.1);
  --border-highlight: rgba(255, 255, 255, 0.2);
  
  --primary: #10B981;
  --primary-hover: #059669;
  --primary-glow: rgba(16, 185, 129, 0.3);
  
  --accent-gold: #F59E0B;
  --accent-blue: #3B82F6;
  --accent-red: #EF4444;
  
  --text-white: #FFFFFF;
  --text-main: #E5E7EB;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;
  
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --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 48px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px var(--primary-glow);
}

/* ── NICHE THEMES ────────────────────────────────────────────────────────── */
[data-niche="gastronomia"] { --primary: #E11D48; --primary-hover: #BE123C; --primary-glow: rgba(225,29,72,0.3); }
[data-niche="beleza"]      { --primary: #EC4899; --primary-hover: #DB2777; --primary-glow: rgba(236,72,153,0.3); }
[data-niche="automotivo"]  { --primary: #2563EB; --primary-hover: #1D4ED8; --primary-glow: rgba(37,99,235,0.3); }
[data-niche="construcao"]  { --primary: #EA580C; --primary-hover: #C2410C; --primary-glow: rgba(234,88,12,0.3); }
[data-niche="servicos"]    { --primary: #0284C7; --primary-hover: #0369A1; --primary-glow: rgba(2,132,199,0.3); }
[data-niche="saude"]       { --primary: #14B8A6; --primary-hover: #0D9488; --primary-glow: rgba(20,184,166,0.3); }
[data-niche="agro"]        { --primary: #059669; --primary-hover: #047857; --primary-glow: rgba(5,150,105,0.3); }
[data-niche="pet"]         { --primary: #F59E0B; --primary-hover: #D97706; --primary-glow: rgba(245,158,11,0.3); }

/* ── LIGHT THEME OVERRIDES ─────────────────────────────────────────── */
body.light-theme {
  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.96);
  
  --border-color: rgba(0, 0, 0, 0.1);
  --border-highlight: rgba(0, 0, 0, 0.2);
  
  --text-white: #0F172A;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);

  background-color: #F8FAFC !important;
  color: #0F172A !important;
}

body.light-theme .header,
body.light-theme .news-nav-bar,
body.light-theme .sidebar-widget,
body.light-theme .post-card,
body.light-theme .site-footer,
body.light-theme .author-meta-bar,
body.light-theme .comments-section,
body.light-theme .crm-header,
body.light-theme .kpi-card,
body.light-theme .import-section,
body.light-theme .requests-section,
body.light-theme .crm-menu-tab {
  background: #FFFFFF !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #0F172A !important;
}

body.light-theme .post-title,
body.light-theme .article-headline,
body.light-theme .widget-title,
body.light-theme .author-name,
body.light-theme .crm-title,
body.light-theme h1, body.light-theme h2, body.light-theme h3, body.light-theme h4 {
  color: #0F172A !important;
}

body.light-theme .article-subheadline,
body.light-theme .article-body-content,
body.light-theme .post-excerpt,
body.light-theme .crm-subtitle,
body.light-theme p {
  color: #334155 !important;
}

body.light-theme .news-nav-links a {
  color: #475569 !important;
}
body.light-theme .news-nav-links a:hover, body.light-theme .news-nav-links a.active {
  color: #7C3AED !important;
}

/* ── LIGHT THEME CLOUD GLASSMORPHISM OVERRIDES ───────────────────────── */
/* ── LIGHT THEME HIGH-CONTRAST MOBILE SYSTEM ────────────────────────── */
body.light-theme {
  background-color: #F8FAFC !important;
  color: #0F172A !important;
}

body.light-theme .cloud-bg-wrapper {
  opacity: 0.15;
}

body.light-theme .site-header {
  background: #FFFFFF !important;
  border-bottom: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .site-header .logo,
body.light-theme .site-header .logo-title,
body.light-theme .logo,
body.light-theme .logo-title {
  color: #0F172A !important;
  font-weight: 800 !important;
}

body.light-theme .logo-title span {
  color: #059669 !important;
}

body.light-theme .search-input-wrapper {
  background: #F1F5F9 !important;
  border: 1.5px solid #94A3B8 !important;
}

body.light-theme .search-input-wrapper input {
  color: #0F172A !important;
  font-weight: 600 !important;
}

body.light-theme .search-input-wrapper input::placeholder {
  color: #475569 !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

body.light-theme .hero-banner-section.cloud-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(241, 245, 249, 0.95) 100%), url('/public/images/eu_amo_papucaia_hero.png') center/cover no-repeat !important;
  border: 2px solid #059669 !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .cloud-title {
  color: #090D16 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}

body.light-theme .cloud-subtitle {
  color: #1E293B !important;
  font-weight: 600 !important;
}

body.light-theme .cloud-pill-badge {
  background: #DCFCE7 !important;
  border: 1.5px solid #16A34A !important;
  color: #15803D !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.15) !important;
}

body.light-theme .cloud-btn-glow {
  background: #059669 !important;
  color: #FFFFFF !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35) !important;
}

body.light-theme .cloud-btn-glass {
  background: #FFFFFF !important;
  color: #B45309 !important;
  border: 2px solid #D97706 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15) !important;
}

body.light-theme .filters-section.cloud-filters {
  background: #FFFFFF !important;
  border-bottom: 1.5px solid #E2E8F0 !important;
}

body.light-theme .category-pill {
  background: #F1F5F9 !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #1E293B !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .category-pill:hover {
  background: #ECFDF5 !important;
  color: #047857 !important;
  border-color: #059669 !important;
}

body.light-theme .category-pill.active {
  background: #059669 !important;
  border-color: #047857 !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35) !important;
}

body.light-theme .filter-tag {
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #334155 !important;
  font-weight: 700 !important;
}

body.light-theme .filter-tag.active {
  background: #ECFDF5 !important;
  border-color: #059669 !important;
  color: #047857 !important;
}

body.light-theme .section-title {
  color: #0F172A !important;
  font-weight: 800 !important;
}

body.light-theme .section-count {
  color: #475569 !important;
  font-weight: 700 !important;
}

body.light-theme .business-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
}

body.light-theme .business-card.sponsored-card {
  background: #FFFBEB !important;
  border: 2px solid #F59E0B !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15) !important;
}

body.light-theme .card-title {
  color: #0F172A !important;
  font-weight: 800 !important;
}

body.light-theme .card-desc {
  color: #334155 !important;
  font-weight: 500 !important;
}

body.light-theme .card-meta {
  border-top: 1px solid #E2E8F0 !important;
  color: #475569 !important;
}

body.light-theme .card-actions .btn-secondary {
  background: #F1F5F9 !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
  font-weight: 700 !important;
}

body.light-theme .card-actions .btn-primary {
  background: #16A34A !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
}

body.light-theme .utility-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .utility-card p {
  color: #334155 !important;
}

body.light-theme .utility-badge {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  font-weight: 700 !important;
}

body.light-theme .btn-theme-toggle {
  background: #F1F5F9 !important;
  border: 1.5px solid #94A3B8 !important;
  color: #0F172A !important;
}

body.light-theme .btn-drawer-toggle {
  background: #ECFDF5 !important;
  border: 1.5px solid #059669 !important;
  color: #047857 !important;
  font-weight: 800 !important;
}

body.light-theme .drawer-panel {
  background: #FFFFFF !important;
  color: #0F172A !important;
}

body.light-theme .drawer-label {
  color: #0F172A !important;
  font-weight: 800 !important;
}

body.light-theme .utility-card {
  background: #FFFFFF !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .btn-theme-toggle {
  background: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
  color: #0F172A !important;
}

.btn-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F59E0B;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-theme-toggle:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.15);
}

  color: #7C3AED !important;
}

/* ── GLOBAL RESET ────────────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

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

/* CRITICAL: buttons and inputs must inherit color on dark backgrounds */
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

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

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

/* ── HEADER ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-white);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  font-weight: 800;
}

/* ── SEARCH ──────────────────────────────────────────────────────────────── */
.search-box-container {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  gap: 10px;
  transition: all 0.25s ease;
}

.search-input-wrapper svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: rgba(255, 255, 255, 0.09);
}

.search-input-wrapper input {
  flex: 1;
  background: transparent;
  color: var(--text-white);
  font-size: 0.9rem;
}

.search-input-wrapper input::placeholder {
  color: var(--text-dim);
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 380px;
  overflow-y: auto;
  z-index: 200;
  display: none;
}

.search-results-dropdown.active { display: block; }

.search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.15s ease;
  color: var(--text-main);
}

.search-item:last-child { border-bottom: none; }
.search-item:hover { background: rgba(255, 255, 255, 0.06); }

/* ── FILTERS SECTION ─────────────────────────────────────────────────────── */
.filters-section {
  padding: 22px 0;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface);
  text-align: center;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 10px;
  align-items: center;
  margin: 0 auto;
  max-width: 1100px;
}

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

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-muted);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.category-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.category-pill.active {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

.quick-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.quick-filters-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-right: 4px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tag:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
}

.filter-tag.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

/* ── SECTION TITLES ──────────────────────────────────────────────────────── */
.section-title-wrapper {
  margin: 36px 0 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-white);
}

.section-count {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ── BUSINESS CARD ───────────────────────────────────────────────────────── */
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.business-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.business-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lg);
}

/* Sponsored & Featured Highlight Styles */
.business-card.sponsored-card {
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, var(--bg-card) 100%);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.12);
}

.business-card.sponsored-card:hover {
  border-color: #F59E0B;
  box-shadow: 0 12px 36px rgba(245, 158, 11, 0.25);
  transform: translateY(-5px);
}

.sponsored-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #0F0A0D;
  font-weight: 800;
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sponsored-star {
  color: #F59E0B;
  margin-right: 4px;
}

.card-image-wrapper {
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: var(--bg-surface);
  position: relative;
}

.card-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: transform 0.5s ease;
}

.business-card:hover .card-thumbnail {
  transform: scale(1.06);
}

.card-body {
  padding: 20px;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-white);
}

.card-category-badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.card-open-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #10B981;
}

.card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-weight: 500;
}

.card-rating svg {
  flex-shrink: 0;
}

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

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-align: center;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-align: center;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-highlight);
  color: var(--text-white);
}

/* ── UTILITY SECTION ─────────────────────────────────────────────────────── */
.utility-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin: 48px 0;
}

.utility-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-white);
}

.utility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.utility-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}

.utility-card.clickable {
  cursor: pointer;
}

.utility-card.clickable:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.utility-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

/* ── DARK CUSTOM SCROLLBAR ────────────────────────────────────────────────── */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) var(--bg-surface);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-surface);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: var(--bg-card);
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* ── MODAL GLASSMORPHISM SYSTEM (ULTRA PREMIUM) ──────────────────────────── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 40px var(--primary-glow);
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-blue), var(--accent-gold));
  z-index: 12;
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: rgba(19, 25, 39, 0.95);
  backdrop-filter: blur(12px);
  z-index: 10;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-white);
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.modal-body {
  padding: 28px;
}

.utility-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.utility-item:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.utility-item:last-child {
  margin-bottom: 0;
}

.utility-item-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-white);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.utility-item-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.time-pill {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 6px;
  margin: 4px 3px;
}

.utility-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.utility-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 24px;
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  margin-bottom: 32px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-white);
}

.footer-col p,
.footer-col li {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── EMPTY STATE ─────────────────────────────────────────────────────────── */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.empty-state p {
  font-size: 0.9rem;
}

.btn-drawer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-white);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-drawer-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-advertise {
  flex-shrink: 0;
  font-size: 0.82rem;
  padding: 8px 16px;
  white-space: nowrap;
}

/* ── OFF-CANVAS DRAWER MENU ───────────────────────────────────────────────── */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 23, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: #0F172A;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  z-index: 99991;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.drawer-panel.active {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.drawer-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-white);
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.4);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-category-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.drawer-category-list .category-pill {
  width: 100%;
  justify-content: flex-start;
  padding: 12px 16px;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  white-space: normal;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.drawer-category-list .category-pill:hover {
  background: rgba(255, 255, 255, 0.1);
}

.drawer-category-list .category-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFF;
}

.drawer-filter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.drawer-filter-list .filter-tag {
  width: 100%;
  justify-content: flex-start;
  padding: 12px 16px;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  white-space: normal;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.drawer-filter-list .filter-tag:hover {
  background: rgba(255, 255, 255, 0.1);
}

.drawer-filter-list .filter-tag.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(16, 185, 129, 0.15);
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.logo-title {
  font-weight: 800;
  font-family: var(--font-heading);
  color: #FFF;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
}

.section-title {
  font-size: clamp(1.1rem, 4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-white);
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* ── DESKTOP VS MOBILE DISPLAY CONTROL ───────────────────────────────────── */
.desktop-only-filters {
  display: block;
}

@media (min-width: 769px) {
  .btn-drawer-toggle {
    display: none !important;
  }
  .desktop-only-filters {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .desktop-only-filters {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
  .btn-drawer-toggle {
    display: inline-flex !important;
  }
  .site-header {
    padding: 8px 0;
  }

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

  .logo {
    font-size: 1rem;
  }

  .logo-title {
    font-size: 0.95rem;
  }

  .logo-badge {
    font-size: 0.5rem;
    padding: 2px 5px;
  }

  .header-buttons {
    gap: 6px;
  }

  .btn-pwa, .btn-advertise {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .search-box-container {
    order: 3;
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
    margin-top: 4px;
    min-width: 0;
  }

  .search-input-wrapper {
    width: 100%;
    min-width: 0;
  }

  .search-input-wrapper input {
    width: 100%;
    min-width: 0;
    font-size: 0.85rem;
  }

  .category-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px 12px 10px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

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

  .category-pill {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .quick-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px 12px 8px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .quick-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-tag {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .quick-filters-label {
    flex-shrink: 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section-title {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .business-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .utility-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .utility-section {
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  .container {
    padding: 0 12px !important;
    max-width: 100% !important;
  }
  .logo { font-size: 0.95rem; }
  .logo-title { font-size: 0.88rem; }
  .btn-advertise, .btn-drawer-toggle, .btn-pwa {
    padding: 5px 8px !important;
    font-size: 0.72rem !important;
  }
  .section-title { font-size: 1.15rem !important; }
  .card-actions { grid-template-columns: 1fr; }
  .card-body { padding: 12px; }
  .drawer-panel { max-width: 86vw !important; }
}

/* ── FLOATING WHATSAPP BUTTON (FAB) ───────────────────────────────────────── */
.fab-whatsapp {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 60px !important;
  height: 60px !important;
  background: #25D366 !important;
  color: #FFFFFF !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55), 0 0 20px rgba(37, 211, 102, 0.4) !important;
  z-index: 99999 !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  text-decoration: none !important;
}

.fab-whatsapp:hover {
  transform: translateY(-4px) scale(1.08) !important;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.7) !important;
  color: #FFFFFF !important;
}

.fab-whatsapp .fab-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: fabPulseRing 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes fabPulseRing {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ==========================================================================
   CLOUD MODERN GLASSMORPHISM DESIGN SYSTEM v3.0
   Dynamic Aura Orbs, Frosted Glass Containers & Neon Accents
   ========================================================================== */

/* ── ANIMATED AMBIENT CLOUD BACKGROUND ─────────────────────────────────── */
.cloud-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 950px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.cloud-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.38;
  will-change: transform;
}

.cloud-orb-1 {
  top: -100px;
  left: 30%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.8) 0%, rgba(5, 150, 105, 0.2) 70%, transparent 100%);
  animation: cloudFloat1 18s ease-in-out infinite alternate;
}

.cloud-orb-2 {
  top: 50px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.75) 0%, rgba(168, 85, 247, 0.15) 70%, transparent 100%);
  animation: cloudFloat2 22s ease-in-out infinite alternate;
}

.cloud-orb-3 {
  top: 150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.7) 0%, rgba(2, 132, 199, 0.2) 70%, transparent 100%);
  animation: cloudFloat3 20s ease-in-out infinite alternate;
}

@keyframes cloudFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 50px) scale(1.1); }
  100% { transform: translate(-30px, 20px) scale(0.95); }
}

@keyframes cloudFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.15); }
  100% { transform: translate(-20px, 60px) scale(0.9); }
}

@keyframes cloudFloat3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 30px) scale(1.08); }
  100% { transform: translate(30px, -50px) scale(0.95); }
}

/* ── HERO BANNER GLASSMORPHISM ─────────────────────────────────────────── */
.hero-banner-section.cloud-hero {
  position: relative;
  z-index: 2;
  margin: 24px auto 36px auto;
  max-width: 1230px;
  padding: 55px 32px 45px 32px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(11, 15, 25, 0.92) 100%), url('/public/images/eu_amo_papucaia_hero.png') center/cover no-repeat !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 28px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  text-align: center;
  overflow: hidden;
}

.hero-banner-section.cloud-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.6) 50%, transparent 100%);
  animation: heroLineGlow 6s linear infinite;
}

@keyframes heroLineGlow {
  0% { transform: translateX(-30%); }
  100% { transform: translateX(30%); }
}

.cloud-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  color: #34D399;
  font-weight: 800;
  margin-bottom: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.15);
  letter-spacing: 0.3px;
}

.cloud-title {
  font-size: 2.6rem !important;
  font-weight: 800 !important;
  font-family: var(--font-heading) !important;
  margin-bottom: 16px !important;
  line-height: 1.25 !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 50%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cloud-subtitle {
  font-size: 1.05rem !important;
  color: #94A3B8 !important;
  max-width: 720px;
  margin: 0 auto 28px auto !important;
  line-height: 1.65 !important;
  font-weight: 500;
}

.cloud-btn-glow {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%) !important;
  color: #FFF !important;
  border: 1px solid rgba(52, 211, 153, 0.4) !important;
  padding: 14px 28px !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.cloud-btn-glow:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 14px 35px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.cloud-btn-glass {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #F59E0B !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  padding: 14px 28px !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.cloud-btn-glass:hover {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: #F59E0B !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.25) !important;
}

/* ── FILTERS GLASSMORPHISM OVERRIDES ──────────────────────────────────── */
.filters-section.cloud-filters {
  background: rgba(19, 25, 39, 0.6) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 24px 0 !important;
}

.category-pill {
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #CBD5E1 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.category-pill:hover {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #FFF !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2) !important;
}

.category-pill.active {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%) !important;
  border-color: #34D399 !important;
  color: #FFF !important;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.45) !important;
  transform: translateY(-2px) !important;
}

/* ── BUSINESS CARDS GLASSMORPHISM ENHANCEMENT ────────────────────────── */
.business-card {
  background: linear-gradient(180deg, rgba(26, 34, 54, 0.7) 0%, rgba(15, 21, 35, 0.85) 100%) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 22px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}

.business-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(16, 185, 129, 0.2) !important;
}

.business-card.sponsored-card {
  border: 1.5px solid rgba(245, 158, 11, 0.5) !important;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(19, 25, 39, 0.85) 100%) !important;
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.18) !important;
}

.business-card.sponsored-card:hover {
  border-color: #F59E0B !important;
  box-shadow: 0 20px 45px rgba(245, 158, 11, 0.3), 0 0 35px rgba(245, 158, 11, 0.2) !important;
}

/* ── PUBLIC UTILITY CARD GLASS ────────────────────────────────────────── */
.utility-card {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 18px !important;
  padding: 22px !important;
  transition: all 0.3s ease !important;
}

.utility-card:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  transform: translateY(-4px) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4) !important;
}

/* ==========================================================================
   MOBILE & TABLET ULTIMATE RESPONSIVE OVERRIDES (320px - 768px)
   ========================================================================== */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .container {
    padding: 0 16px !important;
  }

  /* ── MOBILE HEADER FIXES ── */
  .site-header {
    padding: 10px 0 !important;
  }

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

  .logo {
    gap: 6px !important;
  }

  .logo img {
    width: 30px !important;
    height: 30px !important;
  }

  .logo-title {
    font-size: 0.88rem !important;
  }

  .logo-badge {
    font-size: 0.5rem !important;
    padding: 2px 4px !important;
  }

  .header-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
  }

  .header-buttons a, 
  .header-buttons button {
    white-space: nowrap !important;
    word-break: keep-all !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 34px !important;
    line-height: 1 !important;
  }

  .header-buttons .desktop-header-btn,
  .header-buttons .btn-secondary {
    display: none !important; /* Oculta botões longos secundários do topo no celular para manter o cabeçalho 100% limpo e elegante */
  }

  .btn-theme-toggle {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
  }

  .btn-drawer-toggle {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
  }

  .btn-advertise {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
  }

  .search-box-container {
    order: 3 !important;
    width: 100% !important;
    margin-top: 6px !important;
  }

  .search-input-wrapper {
    padding: 8px 14px !important;
  }

  .search-input-wrapper input {
    font-size: 0.82rem !important;
  }

  /* ── MOBILE HERO BANNER FIXES ── */
  .hero-banner-section.cloud-hero {
    margin: 12px 0 24px 0 !important;
    padding: 28px 16px 24px 16px !important;
    border-radius: 20px !important;
    border-left: none !important;
    border-right: none !important;
  }

  .cloud-pill-badge {
    font-size: 0.72rem !important;
    padding: 5px 12px !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
  }

  .cloud-title {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
    word-break: break-word !important;
  }

/* ── HEADER BASE NAV BUTTON STYLES ──────────────────────────────────── */
.header-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle-btn {
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.desktop-only-btn {
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.header-btn-primary {
  font-size: 0.82rem;
  padding: 9px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* ── MOBILE ULTIMATE ZERO-HORIZONTAL-SCROLL SYSTEM (MAX-WIDTH: 768px) ── */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  *, *::before, *::after {
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .container, 
  .article-container, 
  .news-nav-container, 
  .header-content, 
  .site-header .container,
  .blog-hero-content {
    max-width: 100vw !important;
    width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* ── MOBILE HEADER FIXES ── */
  .header, .site-header {
    padding: 8px 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .header-content, .header-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .logo {
    gap: 6px !important;
    max-width: 60% !important;
  }

  .logo img {
    width: 30px !important;
    height: 30px !important;
  }

  .logo-text, .logo-title {
    font-size: 0.9rem !important;
    white-space: nowrap !important;
  }

  .header-buttons, .header-nav-right {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
  }

  .desktop-only-btn, 
  .desktop-header-btn, 
  .header .btn-secondary:not(.theme-toggle-btn):not(.btn-theme-toggle) {
    display: none !important; /* Esconde botões secundários extensos do topo no mobile */
  }

  .theme-btn-text {
    display: none !important; /* Esconde o texto "Modo Claro/Escuro" no mobile para manter o botão compacto */
  }

  .theme-toggle-btn, .btn-theme-toggle {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }

  .btn-drawer-toggle {
    padding: 6px 9px !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }

  .btn-advertise, .header-btn-primary {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .search-box-container {
    order: 3 !important;
    width: 100% !important;
    margin-top: 4px !important;
  }

  .search-input-wrapper {
    padding: 8px 12px !important;
    width: 100% !important;
  }

  .search-input-wrapper input {
    font-size: 0.82rem !important;
  }

  /* ── MOBILE HERO & BANNERS ── */
  .blog-hero {
    padding: 35px 14px 25px 14px !important;
  }

  .hero-banner-section.cloud-hero {
    margin: 10px 0 20px 0 !important;
    padding: 24px 14px 20px 14px !important;
    border-radius: 18px !important;
  }

  .cloud-pill-badge {
    font-size: 0.7rem !important;
    padding: 4px 10px !important;
    margin-bottom: 10px !important;
  }

  .cloud-title {
    font-size: clamp(1.3rem, 5.2vw, 1.65rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
    word-break: break-word !important;
  }

  .cloud-subtitle {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
  }

  .hero-banner-section.cloud-hero div[style*="display:flex"] {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .cloud-btn-glow, .cloud-btn-glass {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 11px 16px !important;
    font-size: 0.85rem !important;
    border-radius: 10px !important;
  }

  .social-banner {
    padding: 16px !important;
    margin: 20px 0 30px 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .social-banner div[style*="display:flex"] {
    width: 100% !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .social-banner a {
    flex: 1 1 auto !important;
    justify-content: center !important;
    padding: 8px 12px !important;
    font-size: 0.78rem !important;
  }

  /* ── MOBILE GRIDS (BLOG & BUSINESSES) ── */
  .blog-grid, 
  .business-grid, 
  .utility-grid, 
  .article-container {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    margin-bottom: 30px !important;
  }

  .business-card, .post-card, .utility-card {
    border-radius: 16px !important;
    width: 100% !important;
  }

  .card-image-wrapper, .post-thumb {
    height: 160px !important;
  }

  .card-body, .post-body {
    padding: 14px !important;
  }

  .card-title, .post-title {
    font-size: 1.05rem !important;
  }

  .card-desc, .post-excerpt {
    font-size: 0.82rem !important;
    margin-bottom: 12px !important;
  }

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

  .card-actions .btn-primary, .card-actions .btn-secondary {
    padding: 8px 6px !important;
    font-size: 0.76rem !important;
    border-radius: 8px !important;
  }

  /* ── MOBILE PLANOS & FOOTER ── */
  #planos-section {
    padding: 20px 14px !important;
    margin-top: 20px !important;
    border-radius: 14px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

@media (max-width: 380px) {
  .container {
    padding: 0 10px !important;
  }

  .card-actions {
    grid-template-columns: 1fr !important;
  }
}




