/* Digital Consulting — pages legales
   Feuille partagee par les versions FR et EN de mentions-legales.html + en/legal-notice.html.
   Ne pas dupliquer : toute retouche vaut pour les deux langues. */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --paper:     #f5f2ea;
  --paper-2:   #ece5d8;
  --ink:       #221e1a;
  --muted:     #6b625b;
  --light:     #998f84;
  --taupe:     #5c524f;
  --char:      #3c3531;
  --amber:     #f7be0b;
  --ochre:     #a8730a;
  --ochre-deep:#875a00;
  --rule:      #d9d1c3;
  --rule-soft: #e6dfd1;
  --card:      #fbf8f1;
  --font-display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
  --maxw: 820px;
  --gut: clamp(20px, 5vw, 48px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 16.5px);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--rule-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

/* Header */
header.site {
  background: var(--taupe);
  border-bottom: 1px solid rgba(0,0,0,0.22);
  box-shadow: 0 6px 20px -12px rgba(0,0,0,0.5);
}
header.site .bar {
  max-width: 1160px; margin: 0 auto; padding-inline: var(--gut);
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
header.site .brand img { height: 38px; width: auto; }
header.site .back {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; color: #e3dccf;
  transition: color .2s;
}
header.site .back:hover { color: #fff; }

/* Contenu */
main { padding-block: clamp(48px, 7vw, 84px); }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ochre);
  display: inline-flex; align-items: center; gap: 0.6em;
}
.eyebrow::before { content: ""; width: 1.8em; height: 1px; background: var(--ochre); display: inline-block; }

h1 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(2rem, 5vw, 3rem); margin: 18px 0 6px; line-height: 1.05;
}
.updated { font-family: var(--font-mono); font-size: 0.78rem; color: var(--light); margin-bottom: 36px; }

section.legal { margin-bottom: 30px; }
h2 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  letter-spacing: -0.01em; margin: 0 0 10px; color: var(--char);
  padding-bottom: 6px; border-bottom: 1px solid var(--rule);
}
p { margin: 0 0 10px; }
.legal a { color: var(--ochre-deep); text-decoration: none; border-bottom: 1px solid var(--rule); }
.legal a:hover { border-color: var(--ochre); }

dl { margin: 0; display: grid; grid-template-columns: 200px 1fr; gap: 6px 18px; }
dl dt { font-weight: 600; color: var(--muted); }
dl dd { margin: 0; }
@media (max-width: 560px) { dl { grid-template-columns: 1fr; gap: 2px; } dl dd { margin-bottom: 8px; } }

/* Placeholders à compléter — visibles */
.todo {
  background: rgba(247,190,11,0.22);
  border-bottom: 2px solid var(--amber);
  padding: 1px 6px; border-radius: 3px;
  font-family: var(--font-mono); font-size: 0.85em; color: var(--ochre-deep); font-weight: 600;
  white-space: nowrap;
}

/* Footer */
footer.site { background: var(--taupe); color: #d6cdbf; padding-block: 30px; margin-top: 40px; }
footer.site .row {
  max-width: 1160px; margin: 0 auto; padding-inline: var(--gut);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
footer.site .brand img { height: 32px; width: auto; }
footer.site .legalnote { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; line-height: 1.8; }
footer.site a { color: #ece5d8; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.25); }
footer.site a:hover { color: #fff; border-color: #fff; }
