﻿/*
Theme Name: Paris Gazette
Version: 1.0.0
Description: Thème éditorial pour Paris Gazette
*/

/* ═══════════════════════════════════════════════════════
   CSS VARIABLES
═══════════════════════════════════════════════════════ */

:root {
  --bg: #F9F7F4;
  --surface: #FFFFFF;
  --dark: #0D0D0D;
  --body: #2E2E2E;
  --muted: #888888;
  --border: #E8E3DC;
  --primary: #0D0D0D;
  --accent: #B5291F;
  --accent-light: #FDF0EF;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --radius: 4px;
  --shadow: 0 1px 8px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 24px rgba(0,0,0,.10);
  --container: 1200px;
}

/* ═══════════════════════════════════════════════════════
   BASE / RESET
═══════════════════════════════════════════════════════ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  font-family: var(--sans);
  color: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

p { margin: 0 0 1em; }

h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; }

button { font-family: inherit; }

/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: 2.8rem; font-weight: 400; }
h2 { font-size: 2.1rem; font-weight: 500; }
h3 { font-size: 1.6rem; font-weight: 500; }
h4 { font-size: 1.3rem; font-weight: 500; }
h5 { font-size: 1.1rem; font-weight: 500; }
h6 { font-size: 1rem;   font-weight: 500; }

p {
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1.8;
  color: var(--body);
}

/* ═══════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════
   REVEAL ANIMATION
═══════════════════════════════════════════════════════ */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: none;
}

.btn-dark { background: var(--dark); color: white; }
.btn-dark:hover { background: var(--accent); color: white; }
.btn-outline { background: transparent; color: var(--dark); border: 1.5px solid currentColor; }
.btn-outline:hover { background: var(--dark); color: white; }

/* ═══════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════ */

.site-header {
  position: fixed;
  left: 0; right: 0; top: 0;
  z-index: 100;
  background: rgba(249,247,244,.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
  transition: background .3s, box-shadow .3s, color .3s;
}

.site-header.scrolled {
  background: rgba(249,247,244,.97);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(10px);
}

/* Header transparent sur les pages avec hero sombre */
.category .site-header:not(.scrolled),
.tag .site-header:not(.scrolled),
.single .site-header:not(.scrolled) {
  background: transparent;
}

/* Logo blanc sur hero sombre */
.category .site-header:not(.scrolled) .logo-paris,
.tag .site-header:not(.scrolled) .logo-paris,
.single .site-header:not(.scrolled) .logo-paris {
  color: rgba(255,255,255,.75);
}

.category .site-header:not(.scrolled) .logo-sep,
.tag .site-header:not(.scrolled) .logo-sep,
.single .site-header:not(.scrolled) .logo-sep {
  background: white;
  opacity: .4;
}

.category .site-header:not(.scrolled) .logo-gazette,
.tag .site-header:not(.scrolled) .logo-gazette,
.single .site-header:not(.scrolled) .logo-gazette {
  color: white;
}

/* Nav blanc sur hero sombre */
.category .site-header:not(.scrolled) .site-nav a,
.tag .site-header:not(.scrolled) .site-nav a,
.single .site-header:not(.scrolled) .site-nav a {
  color: rgba(255,255,255,.8);
}

.category .site-header:not(.scrolled) .site-nav a:hover,
.tag .site-header:not(.scrolled) .site-nav a:hover,
.single .site-header:not(.scrolled) .site-nav a:hover {
  color: white;
}

/* Burger menu blanc sur hero sombre */
.category .site-header:not(.scrolled) .nav-toggle span,
.tag .site-header:not(.scrolled) .nav-toggle span,
.single .site-header:not(.scrolled) .nav-toggle span {
  background: white;
}

.header-topbar { display: none !important; }

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

/* Logo */
.site-logo { text-decoration: none; display: inline-block; }

.logo-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  line-height: 1;
  gap: 0;
}

.logo-paris {
  font-family: var(--sans);
  font-weight: 300;
  font-size: .58rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--dark);
}

.logo-sep {
  display: block;
  width: 1px;
  height: 14px;
  background: currentColor;
  opacity: .3;
  margin: 0 11px;
  flex-shrink: 0;
}

.logo-gazette {
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  font-size: 1.18rem;
  color: var(--dark);
  letter-spacing: .01em;
  line-height: 1;
}

/* Nav */
.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--body);
  text-decoration: none;
  transition: color .2s;
}

.site-nav a:hover { color: var(--accent); }

/* Bouton Contact dans la nav */
.site-nav li:last-child a {
  border: 1px solid var(--dark);
  border-radius: 20px;
  padding: 6px 16px;
  transition: color .2s, background .2s;
}
.site-nav li:last-child a:hover {
  background: var(--dark);
  color: white;
}
.category .site-header:not(.scrolled) .site-nav li:last-child a,
.tag .site-header:not(.scrolled) .site-nav li:last-child a,
.single .site-header:not(.scrolled) .site-nav li:last-child a {
  border-color: rgba(255,255,255,.7);
  color: white;
}
.category .site-header:not(.scrolled) .site-nav li:last-child a:hover,
.tag .site-header:not(.scrolled) .site-nav li:last-child a:hover,
.single .site-header:not(.scrolled) .site-nav li:last-child a:hover {
  background: white;
  color: var(--dark);
}

/* Mobile toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--dark); margin: 5px 0; transition: all .3s; }

/* ═══════════════════════════════════════════════════════
   HERO (home editorial grid)
═══════════════════════════════════════════════════════ */

/* Intro H1 — bande sous la nav, au-dessus du hero */
.pg-intro {
  padding: 72px 0 32px;
  text-align: center;
  background: var(--bg);
}
.pg-intro-rule {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 24px;
}
.pg-intro h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--dark);
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.12;
}
.pg-intro h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.pg-intro-sub {
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 18px 0 0;
  line-height: 1.6;
}

.pg-hero { margin-top: 0; padding-top: 0; background: var(--bg); }

.pg-hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3px;
  height: 540px;
}

.pg-hero-main { position: relative; overflow: hidden; }

.pg-hero-aside { display: flex; flex-direction: column; gap: 3px; }
.pg-hero-aside .hero-card { flex: 1; position: relative; overflow: hidden; }

.pg-hero-main img,
.pg-hero-aside .hero-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.pg-hero-main:hover img,
.pg-hero-aside .hero-card:hover img { transform: scale(1.04); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,.88) 0%, rgba(13,13,13,.2) 50%, transparent 100%);
  pointer-events: none;
}

.hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 28px 28px; z-index: 2; }
.pg-hero-aside .hero-content { padding: 20px; }

.hero-cat {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
  text-decoration: none;
}

.hero-content h2 { font-family: var(--serif); font-weight: 500; font-size: 2.1rem; color: white; line-height: 1.15; margin: 0 0 10px; }
.hero-content h3 { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: white; line-height: 1.2; margin: 0 0 8px; }
.hero-content h2 a, .hero-content h3 a { color: inherit; text-decoration: none; }
.hero-content h2 a:hover, .hero-content h3 a:hover { text-decoration: underline; }
.hero-meta { font-family: var(--sans); font-size: .7rem; color: rgba(255,255,255,.6); }

/* ═══════════════════════════════════════════════════════
   TICKER
═══════════════════════════════════════════════════════ */

.pg-ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 13px 24px;
  background: var(--surface);
}

.pg-ticker-track {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  align-items: center;
}

.pg-ticker-track a {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.pg-ticker-track a:hover { color: var(--accent); }
.pg-ticker-sep { color: var(--border); }

/* ═══════════════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════════════ */

.pg-section { padding: 80px 0; }
.pg-section-alt { background: var(--surface); }

/* ═══════════════════════════════════════════════════════
   CATÉGORIES 5 COLONNES (homepage)
═══════════════════════════════════════════════════════ */

.cats-cols-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.cat-col {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 40px 20px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: box-shadow .25s, transform .25s;
}

.cat-col:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.cat-col-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.cat-col-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--dark);
  margin: 0;
  line-height: 1.2;
}

.cat-col-desc {
  font-family: var(--sans);
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.cat-col-link {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dark);
  border: 1px solid var(--dark);
  padding: 9px 22px;
  text-decoration: none;
  border-radius: 2px;
  transition: background .2s, color .2s;
}

.cat-col-link:hover {
  background: var(--dark);
  color: white;
}

@media (max-width: 900px) {
  .cats-cols-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .cats-cols-grid { grid-template-columns: repeat(2, 1fr); }
}

.section-header { text-align: center; margin-bottom: 52px; }

.section-label {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.3rem;
  color: var(--dark);
  line-height: 1.2;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════ */

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 0;
}

.card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--border);
  border-radius: 2px;
}

.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; display: block; }
.card:hover .card-img img { transform: scale(1.05); }

.card-body { padding: 18px 0 14px; flex: 1; display: flex; flex-direction: column; }

.card-cat {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  text-decoration: none;
  display: block;
}

.card-title { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.25; color: var(--dark); margin: 0 0 10px; }
.card-title a { color: inherit; text-decoration: none; transition: color .2s; }
.card-title a:hover { color: var(--accent); }

.card-excerpt {
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  font-family: var(--sans);
  font-size: .68rem;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
}

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ═══════════════════════════════════════════════════════
   PERSONA FEATURE BLOCK (home)
═══════════════════════════════════════════════════════ */

.author-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.author-feature-img { position: relative; }
.author-feature-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); }

.author-feature-label { font-family: var(--sans); font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.author-feature-name { font-family: var(--serif); font-size: 2.5rem; font-weight: 500; color: var(--dark); margin: 0 0 6px; line-height: 1.1; }
.author-feature-title { font-family: var(--sans); font-size: .82rem; color: var(--muted); margin: 0 0 24px; }
.author-feature-bio { font-family: var(--sans); font-size: .88rem; line-height: 1.8; color: var(--body); margin: 0 0 32px; }

/* ═══════════════════════════════════════════════════════
   POST HERO (single)
═══════════════════════════════════════════════════════ */

.post-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: -100px;
  padding-top: 180px;
}

.post-hero-bg { position: absolute; inset: 0; }
.post-hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,.9) 0%, rgba(13,13,13,.35) 55%, rgba(13,13,13,.1) 100%);
}

.post-hero-content { position: relative; z-index: 2; padding: 56px 0 64px; color: white; }

.post-hero-content .post-cat {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
  text-decoration: none;
}

.post-hero-content h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: white;
  line-height: 1.12;
  max-width: 760px;
  margin: 0 0 20px;
}

.post-meta-bar { display: flex; align-items: center; gap: 16px; font-family: var(--sans); font-size: .75rem; color: rgba(255,255,255,.6); }
.post-meta-bar span { display: flex; align-items: center; gap: 6px; }

.post-hero.no-img { background: var(--dark); min-height: 45vh; }

/* ═══════════════════════════════════════════════════════
   POST STAR RATING
═══════════════════════════════════════════════════════ */

.post-hero-stars { margin-top: 16px; }
.post-hero-stars .kk-star-ratings { float: none !important; }
.post-hero-stars .kk-star-ratings .kksr-legend { color: rgba(255,255,255,.8) !important; font-size: .8rem; }
.post-hero-stars .kksr-star svg, .post-hero-stars .kksr-star path { fill: rgba(255,255,255,.5) !important; }
.post-hero-stars .kksr-star.kksr-rated svg, .post-hero-stars .kksr-star.kksr-rated path { fill: #fff !important; }

/* ═══════════════════════════════════════════════════════
   POST BODY
═══════════════════════════════════════════════════════ */

.post-body { padding: 64px 0 80px; }

.summarize-wrap {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  margin-bottom: 40px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.summarize-label {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.post-featured-img { margin-bottom: 40px; }
.post-featured-img img { width: 100%; max-height: 600px; object-fit: cover; border-radius: 15px; display: block; }

.entry-content {
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1.85;
  color: var(--body);
  max-width: 720px;
  margin: 0 auto;
}

.entry-content h2 { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; color: var(--dark); margin: 2em 0 .6em; line-height: 1.2; }
.entry-content h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--dark); margin: 1.6em 0 .5em; }
.entry-content p { margin-bottom: 1.4em; }
.entry-content a { color: var(--accent); }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin-bottom: 1.4em; }
.entry-content li { margin-bottom: .4em; }

.entry-content blockquote {
  border-left: 3px solid var(--accent);
  margin: 2em 0;
  padding: 16px 24px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--dark);
}

.entry-content img { border-radius: var(--radius); }

.post-tags {
  max-width: 720px;
  margin: 32px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.post-tags a {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all .2s;
}

.post-tags a:hover { border-color: var(--accent); color: var(--accent); }

/* ═══════════════════════════════════════════════════════
   AUTHOR BLOCK (single)
═══════════════════════════════════════════════════════ */

.author-block {
  max-width: 720px;
  margin: 48px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.author-block-avatar,
.author-block img {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  min-height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center top !important;
  flex-shrink: 0;
  display: block;
}
.author-block-avatar-placeholder { width: 72px; height: 72px; border-radius: 50%; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.author-block-label { font-family: var(--sans); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.author-block-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--dark); margin-bottom: 6px; }
.author-block-bio { font-family: var(--sans); font-size: .82rem; line-height: 1.7; color: var(--body); margin: 0; }

/* ═══════════════════════════════════════════════════════
   RELATED ARTICLES
═══════════════════════════════════════════════════════ */

.related-section-inline { max-width: 720px; margin: 56px auto 0; padding-top: 48px; border-top: 1px solid var(--border); }
.related-section-inline .section-head { margin-bottom: 32px; }
.related-section-inline .section-label { font-family: var(--sans); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; display: block; }
.related-section-inline h2 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--dark); margin: 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ═══════════════════════════════════════════════════════
   ARCHIVE HERO
═══════════════════════════════════════════════════════ */

.archive-hero { position: relative; background: var(--dark); margin-top: -100px; padding: 260px 0 80px; overflow: hidden; text-align: center; }
.archive-hero-bg { position: absolute; inset: 0; }
.archive-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.archive-hero.has-bg-photo .archive-hero-bg img { opacity: .55; }
.archive-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,13,.7) 0%,
    rgba(13,13,13,.4) 40%,
    rgba(13,13,13,.6) 100%
  );
}
.archive-hero-content { position: relative; z-index: 2; color: white; }
.archive-hero-content h1 { font-family: var(--serif); font-weight: 400; font-size: 2.8rem; color: white; margin: 0 0 12px; }
.archive-hero-content p { font-family: var(--sans); font-size: .88rem; color: rgba(255,255,255,.65); margin: 0; }
.archive-desc { font-family: var(--sans); font-size: .92rem; color: rgba(255,255,255,.7); max-width: 560px; margin: 16px auto 0; line-height: 1.6; }
.archive-desc p { margin: 0; font-size: .92rem; color: rgba(255,255,255,.7); }
.archive-breadcrumb { margin-bottom: 20px; }

/* ═══════════════════════════════════════════════════════
   PAGES
═══════════════════════════════════════════════════════ */

.page-hero-mini { background: var(--dark); padding: 120px 0 56px; text-align: center; }
.page-hero-mini h1 { font-family: var(--serif); font-weight: 400; font-size: 2.4rem; color: white; margin: 12px 0 0; }
.page-layout { max-width: 800px; margin: 0 auto; padding: 64px 24px 80px; }
.page-content { font-family: var(--sans); font-size: .93rem; line-height: 1.85; color: var(--body); }
.legal-content h2 { font-family: var(--serif); font-size: 1.5rem; color: var(--dark); margin: 2em 0 .5em; }
.legal-content p { margin-bottom: 1em; }

/* ═══════════════════════════════════════════════════════
   SITEMAP
═══════════════════════════════════════════════════════ */

.sitemap-content { padding: 48px 0; }
.sitemap-section { margin-bottom: 52px; }
.sitemap-section-title { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: var(--dark); border-bottom: 1px solid var(--border); padding-bottom: 14px; margin-bottom: 24px; }

.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.sitemap-grid a {
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--body);
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all .2s;
}
.sitemap-grid a:hover { border-color: var(--accent); color: var(--accent); }

.sitemap-list { list-style: none; padding: 0; margin: 0; }
.sitemap-list li { border-bottom: 1px solid var(--border); }
.sitemap-list a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-family: var(--sans); font-size: .85rem; color: var(--body); text-decoration: none; transition: color .2s; }
.sitemap-list a:hover { color: var(--accent); }
.sitemap-date { font-size: .72rem; color: var(--muted); }

/* ═══════════════════════════════════════════════════════
   CONTACT FORM
═══════════════════════════════════════════════════════ */

/* H1 tagline homepage */
.pg-tagline {
  padding: 56px 0 0;
  text-align: center;
}
.pg-tagline h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--dark);
  margin: 0;
  letter-spacing: -.01em;
  line-height: 1.2;
}

.contact-intro { font-family: var(--sans); font-size: .9rem; line-height: 1.8; color: var(--body); margin-bottom: 40px; }

/* Contact layout 2 colonnes */
.contact-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-info-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--dark);
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}

.contact-info-label { font-family: var(--sans); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-info-value { font-family: var(--sans); font-size: .85rem; color: var(--dark); }
.contact-info-value a { color: var(--accent); text-decoration: none; }
.contact-info-value a:hover { text-decoration: underline; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--dark);
  background: var(--surface);
  transition: border-color .2s;
  outline: none;
}

.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--dark); }
.wpcf7 textarea { min-height: 160px; resize: vertical; }

.wpcf7 .wpcf7-submit {
  background: var(--dark);
  color: white;
  border: none;
  padding: 14px 36px;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s;
}

.wpcf7 .wpcf7-submit:hover { background: var(--accent); }
.form-row p { display: flex !important; gap: 16px !important; margin: 0 0 20px !important; }
.form-row p br { display: none !important; }
.form-row p .wpcf7-form-control-wrap { flex: 1; min-width: 0; }
.wpcf7 p { margin-bottom: 20px; }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */

.site-footer { background: var(--dark); color: rgba(255,255,255,.6); }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-brand .logo-paris   { color: rgba(255,255,255,.5); }
.footer-brand .logo-sep     { background: rgba(255,255,255,.25); }
.footer-brand .logo-gazette { color: white; }

.footer-desc { font-family: var(--sans); font-size: .82rem; line-height: 1.75; color: rgba(255,255,255,.45); margin-top: 20px; }

.footer-col-title {
  font-family: var(--sans) !important;
  font-size: .65rem !important;
  font-weight: 600 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: white !important;
  margin-bottom: 20px;
  display: block;
}

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-family: var(--sans); font-size: .82rem; color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }

.footer-recent { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-recent li { display: flex; flex-direction: column; gap: 3px; }
.footer-recent a { font-family: var(--sans); font-size: .82rem; color: rgba(255,255,255,.55); text-decoration: none; line-height: 1.4; transition: color .2s; }
.footer-recent a:hover { color: white; }
.footer-recent-date { font-size: .68rem; color: rgba(255,255,255,.3); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: .7rem;
  color: rgba(255,255,255,.25);
}

.footer-bottom a { color: rgba(255,255,255,.25); text-decoration: none; margin-left: 20px; transition: color .2s; }
.footer-bottom a:hover { color: rgba(185,41,31,.8); }

/* ═══════════════════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════════════════ */

.breadcrumb {
  font-family: var(--sans);
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: white; }
.bc-sep { color: rgba(255,255,255,.3); }
.page-hero-mini .breadcrumb, .archive-hero .breadcrumb { color: rgba(255,255,255,.45); justify-content: center; }
.archive-hero .breadcrumb { justify-content: center; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .author-feature { grid-template-columns: 1fr; gap: 40px; max-width: 480px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    z-index: 99;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .site-nav.nav-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 24px; text-align: center; }
  .site-nav a { font-size: 1.1rem; }
  .nav-toggle { display: block; position: relative; z-index: 101; }
  .header-topbar { display: none; }
  .pg-hero-grid { grid-template-columns: 1fr; height: auto; }
  .pg-hero-main { height: 380px; }
  .pg-hero-aside { flex-direction: row; height: 200px; }
  .pg-hero-aside .hero-card { flex: 1; }
  .hero-content h2 { font-size: 1.5rem; }
  .hero-content h3 { font-size: 1.1rem; }
  .cards-grid { grid-template-columns: 1fr; gap: 28px; }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .post-hero-content h1 { font-size: 1.9rem; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .author-block { flex-direction: column; }
  .pg-section { padding: 56px 0; }
  .archive-hero { padding: 220px 0 56px; }
}

@media (max-width: 480px) {
  .pg-hero-aside { height: 160px; }
  .pg-hero-main { height: 320px; }
  .cards-grid-4 { grid-template-columns: 1fr; }
}
