:root {
  /* Couleurs - Palette */
  --bg: #0a0905;
  --bg2: #100e09;
  --surface: #161410;
  --border: #ffdc781a;
  --gold: #d4a953;
  --gold-light: #F0C97A;
  --white: #F5F0E8;
  --muted: #7a7060;
  
  /* Typographies */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-alt: 'Raleway', sans-serif;
  
  /* Tailles de police */
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-lg: 18px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 32px;
  --fs-4xl: 48px;
  
  /* Hauteurs de ligne */
  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;
  
  /* Espacements */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.4s ease;
  --transition-slower: 0.6s ease;
  
  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 999px;
  
  /* Couleurs - Variantes */
  --bg-overlay: rgba(10, 9, 5, 0.5);
  --bg-overlay-dark: rgba(5, 4, 2, 0.82);
  --surface-muted: #202222;
  --glass-border: rgba(255, 220, 120, 0.1);
  --gold-accent: rgba(212, 168, 83, 0.3);
  --gold-faint: rgba(212, 168, 83, 0.1);
  --gold-light-translucent: rgba(240, 201, 122, 0.3);
  --text-invert: #0a0905;
}

/* RESET CSS */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  overflow-x: hidden;
}

/* SÉLECTION */

::selection {
  background-color: #d4a953e0;
  color: var(--bg);
}

/* SCROLLBAR */

::-webkit-scrollbar-button {
  display: none;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

/* ÉLÉMENTS GÉNÉRIQUES */

img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* EFFET BRUIT DE FOND */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
  opacity: 0.45;
}
