/* Styles partagés – Blog AVPF (page blog + articles) */
* { font-family: 'Inter', sans-serif; }
.font-display, .prose-avpf h2, .prose-avpf blockquote { font-family: 'Fraunces', Georgia, serif; }
.urgency-bar { background: linear-gradient(90deg, #d97706, #b45309); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* Navigation */
.nav-link { position: relative; color: #475569; font-weight: 500; transition: color .2s; }
.nav-link:hover { color: #0f172a; }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: #059669; transition: width .25s; }
.nav-link:hover::after { width: 100%; }
.nav-active { color: #059669; font-weight: 600; }
.cta-primary { background: #059669; color: #fff; transition: all .2s; }
.cta-primary:hover { background: #047857; transform: translateY(-1px); box-shadow: 0 10px 15px -3px rgba(5,150,105,.3); }

/* Barre de progression de lecture */
#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, #059669, #d97706); z-index: 80; transition: width .1s; }

/* Pastilles de catégorie */
.chip { display: inline-flex; align-items: center; padding: .3rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .02em; }
.chip-red { background: #fee2e2; color: #b91c1c; }
.chip-amber { background: #fef3c7; color: #b45309; }
.chip-blue { background: #dbeafe; color: #1d4ed8; }
.chip-purple { background: #ede9fe; color: #6d28d9; }
.chip-orange { background: #ffedd5; color: #c2410c; }
.chip-emerald { background: #d1fae5; color: #047857; }
.chip-amber-solid { background: #d97706; color: #fff; }

/* Filtres */
.filter-btn { white-space: nowrap; padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid #e2e8f0; background: #fff; font-size: .85rem; font-weight: 500; color: #475569; transition: all .2s; }
.filter-btn:hover { border-color: #059669; color: #047857; }
.filter-btn.is-active { background: #0f172a; border-color: #0f172a; color: #fff; }

/* Cartes */
.post-card { transition: opacity .3s, transform .3s; }
.post-card.is-hidden { display: none; }
.featured { display: grid; background: #fff; border: 1px solid #e7e5e4; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(15,23,42,.25); }
.featured-img { aspect-ratio: 16/10; overflow: hidden; }
@media (min-width: 768px) { .featured { grid-template-columns: 1.15fr 1fr; } .featured-img { aspect-ratio: auto; min-height: 460px; } }
.quote-card { background: #fff; border: 1px solid #e7e5e4; border-radius: 24px; padding: 2rem; }
.quote-card blockquote { font-family: 'Fraunces', Georgia, serif; font-size: 1.1rem; line-height: 1.6; color: #1e293b; }
.quote-card figcaption { margin-top: 1.5rem; font-size: .85rem; color: #64748b; }
.cta-band { display: flex; flex-direction: column; gap: 2rem; justify-content: space-between; align-items: flex-start; padding: 2.5rem; border-radius: 28px; color: #fff; background: radial-gradient(circle at 90% 10%, #10b981 0, transparent 45%), linear-gradient(135deg, #065f46, #064e3b); }
@media (min-width: 768px) { .cta-band { flex-direction: row; align-items: center; padding: 3.5rem; } }

/* Contenu d'article */
.prose-avpf { font-size: 1.075rem; line-height: 1.8; color: #334155; }
.prose-avpf h2 { font-size: 2rem; line-height: 1.2; color: #0f172a; margin: 3.5rem 0 1.25rem; scroll-margin-top: 110px; font-weight: 600; }
.prose-avpf p { margin: 0 0 1.4rem; }
.prose-avpf p.lead { font-size: 1.25rem; color: #1e293b; }
.prose-avpf p.lead::first-letter { font-family: 'Fraunces', serif; float: left; font-size: 4.2rem; line-height: .9; padding: .35rem .6rem 0 0; color: #059669; font-weight: 700; }
.prose-avpf a { color: #047857; font-weight: 500; text-decoration: underline; text-decoration-color: #a7f3d0; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose-avpf a:hover { text-decoration-color: #059669; }
.prose-avpf ul, .prose-avpf ol { margin: 0 0 1.6rem; padding-left: 1.4rem; }
.prose-avpf ul li { list-style: none; position: relative; margin-bottom: .6rem; }
.prose-avpf ul li::before { content: ''; position: absolute; left: -1.2rem; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: #059669; }
.prose-avpf ol { counter-reset: step; }
.prose-avpf ol li { list-style: none; counter-increment: step; position: relative; margin-bottom: .9rem; padding-left: .8rem; }
.prose-avpf ol li::before { content: counter(step); position: absolute; left: -1.6rem; top: .15rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #0f172a; color: #fff; font-size: .8rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.prose-avpf strong { color: #0f172a; }
.prose-avpf blockquote { margin: 2.5rem 0; padding: 0 0 0 1.6rem; border-left: 3px solid #d97706; font-size: 1.5rem; line-height: 1.45; color: #0f172a; font-style: italic; }
.prose-avpf blockquote cite { display: block; margin-top: .8rem; font-family: 'Inter', sans-serif; font-size: .85rem; font-style: normal; color: #64748b; }
.callout { margin: 2.2rem 0; padding: 1.6rem 1.8rem; border-radius: 20px; background: #ecfdf5; border: 1px solid #a7f3d0; }
.callout-title { font-weight: 700; color: #065f46 !important; margin-bottom: .8rem !important; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.callout ul { margin-bottom: 0 !important; }
.art-figure { margin: 2.8rem 0; }
.art-figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 20px; }
.art-figure figcaption { font-size: .85rem; color: #64748b; margin-top: .8rem; line-height: 1.5; }
.art-figure figcaption span { display: block; font-size: .72rem; color: #94a3b8; margin-top: .2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e7e5e4; border: 1px solid #e7e5e4; border-radius: 20px; overflow: hidden; margin-bottom: 2.5rem; }
.stat { background: #fff; padding: 1.2rem 1rem; line-height: 1.3; }
@media (max-width: 520px) { .stats-grid { grid-template-columns: 1fr; } .prose-avpf h2 { font-size: 1.6rem; } .prose-avpf blockquote { font-size: 1.25rem; } }

/* Sommaire, partage, auteur */
.toc-link { display: block; padding: .45rem 0 .45rem .9rem; border-left: 2px solid #e2e8f0; color: #64748b; transition: all .2s; line-height: 1.4; }
.toc-link:hover { color: #0f172a; }
.toc-link.is-active { border-color: #059669; color: #047857; font-weight: 600; }
.share-btn { width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid #e2e8f0; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: #334155 !important; transition: all .2s; text-decoration: none !important; }
.share-btn:hover { background: #0f172a; color: #fff !important; border-color: #0f172a; }
.author-box { display: flex; gap: 1.2rem; margin-top: 2rem; padding: 1.6rem; background: #fff; border: 1px solid #e7e5e4; border-radius: 20px; }
.author-box p { margin: 0; }
.pn-link { display: block; padding: 1.6rem; background: #fff; border: 1px solid #e7e5e4; border-radius: 20px; transition: all .2s; }
.pn-link:hover { border-color: #059669; box-shadow: 0 10px 25px -15px rgba(5,150,105,.4); }
