@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700&display=swap');

:root {
  --cream: #FAF6F0;
  --night: #1C1C2E;
  --emerald: #3D7A5A;
  --gold: #B8893A;
  --stone: #E8E0D5;
  --soft: 0 2px 12px rgba(28, 28, 46, 0.07);
  --card: 0 4px 24px rgba(28, 28, 46, 0.10);
}

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

body {
  font-family: 'Lato', system-ui, sans-serif;
  background: var(--cream);
  color: var(--night);
  line-height: 1.6;
}

/* ---------- Header ---------- */
.blog-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--night);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
}
.blog-header-inner {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-header a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: #fff;
}
.blog-header .logo-dot {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.blog-header .logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.1;
}
.blog-header .logo-sub {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.blog-header .blog-link {
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ---------- Layout ---------- */
.blog-article {
  max-width: 768px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--night);
  opacity: 0.5;
  margin-bottom: 2rem;
}
.breadcrumb a {
  color: var(--night);
  text-decoration: none;
  opacity: 0.7;
}
.breadcrumb a:hover { opacity: 1; }
.breadcrumb span { margin: 0 0.5rem; }

/* ---------- Titles ---------- */
h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--night);
  margin-bottom: 1.5rem;
}
h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--night);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--night);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

/* ---------- Text ---------- */
p {
  margin-bottom: 1.25rem;
  color: rgba(28, 28, 46, 0.75);
  line-height: 1.7;
}
strong { color: var(--night); }

a {
  color: var(--emerald);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { color: var(--gold); }

/* ---------- Hero image ---------- */
.blog-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--card);
  margin-bottom: 2rem;
}

/* ---------- Figure ---------- */
figure {
  margin: 2rem 0;
}
.blog-figure-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: var(--soft);
}
figcaption {
  font-size: 0.8rem;
  color: rgba(28, 28, 46, 0.5);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* ---------- Conclusion ---------- */
.blog-conclusion {
  background: var(--stone);
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 2.5rem;
}
.blog-conclusion p:last-child { margin-bottom: 0; }

/* ---------- Articles similaires ---------- */
.similaires {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--stone);
}
.similaires h2 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}
.similaires ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.similaires a {
  color: var(--emerald);
  text-decoration: none;
  font-weight: 600;
}
.similaires a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.blog-footer {
  background: var(--night);
  padding: 2rem 1.5rem;
  text-align: center;
}
.blog-footer a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.875rem;
}

/* ---------- Blog index page ---------- */
.blog-index {
  max-width: 768px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.blog-index h1 {
  text-align: center;
  margin-bottom: 3rem;
}
.blog-index-cluster {
  margin-bottom: 2.5rem;
}
.blog-index-cluster h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--stone);
}
.blog-index-cluster ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.blog-index-cluster a {
  color: var(--emerald);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}
.blog-index-cluster a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }
  .blog-article { padding: 1.5rem 1rem 3rem; }
  .blog-index { padding: 2rem 1rem 3rem; }
}
