/* blog.css — styles du blog BigFive Coworking.
 *
 * STUB PROVISOIRE (30/07/2026). En attente de la référence blog.css de Rhiino
 * (demandée via le canal handoff : handoff-rhiino-blog-css.md) pour caler la
 * structure, puis réadaptation complète à la charte BigFive (navy #121D2F /
 * corail #EB4C51, Playfair Display + Inter). Ce fichier évite un 404 de la
 * feuille de style et pose des règles minimales lisibles en attendant.
 *
 * Classes ciblées : .blog-index-hero .blog-filters .blog-filter .blog-grid
 * .blog-card .blog-article-hero .blog-theme-badge .blog-article-wrap .blog-toc
 * .blog-share .blog-cta-inline .blog-faq .blog-author-box .blog-related
 * .blog-cta-final .reading-progress .blog-cover-fallback
 */

/* --- Grille de cartes (liste + hubs) --- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0 3rem; }
.blog-card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; background: var(--navy-surface, #1B2740); }
.blog-card-cover { position: relative; aspect-ratio: 16 / 9; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-cover-fallback { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #121D2F, #EB4C51); color: #fff; font-weight: 600; }
.blog-card-badge { position: absolute; top: .6rem; left: .6rem; background: #EB4C51; color: #fff; font-size: .72rem; padding: .2rem .6rem; border-radius: 999px; }
.blog-card-body { padding: 1rem 1.1rem 1.2rem; }
.blog-card-body h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.blog-card-meta { font-size: .8rem; opacity: .7; margin-top: .6rem; }

/* --- Filtres --- */
.blog-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.blog-filter { border: 1px solid rgba(255,255,255,.25); background: transparent; color: inherit; padding: .4rem .9rem; border-radius: 999px; cursor: pointer; }
.blog-filter.is-active { background: #EB4C51; border-color: #EB4C51; color: #fff; }

/* --- Article --- */
.blog-article-wrap { display: block; max-width: 760px; margin: 0 auto; padding: 2rem 0 3rem; }
.blog-article-wrap.has-aside { display: grid; grid-template-columns: 230px 1fr; gap: 2.5rem; align-items: start; max-width: 1040px; }
.blog-article-body { line-height: 1.7; min-width: 0; }
.blog-theme-badge { display: inline-block; background: #EB4C51; color: #fff; padding: .2rem .7rem; border-radius: 999px; text-decoration: none; font-size: .8rem; margin-bottom: .8rem; }
.blog-article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; font-size: .85rem; }
.blog-author-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

/* Colonne de gauche fixe (sommaire + partage), sous le header */
.blog-aside { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 1.2rem; }
.blog-toc { border-left: 3px solid #EB4C51; padding-left: 1rem; }
.blog-toc-title { display: block; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; opacity: .7; margin-bottom: .5rem; }
.blog-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.blog-toc a { text-decoration: none; color: inherit; opacity: .85; font-size: .9rem; line-height: 1.25; display: block; }
.blog-toc a:hover { opacity: 1; color: #EB4C51; }

/* Partage sous le sommaire */
.blog-share-inline { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.blog-share-inline .blog-share-label { width: 100%; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; opacity: .7; }
.blog-share-inline .blog-share-btn { width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--navy-surface, #1B2740); color: #fff; display: grid; place-items: center; cursor: pointer; }
.blog-share-inline .blog-share-btn:hover { background: #EB4C51; }
.blog-share-inline .blog-share-btn svg { width: 17px; height: 17px; fill: currentColor; }

@media (max-width: 900px) {
  .blog-article-wrap.has-aside { display: block; max-width: 760px; }
  .blog-aside { position: static; flex-direction: column; gap: 1rem; margin-bottom: 1.8rem; }
}
.blog-cta-inline { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; background: rgba(235,76,81,.1); border-radius: 12px; padding: 1.2rem 1.4rem; margin: 1.8rem 0; }
/* FAQ : accordéon identique aux pages du site (styles .faq-acc dans style.css) */
.blog-faq { margin: 2.5rem 0; }
.blog-faq > h2 { margin-bottom: 1rem; }

/* Bloc auteur (compact, picto LinkedIn en haut à droite) */
.blog-author-box { position: relative; display: flex; gap: .9rem; align-items: flex-start; margin: 2.5rem 0; padding: 1rem 1.1rem 1.1rem; border-radius: 12px; background: var(--navy-surface, #1B2740); }
.blog-author-box picture { flex: 0 0 56px; width: 56px; height: 56px; }
.blog-author-box img { width: 56px; height: 56px; max-width: none; border-radius: 50%; object-fit: cover; display: block; }
.blog-article-meta picture { flex: 0 0 40px; }
.blog-article-meta .blog-author-avatar { max-width: none; }
.blog-author-box strong { font-size: .98rem; }
.blog-author-role { display: block; color: var(--coral-soft, #F27A7E); font-size: .8rem; margin-top: .1rem; }
.blog-author-box p { margin: .5rem 0 0; font-size: .86rem; line-height: 1.55; opacity: .92; }
.blog-author-linkedin { position: absolute; top: .7rem; right: .7rem; color: #C7D0DE; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; }
.blog-author-linkedin:hover { color: #fff; background: rgba(255,255,255,.08); }
.blog-author-linkedin svg { width: 20px; height: 20px; fill: currentColor; }

/* --- Barre de progression + partage --- */
.reading-progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: #EB4C51; z-index: 60; }
.blog-share { position: fixed; right: 1rem; bottom: 5.5rem; z-index: 50; }
.blog-share-menu { display: none; flex-direction: column; gap: .4rem; margin-bottom: .5rem; }
.blog-share.open .blog-share-menu { display: flex; }
.blog-share-btn { width: 42px; height: 42px; border-radius: 50%; border: none; background: #1B2740; color: #fff; display: grid; place-items: center; cursor: pointer; }
.blog-share-btn svg { width: 20px; height: 20px; fill: currentColor; }
.blog-share-toggle { width: 48px; height: 48px; border-radius: 50%; border: none; background: #EB4C51; color: #fff; cursor: pointer; }
.blog-share-toggle svg { width: 22px; height: 22px; fill: currentColor; }

/* --- CTA final --- */
.blog-cta-final { text-align: center; padding: 3rem 0; }
.blog-cta-btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }

/* Tags éditoriaux (sous le titre dans le hero) */
.blog-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.blog-tag { font-size: .74rem; padding: .22rem .65rem; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(2px); }

/* Images de corps : pleine largeur, ratio préservé, bords arrondis (charte site) */
.blog-figure { margin: 1.8rem 0; }
.blog-figure img { width: 100%; height: auto; border-radius: var(--radius, 14px); display: block; }
.blog-figure figcaption { font-size: .82rem; opacity: .7; text-align: center; margin-top: .5rem; }

/* « Charger plus » (liste blog, lots de 12) */
.blog-more { text-align: center; margin: .5rem 0 2.5rem; }
