@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300;1,400&family=JetBrains+Mono:wght@400&display=swap');

/* =============================================
   VARIABLES
   ============================================= */
:root {
  --bronze:        #b87333;
  --bronze-light:  #d4884a;
  --bronze-dark:   #8a5220;
  --bronze-pale:   #2e1a0c;
  --ink:           #1a100a;
  --ink-2:         #221408;
  --ink-3:         #2e1e10;
  --ink-4:         #3a2818;
  --text-primary:  #ede6dc;
  --text-secondary:#b8a898;
  --text-muted:    #7a6a58;
  --text-faint:    #4e3e2e;
  --rule:          #2e1e10;
  --rule-light:    #3a2818;
  --font-display:  'Oswald', sans-serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; height: auto; display: block; }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(to bottom, #4a2008 0%, #1a100a 100%);
  border-bottom: 1px solid var(--rule);
  height: 118px;
  display: flex;
  align-items: center;
}

.site-header .container {
  width: 100%;
  max-width: 100%;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

/* ── GAUCHE : réseaux sociaux ── */
.header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding-left: 0;
}

.header-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}
.header-social-link:hover { color: var(--bronze-light); }
.header-social-link svg { width: 18px; height: 18px; fill: currentColor; }

/* ── CENTRE : logo ── */
.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.site-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-logo-wrap img,
.site-logo-img {
  height: 100px !important;
  width: auto !important;
  max-width: 280px !important;
  display: block;
  filter: none;
}
.site-logo-wrap .custom-logo { height: 100px; width: auto; }

/* Trait bronze dégradé sous le logo */
.site-logo-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent 0%, var(--bronze) 25%, var(--bronze-light) 50%, var(--bronze) 75%, transparent 100%);
  margin-top: 8px;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
}
.site-logo span { color: var(--bronze-light); }

/* ── DROITE : loupe + burger à l'extrême droite ── */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding-right: 0;
}

.header-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  transition: color 0.2s;
  flex-shrink: 0;
}
.header-search-btn:hover { color: var(--bronze-light); }
.header-search-btn svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round;
}

/* Burger SANS texte */
.nav-toggle {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  line-height: 1;
}
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border: none;
  padding: 0;
  transition: opacity 0.2s;
}
.nav-toggle:hover .nav-toggle-bars { opacity: 0.75; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-secondary);
  transition: all 0.3s;
}
.nav-toggle:hover span { background: var(--bronze-light); }
.nav-toggle-label { display: none; }
.nav-toggle.active .nav-toggle-bars span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle.active .nav-toggle-bars span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Navigation — toujours en drawer burger */
.main-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: var(--ink-2);
  border-left: 1px solid var(--rule-light);
  z-index: 300;
  padding: 80px 2rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.main-nav.open {
  display: flex;
  transform: translateX(0);
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.main-nav ul li {
  border-bottom: 1px solid var(--rule);
}
.main-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 1rem 0;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--bronze-light); }

/* ── Sous-menus drawer ── */
.main-nav ul ul {
  padding-left: 1rem;
  border-top: 1px solid var(--rule);
  margin-top: 0;
}
.main-nav ul ul li {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.main-nav ul ul li:last-child {
  border-bottom: none;
}
.main-nav ul ul a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 0.6rem 0;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav ul ul a::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--bronze);
  flex-shrink: 0;
}
.main-nav ul ul a:hover {
  color: var(--bronze-light);
}

/* Overlay sombre derrière le drawer */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,10,4,0.7);
  z-index: 299;
}
.nav-overlay.open { display: block; }

/* Fermer drawer depuis l'intérieur */
.nav-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1;
  padding: 4px 8px;
}
.nav-close:hover { color: var(--bronze-light); }

/* =============================================
   TICKER
   ============================================= */
.site-ticker {
  background: var(--ink-2);
  border-bottom: 1px solid var(--rule);
  height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ticker-label {
  flex-shrink: 0;
  background: var(--bronze);
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-inner {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  flex-shrink: 0;
}
.ticker-item::before { content: '▶'; color: var(--bronze-light); margin-right: 8px; font-size: 9px; }

/* =============================================
   BADGES / CATÉGORIES
   ============================================= */
.cat-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  background: none;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bronze-light);
  font-weight: 700;
  border-bottom: 3px solid var(--bronze);
  padding-bottom: 5px;
}
.cat-badge a {
  color: inherit;
  text-decoration: none;
}
.cat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bronze-light);
}

/* =============================================
   HERO — PAGE D'ACCUEIL
   ============================================= */
.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  border-bottom: 2px solid var(--bronze-dark);
  min-height: 540px;
}

.hero-main {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.hero-main .post-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.hero-main:hover .post-thumbnail { transform: scale(1.03); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,9,7,0.50) 0%, rgba(10,9,7,0.05) 45%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}
.hero-overlay .cat-badge { margin-bottom: 1rem; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  color: #f5f0e8;
  letter-spacing: 0.02em;
  margin-bottom: 0.7rem;
}
.hero-sub {
  font-size: 16px;
  color: #c0b4a0;
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: 0.8rem;
}
.hero-excerpt {
  font-size: 14px;
  color: #988e7e;
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 520px;
}
.hero-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.hero-sidebar {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--rule);
}
.hero-side-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
}
.hero-side-item:last-child { border-bottom: none; }
.hero-side-item .post-thumbnail {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.hero-side-item:hover .post-thumbnail { transform: scale(1.04); }
.side-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,9,7,0.68) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}
.side-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #f0ebe3;
  line-height: 1.1;
  margin: 6px 0 4px;
}
.side-resume {
  font-size: 13px;
  color: #c0b4a0;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.side-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--bronze-light);
}
.see-all {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bronze-light);
  text-decoration: none;
}
.see-all:hover { color: var(--bronze); }

/* =============================================
   GRILLE ARTICLES — 3 COLONNES
   ============================================= */
.posts-section { padding: 3rem 0; border-bottom: 1px solid var(--rule); }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* 3 colonnes pour la section À lire aussi */
.posts-grid--3x3 {
  grid-template-columns: repeat(3, 1fr);
}

.post-card { cursor: pointer; }
.post-card-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--ink-3);
  margin-bottom: 1rem;
  position: relative;
}
.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201, 168, 76, 0);
  transition: background 0.3s;
}
.post-card:hover .post-card-thumb::after { background: rgba(201, 168, 76, 0.08); }

.post-card-cat { margin-bottom: 6px; }
.post-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.post-card-resume {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 7px;
  font-weight: 400;
}
.post-card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 8px;
}
.post-card-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  text-transform: uppercase;
}

/* =============================================
   ARTICLE MIS EN AVANT
   ============================================= */
.featured-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--rule);
  background: var(--ink-2);
}
.featured-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}
.featured-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ink-3);
}
.featured-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(10,9,7,0.75);
  padding: 8px 14px;
  font-size: 12px;
  font-style: italic;
  color: #b0a890;
}
.featured-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.featured-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--bronze-light);
  flex-shrink: 0;
}
.featured-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.featured-intro {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 0.8rem;
}
.featured-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bronze);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 13px 22px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--bronze-light); color: var(--ink); }

/* =============================================
   LISTE ARTICLES (format magazine)
   ============================================= */
.list-section { padding: 3rem 0; border-bottom: 1px solid var(--rule); }
.post-list { display: flex; flex-direction: column; }
.post-list-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.8rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  align-items: start;
  transition: opacity 0.2s;
}
.post-list-item:first-child { border-top: 1px solid var(--rule); }
.post-list-item:hover { opacity: 0.85; }
.post-list-thumb {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--ink-3);
}
.post-list-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.post-list-item:hover .post-list-thumb img { transform: scale(1.04); }
.post-list-cat { margin-bottom: 5px; }
.post-list-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 8px;
}
.post-list-resume {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 6px;
}
.post-list-detail {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 8px;
}
.post-list-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  text-transform: uppercase;
}

/* =============================================
   GALERIE MOSAÏQUE
   ============================================= */
.gallery-section {
  padding: 3rem 0;
  background: var(--ink-2);
  border-bottom: 1px solid var(--rule);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 6px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--ink-3);
  cursor: pointer;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  inset: 0;
  background: rgba(10,9,7,0);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px 14px;
  transition: background 0.3s;
}
.gallery-item:hover .gallery-caption { background: rgba(10,9,7,0.75); }
.gallery-caption-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #f5f0e8;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.gallery-item:hover .gallery-caption-text { opacity: 1; transform: translateY(0); }

/* =============================================
   PAGE ARTICLE SINGLE
   ============================================= */
.single-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
}
.single-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,9,7,0.55) 0%, rgba(10,9,7,0.05) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
}
.single-cat { margin-bottom: 1rem; }
.single-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  text-transform: uppercase;
  color: #f5f0e8;
  line-height: 1.02;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
  max-width: 900px;
}
.single-sub {
  font-size: 20px;
  color: #c0b4a0;
  font-style: italic;
  line-height: 1.4;
  max-width: 700px;
  margin-bottom: 1rem;
}
.single-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-transform: uppercase;
  display: flex;
  gap: 1.5rem;
}
.single-meta span { display: flex; align-items: center; gap: 6px; }

.single-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 1.5rem;
  max-width: 1080px;
}
.single-content h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin: 3rem 0 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--rule-light);
}
.single-content h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin: 2rem 0 0.8rem;
}
.single-content blockquote {
  position: relative;
  border: none;
  border-top: 2px solid var(--bronze);
  border-bottom: 1px solid rgba(184,115,51,0.3);
  padding: 2.5rem 2rem 2rem 2rem;
  margin: 3rem 0;
  background: rgba(184,115,51,0.04);
}

/* Gros guillemet ouvrant décoratif */
.single-content blockquote::before {
  content: '\201C';
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 120px;
  font-weight: 700;
  font-style: italic;
  color: var(--bronze);
  opacity: 0.35;
  position: absolute;
  top: -0.25em;
  left: 0.15em;
  line-height: 1;
  pointer-events: none;
}

.single-content blockquote p,
.single-content blockquote cite,
.single-content blockquote {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  font-style: italic !important;
  color: var(--text-primary) !important;
  line-height: 1.55 !important;
  position: relative;
  z-index: 1;
}

/* Guillemet fermant inline */
.single-content blockquote p::after { content: '\00A0\201D'; color: var(--bronze-light); }
.single-content blockquote:not(:has(p))::after {
  content: '\00A0\201D';
  color: var(--bronze-light);
  font-family: Georgia, serif;
}
.single-content figure {
  margin: 2.5rem 0;
  max-width: 100%;
}
.single-content figure img { width: 100%; }
.single-content figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}
.single-content ul, .single-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 1080px;
}
.single-content li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.single-content strong { color: inherit; font-weight: 600; }
.single-content a { color: var(--bronze-light); border-bottom: 1px solid var(--bronze-dark); }

/* Fiche technique article */
.spec-box {
  background: var(--ink-2);
  border: 1px solid var(--rule-light);
  border-left: 3px solid var(--bronze);
  padding: 1.8rem 2rem;
  margin: 2.5rem 0;
  max-width: 1080px;
}
.spec-box-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 1rem;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 2rem;
}
.spec-item { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.spec-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.spec-value { font-size: 15px; color: var(--text-primary); font-weight: 600; }

/* Note finale */
.verdict-box {
  background: var(--bronze-pale);
  border: 1px solid var(--bronze-dark);
  padding: 2rem;
  margin: 3rem 0;
  max-width: 1080px;
}
.verdict-title {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 0.8rem;
}
.verdict-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  font-weight: 300;
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 3rem 0;
}
.page-numbers {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 10px 16px;
  border: 1px solid var(--rule-light);
  text-decoration: none;
  transition: all 0.2s;
}
.page-numbers:hover, .page-numbers.current {
  background: var(--bronze);
  color: var(--ink);
  border-color: var(--bronze);
}

/* =============================================
   SIDEBAR
   ============================================= */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0;
}
.sidebar { display: flex; flex-direction: column; gap: 2rem; }
.widget {
  background: var(--ink-2);
  border: 1px solid var(--rule);
}
.widget-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bronze-light);
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
}
.widget-content { padding: 1rem 1rem; }
.widget-post-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
}
.widget-post-item:last-child { border-bottom: none; }
.widget-post-thumb { aspect-ratio: 1; overflow: hidden; background: var(--ink-3); }
.widget-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-post-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  line-height: 1.2;
  margin-bottom: 4px;
}
.widget-post-meta { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); letter-spacing: 0.08em; text-transform: uppercase; }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; padding: 1rem; }
.tag-link {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 5px 10px;
  border: 1px solid var(--rule-light);
  text-decoration: none;
  transition: all 0.2s;
}
.tag-link:hover { border-color: var(--bronze); color: var(--bronze-light); }

/* =============================================
   FOOTER
   ============================================= */
/* =============================================
   FOOTER REDESIGNÉ
   ============================================= */

/* ── TOP : logo + tagline + réseaux ── */
.site-footer {
  background: var(--ink-2);
}
.footer-top {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--rule-light);
}
.footer-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.footer-brand { flex: 1; }
.footer-logo-link { display: inline-block; margin-bottom: 1rem; }
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
  letter-spacing: 0.03em;
  max-width: 420px;
}

/* Réseaux sociaux top */
.footer-socials {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--rule-light);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social:hover {
  color: var(--bronze-light);
  border-color: var(--bronze-dark);
  background: rgba(184,115,51,0.06);
}
.footer-social svg {
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  fill: currentColor;
  flex-shrink: 0;
}
.footer-logo-img {
  height: 52px !important;
  width: auto !important;
  max-width: 200px !important;
  display: block;
}

/* ── TRAIT BRONZE ── */
.footer-rule {
  height: 2px;
  background: linear-gradient(to right, var(--bronze-dark) 0%, var(--bronze) 30%, var(--bronze-dark) 70%, transparent 100%);
}

/* ── GRILLE PRINCIPALE ── */
.footer-main {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 1.2rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-col-title::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--bronze);
  flex-shrink: 0;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-links li {
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.footer-links li:last-child { border-bottom: none; }
.footer-links a {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  text-decoration: none;
  padding: 7px 0;
  letter-spacing: 0.02em;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover {
  color: var(--bronze-light);
  padding-left: 6px;
}

/* Articles récents avec vignette */
.footer-recent {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-recent-item {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.footer-recent-item:last-child { border-bottom: none; }
.footer-recent-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-recent-link:hover { color: var(--bronze-light); }
.footer-recent-thumb {
  width: 52px;
  height: 36px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ink);
}
.footer-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(30%);
  transition: filter 0.3s;
}
.footer-recent-link:hover .footer-recent-thumb img { filter: grayscale(0%); }
.footer-recent-title {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Email dans footer */
.footer-contact-block {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule-light);
}
.footer-email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-email:hover { color: var(--bronze-light); }
.footer-email svg {
  width: 14px;
  height: 14px;
  stroke: var(--bronze);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  flex-shrink: 0;
}

/* ── BAS DE PAGE ── */
.footer-bottom {
  background: var(--ink);
  padding: 1rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.footer-sep-dot {
  color: var(--bronze-dark);
  font-size: 12px;
}
.footer-credit {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-left: auto;
}
.footer-credit a {
  color: var(--bronze-dark);
  transition: color 0.2s;
}
.footer-credit a:hover { color: var(--bronze-light); }


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-sidebar { flex-direction: row; border-left: none; border-top: 1px solid var(--rule); }
  .hero-side-item { border-bottom: none; border-right: 1px solid var(--rule); }
  .hero-side-item:last-child { border-right: none; }
  .hero-side-item { min-height: 220px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid--3x3 { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.2rem; }
  .posts-grid { grid-template-columns: 1fr; }
  .posts-grid--3x3 { grid-template-columns: 1fr; }
  /* Hero sidebar : colonne unique sur mobile */
  .hero { grid-template-columns: 1fr; }
  .hero-sidebar {
    flex-direction: column;
    border-left: none;
    border-top: 1px solid var(--rule);
  }
  .hero-side-item {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    min-height: 200px;
  }
  .hero-side-item:last-child { border-bottom: none; }
  .hero-side-item { display: block; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .post-list-item { grid-template-columns: 140px 1fr; gap: 1rem; }
  .single-hero { height: 55vh; }
  .single-title { font-size: clamp(26px, 6vw, 40px); }
  .footer-grid { grid-template-columns: 1fr; }
  /* Hero logo plus petit sur mobile */
  .hero-logo img { height: 90px !important; }
}

@media (max-width: 480px) {
  /* Sur très petit écran : sidebar en 2 colonnes */
  .hero-sidebar { flex-direction: row; flex-wrap: wrap; }
  .hero-side-item {
    flex: 1 1 calc(50% - 0.5px);
    min-height: 160px;
    border-right: 1px solid var(--rule);
    border-bottom: none;
  }
  .hero-side-item:last-child { border-right: none; }
  .post-list-item { grid-template-columns: 1fr; }
  .post-list-thumb { aspect-ratio: 16/9; width: 100%; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .spec-grid { grid-template-columns: 1fr; }
  .hero-logo img { height: 70px !important; }
}

/* =============================================
   V9 — TEXTES ÉCLAIRCIS PAGE D'ACCUEIL
   ============================================= */
.hero-sub,
.hero-excerpt,
.side-resume,
.post-card-resume,
.post-card-excerpt,
.featured-intro,
.featured-body,
.post-list-resume,
.post-list-detail {
  color: #c8bfb0;
}

.hero-meta,
.side-meta,
.post-card-meta,
.post-list-meta {
  color: #7a6a5a;
}

/* Overlay hero un peu moins opaque pour que les photos respirent */
/* Overlay hero un peu moins opaque pour que les photos respirent — v9 */

/* =============================================
   PAGES STATIQUES (page.php)
   ============================================= */

/* Hero photo optionnel */
.page-hero {
  position: relative;
  height: 45vh;
  min-height: 320px;
  overflow: hidden;
}
.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,9,7,0.80) 0%, rgba(10,9,7,0.1) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.5rem;
}

/* En-tête sans photo */
.page-header {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--rule);
}

/* Titre */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.page-hero-overlay .page-title {
  color: #f5f0e8;
}

/* Corps de page */
.page-content-wrap {
  padding: 3.5rem 0 5rem;
}
.page-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.page-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule-light);
}
.page-content h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin: 2rem 0 0.6rem;
}
.page-content p {
  margin-bottom: 1.4rem;
}
.page-content a {
  color: var(--bronze-light);
  border-bottom: 1px solid var(--bronze-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.page-content a:hover {
  color: var(--bronze);
}
.page-content ul,
.page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}
.page-content li {
  margin-bottom: 0.5rem;
}
.page-content strong {
  color: var(--text-primary);
  font-weight: 500;
}
.page-content blockquote {
  border-left: 3px solid var(--bronze);
  padding: 0.8rem 0 0.8rem 1.8rem;
  margin: 2rem 0;
  font-size: 18px;
  color: var(--bronze-light);
  font-weight: 300;
}
.page-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}
.page-content figure {
  margin: 2rem 0;
}
.page-content figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-top: 8px;
}

/* Formulaire de contact WordPress */
.page-content input[type="text"],
.page-content input[type="email"],
.page-content input[type="tel"],
.page-content textarea {
  width: 100%;
  background: var(--ink-2);
  border: 1px solid var(--rule-light);
  color: var(--text-primary);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.page-content input:focus,
.page-content textarea:focus {
  border-color: var(--bronze);
}
.page-content textarea {
  min-height: 160px;
  resize: vertical;
}
.page-content input[type="submit"] {
  background: var(--bronze);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 13px 26px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s;
  width: auto;
}
.page-content input[type="submit"]:hover {
  background: var(--bronze-light);
}

/* Navigation entre pages paginées */
.page-links {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* =============================================
   ARCHIVE — GRILLE 3 COLONNES
   ============================================= */

.archive-header {
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--bronze-dark);
  margin-bottom: 3rem;
}
.archive-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-top: 0.4rem;
}
.archive-desc {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
  margin-top: 0.8rem;
  max-width: 680px;
}
.archive-empty {
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 300;
  padding: 3rem 0;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 1024px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .archive-grid { grid-template-columns: 1fr; }
}

/* ── Hero : lien invisible qui couvre tout le hero-main ── */
.hero-stretch-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}
.hero-overlay {
  pointer-events: none;
  z-index: 1;
}
.hero-overlay .cat-badge,
.hero-overlay a {
  pointer-events: auto;
}
.hero-main:hover .hero-title { color: var(--bronze-light); }

/* ── Vignettes latérales : overlay non-bloquant ── */
.hero-side-item .side-overlay {
  pointer-events: none;
}
.hero-side-item:hover .side-title { color: var(--bronze-light); }

/* =============================================
   PICTOS HEADER EN BLANC
   ============================================= */
.header-social-link { color: #ffffff; }
.header-social-link:hover { color: var(--bronze-light); }

.header-search-btn { color: #ffffff; }
.header-search-btn:hover { color: var(--bronze-light); }

.nav-toggle span { background: #ffffff; }
.nav-toggle:hover span { background: var(--bronze-light); }

/* =============================================
   TITRES PAGE D'ACCUEIL EN BRONZE/ORANGE
   ============================================= */
.hero-title { color: var(--bronze-light) !important; }
.side-title  { color: var(--bronze-light) !important; }
.post-card-title { color: var(--bronze-light) !important; }
.featured-title  { color: var(--bronze-light) !important; }
.post-list-title { color: var(--bronze-light) !important; }

/* Hover : légèrement plus clair */
.hero-main:hover .hero-title         { color: var(--bronze) !important; }
.hero-side-item:hover .side-title    { color: var(--bronze) !important; }
.post-card:hover .post-card-title    { color: var(--bronze) !important; }

/* =============================================
   PICTOS HEADER — BRONZE CLAIR
   ============================================= */
.header-social-link { color: var(--bronze-light) !important; }
.header-social-link:hover { color: #ffffff !important; }
.header-search-btn { color: var(--bronze-light) !important; }
.header-search-btn:hover { color: #ffffff !important; }
.nav-toggle span { background: var(--bronze-light) !important; }
.nav-toggle:hover span { background: #ffffff !important; }

/* =============================================
   SEARCH OVERLAY
   ============================================= */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(10,6,3,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-overlay.open {
  opacity: 1;
  visibility: visible;
}
.search-overlay-inner {
  width: 100%;
  max-width: 700px;
  padding: 0 2rem;
  text-align: center;
  position: relative;
}
.search-overlay-close {
  position: absolute;
  top: -4rem;
  right: 2rem;
  background: none;
  border: none;
  color: #b8a898;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 6px;
  transition: color 0.2s;
}
.search-overlay-close:hover { color: #ffffff; }
.search-overlay-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 2rem;
}
.search-overlay-field {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #3a2818;
  gap: 1rem;
}
.search-overlay-field input[type="search"] {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.04em;
  padding: 1rem 0;
  caret-color: var(--bronze-light);
}
.search-overlay-field input::placeholder { color: #3a2818; }
.search-overlay-field button[type="submit"] {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--bronze-light);
  flex-shrink: 0;
  padding: 6px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.search-overlay-field button[type="submit"]:hover { color: #ffffff; }
.search-overlay-field button[type="submit"] svg {
  width: 22px; height: 22px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round;
}

/* =============================================
   PICTOS HEADER — TRÈS CLAIRS
   ============================================= */
.header-social-link { color: #e8ddd0 !important; }
.header-social-link:hover { color: #ffffff !important; }
.header-search-btn { color: #e8ddd0 !important; }
.header-search-btn:hover { color: #ffffff !important; }
.nav-toggle span { background: #e8ddd0 !important; }
.nav-toggle:hover span { background: #ffffff !important; }

/* archive-empty */
.archive-empty {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  padding: 3rem 0;
  letter-spacing: 0.03em;
}

/* Footer responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-top-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { gap: 0.5rem; }
  .footer-credit { margin-left: 0; }
}

/* =============================================
   JUSTIFICATION GLOBALE DES TEXTES
   ============================================= */
body,
p,
.single-content p,
.single-content li,
.page-content p,
.page-content li,
.hero-excerpt,
.hero-sub,
.side-resume,
.post-card-resume,
.post-card-excerpt,
.edit-resume,
.featured-body,
.post-list-excerpt,
.footer-tagline,
.footer-desc {
  text-align: justify;
}

/* Flèche sur btn-primary via CSS */
.btn-primary::after {
  content: '→';
  font-size: 13px;
  font-style: normal;
}

/* =============================================
   PAGE GALERIE COMPLÈTE
   ============================================= */
.gallery-page-header {
  padding: 3rem 0 2rem;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}
.gallery-page-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}
.gallery-page-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.gallery-page-wrap {
  padding: 0 0 4rem;
}
.gallery-grid--full {
  grid-auto-rows: 200px;
}
.gallery-caption-cat {
  margin-bottom: 4px;
}
.gallery-caption-cat .cat-badge {
  font-size: 9px;
  color: var(--bronze-light);
  border-bottom-color: var(--bronze-light);
}
.gallery-caption-meta {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.5);
  margin-top: 4px;
}
.gallery-stretch-link {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.gallery-caption { z-index: 2; pointer-events: none; }

@media (max-width: 1024px) {
  .gallery-grid--full { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; }
}
@media (max-width: 640px) {
  .gallery-grid--full { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .gallery-item.wide { grid-column: span 1; }
}

/* =============================================
   SECTION PAR UNIVERS / CATÉGORIES HIGHLIGHT
   ============================================= */
.cat-highlight-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--rule);
}
.cat-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.cat-highlight-card {
  display: flex;
  flex-direction: column;
}
.cat-highlight-img-link {
  display: block;
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--ink-2);
}
.cat-highlight-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.cat-highlight-card:hover .cat-highlight-img-link img { transform: scale(1.05); }
.cat-highlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,9,7,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.cat-highlight-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bronze-light);
  text-decoration: none;
  margin: 1.2rem 0 0.5rem;
  border-bottom: 2px solid var(--bronze);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color 0.2s;
}
.cat-highlight-label:hover { color: var(--bronze); }
.cat-highlight-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.cat-highlight-title a {
  color: var(--bronze-light);
  text-decoration: none;
  transition: color 0.2s;
}
.cat-highlight-title a:hover { color: var(--text-primary); }
.cat-highlight-excerpt {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
  letter-spacing: 0.02em;
  flex: 1;
  margin-bottom: 0.8rem;
}
.cat-highlight-meta {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-bottom: 1.2rem;
}

@media (max-width: 1024px) {
  .cat-highlight-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .cat-highlight-grid { grid-template-columns: 1fr; }
}

/* =============================================
   LOGO SUR PHOTOS HERO — haut gauche
   ============================================= */
.hero-logo {
  display: block;
  position: absolute;
  top: 1.8rem;
  left: 2.5rem;
  z-index: 3;
  pointer-events: auto;
  text-decoration: none;
}
.hero-logo img {
  height: 140px !important;
  width: auto !important;
  max-width: 400px !important;
  display: block;
  filter: drop-shadow(0 3px 20px rgba(0,0,0,0.75));
}
.hero-logo--single {
  top: 2rem;
  left: 2.5rem;
}

/* Logo hero masqué sur archives et pages statiques */
.archive .hero-logo,
.page .hero-logo { display: none; }

/* Header sans logo sur index et articles : hauteur minimale */
body.home .site-header,
body.single .site-header {
  height: 38px;
}
body.home .site-header .header-center,
body.single .site-header .header-center {
  display: none;
}

/* Espace entre header et contenu sur les pages archives */
body.archive .container:first-of-type,
body.archive .archive-header {
  margin-top: 3rem;
}

/* Burger et loupe complètement à droite */
.header-right {
  margin-left: auto;
  justify-content: flex-end !important;
}
.site-header .container {
  grid-template-columns: auto 1fr auto !important;
}

/* ── Burger/loupe extrême droite ── */
.site-header .container {
  padding-right: 0 !important;
}
.header-right {
  padding-right: 1.2rem;
}

/* ── Logo hero : extrême gauche et haut ── */
.hero-logo {
  top: 0.8rem !important;
  left: 1rem !important;
}
.hero-logo--single {
  top: 0.8rem !important;
  left: 1rem !important;
}

/* ── Logo hero encore plus grand ── */
.hero-logo img {
  height: 200px !important;
  max-width: 500px !important;
}

.hero-logo img { height: 160px !important; max-width: 450px !important; }

.hero-logo img { filter: none !important; }

.hero-logo { top: 1.8rem !important; }

/* Logo aligné avec le titre du hero index (padding 2.5rem) */
.hero-logo { left: 2.5rem !important; }

/* Logo aligné avec le titre des articles (padding 3rem) */
.hero-logo--single { left: 3rem !important; }

.hero-logo img { height: 170px !important; }

/* =============================================
   STICKY HEADER — apparaît au scroll sur index/articles
   ============================================= */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: linear-gradient(to bottom, #4a2008, #1a100a);
  border-bottom: 1px solid var(--rule);
  height: 64px;
  display: none;
  align-items: center;
  padding: 0 1.5rem;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.sticky-header {
  display: grid;
}
.sticky-header.visible {
  transform: translateY(0);
}

/* Logo sticky — centré */
.sticky-logo {
  display: flex;
  justify-content: center;
}
.sticky-logo img {
  height: 46px !important;
  width: auto !important;
  display: block;
}

/* Réseaux sociaux sticky — gauche */
.sticky-nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
}
/* Loupe + burger sticky — droite */
.sticky-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
  padding-right: 0;
}
.sticky-social {
  color: #e8ddd0;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.2s;
}
.sticky-social:hover { color: var(--bronze-light); }
.sticky-social svg { width: 15px; height: 15px; fill: currentColor; }
.sticky-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #e8ddd0;
  display: flex;
  align-items: center;
  padding: 0;
  transition: color 0.2s;
}
.sticky-search-btn:hover { color: var(--bronze-light); }
.sticky-search-btn svg {
  width: 17px; height: 17px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round;
}
.sticky-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.sticky-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #e8ddd0;
  transition: background 0.2s;
}
.sticky-burger:hover span { background: var(--bronze-light); }

/* Sur pages et archives : masquer le header original (sticky-header le remplace) */
body.page .site-header,
body.archive .site-header,
body.search .site-header {
  display: none;
}

/* Pages et archives : sticky header visible dès le chargement */
body.page .sticky-header,
body.archive .sticky-header,
body.search .sticky-header {
  transform: translateY(0) !important;
  display: grid !important;
}

/* =============================================
   TITRES PAGES ET ARCHIVES — alignés sur les articles
   ============================================= */
.page-title,
.archive-title,
.gallery-page-title {
  font-family: var(--font-display) !important;
  font-size: clamp(32px, 5vw, 60px) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: var(--bronze-light) !important;
  line-height: 1.02 !important;
  letter-spacing: 0.02em !important;
  text-align: left !important;
  margin-bottom: 0.5rem;
}
.page-header,
.archive-header,
.gallery-page-header {
  text-align: left !important;
}

/* ── Titre pages À propos / Contact — même style que single ── */
.kb-page .page-title,
.page-header .page-title,
article.kb-page h1.page-title {
  font-family: var(--font-display) !important;
  font-size: clamp(32px, 5vw, 60px) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: var(--bronze-light) !important;
  line-height: 1.02 !important;
  letter-spacing: 0.02em !important;
  text-align: left !important;
  margin: 0 !important;
}
.page-header {
  text-align: left !important;
  padding: 2.5rem 0 2rem !important;
  border-bottom: 1px solid var(--rule) !important;
  margin-bottom: 3rem;
}

/* ── Logo hero centré et plus petit sur mobile ── */
@media (max-width: 768px) {
  .hero-logo,
  .hero-logo--single {
    left: 50% !important;
    transform: translateX(-50%);
    top: 1rem !important;
  }
  .hero-logo img { height: 80px !important; }
}
@media (max-width: 480px) {
  .hero-logo img { height: 60px !important; }
}
