/* ═══════════════════════════════════════════════════════════════════════
   article.css — Styles pour le contenu article SEO uniquement.
   Scope : .article-wrapper
   À ajouter dans le CSS existant ou en <link> séparé.
   ═══════════════════════════════════════════════════════════════════════ */

.article-wrapper {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ── Meta ── */
.article-wrapper .article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 32px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.article-wrapper .article-tag {
  padding: 3px 10px;
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Headings ── */
.article-wrapper article h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0;
}

.article-wrapper article h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 48px 0 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.article-wrapper article h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.article-wrapper article h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  margin: 28px 0 8px;
}

/* ── Text ── */
.article-wrapper article p {
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 16px;
}

.article-wrapper article strong {
  color: #fff;
  font-weight: 700;
}

.article-wrapper article em {
  color: rgba(255, 255, 255, 0.55);
}

.article-wrapper article a {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
}

.article-wrapper article a:hover {
  text-decoration: underline;
}

/* ── Lists ── */
.article-wrapper article ul,
.article-wrapper article ol {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}

.article-wrapper article li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.article-wrapper article ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8b5cf6;
}

.article-wrapper article ol { counter-reset: ol-count; }

.article-wrapper article ol li::before {
  counter-increment: ol-count;
  content: counter(ol-count) '.';
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 0.85rem;
  color: #8b5cf6;
}

/* ── Blockquote ── */
.article-wrapper article blockquote {
  margin: 24px 0;
  padding: 14px 20px;
  border-left: 3px solid #8b5cf6;
  background: rgba(139, 92, 246, 0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* ── CTA block ── */
.article-wrapper article .article-cta {
  margin-top: 40px;
  padding: 24px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 12px;
  text-align: center;
}

.article-wrapper article .article-cta a {
  font-weight: 800;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .article-wrapper { padding: 24px 16px 60px; }
  .article-wrapper article h1 { font-size: 1.4rem; }
  .article-wrapper article h2 { font-size: 1.12rem; margin-top: 36px; padding-top: 20px; }
  .article-wrapper article h3 { font-size: 0.95rem; margin-top: 22px; }
  .article-wrapper article p { font-size: 0.95rem; line-height: 1.72; }
  .article-wrapper .article-meta { font-size: 0.75rem; gap: 8px; }
  .article-wrapper .article-breadcrumb { font-size: 0.78rem; gap: 6px; }
  .article-wrapper article .article-cta { padding: 18px 16px; }
}

/* ── Push footer down ── */
body.nt-public main:has(.article-wrapper) {
  min-height: calc(100vh - 72px);
}

/* ── Breadcrumb (optional) ── */
.article-wrapper .article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

.article-wrapper .article-breadcrumb a {
  color: rgba(167, 139, 250, 0.9);
  font-weight: 700;
}

.article-wrapper .article-breadcrumb span[aria-current="page"] {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}
