/* Feuille de style partagée des pages légales Murma.
   Toutes les pages légales lient ce fichier ( <link rel="stylesheet" href="style.css"> ).
   Palette et identité alignées sur l'app Murma (thème sombre lavande). */
:root {
  --bg: #0B0A12; --surface: #16131F; --surface2: #1E1A30;
  --text: #E8E6F0; --muted: #A29FB8; --accent: #8B7CF6; --lav: #B9AEFF;
  --line: #2A2540; --todo-bg: #3A2A12; --todo-fg: #FFD79A;
  --warn-bg: #3A1520; --warn-fg: #FFB3C4;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 40px 22px 80px; }
header { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 32px; position: relative; }
header::before {
  content: ""; position: absolute; top: -60px; left: 40%; width: 340px; height: 200px;
  background: radial-gradient(closest-side, rgba(139,124,246,.20), transparent);
  pointer-events: none; z-index: -1;
}
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand .mark { display: block; flex: none; }
.wordmark { font-weight: 800; letter-spacing: .34em; font-size: 18px; color: var(--lav); }
h1 { font-size: 30px; line-height: 1.2; margin: 20px 0 6px; }
h2 { font-size: 21px; margin: 40px 0 10px; color: var(--lav); }
h3 { font-size: 17px; margin: 24px 0 6px; }
p, li { color: var(--text); }
a { color: var(--accent); }
.meta { color: var(--muted); font-size: 14px; }
.lead { color: var(--muted); font-size: 18px; }
ul { padding-left: 20px; }
li { margin: 6px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 18px 0; }
.warn { background: var(--warn-bg); color: var(--warn-fg); border: 1px solid #5a2233; border-radius: 14px; padding: 16px 20px; margin: 18px 0; }
.todo { background: var(--todo-bg); color: var(--todo-fg); padding: 2px 7px; border-radius: 5px; font-weight: 600; font-size: .92em; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; margin-top: 14px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--lav); }
footer { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--lav); font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* Listes de définitions — mentions légales, fiches d'identité. */
dl { margin: 0; }
dt { color: var(--lav); font-weight: 600; margin-top: 14px; }
dd { margin: 2px 0 0; }

/* Grille de documents — page d'accueil du centre juridique. */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin: 18px 0 8px; }
.doc {
  display: block; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; transition: border-color .15s, transform .15s;
}
.doc:hover { border-color: var(--accent); transform: translateY(-2px); }
.doc .t { color: var(--lav); font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.doc .d { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.group-title { font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 34px 0 4px; }

/* Étapes numérotées — le chemin d'un récit. */
ol { padding-left: 20px; }
ol li { margin: 10px 0; }
