/* Articles — même univers visuel que l'app, ton éditorial */

:root {
  --bg: #0a0a0c;
  --bg-card: #141418;
  --yellow: #fffc00;
  --yellow-dim: rgba(255, 252, 0, 0.12);
  --text: #fff;
  --muted: #8e8e9a;
  --border: rgba(255, 255, 255, 0.07);
  --font: 'Inter', system-ui, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 70% 40% at 50% -10%, rgba(255, 252, 0, 0.07), transparent);
  pointer-events: none;
  z-index: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--yellow), #ffd600);
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px rgba(255, 252, 0, 0.25);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-name span {
  background: linear-gradient(135deg, var(--yellow), #ffe566);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 36px 20px 48px;
}

.meta-line {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.meta-line time {
  color: #b4b4c0;
}

h1 {
  font-size: clamp(1.65rem, 5.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  text-wrap: balance;
}

.lead {
  font-size: 1.08rem;
  color: #c5c5d0;
  margin-bottom: 28px;
}

article p {
  color: #a8a8b8;
  font-size: 1.02rem;
  margin-bottom: 1.1em;
}

article h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2em 0 0.65em;
  color: var(--text);
}

article h3 {
  font-size: 1.05rem;
  margin: 1.5em 0 0.5em;
}

article strong {
  color: #e8e8ee;
  font-weight: 600;
}

article em {
  color: #d0d0dc;
}

article ul,
article ol {
  margin: 0 0 1.2em 1.25em;
  color: #a8a8b8;
}

article li {
  margin-bottom: 0.45em;
}

.note {
  margin: 1.5em 0;
  padding: 14px 16px;
  border-left: 3px solid var(--yellow);
  background: var(--yellow-dim);
  border-radius: 0 12px 12px 0;
  font-size: 0.95rem;
  color: #ccc;
}

.note strong {
  color: var(--yellow);
}

.cta-box {
  margin: 2.5em 0 1em;
  padding: 22px 20px;
  border-radius: 18px;
  background: linear-gradient(160deg, #1a1a22, #121216);
  border: 1px solid rgba(255, 252, 0, 0.2);
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.cta-box p {
  margin-bottom: 14px;
  color: #b0b0bc;
  font-size: 0.95rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffc00, #f5e800);
  color: #0a0a0c;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 6px 0 #c9c200, 0 12px 32px rgba(255, 252, 0, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #c9c200, 0 16px 40px rgba(255, 252, 0, 0.35);
  text-decoration: none;
}

.back-home {
  display: inline-block;
  margin-top: 2em;
  font-size: 0.85rem;
  color: var(--muted);
}

.back-home:hover {
  color: var(--yellow);
}

.site-footer {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 2.2;
  position: relative;
  z-index: 1;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  padding: 0 4px;
}

.site-footer a:hover {
  color: var(--yellow);
}
