/* Dr Pro Group — Legal pages (Mentions légales · Confidentialité) */

:root {
  --bg: #F4F0E7;
  --bg-deep: #ECE6D8;
  --surface: #FBF8F1;
  --ink: #0F1820;
  --ink-soft: #2A333C;
  --muted: #6B6E72;
  --line: #D5CDBA;
  --line-soft: #E2DCCB;
  --accent: #2E5961;
  --accent-deep: #1F3E45;
  --accent-soft: #E8EEEC;
  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container { max-width: 820px; margin: 0 auto; padding: 0 40px; }

/* Top bar */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(244, 240, 231, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-inner { max-width: 1240px; margin: 0 auto; padding: 18px 40px; display: flex; justify-content: space-between; align-items: center; }
.wordmark { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 14px; }
.wordmark::before {
  content: ''; width: 22px; height: 22px;
  border: 1px solid var(--ink); border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--accent) 0 4px, transparent 4px);
  flex-shrink: 0;
}
.wordmark-name { font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; }
.wordmark-back { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.wordmark-back:hover { color: var(--accent); }

/* Hero */
.legal-hero { padding: 180px 0 60px; }
.legal-eyebrow {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 36px;
  display: flex; align-items: center; gap: 14px;
}
.legal-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--ink); }
.legal-hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05; letter-spacing: -0.03em;
  color: var(--ink); max-width: 18ch; margin-bottom: 24px;
}
.legal-hero h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
.legal-hero .updated { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* Body */
.legal-body { padding: 40px 0 140px; }
.legal-body section { padding: 36px 0; border-top: 1px solid var(--line); }
.legal-body section:first-child { border-top: none; }

.legal-body h2 {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 20px;
  display: flex; align-items: baseline; gap: 16px;
}
.legal-body h2 .numeral { font-family: var(--mono); font-size: 12px; font-style: normal; font-weight: 400; color: var(--accent); letter-spacing: 0.12em; flex-shrink: 0; }

.legal-body h3 {
  font-family: var(--sans); font-weight: 500; font-size: 14px;
  letter-spacing: 0.02em; color: var(--ink);
  margin-top: 22px; margin-bottom: 8px;
}

.legal-body p, .legal-body li {
  font-size: 15px; font-weight: 400; line-height: 1.7;
  color: var(--ink-soft);
}
.legal-body p + p { margin-top: 14px; }

.legal-body ul { list-style: none; padding-left: 0; margin: 12px 0; }
.legal-body ul li { padding-left: 22px; position: relative; margin-bottom: 8px; }
.legal-body ul li::before {
  content: '—'; position: absolute; left: 0; top: 0;
  color: var(--accent); font-family: var(--mono);
}

.legal-body dl {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 10px 32px; margin: 12px 0;
}
.legal-body dt {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding-top: 4px;
}
.legal-body dd { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 640px) {
  .legal-body dl { grid-template-columns: 1fr; gap: 4px 0; }
  .legal-body dd { margin-bottom: 12px; }
}

.legal-body a {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.legal-body a:hover { color: var(--accent-deep); border-color: var(--accent); }

.legal-body .placeholder {
  font-family: var(--mono); font-size: 12px;
  background: var(--accent-soft); color: var(--accent-deep);
  padding: 2px 8px; border-radius: 2px;
  letter-spacing: 0.04em;
}

/* Footer */
footer { padding: 40px 0; border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-inner div, .footer-inner a { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-decoration: none; }
.footer-inner a:hover { color: var(--accent); }
