/* ============================================================
   Made in Business Thionville — Styles du blog
   Reprend la palette et les polices du site principal
   (navy #1E3A5F / gold #C8922A, Playfair Display + Raleway)
   ============================================================ */

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

:root {
  --navy: #1E3A5F;
  --gold: #C8922A;
  --gold-light: #F0B84A;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-mid: #4A4A4A;
  --text-light: #7A7A7A;
  --border: rgba(30,58,95,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 2rem; }

/* ---- NAV (identique au site principal) ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-weight: 700; font-size: 1.1rem;
  color: var(--navy); letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; color: var(--navy);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--white);
  padding: 0.55rem 1.4rem; border-radius: 2px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--navy); }

/* ---- HEADER DE PAGE ---- */
.blog-header {
  background: var(--navy);
  color: var(--white);
  padding: 140px 2rem 4rem;
  text-align: center;
}
.blog-header .eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 1rem;
}
.blog-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 1rem;
}
.blog-header p {
  font-size: 1.05rem; color: #B0C4E0;
  max-width: 620px; margin: 0 auto; line-height: 1.7;
}

/* ---- GRILLE D'ARTICLES ---- */
.blog-grid-section { padding: 4rem 2rem; }
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(30,58,95,0.1);
}
.article-card-image {
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #0F1F30 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.article-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.article-tag {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.7rem;
}
.article-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700; color: var(--navy);
  line-height: 1.35; margin-bottom: 0.6rem;
}
.article-card p {
  font-size: 0.88rem; color: var(--text-mid); line-height: 1.6;
  margin-bottom: 1rem; flex: 1;
}
.article-meta {
  font-size: 0.75rem; color: var(--text-light);
  display: flex; gap: 0.8rem; align-items: center;
  border-top: 1px solid var(--border); padding-top: 0.9rem;
}

/* ---- FILTRES CATÉGORIES ---- */
.category-filters {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin-top: 2rem;
}
.category-filters a {
  font-size: 0.78rem; font-weight: 600; text-decoration: none;
  color: var(--navy); background: var(--white);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 0.5rem 1.1rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.category-filters a:hover,
.category-filters a.active {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}

/* ---- PAGE ARTICLE ---- */
.article-header {
  background: var(--navy); color: var(--white);
  padding: 140px 2rem 3rem; text-align: center;
}
.article-header .back-link {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  color: var(--gold-light); text-decoration: none;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.article-header .article-tag { color: var(--gold-light); }
.article-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; line-height: 1.2;
  max-width: 780px; margin: 0.8rem auto 1.2rem;
}
.article-header .article-meta {
  justify-content: center; border: none; color: #B0C4E0;
}

.article-body {
  max-width: 700px; margin: 0 auto; padding: 3.5rem 2rem;
}
.article-body p {
  font-size: 1.05rem; line-height: 1.85; color: var(--text-mid);
  margin-bottom: 1.4rem;
}
.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--navy); font-weight: 700;
  margin: 2.2rem 0 1rem;
}
.article-body h3 {
  font-size: 1.1rem; color: var(--navy); font-weight: 700;
  margin: 1.6rem 0 0.8rem;
}
.article-body ul, .article-body ol {
  margin: 0 0 1.4rem 1.3rem; color: var(--text-mid);
}
.article-body li { font-size: 1.02rem; line-height: 1.8; margin-bottom: 0.4rem; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.3rem 0 0.3rem 1.3rem;
  margin: 1.8rem 0;
  font-style: italic;
  color: var(--navy);
  font-size: 1.1rem;
}
.article-cta {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  text-align: center;
  margin-top: 2.5rem;
}
.article-cta p { margin-bottom: 1.2rem; }
.article-cta a.btn-cta-dark {
  display: inline-block;
  background: var(--navy); color: var(--white);
  padding: 0.85rem 2rem; border-radius: 2px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
}

/* ---- SECTION LABEL / TITLE (réutilisés du site) ---- */
.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; color: var(--navy);
  line-height: 1.15; margin-bottom: 1rem;
}

/* ---- FOOTER (identique au site principal) ---- */
footer {
  background: var(--navy); color: var(--white);
  padding: 3rem 2rem; text-align: center;
}
.footer-logo { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; }
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-links a { color: #B0C4E0; text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: var(--gold-light); }
.footer-copy { font-size: 0.75rem; color: #7A8FA0; }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .blog-header, .article-header { padding-top: 110px; }
}

/* ---- IMAGES (Unsplash, licence libre) ---- */
.article-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-hero { max-width: 900px; margin: 2rem auto 0; padding: 0 2rem; }
.article-hero img {
  width: 100%; aspect-ratio: 5 / 2; object-fit: cover;
  display: block; border-radius: 4px;
}
.article-hero figcaption {
  font-size: 0.72rem; color: var(--text-light); margin-top: 0.5rem; text-align: right;
}
.article-hero figcaption a { color: inherit; }
@media (max-width: 640px) { .article-hero { padding: 0 1rem; } .article-hero img { aspect-ratio: 16 / 9; } }
