/* ============================================================
   tokens.css — Design tokens (:root only)
   ============================================================ */

:root {
  /* ---- Colors ---- */
  --color-primary: #0b3d66;
  --color-primary-700: #082c4a;
  --color-primary-300: #3e6e96;
  --color-accent: #f26522;
  --color-accent-600: #d8551a;
  /* Accent for small TEXT on white: AA (>=4.5:1). Visual fills keep --color-accent. */
  --color-accent-text: #b5400d;
  /* Accent for small TEXT on dark/navy surfaces: AA on --color-primary. */
  --color-accent-text-on-dark: #ffae80;
  /* Primary CTA button background: white text reaches AA (>=4.5:1). */
  --color-accent-btn: #c2410c;
  --color-accent-btn-600: #9a3309;
  --color-whatsapp: #25d366;
  --color-whatsapp-600: #1ebe5a;
  --color-bg: #ffffff;
  --color-bg-muted: #f4f6f8;
  --color-text: #1a2a3a;
  --color-text-muted: #5b6573;
  --color-border: #e2e8f0;
  --color-success: #1e7f4f;
  --color-error: #c0341d;
  --color-focus-ring: #ffb000;

  /* ---- Typography families (system fallback for offline/file://) ---- */
  --font-heading: "Poppins", "Segoe UI", system-ui, -apple-system,
    "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* ---- Font sizes (mobile defaults; desktop overridden in base.css) ---- */
  --fs-display: 32px; /* Hero H1 */
  --fs-h1: 28px;
  --fs-h2: 24px;
  --fs-h3: 20px;
  --fs-body: 16px;
  --fs-body-lg: 18px;
  --fs-small: 14px;
  --fs-xs: 12px;

  /* ---- Line heights ---- */
  --lh-display: 1.1;
  --lh-h1: 1.15;
  --lh-h2: 1.2;
  --lh-h3: 1.3;
  --lh-body: 1.6;
  --lh-body-lg: 1.5;
  --lh-small: 1.5;
  --lh-xs: 1.4;

  /* ---- Weights ---- */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* ---- Spacing (4px base) ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* ---- Section padding ---- */
  --section-py: 48px; /* mobile */
  --gutter: 16px; /* mobile */
  --container-max: 1200px;

  /* ---- Radius ---- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* ---- Shadows ---- */
  --shadow-sm: 0 1px 2px rgba(11, 61, 102, 0.08);
  --shadow-md: 0 4px 12px rgba(11, 61, 102, 0.1);
  --shadow-lg: 0 10px 28px rgba(11, 61, 102, 0.14);

  /* ---- Layout helpers ---- */
  --header-height: 72px;
  --z-header: 100;
  --z-overlay: 200;
  --z-whatsapp: 150;
  --z-lightbox: 300;

  /* ---- Transitions ---- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
}

@media (min-width: 768px) {
  :root {
    --fs-display: 52px;
    --fs-h1: 40px;
    --fs-h2: 32px;
    --fs-h3: 22px;
    --fs-body: 17px;
    --fs-body-lg: 20px;
    --section-py: 96px;
    --gutter: 24px;
  }
}
