/* ============================================================================
   RESSOURCES — ressources.css
   Styles communs à toutes les pages de l'espace ressources
   ============================================================================ */

/* ── Sommaire ── */
.toc-card {
    border-left: 4px solid #c5a059;
    background: #f8f9fb;
    border-radius: 0 10px 10px 0;
    padding: 24px 28px;
    margin-bottom: 32px;
}
.toc-card h2 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 14px;
}
.toc-card ol {
    padding-left: 18px;
    margin: 0;
}
.toc-card li {
    margin-bottom: 6px;
}
.toc-card a {
    color: #0370d0;
    text-decoration: none;
    font-size: 0.9rem;
}
.toc-card a:hover { text-decoration: underline; }

/* ── Article sections ── */
.article-section {
    margin-bottom: 12px;
}
.article-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0b2a4a;
    margin-bottom: 6px;
}
.article-section p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 14px;
}
.article-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0b2a4a;
    margin: 20px 0 8px;
}
.article-section ul, .article-section ol {
    color: #444;
    font-size: 0.93rem;
    line-height: 1.7;
    padding-left: 20px;
}
.article-section li { margin-bottom: 8px; }

/* ── Callout doré ── */
.callout-gold {
    background: #fffbf0;
    border-left: 4px solid #c5a059;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 0.92rem;
    color: #444;
    line-height: 1.65;
}
.callout-gold strong { color: #0b2a4a; }

/* ── Alerte erreurs ── */
.warning-card {
    background: #fff8f0;
    border: 1px solid #f0d0a0;
    border-radius: 10px;
    padding: 20px 24px;
    margin: 16px 0;
}
.warning-card .warning-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #b8741a;
    margin-bottom: 12px;
}
.warning-card ul {
    padding-left: 18px;
    color: #555;
    font-size: 0.91rem;
    margin: 0;
}
.warning-card li { margin-bottom: 8px; }

/* ── Blockquote ── */
blockquote.article-quote {
    border-left: 4px solid #0370d0;
    background: #f0f6ff;
    border-radius: 0 8px 8px 0;
    padding: 14px 20px;
    margin: 20px 0;
    font-style: italic;
    font-size: 1rem;
    color: #0b2a4a;
    line-height: 1.6;
}
blockquote.article-quote cite {
    display: block;
    font-style: normal;
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 8px;
}

/* ── Timeline journée ── */
.timeline-wrap { position: relative; padding-left: 0; }
.tl-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    align-items: flex-start;
}
.tl-time {
    flex-shrink: 0;
    min-width: 56px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    background: #0b2239;
    padding: 5px 8px;
    border-radius: 6px;
    letter-spacing: 0.03em;
    margin-top: 2px;
}
.tl-time.pm  { background: #0370d0; }
.tl-time.eve { background: #c5a059; color: #0b2a4a; }
.tl-card {
    flex: 1;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 10px;
    padding: 14px 18px;
}
.tl-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0b2a4a;
    margin-bottom: 5px;
}
.tl-card p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ── Sidebar ── */
.sidebar-sticky { position: sticky; top: 110px; }

.encart-contact {
    background: linear-gradient(135deg, #0b2239 0%, #133d63 100%);
    border-radius: 16px;
    padding: 24px;
    color: #fff;
    margin-bottom: 20px;
}
.encart-contact h4 { color: #9ad1f9; font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.encart-contact p  { color: rgba(255,255,255,0.78); font-size: 0.87rem; line-height: 1.6; }
.encart-contact .sub { font-size: 0.75rem; color: #c5a059; margin-bottom: 14px; }

.sidebar-info-card {
    background: #f8f9fb;
    border-radius: 14px;
    padding: 22px;
}
.sidebar-info-card h5 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0370d0;
    margin-bottom: 16px;
}
.si-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
}
.si-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c5a059;
    flex-shrink: 0;
    margin-top: 6px;
}
.si-item p {
    font-size: 0.85rem;
    color: #555;
    margin: 0;
    line-height: 1.55;
}

/* ── CTA bas de page ── */
.cta-ressource {
    background: linear-gradient(135deg, #0b2239 0%, #133d63 100%);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}
.cta-ressource h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 14px;
}
.cta-ressource p {
    color: rgba(255,255,255,0.72);
    font-size: 0.97rem;
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.7;
}
.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
}
.pill-tag {
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.75);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* ── Meta article ── */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 20px;
}
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c5a059;
    border: 1px solid rgba(197,160,89,0.4);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}
