/* DO NOT EDIT. Generated from packages/design-tokens/tokens.mjs by scripts/generate-design-tokens.mjs. */
/* Caresquad espace-client — Colors & Typography (patient surfaces) */

/* ----- Web Fonts (static) -------------------------------- */
/* Sofia Pro, self-hosted. Identical woff2 files to frontend/src/assets/fonts. */
@font-face { font-family: 'Sofia Pro'; src: url('fonts/SofiaProRegular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Sofia Pro'; src: url('fonts/SofiaProMedium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Sofia Pro'; src: url('fonts/SofiaProSemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Sofia Pro'; src: url('fonts/SofiaProBold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ----- Design Tokens ------------------------------------- */
:root {
  /* Brand */
  --cs-primary: #00A7A8;
  --cs-primary-hover: #008889;
  --cs-primary-light: #00B8B9;
  --cs-primary-tint: rgba(0, 167, 168, 0.06);
  --cs-primary-tint2: rgba(0, 167, 168, 0.15);
  --cs-primary-tint3: rgba(0, 167, 168, 0.35);
  --cs-secondary: #2a496f;
  --cs-secondary-light: #4a6a93;
  --cs-secondary-dark: #1a2f4f;
  --cs-dark: #1a1a2e;

  /* Signature gradient */
  --cs-gradient-hero: linear-gradient(118deg, #00A7A8 0%, #2a496f 100%);
  --cs-gradient-cta: linear-gradient(135deg, #00A7A8 0%, #008889 100%);
  --cs-gradient-cta-hover: linear-gradient(135deg, #00B8B9 0%, #009A9B 100%);
  --cs-gradient-price: linear-gradient(135deg, #00A7A8 0%, #00C9CA 100%);

  /* Neutrals (slate) */
  --cs-bg: #ffffff;
  --cs-bg-muted: #f8fafc;
  --cs-bg-subtle: #f1f5f9;
  --cs-bg-slate: #f8fafc;
  --cs-surface-dark: #1e293b;
  --cs-border: #e2e8f0;
  --cs-border-soft: #f1f5f9;
  --cs-border-strong: #cbd5e1;
  --cs-fg: #0f172a;
  --cs-fg-body: #334155;
  --cs-fg-muted: #475569;
  --cs-fg-soft: #64748b;
  --cs-fg-faint: #94a3b8;

  /* Semantic (Sobre) */
  --cs-success: #2F8C6B;
  --cs-success-bg: #EAF3EF;
  --cs-success-text: #23664e;
  --cs-warning: #BC8730;
  --cs-warning-bg: #F8F1E2;
  --cs-warning-text: #7d5a1e;
  --cs-danger: #C0504E;
  --cs-danger-bg: #F9ECEB;
  --cs-danger-text: #853634;
  --cs-info: #43719E;
  --cs-info-bg: #EEF3F8;
  --cs-info-text: #2e4f70;
  --cs-purple: #8b5cf6;
  --cs-purple-bg: #f5f3ff;

  /* Radius (Doux léger) */
  --cs-radius-xs: 6px;
  --cs-radius-sm: 6px;
  --cs-radius-md: 8px;
  --cs-radius-lg: 10px;
  --cs-radius-xl: 12px;
  --cs-radius-2xl: 12px;
  --cs-radius-control: 6px;
  --cs-radius-card: 10px;
  --cs-radius-dialog: 10px;
  --cs-radius-pill: 9999px;

  /* Shadow */
  --cs-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --cs-shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --cs-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
  --cs-shadow-pop: 0 10px 40px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  --cs-shadow-cta: 0 4px 20px -4px rgba(0, 0, 0, 0.15);
  --cs-shadow-cta-hover: 0 8px 20px -4px rgba(0, 167, 168, 0.40);
  --cs-shadow-ring: 0 0 0 1px #e2e8f0;
  --cs-shadow-ring-primary:  0 0 0 1px rgba(0, 167, 168, 0.40);

  /* Spacing (4-based grid) */
  --cs-space-1: 4px;
  --cs-space-2: 8px;
  --cs-space-3: 12px;
  --cs-space-4: 16px;
  --cs-space-5: 20px;
  --cs-space-6: 24px;
  --cs-space-8: 32px;
  --cs-space-10: 40px;
  --cs-space-12: 48px;
  --cs-space-16: 64px;
  --cs-space-20: 80px;

  /* Typography */
  --cs-font-sans: 'Sofia Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --cs-font-icon: 'Font Awesome 6 Free';
  --cs-font-icon-brand: 'Font Awesome 6 Brands';
  --cs-text-xs: 0.75rem;
  --cs-text-sm: 0.875rem;
  --cs-text-base: 1rem;
  --cs-text-lg: 1.125rem;
  --cs-text-xl: 1.25rem;
  --cs-text-2xl: 1.5rem;
  --cs-text-3xl: 1.875rem;
  --cs-text-4xl: 2.25rem;
  --cs-text-5xl: 3rem;
  --cs-leading-tight: 1.2;
  --cs-leading-snug: 1.35;
  --cs-leading-normal: 1.5;
  --cs-leading-relaxed: 1.6;

  /* Motion & focus */
  --cs-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --cs-ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --cs-dur-fast: 150ms;
  --cs-dur-base: 250ms;
  --cs-dur-slow: 350ms;
  --cs-focus-ring: 3px solid rgba(0, 167, 168, 0.65);
}

/* ----- Base / Reset (static) ----------------------------- */
html { font-family: var(--cs-font-sans); color: var(--cs-fg-body); }
.cs-body { font-family: var(--cs-font-sans); color: var(--cs-fg-body); background: var(--cs-bg); }

/* ----- Semantic Type Classes (static) -------------------- */
.cs-display, .cs-h1 { font-family: var(--cs-font-sans); font-weight: 700; font-size: clamp(2.25rem, 4vw + 1rem, 3rem); line-height: var(--cs-leading-tight); letter-spacing: -0.01em; color: var(--cs-fg); }
.cs-h2 { font-family: var(--cs-font-sans); font-weight: 700; font-size: clamp(1.875rem, 2.5vw + 0.75rem, 2.25rem); line-height: var(--cs-leading-tight); color: var(--cs-fg); }
.cs-h3 { font-family: var(--cs-font-sans); font-weight: 600; font-size: 1.25rem; line-height: var(--cs-leading-snug); color: var(--cs-fg); }
.cs-h4 { font-family: var(--cs-font-sans); font-weight: 600; font-size: 1rem; line-height: var(--cs-leading-snug); color: var(--cs-fg); }
.cs-lead { font-size: 1.25rem; line-height: var(--cs-leading-relaxed); color: var(--cs-fg-muted); font-weight: 400; }
.cs-p { font-size: 1rem; line-height: var(--cs-leading-relaxed); color: var(--cs-fg-muted); font-weight: 400; }
.cs-small { font-size: 0.875rem; line-height: var(--cs-leading-normal); color: var(--cs-fg-soft); }
.cs-caption { font-size: 0.75rem; line-height: var(--cs-leading-normal); color: var(--cs-fg-faint); }
.cs-eyebrow { font-size: 0.75rem; font-weight: 600; color: var(--cs-fg-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.cs-highlight { position: relative; display: inline-block; }
.cs-highlight::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 8px; background-color: rgba(0, 167, 168, 0.2); z-index: 0; }
.cs-link { color: var(--cs-primary); font-weight: 600; text-decoration: none; transition: color var(--cs-dur-fast) ease; }
.cs-link:hover { color: var(--cs-primary-hover); text-decoration: underline; }
