﻿/* =====================================================
   HUMBOLO TIME — Design System Global
   Source: _template-article.html (extrait fidèle)
   Encodage: UTF-8 strict
   ===================================================== */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #080510;
  color: #f0f0f0;
  font-family: 'Outfit', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ── Read progress bar ── */
#read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff2a6d, #d4af37);
  z-index: 200;
  transition: width .1s linear;
}

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(8, 5, 16, .95);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #d4af37, #ff2a6d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  white-space: nowrap;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: flex-end;
}

/* ── Badge catégorie ── */
.badge-cat {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255, 42, 109, .1);
  border: 1px solid rgba(255, 42, 109, .25);
  border-radius: 50px;
  padding: .3rem .9rem;
  font-size: .62rem;
  font-weight: 700;
  color: #ff6b9d;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ── Article body typography ── */
.article-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(240, 240, 240, .9);
  margin: 2rem 0 .75rem;
  letter-spacing: -0.01em;
}

.article-body p {
  font-size: 1rem;
  color: rgba(240, 240, 240, .7);
  line-height: 1.9;
  margin-bottom: 1.35rem;
}

.article-body strong { color: rgba(240, 240, 240, .92); font-weight: 700; }
.article-body em     { color: rgba(212, 175, 55, .85); font-style: italic; }

.article-body ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.5rem;
  color: rgba(240, 240, 240, .7);
  line-height: 2.1;
  list-style: disc;
}
.article-body ul li { margin-bottom: .35rem; }

/* ── Pullquote ── */
.pullquote {
  border-left: 4px solid #ff2a6d;
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  background: rgba(255, 42, 109, .04);
  border-radius: 0 16px 16px 0;
}
.pullquote p {
  font-size: 1.08rem;
  font-style: italic;
  color: rgba(240, 240, 240, .85);
  margin: 0;
  line-height: 1.75;
}

.pullquote-gold {
  border-left: 4px solid #d4af37;
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  background: rgba(212, 175, 55, .04);
  border-radius: 0 16px 16px 0;
}
.pullquote-gold p {
  font-size: 1.08rem;
  font-style: italic;
  color: rgba(240, 240, 240, .85);
  margin: 0;
  line-height: 1.75;
}

/* ── Source tag ── */
.source-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50px;
  padding: .25rem .75rem;
  font-size: .65rem;
  color: rgba(240, 240, 240, .35);
  margin-top: .5rem;
}

/* ── Stats grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}

.stat-box {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 16px;
  padding: 1.25rem;
}
.stat-box .num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat-box .lbl {
  font-size: .65rem;
  color: rgba(240, 240, 240, .35);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: .3rem;
  line-height: 1.4;
}

/* ── Stat callout ── */
.stat-callout {
  background: linear-gradient(135deg, rgba(255,42,109,.08), rgba(212,175,55,.04));
  border: 1px solid rgba(255, 42, 109, .2);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}
.stat-callout .big-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-callout .label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(240, 240, 240, .4);
  margin-top: .35rem;
  line-height: 1.5;
}

/* ── Concept box ── */
.concept-box {
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  margin: 1.75rem 0;
}
.concept-box .concept-title {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #a78bfa;
  font-weight: 700;
  margin-bottom: .6rem;
}
.concept-box p {
  font-size: .92rem;
  color: rgba(240, 240, 240, .65);
  line-height: 1.8;
  margin: 0;
}

/* ── Verdict box ── */
.verdict-box {
  background: linear-gradient(135deg, rgba(212,175,55,.06), rgba(100,180,255,.03));
  border: 1px solid rgba(212, 175, 55, .15);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
}
.verdict-box p {
  font-size: .95rem;
  color: rgba(240, 240, 240, .75);
  line-height: 1.85;
  margin: 0;
}

/* ── Article nav ── */
.article-nav {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.article-nav a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50px;
  padding: .45rem 1.1rem;
  font-size: .72rem;
  color: rgba(240, 240, 240, .55);
  text-decoration: none;
  transition: all .2s;
}
.article-nav a:hover {
  background: rgba(255, 42, 109, .08);
  border-color: rgba(255, 42, 109, .3);
  color: #ff6b9d;
}

/* ── CTA Oracle ── */
.cta-oracle {
  background: linear-gradient(135deg, rgba(212,175,55,.1), rgba(255,42,109,.06));
  border: 1px solid rgba(212, 175, 55, .2);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}

/* ── Footnotes ── */
.footnotes {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.footnotes p {
  font-size: .72rem;
  color: rgba(240, 240, 240, .3);
  margin-bottom: .5rem;
  line-height: 1.6;
}

/* ── Direct answer GEO block ── */
#direct-answer {
  background: rgba(255, 255, 255, .04);
  border-left: 3px solid #a78bfa;
  border-radius: 0 12px 12px 0;
  padding: .9rem 1.25rem;
  margin: 1rem 0 1.25rem;
  font-size: .93rem;
  line-height: 1.75;
}

/* ── Split box (2 colonnes) ── */
.split-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}
@media (max-width: 600px) { .split-box { grid-template-columns: 1fr; } }

/* ── Exp card ── */
.exp-card {
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  margin: 1.25rem 0;
}
.exp-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(240, 240, 240, .9);
  margin-bottom: .6rem;
}
