/* ══════════════════════════════
   CHRONIQUES — Le journal de bord du studio
   Structure identique aux Archives, en version FOND NOIR.
══════════════════════════════ */

/* Grain & scanlines (repris des Archives, adaptés au fond sombre) */
#global-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; opacity: 0.06; mix-blend-mode: screen; }
.glitch-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(245,240,232,0.02) 2px, rgba(245,240,232,0.02) 4px);
  animation: scanlines 8s linear infinite;
}
@keyframes scanlines { 0% { background-position: 0 0; } 100% { background-position: 0 100px; } }

/* Nav : fond noir flouté une fois le hero passé */
body[data-page="chroniques"] nav#site-nav.nav-solid {
  background: rgba(26,26,26,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
#hero { background: transparent; padding: 12rem 3.5rem 5rem; position: relative; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hero-inner { display: flex; justify-content: space-between; align-items: flex-end; position: relative; z-index: 4; }
.hero-eyebrow { font-family: var(--mono); font-size: 1rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245,240,232,0.55); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.hero-eyebrow-badge { background: var(--vive); color: var(--encre); padding: 0.28rem 0.7rem; font-size: 1rem; letter-spacing: 0.15em; }
.hero-title { font-family: var(--display); font-size: clamp(4rem, 9vw, 8.5rem); text-transform: uppercase; line-height: 0.88; letter-spacing: -0.02em; color: var(--base); }
.hero-title .outline { -webkit-text-stroke: 1.5px var(--base); color: transparent; }
.hero-right { text-align: right; padding-bottom: 0.6rem; }
.hero-lede { font-family: var(--mono); font-size: 1rem; line-height: 2; color: rgba(245,240,232,0.55); max-width: 30ch; border-left: 2px solid var(--vive); padding-left: 1rem; }

/* ══════════════════════════════
   GRILLE — cartes typographiques sans visuel, 2 colonnes centrées
══════════════════════════════ */
#journal { background: transparent; padding: 5rem 3.5rem 7rem; position: relative; z-index: 4; }
.chro-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 1180px; margin: 0 auto; }
.chro-card { background: rgba(245,240,232,0.02); border: 1px solid rgba(245,240,232,0.14); text-decoration: none; color: inherit; display: flex; flex-direction: column; cursor: none; transition: background 0.3s, border-color 0.3s, transform 0.3s; position: relative; padding: 2.75rem 2.75rem 2.25rem; }
.chro-card:hover { background: rgba(245,240,232,0.05); border-color: rgba(212,232,66,0.55); transform: translateY(-4px); }

.chro-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.75rem; }
.chro-card-num { font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.chro-card-cat { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,240,232,0.6); border: 1px solid rgba(245,240,232,0.25); padding: 0.3rem 0.7rem; }
.chro-card-title { font-family: var(--display); font-size: clamp(2.4rem, 3.3vw, 3.4rem); text-transform: uppercase; color: var(--base); line-height: 0.95; letter-spacing: -0.01em; margin-bottom: 1.4rem; transition: color 0.25s; }
.chro-card:hover .chro-card-title { color: var(--vive); }
.chro-card-desc { font-family: var(--mono); font-size: 0.95rem; line-height: 1.9; color: rgba(245,240,232,0.6); margin-bottom: 2.25rem; flex: 1; }
.chro-card-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid rgba(245,240,232,0.12); }
.chro-card-meta { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,240,232,0.5); }
.chro-card-cta { font-family: var(--display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(245,240,232,0.7); transition: color 0.25s, transform 0.25s; white-space: nowrap; }
.chro-card:hover .chro-card-cta { color: var(--vive); transform: translateX(4px); }

/* État « en cours d'instruction » (placeholder, pas encore d'article) */
.chro-soon { margin: 4rem auto 0; text-align: center; font-family: var(--mono); font-size: 0.9rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,240,232,0.4); display: flex; align-items: center; justify-content: center; gap: 0.6rem; }
.chro-soon::before, .chro-soon::after { content: ''; height: 1px; width: 3rem; background: rgba(245,240,232,0.2); }

/* ══════════════════════════════
   RESPONSIVE (sécurité ; mobile redirige vers /mobile)
══════════════════════════════ */
@media (max-width: 1000px) {
  #journal { padding: 3rem 2rem 5rem; }
  .chro-grid { grid-template-columns: 1fr; max-width: 640px; }
  .chro-card { padding: 2.25rem 2.25rem 1.75rem; }
}
@media (max-width: 768px) {
  #hero { padding: 7rem 1.5rem 3rem; }
  .hero-title { font-size: clamp(3rem, 12vw, 5rem); }
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .hero-right { text-align: left; }
  #journal { padding: 2rem 1.5rem 4rem; }
}
