/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --ink:          #1a1a1a;
  --ink-light:    #4a4a4a;
  --ink-muted:    #8a8a8a;
  --bg:           #faf9f7;
  --bg-warm:      #f4f1ec;
  --bg-card:      #ffffff;
  --accent:       #b45309;
  --accent-light: #d97706;
  --border:       #e5e2dc;
  --border-light: #eeebe6;
}

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
body {
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.6rem;
  font-weight: 600;
}

/* ============================================================
   HEADER STICKY
   ============================================================ */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(250, 249, 247, 0.92);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
}

.site-brand {
  text-decoration: none;
  color: var(--ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.site-brand:hover { color: var(--accent); }

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem;
}

/* ============================================================
   CARTES
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 2rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* ============================================================
   BOUTONS / PILLS
   ============================================================ */
.pill {
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.pill:hover { color: var(--ink); border-color: var(--ink-light); }
.pill.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

button {
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
}

/* ============================================================
   CTA LINK
   ============================================================ */
.cta-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.cta-link:hover { color: var(--accent-light); }

/* ============================================================
   SÉPARATEUR
   ============================================================ */
.sep {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 2.5rem auto;
  opacity: 0.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.site-footer a {
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover { color: var(--accent); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   ACCESSIBILITÉ
   ============================================================ */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .site-header { padding: 0.75rem 1rem; }
  .container   { padding: 1.25rem 1rem; }
}
