/* ========================================
   PAGES CONTENU ÉDITORIAL (À propos, Mentions légales)
   ======================================== */

/* À propos & mentions légales — en-tête aligné sur .carnet-header / hero catalogue (.lyreval-catalog-page) */
.page-a-propos .carnet-header,
.page-mentions-legales .carnet-header {
    width: 100%;
    max-width: min(44rem, 94vw);
    margin: 0 auto clamp(2rem, 4vh, 2.75rem);
    text-align: center;
}

.page-a-propos .carnet-title,
.page-mentions-legales .carnet-title {
    font-family: 'Crimson Pro', 'Lora', serif;
    font-size: clamp(1.45rem, 3.8vw, 2.65rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 clamp(0.85rem, 2vh, 1.15rem);
    line-height: 1.28;
    color: var(--text-primary);
    flex-shrink: 0;
}

html:not(.day-mode) .page-a-propos .carnet-title,
html:not(.day-mode) .page-mentions-legales .carnet-title {
    color: rgba(231, 231, 231, 0.98);
}

.page-a-propos .carnet-header .carnet-title:last-child,
.page-mentions-legales .carnet-header .carnet-title:last-child {
    margin-bottom: 0;
}

.page-a-propos .about-body {
    max-width: 680px;
    margin: 0 auto;
    padding-bottom: 1rem;
}

.about-section {
    margin-bottom: 3rem;
}

/* Ancres depuis le pied de page : éviter que le titre soit masqué sous le header */
.about-section[id] {
    scroll-margin-top: 5.5rem;
}

.about-section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-night);
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

html.day-mode .about-section-title {
    color: var(--text-day);
}

.about-content {
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(231, 231, 231, 0.85);
    margin-bottom: 1.5rem;
}

html.day-mode .about-content {
    color: rgba(26, 26, 26, 0.85);
}

.about-content p {
    margin-bottom: 1.25rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .page-a-propos .about-body {
        padding-bottom: 0.5rem;
    }

    .about-section {
        margin-bottom: 2.5rem;
    }

    .about-section-title {
        font-size: 1.125rem;
    }

    .about-content {
        font-size: 0.9375rem;
    }
}

/* Legal */
.page-mentions-legales .legal-body {
    max-width: 680px;
    margin: 0 auto;
    padding-bottom: 1rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-night);
    margin-bottom: 1rem;
    line-height: 1.4;
}

html.day-mode .legal-section-title {
    color: var(--text-day);
}

.legal-content {
    font-family: 'Lora', serif;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(231, 231, 231, 0.85);
}

html.day-mode .legal-content {
    color: rgba(26, 26, 26, 0.85);
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.legal-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    transition: opacity 0.2s ease;
}

.legal-link:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .page-mentions-legales .legal-body {
        padding-bottom: 0.5rem;
    }

    .legal-section {
        margin-bottom: 2rem;
    }

    .legal-section-title {
        font-size: 1rem;
    }

    .legal-content {
        font-size: 0.875rem;
    }
}
