/* ========================================
   PAGES CONTENU ÉDITORIAL (À propos, Mentions légales)
   ======================================== */

/* À propos & mentions légales — en-tête sans lede */
.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;
}

.about-author {
    flex-direction: column;
    display: flex;
    align-items: flex-start;
    gap: 1.35rem;
}

.about-author__photo {
    flex-shrink: 0;
    width: 15rem;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

html.day-mode .about-author__photo {
    border-color: rgba(26, 26, 26, 0.12);
}

.about-author__text {
    flex: 1;
    min-width: 0;
    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;
    }

    .about-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.1rem;
    }

    .about-author__photo {
        width: 12rem;
    }
}

/* 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;
    }
}
