/* Créatis — feuille de style partagée des articles de blog (gabarit "blog-nav") */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080A0F;
  --card: #10141C;
  --paper: #F2F4F7;
  --muted: #8A93A3;
  --green: #10b981;
  --line: rgba(255,255,255,0.08);
}

body { background: var(--bg); color: var(--paper); font-family: 'Hanken Grotesk', sans-serif; line-height: 1.7; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Navigation */
.blog-nav { position: sticky; top: 0; z-index: 50; background: rgba(8,10,15,0.9); backdrop-filter: blur(12px); padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.blog-nav .logo { font-weight: 800; font-size: 1.2rem; color: var(--paper); display: flex; align-items: center; gap: 8px; }
.blog-nav .logo span { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(180deg, var(--green), #059669); display: flex; align-items: center; justify-content: center; color: #05140B; font-weight: 800; font-size: 0.9rem; }
.blog-cta { background: var(--green); color: #05140B; font-weight: 700; padding: 8px 18px; border-radius: 99px; font-size: 0.85rem; }

/* Article */
article { max-width: 720px; margin: 0 auto; padding: 60px 24px 80px; }
article .meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 32px; }
article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.02em; }
article h2 { font-size: 1.4rem; font-weight: 700; margin: 36px 0 14px; color: var(--paper); }
article h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px; }
article p { color: var(--muted); margin-bottom: 16px; font-size: 1.02rem; }
article strong { color: var(--paper); }
article li { margin-bottom: 8px; }
article ul, article ol { color: var(--muted); margin: 0 0 16px 20px; font-size: 1.02rem; }
article table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 0.95rem; }
article th { color: var(--paper); font-weight: 700; }
article th, article td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); }

/* Tables hors article */
table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.95rem; }
th { color: var(--paper); font-weight: 700; background: var(--card); }
td { color: var(--muted); }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }

/* Encart réponse directe (AEO) */
.answer-box { background: var(--card); border: 1px solid rgba(16,185,129,0.3); border-left: 3px solid var(--green); border-radius: 12px; padding: 20px 24px; margin: 0 0 32px; }
.answer-box p { margin: 0; color: var(--paper); font-size: 1.05rem; }

/* Stats */
.stats-row { display: flex; gap: 16px; margin: 0 0 32px; flex-wrap: wrap; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; flex: 1; min-width: 140px; }
.stat-num { font-size: 1.6rem; font-weight: 800; color: var(--green); }
.stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

/* CTA */
.cta-box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; text-align: center; margin: 36px 0; }
.cta-box h3 { color: var(--paper); margin-bottom: 8px; }
.cta-box p { margin-bottom: 16px; }
.cta-box .btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(180deg, var(--green), #059669); color: #05140B; font-weight: 700; padding: 14px 28px; border-radius: 99px; font-size: 1rem; }

/* FAQ */
.faq-section { margin-top: 40px; }
.faq-section details { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; background: var(--card); }
.faq-section summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: "+"; color: var(--green); font-size: 1.3rem; }
.faq-section details[open] summary::after { content: "−"; }
.faq-section details p { margin-top: 12px; font-size: 0.92rem; }

/* Footer */
.blog-footer { border-top: 1px solid var(--line); padding: 30px 24px; text-align: center; font-size: 0.8rem; color: var(--muted); }
