/* =========================================================
   JuristeFiscaliste.org — Refonte éditoriale
   Esprit : revue savante, plume d'auteur, retenue.
   ========================================================= */

:root {
  /* Encres et papier */
  --ink: #1A1F2E;
  --ink-soft: #2C2C2C;
  --navy: #1F2D4A;
  --navy-deep: #15203A;

  /* Or-feuille (antique, sans saturation) */
  --gold: #8B6F3A;
  --gold-soft: #A4884D;
  --gold-faint: rgba(139, 111, 58, 0.18);

  /* Papier */
  --paper: #F7F2E8;
  --paper-warm: #EFE9DC;
  --paper-edge: #E5DDC8;
  --cream: #FAF6EC;

  /* Gris chauds */
  --warm-grey: #6E6557;
  --warm-grey-light: #9B9080;
  --rule: rgba(26, 31, 46, 0.12);

  /* Mise en page */
  --max: 1180px;
  --max-narrow: 760px;

  /* Typographies */
  --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-faint);
  transition: border-color .25s ease, color .25s ease;
}
a:hover { border-color: var(--gold); color: var(--navy); }

/* === Conteneurs === */
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 32px; }

/* === Typographie éditoriale === */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 500; margin-bottom: 0.6em; }
h3 { font-size: 1.45rem; font-weight: 600; margin-bottom: 0.5em; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { margin-bottom: 1.1em; }

.lede {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 1.5em;
}

.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}

.section-title { font-family: var(--serif); }

.rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  border: none;
  margin: 0 0 28px 0;
}

.rule-centered { margin: 0 auto 28px; }

/* Drop cap pour paragraphes éditoriaux */
.dropcap::first-letter {
  font-family: var(--serif);
  font-size: 4.6em;
  float: left;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--navy);
  font-weight: 500;
}

/* === Navigation === */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(247, 242, 232, 0.94);
  border-bottom: 1px solid var(--rule);
  z-index: 100;
  backdrop-filter: blur(6px);
}

.nav-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  border: none;
  letter-spacing: 0.01em;
}

.logo .accent {
  font-style: italic;
  color: var(--navy);
}

.logo:hover { color: var(--navy); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  text-transform: uppercase;
  border: none;
  padding: 4px 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--navy); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ink);
  cursor: pointer;
}

/* === Boutons (très sobres) === */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: all .25s ease;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-filled {
  background: var(--ink);
  color: var(--paper);
}
.btn-filled:hover {
  background: var(--navy);
  color: var(--paper);
}

.btn-text {
  border: none;
  background: transparent;
  color: var(--navy);
  padding: 0;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
}

.btn-text:hover { color: var(--ink); border-color: var(--ink); }

/* === Hero === */
.hero {
  background: var(--paper);
  padding: 90px 0 110px;
  position: relative;
  border-bottom: 1px solid var(--rule);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
}

.hero-left .kicker {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-left .kicker::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--navy);
}

.hero .lede {
  margin-bottom: 30px;
  max-width: 540px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--warm-grey);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-meta strong { color: var(--ink); font-weight: 600; }

/* Portrait à droite du hero */
.hero-portrait {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  overflow: hidden;
}

.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(0.95) saturate(0.92);
}

.hero-portrait::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.hero-portrait-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--warm-grey);
  margin-top: 14px;
  text-align: center;
}

.portrait-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 6rem;
  color: var(--gold);
  background: var(--navy-deep);
  font-style: italic;
}

/* === Sections === */
section {
  padding: 110px 0;
}

.section-paper { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-warm  { background: var(--paper-warm); }
.section-ink {
  background: var(--navy-deep);
  color: var(--paper);
}
.section-ink h2, .section-ink h3, .section-ink h4 { color: var(--paper); }
.section-ink .kicker { color: var(--gold-soft); }
.section-ink a { color: var(--paper); border-color: rgba(164, 136, 77, 0.4); }
.section-ink a:hover { color: var(--gold-soft); }

.section-head { margin-bottom: 64px; }
.section-head-center { text-align: center; }
.section-head-center .rule { margin: 0 auto 28px; }

/* === À propos / L'auteur === */
.author-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.author-portrait {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--rule);
}

.author-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(0.97) saturate(0.95);
}

.author-text { padding-top: 8px; }
.author-text h2 { margin-bottom: 8px; }
.author-text .author-credentials {
  list-style: none;
  margin-top: 32px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}

.author-credentials li {
  display: grid;
  grid-template-columns: 60px 1fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}

.author-credentials .label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  padding-top: 4px;
}

.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--navy);
  margin-top: 28px;
}

/* === Études et chroniques === */
.featured-article {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--rule);
}

.featured-article .article-visual {
  aspect-ratio: 4/3;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.featured-article .article-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(31, 45, 74, 0.85), rgba(21, 32, 58, 0.95));
}

.featured-article .article-visual-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 8rem;
  color: var(--gold-soft);
  z-index: 2;
}

.featured-article .article-date {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 16px;
}

.featured-article h2 {
  margin-bottom: 22px;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

.featured-article p {
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--ink-soft);
}

/* Liste d'articles */
.article-list { list-style: none; }

.article-list li {
  display: grid;
  grid-template-columns: 180px 100px 1fr 140px;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  align-items: center;
}

/* Vignette photo de l'article */
.article-thumb-list {
  aspect-ratio: 4/3;
  background: var(--paper-warm);
  overflow: hidden;
  border: 1px solid var(--rule);
  position: relative;
}

.article-thumb-list img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(0.97) saturate(0.92);
  display: block;
}

/* Repli si pas de photo (ou erreur de chargement) */
.article-thumb-empty {
  position: absolute;
  inset: 0;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--gold-soft);
}

.article-list li:last-child { border-bottom: 1px solid var(--rule); }

.article-list .date-stamp {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-grey);
  padding-top: 4px;
}

.article-list .article-main h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--ink);
  transition: color .25s ease;
  transition: color .2s ease;
}

.article-list .article-main h3 a {
  border: none;
  color: inherit;
  background-image: linear-gradient(120deg, var(--gold-soft) 0%, var(--gold-soft) 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.18em;
  background-position: 0 88%;
  padding: 0 2px;
  transition: background-size .3s ease, color .25s ease;
}

.article-list li:hover .article-main h3 a {
  color: var(--navy);
  background-size: 100% 100%;
}

.article-list li:hover .article-main h3 { color: var(--navy); }

/* Lien « Lire l'étude → » / « Lire l'article → » */
.read-more {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 2px;
  transition: all .25s ease;
}

.read-more:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
  padding-left: 4px;
}

.article-list .article-excerpt {
  font-size: 0.97rem;
  color: var(--warm-grey);
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
}

.article-list .article-category {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: right;
  padding-top: 4px;
}

/* === Liste compacte d'articles (notes courtes) === */
.news-list { list-style: none; }

.news-list li {
  display: grid;
  grid-template-columns: 130px 1fr 130px;
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}

/* Variante avec vignette : ajoute une colonne photo à gauche */
.news-list li.has-thumb {
  grid-template-columns: 110px 110px 1fr 110px;
  align-items: center;
}

.news-thumb {
  display: block;
  aspect-ratio: 4/3;
  background: var(--navy-deep);
  overflow: hidden;
  border: 1px solid var(--rule);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.news-list li.has-thumb:hover .news-thumb img {
  transform: scale(1.04);
}

/* Si la photo échoue à charger, on garde un cadre sobre */
.news-thumb.news-thumb-empty {
  background: var(--navy);
  position: relative;
}

.news-thumb.news-thumb-empty::after {
  content: '§';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 1.4rem;
}

.news-list li:last-child { border-bottom: 1px solid var(--rule); }

.news-list .news-date {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-grey);
  font-weight: 500;
}

.news-list .news-content h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.3;
  color: var(--ink);
}

.news-list .news-content h4 a {
  border: none;
  color: inherit;
  background-image: linear-gradient(120deg, var(--gold-soft) 0%, var(--gold-soft) 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.18em;
  background-position: 0 88%;
  padding: 0 2px;
  transition: background-size .3s ease, color .25s ease;
}

.news-list li:hover .news-content h4 a {
  color: var(--navy);
  background-size: 100% 100%;
}

.news-list li:hover .news-content h4 { color: var(--navy); }

.news-list .news-content p {
  font-family: var(--sans);
  font-size: 0.94rem;
  color: var(--warm-grey);
  margin: 0;
  line-height: 1.5;
}

.news-list .news-type {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: right;
  font-weight: 600;
  padding-top: 2px;
}

@media (max-width: 768px) {
  .news-list li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }
  /* En mobile, on remet la vignette sur la même grille empilée */
  .news-list li.has-thumb {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .news-list .news-thumb {
    aspect-ratio: 16/9;
    max-width: 100%;
  }
  .news-list .news-type { text-align: left; }
}

/* === Prose éditoriale (sections en noir) === */
.prose-block {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.prose-block p {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--paper);
  margin-bottom: 1.4em;
}

.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--gold-soft);
  border-left: 2px solid var(--gold);
  padding-left: 28px;
  margin: 40px 0;
}

.pull-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-grey-light);
  margin-top: 16px;
  font-family: var(--sans);
}

/* === Vidéos === */
.video-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.video-item {
  cursor: pointer;
}

.video-frame {
  aspect-ratio: 16/9;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
  margin-bottom: 16px;
}

.video-frame::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  border-left: 18px solid var(--gold-soft);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  opacity: 0.85;
  transition: all .25s ease;
}

.video-item:hover .video-frame::after {
  border-left-color: var(--gold);
  transform: translate(-45%, -50%) scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: 14px; right: 14px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 10px;
}

.video-meta {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.video-item h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
}

/* === Cours (formations) === */
.cours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.cours-item {
  padding: 50px 38px;
  border-right: 1px solid var(--rule);
  transition: background .3s ease;
}

.cours-item:last-child { border-right: none; }
.cours-item:hover { background: var(--cream); }

.cours-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}

.cours-item h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.25;
}

.cours-item .cours-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--warm-grey);
  margin-bottom: 22px;
  line-height: 1.5;
}

.cours-meta {
  list-style: none;
  margin-bottom: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.cours-meta li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.cours-meta li span:first-child {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-grey);
}

.cours-tarif {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--warm-grey);
  margin-bottom: 20px;
}

.cours-tarif strong {
  font-family: var(--serif);
  font-style: normal;
  font-size: 1.6rem;
  color: var(--ink);
  font-weight: 500;
  margin-right: 6px;
}

/* === Ouvrages (e-books) === */
.ouvrages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px;
}

.ouvrage {
  cursor: pointer;
}

.ouvrage-cover {
  aspect-ratio: 2/3;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 24px;
  color: var(--paper);
  text-align: left;
  margin-bottom: 20px;
  transition: transform .3s ease;
  box-shadow: 8px 8px 0 var(--paper-edge);
}

.ouvrage:hover .ouvrage-cover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 var(--paper-edge);
}

/* Image de couverture réelle : se superpose au visuel stylisé.
   Si l'image se charge, elle prend toute la place (object-fit: cover).
   Si elle échoue (onerror dans rendu.js retire l'élément), le visuel stylisé reste visible. */
.ouvrage-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  display: block;
  transition: transform .35s ease;
}

.ouvrage:hover .ouvrage-cover-img {
  transform: scale(1.02);
}

/* Quand une vraie couverture est présente, on retire le filet doré
   décoratif de gauche (qui n'a plus de sens sur une photo). */
.ouvrage-cover-photo::before {
  display: none;
}

.ouvrage-cover::before {
  content: '';
  position: absolute;
  left: 6px; top: 24px; bottom: 24px;
  width: 1px;
  background: var(--gold-soft);
  opacity: 0.6;
}

.ouvrage-cover .ouvrage-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-soft);
  letter-spacing: 0.05em;
}

.ouvrage-cover .ouvrage-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--paper);
  margin-top: auto;
}

.ouvrage-cover .ouvrage-author-cover {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 16px;
}

.ouvrage-info {
  text-align: left;
}

.ouvrage-info .ouvrage-cat {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.ouvrage-info h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
}

.ouvrage-info .ouvrage-pages {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--warm-grey);
  margin-bottom: 14px;
}

.ouvrage-info .ouvrage-tarif {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 14px;
}

.ouvrage-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  border: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold);
}

.ouvrage-link:hover { color: var(--ink); border-color: var(--ink); }

/* === Paiements (très sobre) === */
.payments-note {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-style: italic;
  color: var(--warm-grey);
  font-size: 0.98rem;
}

.payments-note strong {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

/* === Contact / Correspondance === */
.correspondance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.correspondance-text .lede {
  font-size: 1.25rem;
  color: var(--paper);
  margin-bottom: 36px;
}

.correspondance-channels {
  list-style: none;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 242, 232, 0.18);
}

.correspondance-channels li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(247, 242, 232, 0.12);
  font-size: 0.98rem;
  color: var(--paper);
  word-break: break-word;
}

.correspondance-channels li a {
  color: var(--paper);
  border-bottom: 1px solid rgba(164, 136, 77, 0.4);
  transition: border-color .25s ease;
}

.correspondance-channels li a:hover { border-color: var(--gold); }

.correspondance-channels .label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  padding-top: 2px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(247, 242, 232, 0.3);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.98rem;
  margin-bottom: 22px;
  transition: border-color .25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(247, 242, 232, 0.5);
  font-family: var(--serif);
  font-style: italic;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.contact-form select option {
  background: var(--navy-deep);
  color: var(--paper);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button {
  margin-top: 20px;
  background: transparent;
  border: 1px solid var(--gold-soft);
  color: var(--paper);
  padding: 14px 36px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s ease;
}

.contact-form button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--paper);
}

/* === Page header (pages internes) === */
.page-head {
  padding: 90px 0 70px;
  background: var(--paper);
  text-align: center;
  border-bottom: 1px solid var(--rule);
}

.page-head h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  margin-bottom: 16px;
}

.page-head .lede {
  font-style: italic;
  color: var(--warm-grey);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.15rem;
}

.breadcrumb {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* === Filtres (sobres) === */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 18px;
  flex-wrap: wrap;
}

.filter-chip {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-grey);
  padding: 4px 0;
  transition: color .2s ease;
  position: relative;
}

.filter-chip:hover { color: var(--ink); }

.filter-chip.active {
  color: var(--navy);
  font-weight: 600;
}

.filter-chip.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -19px;
  height: 1px;
  background: var(--gold);
}

/* === Footer === */
footer {
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  padding: 70px 0 30px;
  color: var(--warm-grey);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand .logo { color: var(--ink); margin-bottom: 14px; display: inline-block; }
.footer-brand p { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--warm-grey); max-width: 380px; margin-bottom: 22px; }

.footer-social {
  list-style: none;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-social li { margin: 0; }
.footer-social a {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}
.footer-social a:hover { color: var(--navy); border-color: var(--navy); }

.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--warm-grey);
  border: none;
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--navy); }

.footer-bottom {
  text-align: center;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--warm-grey);
}

/* =============================================================
   PAGE COMMANDER — règlement par Mobile Money
   Procédure éditoriale en quatre temps.
   ============================================================= */

.commande {
  background: var(--paper);
  padding: 70px 0 110px;
}

.commande-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
}

.commande .breadcrumb {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 50px;
}

.commande .breadcrumb a {
  color: var(--warm-grey);
  border: none;
}

.commande .breadcrumb a:hover {
  color: var(--navy);
}

.commande-head {
  margin-bottom: 70px;
  max-width: 720px;
}

.commande-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.2;
  color: var(--ink);
  margin: 16px 0 26px;
}

.commande-head .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--warm-grey);
}

/* --- Chaque étape : numéro romain + contenu --- */
.commande-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  align-items: start;
  padding: 50px 0;
  border-top: 1px solid var(--rule);
}

.commande-step:last-of-type {
  border-bottom: 1px solid var(--rule);
}

.commande-step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
  padding-top: 4px;
}

.commande-step-content h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 18px;
}

.commande-step-content p {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--warm-grey);
  margin-bottom: 18px;
}

.commande-step-content p strong {
  color: var(--ink);
  font-weight: 600;
}

.commande-note {
  margin-top: 24px !important;
  padding: 16px 20px;
  background: var(--cream);
  border-left: 2px solid var(--gold);
  font-size: 0.98rem !important;
  color: var(--warm-grey) !important;
}

/* --- Récap de l'ouvrage choisi --- */
.ouvrage-recap {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: start;
  padding: 24px 0;
}

.ouvrage-recap-empty {
  font-family: var(--serif);
  font-style: italic;
  color: var(--warm-grey);
  padding: 20px 0;
}

.ouvrage-recap-cover {
  aspect-ratio: 2/3;
  background: var(--navy-deep);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--rule);
}

.ouvrage-recap-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ouvrage-recap-cover-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
}

.ouvrage-recap-cover-text {
  text-align: center;
}

.ouvrage-recap-cover-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--paper);
  line-height: 1.2;
  margin-bottom: 14px;
}

.ouvrage-recap-cover-author {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.ouvrage-recap-info {
  padding-top: 4px;
}

.ouvrage-recap-cat {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.ouvrage-recap-info h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 12px;
}

.ouvrage-recap-meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem !important;
  color: var(--warm-grey);
  margin-bottom: 6px !important;
  line-height: 1.5 !important;
}

.ouvrage-recap-prix {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  margin-top: 16px;
  letter-spacing: -0.01em;
}

/* --- Grille des trois opérateurs Mobile Money --- */
.mmm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0 10px;
}

.mmm-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px 24px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  transition: all .25s ease;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.mmm-card:hover {
  background: var(--paper-edge);
  border-left-color: var(--navy);
  transform: translateX(2px);
}

.mmm-operator {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.mmm-number {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.mmm-hint {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--warm-grey);
  font-style: italic;
  margin-top: 4px;
}

/* --- Boutons d'action de l'étape III --- */
.commande-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
}

.btn-whatsapp {
  background: #1A1F2E;
  color: var(--paper);
  border-color: #1A1F2E;
  padding: 14px 32px;
}

.btn-whatsapp:hover {
  background: var(--navy);
  color: var(--paper);
  transform: translateY(-1px);
}

.commande-foot {
  margin-top: 60px;
  text-align: center;
}

/* Liste des modes de livraison à l'étape IV */
.commande-livraison {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 14px;
}

.commande-livraison li {
  font-family: var(--serif);
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--warm-grey);
  padding-left: 24px;
  position: relative;
}

.commande-livraison li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 500;
}

.commande-livraison li strong {
  color: var(--ink);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 760px) {
  .commande { padding: 50px 0 80px; }
  .commande-container { padding: 0 22px; }
  .commande .breadcrumb { margin-bottom: 36px; }
  .commande-head { margin-bottom: 50px; }

  .commande-step {
    grid-template-columns: 60px 1fr;
    gap: 22px;
    padding: 38px 0;
  }
  .commande-step-num { font-size: 1.8rem; }
  .commande-step-content h3 { font-size: 1.35rem; }

  .ouvrage-recap {
    grid-template-columns: 110px 1fr;
    gap: 22px;
  }
  .ouvrage-recap-info h4 { font-size: 1.2rem; }
  .ouvrage-recap-prix { font-size: 1.3rem; }

  .mmm-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mmm-card { padding: 18px 22px; }
  .mmm-number { font-size: 1.3rem; }
}

/* =============================================================
   PAGE ARTICLE — lecture longue
   Typographie posée, marges respirées, esprit revue savante.
   ============================================================= */

.reading {
  padding: 70px 0 110px;
  background: var(--paper);
}

.reading-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

.reading .breadcrumb {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 50px;
}

.reading .breadcrumb a {
  color: var(--warm-grey);
  border: none;
}

.reading .breadcrumb a:hover {
  color: var(--navy);
}

.reading-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}

.reading-meta span:not(:first-child):not(:empty)::before {
  content: '· ';
  margin-right: 12px;
  color: var(--warm-grey-light);
}

.reading-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 36px;
}

.reading-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--warm-grey);
  margin-bottom: 56px;
  max-width: 680px;
}

.reading-figure {
  margin: 0 0 60px;
}

.reading-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule);
}

/* --- Corps du texte (typographie de lecture) --- */
.reading-body {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.78;
  color: var(--ink);
}

.reading-body p {
  margin-bottom: 1.35em;
}

/* Lettrine sur le premier paragraphe — touche éditoriale */
.reading-body > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 4.2rem;
  float: left;
  line-height: 0.88;
  padding: 6px 14px 0 0;
  color: var(--navy);
}

.reading-body h2,
.reading-body h3,
.reading-body h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  margin: 2.4em 0 0.7em;
}

.reading-body h2 {
  font-size: 1.95rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.8em;
}

.reading-body h3 {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--navy);
}

.reading-body h4 {
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.reading-body em,
.reading-body i {
  font-style: italic;
}

.reading-body strong,
.reading-body b {
  font-weight: 600;
  color: var(--ink);
}

.reading-body a {
  color: var(--navy);
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 1px;
  transition: all .2s ease;
}

.reading-body a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.reading-body blockquote {
  margin: 36px 0;
  padding: 4px 0 4px 28px;
  border-left: 2px solid var(--gold);
  font-style: italic;
  color: var(--warm-grey);
  font-size: 1.18rem;
}

.reading-body blockquote p:last-child {
  margin-bottom: 0;
}

.reading-body ul,
.reading-body ol {
  margin: 0 0 1.4em 1.4em;
  padding: 0;
}

.reading-body li {
  margin-bottom: 0.55em;
  line-height: 1.65;
}

.reading-body hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 46px 0;
}

.reading-body code {
  font-family: 'Courier New', monospace;
  background: var(--cream);
  padding: 2px 6px;
  font-size: 0.92em;
  border-radius: 2px;
}

.reading-body pre {
  background: var(--cream);
  padding: 20px;
  overflow-x: auto;
  border-left: 2px solid var(--gold-soft);
  margin: 28px 0;
  font-size: 0.95rem;
}

.reading-empty {
  font-family: var(--serif);
  color: var(--warm-grey);
  font-style: italic;
  text-align: center;
  padding: 40px 0;
}

.reading-foot {
  max-width: 760px;
  margin: 0 auto;
}

/* Section partage — sobre, en bas de l'article */
.reading-share {
  margin: 60px 0 40px;
  padding: 30px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

.reading-share .kicker {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
}

.share-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 12px 22px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
}

.share-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Ajustements responsive de la page de lecture */
@media (max-width: 720px) {
  .reading { padding: 50px 0 80px; }
  .reading-container { padding: 0 22px; }
  .reading .breadcrumb { margin-bottom: 36px; }
  .reading-title { margin-bottom: 28px; }
  .reading-lede { margin-bottom: 40px; }
  .reading-body { font-size: 1.1rem; line-height: 1.72; }
  .reading-body > p:first-of-type::first-letter {
    font-size: 3.2rem;
    padding: 4px 10px 0 0;
  }
  .reading-body h2 { font-size: 1.6rem; padding-top: 1.4em; }
  .reading-body h3 { font-size: 1.3rem; }
}

/* === Responsive === */

/* -------------------------------------------------------------
   Palier 1 : tablettes et petits écrans (≤ 968 px)
   - Navbar passe en menu déroulant (drawer latéral)
   - Grandes grilles 3-4 colonnes → 2 colonnes
   ------------------------------------------------------------- */
@media (max-width: 968px) {

  /* --- Navbar resserrée --- */
  .nav-container {
    padding: 16px 20px;
  }

  .logo {
    font-size: 1.25rem;
  }

  /* Bouton menu lisible et bien tactile */
  .menu-toggle {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
    padding: 6px 10px;
    color: var(--navy);
  }

  /* --- Drawer latéral du menu --- */
  .nav-links {
    position: fixed;
    top: 60px; right: -100%;
    flex-direction: column;
    background: var(--paper);
    width: 86%; max-width: 340px;
    height: calc(100vh - 60px);
    padding: 22px 28px 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.08);
    transition: right .3s ease;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
  }

  .nav-links.active { right: 0; }

  .nav-links li {
    width: 100%;
  }

  /* Chaque lien occupe toute la largeur, séparé par un filet */
  .nav-links a {
    display: block;
    width: 100%;
    font-size: 0.95rem;
    padding: 18px 0;
    letter-spacing: 0.09em;
    border-bottom: 1px solid var(--rule);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  /* La ligne dorée sous le texte (desktop) ne convient pas en colonne :
     on la remplace par une barre verticale gauche pour le lien actif */
  .nav-links a.active::after {
    display: none;
  }

  .nav-links a.active {
    color: var(--navy);
    padding-left: 14px;
    border-left: 2px solid var(--gold);
  }

  /* --- Grandes mises en page : passage en une seule colonne --- */
  .hero-grid,
  .author-grid,
  .featured-article,
  .correspondance-grid { grid-template-columns: 1fr; gap: 40px; }

  /* --- Cours et vidéos : palier intermédiaire en 2 colonnes --- */
  .cours-grid,
  .video-list { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cours-grid { gap: 0; }
  .cours-item {
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .cours-item:nth-child(2n) { border-right: none; }

  /* --- Études : photo + titre empilés --- */
  .article-list li { grid-template-columns: 1fr; gap: 14px; }
  .article-list .article-category { text-align: left; }
  .article-thumb-list { max-width: 100%; aspect-ratio: 16/9; }

  /* --- Ouvrages : 2 colonnes (au lieu de 4) --- */
  .ouvrages-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  /* --- Pied de page en 2 colonnes --- */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* -------------------------------------------------------------
   Palier 2 : grands téléphones et petites tablettes (≤ 720 px)
   - Cours et vidéos basculent en colonne unique
   ------------------------------------------------------------- */
@media (max-width: 720px) {

  .cours-grid,
  .video-list { grid-template-columns: 1fr; gap: 0; }
  .cours-item {
    border-right: none;
    padding: 40px 28px;
  }
  .video-list { gap: 28px; }

  /* Ouvrages : 2 colonnes serrées plutôt que larges */
  .ouvrages-grid { gap: 24px; }
}

/* -------------------------------------------------------------
   Palier 3 : téléphones classiques (≤ 580 px)
   - Ouvrages basculent en mise en page horizontale
   - Espacement plus mesuré
   ------------------------------------------------------------- */
@media (max-width: 580px) {

  section { padding: 70px 0; }
  .hero { padding: 50px 0 70px; }

  /* Navbar encore plus compacte */
  .nav-container {
    padding: 14px 16px;
  }

  .logo {
    font-size: 1.15rem;
  }

  /* Hero portrait à taille mesurée */
  .hero-portrait {
    max-width: 280px;
    margin: 24px auto 0;
  }

  .author-portrait {
    max-width: 240px;
    margin: 0 auto;
  }

  /* Cours : padding réduit pour respirer sans étirer la lecture */
  .cours-item {
    padding: 36px 22px;
  }

  /* --- Ouvrages : carte horizontale style fiche de bibliothèque --- */
  .ouvrages-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ouvrage {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 22px;
    align-items: start;
  }

  .ouvrage-cover {
    aspect-ratio: 2/3;
    padding: 14px 12px 18px;
  }

  .ouvrage-cover .ouvrage-num {
    font-size: 0.8rem;
  }

  .ouvrage-cover .ouvrage-title {
    font-size: 0.95rem;
  }

  .ouvrage-cover .ouvrage-author-cover {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    margin-top: 10px;
  }

  .ouvrage-info { padding-top: 4px; }

  .ouvrage-info h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }

  .ouvrage-info .ouvrage-cat {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    margin-bottom: 4px;
  }

  .ouvrage-info .ouvrage-pages {
    font-size: 0.82rem;
    margin-bottom: 10px;
  }

  .ouvrage-info .ouvrage-tarif {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  /* Études : photo en 4:3 (plus posée que 16:9) */
  .article-thumb-list {
    aspect-ratio: 4/3;
    max-width: 100%;
  }

  /* Pied de page en colonne */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Correspondance : empiler étiquette + valeur */
  .correspondance-channels li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 0;
  }
  .correspondance-channels .label { padding-top: 0; margin-bottom: 2px; }

  /* Téléphone visible et facile à taper */
  .correspondance-channels li a[href^="tel:"] {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.02em;
  }

  /* Footer : liens pleinement cliquables */
  .footer-col a[href^="tel:"] {
    display: inline-block;
    padding: 6px 0;
    font-weight: 500;
  }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: all .9s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
