/* Blog PHYSIQUE : pages statiques servies telles quelles par nginx (SEO).
   Meme identite que le site : fond sombre, Anton pour les titres, Sora pour
   le texte, rose signature. Un seul theme, assume. */

:root {
  --fond: #0c0a0e;
  --carte: #16121b;
  --texte: #f6f2ee;
  --gris: #9a95a0;
  --rose: #ff2d78;
  --trait: rgba(246, 242, 238, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--fond);
  color: var(--texte);
  font-family: "Sora", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- en-tete ---------- */
header.blog-tete {
  border-bottom: 1.5px solid var(--trait);
  padding: 1.1rem 0;
}
header.blog-tete .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  font-family: "Anton", "Sora", sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: var(--texte);
}
.logo b { color: var(--rose); }
.logo:hover { text-decoration: none; }
.tete-cta {
  background: var(--rose); color: #fff;
  font-weight: 600; font-size: 0.85rem;
  padding: 0.55em 1.3em; border-radius: 2em;
  white-space: nowrap;
}
.tete-cta:hover { text-decoration: none; filter: brightness(1.08); }

/* ---------- fil d'ariane / etiquette ---------- */
.sur-titre {
  color: var(--gris); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin: 2.6rem 0 0.9rem;
}
.sur-titre a { color: var(--gris); }

/* ---------- article ---------- */
article h1 {
  font-family: "Anton", "Sora", sans-serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 5.5vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}
.date {
  color: var(--gris); font-size: 0.82rem; margin-bottom: 1.8rem;
}
article .chapo {
  font-size: 1.13rem; font-weight: 300; color: #d9d4dc;
  border-left: 3px solid var(--rose);
  padding-left: 1rem;
  margin-bottom: 2.2rem;
}
article h2 {
  font-weight: 800; font-size: 1.28rem; line-height: 1.3;
  margin: 2.4rem 0 0.8rem;
  text-wrap: balance;
}
article p { margin-bottom: 1.05rem; }
article ul { margin: 0 0 1.05rem 1.2rem; }
article li { margin-bottom: 0.4rem; }
article b { font-weight: 600; }

/* ---------- illustration d'article ---------- */
article .illustration { margin: 0 0 1.8rem; }
article .illustration img {
  width: 100%; height: auto; display: block; border-radius: 14px;
}

/* ---------- sources ---------- */
.sources {
  border-top: 1.5px solid var(--trait);
  margin-top: 2.6rem; padding-top: 1.2rem;
}
.sources h2 { font-size: 0.95rem; margin: 0 0 0.6rem; color: var(--gris); }
.sources ul { list-style: none; margin: 0; }
.sources li { color: var(--gris); font-size: 0.82rem; margin-bottom: 0.45rem; }

/* ---------- encart conversion ---------- */
.encart {
  background: linear-gradient(140deg, var(--carte), #1d1420);
  border: 1.5px solid var(--trait);
  border-radius: 18px;
  padding: 1.7rem 1.6rem;
  margin: 2.8rem 0 1rem;
  text-align: center;
}
.encart p { color: var(--texte); margin-bottom: 1.1rem; }
.encart .bouton {
  display: inline-block;
  background: var(--rose); color: #fff;
  font-weight: 800; font-size: 1rem;
  padding: 0.85em 1.9em; border-radius: 2.2em;
}
.encart .bouton:hover { text-decoration: none; filter: brightness(1.08); }
.encart small { display: block; margin-top: 0.7rem; color: var(--gris); font-size: 0.78rem; }

/* ---------- liste des articles (index du blog) ---------- */
.blog-titre {
  font-family: "Anton", "Sora", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3.1rem);
  margin: 2.6rem 0 0.5rem;
}
.blog-sous {
  color: var(--gris); margin-bottom: 2.4rem; max-width: 36rem;
}
.carte-article {
  display: block;
  background: var(--carte);
  border: 1.5px solid var(--trait);
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.1rem;
  color: var(--texte);
  transition: border-color 0.15s ease;
}
.carte-article:hover { text-decoration: none; border-color: var(--rose); }
.carte-article img {
  width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover;
  display: block; border-radius: 12px; margin-bottom: 1rem;
}
.carte-article h2 {
  font-weight: 800; font-size: 1.2rem; line-height: 1.3; margin-bottom: 0.45rem;
  text-wrap: balance;
}
.carte-article p { color: var(--gris); font-size: 0.92rem; margin-bottom: 0.6rem; }
.carte-article .lire { color: var(--rose); font-weight: 600; font-size: 0.88rem; }

/* ---------- pied ---------- */
footer.blog-pied {
  border-top: 1.5px solid var(--trait);
  margin-top: 3.5rem; padding: 1.6rem 0 2.4rem;
  text-align: center;
}
footer.blog-pied nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; margin-bottom: 0.9rem; }
footer.blog-pied a { color: var(--gris); font-size: 0.8rem; }
footer.blog-pied p { color: var(--gris); font-size: 0.75rem; }

@media (max-width: 640px) {
  .encart { padding: 1.4rem 1.1rem; }
}
