/* Blog - partage la charte JAK Services */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #171717;
  --bg-darker: #0a0a0a;
  --text-light: #d4d4d4;
  --text-muted: #737373;
  --accent: #dc2626;
  --accent-hover: #b91c1c;
  --border: #262626;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font);
  background: #fafafa;
  color: #171717;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

/* Header */
.blog-header {
  background: var(--bg-dark);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.blog-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-header a {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.blog-header a:hover { color: var(--accent); }

/* Breadcrumb */
.breadcrumb {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 24px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; }

/* Article layout */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 24px 64px;
}
.article h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin: 16px 0 24px;
  letter-spacing: -0.02em;
  color: #171717;
}
.article h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 16px;
  line-height: 1.3;
  color: #171717;
}
.article h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: #262626;
}
.article p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 20px;
  color: #404040;
}
.article ul, .article ol {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 20px;
  padding-left: 24px;
  color: #404040;
}
.article li { margin-bottom: 8px; }
.article strong { font-weight: 600; color: #171717; }

/* Hero image */
.hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  display: block;
}

/* Interior figure */
.figure {
  margin: 32px 0;
}
.figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: block;
}
.figure figcaption {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* Conclusion */
.conclusion {
  background: #f5f5f5;
  border-left: 4px solid var(--accent);
  padding: 24px;
  border-radius: 0 8px 8px 0;
  margin: 40px 0;
}
.conclusion p { margin: 0; font-size: 17px; }

/* Articles similaires */
.similaires {
  border-top: 1px solid #e5e5e5;
  margin: 48px 0 0;
  padding: 32px 0 0;
}
.similaires h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px;
}
.similaires ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.similaires li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.similaires a {
  font-size: 16px;
  color: #171717;
  font-weight: 500;
}
.similaires a:hover { color: var(--accent); }

/* Footer */
.blog-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 24px 0;
  text-align: center;
}
.blog-footer a {
  color: var(--text-light);
  font-size: 14px;
}
.blog-footer a:hover { color: var(--accent); }

/* Blog index page */
.blog-index {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.blog-index h1 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 32px;
  letter-spacing: -0.02em;
  color: #171717;
}
.blog-index h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--accent);
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}
.blog-index ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}
.blog-index li {
  padding: 8px 0;
}
.blog-index a {
  font-size: 16px;
  color: #171717;
  font-weight: 500;
}
.blog-index a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .article h1 { font-size: 26px; }
  .article h2 { font-size: 20px; }
  .article p { font-size: 16px; }
  .hero-image, .figure img { aspect-ratio: 4 / 3; }
  .blog-index h1 { font-size: 28px; }
}
