/* Gabarit des 55 articles /blog/{slug} — bibliotheque de blocs de contenu
   reutilisables (chaque article combine un sous-ensemble different : .tool-
   card et .persona-card-a sont sur 55/55 pages, .table-comparatif 45/55,
   .warning-box/.tip-box/.key-point 20-24/55, .highlight 17/55, .moltow-hook-
   box 11/55, .checklist 4/55 — les blocs absents d'un article donne n'ont
   simplement aucun effet, rien a conditionner cote CSS). Template magazine
   distinct du reste du site : polices Newsreader (titres) + Geist/Geist Mono
   (texte), chargees via Google Fonts dans le head de chaque page deposee.
   CSS mort confirme non repris, memes motifs que blog-silo.css : bloc
   <style id="header-refonte"> (cible les ID reels #site-header/#site-footer,
   deja couverts globalement — a ne pas porter, risque de conflit) ; le
   <footer id="site-footer"> duplique en dur dans le body (garder uniquement
   #moltow-footer) ; le script de "reparation" d'images cassees en fin de
   page (bricolage pour l'hebergement de la source, sans utilite sur beta). */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
/* Pas de font-size sur html : rem est toujours relatif a la racine du
   document entier (partagee avec #site-header/#site-footer, qui l'utilisent
   abondamment) — la source posait 18px ici, ce qui gonflait le header
   partage sur cette seule famille de pages. .article-main p utilise 18px en
   dur plus bas pour obtenir le meme rendu sans toucher au root. */
html { scroll-behavior: smooth; }
/* line-height 1.6 (pas le 1.8 de la source) : herite dans le header/footer
   partages (rem/em non concernes mais line-height si, meme bug que sur
   realisations-detail.css) — 1.6 est la valeur commune a tout le site. Le
   corps de texte reel garde son propre line-height explicite (.hero-intro,
   .article-main p...), inchange par ce choix. */
body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #555;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: #8a6248; text-decoration: none; transition: color .2s; }
a:hover { color: #684735; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: #eee2d7; }

/* ========== BREADCRUMB ========== */
.breadcrumb { max-width: 1080px; margin: 0 auto; padding: 16px 24px; font-size: 13px; color: #aaa; }
.breadcrumb a { color: #888; font-weight: 500; }
.breadcrumb span { margin: 0 8px; color: #ccc; }

/* ========== HERO ========== */
.hero { max-width: 1080px; margin: 0 auto; padding: 0 24px 48px; }
.hero-top { margin-bottom: 32px; }
.hero-cat { display: inline-block; background: #8a6248; color: #fff; padding: 5px 14px; border-radius: 4px; font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { font-family: 'Newsreader', Georgia, serif; font-size: clamp(32px, 5vw, 52px); font-weight: 500; line-height: 1.15; color: #111; margin-bottom: 20px; letter-spacing: -.02em; max-width: 800px; }
.hero-intro { font-size: 19px; line-height: 1.7; color: #666; max-width: 640px; margin-bottom: 24px; }
.hero-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #888; }
.hero-meta .hero-avatar { width: 36px; height: 36px; border-radius: 50%; background: #e5e5e5; }
.hero-meta strong { color: #333; font-weight: 600; }
.hero-share { display: flex; gap: 8px; margin-left: auto; }
.hero-share a { width: 32px; height: 32px; border-radius: 8px; background: #f2f2f1; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #888; transition: all .2s; }
.hero-share a:hover { background: #8a6248; color: #fff; }
.hero-image { width: 100%; aspect-ratio: 21/9; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #E8E0D4 0%, #D4C5A9 50%, #C4B5A0 100%); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ========== LAYOUT PRINCIPAL ========== */
.article-wrap { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 260px; gap: 64px; padding: 48px 24px 80px; align-items: start; }
.article-main { max-width: 680px; min-width: 0; }

/* ========== SIDEBAR ========== */
.sidebar { position: sticky; top: 32px; }
.toc-card { border: 1px solid #e5e5e5; border-radius: 12px; padding: 24px; background: #fff; }
.toc-card h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #aaa; margin-bottom: 16px; }
.toc-card ol { list-style: none; counter-reset: toc; }
.toc-card li { counter-increment: toc; margin-bottom: 2px; }
.toc-card li a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; color: #666; transition: all .15s; line-height: 1.4; }
.toc-card li a:hover { background: #f2f2f1; color: #111; }
.toc-card li a::before { content: counter(toc, decimal-leading-zero) "  "; font-family: 'Geist Mono', monospace; font-size: 11px; color: #aaa; }
.sidebar-cta { margin-top: 20px; background: #8a6248; border-radius: 16px; overflow: hidden; color: #fff; }
.sidebar-cta-body { padding: 20px 20px 24px; text-align: center; }
.sidebar-cta-logo { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 2px; }
.sidebar-cta-title { font-family: 'Newsreader', Georgia, serif; font-size: 19px; font-weight: 500; color: #fff; margin-bottom: 8px; line-height: 1.3; }
.sidebar-cta-price { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.sidebar-cta-price strong { color: #fff; font-size: 18px; font-weight: 600; }
.sidebar-cta .btn-cta-white { display: block; background: #fff; color: #8a6248 !important; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 14px; text-align: center; text-decoration: none; transition: all .2s; }

/* ========== TOOL CARD (outil gratuit) ========== */
.tool-card { position: relative; margin: 44px 0; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #fbf8f3 0%, #eee2d7 100%); border: 1px solid rgba(138, 98, 72, .1); color: #111; display: grid; grid-template-columns: 1fr auto; min-height: 200px; transition: transform .25s ease, box-shadow .25s ease; text-decoration: none; }
.tool-card:hover { transform: translateY(-3px); box-shadow: 0 20px 60px rgba(138, 98, 72, .1); }
.tool-card-content { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.tool-card-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(138, 98, 72, .1); color: #8a6248; padding: 6px 14px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; width: fit-content; }
.tool-card-badge::before { content: '⚡'; font-size: 12px; }
.tool-card-title { font-family: 'Newsreader', Georgia, serif; font-size: clamp(22px, 2.5vw, 26px); font-weight: 500; color: #111; line-height: 1.2; }
.tool-card-desc { font-size: 15px; color: #666; line-height: 1.55; }
.tool-card-cta { display: inline-flex; align-items: center; gap: 10px; background: #8a6248; color: #fff !important; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none !important; width: fit-content; margin-top: 4px; transition: all .2s; }
.tool-card-cta:hover { background: #684735; }
.tool-card-cta::after { content: '→'; font-size: 16px; }
.tool-card-visual { display: flex; align-items: center; justify-content: center; padding: 32px 40px; }
.tool-card-icon { width: 110px; height: 110px; background: #fff; border: 1px solid rgba(138, 98, 72, .08); border-radius: 22px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(138, 98, 72, .06); font-size: 48px; }

/* ========== PERSONA CARD (CTA ciblee par profil) ========== */
.persona-card-a { position: relative; margin: 36px 0; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #332820 0%, #3b2d25 50%, #684735 100%); color: #fff; display: grid; grid-template-columns: 1fr auto; min-height: 220px; transition: transform .25s ease, box-shadow .25s ease; text-decoration: none; }
.persona-card-a:hover { transform: translateY(-3px); box-shadow: 0 20px 60px rgba(138, 98, 72, .2); }
.persona-card-a::before { content: ''; position: absolute; top: -50%; right: -20%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(138, 98, 72, .15) 0%, transparent 70%); pointer-events: none; }
.pca-content { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 12px; position: relative; z-index: 1; }
.pca-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(138, 98, 72, .25); color: #c5a88f; padding: 6px 14px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; width: fit-content; }
.pca-title { font-family: 'Newsreader', Georgia, serif; font-size: clamp(22px, 2.5vw, 26px); font-weight: 500; color: #fff; line-height: 1.25; }
.pca-desc { font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.55; }
.pca-stats { display: flex; gap: 24px; margin-top: 4px; }
.pca-stat { font-size: 13px; color: rgba(255,255,255,.5); }
.pca-stat strong { color: #EA580C; font-size: 18px; font-weight: 700; display: block; margin-bottom: 2px; }
.pca-cta { display: inline-flex; align-items: center; gap: 10px; background: #8a6248; color: #fff !important; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none !important; width: fit-content; margin-top: 4px; transition: all .2s; }
.pca-cta:hover { background: #684735; }
.pca-cta::after { content: '→'; font-size: 16px; }
.pca-visual { display: flex; align-items: center; justify-content: center; padding: 32px 40px; position: relative; z-index: 1; }
.pca-icon { width: 110px; height: 110px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; display: flex; align-items: center; justify-content: center; font-size: 48px; }
/* Priorite sur les styles generiques d'.article-main (titres/liens/paragraphes) */
.article-main .persona-card-a .pca-title { color: #fff !important; text-decoration: none !important; border: none !important; margin: 0 !important; padding: 0 !important; scroll-margin-top: 0 !important; }
.article-main .persona-card-a .pca-desc { color: rgba(255,255,255,.7) !important; margin-bottom: 0 !important; }
.article-main .persona-card-a .pca-badge { color: #c5a88f !important; }
.article-main .persona-card-a .pca-stat { color: rgba(255,255,255,.5) !important; }
.article-main .persona-card-a .pca-stat strong { color: #EA580C !important; }
.article-main .persona-card-a .pca-cta { color: #fff !important; text-decoration: none !important; }
.article-main .persona-card-a h3 { color: #fff !important; border-bottom: none !important; padding-bottom: 0 !important; margin: 0 !important; }
.article-main .persona-card-a p { color: rgba(255,255,255,.7) !important; margin-bottom: 0 !important; }
.article-main .persona-card-a a { text-decoration: none !important; color: #fff !important; }

/* ========== TYPOGRAPHIE ARTICLE ========== */
.article-main h2 { font-family: 'Newsreader', Georgia, serif; font-size: clamp(26px, 3.5vw, 34px); font-weight: 500; color: #111; margin: 64px 0 20px; line-height: 1.2; scroll-margin-top: 32px; padding-bottom: 16px; border-bottom: 1px solid #e5e5e5; }
.article-main h2:first-of-type { margin-top: 0; }
.article-main h3 { font-family: 'Newsreader', Georgia, serif; font-size: 22px; font-weight: 500; color: #111; margin: 40px 0 14px; line-height: 1.3; }
.article-main p { margin-bottom: 22px; font-size: 18px; color: #555; line-height: 1.7; }
.article-main strong { color: #333; font-weight: 600; }
.article-main a { text-decoration: underline; text-decoration-color: rgba(138, 98, 72, .3); text-underline-offset: 3px; }
.article-main ul, .article-main ol { margin: 20px 0; padding-left: 24px; }
.article-main li { margin-bottom: 10px; color: #555; }

.highlight { font-family: 'Newsreader', Georgia, serif; font-size: 22px; font-style: italic; color: #111; line-height: 1.5; border-left: 3px solid #8a6248; padding: 4px 0 4px 24px; margin: 36px 0; }

.key-point { background: #eee2d7; border: 1px solid #d8c6b6; border-radius: 12px; padding: 24px 28px; margin: 28px 0; display: flex; gap: 16px; align-items: flex-start; }
.key-point .key-point-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; background: #d8c6b6; }
.key-point-content h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: #684735; }
.key-point-content p { margin: 0; font-size: 15px; line-height: 1.65; color: #555; }

.warning-box { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 12px; padding: 24px 28px; margin: 28px 0; display: flex; gap: 16px; align-items: flex-start; }
.warning-box .icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; background: #FDE68A; }
.warning-box h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: #D97706; }
.warning-box p { margin: 0; font-size: 15px; line-height: 1.65; color: #555; }

.tip-box { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 12px; padding: 24px 28px; margin: 28px 0; display: flex; gap: 16px; align-items: flex-start; }
.tip-box .icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; background: #BBF7D0; }
.tip-box h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: #16A34A; }
.tip-box p { margin: 0; font-size: 15px; line-height: 1.65; color: #555; }

.table-wrapper { overflow-x: auto; margin: 28px 0; border-radius: 12px; border: 1px solid #e5e5e5; }
.table-comparatif { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-comparatif th { background: #1a1a1a; color: #fff; padding: 12px 18px; text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.table-comparatif td { padding: 12px 18px; border-bottom: 1px solid #f2f2f1; color: #555; }
.table-comparatif tr:hover { background: #f2f2f1; }

.moltow-hook-box { background: #111; border-radius: 16px; padding: 48px 36px; text-align: center; margin: 36px 0; position: relative; overflow: hidden; }
.moltow-hook-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(234,88,12,.08), transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(138, 98, 72, .06), transparent 60%); }
.hook-stat { font-family: 'Newsreader', Georgia, serif; font-size: clamp(48px, 8vw, 72px); font-weight: 400; color: #EA580C; line-height: 1; margin-bottom: 12px; position: relative; }
.hook-text { font-size: 18px; color: rgba(255,255,255,.8); max-width: 440px; margin: 0 auto 8px; position: relative; line-height: 1.5; }
.hook-subtext { font-size: 14px; color: rgba(255,255,255,.35); position: relative; font-style: italic; }

.checklist { border: 1px solid #e5e5e5; border-radius: 12px; padding: 28px; margin: 28px 0; }
.checklist h4 { font-size: 16px; font-weight: 600; margin-bottom: 16px; color: #111; }
.checklist-items { display: grid; gap: 6px; }
.checklist-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; background: #f2f2f1; border-radius: 8px; }
.checklist-item .check { width: 22px; height: 22px; background: #16A34A; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; font-size: 11px; font-weight: 800; }
.checklist-item span { font-size: 15px; color: #555; }

/* ========== FAQ (accordeon exclusif) ========== */
.faq-section { margin: 28px 0; border-top: 1px solid #e5e5e5; }
.faq-item { border-bottom: 1px solid #e5e5e5; }
.faq-question { font-family: 'Newsreader', Georgia, serif; font-size: 18px; font-weight: 400; padding: 20px 0; color: #111; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; font-family: 'Geist', sans-serif; font-size: 22px; color: #ccc; transition: transform .3s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); color: #EA580C; }
.faq-answer { font-size: 15px; color: #666; line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; padding: 0; margin: 0; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }

/* ========== ARTICLES LIES ========== */
.related { max-width: 1080px; margin: 0 auto; padding: 48px 24px 64px; border-top: 1px solid #e5e5e5; }
.related h3 { font-family: 'Newsreader', Georgia, serif; font-size: 24px; font-weight: 400; color: #111; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { text-decoration: none; color: #333; transition: transform .2s; }
.related-card:hover { transform: translateY(-3px); }
.related-card .thumb { height: 160px; border-radius: 12px; overflow: hidden; margin-bottom: 12px; background: #e5e5e5; }
.related-card .cat { font-size: 11px; font-weight: 600; color: #8a6248; text-transform: uppercase; letter-spacing: .5px; }
.related-card h4 { font-family: 'Newsreader', Georgia, serif; font-size: 18px; font-weight: 400; margin: 4px 0; line-height: 1.3; }
.related-card .meta { font-size: 12px; color: #aaa; }

/* ========== CTA MOBILE STICKY / BARRE DE PROGRESSION ========== */
.sticky-cta-mobile { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; padding: 10px 16px; box-shadow: 0 -1px 12px rgba(0,0,0,.05); z-index: 1000; gap: 10px; justify-content: center; border-top: 1px solid #e5e5e5; }
.progress { position: fixed; top: 0; left: 0; height: 2px; background: #8a6248; z-index: 9999; transition: width .1s; width: 0; }

.btn-moltow { display: inline-flex; align-items: center; gap: 8px; background: #8a6248; color: #fff !important; padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: all .2s; border: none; cursor: pointer; text-decoration: none !important; }
.btn-moltow:hover { background: #684735; }
.btn-tel { display: inline-flex; align-items: center; gap: 6px; background: #16A34A; color: #fff !important; padding: 12px 18px; border-radius: 8px; font-weight: 600; font-size: 13px; text-decoration: none; }

@media (max-width: 900px) {
  .article-wrap { grid-template-columns: 1fr; gap: 0; }
  .sidebar { display: none; }
  .tool-card, .persona-card-a { grid-template-columns: 1fr; min-height: auto; }
  .tool-card-visual, .pca-visual { display: none; }
  .tool-card-content, .pca-content { padding: 28px 24px; }
}
@media (max-width: 768px) {
  .article-main p { font-size: 16px; }
  .hero h1 { font-size: 30px; }
  .hero-image { aspect-ratio: 16/9; border-radius: 12px; }
  .hero-share { display: none; }
  .article-main h2 { margin: 48px 0 16px; }
  .key-point, .warning-box, .tip-box { flex-direction: column; gap: 10px; padding: 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .sticky-cta-mobile { display: flex; }
}
