/* ===== EVENTFLOW - MAIN CSS ===== */
:root {
  --ef-primary: #6C3DD3;
  --ef-primary-dark: #5429B5;
  --ef-primary-light: #8B5CF6;
  --ef-secondary: #E040FB;
  --ef-accent: #00E5FF;
  --ef-success: #10B981;
  --ef-warning: #F59E0B;
  --ef-danger: #EF4444;
  --ef-info: #3B82F6;
  --ef-dark: #0F0A1E;
  --ef-dark-2: #1A1035;
  --ef-dark-3: #251845;
  --ef-gray-100: #F3F4F6;
  --ef-gray-200: #E5E7EB;
  --ef-gray-300: #D1D5DB;
  --ef-gray-400: #9CA3AF;
  --ef-gray-500: #6B7280;
  --ef-gray-600: #4B5563;
  --ef-gray-700: #374151;
  --ef-gray-800: #1F2937;
  --ef-gray-900: #111827;
  --ef-gradient: linear-gradient(135deg, #6C3DD3 0%, #E040FB 100%);
  --ef-gradient-dark: linear-gradient(135deg, #1A1035 0%, #251845 100%);
  --ef-shadow: 0 4px 20px rgba(108, 61, 211, 0.15);
  --ef-shadow-lg: 0 10px 40px rgba(108, 61, 211, 0.25);
  --ef-radius: 12px;
  --ef-radius-lg: 20px;
  --ef-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #F8F9FA;
  color: var(--ef-gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed; inset: 0;
  background: var(--ef-gradient-dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9999; gap: 24px;
}
.loading-logo { display: flex; align-items: center; gap: 12px; }
.loading-logo span { font-size: 2rem; font-weight: 800; color: white; letter-spacing: -1px; }
.loading-bar { width: 240px; height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; overflow: hidden; }
.loading-progress { height: 100%; background: var(--ef-gradient); border-radius: 2px; animation: loading 1.5s ease-in-out; }
@keyframes loading { 0%{width:0} 50%{width:70%} 100%{width:100%} }

/* ===== UTILITIES ===== */
.text-gradient { background: var(--ef-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bg-gradient-ef { background: var(--ef-gradient); }
.bg-dark-ef { background: var(--ef-dark); }
.shadow-ef { box-shadow: var(--ef-shadow); }
.shadow-ef-lg { box-shadow: var(--ef-shadow-lg); }
.radius-ef { border-radius: var(--ef-radius); }
.radius-ef-lg { border-radius: var(--ef-radius-lg); }
.transition-ef { transition: var(--ef-transition); }
.cursor-pointer { cursor: pointer; }

/* ===== BUTTONS ===== */
.btn-ef-primary {
  background: var(--ef-gradient);
  border: none; color: white;
  padding: 12px 28px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem;
  transition: var(--ef-transition);
  cursor: pointer; display: inline-flex;
  align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-ef-primary:hover { transform: translateY(-2px); box-shadow: var(--ef-shadow-lg); color: white; }
.btn-ef-outline {
  background: transparent;
  border: 2px solid white; color: white;
  padding: 11px 28px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem;
  transition: var(--ef-transition);
  cursor: pointer; display: inline-flex;
  align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-ef-outline:hover { background: white; color: var(--ef-primary); }
.btn-ef-ghost {
  background: rgba(108,61,211,0.1);
  border: 1px solid rgba(108,61,211,0.3);
  color: var(--ef-primary); padding: 10px 24px;
  border-radius: 8px; font-weight: 600;
  transition: var(--ef-transition); cursor: pointer;
}
.btn-ef-ghost:hover { background: var(--ef-primary); color: white; }
.btn-sm-ef { padding: 7px 16px !important; font-size: 0.85rem !important; }

/* ===== CARDS ===== */
.ef-card {
  background: white; border-radius: var(--ef-radius);
  border: 1px solid var(--ef-gray-200);
  transition: var(--ef-transition);
  overflow: hidden;
}
.ef-card:hover { box-shadow: var(--ef-shadow); transform: translateY(-2px); }
.ef-card-dark { background: var(--ef-dark-2); border-color: rgba(255,255,255,0.08); color: white; }

.stat-card {
  background: white; border-radius: var(--ef-radius);
  padding: 20px 24px; border: 1px solid var(--ef-gray-200);
  transition: var(--ef-transition); position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--ef-gradient);
}
.stat-card:hover { box-shadow: var(--ef-shadow); }
.stat-card .stat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 12px;
}
.stat-card .stat-value { font-size: 1.7rem; font-weight: 800; color: var(--ef-gray-900); line-height: 1.2; }
.stat-card .stat-label { font-size: 0.8rem; color: var(--ef-gray-500); font-weight: 500; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-card .stat-change { font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.stat-change.up { color: var(--ef-success); }
.stat-change.down { color: var(--ef-danger); }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 10, 30, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--ef-transition);
  padding: 0 !important;
}
#navbar .nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.4rem; font-weight: 800;
  color: white; text-decoration: none;
  letter-spacing: -0.5px;
}
#navbar .nav-brand .brand-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--ef-gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: white;
}
#navbar .nav-link {
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.9rem; font-weight: 500;
  padding: 8px 16px !important;
  transition: var(--ef-transition);
  border-radius: 8px;
}
#navbar .nav-link:hover { color: white !important; background: rgba(255,255,255,0.08); }
.navbar-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 64px; }

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: var(--ef-gradient-dark);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 100px 0 80px;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(108,61,211,0.3) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(224,64,251,0.2) 0%, transparent 60%);
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(108,61,211,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(108,61,211,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900; line-height: 1.1;
  color: white; letter-spacing: -2px;
  margin-bottom: 8px;
}
.hero-title .brand-name {
  display: block;
  background: var(--ef-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle-main {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: rgba(255,255,255,0.9);
  font-weight: 600; margin-bottom: 16px;
}
.hero-desc {
  font-size: 1rem; color: rgba(255,255,255,0.65);
  margin-bottom: 36px; max-width: 520px; line-height: 1.7;
}
.hero-stats { display: flex; gap: 32px; margin-top: 32px; }
.hero-stat-item { text-align: center; }
.hero-stat-item .value { font-size: 1.6rem; font-weight: 800; color: white; display: block; }
.hero-stat-item .label { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; }
.hero-dashboard-mockup {
  background: var(--ef-dark-2);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.dashboard-topbar { background: var(--ef-dark-3); padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
.dashboard-dot { width: 10px; height: 10px; border-radius: 50%; }
.dashboard-content { padding: 20px; }
.mock-stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 16px; }
.mock-stat { background: rgba(255,255,255,0.05); border-radius: 8px; padding: 12px; }
.mock-stat .ms-val { font-size: 1.1rem; font-weight: 700; color: white; }
.mock-stat .ms-label { font-size: 0.65rem; color: rgba(255,255,255,0.4); margin-top: 2px; }
.mock-chart { background: rgba(255,255,255,0.03); border-radius: 8px; padding: 16px; height: 100px; position: relative; overflow: hidden; }
.mock-chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.mock-bar { flex: 1; background: var(--ef-gradient); border-radius: 3px 3px 0 0; opacity: 0.8; }

/* ===== FEATURES SECTION ===== */
.section-tag { display: inline-block; background: rgba(108,61,211,0.1); color: var(--ef-primary); padding: 6px 16px; border-radius: 30px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; line-height: 1.2; color: var(--ef-gray-900); letter-spacing: -1px; }
.section-subtitle { font-size: 1rem; color: var(--ef-gray-500); max-width: 560px; margin: 12px auto 0; line-height: 1.7; }
.feature-card {
  background: white; border-radius: var(--ef-radius);
  padding: 28px; border: 1px solid var(--ef-gray-200);
  transition: var(--ef-transition); height: 100%;
}
.feature-card:hover { box-shadow: var(--ef-shadow-lg); transform: translateY(-4px); border-color: var(--ef-primary); }
.feature-card .feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--ef-gradient); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.4rem; color: white; margin-bottom: 20px;
}
.feature-card h5 { font-size: 1.05rem; font-weight: 700; color: var(--ef-gray-900); margin-bottom: 8px; }
.feature-card p { font-size: 0.875rem; color: var(--ef-gray-500); line-height: 1.6; margin: 0; }

/* ===== HOW IT WORKS ===== */
.how-step {
  text-align: center; padding: 24px 16px; position: relative;
}
.how-step .step-number {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--ef-gradient); color: white;
  font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.how-step h5 { font-weight: 700; color: var(--ef-gray-900); margin-bottom: 8px; }
.how-step p { font-size: 0.875rem; color: var(--ef-gray-500); }
.how-connector { position: absolute; top: 30px; right: -50%; width: 100%; height: 2px; background: linear-gradient(90deg, var(--ef-primary), var(--ef-secondary)); opacity: 0.3; z-index: 0; }

/* ===== SOLUTIONS ===== */
.solution-card {
  background: white; border-radius: var(--ef-radius);
  padding: 24px; border: 1px solid var(--ef-gray-200);
  text-align: center; transition: var(--ef-transition); cursor: pointer;
}
.solution-card:hover { background: var(--ef-gradient); color: white; transform: translateY(-4px); box-shadow: var(--ef-shadow-lg); border-color: transparent; }
.solution-card:hover * { color: white !important; }
.solution-card .sol-icon { font-size: 2rem; margin-bottom: 12px; }
.solution-card h6 { font-weight: 700; color: var(--ef-gray-800); }

/* ===== PRICING ===== */
.pricing-card {
  background: white; border-radius: var(--ef-radius-lg);
  padding: 36px; border: 2px solid var(--ef-gray-200);
  transition: var(--ef-transition); position: relative;
  overflow: hidden;
}
.pricing-card.popular {
  border-color: var(--ef-primary);
  box-shadow: var(--ef-shadow-lg);
}
.pricing-card.popular::before {
  content: 'Mais Popular';
  position: absolute; top: 20px; right: -28px;
  background: var(--ef-gradient); color: white;
  font-size: 0.75rem; font-weight: 700; padding: 6px 40px;
  transform: rotate(45deg);
}
.pricing-plan-name { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--ef-primary); margin-bottom: 8px; }
.pricing-price { font-size: 3rem; font-weight: 900; color: var(--ef-gray-900); line-height: 1; }
.pricing-price sup { font-size: 1rem; font-weight: 600; vertical-align: super; }
.pricing-price sub { font-size: 0.9rem; font-weight: 400; color: var(--ef-gray-500); }
.pricing-feature { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.875rem; color: var(--ef-gray-700); border-bottom: 1px solid var(--ef-gray-100); }
.pricing-feature i.fa-check { color: var(--ef-success); font-size: 0.8rem; }
.pricing-feature i.fa-times { color: var(--ef-gray-300); font-size: 0.8rem; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--ef-gray-200); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer; font-weight: 600;
  color: var(--ef-gray-900); transition: var(--ef-transition);
}
.faq-question:hover { color: var(--ef-primary); }
.faq-answer { padding-bottom: 16px; color: var(--ef-gray-600); font-size: 0.9rem; line-height: 1.7; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--ef-primary); }
.faq-icon { transition: var(--ef-transition); color: var(--ef-gray-400); }

/* ===== FOOTER ===== */
#footer {
  background: var(--ef-dark);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
}
#footer .footer-brand { font-size: 1.4rem; font-weight: 800; color: white; margin-bottom: 16px; }
#footer .footer-desc { font-size: 0.875rem; line-height: 1.7; max-width: 260px; }
#footer .footer-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: white; margin-bottom: 16px; }
#footer .footer-link { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 8px; transition: var(--ef-transition); }
#footer .footer-link:hover { color: white; transform: translateX(4px); }
#footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; margin-top: 48px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
#footer .footer-bottom p { font-size: 0.8rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); text-decoration: none; transition: var(--ef-transition); }
.footer-social a:hover { background: var(--ef-gradient); color: white; }

/* ===== DASHBOARD LAYOUT ===== */
.dashboard-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 260px; min-height: 100vh;
  background: var(--ef-dark);
  position: fixed; left: 0; top: 0; bottom: 0;
  z-index: 100; overflow-y: auto;
  transition: var(--ef-transition);
  display: flex; flex-direction: column;
}
.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 20px 8px;
  font-size: 1.2rem; font-weight: 800;
  color: white; letter-spacing: -0.5px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 8px;
}
.sidebar-brand .brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ef-success); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }
.sidebar-section { padding: 4px 12px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.25); margin: 8px 0 4px; }
.sidebar-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; margin: 1px 8px;
  color: rgba(255,255,255,0.6); text-decoration: none;
  border-radius: 8px; font-size: 0.875rem; font-weight: 500;
  transition: var(--ef-transition); cursor: pointer;
}
.sidebar-nav-item:hover { background: rgba(255,255,255,0.08); color: white; }
.sidebar-nav-item.active { background: rgba(108,61,211,0.3); color: white; }
.sidebar-nav-item.active .nav-icon { color: var(--ef-primary-light); }
.sidebar-nav-item .nav-icon { width: 20px; text-align: center; font-size: 0.9rem; }
.sidebar-nav-item .nav-badge { margin-left: auto; background: var(--ef-danger); color: white; font-size: 0.65rem; font-weight: 700; padding: 2px 6px; border-radius: 10px; }
.sidebar-user { padding: 16px 16px 20px; border-top: 1px solid rgba(255,255,255,0.08); margin-top: auto; }
.sidebar-user .user-info { display: flex; align-items: center; gap: 10px; }
.sidebar-user .user-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ef-gradient); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.9rem; }
.sidebar-user .user-name { font-size: 0.85rem; font-weight: 600; color: white; }
.sidebar-user .user-role { font-size: 0.7rem; color: rgba(255,255,255,0.4); }
.main-content { margin-left: 260px; flex: 1; min-height: 100vh; background: #F0F2F5; }
.main-topbar {
  background: white; padding: 0 28px;
  border-bottom: 1px solid var(--ef-gray-200);
  height: 60px; display: flex; align-items: center;
  justify-content: space-between; position: sticky; top: 0; z-index: 50;
}
.topbar-title { font-size: 1rem; font-weight: 700; color: var(--ef-gray-900); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.topbar-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--ef-gray-200); background: white; display: flex; align-items: center; justify-content: center; color: var(--ef-gray-500); cursor: pointer; transition: var(--ef-transition); position: relative; }
.topbar-btn:hover { border-color: var(--ef-primary); color: var(--ef-primary); }
.topbar-btn .notif-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; background: var(--ef-danger); border-radius: 50%; border: 2px solid white; }
.page-content { padding: 28px; }
.page-header { margin-bottom: 24px; }
.page-header h1 { font-size: 1.4rem; font-weight: 800; color: var(--ef-gray-900); }
.page-header p { font-size: 0.875rem; color: var(--ef-gray-500); margin-top: 4px; }
.breadcrumb { font-size: 0.8rem; color: var(--ef-gray-400); margin-bottom: 4px; }
.breadcrumb span { color: var(--ef-primary); }

/* ===== TABLES ===== */
.ef-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.ef-table thead tr { background: var(--ef-gray-50, #f9fafb); }
.ef-table th { padding: 12px 16px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ef-gray-500); border-bottom: 1px solid var(--ef-gray-200); text-align: left; }
.ef-table td { padding: 14px 16px; font-size: 0.875rem; color: var(--ef-gray-700); border-bottom: 1px solid var(--ef-gray-100); }
.ef-table tbody tr:hover { background: var(--ef-gray-50, #f9fafb); }
.ef-table tbody tr:last-child td { border-bottom: none; }

/* ===== BADGES ===== */
.badge-ef { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-success { background: rgba(16,185,129,0.1); color: #059669; }
.badge-warning { background: rgba(245,158,11,0.1); color: #D97706; }
.badge-danger { background: rgba(239,68,68,0.1); color: #DC2626; }
.badge-info { background: rgba(59,130,246,0.1); color: #2563EB; }
.badge-purple { background: rgba(108,61,211,0.1); color: var(--ef-primary); }
.badge-gray { background: var(--ef-gray-100); color: var(--ef-gray-600); }

/* ===== FORM ELEMENTS ===== */
.ef-input {
  width: 100%; padding: 10px 14px; border-radius: 8px;
  border: 1px solid var(--ef-gray-300); font-size: 0.875rem;
  font-family: inherit; transition: var(--ef-transition);
  background: white; color: var(--ef-gray-800);
}
.ef-input:focus { outline: none; border-color: var(--ef-primary); box-shadow: 0 0 0 3px rgba(108,61,211,0.1); }
.ef-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ef-gray-700); margin-bottom: 6px; }
.ef-select { appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 36px !important; }

/* ===== PORTAL DE EVENTOS ===== */
.event-card {
  background: white; border-radius: var(--ef-radius);
  overflow: hidden; border: 1px solid var(--ef-gray-200);
  transition: var(--ef-transition); cursor: pointer;
}
.event-card:hover { box-shadow: var(--ef-shadow-lg); transform: translateY(-4px); }
.event-card .event-banner { height: 160px; object-fit: cover; width: 100%; background: var(--ef-gradient); display: flex; align-items: center; justify-content: center; color: white; font-size: 2rem; }
.event-card .event-info { padding: 16px; }
.event-card .event-title { font-size: 0.95rem; font-weight: 700; color: var(--ef-gray-900); margin-bottom: 6px; line-height: 1.3; }
.event-card .event-meta { font-size: 0.8rem; color: var(--ef-gray-500); display: flex; align-items: center; gap: 6px; }
.event-card .event-category { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.event-card .event-price { font-size: 0.85rem; font-weight: 700; color: var(--ef-primary); }
.event-filter-bar { background: white; border-radius: var(--ef-radius); padding: 20px; border: 1px solid var(--ef-gray-200); margin-bottom: 24px; }

/* ===== CHECK-IN PWA ===== */
.checkin-app { background: var(--ef-dark); min-height: 100vh; color: white; }
.checkin-header { padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; }
.scanner-area { background: rgba(255,255,255,0.03); border: 2px dashed rgba(255,255,255,0.2); border-radius: 20px; padding: 40px; text-align: center; margin: 24px; }
.scanner-frame { width: 200px; height: 200px; border: 3px solid var(--ef-primary); border-radius: 16px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; position: relative; animation: scanPulse 2s infinite; }
@keyframes scanPulse { 0%,100%{box-shadow: 0 0 0 0 rgba(108,61,211,0.4)} 50%{box-shadow: 0 0 0 20px rgba(108,61,211,0)} }
.scan-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--ef-gradient); animation: scanLine 2s linear infinite; }
@keyframes scanLine { 0%{top:10px} 100%{top:190px} }
.checkin-result { margin: 20px; padding: 20px; border-radius: 16px; }
.checkin-result.valid { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.4); }
.checkin-result.invalid { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.4); }

/* ===== CASHLESS ===== */
.cashless-card {
  background: var(--ef-gradient);
  border-radius: 20px; padding: 28px;
  color: white; position: relative; overflow: hidden;
}
.cashless-card::before { content: ''; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.cashless-card::after { content: ''; position: absolute; bottom: -60px; left: -20px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,0.05); }
.cashless-balance { font-size: 2.4rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 8px; }
.cashless-balance-label { font-size: 0.8rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 1px; }

/* ===== CARDÁPIO DIGITAL ===== */
.cardapio-header { background: var(--ef-gradient); padding: 32px 24px; color: white; text-align: center; }
.cardapio-cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; background: white; border-bottom: 1px solid var(--ef-gray-200); }
.cardapio-cat-tab { padding: 8px 20px; border-radius: 30px; font-size: 0.8rem; font-weight: 600; white-space: nowrap; cursor: pointer; transition: var(--ef-transition); border: 1px solid var(--ef-gray-300); color: var(--ef-gray-600); }
.cardapio-cat-tab.active { background: var(--ef-gradient); color: white; border-color: transparent; }
.product-item { display: flex; align-items: center; gap: 16px; padding: 16px; border-bottom: 1px solid var(--ef-gray-100); }
.product-img { width: 72px; height: 72px; border-radius: 12px; background: var(--ef-gray-100); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; overflow: hidden; }
.product-info { flex: 1; }
.product-name { font-weight: 700; color: var(--ef-gray-900); font-size: 0.9rem; }
.product-desc { font-size: 0.8rem; color: var(--ef-gray-500); margin-top: 2px; }
.product-price { font-weight: 800; color: var(--ef-primary); font-size: 1rem; }
.product-add-btn { width: 32px; height: 32px; border-radius: 8px; background: var(--ef-gradient); color: white; border: none; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: var(--ef-transition); }
.product-add-btn:hover { transform: scale(1.1); }
.cart-bar { position: fixed; bottom: 0; left: 0; right: 0; background: white; padding: 16px 20px; border-top: 1px solid var(--ef-gray-200); display: flex; align-items: center; justify-content: space-between; box-shadow: 0 -8px 24px rgba(0,0,0,0.1); }

/* ===== KANBAN BARRACAS ===== */
.kanban-board { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.kanban-col { background: var(--ef-gray-100); border-radius: var(--ef-radius); padding: 16px; }
.kanban-col-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ef-gray-600); margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.kanban-card { background: white; border-radius: 10px; padding: 14px; margin-bottom: 10px; border: 1px solid var(--ef-gray-200); box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.kanban-card-id { font-size: 0.7rem; color: var(--ef-gray-400); font-weight: 600; margin-bottom: 6px; }
.kanban-card-items { font-size: 0.8rem; color: var(--ef-gray-700); margin-bottom: 8px; }
.kanban-card-footer { display: flex; justify-content: space-between; align-items: center; }
.kanban-card-total { font-weight: 700; color: var(--ef-gray-900); font-size: 0.9rem; }
.kanban-card-time { font-size: 0.75rem; color: var(--ef-gray-400); display: flex; align-items: center; gap: 4px; }

/* ===== PDV ===== */
.pdv-layout { display: grid; grid-template-columns: 1fr 380px; gap: 0; min-height: 100vh; }
.pdv-products { background: #F0F2F5; padding: 20px; overflow-y: auto; }
.pdv-checkout { background: white; border-left: 1px solid var(--ef-gray-200); display: flex; flex-direction: column; }
.pdv-product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.pdv-product-btn { background: white; border: 1px solid var(--ef-gray-200); border-radius: 10px; padding: 16px 12px; text-align: center; cursor: pointer; transition: var(--ef-transition); }
.pdv-product-btn:hover { border-color: var(--ef-primary); box-shadow: var(--ef-shadow); }
.pdv-product-btn:active { transform: scale(0.96); }
.pdv-product-emoji { font-size: 1.8rem; margin-bottom: 8px; }
.pdv-product-name { font-size: 0.8rem; font-weight: 600; color: var(--ef-gray-800); }
.pdv-product-price { font-size: 0.9rem; font-weight: 800; color: var(--ef-primary); }
.pdv-cart-items { flex: 1; overflow-y: auto; padding: 16px; }
.pdv-cart-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--ef-gray-100); }
.pdv-payment-section { padding: 16px; border-top: 1px solid var(--ef-gray-200); }
.pdv-total { font-size: 2rem; font-weight: 900; color: var(--ef-gray-900); text-align: center; margin-bottom: 16px; }
.pdv-payment-methods { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.pdv-pay-btn { padding: 12px 8px; border: 2px solid var(--ef-gray-200); border-radius: 8px; text-align: center; cursor: pointer; transition: var(--ef-transition); font-size: 0.75rem; font-weight: 600; }
.pdv-pay-btn:hover, .pdv-pay-btn.active { border-color: var(--ef-primary); background: rgba(108,61,211,0.05); color: var(--ef-primary); }

/* ===== IA CHAT ===== */
.ia-chat { max-width: 700px; }
.ia-message { display: flex; gap: 12px; margin-bottom: 20px; }
.ia-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ef-gradient); display: flex; align-items: center; justify-content: center; color: white; font-size: 1rem; flex-shrink: 0; }
.ia-bubble { background: white; border-radius: 16px 16px 16px 4px; padding: 14px 18px; font-size: 0.875rem; color: var(--ef-gray-800); line-height: 1.6; border: 1px solid var(--ef-gray-200); max-width: 480px; }
.ia-user .ia-bubble { background: var(--ef-gradient); color: white; border-radius: 16px 16px 4px 16px; border: none; }
.ia-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ia-suggestion { background: rgba(108,61,211,0.08); color: var(--ef-primary); border: 1px solid rgba(108,61,211,0.2); border-radius: 20px; padding: 6px 14px; font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: var(--ef-transition); }
.ia-suggestion:hover { background: var(--ef-primary); color: white; }
.ia-input-area { position: sticky; bottom: 0; background: white; padding: 16px; border-top: 1px solid var(--ef-gray-200); display: flex; gap: 8px; }

/* ===== CHARTS ===== */
.chart-container { position: relative; background: white; border-radius: var(--ef-radius); padding: 20px; border: 1px solid var(--ef-gray-200); }
.chart-title { font-size: 0.9rem; font-weight: 700; color: var(--ef-gray-900); margin-bottom: 16px; }

/* ===== NOTIFICATIONS ===== */
.notif-dropdown { position: absolute; top: 100%; right: 0; width: 340px; background: white; border-radius: var(--ef-radius); border: 1px solid var(--ef-gray-200); box-shadow: var(--ef-shadow-lg); z-index: 200; display: none; }
.notif-dropdown.open { display: block; }
.notif-header { padding: 14px 16px; border-bottom: 1px solid var(--ef-gray-200); font-weight: 700; font-size: 0.9rem; display: flex; justify-content: space-between; }
.notif-item { padding: 12px 16px; border-bottom: 1px solid var(--ef-gray-100); cursor: pointer; transition: var(--ef-transition); display: flex; gap: 12px; }
.notif-item:hover { background: var(--ef-gray-50, #f9fafb); }
.notif-item.unread { background: rgba(108,61,211,0.04); }
.notif-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.notif-text { font-size: 0.8rem; color: var(--ef-gray-700); }
.notif-time { font-size: 0.7rem; color: var(--ef-gray-400); margin-top: 2px; }

/* ===== MODALS ===== */
.ef-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 1050; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: var(--ef-transition); }
.ef-modal-overlay.open { opacity: 1; visibility: visible; }
.ef-modal { background: white; border-radius: var(--ef-radius-lg); max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; transform: scale(0.95); transition: var(--ef-transition); }
.ef-modal-overlay.open .ef-modal { transform: scale(1); }
.ef-modal-header { padding: 20px 24px; border-bottom: 1px solid var(--ef-gray-200); display: flex; justify-content: space-between; align-items: center; }
.ef-modal-title { font-size: 1.05rem; font-weight: 800; color: var(--ef-gray-900); }
.ef-modal-body { padding: 24px; }
.ef-modal-footer { padding: 16px 24px; border-top: 1px solid var(--ef-gray-200); display: flex; justify-content: flex-end; gap: 10px; }

/* ===== QRCODE DISPLAY ===== */
.qr-display { background: white; padding: 24px; border-radius: var(--ef-radius-lg); text-align: center; display: inline-flex; flex-direction: column; align-items: center; border: 2px solid var(--ef-gray-200); }
.qr-code-placeholder { width: 160px; height: 160px; background: var(--ef-gray-900); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; position: relative; overflow: hidden; }
.qr-pattern { display: grid; grid-template-columns: repeat(10,1fr); gap: 2px; padding: 12px; }
.qr-cell { border-radius: 1px; }

/* ===== INGRESSO DIGITAL ===== */
.ticket-digital { background: white; border-radius: 20px; overflow: hidden; max-width: 340px; box-shadow: var(--ef-shadow-lg); }
.ticket-header { padding: 20px; background: var(--ef-gradient); color: white; }
.ticket-header .t-event { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.ticket-header .t-type { font-size: 0.8rem; opacity: 0.8; }
.ticket-divider { display: flex; align-items: center; }
.ticket-divider::before, .ticket-divider::after { content: ''; flex: 1; height: 1px; background: var(--ef-gray-200); }
.ticket-hole { width: 28px; height: 28px; border-radius: 50%; background: #F0F2F5; margin: 0 -14px; flex-shrink: 0; border: 1px solid var(--ef-gray-200); }
.ticket-body { padding: 20px; }
.ticket-info-row { display: flex; justify-content: space-between; margin-bottom: 12px; }
.ticket-info-label { font-size: 0.7rem; color: var(--ef-gray-400); font-weight: 600; text-transform: uppercase; }
.ticket-info-value { font-size: 0.875rem; font-weight: 700; color: var(--ef-gray-900); }
.ticket-qr { margin-top: 16px; text-align: center; }

/* ===== ESTOQUE ===== */
.stock-progress { height: 6px; background: var(--ef-gray-200); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.stock-bar { height: 100%; border-radius: 3px; transition: width 0.5s; }
.stock-ok { background: var(--ef-success); }
.stock-alerta { background: var(--ef-warning); }
.stock-critico { background: var(--ef-danger); }

/* ===== AFILIADOS ===== */
.ranking-card { display: flex; align-items: center; gap: 16px; padding: 16px; background: white; border-radius: var(--ef-radius); border: 1px solid var(--ef-gray-200); margin-bottom: 10px; }
.rank-position { font-size: 1.4rem; font-weight: 900; width: 36px; text-align: center; }
.rank-1 { color: #F59E0B; }
.rank-2 { color: #9CA3AF; }
.rank-3 { color: #D97706; }

/* ===== LOGIN PAGE ===== */
.login-page { min-height: 100vh; background: var(--ef-gradient-dark); display: flex; }
.login-left { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; }
.login-right { flex: 1; background: white; display: flex; align-items: center; justify-content: center; padding: 40px; }
.login-form-container { width: 100%; max-width: 400px; }
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.login-brand span { font-size: 1.6rem; font-weight: 900; color: var(--ef-gray-900); }
.social-login-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border: 1px solid var(--ef-gray-300); border-radius: 8px; font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: var(--ef-transition); background: white; width: 100%; margin-bottom: 10px; }
.social-login-btn:hover { background: var(--ef-gray-50, #f9fafb); }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--ef-gray-400); font-size: 0.8rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--ef-gray-200); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0 !important; }
  .hero-stats { gap: 16px; }
  .hero-stat-item .value { font-size: 1.3rem; }
  .kanban-board { grid-template-columns: repeat(2,1fr); }
  .pdv-layout { grid-template-columns: 1fr; }
  .mock-stat-row { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 767px) {
  .hero-title { font-size: 2rem; }
  .hero-stats { justify-content: center; flex-wrap: wrap; }
  .login-left { display: none; }
  .kanban-board { grid-template-columns: 1fr; }
  .pdv-product-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-card.popular::before { display: none; }
}

/* ===== BLOG ===== */
.blog-card { background: white; border-radius: var(--ef-radius); overflow: hidden; border: 1px solid var(--ef-gray-200); transition: var(--ef-transition); }
.blog-card:hover { box-shadow: var(--ef-shadow-lg); transform: translateY(-4px); }
.blog-card-img { height: 180px; background: var(--ef-gradient); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: white; }
.blog-card-content { padding: 20px; }
.blog-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--ef-primary); letter-spacing: 0.5px; margin-bottom: 8px; }
.blog-card-title { font-size: 1rem; font-weight: 700; color: var(--ef-gray-900); margin-bottom: 8px; line-height: 1.4; }
.blog-card-excerpt { font-size: 0.8rem; color: var(--ef-gray-500); margin-bottom: 12px; line-height: 1.5; }
.blog-meta { font-size: 0.75rem; color: var(--ef-gray-400); display: flex; align-items: center; gap: 8px; }

/* ===== WHITE LABEL INDICATOR ===== */
.wl-badge { background: var(--ef-gradient); color: white; font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; }

/* ===== SCROLL BAR ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ef-gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ef-gray-400); }

/* ===== ANIMATIONS ===== */
.fade-in { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
.slide-in { animation: slideIn 0.3s ease; }
@keyframes slideIn { from{opacity:0;transform:translateX(-12px)} to{opacity:1;transform:translateX(0)} }

/* ===== PROGRESS BAR ===== */
.ef-progress { height: 8px; background: var(--ef-gray-200); border-radius: 4px; overflow: hidden; }
.ef-progress-bar { height: 100%; background: var(--ef-gradient); border-radius: 4px; transition: width 0.8s ease; }

/* ===== TIMELINE ===== */
.timeline { padding-left: 20px; }
.timeline-item { position: relative; padding-left: 24px; padding-bottom: 20px; }
.timeline-item::before { content: ''; position: absolute; left: -12px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--ef-primary); border: 2px solid white; box-shadow: 0 0 0 2px var(--ef-primary); }
.timeline-item::after { content: ''; position: absolute; left: -8px; top: 16px; width: 2px; bottom: 0; background: var(--ef-gray-200); }
.timeline-item:last-child::after { display: none; }
.timeline-time { font-size: 0.75rem; color: var(--ef-gray-400); font-weight: 600; }
.timeline-content { margin-top: 4px; font-size: 0.875rem; color: var(--ef-gray-700); }

/* ===== COUPON/VOUCHER ===== */
.voucher-strip { border: 2px dashed var(--ef-gray-300); border-radius: var(--ef-radius); padding: 16px; display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%); }
.voucher-strip .v-code { font-family: monospace; font-size: 1.1rem; font-weight: 800; color: var(--ef-primary); letter-spacing: 2px; }

/* ===== NFC READER ===== */
.nfc-reader { width: 120px; height: 120px; border-radius: 50%; background: var(--ef-gradient); display: flex; align-items: center; justify-content: center; margin: 0 auto; animation: nfcPulse 2s infinite; cursor: pointer; }
.nfc-reader i { font-size: 2.5rem; color: white; }
@keyframes nfcPulse {
  0%{box-shadow:0 0 0 0 rgba(108,61,211,0.4)}
  50%{box-shadow:0 0 0 30px rgba(108,61,211,0)}
  100%{box-shadow:0 0 0 0 rgba(108,61,211,0)}
}

/* ===== MAP PLACEHOLDER ===== */
.map-placeholder { background: linear-gradient(135deg, #e8f4f8 0%, #d0e8f0 100%); border-radius: var(--ef-radius); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #5b7d8f; gap: 8px; }
.map-placeholder i { font-size: 2rem; }

/* ===== FINANCIAL DRE ===== */
.dre-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--ef-gray-100); }
.dre-row.section-header { background: var(--ef-gray-50, #f9fafb); padding: 10px 12px; border-radius: 6px; font-weight: 700; font-size: 0.85rem; color: var(--ef-gray-700); margin-top: 8px; }
.dre-row.total { font-weight: 800; font-size: 1rem; border-top: 2px solid var(--ef-gray-300); padding-top: 12px; }
.dre-positive { color: var(--ef-success); font-weight: 700; }
.dre-negative { color: var(--ef-danger); font-weight: 700; }

/* ===== AVATAR STACK ===== */
.avatar-stack { display: flex; }
.avatar-stack .av { width: 32px; height: 32px; border-radius: 50%; border: 2px solid white; margin-left: -8px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: white; }
.avatar-stack .av:first-child { margin-left: 0; }

/* ===== MISC ===== */
.divider-text { display: flex; align-items: center; gap: 12px; color: var(--ef-gray-400); font-size: 0.8rem; margin: 16px 0; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--ef-gray-200); }
.empty-state { text-align: center; padding: 48px 24px; color: var(--ef-gray-400); }
.empty-state i { font-size: 3rem; margin-bottom: 16px; display: block; }
.empty-state p { font-size: 0.9rem; }
.overflow-hidden { overflow: hidden !important; }
.bg-white { background: white !important; }
.text-truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== COMPRADOR - WALLET ===== */
.wallet-page { background: linear-gradient(180deg, var(--ef-dark) 0%, #1A1035 300px, #F0F2F5 300px, #F0F2F5 100%); min-height: 100vh; }
.wallet-header { padding: 80px 20px 120px; position: relative; }
.wallet-card-3d { transform: perspective(1000px) rotateX(5deg); transition: var(--ef-transition); }
.wallet-card-3d:hover { transform: perspective(1000px) rotateX(0deg); }
.ticket-list { padding: 20px; background: #F0F2F5; }
.ticket-mini { background: white; border-radius: 12px; padding: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--ef-gray-200); cursor: pointer; transition: var(--ef-transition); }
.ticket-mini:hover { box-shadow: var(--ef-shadow); }
.ticket-mini .tm-dot { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
