/* ════════════════════════════════
   LEGAL — Pages CGU / CGV / Mentions / Confidentialité / Cookies
   Style minimal Licorne Passion : typographie longue lecture, espacement
   généreux, hiérarchie noir/gris.
════════════════════════════════ */

body.legal-page {
    background: #fff;
    color: #000;
    font-family: 'Urbanist', sans-serif;
}
body.legal-page .blob { display: none; }

main:has(.legal) {
    padding: 64px 24px 96px;
}

.legal {
    width: 100%;
}

.legal-container {
    max-width: 720px;
    margin: 0 auto;
}

/* ── Header ── */
.legal-header {
    text-align: center;
    margin-bottom: 56px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.legal-eyebrow {
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6a7282;
    margin: 0 0 14px;
}

.legal-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 1.2;
    color: #000;
    text-transform: lowercase;
    letter-spacing: 0.01em;
    margin: 0;
}

.legal-updated {
    font-family: 'Urbanist', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #99a1af;
    margin: 16px 0 0;
}

/* ── Body (RTE-rendered HTML from DB) ── */
.legal-body {
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: #1a1a1a;
}

.legal-body > * + * { margin-top: 16px; }

.legal-body h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    letter-spacing: 0.02em;
    margin: 48px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.legal-body h2:first-child { margin-top: 0; }

.legal-body h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 32px 0 12px;
}

.legal-body h4 {
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #000;
    margin: 24px 0 8px;
}

.legal-body p {
    margin: 0;
    color: #1a1a1a;
}

.legal-body strong { font-weight: 600; color: #000; }
.legal-body em { font-style: italic; }

.legal-body a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.18s;
}
.legal-body a:hover { opacity: 0.6; }

.legal-body ul,
.legal-body ol {
    padding-left: 22px;
    margin: 0;
}
.legal-body li {
    margin: 8px 0;
    line-height: 1.7;
}
.legal-body li::marker { color: #6a7282; }

.legal-body blockquote {
    border-left: 2px solid #000;
    padding: 4px 0 4px 18px;
    margin: 24px 0;
    color: #4a5565;
    font-style: italic;
}

.legal-body hr {
    border: 0;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin: 40px 0;
}

.legal-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}
.legal-body table th,
.legal-body table td {
    border: 1px solid rgba(0,0,0,0.12);
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}
.legal-body table th {
    background: #fafafa;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.legal-body code {
    font-family: 'DM Mono', 'Courier New', monospace;
    font-size: 12px;
    background: #f3f4f6;
    padding: 2px 6px;
    border: 1px solid #e5e7eb;
}
.legal-body pre {
    background: #fafafa;
    border: 1px solid #e5e7eb;
    padding: 14px 16px;
    overflow-x: auto;
    font-size: 12px;
}
.legal-body pre code { background: transparent; border: 0; padding: 0; }

/* ── Responsive ── */
@media (max-width: 600px) {
    main:has(.legal) { padding: 48px 20px 64px; }
    .legal-header { margin-bottom: 40px; padding-bottom: 24px; }
    .legal-title { font-size: 24px; }
    .legal-body { font-size: 13px; line-height: 1.7; }
    .legal-body h2 { font-size: 16px; margin-top: 36px; }
}
