/* Styles partagés des pages légales Allovem */
:root {
  --bg: #fff; --bg-2: #f5f6f8; --line: #e3e5ea;
  --text: #15171b; --muted: #5a606a; --accent: #2251d1;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.mono { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
header .in { width: min(1100px, 100% - 32px); margin: 0 auto; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--text); text-decoration: none; }
.logo svg { width: 24px; height: 24px; }
header nav { display: flex; gap: 22px; font-size: 15px; }
header nav a { color: var(--muted); text-decoration: none; }
header nav a:hover, header nav a[aria-current] { color: var(--text); }

.layout { width: min(1100px, 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding: 48px 0 80px; }
.toc { position: sticky; top: 90px; align-self: start; display: grid; gap: 2px; font-size: 15px; }
.toc .mono { color: var(--muted); margin-bottom: 8px; }
.toc a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.toc a:hover { color: var(--text); }

article { max-width: 72ch; }
.kicker { color: var(--accent); }
h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 8px 0 12px; }
.updated { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin: 40px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
h3 { font-size: 17px; font-weight: 600; margin: 22px 0 6px; }
p, ul, ol { margin-bottom: 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
strong { font-weight: 600; }
.card { border: 1px solid var(--line); background: var(--bg-2); border-radius: 4px; padding: 20px 22px; margin: 16px 0; }
.card dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; }
.card dt { color: var(--muted); }
.note { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; color: var(--muted); }
.model { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.8; white-space: pre-wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 4px; background: var(--accent); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; transition: background .15s; }
.btn:hover { background: #1a41ad; }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer .in { width: min(1100px, 100% - 32px); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; gap: 20px; padding-top: 32px; }
  .toc { display: none; }
  header nav { display: none; }
  .card dl { grid-template-columns: 1fr; gap: 2px; }
  .card dd { margin-bottom: 10px; }
}
@media print {
  header, footer, .toc { display: none; }
}
