/* =====================================================================
   LexVerte — Feuille de style commune
   Identité : le droit au service de l'environnement
   Palette : vert forêt profond + émeraude + or laiton (justice) + parchemin
   ===================================================================== */

/* ---------- Variables ---------- */
:root {
  --forest:        #1C4B39;  /* vert forêt profond (fond sombre)     */
  --forest-2:      #266351;  /* vert profond secondaire              */
  --emerald:       #35805F;  /* émeraude                             */
  --emerald-soft:  #4DA57E;  /* émeraude clair                       */
  --sage:          #7FB6A0;  /* sauge / accents doux                 */
  --gold:          #C2953A;  /* or laiton — la justice               */
  --gold-soft:     #D9B871;  /* or clair                             */
  --ink:           #1D241F;  /* texte principal                      */
  --ink-soft:      #47554C;  /* texte secondaire                     */
  --cream:         #F8F5EC;  /* parchemin — fond clair               */
  --cream-2:       #FBF9F2;  /* parchemin clair                      */
  --paper:         #FFFFFF;  /* cartes                               */
  --line:          #E4DECB;  /* filets / bordures                    */

  --shadow-sm: 0 2px 6px rgba(23,63,48,.12), 0 8px 22px rgba(23,63,48,.09);
  --shadow-md: 0 14px 36px rgba(23,63,48,.16), 0 6px 14px rgba(23,63,48,.09);
  --shadow-lg: 0 32px 72px rgba(23,63,48,.24), 0 12px 28px rgba(23,63,48,.12);

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1160px;

  --serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typographie ---------- */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.7; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2.4rem); }
section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 1.1rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 6px 16px rgba(53,128,95,.35); }
.btn-primary:hover { background: var(--forest-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(53,128,95,.4); }
.btn-gold { background: var(--gold); color: #2a1e07; box-shadow: 0 6px 16px rgba(194,149,58,.35); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--emerald); color: var(--emerald); }
.btn-outline:hover { background: var(--emerald); color: #fff; transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-sm { padding: .42rem 1rem; font-size: .84rem; font-weight: 500; }

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,245,236,.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand .name { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: -.01em; }
.brand .name b { color: var(--emerald); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-weight: 500; font-size: .97rem; color: var(--ink-soft);
  position: relative; padding: .3rem 0; transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: inline-flex; align-items: center; gap: 1.4rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: .3s var(--ease); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--forest); color: #fff; overflow: hidden; padding: clamp(4rem,8vw,6.5rem) 0 clamp(4.5rem,9vw,7rem); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(53,128,95,.55), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(194,149,58,.18), transparent 60%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero-lead { color: rgba(255,255,255,.82); font-size: 1.22rem; margin: 1.5rem 0 2.2rem; max-width: 33ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats { display: flex; gap: 2.4rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.15); }
.hero-stats .num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold-soft); line-height: 1; }
.hero-stats .lbl { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: .35rem; letter-spacing: .02em; }
.hero-emblem { position: relative; }
.hero-emblem svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }

/* ---------- Piliers / mission ---------- */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
.pillar {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem 2rem; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.pillar .icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(140deg, var(--emerald), var(--forest-2)); margin-bottom: 1.3rem; }
.pillar .icon svg { width: 28px; height: 28px; stroke: var(--gold-soft); }
.pillar h3 { margin-bottom: .6rem; }
.pillar p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Bandes ---------- */
.band-cream { background: var(--cream-2); }
.band-forest { background: var(--forest); color: #fff; }
.band-forest h2, .band-forest h3 { color: #fff; }
.band-forest .lead { color: rgba(255,255,255,.8); }

/* ---------- Cartes articles ---------- */
.articles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.8rem; }
.articles-grid.featured { grid-template-columns: repeat(3,1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.card:hover .card-visual svg { transform: scale(1.06); }
.card-visual { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card-visual svg { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.card-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255,255,255,.92); color: var(--emerald);
  padding: .35rem .8rem; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.card-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card-date { font-size: .82rem; color: var(--gold); font-weight: 600; letter-spacing: .04em; margin-bottom: .6rem; }
.card h3 { font-size: 1.32rem; line-height: 1.2; margin-bottom: .7rem; }
.card h3 a { transition: color .25s var(--ease); }
.card h3 a:hover { color: var(--emerald); }
.card p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.card-foot { margin-top: 1.3rem; display: flex; align-items: center; justify-content: space-between; }
.read-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; color: var(--emerald); }
.read-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.read-link:hover svg { transform: translateX(4px); }
.card-source { font-size: .78rem; color: var(--ink-soft); opacity: .7; }

/* ---------- Couverture de revue (Petites Affiches) ---------- */
.card-visual .cover-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform .6s var(--ease);
}
.card:hover .cover-img { transform: scale(1.06); }
.card-source a { text-decoration: underline; text-underline-offset: 3px; }
.card-source a:hover { color: var(--emerald); }

/* ---------- Pages légales ---------- */
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 1.6rem; margin: 2.8rem 0 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-content h3 { font-size: 1.15rem; margin: 1.8rem 0 .6rem; }
.legal-content p, .legal-content li { color: var(--ink-soft); margin-bottom: .9rem; }
.legal-content ul { list-style: disc; padding-left: 1.4rem; }
.legal-content ul li { margin-bottom: .45rem; }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--emerald); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { font-size: .85rem; color: var(--ink-soft); opacity: .75; font-style: italic; }

/* ---------- Filtres ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.6rem; }
.filter-btn {
  font-family: var(--sans); font-weight: 500; font-size: .9rem;
  padding: .5rem 1.15rem; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--line); color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--emerald); color: var(--emerald); }
.filter-btn.active { background: var(--emerald); border-color: var(--emerald); color: #fff; }

/* ---------- Podcasts ---------- */
.podcast-hero-card {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 0;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.podcast-cover { background: linear-gradient(150deg, var(--forest-2), var(--emerald)); display: grid; place-items: center; padding: 2rem; min-height: 320px; }
.podcast-cover svg { width: 78%; }
.podcast-hero-body { padding: clamp(1.8rem,3vw,2.8rem); display: flex; flex-direction: column; justify-content: center; }
.podcast-hero-body h3 { font-size: 1.9rem; margin: .5rem 0 .8rem; }
.audio-player { margin-top: 1.6rem; }
.audio-player audio { width: 100%; }
.ep-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.2rem; }
.ep {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.3rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ep:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ep-play { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--emerald); border: 0; cursor: pointer; transition: background .25s var(--ease), transform .25s var(--ease); }
.ep-play:hover { background: var(--forest-2); transform: scale(1.06); }
.ep-play svg { width: 20px; height: 20px; fill: #fff; margin-left: 2px; }
.ep-num { font-family: var(--serif); color: var(--gold); font-size: .85rem; font-weight: 600; letter-spacing: .05em; }
.ep h4 { font-family: var(--serif); font-size: 1.2rem; margin: .15rem 0 .3rem; }
.ep p { font-size: .9rem; color: var(--ink-soft); }
.ep-meta { font-size: .82rem; color: var(--ink-soft); text-align: right; opacity: .8; white-space: nowrap; }
.badge-soon { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--gold); background: rgba(194,149,58,.12); padding: .25rem .6rem; border-radius: 999px; }

/* ---------- Boutons plateformes (logos aux couleurs du site) ---------- */
.platforms { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.platform-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: .95rem;
  padding: .7rem 1.4rem .7rem 1rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--forest-2), var(--forest));
  color: var(--gold-soft); border: 1.5px solid rgba(217,184,113,.35);
  box-shadow: 0 6px 16px rgba(23,63,48,.25);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.platform-btn svg { width: 26px; height: 26px; flex: none; }
.platform-btn:hover {
  transform: translateY(-3px); color: #fff; border-color: var(--gold);
  box-shadow: 0 12px 26px rgba(23,63,48,.35), 0 0 0 4px rgba(217,184,113,.15);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.contact-info .info-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.contact-info .info-item:last-child { border-bottom: 0; }
.contact-info .info-icon { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(53,128,95,.1); }
.contact-info .info-icon svg { width: 20px; height: 20px; stroke: var(--emerald); }
.contact-info h4 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: .2rem; }
.contact-info a, .contact-info p { font-size: 1.02rem; color: var(--ink); }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem,3vw,2.6rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .5rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--cream-2); transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--emerald); background: #fff;
  box-shadow: 0 0 0 4px rgba(53,128,95,.12);
}
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: .3rem; }
.check-row { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.check-row input { width: auto; margin-top: .25rem; }

/* ---------- Newsletter ---------- */
.newsletter { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.newsletter-form { display: flex; gap: .8rem; margin-top: 1.6rem; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 220px; padding: .9rem 1.2rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08); color: #fff; font-family: var(--sans); font-size: 1rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-form input:focus { outline: none; border-color: var(--gold-soft); }

/* ---------- Pied de page ---------- */
.site-footer { background: #173F30; color: rgba(255,255,255,.75); padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .name { font-family: var(--serif); font-size: 1.5rem; color: #fff; display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.footer-brand .name .mark { width: 34px; height: 34px; }
.footer-brand p { font-size: .92rem; max-width: 34ch; }
.footer-col h5 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-soft); margin-bottom: 1.1rem; }
.footer-col a { display: block; padding: .35rem 0; font-size: .95rem; color: rgba(255,255,255,.72); transition: color .2s var(--ease), padding .2s var(--ease); }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: background .25s var(--ease), transform .25s var(--ease); }
.socials a:hover { background: var(--emerald); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Page hero (sous-pages) ---------- */
.page-hero { background: var(--forest); color: #fff; position: relative; overflow: hidden; padding: clamp(3.5rem,7vw,5.5rem) 0; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(70% 90% at 90% 0%, rgba(53,128,95,.5), transparent 60%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.page-hero p { color: rgba(255,255,255,.82); max-width: 60ch; margin-top: 1.2rem; font-size: 1.15rem; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--gold-soft); }

/* ---------- Forum & espace membres ---------- */
.forum-wrap { max-width: 980px; }
.member-chip { display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--emerald), var(--forest-2));
  color: var(--gold-soft); font-weight: 700; font-size: .78rem; letter-spacing: .02em;
  box-shadow: 0 3px 8px rgba(23,63,48,.25);
}
.avatar.big { width: 46px; height: 46px; font-size: .95rem; }
.forum-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.forum-count { font-weight: 600; color: var(--ink-soft); }
.forum-alert { background: rgba(180,60,40,.08); border: 1.5px solid #B43C28; color: #7c2a1c; border-radius: 12px; padding: .85rem 1.1rem; font-size: .92rem; margin-bottom: 1.2rem; }
.forum-ok { background: rgba(53,128,95,.12); border: 1.5px solid var(--emerald); color: var(--forest-2); border-radius: 12px; padding: .85rem 1.1rem; font-size: .95rem; margin-bottom: 1.6rem; font-weight: 500; }
.forum-empty { text-align: center; background: var(--cream-2); border: 1px dashed var(--sage); border-radius: var(--radius-lg); padding: 2.6rem 1.5rem; }
.forum-auth { max-width: 520px; margin: 0 auto; }
.topic-list { display: flex; flex-direction: column; gap: .9rem; }
.topic-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.topic-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.topic-title { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.topic-row:hover .topic-title { color: var(--emerald); }
.topic-meta { display: block; font-size: .82rem; color: var(--ink-soft); margin-top: .2rem; }
.topic-replies { font-size: .85rem; color: var(--ink-soft); white-space: nowrap; text-align: center; }
.topic-replies b { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--gold); line-height: 1.1; }
.post-list { display: flex; flex-direction: column; gap: 1rem; }
.post {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm);
}
.post:first-child { border-left: 5px solid var(--gold); }
.post-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }
.post-author { font-weight: 700; color: var(--forest-2); }
.badge-op { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; background: rgba(194,149,58,.15); color: var(--gold); padding: .15rem .55rem; border-radius: 999px; vertical-align: middle; }
.post-date { font-size: .82rem; color: var(--ink-soft); }
.post-text { color: var(--ink); font-size: .97rem; line-height: 1.65; overflow-wrap: anywhere; }
@media (max-width: 680px) {
  .topic-row { grid-template-columns: auto 1fr; }
  .topic-replies { display: none; }
  .member-chip { display: none; }
}

/* ---------- Reveal animation (amélioration progressive) ---------- */
/* Le contenu reste visible par défaut ; l'animation ne s'applique
   que si JavaScript est actif (classe .js posée sur <html>). */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-emblem { max-width: 380px; margin: 0 auto; order: -1; }
  .pillars, .articles-grid, .articles-grid.featured { grid-template-columns: repeat(2,1fr); }
  .contact-grid, .newsletter, .podcast-hero-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--cream-2); border-bottom: 1px solid var(--line); padding: 1rem clamp(1.2rem,4vw,2.4rem) 1.6rem; box-shadow: var(--shadow-md);
  }
  .nav-links.open a { padding: .9rem 0; border-bottom: 1px solid var(--line); width: 100%; }
  .pillars, .articles-grid, .articles-grid.featured, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.6rem; flex-wrap: wrap; }
  .ep { grid-template-columns: auto 1fr; }
  .ep-meta { grid-column: 2; text-align: left; }
}
