/* =============================================
   AGM BRASIL - PLATAFORMA NACIONAL DO ASSOCIADO
   Stylesheet Principal
   ============================================= */

:root {
  /* Cores Primárias */
  --agm-navy: #1a3a6c;
  --agm-blue: #2563eb;
  --agm-blue-light: #3b82f6;
  --agm-blue-dark: #1d4ed8;
  --agm-gold: #f59e0b;
  --agm-gold-light: #fbbf24;
  --agm-gold-dark: #d97706;

  /* Neutros */
  --agm-white: #ffffff;
  --agm-gray-50: #f8fafc;
  --agm-gray-100: #f1f5f9;
  --agm-gray-200: #e2e8f0;
  --agm-gray-300: #cbd5e1;
  --agm-gray-400: #94a3b8;
  --agm-gray-500: #64748b;
  --agm-gray-600: #475569;
  --agm-gray-700: #334155;
  --agm-gray-800: #1e293b;
  --agm-gray-900: #0f172a;

  /* Status */
  --agm-success: #10b981;
  --agm-success-light: #d1fae5;
  --agm-warning: #f59e0b;
  --agm-warning-light: #fef3c7;
  --agm-danger: #ef4444;
  --agm-danger-light: #fee2e2;
  --agm-info: #3b82f6;
  --agm-info-light: #dbeafe;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.07), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.08), 0 10px 10px rgba(0,0,0,0.04);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transições */
  --transition: all 0.2s ease;
  --transition-slow: all 0.35s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--agm-gray-700);
  background: var(--agm-gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* =============================================
   TOPBAR - Site Público
   ============================================= */
.site-topbar {
  background: var(--agm-navy);
  color: var(--agm-white);
  padding: 8px 0;
  font-size: 13px;
}
.site-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-topbar .social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}
.site-topbar .social-links a {
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.site-topbar .social-links a:hover { color: var(--agm-gold); background: rgba(245,158,11,0.15); }
.site-topbar .contact-info {
  display: flex;
  gap: 20px;
  align-items: center;
}
.site-topbar .contact-info span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.8);
}

/* =============================================
   NAVBAR - Site Público
   ============================================= */
.site-navbar {
  background: var(--agm-white);
  border-bottom: 1px solid var(--agm-gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.navbar-logo { display: flex; align-items: center; }
.navbar-logo img { height: 52px; }
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--agm-gray-600);
  transition: var(--transition);
  white-space: nowrap;
}
.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--agm-blue);
  background: var(--agm-info-light);
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--agm-navy);
  padding: 6px;
}

/* =============================================
   HERO - Site Público
   ============================================= */
.site-hero {
  background: linear-gradient(135deg, var(--agm-navy) 0%, #0f2756 40%, #1d4ed8 100%);
  color: var(--agm-white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.site-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--agm-gold-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-title span { color: var(--agm-gold); }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.hero-stat-item {}
.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--agm-gold);
  display: block;
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =============================================
   CONTAINER
   ============================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1440px; margin: 0 auto; padding: 0 24px; }

/* =============================================
   BOTÕES
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--agm-blue);
  color: var(--agm-white);
  border-color: var(--agm-blue);
}
.btn-primary:hover { background: var(--agm-blue-dark); border-color: var(--agm-blue-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.35); }
.btn-gold {
  background: var(--agm-gold);
  color: var(--agm-navy);
  border-color: var(--agm-gold);
}
.btn-gold:hover { background: var(--agm-gold-dark); border-color: var(--agm-gold-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,158,11,0.4); }
.btn-outline {
  background: transparent;
  color: var(--agm-blue);
  border-color: var(--agm-blue);
}
.btn-outline:hover { background: var(--agm-info-light); }
.btn-outline-white {
  background: transparent;
  color: var(--agm-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-ghost {
  background: transparent;
  color: var(--agm-gray-600);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--agm-gray-100); color: var(--agm-gray-800); }
.btn-danger { background: var(--agm-danger); color: white; border-color: var(--agm-danger); }
.btn-danger:hover { background: #dc2626; }
.btn-success { background: var(--agm-success); color: white; border-color: var(--agm-success); }
.btn-success:hover { background: #059669; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-icon { padding: 9px; width: 38px; height: 38px; }
.btn-icon.btn-sm { padding: 7px; width: 32px; height: 32px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn-loading { position: relative; color: transparent !important; }
.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* =============================================
   BADGES / TAGS
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.badge-success { background: var(--agm-success-light); color: #065f46; }
.badge-warning { background: var(--agm-warning-light); color: #92400e; }
.badge-danger { background: var(--agm-danger-light); color: #991b1b; }
.badge-info { background: var(--agm-info-light); color: #1e40af; }
.badge-gray { background: var(--agm-gray-100); color: var(--agm-gray-600); }
.badge-navy { background: var(--agm-navy); color: white; }

/* Status Badges */
.status-adimplente { background: var(--agm-success-light); color: #065f46; }
.status-inadimplente { background: var(--agm-danger-light); color: #991b1b; }
.status-pendente { background: var(--agm-warning-light); color: #92400e; }
.status-suspenso { background: #fce7f3; color: #9d174d; }
.status-cancelado { background: var(--agm-gray-100); color: var(--agm-gray-600); }
.status-ativo { background: var(--agm-success-light); color: #065f46; }
.status-inativo { background: var(--agm-gray-100); color: var(--agm-gray-500); }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--agm-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--agm-gray-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--agm-gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--agm-gray-800);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-body { padding: 24px; }
.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--agm-gray-100);
  background: var(--agm-gray-50);
}

/* Stat Cards */
.stat-card {
  background: var(--agm-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--agm-gray-200);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--agm-blue);
}
.stat-card.gold::before { background: var(--agm-gold); }
.stat-card.success::before { background: var(--agm-success); }
.stat-card.danger::before { background: var(--agm-danger); }
.stat-card.navy::before { background: var(--agm-navy); }
.stat-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.stat-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.stat-card-icon.blue { background: var(--agm-info-light); color: var(--agm-blue); }
.stat-card-icon.gold { background: var(--agm-warning-light); color: var(--agm-gold-dark); }
.stat-card-icon.success { background: var(--agm-success-light); color: #059669; }
.stat-card-icon.danger { background: var(--agm-danger-light); color: #dc2626; }
.stat-card-icon.navy { background: #dbeafe; color: var(--agm-navy); }
.stat-card-trend {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
}
.stat-card-trend.up { color: var(--agm-success); }
.stat-card-trend.down { color: var(--agm-danger); }
.stat-card-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--agm-gray-800);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card-label {
  font-size: 13px;
  color: var(--agm-gray-500);
  font-weight: 500;
}

/* =============================================
   TABELA PROFISSIONAL
   ============================================= */
.table-container { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--agm-gray-200); }
.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--agm-white);
  font-size: 14px;
}
.table th {
  padding: 12px 16px;
  background: var(--agm-gray-50);
  border-bottom: 1px solid var(--agm-gray-200);
  font-size: 12px;
  font-weight: 700;
  color: var(--agm-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  white-space: nowrap;
}
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--agm-gray-100);
  color: var(--agm-gray-700);
  vertical-align: middle;
}
.table tbody tr:hover { background: var(--agm-gray-50); }
.table tbody tr:last-child td { border-bottom: none; }
.table .td-name { display: flex; align-items: center; gap: 10px; }
.table .avatar-sm {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--agm-info-light);
  color: var(--agm-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.table .td-actions { display: flex; gap: 6px; align-items: center; }

/* =============================================
   FORMULÁRIOS
   ============================================= */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--agm-gray-700);
  margin-bottom: 6px;
}
.form-label.required::after { content: ' *'; color: var(--agm-danger); }
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--agm-gray-300);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--agm-gray-800);
  background: var(--agm-white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--agm-blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-control.is-invalid { border-color: var(--agm-danger); }
.form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }
.form-error { font-size: 12px; color: var(--agm-danger); margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.form-hint { font-size: 12px; color: var(--agm-gray-400); margin-top: 4px; }
.form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--agm-gray-300);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--agm-gray-800);
  background: var(--agm-white);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
.form-select:focus { border-color: var(--agm-blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
textarea.form-control { resize: vertical; min-height: 100px; }

/* Checkbox e Radio */
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 2px 0; }
.form-check-input {
  width: 18px; height: 18px;
  border: 2px solid var(--agm-gray-300);
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--agm-blue);
  flex-shrink: 0;
}
.form-check-label { font-size: 14px; color: var(--agm-gray-700); cursor: pointer; }

/* Search Input */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.search-box-icon {
  position: absolute;
  left: 12px;
  color: var(--agm-gray-400);
  pointer-events: none;
  font-size: 16px;
}
.search-box input {
  padding-left: 38px;
  width: 100%;
}
.search-box-clear {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--agm-gray-400);
  cursor: pointer;
  padding: 4px;
  display: none;
}

/* =============================================
   SEÇÕES DO SITE PÚBLICO
   ============================================= */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-lg { padding: 120px 0; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--agm-navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--agm-gray-500);
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.7;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--agm-blue);
  background: var(--agm-info-light);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--agm-white);
  border: 1px solid var(--agm-gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.feature-card:hover { border-color: var(--agm-blue); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  background: var(--agm-info-light);
  color: var(--agm-blue);
}
.feature-title { font-size: 17px; font-weight: 700; color: var(--agm-gray-800); margin-bottom: 10px; }
.feature-text { font-size: 14px; color: var(--agm-gray-500); line-height: 1.7; }

/* =============================================
   FOOTER - Site Público
   ============================================= */
.site-footer {
  background: var(--agm-gray-900);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand .footer-logo { margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.75; max-width: 300px; }
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--agm-white);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--agm-gold);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-links a:hover { color: var(--agm-gold); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; }
.footer-contact-item i { color: var(--agm-gold); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--agm-gold); color: var(--agm-navy); }

/* =============================================
   MODAIS
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--agm-white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: var(--transition-slow);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-lg { max-width: 860px; }
.modal-xl { max-width: 1100px; }
.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--agm-gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}
.modal-title { font-size: 17px; font-weight: 700; color: var(--agm-gray-800); }
.modal-body { padding: 28px; }
.modal-footer { padding: 20px 28px; border-top: 1px solid var(--agm-gray-100); display: flex; justify-content: flex-end; gap: 12px; }
.modal-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--agm-gray-400);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.modal-close:hover { background: var(--agm-gray-100); color: var(--agm-gray-700); }

/* =============================================
   TOAST / ALERTAS
   ============================================= */
.toast-container {
  position: fixed;
  top: 20px; right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}
.toast {
  background: var(--agm-white);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--agm-blue);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: slideInRight 0.3s ease;
}
.toast.success { border-color: var(--agm-success); }
.toast.warning { border-color: var(--agm-warning); }
.toast.error { border-color: var(--agm-danger); }
.toast-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.toast.success .toast-icon { color: var(--agm-success); }
.toast.warning .toast-icon { color: var(--agm-warning); }
.toast.error .toast-icon { color: var(--agm-danger); }
.toast-content { flex: 1; }
.toast-title { font-size: 14px; font-weight: 700; color: var(--agm-gray-800); margin-bottom: 2px; }
.toast-message { font-size: 13px; color: var(--agm-gray-600); }
.toast-close { background: none; border: none; cursor: pointer; color: var(--agm-gray-400); font-size: 16px; padding: 0; flex-shrink: 0; }

/* =============================================
   ANIMAÇÕES
   ============================================= */
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}
.animate-fade-in { animation: fadeIn 0.4s ease; }
.animate-slide-up { animation: slideInUp 0.4s ease; }

/* =============================================
   UTILITÁRIOS
   ============================================= */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.w-full { width: 100%; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.hidden { display: none !important; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-muted { color: var(--agm-gray-400); }
.text-blue { color: var(--agm-blue); }
.text-gold { color: var(--agm-gold-dark); }
.text-success { color: var(--agm-success); }
.text-danger { color: var(--agm-danger); }
.text-navy { color: var(--agm-navy); }
.bg-white { background: var(--agm-white); }
.rounded { border-radius: var(--radius-md); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.divider { border: none; border-top: 1px solid var(--agm-gray-100); margin: 20px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--agm-navy), var(--agm-blue));
  color: white;
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.cta-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { font-size: 1.05rem; color: rgba(255,255,255,0.8); margin-bottom: 30px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   RESPONSIVO
   ============================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar-nav, .navbar-actions { display: none; }
  .navbar-mobile-toggle { display: flex !important; }
  .site-hero { padding: 60px 0 50px; }
  .hero-stats { gap: 24px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 50px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .site-topbar .contact-info { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .modal { border-radius: var(--radius-lg); }
}

/* =============================================
   SCROLLBAR CUSTOMIZADA
   ============================================= */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--agm-gray-100); }
::-webkit-scrollbar-thumb { background: var(--agm-gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--agm-gray-400); }

/* Seleção de texto */
::selection { background: rgba(37,99,235,0.2); color: var(--agm-navy); }
