/* Modèle legal : politique de confidentialité, conditions d'utilisation, plan du site. Base et couleurs dans /common/style.css. */
body { min-height: 100vh; min-height: 100svh; height: auto; display: flex; flex-direction: column; }
main { flex: 1; padding: 32px 0 80px; }

/* Colonne de lecture : 740 px au plus, comme le formulaire de contact. */
.legal { max-width: 740px; margin: 0 auto; }
.legal-hero { padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid var(--color-border); text-align: center; }
.eyebrow { margin-bottom: 16px; color: var(--color-accent); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.legal h1 { font-size: clamp(36px, 7vw, 64px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; overflow-wrap: anywhere; }
.legal-updated { margin-top: 16px; font-size: 14px; }
.legal-intro p { margin-bottom: 16px; color: var(--color-text); font-size: 18px; line-height: 1.7; }
.legal-toc { margin: 32px 0 48px; padding: 24px 28px; border-left: 4px solid var(--color-primary); background: var(--color-surface); }
.legal-toc h2 { margin-bottom: 12px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-secondary); }
.legal-toc ol { margin-left: 22px; columns: 2 240px; column-gap: 32px; }
.legal-toc li { margin-bottom: 6px; color: var(--color-text-secondary); font-size: 15px; line-height: 1.5; break-inside: avoid; }
.legal-toc a:hover { color: var(--color-accent); }
.legal-section { margin-bottom: 40px; scroll-margin-top: 24px; }
.legal-section h2 { margin-bottom: 16px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.legal-section h3 { margin: 24px 0 8px; font-size: 18px; font-weight: 700; }
.legal-section p, .legal-section li { margin-bottom: 12px; font-size: 16px; line-height: 1.7; }
.legal-section ul { margin: 0 0 16px 22px; }
.legal-section li { color: var(--color-text-secondary); }
.legal-section strong { color: var(--color-text); font-weight: 700; }
.legal-section a, .legal-intro a { color: var(--color-accent); text-decoration: underline; }
.legal-section a:hover, .legal-intro a:hover { color: var(--color-accent); opacity: .8; }
.legal-sitemap { list-style: none; margin-left: 0 !important; }
.legal-sitemap li { padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.legal-sitemap a { text-decoration: none !important; font-size: 17px; }


/* Plan du site : drapeaux des autres langues en fin de ligne (lib/legal.php). */
.legal-sitemap li { display: block; }
.legal-sitemap-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
/* Sous-pages d'un service : en retrait sous leur page parente. */
.legal-sitemap-sub { margin: 8px 0 0 20px !important; }
.legal-sitemap-sub li { padding: 8px 0; border-bottom: 0; border-top: 1px solid var(--color-border); }
.legal-sitemap-sub a { font-size: 15px; }
/* Outils : un sous-titre par catégorie. */
.legal-sitemap + h3, .legal-section h3 { margin: 28px 0 4px; font-size: 18px; }
.legal-sitemap-flags { display: inline-flex; flex-shrink: 0; gap: 8px; }
.legal-sitemap-flags a { display: inline-flex; line-height: 0; border-radius: 3px; box-shadow: 0 0 0 1px var(--color-border); transition: transform .15s ease; }
.legal-sitemap-flags a:hover { transform: scale(1.12); }
.legal-sitemap-flags img { width: 21px; height: 14px; border-radius: 3px; object-fit: cover; }
