/* =========================
   efs-dons.css
   CSS complet et autonome pour efs-dons.html
   Requiert uniquement style1.css chargé avant.
========================= */

/* ── scroll-margin pour ancres ── */
section[id] {
    scroll-margin-top: 130px;
}

/* =========================
   CONTAINER PRINCIPAL
========================= */
.course-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 28px 90px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* =========================
   SECTIONS
========================= */
.course-section {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0 40px;
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.course-section:last-child {
    border-bottom: none;
}

.course-section-label {
    padding-top: 6px;
}

.course-section-body h2 {
    font-family: var(--font-head);
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 800;
    color: var(--black);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
    line-height: 1.15;
}

.course-section-body > p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--gray-700);
    margin-bottom: 14px;
    font-family: var(--font-body);
}

.course-section-body > p strong {
    color: var(--black);
    font-weight: 700;
    font-family: var(--font-head);
}

/* =========================
   BYLINE AUTEUR
========================= */
.article-byline {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
    padding-bottom: 28px;
    border-bottom: 1px solid #eee;
}

.article-author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: #fff;
    font-weight: 900;
}

.article-byline-label {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 3px;
}

.article-author-name {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 3px;
}

.article-author-role {
    font-family: var(--font-head);
    font-size: 0.78rem;
    color: var(--gray-400);
    margin: 0;
}

/* =========================
   LOGO EFS
========================= */
.efs-logo-row {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.efs-logo {
    width: 130px;
    height: auto;
    object-fit: contain;
}

/* =========================
   CITATION
========================= */
.article-quote {
    background: #fff5f5;
    border-left: 4px solid var(--red);
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    margin: 28px 0;
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
}

/* =========================
   ENCART
========================= */
.efs-encart {
    background: var(--gray-100);
    border: 1px solid #e8e8e8;
    border-left: 3px solid var(--red);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 18px 22px;
    margin: 28px 0;
}

.efs-encart p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.75;
    color: var(--gray-700);
    margin: 0;
}

/* =========================
   LISTE À PUCES
========================= */
.content-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
}

.content-list li {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.75;
    color: var(--gray-700);
    padding-left: 18px;
    position: relative;
}

.content-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
}

/* =========================
   LIENS PARTIE PRATIQUE
========================= */
.efs-pratique .course-section-body a {
    color: var(--red);
    font-weight: 700;
    text-decoration: none;
}

.efs-pratique .course-section-body a:hover {
    text-decoration: underline;
}

.efs-pratique .course-section-body h2:not(:first-child) {
    margin-top: 44px;
}

.efs-contact {
    margin-top: 16px;
}

/* =========================
   SÉPARATEUR NARRATIVE / PRATIQUE
========================= */
.efs-narrative {
    border-bottom: 1px solid #eee;
}

.efs-pratique {
    border-bottom: none;
}

/* Espacement paragraphes narratifs */
.efs-narrative .course-section-body > p {
    margin-top: 28px;
}

.efs-narrative .course-section-body > p:first-child {
    margin-top: 0;
}

/* =========================
   RESPONSIVE — TABLETTE (≤ 900px)
========================= */
@media (max-width: 900px) {
    .course-section {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 44px 0;
    }

    .course-section-label {
        display: none;
    }
}

/* =========================
   RESPONSIVE — MOBILE (≤ 768px)
========================= */
@media (max-width: 768px) {
    .course-container {
        padding: 44px 20px 60px;
    }

    .course-section {
        padding: 36px 0;
    }

    .course-section-body h2 {
        font-size: 22px;
    }

    .course-section-body > p {
        font-size: 15px;
    }

    .efs-logo {
        width: 90px;
    }
}
