/* Clínica Biocardio: tokens gerados de tokens.json. Não edite à mão; edite tokens.json. */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root, [data-theme="light"] {
  --brand-blue: #065eb5;
  --brand-red: #ca1905;
  --blue-50: #eaf2fb;
  --blue-100: #cfe1f5;
  --blue-700: #044a8f;
  --blue-900: #032c57;
  --red-50: #fdecea;
  --red-700: #9e1304;
  --gray-50: #f5f7fa;
  --gray-100: #e9edf2;
  --gray-500: #6b7685;
  --gray-900: #17202c;
  --surface: #ffffff;
  --surface-muted: #f5f7fa;
  --surface-raised: #ffffff;
  --border: #d5dbe3;
  --border-strong: #8a95a5;
  --ink: #17202c;
  --ink-muted: #4f5a69;
  --primary: var(--brand-blue);
  --primary-hover: #044a8f;
  --on-primary: #ffffff;
  --primary-soft: #eaf2fb;
  --accent: var(--brand-red);
  --accent-hover: #9e1304;
  --on-accent: #ffffff;
  --accent-soft: #fdecea;
  --success: #1d7a45;
  --success-soft: #e8f5ee;
  --warning: #8a5a00;
  --warning-soft: #fdf3e1;
  --danger: #b3170a;
  --danger-soft: #fdecea;
  --focus: #065eb5;
  --shadow-sm: 0 1px 2px rgba(23,32,44,0.08);
  --shadow-md: 0 6px 20px rgba(6,94,181,0.12);
}

[data-theme="dark"] {
  --blue-50: #0f2238;
  --blue-100: #15325a;
  --blue-700: #8bbdf2;
  --blue-900: #cfe1f5;
  --red-50: #3a1612;
  --red-700: #f59a8d;
  --gray-50: #141e2b;
  --gray-100: #1a2635;
  --gray-500: #8794a6;
  --gray-900: #eef2f7;
  --surface: #0d1520;
  --surface-muted: #141e2b;
  --surface-raised: #1a2635;
  --border: #2c3a4c;
  --border-strong: #5d6b7e;
  --ink: #eef2f7;
  --ink-muted: #a9b4c3;
  --primary: #5ea3ec;
  --primary-hover: #8bbdf2;
  --on-primary: #0d1520;
  --primary-soft: #15283f;
  --accent: #f0705f;
  --accent-hover: #f59a8d;
  --on-accent: #0d1520;
  --accent-soft: #3a1612;
  --success: #5cc98a;
  --success-soft: #12291c;
  --warning: #f0b952;
  --warning-soft: #2e2410;
  --danger: #f2786a;
  --danger-soft: #3a1612;
  --focus: #8bbdf2;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blue-50: #0f2238;
    --blue-100: #15325a;
    --blue-700: #8bbdf2;
    --blue-900: #cfe1f5;
    --red-50: #3a1612;
    --red-700: #f59a8d;
    --gray-50: #141e2b;
    --gray-100: #1a2635;
    --gray-500: #8794a6;
    --gray-900: #eef2f7;
    --surface: #0d1520;
    --surface-muted: #141e2b;
    --surface-raised: #1a2635;
    --border: #2c3a4c;
    --border-strong: #5d6b7e;
    --ink: #eef2f7;
    --ink-muted: #a9b4c3;
    --primary: #5ea3ec;
    --primary-hover: #8bbdf2;
    --on-primary: #0d1520;
    --primary-soft: #15283f;
    --accent: #f0705f;
    --accent-hover: #f59a8d;
    --on-accent: #0d1520;
    --accent-soft: #3a1612;
    --success: #5cc98a;
    --success-soft: #12291c;
    --warning: #f0b952;
    --warning-soft: #2e2410;
    --danger: #f2786a;
    --danger-soft: #3a1612;
    --focus: #8bbdf2;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.5);
  }
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 80px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --font-sans: Poppins, "Segoe UI", system-ui, sans-serif;
}

.text-display { font-family: var(--font-sans); font-size: 40px; line-height: 48px; font-weight: 700; letter-spacing: -0.02em; }
.text-h1 { font-family: var(--font-sans); font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: -0.01em; }
.text-h2 { font-family: var(--font-sans); font-size: 24px; line-height: 32px; font-weight: 600; }
.text-h3 { font-family: var(--font-sans); font-size: 18px; line-height: 26px; font-weight: 600; }
.text-body-lg { font-family: var(--font-sans); font-size: 18px; line-height: 30px; font-weight: 400; }
.text-body { font-family: var(--font-sans); font-size: 16px; line-height: 26px; font-weight: 400; }
.text-small { font-family: var(--font-sans); font-size: 14px; line-height: 22px; font-weight: 400; }
.text-label { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 500; }
.text-overline { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
