/* ============================================================
   LE PETIT CORSE — Thème Joornal
   CSS Grid + Flexbox pur | Palette #243048 / #F09030
   ============================================================ */

/* ── Google Fonts import backup (also in header.html) ──────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
  --primary:     #243048;
  --secondary:   #F09030;
  --accent:      #F09030;
  --text:        #22262E;
  --text-light:  #5A6070;
  --bg:          #FAFAF8;
  --bg-alt:      #F3F0EA;
  --bg-card:     #FFFFFF;
  --border:      #E2DDD4;
  --white:       #FFFFFF;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --radius:      6px;
  --radius-lg:   12px;
  --shadow-sm:   0 1px 4px rgba(36,48,72,.08);
  --shadow-md:   0 4px 16px rgba(36,48,72,.12);
  --shadow-lg:   0 8px 32px rgba(36,48,72,.16);

  --nav-h:       88px;
  --container:   1200px;
  --content-max: 780px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  border-bottom: 3px solid var(--secondary);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo a {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 72px;
  width: auto;
  display: block;
}

/* Menu principal via {{menu}} */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-menu-item {
  position: relative;
}
.nav-menu-link {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.nav-menu-link:hover,
.nav-menu-link:focus {
  color: var(--secondary);
  background: rgba(255,255,255,.08);
}

/* Hamburger (mobile) */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* Mobile nav overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--primary);
  z-index: 99;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
}
.nav-mobile-overlay .nav-menu-link {
  font-size: 1.1rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  border-radius: 0;
  width: 100%;
}

@media (max-width: 768px) {
  .nav-burger { display: flex; }
  .nav-menu   { display: none; }
  #mobile-nav-toggle:checked ~ .site-nav .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #mobile-nav-toggle:checked ~ .site-nav .nav-burger span:nth-child(2) { opacity: 0; }
  #mobile-nav-toggle:checked ~ .site-nav .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  #mobile-nav-toggle:checked ~ .nav-mobile-overlay { display: flex; }
}

/* ══════════════════════════════════════════════════════════════
   INDEX — Archétype E : Immersif pleine largeur overlay
══════════════════════════════════════════════════════════════ */
.hero-immersive {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-immersive__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-immersive__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Voile dégradé bas-gauche */
.hero-immersive__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(36,48,72,.80) 0%,
    rgba(36,48,72,.45) 50%,
    rgba(36,48,72,.15) 100%
  );
}
.hero-immersive__content {
  position: relative;
  z-index: 2;
  padding: 64px 24px 56px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero-immersive__kicker {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.hero-immersive__h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 20px;
  text-align: left;
}
.hero-immersive__baseline {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.85);
  font-style: italic;
  max-width: 560px;
  text-align: left;
  line-height: 1.5;
}

/* Section présentation du blog */
.blog-intro {
  background: var(--bg);
  padding: 64px 24px 48px;
}
.blog-intro__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.blog-intro__text {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
  max-width: 900px;
}
.blog-intro__text h2 { font-family: var(--font-serif); margin-bottom: 16px; }
.blog-intro__text p  { margin-bottom: 16px; }

/* Section showcase */
.showcase-section {
  background: var(--bg-alt);
  padding: 56px 24px 72px;
}
.showcase-section__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 40px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary);
}
.section-title--accent::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--secondary);
  margin-top: 8px;
  border-radius: 2px;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

/* ══════════════════════════════════════════════════════════════
   POST-LOOP — Carte article
══════════════════════════════════════════════════════════════ */
.post-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.post-card__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.post-card:hover .post-card__thumb img { transform: scale(1.04); }

.post-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card__cat {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
  transition: color .2s;
}
.post-card__cat:hover { color: var(--primary); }

.post-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 12px;
}
.post-card__title a { transition: color .2s; }
.post-card__title a:hover { color: var(--secondary); }

.post-card__excerpt {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}
.post-card__meta {
  font-size: .78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}
.post-card__meta-sep { opacity: .5; }
.post-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: .04em;
}
.post-card__cta::after {
  content: '→';
  transition: transform .2s;
}
.post-card:hover .post-card__cta::after { transform: translateX(4px); }

/* ══════════════════════════════════════════════════════════════
   POST-LIST — Listing articles
══════════════════════════════════════════════════════════════ */
.list-hero {
  background: var(--primary);
  padding: 56px 24px 48px;
  border-bottom: 4px solid var(--secondary);
}
.list-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.list-hero__kicker {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}
.list-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  text-align: left;
}

.list-section {
  padding: 56px 24px 72px;
  background: var(--bg);
}
.list-section__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
}
.pagination .page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--white);
  transition: all .2s;
}
.pagination .page:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pagination .page.active { background: var(--secondary); color: var(--white); border-color: var(--secondary); font-weight: 700; }

/* ══════════════════════════════════════════════════════════════
   POST — Article détail
══════════════════════════════════════════════════════════════ */
.post-hero {
  background: var(--bg-alt);
  padding: 40px 24px 0;
  border-bottom: 1px solid var(--border);
}
.post-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  font-size: .8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.breadcrumb li + li::before {
  content: '/';
  margin-right: 6px;
  opacity: .45;
}
.breadcrumb a { color: var(--text-light); transition: color .2s; }
.breadcrumb a:hover { color: var(--secondary); }

/* Kicker catégorie */
.post-kicker {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--secondary);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.post-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.18;
  margin-bottom: 24px;
  text-align: left;
  max-width: 860px;
}

/* Méta auteur/date/lecture */
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-light);
  padding-bottom: 32px;
}
.post-meta__sep { opacity: .45; }

/* Layout article : content + sidebar ToC */
.post-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 72px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: start;
}
.post-body { min-width: 0; }

/* Image principale article */
.post-thumb {
  margin-bottom: 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.post-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contenu article */
.post-content {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--text);
}
.post-content h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2.4em 0 .8em;
  padding-left: 16px;
  border-left: 4px solid var(--secondary);
}
.post-content h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin: 2em 0 .7em;
}
.post-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.6em 0 .5em;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.post-content p  { margin-bottom: 1.4em; }
.post-content ul,
.post-content ol { margin: 1.2em 0 1.2em 1.6em; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: .5em; }
.post-content a  { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--primary); }
.post-content blockquote {
  margin: 2em 0;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-left: 4px solid var(--secondary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-light);
}
.post-content img {
  border-radius: var(--radius);
  margin: 1.5em 0;
  box-shadow: var(--shadow-sm);
}
.post-content strong { color: var(--primary); }
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: .92rem;
}
.post-content th {
  background: var(--primary);
  color: var(--white);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}
.post-content td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
}
.post-content tr:nth-child(even) td { background: var(--bg-alt); }

/* Sidebar ToC */
.post-sidebar { min-width: 0; }
.toc-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.toc-widget__label {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-widget__label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--secondary);
}
.toc-widget__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
/* Styles for Joornal-generated ToC */
.post-toc,
.toc-widget .table-of-contents {
  font-size: .88rem;
  color: var(--text);
}
.post-toc a,
.toc-widget a {
  color: var(--text-light);
  display: block;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s, padding-left .2s;
  line-height: 1.45;
}
.post-toc a:hover,
.toc-widget a:hover {
  color: var(--secondary);
  padding-left: 6px;
}
.post-toc ul,
.toc-widget ul { padding-left: 12px; }

/* Bloc signature auteur */
.author-signature {
  margin-top: 56px;
  padding: 32px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 5px solid var(--secondary);
  border-radius: var(--radius-lg);
}
.author-signature__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}
.author-signature__content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* Articles liés */
.related-section {
  background: var(--bg-alt);
  padding: 56px 24px 64px;
  border-top: 1px solid var(--border);
}
.related-section__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

/* ══════════════════════════════════════════════════════════════
   PAGE — Statique (mentions légales, etc.)
══════════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--primary);
  padding: 48px 24px 40px;
  border-bottom: 4px solid var(--secondary);
}
.page-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.page-hero__kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}
.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  text-align: left;
}
.page-content-section {
  padding: 56px 24px 80px;
  background: var(--bg);
}
.page-content-inner {
  max-width: 820px;
  margin: 0 auto;
}
.page-content-body {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--text);
}
.page-content-body h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2em 0 .7em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--secondary);
}
.page-content-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin: 1.6em 0 .5em;
}
.page-content-body p  { margin-bottom: 1.3em; }
.page-content-body ul,
.page-content-body ol { margin: 1em 0 1em 1.6em; }
.page-content-body ul { list-style: disc; }
.page-content-body ol { list-style: decimal; }
.page-content-body li { margin-bottom: .4em; }
.page-content-body a  { color: var(--secondary); text-decoration: underline; }
.page-content-body strong { color: var(--primary); }

/* ══════════════════════════════════════════════════════════════
   PAGE AUTEUR
══════════════════════════════════════════════════════════════ */
.author-page-hero {
  background: var(--primary);
  padding: 56px 24px 48px;
  border-bottom: 4px solid var(--secondary);
}
.author-page-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.author-page-hero__photo {
  flex-shrink: 0;
}
.author-page-hero__photo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--secondary);
}
.author-page-hero__info { flex: 1; min-width: 240px; }
.author-page-hero__kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}
.author-page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  text-align: left;
}
.author-page-section {
  padding: 56px 24px 80px;
  background: var(--bg);
}
.author-page-section__inner {
  max-width: 860px;
  margin: 0 auto;
}
.author-page-content {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--text);
}
.author-page-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2em 0 .7em;
}
.author-page-content p  { margin-bottom: 1.3em; }
.author-page-content a  { color: var(--secondary); text-decoration: underline; }

/* Cartes auteurs */
.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.author-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.author-card__photo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary);
}
.author-card__name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}
.author-card__role {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-top: 2px;
}
.author-card__bio {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,.65);
  border-top: 4px solid var(--secondary);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-brand img {
  height: 56px;
  width: auto;
  opacity: .9;
}
.footer-brand__text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  font-style: italic;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
}
.footer-bottom a {
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-bottom a:hover { color: var(--secondary); }
.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════
   UTILITAIRES
══════════════════════════════════════════════════════════════ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .post-sidebar { order: -1; }
  .toc-widget { position: static; }
}

@media (max-width: 768px) {
  :root { --nav-h: 72px; }
  .nav-logo img { height: 52px; }

  .hero-immersive { min-height: 50vh; }
  .hero-immersive__content { padding: 40px 20px 36px; }

  .showcase-grid,
  .list-grid,
  .related-grid { grid-template-columns: 1fr; }

  .authors-grid { grid-template-columns: 1fr; }

  .author-page-hero__inner { flex-direction: column; gap: 24px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .post-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .post-meta__sep { display: none; }
  .author-signature__content { flex-direction: column; }
}

/* Le Petit Corse : retouches du carnet de route, 06/11/2026 */

/* Liens et petits libellés : orange plus sombre, lisible sur fond clair (4,5 pour 1 au moins) */
.post-content a, .page-content-body a { color: #9E5410; }
.blog-intro__text a { color: #9E5410; text-decoration: underline; text-underline-offset: 3px; }
.blog-intro__text a:hover { color: var(--primary); }
.post-card__cat, .post-card__cta, .toc-widget__label { color: #9E5410; }

/* Intertitres : un losange orange devant le texte, plus de barre à gauche */
.post-content h2 { border-left: 0; padding-left: 0; font-size: 1.62rem; }
.post-content h2::before {
  content: ""; display: inline-block; width: .38em; height: .38em; background: var(--secondary);
  transform: rotate(45deg); margin: 0 .55em .2em 0; vertical-align: middle; border-radius: 1px;
}
.post-content blockquote { border-left: 0; border-radius: var(--radius-lg); background: #F6EADB; font-style: normal; color: var(--text); }

/* Le texte commence juste sous l'image */
.post-thumb { margin-bottom: 26px; }
.post-content > :first-child { margin-top: 0; }

/* Tableaux : défilement dans leur cadre sur téléphone */
@media (max-width: 768px) {
  .post-content table { display: block; overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
}

/* Encadré de l'auteur : visage ou initiale, nom, première phrase de la bio */
.lpc-carnet-auteur {
  display: flex; gap: 20px; align-items: flex-start; margin-top: 52px; padding: 26px 28px;
  background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--secondary); border-radius: var(--radius-lg);
}
.lpc-carnet-auteur__visage {
  flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.lpc-carnet-auteur__visage img { width: 100%; height: 100%; object-fit: cover; margin: 0; box-shadow: none; border-radius: 0; }
.lpc-carnet-auteur__visage:has(img) .lpc-carnet-auteur__initiale { display: none; }
.lpc-carnet-auteur__initiale { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--secondary); line-height: 1; }
.lpc-carnet-auteur__etiquette { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9E5410; margin: 0 0 4px; }
.lpc-carnet-auteur__nom { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--primary); margin: 0 0 6px; }
.lpc-carnet-auteur__nom a { color: inherit; }
.lpc-carnet-auteur__bio p { margin: 0; color: var(--text-light); font-size: .95rem; line-height: 1.6; }
.lpc-carnet-auteur__bio p + p { display: none; }
@media (max-width: 480px) { .lpc-carnet-auteur { flex-direction: column; padding: 22px 20px; } }

/* Sommaire : carte collante en ordinateur, barre repliée et collante sur téléphone */
.post-sidebar { align-self: stretch; }
.lpc-sommaire { position: sticky; top: calc(var(--nav-h) + 24px); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; }
.lpc-sommaire .toc-widget { position: static; border: 0; padding: 0; background: none; border-radius: 0; box-shadow: none; }
.lpc-sommaire__bouton {
  list-style: none; cursor: default; font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--primary);
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--border);
}
.lpc-sommaire__bouton::-webkit-details-marker { display: none; }
.lpc-sommaire .toc-widget__label { display: none; }
.lpc-sommaire:not([open]) .toc-widget { display: none; }
@media (min-width: 993px) { .lpc-sommaire__bouton { pointer-events: none; } }
@media (max-width: 992px) {
  .post-layout { display: flex; flex-direction: column; align-items: stretch; gap: 26px; }
  .post-body, .post-sidebar { width: 100%; min-width: 0; }
  .post-sidebar { order: -1; position: sticky; top: var(--nav-h); z-index: 20; align-self: auto; }
  .lpc-sommaire { position: static; padding: 0; border-radius: 10px; box-shadow: var(--shadow-sm); }
  .lpc-sommaire__bouton {
    cursor: pointer; font-size: .95rem; line-height: 1.3; margin: 0; padding: 9px 16px; border-bottom: 0;
    display: flex; justify-content: space-between; align-items: center;
  }
  .lpc-sommaire__bouton::after { content: "+"; font-family: var(--font-sans); font-size: 1.2rem; color: #9E5410; }
  .lpc-sommaire[open] .lpc-sommaire__bouton::after { content: "−"; }
  .lpc-sommaire[open] .lpc-sommaire__bouton { border-bottom: 1px solid var(--border); }
  .lpc-sommaire .toc-widget { padding: 12px 18px 16px; max-height: 60vh; overflow: auto; }
  .lpc-sommaire .toc-widget__label { display: none; }
  .lpc-sommaire ul ul { display: none; }
}

/* Fil d'Ariane lisible sur les en-têtes sombres (pages fixes, auteurs) */
.page-hero nav[aria-label="Breadcrumb"], .page-hero nav[aria-label="Breadcrumb"] a { color: rgba(255,255,255,.82); }
.page-hero nav[aria-label="Breadcrumb"] a:hover { color: var(--secondary); }

/* Page d'auteur */
.lpc-auteur-tete__grille { display: flex; gap: 28px; align-items: center; }
.lpc-carnet-auteur__visage--grand { flex-basis: 112px; width: 112px; height: 112px; background: #2F3D5C; }
.lpc-carnet-auteur__visage--grand .lpc-carnet-auteur__initiale { font-size: 3rem; }
@media (max-width: 600px) { .lpc-auteur-tete__grille { flex-direction: column; align-items: flex-start; gap: 18px; } }

/* Rubrique : fil, texte d'introduction sur deux colonnes, cartes sans rappel de la rubrique */
.lpc-fil-rubrique { background: var(--bg-alt); padding: 12px 24px; border-bottom: 1px solid var(--border); }
.lpc-fil-rubrique__cadre { max-width: var(--container); margin: 0 auto; }
.lpc-fil-rubrique nav[aria-label="Breadcrumb"] ol { margin: 0; }
.lpc-rubrique-intro { max-width: var(--container); margin: 0 auto; padding: 44px 24px 0; }
.lpc-rubrique-intro__texte { column-count: 2; column-gap: 52px; font-size: 1.02rem; line-height: 1.75; color: var(--text); }
.lpc-rubrique-intro__texte p { margin: 0 0 1em; break-inside: avoid-column; }
.lpc-rubrique-intro:not(:has(p)) { display: none; }
@media (max-width: 768px) { .lpc-rubrique-intro__texte { column-count: 1; } .lpc-rubrique-intro { padding-top: 32px; } }
.lpc-liste-rubrique .post-card__cat { display: none; }

/* Formulaire de contact de la page « À propos » */
.lpc-formulaire { margin-top: 18px; padding: 26px 26px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.lpc-formulaire label { display: block; font-size: .88rem; font-weight: 600; color: var(--primary); margin: 0 0 6px; }
.lpc-formulaire .form-control { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius); font: inherit; font-size: 1rem; margin: 0 0 14px; background: var(--bg); color: var(--text); }
.lpc-formulaire textarea.form-control { min-height: 150px; }
.lpc-formulaire button, .lpc-formulaire [type="submit"] { background: var(--primary); color: #fff; border: 0; padding: 12px 28px; border-radius: 999px; font-weight: 600; font-size: .95rem; cursor: pointer; }
.lpc-formulaire button:hover, .lpc-formulaire [type="submit"]:hover { background: #9E5410; }
