/* ============================================================================
   athena7-tokens@1.css — design system "A Vigília Serena" (Athena7)
   GERADO por athena7-v8/scripts/export-tokens.mjs — NÃO EDITE ESTE ARQUIVO.
   Fonte: athena7-v8/client/src/index.css (sha256 f5a759cd4e20)
   Mudou o token? Mude no v8 e exporte de novo. O consumidor nunca define cor
   própria nem sobrescreve token (PLANO-INTEGRACAO-NR1.md §1.1).
   ============================================================================ */
@font-face{font-family:"Sora";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/Sora-Regular.woff2") format("woff2");}
@font-face{font-family:"Sora";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/Sora-Medium.woff2") format("woff2");}
@font-face{font-family:"Sora";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/Sora-SemiBold.woff2") format("woff2");}
@font-face{font-family:"Sora";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/Sora-Bold.woff2") format("woff2");}
@font-face{font-family:"Sora";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/Sora-ExtraBold.woff2") format("woff2");}
@font-face{font-family:"Bodoni Book";font-style:italic;font-weight:400;font-display:swap;src:url("../fonts/BodoniBT-BookItalic.woff2") format("woff2");}
@font-face{font-family:"Bodoni Book";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/BodoniBT-Book.woff2") format("woff2");}

:root {
  /* Famílias (do @theme do v8) */
  --font-sans: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Bodoni Book", "Bodoni MT", Didot, Georgia, serif;
  /* Raios (do @theme inline do v8, sobre --radius) */
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);
  /* ── Marca — o gradiente é a única cor de marca ── */
  --primary: #564692;
  --primary-foreground: #fefdff;
  --secondary: #efedf4;
  --secondary-foreground: #3b3654;
  --accent: #c61583;
  --accent-foreground: #fefdff;

  /* Sidebar (chrome de painel interno — deep purple on-brand) */
  --sidebar: #3d2d6b;
  --sidebar-foreground: #f2f2f2;
  --sidebar-primary: #c61583;
  --sidebar-primary-foreground: #fefdff;
  --sidebar-accent: #4d3d7b;
  --sidebar-accent-foreground: #f2f2f2;
  --sidebar-border: #4d3d7b;
  --sidebar-ring: #c61583;

  /* Charts — paleta do DS (Brasil = magenta do gradiente; apoio = neutros de marca) */
  --chart-1: #564692;
  --chart-2: #903d8b;
  --chart-3: #c61583;
  --chart-4: #4665ae;
  --chart-5: #9f6200;

  --radius: 0.75rem;

  /* ── Superfícies e tinta — o amanhecer lavanda + a noite ── */
  --bg: #fbfafd;
  --background: #fbfafd;
  --foreground: #3b3654;
  --card: #fefdff;
  --card-foreground: #3b3654;
  --popover: #fefdff;
  --popover-foreground: #3b3654;
  --muted: #f5f4f7;
  --muted-foreground: #6b687e;
  --ink: #3b3654;
  --ink-soft: #6b687e;
  --night: #0b0a10;

  /* Border & input (hairline padrão) */
  --border: #e5e3ec;
  --input: #f5f4f7;
  --ring: #564692;

  /* ── Semânticos + gold (texto + ponto, nunca caixa colorida cheia) ── */
  --success: #21763c;
  --warning: #8f5c00; /* AA: escurecido de #9f6200 — 4.5:1+ tb. sobre tint warning/10 (badge) */
  --info: #4665ae;
  --panic: #b71a18;
  --gold: #edb200;
  --destructive: #b71a18;
  --destructive-foreground: #fefdff;

  /* ── O gradiente-assinatura (135deg · 564692 0% → 903D8B 52% → C61583 100%) ── */
  --grad: linear-gradient(135deg, #564692 0%, #903d8b 52%, #c61583 100%);
  --grad-ondark: linear-gradient(135deg, #9c88de 0%, #cf6dbd 52%, #f56aae 100%);
  --tint-08: linear-gradient(135deg, rgba(86,70,146,.08), rgba(144,61,139,.08), rgba(198,21,131,.08));
  --tint-04: linear-gradient(135deg, rgba(86,70,146,.04), rgba(144,61,139,.04), rgba(198,21,131,.04));
  --surface-brand-tint: linear-gradient(135deg, rgba(86,70,146,.06), rgba(144,61,139,.06), rgba(198,21,131,.06));
  /* aliases legados (mantidos p/ não quebrar var(--brand-gradient*) espalhado no JSX) */
  --brand-gradient: var(--grad);
  --brand-gradient-text: var(--grad);
  --brand-gradient-subtle: var(--tint-08);
  --brand-gradient-dark: linear-gradient(135deg, #3d2d6b 0%, #564692 100%);

  /* ── Tipografia (Sora + Bodoni) ── */
  --font-display: var(--font-sans);
  --font-accent: var(--font-serif);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Escala fluida do DS */
  --text-display-xl: clamp(2.6rem, 1.7rem + 4.2vw, 4.75rem);
  --text-display: clamp(2rem, 1.5rem + 2.4vw, 3.25rem);
  --text-h1: clamp(1.75rem, 1.4rem + 1.8vw, 3rem);
  --text-h2: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  --text-h3: clamp(1.375rem, 1.2rem + 0.9vw, 1.75rem);
  --text-h4: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --text-body-lg: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-caption: 0.75rem;
  --text-data-xl: clamp(3.25rem, 2.2rem + 5.5vw, 6rem);
  --text-data: clamp(1.875rem, 1.5rem + 1.8vw, 2.75rem);
  --text-data-sm: 0.875rem;

  /* Escala legada (mantida p/ compatibilidade) */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* ── Espaço — base 4px ── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-9: 2.5rem;
  --space-10: 3rem;
  --space-11: 3.5rem;
  --space-12: 4rem;
  --space-13: 6rem;
  --space-14: 7rem;
  --space-15: 8rem;
  --space-16: 10rem;
  --space-20: 5rem;
  --space-section: 5rem;
  --section-pad: clamp(72px, 9vw, 120px);
  --maxw: 1200px;

  /* ── Sombras — 2 níveis + halo da vigília ── */
  --shadow-rest: 0 1px 2px rgba(11,10,16,.04);
  --shadow-lift: 0 4px 24px rgba(86,70,146,.10);
  --shadow-vigil: 0 0 42px rgba(198,21,131,.16);
  /* legadas (compat) */
  --shadow-sm: var(--shadow-rest);
  --shadow-md: 0 4px 12px rgba(11,10,16,.06);
  --shadow-lg: var(--shadow-lift);
  --shadow-card: 0 1px 3px rgba(11,10,16,.04), 0 4px 12px rgba(86,70,146,.06);
  --shadow-card-hover: var(--shadow-lift);
  --shadow-glow-accent: 0 4px 14px rgba(198,21,131,.25);
  --shadow-glow-accent-hover: 0 6px 20px rgba(198,21,131,.35);

  /* ── Motion (só transform/opacity; GSAP só no herói) ── */
  --motion-fast: 150ms;
  --motion-base: 300ms;
  --motion-slow: 600ms;
  --motion-cinema: 1000ms;
  --ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-move: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --motion-rise: 12px;
  --motion-stagger: 60ms;
  /* legadas */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}
