/* InsonAI — tokens. Tema escuro é o padrão; use data-theme="light" no <html> (ou num contêiner) para o claro. */
@font-face { font-family: 'Plus Jakarta Sans'; src: url(fonts/PlusJakartaSans-Variable.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }

:root, [data-theme="dark"] {
  --primary: #6B173E;
  --primary-deep: #5B1435;
  --primary-vivid: #871C4E;
  --primary-glow: #B22B68;
  --secondary: #4A1038;
  --plum: #2B0920;
  --tertiary: #E0A8BB;
  --tertiary-light: #FFD9E3;
  --neutral: #130E11;
  --bg: #130E11;
  --surface-1: #1A1317;
  --surface-2: #241E21;
  --surface-3: #2E282C;
  --surface-brand: var(--primary);
  --glass: rgba(43, 9, 32, 0.65);
  --text: #F7EDF1;
  --text-muted: #B59FA9;
  --text-subtle: #937F89;
  --on-brand: #F7EDF1;
  --on-brand-muted: #E9C9D6;
  --accent-text: #E0A8BB;
  --accent: var(--primary);
  --accent-hover: var(--primary-vivid);
  --on-accent: #F7EDF1;
  --accent-soft: rgba(107, 23, 62, 0.32);
  --selected: var(--tertiary);
  --on-selected: #3E001F;
  --cta: var(--tertiary);
  --on-cta: #3E001F;
  --border: rgba(224, 168, 187, 0.12);
  --border-strong: rgba(224, 168, 187, 0.24);
  --outline: #A18B91;
  --focus: var(--tertiary);
  --success: #34D399;
  --warning: #FBBF24;
  --danger: #FFB4AB;
  --danger-fill: #93000A;
  --on-danger: #FFDAD6;
  --live: #10B981;
  --shadow-1: 0 1px 2px rgba(11, 4, 8, 0.5);
  --shadow-2: 0 16px 36px rgba(11, 4, 8, 0.6);
  --glow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 24px rgba(107, 23, 62, 0.4);
  --glow-hover: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 24px rgba(135, 28, 78, 0.45);
  --focus-ring: 0 0 0 2px #130E11, 0 0 0 4px #E0A8BB;
  color-scheme: dark;
}

[data-theme="light"] {
  --primary: #6B173E;
  --primary-deep: #5B1435;
  --primary-vivid: #871C4E;
  --primary-glow: #B22B68;
  --secondary: #4A1038;
  --plum: #2B0920;
  --tertiary: #E0A8BB;
  --tertiary-light: #FFD9E3;
  --neutral: #130E11;
  --bg: #F7F0F3;
  --surface-1: #FFFFFF;
  --surface-2: #FBF5F7;
  --surface-3: #F1E4EA;
  --surface-brand: var(--primary);
  --glass: rgba(255, 255, 255, 0.72);
  --text: #1E1418;
  --text-muted: #5E4B55;
  --text-subtle: #776470;
  --on-brand: #F7EDF1;
  --on-brand-muted: #E9C9D6;
  --accent-text: #871C4E;
  --accent: var(--primary);
  --accent-hover: var(--primary-vivid);
  --on-accent: #F7EDF1;
  --accent-soft: #F6DCE6;
  --selected: var(--primary);
  --on-selected: #F7EDF1;
  --cta: var(--tertiary);
  --on-cta: #3E001F;
  --border: rgba(107, 23, 62, 0.10);
  --border-strong: rgba(107, 23, 62, 0.22);
  --outline: #8E6F7C;
  --focus: var(--primary-glow);
  --success: #065F46;
  --warning: #92400E;
  --danger: #BA1A1A;
  --danger-fill: #BA1A1A;
  --on-danger: #FFFFFF;
  --live: #059669;
  --shadow-1: 0 1px 2px rgba(107, 23, 62, 0.06), 0 2px 8px rgba(107, 23, 62, 0.06);
  --shadow-2: 0 12px 32px rgba(107, 23, 62, 0.14);
  --glow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 24px rgba(107, 23, 62, 0.4);
  --glow-hover: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 24px rgba(135, 28, 78, 0.45);
  --focus-ring: 0 0 0 2px #F7F0F3, 0 0 0 4px #B22B68;
  color-scheme: light;
}

:root {
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 56px;
  --gutter: 24px;
  --gutter-mobile: 16px;
  --margin: 48px;
  --margin-mobile: 20px;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --radius-full: 9999px;
  --radius-bubble: 20px;
  --radius-bubble-tail: 6px;
  --icon-16: 16px;
  --icon-20: 20px;
  --icon-24: 24px;
  --icon-32: 32px;
  --icon-48: 48px;
  --icon-stroke-16: 2.25;
  --icon-stroke-20: 2;
  --icon-stroke-24: 1.75;
  --icon-stroke-32: 1.5;
  --icon-stroke-48: 1.25;
  --icon-duo-opacity: 0.24;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}

/* Display */
.display-xl { font-family: var(--font-sans); font-size: 96px; line-height: 92px; font-weight: 800; letter-spacing: -0.035em; }
.display-xl-mobile { font-family: var(--font-sans); font-size: 48px; line-height: 48px; font-weight: 800; letter-spacing: -0.03em; }
.display-lg { font-family: var(--font-sans); font-size: 64px; line-height: 64px; font-weight: 800; letter-spacing: -0.032em; }
.display-md { font-family: var(--font-sans); font-size: 48px; line-height: 52px; font-weight: 800; letter-spacing: -0.028em; }
/* Títulos */
.large-title { font-family: var(--font-sans); font-size: 34px; line-height: 40px; font-weight: 800; letter-spacing: -0.022em; }
.title-1 { font-family: var(--font-sans); font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.018em; }
.title-2 { font-family: var(--font-sans); font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.012em; }
.title-3 { font-family: var(--font-sans); font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -0.01em; }
.headline { font-family: var(--font-sans); font-size: 17px; line-height: 24px; font-weight: 700; letter-spacing: -0.004em; }
/* Texto */
.lead { font-family: var(--font-sans); font-size: 19px; line-height: 30px; font-weight: 500; letter-spacing: -0.004em; }
.body { font-family: var(--font-sans); font-size: 17px; line-height: 26px; font-weight: 400; letter-spacing: 0em; }
.callout { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 500; letter-spacing: 0em; }
.subheadline { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 0.002em; }
.footnote { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 500; letter-spacing: 0.006em; }
.caption { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.01em; }
.eyebrow { font-family: var(--font-sans); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-feature-settings: 'case'; }
/* Interface */
.label-lg { font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 700; letter-spacing: -0.005em; }
.label-md { font-family: var(--font-sans); font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.006em; }
.label-sm { font-family: var(--font-sans); font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: 0.02em; }
