/* ═══════════════════════════════════════════
   MT SPIRIT — Journal (blog)
   Mêmes tokens et mêmes polices que la one-page.
   Fichier à déposer dans /blog/assets/blog.css
═══════════════════════════════════════════ */
:root {
  --cream:        #F3EDE3;
  --cream-deep:   #EAE2D6;
  --cream-border: #DDD5C8;
  --granite-900:  #1A1714;
  --granite-700:  #2E2A25;
  --granite-500:  #5A5248;
  --granite-300:  #8C8178;
  --granite-100:  #C4BAB0;
  --braise:       #C14A1B;
  --braise-light: #D9622D;
  --white:        #FFFFFF;

  --f-display: 'DM Serif Display', Georgia, serif;
  --f-body:    'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 96px; }
body {
  font-family: var(--f-body);
  background: var(--cream);
  color: var(--granite-700);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

.wrap    { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.wrap-sm { max-width: 760px;  margin: 0 auto; padding: 0 28px; }

.caps-label {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--braise);
}

/* ─── Navigation (identique à la one-page) ─── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 200;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-border);
}
.nav-inner {
  height: 84px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark { display: flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; }
.wordmark-name {
  font-family: var(--f-display);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: .01em;
  display: flex; flex-direction: row;
  font-size: 1.55rem;
}
.wm-first { color: var(--granite-900); }
.wm-last  { color: var(--braise); }
.wordmark-sub {
  font-family: var(--f-body);
  font-size: 7.5px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--granite-500);
  text-align: center; width: 100%; margin-top: 2px;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--granite-500);
  transition: color .15s;
}
.nav-links a:hover, .nav-links a.is-current { color: var(--granite-900); }
.nav-links a.is-current { border-bottom: 1px solid var(--braise); padding-bottom: 3px; }
.nav-cta {
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--white); background: var(--granite-900);
  padding: 14px 28px; flex-shrink: 0;
  transition: background .15s;
}
.nav-cta:hover { background: var(--braise); }

/* ─── Boutons ─── */
.btn-braise {
  font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  background: var(--braise); color: var(--white);
  padding: 13px 28px; display: inline-block;
  transition: background .15s;
}
.btn-braise:hover { background: var(--braise-light); }
.btn-dark {
  font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  background: var(--granite-900); color: var(--white);
  padding: 13px 28px; display: inline-block;
  transition: background .15s;
}
.btn-dark:hover { background: var(--braise); }

/* ─── En-tête de page (liste) ─── */
.blog-hero {
  padding: 150px 0 56px;
  border-bottom: 1px solid var(--cream-border);
}
.blog-hero h1 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.02;
  color: var(--granite-900);
  margin-top: 16px;
}
.blog-hero h1 .fire { font-style: italic; color: var(--braise); }
.blog-hero p {
  margin-top: 24px; max-width: 560px;
  font-size: 1.05rem; color: var(--granite-500); line-height: 1.75;
}

/* ─── Filtres de catégorie ─── */
.cat-filter { display: flex; gap: 12px; flex-wrap: wrap; margin: 40px 0 8px; }
.cat-filter a {
  font-size: 10px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--granite-500);
  border: 1px solid var(--cream-border);
  padding: 9px 18px;
  transition: border-color .15s, color .15s, background .15s;
}
.cat-filter a:hover { border-color: var(--braise); color: var(--braise); }
.cat-filter a.is-active { background: var(--granite-900); border-color: var(--granite-900); color: var(--white); }

/* ─── Grille d'articles ─── */
.post-section { padding: 24px 0 100px; }
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.post-card {
  background: var(--cream);
  border: 1.5px solid var(--cream-border);
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.post-card:hover {
  border-color: var(--braise);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}
.post-card-img { aspect-ratio: 3/2; overflow: hidden; background: var(--cream-deep); }
.post-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(15%);
  transition: filter .4s, transform .5s;
}
.post-card:hover .post-card-img img { filter: grayscale(0%); transform: scale(1.04); }
.post-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta {
  font-size: 10px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--braise);
}
.post-meta .sep { color: var(--granite-300); margin: 0 6px; }
.post-meta .date { color: var(--granite-300); }
.post-card h2 {
  font-family: var(--f-display);
  font-weight: 700; font-size: 1.3rem; line-height: 1.2;
  color: var(--granite-900);
}
.post-card p { font-size: 0.875rem; color: var(--granite-500); line-height: 1.65; }
.post-more {
  margin-top: auto; padding-top: 8px;
  font-size: 10px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--granite-900);
}
.post-card:hover .post-more { color: var(--braise); }

.empty-state {
  padding: 56px 40px; margin-top: 32px;
  border: 1.5px dashed var(--cream-border);
  text-align: center; color: var(--granite-500);
  font-family: var(--f-display); font-style: italic; font-size: 1.3rem;
}

/* ─── Article ─── */
.post-header { padding: 150px 0 40px; }
.post-header h1 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  color: var(--granite-900);
  margin: 18px 0 20px;
}
.post-header .post-meta { display: flex; flex-wrap: wrap; row-gap: 4px; gap: 0; align-items: center; }
.post-header .post-meta .date { white-space: nowrap; }
.post-lead {
  font-family: var(--f-display); font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--granite-500); line-height: 1.5;
}
.post-cover { margin: 8px 0 48px; }
.post-cover img { width: 100%; max-height: 560px; object-fit: cover; filter: grayscale(10%); }
.post-cover figcaption {
  margin-top: 10px;
  font-size: 10px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--granite-300);
}

.post-body { font-size: 1.08rem; line-height: 1.85; color: var(--granite-700); }
.post-body p { margin-bottom: 1.4em; }
.post-body h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: 1.8rem; line-height: 1.15;
  color: var(--granite-900);
  margin: 2.2em 0 .7em;
}
.post-body h3 {
  font-family: var(--f-display); font-weight: 700;
  font-size: 1.3rem; color: var(--granite-900);
  margin: 1.8em 0 .6em;
}
.post-body a { color: var(--braise); border-bottom: 1px solid rgba(193,74,27,.35); }
.post-body a:hover { border-bottom-color: var(--braise); }
.post-body ul, .post-body ol { margin: 0 0 1.4em 1.4em; }
.post-body li { margin-bottom: .4em; }
.post-body blockquote {
  margin: 2em 0; padding: 20px 28px;
  border-left: 3px solid var(--braise);
  background: var(--cream-deep);
  font-family: var(--f-display); font-style: italic;
  font-size: 1.3rem; line-height: 1.5; color: var(--granite-900);
}
.post-body figure { margin: 2.2em -60px; }
.post-body figure img { width: 100%; filter: grayscale(8%); }
.post-body figcaption {
  margin-top: 10px; padding: 0 60px;
  font-size: 11px; font-weight: 500;
  letter-spacing: .12em; color: var(--granite-300);
}
.post-body .stat-line {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin: 2em 0; padding: 20px 0;
  border-top: 1px solid var(--cream-border);
  border-bottom: 1px solid var(--cream-border);
}
.post-body .stat-line div { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--granite-300); }
.post-body .stat-line strong {
  display: block;
  font-family: var(--f-display); font-weight: 700; letter-spacing: 0;
  font-size: 1.6rem; text-transform: none; color: var(--granite-900);
}

/* ─── Encart RDV (fin d'article) ─── */
.post-cta {
  margin: 64px 0 0;
  background: var(--granite-900);
  padding: 44px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.post-cta h3 {
  font-family: var(--f-display); font-weight: 900;
  font-size: 1.7rem; line-height: 1.1; color: var(--white);
}
.post-cta h3 em { font-style: italic; color: var(--braise); }
.post-cta p { margin-top: 8px; font-size: .9rem; color: var(--granite-300); max-width: 380px; line-height: 1.65; }
.post-cta .btn-braise { white-space: nowrap; }

/* ─── Bio auteur ─── */
.post-bio {
  display: flex; gap: 24px; align-items: center;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--cream-border);
}
.post-bio img { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; filter: grayscale(15%); flex-shrink: 0; }
.post-bio strong { font-family: var(--f-display); font-size: 1.15rem; color: var(--granite-900); }
.post-bio p { font-size: .88rem; color: var(--granite-500); line-height: 1.65; margin-top: 4px; }
.post-bio a { color: var(--braise); }

/* ─── Précédent / suivant ─── */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin: 56px 0 100px;
}
.post-nav a {
  border: 1.5px solid var(--cream-border); padding: 20px 24px;
  transition: border-color .2s;
}
.post-nav a:hover { border-color: var(--braise); }
.post-nav .dir { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--braise); }
.post-nav .ttl { display: block; margin-top: 6px; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--granite-900); line-height: 1.25; }
.post-nav .next { text-align: right; }

/* ─── Footer ─── */
footer {
  background: var(--granite-700);
  padding: 56px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
footer .wordmark-name .wm-first { color: var(--white); }
.footer-tagline { font-family: var(--f-display); font-style: italic; font-size: 1rem; color: var(--granite-300); margin-top: 16px; }
.footer-col-title { font-size: 10px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--granite-500); margin-bottom: 18px; }
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { font-size: 13px; color: var(--granite-300); transition: color .15s; }
.footer-col-links a:hover { color: var(--braise); }
.footer-copy { margin-top: 24px; font-size: .75rem; color: var(--granite-500); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-body figure { margin-left: 0; margin-right: 0; }
  .post-body figcaption { padding: 0; }
  .post-cta { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .post-bio { flex-direction: column; align-items: flex-start; }
  .nav-cta { padding: 12px 16px; }
}

/* ─── Ajouts : carnet de voyage ─── */
.post-header .post-meta a { color: var(--braise); }
.post-header .post-meta a:hover { color: var(--braise-light); }
.sum { margin-top: 18px; color: var(--granite-500); font-variant-numeric: tabular-nums; }

.stage-group { margin-top: 36px; }
.stage-group h2 {
  font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--braise); padding-bottom: 8px; border-bottom: 1px solid var(--cream-border);
}
.stage-list { list-style: none; }
.stage-list a {
  display: flex; gap: 20px; padding: 13px 0;
  border-bottom: 1px solid var(--cream-border);
  color: var(--granite-900); transition: color .15s;
}
.stage-list a:hover { color: var(--braise); }
.stage-list time {
  flex: none; width: 5.4rem; font-size: .85rem; color: var(--granite-300);
  font-variant-numeric: tabular-nums; padding-top: 2px;
}
.stage-list .t { font-family: var(--f-display); font-size: 1.12rem; line-height: 1.3; }

.hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.hub-card {
  background: var(--cream); border: 1.5px solid var(--cream-border);
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
a.hub-card:hover { border-color: var(--braise); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.hub-card h2 { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; line-height: 1.2; color: var(--granite-900); }
.hub-card p { font-size: .92rem; color: var(--granite-500); line-height: 1.65; }
.hub-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%); transition: filter .4s, transform .5s; }
a.hub-card:hover img { filter: grayscale(0); transform: scale(1.04); }
a.hub-card:hover .post-more { color: var(--braise); }
.hub-soon { border-style: dashed; justify-content: center; background: transparent; }
.hub-soon h2 { color: var(--granite-500); }

/* Vidéos et lightbox dans les articles */
.post-body video { width: 100%; max-height: 70vh; background: #000; display: block; }
.post-body figure img { cursor: zoom-in; }
.post-body img { height: auto; }
#lb {
  position: fixed; inset: 0; background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center; z-index: 300; padding: 12px;
}
#lb.on { display: flex; }
#lb img { max-width: 100%; max-height: 100%; cursor: zoom-out; }
.post-body del { color: var(--granite-300); }

@media (max-width: 960px) {
  .hub-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stage-list a { gap: 12px; }
  .stage-list time { width: 4.4rem; }
}
