/**
 * auto-red-yellow — DRAFT pending Ricardo validation
 * Oficina default candidate: white + automotive red + signal yellow accent
 * CMO 2026-09-05: yellow = chips only; ONE filled primary (red Ligar).
 * CMO LOCK 2026-09-05 (Ricardo readability): long PT H1 = Barlow 600 non-condensed;
 * Barlow Condensed 700 reserved for short labels / kickers / chips only.
 * Do NOT treat as locked product default until APPROVED.
 */

:root {
  /* --- Surfaces (white-anchored; cool, not terracotta) --- */
  --color-bg: #ffffff;
  --color-surface: #f7f8fa;
  --color-surface-2: #eef1f4;

  /* --- Text --- */
  --color-text: #1a1c1f;
  --color-muted: #5c6570;

  /* --- Brand --- */
  --color-primary: #c0102a;     /* automotive red */
  --color-primary-hover: #9a0c21;
  --color-accent: #f0c01a;      /* signal yellow — chips only, not rival hero / not body text */

  /* --- UI chrome --- */
  --color-border: #d8dde3;
  --color-focus: #c0102a;

  /* --- Contrast helpers (CRO 2026-09-06) --- */
  --color-on-light: #1a1c1f;
  --color-on-light-muted: #5c6570;
  --color-ink-on-light: var(--color-primary); /* red — not yellow accent on white */
  --color-dark-band: var(--color-primary);
  --color-on-dark: #f3f4f5;
  --color-on-dark-accent: #ffffff; /* yellow/peach fail on red — white links on dark */

  /* --- CTA (primary = red) --- */
  --color-cta-bg: var(--color-primary);
  --color-cta-text: #ffffff;
  --color-cta-bg-hover: var(--color-primary-hover);
  --color-cta-border: var(--color-primary);

  /* --- Accent CTA / badge (yellow + dark text for contrast) --- */
  --color-cta-accent-bg: var(--color-accent);
  --color-cta-accent-text: #1a1c1f;
  --color-cta-accent-border: #d4a80f;

  /* --- Secondary / ghost --- */
  --color-cta-secondary-bg: #ffffff;
  --color-cta-secondary-text: var(--color-primary);
  --color-cta-secondary-border: var(--color-primary);

  /* --- Typography --- */
  --font-sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Long H1 / titles — readable default (Ricardo 2026-09-05) */
  --font-display: "Barlow", "Source Sans 3", system-ui, sans-serif;
  --font-display-weight: 600;
  /* Short labels / section kickers / chips only — not long PT H1s */
  --font-label: "Barlow Condensed", "Barlow", system-ui, sans-serif;

  /* --- Shape & space --- */
  --radius: 6px;
  --radius-sm: 4px;
  --radius-pill: 999px;

  --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;

  --shadow-none: none;
  --shadow-soft: 0 1px 2px rgba(26, 28, 31, 0.06);
}

/*
 * Sample usage (illustrative)
 *
 * Primary button:
 *   .btn-primary {
 *     background: var(--color-cta-bg);
 *     color: var(--color-cta-text);
 *     border: 1px solid var(--color-cta-border);
 *     border-radius: var(--radius);
 *     padding: 12px 24px;
 *     min-height: 44px;
 *     font-family: var(--font-sans);
 *     font-weight: 600;
 *     text-transform: none;
 *   }
 *
 * Secondary = ghost only (Pedir orçamento) — never a second solid sibling.
 *
 * Yellow badge / short kicker (Condensed OK):
 *   .badge-signal, .section-kicker {
 *     background: var(--color-cta-accent-bg);
 *     color: var(--color-cta-accent-text);
 *     font-family: var(--font-label);
 *     font-weight: 700;
 *     letter-spacing: 0.01em;
 *     font-size: 0.875rem;
 *   }
 *
 * Hero H1 (long PT — non-condensed):
 *   .hero h1 {
 *     font-family: var(--font-display);
 *     font-weight: 600;              // 700 OK only if H1 is short
 *     font-size: clamp(2rem, 4vw, 3rem);
 *     color: var(--color-text);
 *     letter-spacing: -0.01em;
 *     line-height: 1.2;
 *     text-transform: none;          // avoid ALL CAPS long sentences
 *     margin: 0 0 var(--space-4);
 *   }
 *   // Example: “Reparação automóvel em Setúbal — diagnóstico e revisão”
 */
