/* =========================================================
   PORTAL ANTÔNIO APVS
   DESIGN SYSTEM FOUNDATION
   ARQUIVO: variables.css
========================================================= */

:root {
  /* Cores principais */
  --antonio-primary: #002b5c;
  --antonio-primary-hover: #003b7a;
  --antonio-primary-dark: #001f42;
  --antonio-secondary: #004aad;
  --antonio-secondary-hover: #003f94;
  --antonio-accent: #ffc400;
  --antonio-accent-hover: #f5b800;

  /* Estados */
  --antonio-success: #25d366;
  --antonio-success-hover: #1fb85a;
  --antonio-warning: #f59e0b;
  --antonio-danger: #dc2626;
  --antonio-info: #06b6d4;

  /* Neutros */
  --antonio-white: #ffffff;
  --antonio-bg: #f5f7fb;
  --antonio-border: #dbe3ef;
  --antonio-gray-50: #f9fafb;
  --antonio-gray-100: #f2f4f7;
  --antonio-gray-200: #eaecf0;
  --antonio-gray-300: #d0d5dd;
  --antonio-gray-400: #98a2b3;
  --antonio-gray-500: #667085;
  --antonio-gray-600: #475467;
  --antonio-gray-700: #344054;
  --antonio-gray-800: #1d2939;
  --antonio-gray-900: #101828;

  /* Texto */
  --antonio-text: #0f1f3d;
  --antonio-text-light: #64748b;
  --antonio-text-muted: #98a2b3;
  --antonio-heading: #002b5c;

  /* Aliases genéricos usados por componentes legados reaproveitáveis */
  --color-primary: var(--antonio-primary);
  --color-primary-dark: var(--antonio-primary-dark);
  --color-secondary: var(--antonio-secondary);
  --color-accent: var(--antonio-accent);
  --color-success: var(--antonio-success);
  --color-warning: var(--antonio-warning);
  --color-danger: var(--antonio-danger);
  --color-info: var(--antonio-info);
  --color-background: var(--antonio-bg);
  --color-text: var(--antonio-text);
  --color-text-soft: var(--antonio-text-light);

  /* Sombras */
  --shadow-xs: 0 1px 3px rgba(15, 31, 61, 0.04);
  --shadow-sm: 0 8px 24px rgba(15, 31, 61, 0.08);
  --shadow-md: 0 14px 34px rgba(15, 31, 61, 0.12);
  --shadow-lg: 0 20px 50px rgba(15, 31, 61, 0.14);
  --shadow-xl: 0 30px 80px rgba(15, 31, 61, 0.18);

  /* Border radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  /* Espaçamentos */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 96px;

  /* Containers */
  --container-sm: 540px;
  --container-md: 720px;
  --container-lg: 960px;
  --container-xl: 1140px;
  --container-xxl: 1320px;

  /* Header / sidebar */
  --header-height: 80px;
  --topbar-height: 76px;
  --sidebar-width: 280px;
  --sidebar-collapsed: 90px;

  /* Transições */
  --transition-fast: all 0.2s ease;
  --transition-default: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-tooltip: 1060;
}
