/* rado2loc — tokens CSS, généré depuis tokens.json. Ne pas éditer à la main. */
/* Polices : charger Google Fonts dans le layout (voir RAILS.md). */

:root {
  --marine: #0b3b6a;
  --balise: #f0471d;
  --marine-fill: #0b3b6a;
  --on-marine-fill: #ffffff;
  --surface: #f4f6f9;
  --surface-raised: #ffffff;
  --surface-sunken: #e9eef4;
  --line: #d9e1ea;
  --line-strong: #7a8ba0;
  --ink: #0a1c30;
  --ink-muted: #5b6b80;
  --primary: #0b3b6a;
  --primary-hover: #082d52;
  --on-primary: #ffffff;
  --primary-soft: #e7eef6;
  --action: #d93d15;
  --action-hover: #c2350f;
  --on-action: #ffffff;
  --action-soft: #fef1ec;
  --action-text: #c9380f;
  --success: #1f7a5a;
  --success-soft: #e6f4ee;
  --warning: #a15c00;
  --warning-soft: #fdf3e1;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --focus: #1f6fd1;
  --nav-glass: rgba(255, 255, 255, 0.78);
  --scrim: rgba(6, 24, 43, 0.55);
  --link: var(--primary);
  --shadow-nav: 0 8px 24px rgba(11, 59, 106, 0.10), 0 1px 2px rgba(11, 59, 106, 0.08);
  --shadow-card-hover: 0 18px 40px rgba(11, 59, 106, 0.14);
  --shadow-pop: 0 12px 32px rgba(11, 59, 106, 0.18);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --z-nav: 50;
  --z-overlay: 90;
  --z-modal: 100;
  --font-display: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

/* Thème Nuit : suit le système, sauf choix explicite data-theme="light" */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --marine: #0b3b6a;
    --balise: #f0471d;
    --marine-fill: #164b80;
    --on-marine-fill: #ffffff;
    --surface: #06182b;
    --surface-raised: #0d2440;
    --surface-sunken: #041222;
    --line: #1d3656;
    --line-strong: #56708f;
    --ink: #eaf1f8;
    --ink-muted: #9fb0c4;
    --primary: #8cc0f0;
    --primary-hover: #a9d1f5;
    --on-primary: #06182b;
    --primary-soft: #12325a;
    --action: #ff6a3d;
    --action-hover: #ff8157;
    --on-action: #0a1c30;
    --action-soft: #3a1a10;
    --action-text: #ff8a66;
    --success: #5fd3a6;
    --success-soft: #0f3a2e;
    --warning: #f5b545;
    --warning-soft: #3a2a0c;
    --danger: #ff8a80;
    --danger-soft: #3d1414;
    --focus: #8cc0f0;
    --nav-glass: rgba(13, 36, 64, 0.78);
    --scrim: rgba(2, 10, 20, 0.7);
    --link: var(--primary);
    --shadow-nav: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-card-hover: 0 18px 40px rgba(0, 0, 0, 0.45);
    --shadow-pop: 0 12px 32px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --marine: #0b3b6a;
  --balise: #f0471d;
  --marine-fill: #164b80;
  --on-marine-fill: #ffffff;
  --surface: #06182b;
  --surface-raised: #0d2440;
  --surface-sunken: #041222;
  --line: #1d3656;
  --line-strong: #56708f;
  --ink: #eaf1f8;
  --ink-muted: #9fb0c4;
  --primary: #8cc0f0;
  --primary-hover: #a9d1f5;
  --on-primary: #06182b;
  --primary-soft: #12325a;
  --action: #ff6a3d;
  --action-hover: #ff8157;
  --on-action: #0a1c30;
  --action-soft: #3a1a10;
  --action-text: #ff8a66;
  --success: #5fd3a6;
  --success-soft: #0f3a2e;
  --warning: #f5b545;
  --warning-soft: #3a2a0c;
  --danger: #ff8a80;
  --danger-soft: #3d1414;
  --focus: #8cc0f0;
  --nav-glass: rgba(13, 36, 64, 0.78);
  --scrim: rgba(2, 10, 20, 0.7);
  --link: var(--primary);
  --shadow-nav: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-card-hover: 0 18px 40px rgba(0, 0, 0, 0.45);
  --shadow-pop: 0 12px 32px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

/* Styles typographiques */
.display-xl { font-family: var(--font-display); font-size: 96px; line-height: 98px; font-weight: 500; letter-spacing: -0.035em; }
.display-lg { font-family: var(--font-display); font-size: 60px; line-height: 64px; font-weight: 500; letter-spacing: -0.03em; }
.heading-1 { font-family: var(--font-display); font-size: 40px; line-height: 46px; font-weight: 500; letter-spacing: -0.02em; }
.heading-2 { font-family: var(--font-display); font-size: 28px; line-height: 34px; font-weight: 500; letter-spacing: -0.015em; }
.heading-3 { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -0.01em; }
.lead { font-family: var(--font-sans); font-size: 19px; line-height: 30px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 26px; font-weight: 400; }
.body-sm { font-family: var(--font-sans); font-size: 14px; line-height: 22px; font-weight: 400; }
.nav { font-family: var(--font-sans); font-size: 17px; line-height: 24px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 600; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.data { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-weight: 500; }
.price { font-family: var(--font-mono); font-size: 22px; line-height: 26px; font-weight: 600; }
