/* =============================================================================
   DOKOTERA — Jetons de design (design tokens)
   Charte : Turquoise #08A6A0 (accent) · Blanc #FFFFFF (fond) · Noir #000000 (texte)
   Toutes les nuances sont derivees de ces trois couleurs uniquement.
   ========================================================================== */

/* --- Police Raleway (variable, graisses 100 a 900) --------------------------
   Hebergee localement (public/fonts/raleway, licence SIL OFL 1.1) : aucun appel
   a Google Fonts. Decoupee par plage Unicode : le navigateur ne telecharge le
   fichier « latin etendu » que si la page contient de tels caracteres. */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/raleway/raleway-latin-wght-normal.woff2') format('woff2-variations'),
    url('/fonts/raleway/raleway-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/raleway/raleway-latin-ext-wght-normal.woff2') format('woff2-variations'),
    url('/fonts/raleway/raleway-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/raleway/raleway-latin-wght-italic.woff2') format('woff2-variations'),
    url('/fonts/raleway/raleway-latin-wght-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/raleway/raleway-latin-ext-wght-italic.woff2') format('woff2-variations'),
    url('/fonts/raleway/raleway-latin-ext-wght-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* --- Couleurs de marque ------------------------------------------------ */
  --brand: #08a6a0;
  --brand-strong: #07918c;
  --brand-deep: #05706c;
  --brand-soft: #d3f1ef;
  --brand-mist: #edf9f8;

  /* --- Neutres (derives du noir) ---------------------------------------- */
  --ink: #000000;
  --ink-900: #0b0e0e;
  --ink-700: #1f2727;
  --ink-600: #3c4646;
  --ink-500: #505b5b;
  --ink-400: #5f6b6b;
  --ink-300: #9fa9a9;

  --paper: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7fafa;
  --surface-3: #eff4f4;
  --surface-4: #e5ecec;

  --line: #e1e8e8;
  --line-strong: #cbd5d5;

  /* --- Couleurs semantiques --------------------------------------------- */
  --success: #0f7a45;
  --success-bg: #e8f5ee;
  --danger: #c02626;
  --danger-bg: #fbeaea;
  --warning: #8a5700;
  --warning-bg: #fdf2e0;
  --info: #1c5ba8;
  --info-bg: #e9f1fb;

  /* --- Partenaire de paiement (logo Monegasy uniquement) ----------------- */
  --monegasy: #117a4d;
  --monegasy-on-dark: #3ccf8e;

  /* --- Rayons ------------------------------------------------------------ */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-full: 999px;

  /* --- Ombres (tres discretes, style minimal) ---------------------------- */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.1);
  --shadow-brand: 0 8px 24px rgba(8, 166, 160, 0.35);

  /* --- Espacements ------------------------------------------------------- */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-7: 32px;
  --s-8: 40px;
  --s-9: 48px;
  --s-10: 64px;
  --s-11: 80px;
  --s-12: 104px;

  /* --- Mise en page ------------------------------------------------------
     `--gutter` materialise l'espace a gauche et a droite du contenu :
     il grandit avec la fenetre pour conserver des marges genereuses. */
  --gutter: clamp(20px, 5vw, 64px);
  --container: 1280px;
  --container-narrow: 880px;
  --header-h: 76px;
  --sidebar-w: 268px;
  --rail-w: 320px;

  /* --- Typographie ------------------------------------------------------- */
  --font-sans: 'Raleway', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Cascadia Mono', 'SF Mono', Consolas, 'Liberation Mono', monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-2xl: 1.75rem;
  --fs-3xl: 2.25rem;
  --fs-4xl: clamp(2.25rem, 5vw, 3.5rem);

  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-normal: 1.6;

  /* --- Transitions ------------------------------------------------------- */
  --t-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 320ms cubic-bezier(0.4, 0, 0.2, 1);

  --z-header: 100;
  --z-dropdown: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* Respect des preferences d'accessibilite. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
