/* Pages légales (mentions, confidentialité, CGV) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #faf8f5;
  --bg-alt: #f2ede6;
  --ink: #2d231c;
  --ink-soft: #8a7566;
  --accent: #7a9e7e;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --space-2: 0.5rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-base: 1rem;
  --text-xl: 1.25rem;
  --container: min(640px, 100% - var(--space-8));
  --nav-h: 56px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-alt);
}

a { color: var(--accent); text-decoration: underline; }

a:hover { color: var(--ink); }

.legal-header {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  background: var(--bg);
  border-bottom: 1px solid #e8dfd4;
}

.legal-header a { text-decoration: none; font-size: var(--text-sm); }

.legal-header .back { color: var(--accent); }

.legal-main { padding: var(--space-8) var(--space-4); }

.mentions-inner { max-width: 640px; margin: 0 auto; }

.mentions-text { font-size: var(--text-xs); color: var(--ink-soft); line-height: 1.6; }

.mentions-inner h1 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.mentions-inner h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  margin: var(--space-6) 0 var(--space-2);
}

.mentions-inner h3:first-of-type { margin-top: 0; }

.legal-links { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-4); }

.legal-links a { font-size: var(--text-sm); }

.legal-footer {
  padding: var(--space-6);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--ink-soft);
  border-top: 1px solid #e8dfd4;
  background: var(--bg);
}

.legal-footer a { margin: 0 var(--space-2); }
