/* ============================================
   DESIGN SYSTEM — Cabinet Neuropsychologie
   Alexia Pacas
   Theme: Dark Navy Blue + Gold
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-bg-primary);
  color: var(--color-text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- Color Palette --- */
:root {
  /* Primary: Deep Navy Blues */
  --color-bg-primary: #070d1a;
  --color-bg-secondary: #0a1628;
  --color-bg-tertiary: #0f1b2d;
  --color-bg-card: rgba(15, 27, 45, 0.7);
  --color-bg-card-hover: rgba(20, 35, 58, 0.85);

  /* Accent: Gold Tones */
  --color-gold: #c9a84c;
  --color-gold-light: #d4bf6a;
  --color-gold-dark: #b8952a;
  --color-gold-muted: rgba(201, 168, 76, 0.15);
  --color-gold-glow: rgba(201, 168, 76, 0.3);

  /* Text Colors */
  --color-text-heading: #c9a84c;
  --color-text-body: #c8cdd5;
  --color-text-muted: #8a93a3;
  --color-text-white: #eef0f4;
  --color-text-gold: #c9a84c;

  /* Borders */
  --color-border: rgba(201, 168, 76, 0.2);
  --color-border-hover: rgba(201, 168, 76, 0.5);
  --color-border-subtle: rgba(200, 205, 213, 0.08);

  /* Glassmorphism */
  --glass-bg: rgba(10, 22, 40, 0.6);
  --glass-border: rgba(201, 168, 76, 0.15);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --glass-blur: blur(12px);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.15);
  --shadow-gold-lg: 0 8px 40px rgba(201, 168, 76, 0.2);

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-cookie: 500;
  --z-tooltip: 600;

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-padding: 1.5rem;

  /* Navigation */
  --nav-height: 80px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--color-text-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: var(--space-md);
}

h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-body);
}

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

a:hover {
  color: var(--color-gold-light);
}

strong {
  color: var(--color-text-white);
  font-weight: 600;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.text-gold {
  color: var(--color-text-gold);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Section Spacing --- */
.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section--alt {
  background-color: var(--color-bg-secondary);
}

/* --- Gold Decorative Divider --- */
.divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: var(--space-xl) auto;
  border: none;
}

.divider--left {
  margin-left: 0;
}

/* --- Selection Color --- */
::selection {
  background-color: var(--color-gold-muted);
  color: var(--color-gold);
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gold-dark);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* --- Focus Styles --- */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --- Responsive Breakpoints (Mobile First) --- */
/* Tablet: 768px */
/* Desktop: 1024px */
/* Large: 1200px */
