/* Pages légales Aurium : mise en page sobre, alignée sur la landing (mêmes polices et couleurs) */
:root {
  --bg: #f8f9fa; --panel: #fff; --text: #060612; --muted: #5b5b63; --line: rgba(0, 0, 0, 0.08); --link: #1d4ed8;
  --todo-bg: #fff4c2; --todo-text: #7a5b00;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }

.lg-top { border-bottom: 1px solid var(--line); background: var(--panel); }
.lg-top-in { max-width: 880px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lg-top img { height: 28px; width: auto; }
.lg-top a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--text); }
.lg-top a:hover { text-decoration: underline; }

main { max-width: 880px; margin: 0 auto; padding: 48px 24px 72px; }
h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 8px; }
.lg-meta { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
h2 { font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; margin: 40px 0 12px; }
h3 { font-size: 16px; font-weight: 600; margin: 24px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
strong { font-weight: 600; }

.lg-toc { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin: 0 0 8px; }
.lg-toc p { font-weight: 600; margin: 0 0 8px; }
.lg-toc ol { margin: 0; columns: 2; column-gap: 32px; font-size: 15px; }
.lg-toc li { break-inside: avoid; }
.lg-toc a { text-decoration: none; }
.lg-toc a:hover { text-decoration: underline; }

.lg-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px; margin: 0 0 16px; }
.lg-card dl { margin: 0; }
.lg-card .row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lg-card .row:last-child { border-bottom: 0; }
.lg-card dt { color: var(--muted); font-size: 14px; }
.lg-card dd { margin: 0; }

table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14.5px; margin: 0 0 16px; display: block; overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
th { background: rgba(0, 0, 0, 0.03); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

/* Information à renseigner avant la publication définitive : volontairement visible */
.todo { background: var(--todo-bg); color: var(--todo-text); padding: 1px 6px; border-radius: 4px; font-weight: 500; }

.lg-foot { border-top: 1px solid var(--line); background: var(--panel); }
.lg-foot-in { max-width: 880px; margin: 0 auto; padding: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.lg-foot a { color: var(--muted); }

@media (max-width: 640px) {
  main { padding: 32px 20px 56px; }
  .lg-toc ol { columns: 1; }
  .lg-card .row { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b0b0f; --panel: #14141a; --text: #f2f2f5; --muted: #a2a2ad; --line: rgba(255, 255, 255, 0.1); --link: #8ab0ff; --todo-bg: #4a3a00; --todo-text: #ffe28a; }
  .lg-top img { filter: invert(1) hue-rotate(180deg); }
  th { background: rgba(255, 255, 255, 0.05); }
}
@media print { .lg-top, .lg-foot, .lg-toc { display: none; } body { background: #fff; color: #000; } a { color: #000; } }
