/* Rubrique « Ressources » : liste et articles (vitrine/ressources.php, vitrine/article.php). Préfixe ar-, jetons --sx-*. */
.ar-col { max-width: 800px; }
.ar-head { background: var(--sx-cream); border-bottom: 1px solid var(--sx-line); padding: 1.6rem 0 2rem; }
.ar-head h1 { font-size: var(--sx-fs-t40); color: var(--sx-navy); font-weight: 800; line-height: 1.15; margin: 0 0 .8rem; }
.ar-lead { font-size: var(--sx-fs-18); color: var(--sx-text-mid); line-height: 1.6; margin: 0; }
.ar-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 1.1rem 0 0; color: var(--sx-muted); font-size: var(--sx-fs-14); }

.ar-body { padding-top: 2rem; padding-bottom: 3.5rem; }
.ar-toc { background: var(--sx-white); border: 1px solid var(--sx-line); border-radius: var(--sx-r-sm); padding: 16px 20px; margin-bottom: 2rem; }
.ar-toc-t { margin: 0 0 .5rem; font-weight: 800; color: var(--sx-navy); }
.ar-toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 4px; }
.ar-toc a { color: var(--sx-action); }

.ar-prose { font-size: 1.0625rem; line-height: 1.75; color: var(--sx-text); }
.ar-prose h2 { font-size: var(--sx-fs-t32); color: var(--sx-navy); font-weight: 800; line-height: 1.25; margin: 2.6rem 0 1rem; scroll-margin-top: calc(var(--sx-header) + 16px); }
.ar-prose h3 { font-size: var(--sx-fs-20); color: var(--sx-navy); font-weight: 800; margin: 1.8rem 0 .5rem; }
.ar-prose p { margin: 0 0 1.1rem; }
.ar-prose ul, .ar-prose ol { margin: 0 0 1.2rem; padding-left: 1.4rem; display: grid; gap: .45rem; }
.ar-prose a { color: var(--sx-action); font-weight: 600; }
.ar-prose strong { color: var(--sx-navy-900); }
.ar-check { list-style: none; padding-left: 0 !important; counter-reset: arq; }
.ar-check li { position: relative; padding: 10px 14px 10px 48px; background: var(--sx-white); border: 1px solid var(--sx-line); border-radius: var(--sx-r-sm); counter-increment: arq; }
.ar-check li::before { content: counter(arq); position: absolute; left: 12px; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--sx-navy); color: #fff; font-weight: 800; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }

.ar-table { overflow-x: auto; margin: 0 0 1.2rem; border: 1px solid var(--sx-line); border-radius: var(--sx-r-sm); background: var(--sx-white); }
.ar-table:focus-visible { outline: 3px solid rgba(12, 108, 208, .35); }
.ar-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--sx-fs-14); line-height: 1.5; }
.ar-table th, .ar-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--sx-line); vertical-align: top; }
.ar-table thead th { background: var(--sx-navy); color: #fff; }
.ar-table tbody th { color: var(--sx-navy); }
.ar-table tbody tr:last-child > * { border-bottom: 0; }
.ar-table td:last-child { background: var(--sx-action-pale); }

.ar-box { margin-top: 2.4rem; padding: 22px 24px; background: var(--sx-white); border: 1px solid var(--sx-line); border-left: 5px solid var(--sx-action); border-radius: var(--sx-r-sm); }
.ar-box .ar-box-t { margin-top: 0; font-size: var(--sx-fs-24); }
.ar-box p:last-child { margin-bottom: 0; }

.ar-faq { margin-top: 2.6rem; }
.ar-faq h2 { font-size: var(--sx-fs-t32); color: var(--sx-navy); font-weight: 800; margin: 0 0 1rem; }
.ar-cta {
    margin-top: 2.6rem; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    background: var(--sx-navy-900); color: var(--sx-on-dark); border-radius: var(--sx-r-card);
}
.ar-cta p { margin: 0; max-width: 520px; }
.ar-cta .ar-cta-t { font-size: var(--sx-fs-20); font-weight: 800; color: #fff; margin-bottom: .3rem; }
.ar-more { margin-top: 2.2rem; }
.ar-more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ar-more ul { grid-template-columns: 1fr 1fr; } }
.ar-more a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--sx-white); border: 1px solid var(--sx-line); border-radius: var(--sx-r-sm); color: var(--sx-navy); font-weight: 700; text-decoration: none; }
.ar-more a:hover { border-color: var(--sx-action); }
.ar-more .sx-i { width: 18px; height: 18px; color: var(--sx-action); flex: none; }

.ar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ar-list a { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; background: var(--sx-white); border: 1px solid var(--sx-line); border-radius: var(--sx-r-card); text-decoration: none; color: var(--sx-text); box-shadow: var(--sx-shadow-sm); }
.ar-list a:hover { border-color: var(--sx-action); }
.ar-list .sx-eyebrow { margin: 0; }
.ar-list strong { font-size: var(--sx-fs-20); color: var(--sx-navy); line-height: 1.3; }
.ar-list-d { color: var(--sx-text-mid); }
.ar-list-m { margin-top: 6px; color: var(--sx-action); font-weight: 700; font-size: var(--sx-fs-14); display: inline-flex; align-items: center; gap: 6px; }
.ar-list-m .sx-i { width: 14px; height: 14px; }
