/* Beewiip — styles communs aux pages éditoriales (landing, guides, légal, etc.) */
*,*::before,*::after { box-sizing: border-box; }
:root {
  --bg: #0a0a0f;
  --bg-2: #12121a;
  --surface: #1a1a26;
  --surface-2: #21212f;
  --border: rgba(255,255,255,0.08);
  --text: #f1f1f5;
  --text-dim: #a0a0b3;
  --text-faint: #6a6a7e;
  --accent: #7c5cff;
  --accent-2: #a78bfa;
  --gold: #f0b45a;
  --positive: #22c55e;
  --negative: #ef4444;
}
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; background: rgba(10,10,15,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); z-index: 100; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--text); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand .beta { font-size: 10px; background: linear-gradient(135deg,var(--gold),#d99340); color: #1a1a1a; padding: 2px 7px; border-radius: 4px; margin-left: 4px; font-weight: 800; letter-spacing: 0.05em; }
.nav-links { display: flex; gap: 24px; align-items: center; font-size: 14px; color: var(--text-dim); }
.nav-links a:hover { color: var(--text); }
.nav-cta { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; padding: 9px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; transition: transform 0.15s, box-shadow 0.15s; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(124,92,255,0.35); }
@media (max-width: 700px) { .nav-links { display: none; } }

/* Buttons */
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; padding: 14px 32px; border-radius: 12px; font-weight: 700; font-size: 15px; transition: transform 0.15s, box-shadow 0.2s; border: none; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124,92,255,0.4); }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); padding: 14px 26px; border-radius: 12px; font-weight: 600; font-size: 15px; transition: background 0.15s; }
.btn-ghost:hover { background: var(--surface); }

/* Article (guides, pages éditoriales) */
.article-hero { padding: 60px 20px 30px; text-align: center; max-width: 800px; margin: 0 auto; }
.article-hero .breadcrumb { font-size: 13px; color: var(--text-faint); margin-bottom: 16px; }
.article-hero .breadcrumb a { color: var(--text-dim); }
.article-hero .breadcrumb a:hover { color: var(--text); }
.article-hero h1 { font-size: clamp(28px, 4.5vw, 44px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 18px; }
.article-hero .lede { font-size: 17px; color: var(--text-dim); margin: 0; max-width: 680px; margin-left: auto; margin-right: auto; }
.article-hero .meta { display: inline-flex; gap: 14px; font-size: 12.5px; color: var(--text-faint); margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.article-hero .meta span { display: inline-flex; align-items: center; gap: 4px; }

.article-content { max-width: 720px; margin: 0 auto; padding: 30px 20px 60px; font-size: 16px; color: var(--text); }
.article-content h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -0.01em; margin: 50px 0 18px; line-height: 1.3; }
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { font-size: clamp(18px, 2.4vw, 21px); font-weight: 700; margin: 36px 0 12px; line-height: 1.35; }
.article-content p { color: var(--text); line-height: 1.75; margin: 0 0 18px; }
.article-content ul, .article-content ol { padding-left: 22px; margin: 0 0 22px; color: var(--text); }
.article-content li { line-height: 1.75; margin-bottom: 6px; }
.article-content a { color: var(--accent-2); border-bottom: 1px solid rgba(167,139,250,0.3); transition: border-color 0.15s; }
.article-content a:hover { border-color: var(--accent-2); }
.article-content blockquote { border-left: 3px solid var(--accent); padding: 12px 18px; margin: 22px 0; background: var(--surface); border-radius: 0 10px 10px 0; color: var(--text-dim); font-size: 15px; }
.article-content code { background: var(--surface-2); padding: 2px 6px; border-radius: 4px; font-size: 13.5px; font-family: "SF Mono", Menlo, Consolas, monospace; color: var(--accent-2); }
.article-content table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; }
.article-content th, .article-content td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.article-content th { font-weight: 700; color: var(--text); background: var(--surface); }
.article-content td { color: var(--text-dim); }
.article-content .callout { background: linear-gradient(135deg, rgba(124,92,255,0.08), rgba(167,139,250,0.04)); border: 1px solid rgba(124,92,255,0.2); border-radius: 12px; padding: 18px 22px; margin: 24px 0; }
.article-content .callout strong { color: var(--accent-2); }
.article-content .warn { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.25); border-radius: 12px; padding: 16px 20px; margin: 22px 0; font-size: 14.5px; }
.article-content .warn strong { color: #fca5a5; }

/* CTA en bas d'article */
.article-cta { background: linear-gradient(135deg, rgba(124,92,255,0.12), rgba(167,139,250,0.05)); border: 1px solid rgba(124,92,255,0.2); border-radius: 18px; padding: 32px; text-align: center; margin: 50px 0 0; }
.article-cta h3 { font-size: 20px; margin: 0 0 8px; }
.article-cta p { color: var(--text-dim); margin: 0 0 18px; }

/* Related guides */
.related-guides { max-width: 720px; margin: 50px auto 0; padding: 0 20px; }
.related-guides h2 { font-size: 18px; font-weight: 700; margin: 0 0 18px; color: var(--text-dim); }
.related-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.related-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; transition: border-color 0.15s, transform 0.15s; display: block; }
.related-card:hover { border-color: rgba(124,92,255,0.3); transform: translateY(-2px); }
.related-card h4 { font-size: 14.5px; margin: 0 0 6px; font-weight: 700; }
.related-card p { font-size: 12.5px; color: var(--text-dim); margin: 0; line-height: 1.5; }

/* Footer */
footer.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 50px 0 30px; font-size: 13.5px; color: var(--text-dim); margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.footer-col h4 { color: var(--text); font-size: 14px; font-weight: 700; margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 4px 0; }
.footer-col a { color: var(--text-dim); transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }
.footer-disclaimer { padding-top: 22px; font-size: 12px; line-height: 1.7; color: var(--text-faint); }
.footer-disclaimer strong { color: var(--text-dim); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 16px; font-size: 12px; color: var(--text-faint); }
.footer-bottom .sources { display: inline-flex; gap: 12px; flex-wrap: wrap; }
