/*
  Design tokens — identité visuelle AMANA TRANSPORT VIP.

  Palette dérivée du logo (orange dynamique + vague teal) mais désaturée et
  approfondie pour un rendu premium/professionnel plutôt que "startup criarde".
  Neutres à base chaude (pas de gris bleuté) pour la chaleur demandée.
  Police système (pas de CDN externe) : fiabilité prioritaire sur les liaisons
  internet limitées des agences (Agadez, Tahoua) — un rendu Inter-like sans
  dépendance réseau plutôt qu'une police distante qui casserait le rendu hors-ligne.
*/

:root {
    /* Primaire — orange de marque, actions principales */
    --color-primary-50: #fdf3ec;
    --color-primary-100: #fae3d0;
    --color-primary-300: #efa871;
    --color-primary-500: #e2611e;
    --color-primary-600: #c74f13;
    --color-primary-700: #9c3d0f;

    /* Secondaire — teal profond de marque, navigation, en-têtes */
    --color-secondary-50: #eaf3f2;
    --color-secondary-100: #cfe4e1;
    --color-secondary-300: #7fb3ac;
    --color-secondary-500: #1d6f68;
    --color-secondary-600: #145651;
    --color-secondary-700: #0d3d3a;
    --color-secondary-900: #0a2b29;

    /* Accent — or discret, réservé aux marqueurs "grand compte / VIP" */
    --color-accent-100: #f3e9cd;
    --color-accent-500: #b08d2b;
    --color-accent-700: #7d631d;

    /* Sémantique */
    --color-success-50: #e7f5ee;
    --color-success-500: #1f8a5f;
    --color-success-700: #145c40;

    --color-error-50: #fbeae8;
    --color-error-500: #c0392b;
    --color-error-700: #8f2a1f;

    --color-warning-50: #fbf0dd;
    --color-warning-500: #b7791f;
    --color-warning-700: #855715;

    --color-info-50: #e7f1f8;
    --color-info-500: #2e6da4;
    --color-info-700: #204d75;

    /* Neutres — base chaude */
    --color-neutral-0: #ffffff;
    --color-neutral-50: #faf9f7;
    --color-neutral-100: #f3f1ee;
    --color-neutral-200: #e7e3dd;
    --color-neutral-300: #d6d1c8;
    --color-neutral-400: #b3aca0;
    --color-neutral-500: #736b60; /* assombri pour respecter le contraste WCAG AA (4.5:1) en tant que --text-muted */
    --color-neutral-600: #635c52;
    --color-neutral-700: #453f38;
    --color-neutral-800: #2c2822;
    --color-neutral-900: #1b1815;

    /* Rôles fonctionnels */
    --surface-page: var(--color-neutral-50);
    --surface-card: var(--color-neutral-0);
    --surface-sunken: var(--color-neutral-100);
    --surface-inverse: var(--color-secondary-900);
    --border-subtle: var(--color-neutral-200);
    --border-default: var(--color-neutral-300);
    --text-primary: var(--color-neutral-900);
    --text-secondary: var(--color-neutral-600);
    --text-muted: var(--color-neutral-500);
    --text-on-inverse: var(--color-neutral-0);
    --text-on-inverse-muted: var(--color-secondary-100);

    /* Typographie */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.375rem;
    --text-2xl: 1.75rem;
    --text-3xl: 2.25rem;
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.7;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    /* Espacement (grille 4px) */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* Rayons */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 999px;

    /* Ombres — discrètes, jamais dures */
    --shadow-sm: 0 1px 2px rgba(27, 24, 21, 0.06);
    --shadow-md: 0 4px 16px rgba(27, 24, 21, 0.08);
    --shadow-lg: 0 16px 40px rgba(27, 24, 21, 0.14);

    /* Transitions — rapides et naturelles */
    --transition-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);

    --sidebar-width: 264px;
    --topbar-height: 72px;
}
