/* ============================================================
   EU VOU – Style Sheet Global
   Padrão Tailwind-like com CSS Variables e dark mode
   ============================================================ */

/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables (Light Mode) --- */
:root {
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Paleta Principal – Roxo/Violeta Moderno */
  --color-primary-50:  #f5f3ff;
  --color-primary-100: #ede9fe;
  --color-primary-200: #ddd6fe;
  --color-primary-300: #c4b5fd;
  --color-primary-400: #a78bfa;
  --color-primary-500: #8b5cf6;
  --color-primary-600: #7c3aed;
  --color-primary-700: #6d28d9;
  --color-primary-800: #5b21b6;
  --color-primary-900: #4c1d95;

  /* Paleta Secundária – Rosa/Fucsia */
  --color-accent-400:  #e879f9;
  --color-accent-500:  #d946ef;
  --color-accent-600:  #c026d3;

  /* Neutros */
  --color-gray-50:  #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;

  /* Semânticos */
  --color-success: #10b981;
  --color-danger:  #ef4444;
  --color-warning: #f59e0b;
  --color-info:    #3b82f6;

  /* Tema Claro */
  --bg-page:        #f8f7ff;
  --bg-card:        #ffffff;
  --bg-card-hover:  #f5f3ff;
  --bg-sidebar:     #ffffff;
  --bg-input:       #ffffff;
  --bg-overlay:     rgba(0,0,0,0.45);

  --text-primary:   #1e1b4b;
  --text-secondary: #4b5563;
  --text-muted:     #9ca3af;
  --text-on-primary:#ffffff;

  --border-color:   #e5e7eb;
  --border-focus:   #7c3aed;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.1);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.15);
  --shadow-primary: 0 4px 20px rgba(124,58,237,.35);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  --transition: 0.2s ease;
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --bg-page:        #0d0b1e;
  --bg-card:        #1a1730;
  --bg-card-hover:  #221f3a;
  --bg-sidebar:     #13112a;
  --bg-input:       #221f3a;
  --bg-overlay:     rgba(0,0,0,0.65);

  --text-primary:   #f0eeff;
  --text-secondary: #a5a3c8;
  --text-muted:     #6b6a90;

  --border-color:   #2d2b50;
  --border-focus:   #a78bfa;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,.4);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.5);
  --shadow-primary: 0 4px 20px rgba(167,139,250,.4);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
}

img, video { display: block; max-width: 100%; }
a { color: var(--color-primary-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-800); }
button { cursor: pointer; font-family: var(--font-sans); }
input, textarea, select { font-family: var(--font-sans); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px; }
.container-md { max-width: 960px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

.grid { display: grid; }
.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* Spacing */
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }
.px-1 { padding-left: 8px; padding-right: 8px; }
.px-2 { padding-left: 16px; padding-right: 16px; }
.px-3 { padding-left: 24px; padding-right: 24px; }
.py-1 { padding-top: 8px; padding-bottom: 8px; }
.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Text */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-primary { color: var(--color-primary-600); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-danger { color: var(--color-danger); }
.text-success { color: var(--color-success); }

/* Misc */
.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }
.hidden { display: none !important; }
.block { display: block; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================================================
   CARD
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-body { padding: 24px; }
.card-header { padding: 20px 24px; border-bottom: 1px solid var(--border-color); }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border-color); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn:focus-visible { outline: 2px solid var(--color-primary-400); outline-offset: 2px; }

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
  color: white;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--color-primary-700), var(--color-primary-800));
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(124,58,237,.45);
}

.btn-secondary {
  background: var(--color-primary-100);
  color: var(--color-primary-700);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--color-primary-200);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-600);
  border: 2px solid var(--color-primary-400);
}
.btn-outline:hover:not(:disabled) {
  background: var(--color-primary-50);
  border-color: var(--color-primary-600);
}

.btn-danger {
  background: var(--color-danger);
  color: white;
}
.btn-danger:hover:not(:disabled) { background: #dc2626; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}
.btn-ghost:hover:not(:disabled) { background: var(--bg-card-hover); color: var(--text-primary); }

.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-xl { padding: 16px 36px; font-size: 1.1rem; }
.btn-icon { padding: 8px; aspect-ratio: 1; border-radius: var(--radius-sm); }

/* Google Button */
.btn-google {
  background: white;
  color: #444;
  border: 2px solid #e0e0e0;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.btn-google:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-google svg { flex-shrink: 0; }

/* WhatsApp Button */
.btn-whatsapp {
  background: #25d366;
  color: white;
}
.btn-whatsapp:hover:not(:disabled) { background: #1da851; transform: translateY(-1px); }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-label .required { color: var(--color-danger); margin-left: 2px; }
.form-control {
  display: block;
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:disabled { opacity: 0.6; cursor: not-allowed; }

textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239ca3af'%3E%3Cpath d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.09 1.03l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 36px; }

.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.form-error { font-size: 0.78rem; color: var(--color-danger); margin-top: 4px; }
.is-invalid { border-color: var(--color-danger) !important; }
.is-invalid:focus { box-shadow: 0 0 0 3px rgba(239,68,68,.15) !important; }

/* Toggle Switch */
.toggle-group { display: flex; align-items: center; gap: 12px; }
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0;
  background: var(--color-gray-300);
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.toggle input:checked + .toggle-slider { background: var(--color-primary-600); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}
.navbar-brand .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-accent-500));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}
.navbar-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 18px;
}
.theme-toggle:hover {
  background: var(--color-primary-100);
  color: var(--color-primary-700);
  border-color: var(--color-primary-300);
}

.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary-300);
}
.user-avatar-placeholder {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-accent-500));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge-primary { background: var(--color-primary-100); color: var(--color-primary-700); }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-gray    { background: var(--color-gray-100); color: var(--color-gray-600); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: var(--bg-overlay);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.25s ease;
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}
.modal-header h3 { font-size: 1.1rem; font-weight: 700; }
.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex; justify-content: flex-end; gap: 12px;
}
.modal-close {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--color-gray-100);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--color-danger); color: white; }

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed; top: 80px; right: 24px;
  z-index: 999;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--color-primary-600);
  min-width: 280px;
  max-width: 380px;
  pointer-events: all;
  animation: slideInRight 0.3s ease;
}
.toast.toast-success { border-color: var(--color-success); }
.toast.toast-danger  { border-color: var(--color-danger); }
.toast.toast-warning { border-color: var(--color-warning); }
.toast-icon { font-size: 20px; flex-shrink: 0; }
.toast-message { font-size: 0.875rem; color: var(--text-primary); flex: 1; }
.toast-close { background: none; border: none; color: var(--text-muted); font-size: 18px; cursor: pointer; padding: 0; }
@keyframes slideInRight { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOutRight { from { transform: translateX(0); opacity: 1; } to { transform: translateX(110%); opacity: 0; } }
.toast.removing { animation: slideOutRight 0.3s ease forwards; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 32px; }
.page-btn {
  min-width: 36px; height: 36px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.page-btn:hover:not(:disabled) { border-color: var(--color-primary-400); color: var(--color-primary-600); background: var(--color-primary-50); }
.page-btn.active { background: var(--color-primary-600); color: white; border-color: var(--color-primary-600); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============================================================
   MAP
   ============================================================ */
#mapa { height: 360px; border-radius: var(--radius-md); border: 1.5px solid var(--border-color); overflow: hidden; }
.leaflet-container { font-family: var(--font-sans) !important; }

/* ============================================================
   IMAGE UPLOAD PREVIEW
   ============================================================ */
.upload-zone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-card-hover);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--color-primary-400);
  background: var(--color-primary-50);
}
.upload-zone input[type="file"] { display: none; }
.upload-preview {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}

/* ============================================================
   EVENTO CARD (Dashboard)
   ============================================================ */
.event-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.event-card-image {
  height: 160px;
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-accent-500));
  position: relative;
  overflow: hidden;
}
.event-card-image img { width: 100%; height: 100%; object-fit: cover; }
.event-card-date-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex; align-items: center; gap: 6px;
}
.event-card-body { padding: 18px; flex: 1; }
.event-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.event-card-meta { font-size: 0.82rem; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.event-card-actions {
  padding: 14px 18px;
  border-top: 1px solid var(--border-color);
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
}

/* ============================================================
   SECTION SEARCH
   ============================================================ */
.search-bar {
  display: flex; gap: 12px; align-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  transition: border-color var(--transition);
}
.search-bar:focus-within { border-color: var(--border-focus); }
.search-bar input { border: none; background: transparent; color: var(--text-primary); font-size: 0.95rem; outline: none; flex: 1; }
.search-bar input::placeholder { color: var(--text-muted); }

/* ============================================================
   CONFIRMAR PRESENÇA – Background de Evento
   ============================================================ */
.event-cover {
  min-height: 280px;
  background: linear-gradient(135deg, var(--color-primary-700), var(--color-primary-900));
  position: relative;
  display: flex; align-items: flex-end;
}
.event-cover-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.event-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 100%);
}
.event-cover-content {
  position: relative;
  padding: 32px 24px;
  color: white;
  width: 100%;
}
.event-cover-content h1 { font-size: clamp(1.4rem, 5vw, 2.2rem); font-weight: 800; margin-bottom: 8px; }

/* ============================================================
   LOADING SKELETON
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--color-gray-200) 25%, var(--color-gray-100) 50%, var(--color-gray-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
[data-theme="dark"] .skeleton {
  background: linear-gradient(90deg, #2d2b50 25%, #3a3760 50%, #2d2b50 75%);
  background-size: 200% 100%;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============================================================
   HERO – Página Inicial
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 40%, #7c3aed 70%, #c026d3 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='45' stroke='rgba(255,255,255,0.04)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-size: 100px 100px;
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-emoji { font-size: 4rem; margin-bottom: 24px; display: block; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero h1 { font-size: clamp(2.5rem, 8vw, 4rem); font-weight: 900; color: white; margin-bottom: 16px; line-height: 1.1; }
.hero h1 span { background: linear-gradient(135deg, #fbbf24, #fb923c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: clamp(1rem, 3vw, 1.2rem); color: rgba(255,255,255,0.8); margin-bottom: 40px; line-height: 1.7; }
.hero-features { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-feature { display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); }
.hero-feature-icon { font-size: 2rem; }
.hero-feature span { font-size: 0.875rem; font-weight: 500; }

/* ============================================================
   ALERT / WARNING BOX
   ============================================================ */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 16px;
}
.alert-warning { background: #fef3c7; color: #92400e; border-left: 4px solid var(--color-warning); }
.alert-danger   { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--color-danger); }
.alert-success  { background: #d1fae5; color: #065f46; border-left: 4px solid var(--color-success); }
.alert-info     { background: #dbeafe; color: #1e40af; border-left: 4px solid var(--color-info); }

/* ============================================================
   TABLE
   ============================================================ */
.table-wrap { overflow-x: auto; }
table.ev-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.ev-table th { background: var(--color-primary-50); color: var(--color-primary-800); font-weight: 600; padding: 12px 16px; text-align: left; white-space: nowrap; }
.ev-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-color); color: var(--text-primary); }
.ev-table tr:hover td { background: var(--bg-card-hover); }
[data-theme="dark"] .ev-table th { background: #1f1d3a; color: var(--color-primary-300); }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state { text-align: center; padding: 64px 24px; }
.empty-state-icon { font-size: 4rem; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 24px; }

/* ============================================================
   ACOMPANHANTE FIELD
   ============================================================ */
.acomp-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 8px;
}
.acomp-item input { flex: 1; border: none; background: transparent; color: var(--text-primary); font-size: 0.9rem; outline: none; }
.acomp-remove { background: none; border: none; color: var(--color-danger); cursor: pointer; font-size: 18px; line-height: 1; padding: 4px; border-radius: var(--radius-sm); transition: background var(--transition); }
.acomp-remove:hover { background: #fee2e2; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .navbar-inner { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }
  .btn-xl { padding: 14px 24px; font-size: 1rem; }
  .hero h1 { font-size: 2.2rem; }
  .card-body { padding: 16px; }
  .hero-features { gap: 20px; }
  .modal { max-width: 100%; }
  .modal-overlay { padding: 16px; align-items: flex-end; }
  .modal { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}

@media (max-width: 480px) {
  .btn { padding: 9px 16px; font-size: 0.85rem; }
  .event-card-actions { gap: 6px; }
  .pagination { gap: 4px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
