@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:wght@200;300;400&display=swap');

:root {
  --bg:         #0a0a0a;
  --bg-soft:    #111111;
  --line:       rgba(255,255,255,0.08);
  --line-hover: rgba(255,255,255,0.18);
  --text:       #f0ece4;
  --text-muted: #7a7670;
  --accent:     #e8e0d0;
  --accent-dim: #a09880;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --nav-w: 220px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── Typographie ── */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

p {
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── Layout de page (avec sidebar nav) ── */

.page-layout {
  display: flex;
  min-height: 100vh;
}

.page-content {
  margin-left: var(--nav-w);
  flex: 1;
  min-height: 100vh;
}

/* ── Séparateur ── */

.rule {
  width: 100%;
  height: 1px;
  background: var(--line);
  border: none;
}

/* ── Bouton texte ── */

.btn-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--line);
  padding: 0.7em 1.6em;
  display: inline-block;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
  cursor: pointer;
}

.btn-text:hover {
  color: var(--accent);
  border-color: var(--line-hover);
}

/* ── Label de feature ── */

.feature-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Page hero ── */

.page-hero {
  padding: 6rem 4rem 4rem;
  border-bottom: 1px solid var(--line);
}

.page-hero .feature-label {
  margin-bottom: 1.2rem;
}

.page-hero h1 {
  margin-bottom: 1.5rem;
}

.page-hero p {
  max-width: 520px;
  font-size: 0.95rem;
}

/* ── Section standard ── */

.section {
  padding: 5rem 4rem;
  border-bottom: 1px solid var(--line);
}

/* ── Utilitaires ── */

.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 4rem; }

/* ── Mobile : suppression sidebar ── */

@media (max-width: 768px) {
  .page-content {
    margin-left: 0;
  }

  .page-hero {
    padding: 6rem 1.5rem 3rem;
  }

  .section {
    padding: 3rem 1.5rem;
  }
}
