/* Design tokens (from the approved model, design/prototype.html) */
/*
 * Design tokens. The only place for raw values.
 * VorpalTech: palette picked 2026-11-18 in design/colores.html (yellow brand, navy ink and footer), Radio Canada Big + Radio Canada.
 */
:root {
  /* Color — the standard (references/color.md). Generate with:
     node <skill>/scripts/palette.mjs --brand "#rrggbb" [--ground white|cream]
     60 ground (white or cream) · 30 ink and neutrals · 10 the client's one main color */
  --color-bg: #fcfaf4;
  --color-bg-alt: #fcf6e1;
  --color-surface: #fcf6e1;
  --color-text: #000814;
  --color-text-muted: #606970;
  --color-border: #d8d9d6;

  /* The main color: buttons (WhatsApp ones too), links, focus, numbers, key fact, marks */
  --color-brand: #ffd60a;
  --color-brand-hover: #e1bf22;
  --color-on-brand: #000814;
  --color-brand-text: #003566;
  /* Outline button: the light yellow is invisible as a border, so a darker step of it (3:1 on both grounds) and ink label */
  --color-outline: #a08d30;
  --color-outline-text: #000814;

  /* Dark footer */
  --color-footer-bg: #001d3d;
  --color-footer-text: #f1f6fa;
  --color-footer-muted: #a1afbe;
  --color-brand-on-dark: #ffd60a;

  /* WhatsApp green (accessible): where the client wants it; see color.md rule 6 */
  --color-whatsapp: #0f7a40;
  --color-on-whatsapp: #ffffff;

  /* Typography */
  --font-display: "Radio Canada Big", "Radio Canada", "Segoe UI", system-ui, sans-serif; /* Big lacks ₡: it falls back to its sister font */
  --font-body: "Radio Canada", "Segoe UI", system-ui, sans-serif;

  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --text-xl: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  --text-2xl: clamp(1.9rem, 1.5rem + 2vw, 3rem);
  --text-3xl: clamp(2.4rem, 1.6rem + 4vw, 4.75rem);

  --leading-tight: 1.08;
  --leading-normal: 1.6;
  --tracking-display: -0.02em;
  --measure: 65ch;

  /* Spacing */
  --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-space: clamp(4rem, 3rem + 5vw, 7.5rem);
  --tap-min: 2.75rem; /* 44px */

  /* Shape and depth */
  --radius-sm: 8px; /* buttons */
  --radius-md: 16px; /* photos, cards, panels */
  --radius-pill: 999px;
  --shadow-float: 0 6px 20px rgb(0 0 0 / 0.18);

  /* Layout */
  --container-max: 85rem; /* 1360px: uses wide screens and 125% Windows zoom */
  --container-pad: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --header-height: 4.5rem;

  /* Motion (see references/motion.md) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --duration-press: 160ms;
  --duration-hover: 200ms;
  --duration-menu: 220ms;
  --duration-enter: 700ms;

  /* Layers */
  --z-header: 100;
  --z-float: 200;
}
