/* PAY-3 Wellness sauge — variables imposees par da_choice.json */
:root {
  /* Couleurs */
  --bg: #E8F0EC;
  --bg-alt: #DCE7E1;
  --surface: #F2F7F3;
  --surface-2: #DCE7E1;
  --text: #1F3531;
  --text-2: #3E5953;
  --text-mute: #6B8C88;
  --border: rgba(31, 53, 49, 0.16);
  --border-strong: rgba(31, 53, 49, 0.32);
  --accent: #4A8B7F;
  --accent-2: #6FA89C;
  --accent-soft: #C8DDD6;
  --primary: #1F3531;
  --wa-green: #25D366;
  --wa-green-dark: #128C7E;
  --warn: #C45F3A;
  --ok: #4A8B7F;

  /* Polices imposees */
  --ff-display: 'EB Garamond', 'Garamond', Georgia, 'Times New Roman', serif;
  --ff-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-ui: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Rayons */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Header */
  --header-h: 76px;
  --header-h-mobile: 64px;

  /* Z-index : header > menu (regle absolue piege #1) */
  --z-header: 1100;
  --z-menu: 1000;
  --z-modal: 1300;
  --z-fab: 950;

  /* Layout */
  --container: 1180px;

  /* Echelle typo fluide */
  --fs-xs: clamp(0.78rem, 0.74rem + 0.18vw, 0.86rem);
  --fs-sm: clamp(0.92rem, 0.88rem + 0.2vw, 1rem);
  --fs-base: clamp(1rem, 0.97rem + 0.22vw, 1.08rem);
  --fs-lg: clamp(1.18rem, 1.1rem + 0.4vw, 1.38rem);
  --fs-xl: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --fs-2xl: clamp(2.1rem, 1.7rem + 2.2vw, 3.6rem);
  --fs-3xl: clamp(2.8rem, 2.1rem + 3.5vw, 5rem);

  /* Ombres teintees teal */
  --shadow-soft: 0 8px 24px -6px rgba(74, 139, 127, 0.18);
  --shadow-card: 0 16px 40px -14px rgba(31, 53, 49, 0.22);
  --shadow-lift: 0 22px 48px -16px rgba(74, 139, 127, 0.30);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 340ms;

  color-scheme: light;
}

@supports (color: oklch(0% 0 0)) {
  :root {
    --bg: oklch(94% 0.018 160);
    --bg-alt: oklch(91% 0.022 162);
    --surface: oklch(96% 0.013 158);
    --surface-2: oklch(89% 0.025 162);
    --text: oklch(28% 0.030 168);
    --text-2: oklch(42% 0.028 168);
    --text-mute: oklch(58% 0.022 170);
    --accent: oklch(58% 0.058 175);
    --accent-2: oklch(70% 0.048 173);
    --accent-soft: oklch(86% 0.030 168);
    --primary: oklch(28% 0.030 168);
  }
}
