@import "tailwindcss" source(none);
@source "../src";
@import "tw-animate-css";
@import "@fontsource/outfit/300.css";
@import "@fontsource/outfit/400.css";
@import "@fontsource/outfit/600.css";
@import "@fontsource/outfit/700.css";
@import "@fontsource/inter/400.css";
@import "@fontsource/inter/500.css";

@custom-variant dark (&:is(.dark *));

@theme inline {
  --font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;

  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);

  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-surface: var(--surface);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-brand-dark: var(--brand-dark);
  --color-brand-accent: var(--brand-accent);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
}

:root {
  --radius: 0.25rem;

  /* Brand palette — Pilotis Estrutural (Arquitetônico claro) */
  --brand-dark: #0f1b3d;
  --brand-accent: #3b6fa0;
  --surface: #fafbfc;

  --background: #ffffff;
  --foreground: #0f1b3d;
  --card: #ffffff;
  --card-foreground: #0f1b3d;
  --popover: #ffffff;
  --popover-foreground: #0f1b3d;
  --primary: #0f1b3d;
  --primary-foreground: #ffffff;
  --secondary: #fafbfc;
  --secondary-foreground: #0f1b3d;
  --muted: #e8ecf1;
  --muted-foreground: #5a6683;
  --accent: #3b6fa0;
  --accent-foreground: #ffffff;
  --destructive: oklch(0.577 0.245 27);
  --destructive-foreground: #ffffff;
  --border: rgb(15 27 61 / 0.1);
  --input: rgb(15 27 61 / 0.15);
  --ring: #3b6fa0;
}

@layer base {
  * {
    border-color: var(--color-border);
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    background-color: var(--surface);
    color: var(--color-foreground);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
  }
}
