/* Blue Shift - Design Tokens */
/* Variables CSS centralisees pour tout le systeme de design */

:root {
  /* ===== Typographie ===== */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

  --fs-xs: 0.6875rem;   /* 11px */
  --fs-sm: 0.75rem;     /* 12px */
  --fs-base: 0.875rem;  /* 14px */
  --fs-md: 1rem;        /* 16px */
  --fs-lg: 1.125rem;    /* 18px */
  --fs-xl: 1.375rem;    /* 22px */
  --fs-2xl: 1.75rem;    /* 28px */
  --fs-3xl: 2.25rem;    /* 36px */

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-relaxed: 1.7;

  /* ===== Espacements ===== */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */

  /* ===== Arrondis ===== */
  --radius-sm: 0.375rem;   /* 6px */
  --radius-md: 0.625rem;   /* 10px */
  --radius-lg: 0.875rem;   /* 14px */
  --radius-xl: 1.25rem;    /* 20px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* ===== Ombres ===== */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.2);

  /* ===== Transitions ===== */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ===== Z-index ===== */
  --z-base: 0;
  --z-elevated: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal-backdrop: 500;
  --z-modal: 600;
  --z-toast: 700;
  --z-nav: 800;

  /* ===== Layout ===== */
  --nav-height: 3.5rem;       /* 56px */
  --bottom-nav-height: 4rem;  /* 64px */
  --max-width: 28rem;         /* 448px mobile */
  --max-width-desktop: 64rem; /* 1024px */
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-top: env(safe-area-inset-top, 0px);

  /* ===== Calendrier ===== */
  --cal-cell-size: 2.75rem;     /* 44px - touch target minimum */
  --cal-cell-gap: 0.125rem;     /* 2px */
  --cal-header-height: 2rem;

  /* ===== Glass ===== */
  --glass-blur: 16px;
  --glass-blur-heavy: 24px;

  /* ===== Couleurs metier (defaults, overridable par profil) ===== */
  --color-work: #0ea5e9;
  --color-rest: #22c55e;
  --color-conge: #f59e0b;
  --color-matin: #38bdf8;
  --color-aprem: #f97316;
  --color-nuit: #8b5cf6;
  --color-repos-comp: #10b981;
  --color-repos-legal: #6ee7b7;
  --color-overtime: #ef4444;
  --color-rappel: #dc2626;
  --color-modified: #e879f9;
}

/* ===== Breakpoints (usage: @media (min-width: ...)) ===== */
/* Mobile: < 640px (default) */
/* Tablet: >= 640px */
/* Desktop: >= 1024px */
/* Wide: >= 1280px */
