/* Pages de texte : guides et pages légales. S'ajoute à site.css. */
.doc { max-width: 760px; margin: 0 auto; padding: 0 24px 80px; }
@media (max-width: 600px) { .doc { padding: 0 16px 64px; } }
.doc > p.muted:first-child { margin-top: 40px; font-size: 14px; }
.doc > p.muted:first-child a { color: var(--muted); text-decoration: none; }
.doc > p.muted:first-child a:hover { color: var(--accent); }
.doc h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.06; letter-spacing: -.03em; margin: 40px 0 14px; }
.doc h2 { font-size: clamp(23px, 3vw, 28px); letter-spacing: -.02em; margin: 52px 0 12px; }
.doc p, .doc li { line-height: 1.75; color: var(--ink-2); font-size: 17px; }
.doc strong { color: var(--ink); }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--accent); font-weight: 700; }
.doc .chapo { font-size: 20px; color: var(--muted); line-height: 1.6; }
.doc .updated { color: var(--muted); font-size: 14px; }
.doc .box { padding: 6px 24px; }
.doc .encart { position: relative; overflow: hidden; padding: 28px 30px; margin: 40px 0; border: 0; border-radius: 20px; color: #fff8ec; background: radial-gradient(100% 120% at 100% 0%, #c9472b, #8e2814 55%, #5e1a0d); box-shadow: var(--shadow-lg); }
.doc .encart p { margin: 0 0 16px; color: rgba(255, 248, 236, .88); }
.doc .encart strong { color: #fff8ec; }
.doc .encart .btn-primary { background: #fff8ec; color: #8e2814; border-color: transparent; }
.doc table { width: 100%; border-collapse: collapse; margin: 18px 0 28px; font-size: 15.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.doc th, .doc td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.doc tr:last-child td { border-bottom: 0; }
.doc th { font-weight: 700; background: var(--bg-alt); font-size: 14px; }
.doc mark { background: var(--warn-soft); color: var(--warn); padding: 1px 6px; border-radius: 5px; font-weight: 600; }
.doc .liste-guides a { display: block; padding: 22px 24px; margin: 14px 0; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.doc .liste-guides a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.doc .liste-guides a strong { display: block; font: 600 21px var(--serif); margin-bottom: 4px; }
.doc footer { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.doc footer a { color: var(--muted); margin-right: 18px; text-decoration: none; }
.doc footer a:hover { color: var(--ink); }
