/* Jump Design System : copie des tokens (source : prototype/v2/_ds, ne pas éditer ici) */
/* Jump — Color tokens
   Ground truth: JUMP Normes Graphiques 2026 (primary #EA5A13) + jump.fr palette.
   Warm, soft, clear — an "élégance française du voyage" applied to internal webtools. */
:root {
  /* ---- Brand ---- */
  --jump-orange:       #EA5A13; /* primary — charte graphique, CMJN 0/75/98/0 */
  --jump-orange-700:   #C74A0D; /* pressed */
  --jump-orange-600:   #D24E0E; /* hover */
  --jump-orange-300:   #F4A272; /* light accent line */
  --jump-orange-100:   #FBE4D6; /* tint surface */
  --jump-orange-050:   #FDF2EB; /* faintest wash */

  --jump-ink:          #2C2E35; /* charcoal wordmark ink */
  --jump-ink-800:      #3A3D46;

  /* ---- Warm neutrals (cream-based, Anthropic-soft) ---- */
  --sand-000:  #FFFFFF;
  --sand-050:  #FAF7F1; /* app background — warm paper */
  --sand-100:  #F3EEE4; /* subtle raised / hover row */
  --sand-200:  #E9E2D4; /* hairline borders */
  --sand-300:  #D9CFBD; /* stronger border / disabled edge */
  --sand-400:  #B8AE9A; /* muted lines */
  --sand-500:  #8C8677; /* placeholder text */
  --sand-600:  #6B6658; /* secondary text */
  --sand-700:  #4C4941; /* body strong */
  --sand-800:  #34322D; /* headings on light */
  --sand-900:  #23221E; /* max contrast ink */

  /* ---- Product accent hues (from jump.fr collection colourways) ---- */
  --emeraude:    #1F6F5C; /* Émeraude / Vert sapin */
  --emeraude-100:#DCEBE6;
  --marine:      #26415E; /* Marine */
  --marine-100:  #DCE4EC;
  --terracotta:  #B4552E; /* Terracotta / Brique */
  --terracotta-100:#F4E1D7;
  --ocre:        #D69A2D; /* Ocre / Jaune */
  --ocre-100:    #F8ECCF;
  --lavande:     #7E6C9E; /* Lavande */
  --lavande-100: #E7E1F0;
  --brume:       #9DB0AE; /* Brume (soft grey-green) */

  /* ---- Semantic (mapped to brand-adjacent hues) ---- */
  --success:     var(--emeraude);
  --success-bg:  var(--emeraude-100);
  --warning:     var(--ocre);
  --warning-bg:  var(--ocre-100);
  --danger:      #C01830; /* crimson — deliberately cooler/redder than brand orange */
  --danger-bg:   #FBE0E4;
  --info:        var(--marine);
  --info-bg:     var(--marine-100);

  /* ---- Semantic surface / text aliases ---- */
  --bg-app:        var(--sand-050);
  --bg-canvas:     var(--sand-100);
  --surface:       var(--sand-000);
  --surface-sunken:var(--sand-100);
  --surface-hover: var(--sand-100);
  --surface-tint:  var(--jump-orange-050);

  --text-strong:   var(--sand-900);
  --text-body:     var(--sand-700);
  --text-muted:    var(--sand-600);
  --text-subtle:   var(--sand-500);
  --text-on-brand: #FFFFFF;
  --text-link:     var(--jump-orange);

  --border:        var(--sand-200);
  --border-strong: var(--sand-300);
  --border-focus:  var(--jump-orange);

  --accent:        var(--jump-orange);
  --accent-hover:  var(--jump-orange-600);
  --accent-press:  var(--jump-orange-700);
  --accent-quiet:  var(--jump-orange-050);
  --ring:          rgba(234, 90, 19, 0.28); /* focus ring */
}
/* Jump — Typography scale
   Poppins everywhere. Headings use tighter tracking + medium/semibold weight;
   body is regular. Soft, geometric, generous line-height. */
:root {
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', -apple-system, sans-serif; /* same family, heavier weights */
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* weights */
  --fw-light: 300;      /* @kind font */
  --fw-regular: 400;    /* @kind font */
  --fw-medium: 500;     /* @kind font */
  --fw-semibold: 600;   /* @kind font */
  --fw-bold: 700;       /* @kind font */
  --fw-extrabold: 800;  /* @kind font */

  /* type scale (rem, 16px base) */
  --text-2xs: 0.6875rem; /* 11px  — micro labels, table meta */
  --text-xs:  0.75rem;   /* 12px  — captions, tags */
  --text-sm:  0.8125rem; /* 13px  — dense UI, secondary */
  --text-md:  0.875rem;  /* 14px  — default UI body */
  --text-base:0.9375rem; /* 15px  — reading body */
  --text-lg:  1.0625rem; /* 17px  — lead / section intro */
  --text-xl:  1.3125rem; /* 21px  — card titles */
  --text-2xl: 1.625rem;  /* 26px  — page titles */
  --text-3xl: 2.125rem;  /* 34px  — hero */
  --text-4xl: 2.75rem;   /* 44px  — display */

  /* line-heights */
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* tracking */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;
  --tracking-caps: 0.14em; /* uppercase eyebrow labels, brand style */
}
/* Jump — Spacing, radii, shadows, motion, layout
   Soft & clear: roomy padding, gentle radii, low-contrast shadows. */
:root {
  /* spacing — 4px base */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4  */
  --space-2: 0.5rem;   /* 8  */
  --space-3: 0.75rem;  /* 12 */
  --space-4: 1rem;     /* 16 */
  --space-5: 1.25rem;  /* 20 */
  --space-6: 1.5rem;   /* 24 */
  --space-8: 2rem;     /* 32 */
  --space-10: 2.5rem;  /* 40 */
  --space-12: 3rem;    /* 48 */
  --space-16: 4rem;    /* 64 */
  --space-20: 5rem;    /* 80 */

  /* radii — soft, rounded but not pill-y for containers */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;   /* default control / card inner */
  --radius-lg: 14px;   /* cards */
  --radius-xl: 20px;   /* panels, modals */
  --radius-2xl: 28px;  /* hero surfaces */
  --radius-pill: 999px;

  /* borders */
  --border-width: 1px;              /* @kind other */
  --border-width-strong: 1.5px;     /* @kind other */

  /* shadows — warm-tinted, soft, low spread */
  --shadow-xs: 0 1px 2px rgba(44, 46, 53, 0.05);
  --shadow-sm: 0 1px 3px rgba(44, 46, 53, 0.06), 0 1px 2px rgba(44, 46, 53, 0.04);
  --shadow-md: 0 4px 12px rgba(44, 46, 53, 0.07), 0 2px 4px rgba(44, 46, 53, 0.04);
  --shadow-lg: 0 12px 28px rgba(44, 46, 53, 0.10), 0 4px 10px rgba(44, 46, 53, 0.05);
  --shadow-xl: 0 24px 48px rgba(44, 46, 53, 0.14);
  --shadow-focus: 0 0 0 3px var(--ring);

  /* motion — calm, no bounce */
  --ease-standard: cubic-bezier(0.2, 0, 0.1, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);     /* @kind other */
  --dur-fast: 120ms;   /* @kind other */
  --dur-base: 180ms;   /* @kind other */
  --dur-slow: 260ms;   /* @kind other */

  /* layout */
  --container-max: 1200px; /* @kind spacing */
  --sidebar-w: 248px;      /* @kind spacing */
  --topbar-h: 60px;        /* @kind spacing */
}
/* Jump — base element defaults. Opt-in resets that make raw HTML feel on-brand. */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--text-body);
  background: var(--bg-app);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--text-strong);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}

p { margin: 0; }

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
}
a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 2px; }

code, pre, kbd { font-family: var(--font-mono); font-size: 0.92em; }

::selection { background: var(--jump-orange-100); color: var(--jump-ink); }

:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-sm); }

/* Eyebrow / caps label — recurring brand motif (uppercase + wide tracking) */
.jump-eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}
