/* ==========================================================================
   ALO MOBILE — TABELA DE COMPATIBILIDADE DE PELÍCULAS 3D (2026)
   Design System: "Bancada Digital Pro + Hub do Técnico"
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #0b0f17;
  --bg-surface: #111827;
  --bg-card: #162032;
  --bg-card-hover: #1c2940;
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-card-border-hover: rgba(59, 130, 246, 0.4);
  
  --text-main: #f3f4f6;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-glow: rgba(59, 130, 246, 0.25);
  
  --accent-green: #10b981;
  --accent-green-bg: rgba(16, 185, 129, 0.12);
  --accent-green-border: rgba(16, 185, 129, 0.3);
  
  --accent-gold: #f59e0b;
  --accent-gold-bg: rgba(245, 158, 11, 0.15);
  --accent-gold-border: rgba(245, 158, 11, 0.4);
  
  /* Brand specific colors */
  --samsung-color: #3b82f6;
  --motorola-color: #ef4444;
  --apple-color: #94a3b8;
  --xiaomi-color: #f97316;
  --realme-color: #eab308;
  --oppo-color: #16a34a;
  --infinix-color: #06b6d4;

  --font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.2);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

/* Allow text selection in inputs */
input, textarea, select {
  user-select: text;
  -webkit-user-select: text;
}

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

.hidden {
  display: none !important;
}

/* ==========================================================================
   1. STICKY TOPBAR & POPOVER (Hub do Técnico)
   ========================================================================== */

.sticky-topbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(11, 15, 23, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-card-border);
  transition: background-color 0.2s ease;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 0.75rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

/* Hamburger Drawer Toggle Integrado com 'Hub do Técnico' */
.btn-drawer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  color: var(--text-main);
  text-decoration: none;
}

.btn-drawer-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(234, 179, 8, 0.4);
}

.hamburger-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
}

.hamburger-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #facc15;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.drawer-toggle-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #facc15;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .drawer-toggle-label {
    display: none;
  }
  .btn-drawer-toggle {
    padding: 0;
    width: 38px;
    height: 38px;
    justify-content: center;
  }
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-main);
}

.topbar-logo {
  height: 32px;
  width: auto;
  display: block;
}

.topbar-badge-tool {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Center Status Badge */
.topbar-status {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--bg-card-border);
}

@media (min-width: 1024px) {
  .topbar-status {
    display: inline-flex;
  }
}

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

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--accent-green); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-erp-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fb923c;
  background: rgba(251, 146, 60, 0.1);
  border: 1px solid rgba(251, 146, 60, 0.3);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-erp-nav:hover {
  background: rgba(251, 146, 60, 0.2);
  transform: translateY(-1px);
}

/* User Account Trigger Button */
.btn-account-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-account-pill:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-account-pill.is-member {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.1);
  color: #facc15;
}

.user-avatar-img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-gold);
  object-fit: cover;
}

.btn-logout-icon {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  font-size: 0.8rem;
}

.btn-logout-icon:hover {
  color: #ef4444;
}

/* ==========================================================================
   2. SLIDE-OUT DRAWER (Menu Lateral do Hub do Técnico)
   ========================================================================== */

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.drawer-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #0f172a;
  border-right: 1px solid var(--bg-card-border);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.drawer-panel.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid var(--bg-card-border);
}

.drawer-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-user-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
}

.badge-visitante {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border: 1px solid var(--bg-card-border);
}

.badge-membro {
  background: var(--accent-gold-bg);
  color: #facc15;
  border: 1px solid var(--accent-gold-border);
}

.btn-drawer-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  font-size: 1.125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-drawer-close:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

.drawer-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.drawer-section-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-nav-item a, 
.drawer-nav-item button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.drawer-nav-item a:hover, 
.drawer-nav-item button:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.drawer-nav-item.active a {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.12);
  font-weight: 600;
}

.drawer-badge-lock {
  font-size: 0.65rem;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-left: auto;
  font-weight: 700;
}

.drawer-erp-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(251, 146, 60, 0.25);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: auto;
}

.drawer-erp-box h4 {
  font-size: 0.9rem;
  color: #fb923c;
  margin-bottom: 0.25rem;
}

.drawer-erp-box p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.drawer-erp-btn {
  display: block;
  text-align: center;
  padding: 8px;
  background: #ea580c;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.drawer-erp-btn:hover {
  background: #c2410c;
}

/* ==========================================================================
   3. HERO & SEARCH COMMAND BAR (Com Botão "Sugerir Edição" Integrado)
   ========================================================================== */

.search-hero {
  padding: 2.25rem 0 1.5rem;
  text-align: center;
}

.search-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.search-hero-title span {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.search-hero-sub {
  font-size: clamp(0.875rem, 2vw, 1.05rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

/* Brand Chips Navigation */
.brand-chips-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.brand-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.brand-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.brand-chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-samsung { background-color: var(--samsung-color); }
.dot-motorola { background-color: var(--motorola-color); }
.dot-apple { background-color: var(--apple-color); }
.dot-xiaomi { background-color: var(--xiaomi-color); }
.dot-realme { background-color: var(--realme-color); }
.dot-oppo { background-color: var(--oppo-color); }
.dot-infinix { background-color: var(--infinix-color); }

/* Spotlight Search Bar with Integrated "Sugerir Edição" Button */
.search-bar-wrap {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.search-bar-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 2px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 4px 6px 4px 1rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 6px;
}

.search-bar-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow), var(--shadow-lg);
  background: #131d2e;
}

.search-icon {
  color: var(--text-dim);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.main-search-input {
  width: 100%;
  height: 52px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-family: inherit;
  color: var(--text-main);
  padding: 0 0.5rem;
}

.main-search-input::placeholder {
  color: #64748b;
  font-size: 0.95rem;
}

.btn-clear-search {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-muted);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-clear-search:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.btn-clear-search.visible {
  display: flex;
}

/* Button: Sugerir Edição (Dentro da Barra de Busca) */
.btn-suggest-search-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-suggest-search-bar:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: #60a5fa;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .btn-suggest-search-bar span {
    display: none;
  }
  .btn-suggest-search-bar {
    padding: 8px 10px;
  }
}

/* Results Info Bar / Base Viva */
.results-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.info-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.base-viva-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.results-count-badge {
  color: #60a5fa;
  font-weight: 700;
}

.free-unlocked-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-green);
  font-weight: 600;
}

.info-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-share-wpp-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-share-wpp-top:hover {
  background: #25d366;
  color: #070d1f;
  border-color: #25d366;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-share-wpp-top svg {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .btn-share-wpp-top .share-text-full {
    display: none;
  }
  .btn-share-wpp-top .share-text-short {
    display: inline;
  }
}

@media (min-width: 601px) {
  .btn-share-wpp-top .share-text-short {
    display: none;
  }
}

/* ==========================================================================
   4. INTERACTIVE CARDS GRID (Fichas Técnicas)
   ========================================================================== */

.cards-grid-section {
  padding: 1rem 0 3rem;
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

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

.device-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.device-card:hover {
  border-color: var(--bg-card-border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.card-device-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.card-brand-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.tag-samsung { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.tag-motorola { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.tag-apple { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); }
.tag-xiaomi { background: rgba(249, 115, 22, 0.15); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.3); }
.tag-realme { background: rgba(234, 179, 8, 0.15); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.3); }
.tag-oppo { background: rgba(22, 163, 74, 0.15); color: #4ade80; border: 1px solid rgba(22, 163, 74, 0.3); }
.tag-infinix { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.3); }
.tag-generic { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); border: 1px solid var(--bg-card-border); }

.card-films-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.films-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.film-pill {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.film-pill:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  transform: scale(1.02);
}

.film-pill.same-model {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border-color: var(--bg-card-border);
}

.film-pill.with-ressalva {
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.35);
  cursor: pointer;
}

.film-pill.with-ressalva:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.ressalva-badge {
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  letter-spacing: 0.02em;
}

.empty-state-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--bg-card);
  border: 1px dashed var(--bg-card-border);
  border-radius: var(--radius-lg);
}

.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.empty-state-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 1.5rem;
}

/* ==========================================================================
   5. BENCH ASSISTANT CALLOUT (ALO ERP)
   ========================================================================== */

.erp-bench-banner {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin: 2rem 0 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .erp-bench-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.erp-banner-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.erp-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fb923c;
}

.erp-banner-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.erp-banner-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 620px;
}

.erp-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ea580c;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
  transition: all 0.2s ease;
}

.erp-banner-cta:hover {
  background: #c2410c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.6);
}

/* Hero Anchor Shortcut */
.hero-anchor-shortcut {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--bg-card-border);
}

.anchor-jump-link {
  color: #60a5fa;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.anchor-jump-link:hover {
  color: #93c5fd;
}

/* ==========================================================================
   TABELA LIVRE COMPLETA (White-Hat SEO Puro & Indexação de Cauda Longa)
   ========================================================================== */

.tabela-livre-section {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--bg-card-border);
  background: rgba(11, 15, 23, 0.6);
}

.tabela-livre-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.tabela-livre-header h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.tabela-livre-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tabela-livre-brand-block {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.tabela-livre-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tabela-livre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

@media (min-width: 768px) {
  .tabela-livre-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

.tabela-livre-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  transition: background 0.15s ease;
}

.tabela-livre-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(59, 130, 246, 0.3);
}

.tabela-celular {
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.tabela-arrow {
  color: #60a5fa;
  font-size: 0.75rem;
}

.tabela-pelicula {
  color: var(--text-muted);
}

.tabela-pelicula strong {
  color: #34d399;
  font-weight: 600;
}

/* ==========================================================================
   6. SEO CONTENT & TECHNICAL FAQ SECTION
   ========================================================================== */

.seo-guide-section {
  border-top: 1px solid var(--bg-card-border);
  padding: 4rem 0;
  background: rgba(15, 23, 42, 0.4);
}

.seo-guide-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.seo-guide-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.seo-guide-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

.knowledge-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.knowledge-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.knowledge-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.knowledge-card ul {
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.faq-accordion-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-accordion-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-accordion-item summary {
  padding: 1.1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-accordion-item summary::-webkit-details-marker {
  display: none;
}

.faq-accordion-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--text-dim);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-accordion-item[open] summary::after {
  content: '−';
  color: #60a5fa;
}

.faq-accordion-item p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.75rem;
}

/* ==========================================================================
   7. MODAIS (Google Login, Onboarding Membro & Sugestão de Edição)
   ========================================================================== */

.alo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.alo-modal-panel {
  background: #0f172a;
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  position: relative;
}

.alo-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.alo-modal-head h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.alo-modal-head p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.alo-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-grid label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  background: #1e293b;
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 9px 12px;
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-grid textarea {
  resize: vertical;
  min-height: 70px;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

.btn-primary-action {
  width: 100%;
  padding: 11px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary-action:hover {
  background: var(--primary-hover);
}

.btn-gold-action {
  width: 100%;
  padding: 11px;
  background: #eab308;
  color: #0f172a;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-gold-action:hover {
  background: #facc15;
}

.btn-google-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  background: #ffffff;
  color: #1f2937;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-google-modal:hover {
  background: #f1f5f9;
}

.form-msg {
  font-size: 0.8125rem;
  margin-top: 0.75rem;
  text-align: center;
}

.form-msg.ok { color: var(--accent-green); }
.form-msg.err { color: #ef4444; }

/* Member Benefits List inside modal */
.member-benefits-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.member-benefits-box h5 {
  font-size: 0.8rem;
  color: #facc15;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.member-benefits-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.member-benefits-box li {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Copy Protect Toast */
#copy-protect-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  border: 1px solid rgba(251, 146, 60, 0.4);
  color: var(--text-main);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  font-size: 0.875rem;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

#copy-protect-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */

.lojista-footer {
  border-top: 1px solid var(--bg-card-border);
  padding: 2.5rem 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8125rem;
}

.lojista-footer p {
  margin-bottom: 0.5rem;
}

.lojista-footer a {
  color: var(--text-muted);
  text-decoration: underline;
}

.lojista-footer a:hover {
  color: var(--text-main);
}
