/**
 * GÉNÉRÉ — NE PAS ÉDITER À LA MAIN.
 * Sources :
 *   - assets/shared/tokens/tokens.primitive.dtcg.json (échelles partagées)
 *   - assets/themes/secomprendre/tokens/tokens.semantic.dtcg.json (marque)
 * Wrap @layer tokens : permet à brand.css (@layer brand) d'override via :root.
 * Regénérer : npm run tokens:build
 */

@layer tokens {
  :root {
    --grid-columns: 12;
    --grid-gap: 2rem;
    --container-max: 1200px;
    --container-padding: 2rem;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-overlay-light: rgba(255, 255, 255, 0.15);
    --color-primary: #ff3139;
    --color-primary-dark: #cc272c;
    --color-primary-light: #ffd3ce;
    --color-secondary: #85585e;
    --color-secondary-light: #d4c5c7;
    --color-tertiary: #6a8d6c;
    --color-tertiary-light: #cbd7cc;
    --color-quaternary: #bfb1ef;
    --color-quaternary-light: #e9e4f9;
    --color-quinary: #f6a870;
    --color-quinary-light: #ffe4dc;
    --color-hero-accueil-bg: #fdede9;
    --color-text: #3d0000;
    --color-text-muted: #815959;
    --color-text-subtle: #6e4040;
    --color-bg: #ffffff;
    --color-bg-subtle: #f1ecfa;
    --color-surface: #ffffff;
    --color-border: #c9c2d6;
    --color-input-border: #6e4040;
    --color-warning: #ffc107;
    --color-warning-bg: #fff3cd;
    --color-danger: #c1121f;
    --color-success: #2e7d5b;
    --color-success-bg: #e4f1ea;
    --color-disabled-bg: #e6e2ee;
    --color-disabled-text: #8a8194;
    --color-interactive: #6f0ad3;
    --color-focus-ring: rgba(255, 49, 57, 0.3);
    --color-overlay-on-dark: rgba(255, 255, 255, 0.1);
    --font-family-base: 'Google Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
    --font-weight-bold: 700;
    --font-family-text: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --font-weight-semibold: 600;
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.5rem;
    --font-size-h1: 3.5rem;
    --font-size-h2: 3.5rem;
    --font-size-h3: 2rem;
    --font-size-display: 3.5rem;
    --font-size-m: 1.25rem;
    --space-xs: 0.5rem;
    --space-block: 1.5rem;
    --space-section: 3rem;
    --space-section-standard: 3rem;
    --space-section-compact: 1.5rem;
    --space-section-airy: 5rem;
    --radius: 4px;
    --radius-lg: 20px;
    --radius-pill: 999px;
    --radius-xl: 50px;
    --size-audio-player: 10.5rem;
    --size-logo-height: 50px;
    --size-control: 40px;
    --size-card-min: 300px;
    --size-gallery-min: 180px;
    --size-header: 3.8125rem;
    --border-width: 1px;
    --border-width-accent: 4px;
    --border-width-strong: 2px;
    --focus-ring-width: 2px;
    --focus-ring-offset: 2px;
    --focus-ring-spread: 4px;
    --motion-duration-fast: 120ms;
    --motion-duration-base: 200ms;
    --motion-duration-slow: 350ms;
    --motion-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --motion-ease-out: cubic-bezier(0, 0, 0.2, 1);
    --motion-ease-in: cubic-bezier(0.4, 0, 1, 1);
    --section-dark-bg: #120b17;
    --section-dark-text: #f1ecfa;
    --section-dark-link: #ffd3ce;
    --gallery-thumb-height: 200px;
  }
}
