:root {
  --tc-color-amenagement: #5f7487;
  --tc-color-professionnels: #4f6576;
  --tc-color-accent: #2b86c7;
  --tc-color-leather: #7c5c3f;
  --tc-color-season: #b9853e;
  --tc-color-ink: #0f172a;
  --tc-color-text: #334155;
  --tc-color-muted: #64748b;
  --tc-color-border: #e2e8f0;
  --tc-color-surface: #ffffff;
  --tc-color-surface-soft: #f8fafc;
  --tc-color-surface-muted: #f1f5f9;
  --tc-color-canvas: #f8f4ee;
  --tc-color-warm: #fffaf6;
  /* Palette Aménagement validée (khaki / sable) — jamais utilisée côté Professionnels (ardoise). */
  --tc-khaki: #d2cba6;
  --tc-khaki-hover: #c6bf98;
  --tc-sand: #e3ddc3;
  --tc-sand-soft: #efebdb;
  --tc-sand-paper: #fffdf8;
  --tc-khaki-ink: #2f2d1c;
  --tc-khaki-olive: #6b6840;
  /* Cœur favori validé : olive au repos, sable au survol, terracotta désaturé sélectionné. */
  --tc-heart-outline: var(--tc-khaki-olive);
  --tc-heart-surface: var(--tc-sand-paper);
  --tc-heart-hover: var(--tc-sand-soft);
  --tc-heart-selected: #d0202f;
  --tc-universe-accent: var(--tc-color-amenagement);
  --tc-universe-color: var(--tc-universe-accent);
  --tc-home-accent: var(--tc-color-leather);
  --tc-shell-header-background: var(--tc-color-surface);
  --tc-shell-header-foreground: var(--tc-color-ink);
  --tc-shell-header-border: var(--tc-color-border);
  --tc-shell-footer-background: var(--tc-color-surface);
  --tc-shell-footer-foreground: var(--tc-color-text);
  --tc-shell-footer-heading: var(--tc-color-ink);
  --tc-shell-control-background: var(--tc-color-surface);
  --tc-shell-control-foreground: var(--tc-color-ink);
  --tc-shell-active-background: var(--tc-color-amenagement);
  --tc-shell-active-foreground: var(--tc-color-surface);
  --tc-font-interface: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tc-font-editorial: "Playfair Display", Georgia, "Times New Roman", serif;
  --tc-font-body: var(--tc-font-interface);
  --tc-font-display: var(--tc-font-editorial);
  --tc-title-weight: 500;
  --tc-color-line: var(--tc-color-border);
  --tc-color-soft: var(--tc-color-surface-soft);
  /* Canonical TuCasa type scale. Component selectors consume roles, not local sizes. */
  --tc-type-display: clamp(2.15rem, 4vw, 3.25rem);
  --tc-type-page-title: clamp(2.15rem, 3.65vw, 3.25rem);
  --tc-type-section-title: clamp(1.8rem, 2.75vw, 2.4rem);
  --tc-type-visual-card-title: clamp(1.15rem, 1.45vw, 1.3rem);
  --tc-type-card-title: 1.2rem;
  --tc-type-card-title-compact: 1.1rem;
  --tc-type-lead: clamp(1rem, 1.2vw, 1.1rem);
  --tc-type-body: 1rem;
  --tc-type-small: 0.875rem;
  --tc-type-micro: 0.75rem;
  --tc-type-season-brand: clamp(1.25rem, 1.8vw, 1.8rem);
  --tc-type-season-label: clamp(0.96rem, 1.15vw, 1.15rem);
  --tc-type-meta: var(--tc-type-small);
  --tc-type-cta: var(--tc-type-small);
  --tc-leading-display: 0.99;
  --tc-leading-page: 1.06;
  --tc-leading-section: 1.1;
  --tc-leading-card: 1.16;
  --tc-leading-body: 1.6;
  --tc-card-radius: 18px;
  --tc-shell-width: 1200px;
  --tc-reading-width: 760px;
  --tc-space-1: 0.25rem;
  --tc-space-2: 0.5rem;
  --tc-space-3: 0.75rem;
  --tc-space-4: 1rem;
  --tc-space-5: 1.5rem;
  --tc-space-6: 2rem;
  --tc-space-8: 3rem;
  --tc-space-10: 4rem;
  --tc-radius-small: 10px;
  --tc-radius-medium: 18px;
  --tc-radius-pill: 999px;
  --tc-shadow-small: 0 8px 24px rgb(15 23 42 / 9%);
  --tc-shadow-large: 0 24px 64px rgb(15 23 42 / 18%);
  --tc-motion-fast: 160ms;
  --tc-motion-normal: 240ms;
}

.tucasa-universe--amenagement {
  --tc-universe-accent: var(--tc-color-amenagement);
  /* En-tête et pied de page Aménagement : sable clair, texte encre (contrastes ≥ 9:1). */
  --tc-shell-header-background: var(--tc-sand-soft);
  --tc-shell-header-foreground: var(--tc-khaki-ink);
  --tc-shell-header-border: var(--tc-khaki);
  --tc-shell-footer-background: var(--tc-sand);
  --tc-shell-footer-foreground: #3a3822;
  --tc-shell-footer-heading: var(--tc-khaki-ink);
  --tc-shell-control-background: var(--tc-sand-paper);
  --tc-shell-control-foreground: var(--tc-khaki-ink);
  --tc-shell-active-background: var(--tc-khaki);
  --tc-shell-active-foreground: var(--tc-khaki-ink);
}

.tucasa-universe--professionnels {
  --tc-universe-accent: var(--tc-color-professionnels);
  --tc-shell-header-background: var(--tc-color-professionnels);
  --tc-shell-header-foreground: var(--tc-color-surface);
  --tc-shell-header-border: color-mix(in srgb, var(--tc-color-surface) 22%, transparent);
  --tc-shell-footer-background: var(--tc-color-professionnels);
  --tc-shell-footer-foreground: color-mix(in srgb, var(--tc-color-surface) 88%, transparent);
  --tc-shell-footer-heading: var(--tc-color-surface);
  --tc-shell-active-background: var(--tc-color-surface);
  --tc-shell-active-foreground: var(--tc-color-professionnels);
}
