/* Pages légales : mentions-legales.html, politique-confidentialite.html */

/* Header simplifié (logo + retour accueil) */
#legal-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 18px 0;
}

#legal-header .col-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0 30px;
}

#legal-header .legal-logo {
    display: inline-block;
    line-height: 0;
}

#legal-header .legal-logo img {
    max-height: 42px;
    width: auto;
}

#legal-header nav a {
    margin-left: 24px;
    color: #555;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#legal-header nav a:hover,
#legal-header nav a:focus-visible {
    color: #c0ae7e;
}

/* Contenu */
.legal-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 30px 80px;
}

.legal-content .section-heading {
    margin-bottom: 40px;
}

.legal-content section {
    margin-top: 40px;
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 0;
    padding-bottom: 8px;
    color: #222;
}

.legal-content p {
    margin: 0 0 14px;
    color: #444;
    line-height: 1.7;
}

.legal-content ul {
    margin: 0 0 18px 22px;
    padding: 0;
    color: #444;
    line-height: 1.7;
}

.legal-content ul li {
    margin-bottom: 6px;
    list-style: disc;
}

.legal-content a {
    color: #c0ae7e;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover,
.legal-content a:focus-visible {
    opacity: 0.75;
}

.legal-content code {
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 0.92em;
    background: #f5f5f5;
    padding: 1px 5px;
    border-radius: 3px;
}

.legal-update {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 13px;
}

/* Footer commun : ajout des liens à côté des social icons */
#landing-footer .footer-links {
    list-style: none;
    text-align: right;
    margin: 0;
    padding: 0;
}

#landing-footer .footer-links li {
    display: inline-block;
    margin-left: 18px;
}

#landing-footer .footer-links a {
    color: inherit;
}

#landing-footer .footer-links a:hover,
#landing-footer .footer-links a:focus-visible {
    color: #c0ae7e;
}

/* --------- Page 404 --------- */

.error-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 80px 30px 100px;
}

.error-code {
    font-family: var(--title);
    font-size: clamp(120px, 22vw, 220px);
    line-height: 1;
    color: #c0ae7e;
    margin: 0;
    letter-spacing: -4px;
    user-select: none;
}

.error-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 300;
    color: #222;
    padding: 12px 0 18px;
    margin: 0;
}

.error-lead {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto 30px;
    max-width: 520px;
}

.error-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 30px 0 50px;
}

.error-link {
    color: #555;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
}

.error-link:hover,
.error-link:focus-visible {
    color: #c0ae7e;
}

.error-suggestions {
    list-style: none;
    padding: 30px 0 0;
    margin: 0;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    justify-content: center;
}

.error-suggestions li {
    margin: 0;
}

.error-suggestions a {
    color: #555;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.error-suggestions a:hover,
.error-suggestions a:focus-visible {
    color: #c0ae7e;
}

/* Responsive */
@media (max-width: 600px) {
    #legal-header .col-1 {
        padding: 0 16px;
    }

    #legal-header nav a {
        margin-left: 14px;
        font-size: 12px;
    }

    .legal-content {
        padding: 40px 18px 60px;
    }

    .legal-content h2 {
        font-size: 19px;
    }

    .error-page {
        padding: 50px 18px 70px;
    }

    .error-actions {
        gap: 16px;
        margin: 20px 0 40px;
    }

    #landing-footer .footer-links {
        text-align: left;
        margin-top: 10px;
    }

    #landing-footer .footer-links li {
        margin: 0 16px 0 0;
    }
}
