/* ==========================================================================
   Hospitality Jobs 2027 — Design tokens
   Charte « Couleurs HJ classiques » (choix du client, 2026-10-20) : gris ardoise
   et turquoise du logo historique, très aéré, serif éditoriale (Fraunces) +
   grotesque précise (Instrument Sans).
   ========================================================================== */

:root {
  /* Couleurs ------------------------------------------------------------- */
  --brand: #91c3c7;        /* turquoise exact du logo : boutons, aplats sur fond sombre */
  --ink: #2b363c;          /* gris ardoise : texte principal, titres */
  --ink-2: #4a5055;        /* texte secondaire */
  --muted: #6b767c;        /* méta, légendes */
  --muted-2: #a0acb1;      /* placeholders, icônes discrètes */
  --line: #e1eaec;         /* hairlines */
  --line-strong: #c3d4d7;  /* bordures d'inputs */
  --paper: #ffffff;        /* fond */
  --paper-2: #f5f9fa;      /* sections douces */
  --paper-3: #e8f1f3;      /* fonds de cartes/quotes */
  --accent: #52939a;       /* turquoise assombri : eyebrows, badges, hover (3,5:1 sur blanc) */
  --accent-ink: #377a81;   /* texte et italiques sur clair (4,9:1 sur blanc) */
  --accent-soft: #e4f1f2;  /* fond turquoise très clair */
  --success: #2f7a4e;
  --success-soft: #e8f3ec;
  --danger: #b4443c;
  --danger-soft: #f9e8e6;
  --warning: #9a6b12;
  --warning-soft: #fbf1dc;

  /* Dérivés --------------------------------------------------------------- */
  --accent-on-dark: var(--brand);    /* accent posé sur un fond --ink */
  --btn-primary-bg: var(--brand);
  --btn-primary-fg: var(--ink);      /* 6,4:1 ; le blanc du site historique ne faisait que 1,9:1 */
  --btn-primary-hover: #7db1b6;
  --ph-a: #e6f0f1;  --ph-b: #c6dadd;  /* placeholders : dégradés turquoise pâle */
  --ph-1a: #e3eef0; --ph-1b: #bcd3d6;
  --ph-2a: #e9f2f3; --ph-2b: #c9dde0;
  --ph-3a: #eef5f6; --ph-3b: #d2e3e5;
  --ph-4a: #dfebed; --ph-4b: #b5cfd3;

  /* Typographie ---------------------------------------------------------- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.9375rem;   /* 15 */
  --fs-md: 1.0625rem;   /* 17 */
  --fs-lg: 1.25rem;     /* 20 */
  --fs-xl: 1.5rem;      /* 24 */
  --fs-h4: 1.1875rem;
  --fs-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.2vw, 3.25rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem);
  --fs-display: clamp(2.75rem, 1.4rem + 5vw, 6rem);
  --fs-stat: clamp(2.75rem, 2rem + 3vw, 5rem);

  --lh-tight: 1.02;
  --lh-snug: 1.15;
  --lh-normal: 1.35;
  --lh-body: 1.6;

  --track-display: -0.028em;
  --track-heading: -0.02em;
  --track-eyebrow: 0.14em;

  /* Espacements ---------------------------------------------------------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section: clamp(4.5rem, 3rem + 5vw, 8.5rem);
  --section-sm: clamp(3rem, 2rem + 3vw, 5rem);

  --container: 1240px;
  --container-narrow: 800px;
  --container-wide: 1480px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Formes --------------------------------------------------------------- */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.04), 0 4px 12px -6px rgba(17, 17, 17, 0.08);
  --shadow: 0 24px 60px -32px rgba(17, 17, 17, 0.3);
  --shadow-lg: 0 48px 96px -48px rgba(17, 17, 17, 0.4);

  /* Mouvement ------------------------------------------------------------ */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.22s;
  --dur-slow: 0.6s;

  /* Structure ------------------------------------------------------------ */
  --header-h: 84px;
  --logo-sm: 48px;
  --logo-md: 64px;
  --logo-lg: 96px;
  --logo-xl: 140px;
}

@media (max-width: 720px) {
  :root {
    --header-h: 68px;
    --fs-md: 1rem;
  }
}
