/* =========================================
   PAGES JURIDIQUES — CYRIL FILAUDEAU
   Mentions légales / Confidentialité
========================================= */

:root {
    --legal-bg: #f5f2eb;
    --legal-paper: #ebe6dc;
    --legal-text: #252522;
    --legal-muted: #77746d;
    --legal-accent: #a84438;
    --legal-border: rgba(37, 37, 34, 0.15);
}

/* BASE */

.legal-page {
    margin: 0;
    background: var(--legal-bg);
    color: var(--legal-text);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

.legal-page *,
.legal-page *::before,
.legal-page *::after {
    box-sizing: border-box;
}

.legal-page a {
    color: var(--legal-accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.legal-page a:hover {
    opacity: 0.7;
}

/* NAVIGATION */

.legal-nav {
    max-width: 1200px;
    margin: auto;
    padding: 32px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--legal-border);
}

.legal-brand {
    color: var(--legal-text) !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

.legal-back {
    font-size: 0.85rem;
}

/* CONTENU */

.legal-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 100px 30px 120px;
}

.legal-eyebrow {
    color: var(--legal-accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.legal-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin: 0 0 25px;
}

.legal-updated {
    color: var(--legal-muted);
    font-size: 0.82rem;
    margin-bottom: 65px;
}

/* SECTIONS */

.legal-section {
    padding: 35px 0;
    border-top: 1px solid var(--legal-border);
}

.legal-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    font-weight: 400;
    margin: 0 0 20px;
    line-height: 1.3;
}

.legal-section p {
    font-size: 0.95rem;
    color: #55534e;
    margin: 0 0 16px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section strong {
    color: var(--legal-text);
    font-weight: 600;
}

.legal-section ul {
    padding-left: 22px;
    margin: 15px 0;
}

.legal-section li {
    color: #55534e;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

/* CONTACT */

.legal-contact {
    display: inline-block;
    margin-top: 8px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--legal-accent);
}

/* FOOTER */

.legal-footer {
    border-top: 1px solid var(--legal-border);
    padding: 30px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
}

.legal-footer p {
    color: var(--legal-muted);
    font-size: 0.78rem;
    margin: 0;
}

.legal-footer-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.legal-footer-links a {
    font-size: 0.8rem;
}

/* RESPONSIVE */

@media (max-width: 650px) {

    .legal-nav {
        padding: 24px 6%;
    }

    .legal-container {
        padding: 65px 6% 80px;
    }

    .legal-title {
        font-size: 2.8rem;
    }

    .legal-section {
        padding: 28px 0;
    }

    .legal-section h2 {
        font-size: 1.4rem;
    }

    .legal-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 6%;
    }

    .legal-footer-links {
        gap: 16px;
    }
}

/* ACCESSIBILITÉ */

@media (prefers-reduced-motion: reduce) {
    .legal-page a {
        transition: none;
    }
}
