You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
3.7 KiB
CSS

@import "tailwindcss";
@custom-variant dark (&:is(.dark *));
/* ── Design system tokens (INESCC institucional / moderno) ──────────────── */
:root {
--radius: 0.625rem;
--background: #ffffff;
--foreground: #0e1a26;
--card: #ffffff;
--card-foreground: #0e1a26;
--popover: #ffffff;
--popover-foreground: #0e1a26;
--primary: #0b2a4a; /* navy institucional */
--primary-foreground: #ffffff;
--secondary: #eef3f8;
--secondary-foreground: #0b2a4a;
--muted: #f5f7fa;
--muted-foreground: #5b6b7b;
--accent: #eef3f8;
--accent-foreground: #0b2a4a;
--destructive: #dc2626;
--destructive-foreground: #ffffff;
--border: #dce3eb;
--input: #dce3eb;
--ring: #1e6fd9;
/* Acentos de marca */
--brand: #1e6fd9; /* azul vivo / interação */
--brand-foreground: #ffffff;
--energy: #2ba66b; /* sustentabilidade */
}
@theme inline {
--font-sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
--color-background: var(--background);
--color-foreground: var(--foreground);
--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-destructive: var(--destructive);
--color-destructive-foreground: var(--destructive-foreground);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--color-brand: var(--brand);
--color-brand-foreground: var(--brand-foreground);
--color-energy: var(--energy);
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
}
/* ── Animations for Radix overlays (sem dependências extra) ─────────────── */
@keyframes overlay-in { from { opacity: 0 } to { opacity: 1 } }
@keyframes overlay-out { from { opacity: 1 } to { opacity: 0 } }
@keyframes content-in { from { opacity: 0; transform: translateY(8px) scale(0.98) } to { opacity: 1; transform: translateY(0) scale(1) } }
@keyframes content-out { from { opacity: 1 } to { opacity: 0 } }
@keyframes sheet-in { from { transform: translateX(100%) } to { transform: translateX(0) } }
@keyframes sheet-out { from { transform: translateX(0) } to { transform: translateX(100%) } }
[data-state="open"].animate-overlay { animation: overlay-in 0.2s ease-out }
[data-state="closed"].animate-overlay { animation: overlay-out 0.18s ease-in }
[data-state="open"].animate-content { animation: content-in 0.22s ease-out }
[data-state="closed"].animate-content { animation: content-out 0.18s ease-in }
[data-state="open"].animate-sheet { animation: sheet-in 0.28s cubic-bezier(0.32, 0.72, 0, 1) }
[data-state="closed"].animate-sheet { animation: sheet-out 0.24s ease-in }
@layer base {
* {
border-color: var(--color-border);
}
html {
scroll-behavior: smooth;
}
body {
background-color: var(--color-background);
color: var(--color-foreground);
font-family: var(--font-sans);
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
::selection {
background-color: color-mix(in srgb, var(--brand) 25%, transparent);
}
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after {
animation-duration: 0.001ms !important;
transition-duration: 0.001ms !important;
}
}