/* Gabarit des 5 pages "silo" (hubs thematiques) /blog/silo-{slug} — CSS
   quasi-identique sur les 5 pages source (4/5 en MD5 strictement identique).
   Template magazine distinct du reste du site (polices Newsreader/Geist,
   chargees via Google Fonts dans le head de chaque page deposee — pas
   ailleurs sur beta), lui-meme distinct du gabarit article (blog-article.css)
   malgre quelques classes visuellement proches (.hero-image, boutons cta-final).
   CSS mort confirme non repris : bloc <style id="header-refonte"> qui
   redefinit integralement #site-header/#site-footer/aside[role="note"] —
   cible les MEMES ID que Header.astro/Footer.astro reels, deja couverts par
   header-styles.css/footer-styles.css, a ne surtout pas porter (conflit
   potentiel, pas juste redondance). Le <footer id="site-footer"> duplique en
   dur dans le body (en plus du placeholder #moltow-footer) n'est pas repris
   non plus, meme motif que le tout premier lot "pour qui". Le script de
   "reparation" d'images cassees (retry avec cache-busting) est un bricolage
   pour l'hebergement de la source, sans utilite sur beta — non repris. */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #111;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ========== HERO (article a la une) ========== */
.hero { max-width: 1200px; margin: 0 auto; padding: 48px 24px 0; }
.hero-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-image { aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #e8e6ff 0%, #f0eeff 50%, #ede8ff 100%); position: relative; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-text { padding: 20px 0; }
.hero-badge { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #8a6248; margin-bottom: 16px; }
.hero-title { font-family: 'Newsreader', Georgia, serif; font-size: clamp(28px, 3.5vw, 44px); font-weight: 400; line-height: 1.15; margin-bottom: 16px; letter-spacing: -.01em; }
.hero-excerpt { font-size: 17px; line-height: 1.6; color: #666; margin-bottom: 24px; max-width: 480px; }
.hero-meta { font-size: 13px; color: #999; }
.hero-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: #8a6248; margin-top: 20px; transition: gap .2s; }
.hero-link:hover { gap: 10px; }

/* ========== SEPARATEURS / EN-TETES DE SECTION ========== */
.section-divider { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-divider hr { border: none; border-top: 1px solid #e8e8e8; margin: 56px 0 0; }
.section-header { max-width: 1200px; margin: 0 auto; padding: 40px 24px 0; display: flex; align-items: baseline; justify-content: space-between; }
.section-title { font-family: 'Newsreader', Georgia, serif; font-size: clamp(22px, 2.5vw, 32px); font-weight: 400; letter-spacing: -.01em; }
.section-count { font-size: 14px; color: #999; }
.section-subtitle { max-width: 700px; margin: 0 auto; padding: 8px 24px 0; font-size: 16px; color: #666; }

/* ========== GRILLE D'ARTICLES ========== */
.articles-grid { max-width: 1200px; margin: 0 auto; padding: 32px 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.article-card { display: flex; flex-direction: column; transition: transform .2s; }
.article-card:hover { transform: translateY(-4px); }
.article-card:hover .card-image img { transform: scale(1.03); }
.card-image { aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #f7f7f7; margin-bottom: 16px; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card-category { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #8a6248; margin-bottom: 8px; }
.card-title { font-family: 'Newsreader', Georgia, serif; font-size: 20px; font-weight: 400; line-height: 1.3; margin-bottom: 8px; }
.card-excerpt { font-size: 14px; color: #666; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.card-meta { font-size: 13px; color: #999; margin-top: auto; }

/* ========== NAV PAR THEMATIQUE ========== */
.topics-nav { max-width: 1200px; margin: 0 auto; padding: 32px 24px 0; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.topic-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 100px; border: 1px solid #e8e8e8; font-size: 14px; font-weight: 500; color: #666; transition: all .2s; background: #fff; }
.topic-pill:hover { border-color: #8a6248; color: #8a6248; background: #EDEDFD; }
.topic-pill.active { background: #111; color: #fff; border-color: #111; }

/* ========== BANDEAU CTA (bas de page) ========== */
.cta-banner { max-width: 1200px; margin: 64px auto 0; padding: 0 24px; }
.cta-inner { background: #111; border-radius: 20px; padding: 56px 48px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-text h2 { font-family: 'Newsreader', Georgia, serif; font-size: clamp(24px, 2.5vw, 34px); font-weight: 400; color: #fff; margin-bottom: 12px; }
.cta-text p { font-size: 16px; color: rgba(255,255,255,.65); max-width: 460px; }
.cta-stats { display: flex; gap: 32px; margin-top: 24px; }
.cta-stat-val { font-family: 'Newsreader', Georgia, serif; font-size: 28px; color: #fff; font-weight: 300; }
.cta-stat-label { font-size: 12px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .05em; }
.cta-buttons { display: flex; flex-direction: column; gap: 12px; }
.btn-cta-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; background: #fff; color: #111; border-radius: 12px; font-size: 15px; font-weight: 600; transition: all .2s; white-space: nowrap; border: none; cursor: pointer; }
.btn-cta-primary:hover { background: #f7f7f7; transform: translateY(-1px); }
.btn-cta-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; font-size: 15px; font-weight: 500; transition: all .2s; white-space: nowrap; cursor: pointer; }
.btn-cta-secondary:hover { border-color: rgba(255,255,255,.5); }

/* ========== CTA PACKS (grille de prix) ========== */
.cta-packs-section { background: #f3ede5; border-radius: 16px; padding: 36px; margin: 80px auto 48px; max-width: 900px; text-align: center; }
.cta-packs-section h3 { font-family: 'Newsreader', Georgia, serif; font-size: 28px; font-weight: 500; margin-bottom: 8px; }
.cta-packs-section .subtitle { color: #666; margin-bottom: 24px; }
.packs-grid-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 600px; margin: 0 auto 24px; }
.pack-mini-card { display: block; text-decoration: none; color: inherit; background: #fff; border-radius: 10px; padding: 20px 16px; text-align: center; border: 1px solid #e5e7eb; transition: all .2s; }
.pack-mini-card:hover { border-color: #8a6248; box-shadow: 0 4px 12px rgba(138, 98, 72, .15); transform: translateY(-2px); }
.pack-type { font-size: 13px; font-weight: 600; color: #111; margin-bottom: 4px; }
.pack-price { font-family: 'Newsreader', Georgia, serif; font-size: 22px; font-weight: 500; color: #8a6248; }
.pack-loa { font-size: 11px; color: #888; }

/* ========== CTA FINAL ========== */
.cta-final { background: linear-gradient(135deg, #8a6248, #684735); border-radius: 16px; padding: 40px 36px; margin: 32px auto; max-width: 900px; text-align: center; color: #fff; }
.cta-final h2 { font-family: 'Newsreader', Georgia, serif; font-size: 26px; font-weight: 500; color: #fff; margin-bottom: 8px; }
.cta-final p { color: rgba(255,255,255,.85); margin-bottom: 20px; }
.cta-final .cta-pricing { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 16px; }
.cta-final .cta-buttons { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cta-final .btn-moltow { background: #fff; color: #8a6248; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; display: inline-block; width: auto; max-width: 280px; margin: 0 auto; }
.cta-final .btn-moltow-secondary { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none; display: inline-block; width: auto; max-width: 280px; margin: 0 auto; }

/* ========== SEO / MAILLAGE INTER-SILOS ========== */
.seo-content { max-width: 900px; margin: 48px auto; padding: 0 36px; }
.seo-content h2 { font-family: 'Newsreader', Georgia, serif; font-size: 26px; font-weight: 500; color: #111; margin-bottom: 24px; line-height: 1.3; }
.seo-content p { font-size: 15px; line-height: 1.75; color: #444; margin-bottom: 18px; }
.seo-content strong { color: #111; font-weight: 600; }

.explore-silos { max-width: 900px; margin: 60px auto; padding: 0 24px; }
.explore-silos h2 { font-family: 'Newsreader', Georgia, serif; font-size: 24px; font-weight: 500; color: #111; margin-bottom: 24px; text-align: center; }
.silos-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.silo-link { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; border: 1px solid #e5e7eb; border-radius: 12px; text-decoration: none; color: inherit; transition: all .2s; }
.silo-link:hover { border-color: #8a6248; box-shadow: 0 2px 8px rgba(138, 98, 72, .1); transform: translateY(-1px); }
.silo-link-icon { font-size: 24px; flex-shrink: 0; width: 40px; height: 40px; background: #f3f4f6; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.silo-link-text h3 { font-family: 'Geist', -apple-system, sans-serif; font-size: 14px; font-weight: 600; color: #111; margin: 0 0 4px; }
.silo-link-text p { font-size: 12px; color: #666; margin: 0; line-height: 1.4; }
.silo-link-meta { font-size: 11px; color: #999; margin-top: 4px; }

/* ========== BREADCRUMB ========== */
.breadcrumb { max-width: 1200px; margin: 16px auto 0; padding: 0 24px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: #999; }
.breadcrumb a { color: #999; text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: #8a6248; }
.breadcrumb span { color: #666; font-weight: 500; }

@media (max-width: 900px) {
  .hero-featured { grid-template-columns: 1fr; gap: 24px; }
  .hero-text { order: 2; padding: 0; }
  .hero-image { order: 1; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cta-inner { grid-template-columns: 1fr; padding: 40px 32px; }
}
@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-title { font-size: 28px; }
  .topics-nav { gap: 8px; }
  .topic-pill { padding: 8px 14px; font-size: 13px; }
  .cta-inner { padding: 32px 24px; }
  .cta-stats { gap: 20px; }
  .packs-grid-mini { grid-template-columns: repeat(2, 1fr); }
  .silos-links { grid-template-columns: 1fr; }
}
