@tailwind base; @tailwind components; @tailwind utilities; @layer base { :root { /* ── Fond & texte ── */ --background: 36 28% 97%; --foreground: 20 15% 9%; /* ── Cartes ── */ --card: 0 0% 100%; --card-foreground: 20 15% 9%; /* ── Bordures & inputs ── */ --border: 30 18% 87%; --input: 30 18% 87%; --ring: 22 62% 28%; /* ── Primaire : brun cognac ── */ --primary: 22 62% 28%; --primary-foreground: 36 30% 96%; /* ── Secondaire & muted ── */ --secondary: 36 20% 93%; --secondary-foreground: 20 12% 25%; --muted: 35 18% 92%; --muted-foreground: 25 10% 34%; /* ── Accent (hover) ── */ --accent: 35 18% 90%; --accent-foreground: 20 15% 9%; /* ── Destructif ── */ --destructive: 0 78% 52%; --destructive-foreground: 0 0% 98%; --radius: 0.375rem; } .dark { /* ── Fond & texte ── */ --background: 22 18% 7%; --foreground: 36 22% 91%; /* ── Cartes ── */ --card: 22 15% 10%; --card-foreground: 36 22% 91%; /* ── Bordures & inputs ── */ --border: 25 14% 18%; --input: 25 14% 18%; --ring: 22 55% 48%; /* ── Primaire : cognac clair (lisible sur fond sombre) ── */ --primary: 22 55% 50%; --primary-foreground: 36 30% 96%; /* ── Secondaire & muted ── */ --secondary: 22 13% 14%; --secondary-foreground: 36 18% 78%; --muted: 22 12% 13%; --muted-foreground: 30 10% 66%; /* ── Accent (hover) ── */ --accent: 22 13% 15%; --accent-foreground: 36 22% 91%; /* ── Destructif ── */ --destructive: 0 72% 55%; --destructive-foreground: 0 0% 98%; } } @layer base { * { @apply border-border; } body { @apply bg-background text-foreground; font-feature-settings: "rlig" 1, "calt" 1; } } .font-serif { font-family: 'Playfair Display', Georgia, serif; } /* Scrollbar */ ::-webkit-scrollbar { width: 5px; height: 5px; } ::-webkit-scrollbar-track { background: hsl(var(--muted)); } ::-webkit-scrollbar-thumb { background: hsl(var(--border)); border-radius: 9999px; } @layer utilities { .scrollbar-none { scrollbar-width: none; } .scrollbar-none::-webkit-scrollbar { display: none; } }