/*
Theme Name: ASSADDEC — ONG Sahélienne
Theme URI: https://assaddec.org
Author: ASSADDEC
Author URI: https://assaddec.org
Description: Thème WordPress complet pour l'Association Sahélienne d'Appui au Développement Décentralisé (ASSADDEC). Site vitrine en français : présentation, domaines d'intervention, zones d'implantation, partenaires, dons et formulaire de contact. Design « Sahel » (vert forêt, sable ivoire, terracotta), responsive et sans dépendance lourde.
Version: 1.3.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: assaddec
Tags: one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ----------------------------------------------------------------
   Variables
---------------------------------------------------------------- */
:root {
  --green-900: #143c25;
  --green-800: #1b4d30;
  --green-700: #23603c;
  --green-100: #e4efe6;
  --green-050: #f2f7f2;
  --lime: #a7c63e;
  --sand-050: #f6f2e4;
  --sand-100: #efe8d3;
  --sand-300: #d9c27e;
  --terra: #c25e2e;
  --terra-dark: #a84e24;
  --sky: #cfe7f4;
  --ink: #1c2b21;
  --muted: #5b6b5f;
  --line: rgba(20, 60, 37, 0.14);
  --card: #ffffff;
  --bg: #fbf8ef;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(28, 43, 33, 0.05), 0 8px 24px -14px rgba(28, 43, 33, 0.14);
  --shadow-md: 0 2px 4px rgba(28, 43, 33, 0.06), 0 18px 40px -18px rgba(28, 43, 33, 0.22);
  --font-sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

/* ----------------------------------------------------------------
   Base
---------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green-800); text-decoration: none; }
a:hover { color: var(--terra); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--sand-050); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p.lead { color: var(--muted); font-size: 1.05rem; }

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary { background: var(--green-800); color: #fdfaf1; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-900); color: #fdfaf1; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { background: var(--sand-100); color: var(--ink); }
.btn-terra { background: var(--terra); color: #fff; box-shadow: var(--shadow-sm); }
.btn-terra:hover { background: var(--terra-dark); color: #fff; }

/* ----------------------------------------------------------------
   Header / Navigation
---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 239, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-name { font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; white-space: nowrap; }
.brand-tag { display: block; font-size: 0.68rem; color: var(--muted); font-weight: 500; white-space: nowrap; }

.main-nav { flex: 1 1 auto; min-width: 0; }
.main-nav ul { list-style: none; display: flex; flex-wrap: nowrap; align-items: center; gap: 18px; margin: 0; padding: 0; justify-content: center; }
.main-nav li { flex-shrink: 0; }
.main-nav a { color: var(--muted); font-size: 0.88rem; font-weight: 500; white-space: nowrap; }
.main-nav a:hover { color: var(--green-800); }

.nav-donate { display: inline-flex; flex-shrink: 0; white-space: nowrap; }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  flex-shrink: 0;
}

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
    padding: 12px 20px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; flex-wrap: wrap; gap: 4px; justify-content: flex-start; }
  .main-nav li a { display: block; padding: 10px 12px; border-radius: 12px; }
  .main-nav li a:hover { background: var(--green-050); }
  .nav-donate { display: none; }
  .main-nav .nav-donate-mobile { display: inline-flex; margin-top: 10px; }
}

/* ----------------------------------------------------------------
   Hero
---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 55% at 50% 0%, rgba(35, 96, 60, 0.09), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-050);
  border: 1px solid rgba(35, 96, 60, 0.2);
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}
.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-700);
}
.hero h1 { margin: 22px 0 18px; }
.hero h1 em { font-style: normal; color: var(--green-700); }
.hero p.lead { color: var(--muted); font-size: 1.12rem; max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
}
.hero-visual .frame {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-md);
}
.hero-visual svg { display: block; width: 100%; height: auto; }
.hero-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 16px;
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem;
}
.hero-chip strong { display: block; color: var(--green-700); font-size: 0.75rem; }
.hero-logo-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 4px;
}
.hero-logo-badge img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }

/* ----------------------------------------------------------------
   Bandeau récépissé
---------------------------------------------------------------- */
.strip { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .container { text-align: center; padding-top: 22px; padding-bottom: 22px; }
.strip p { margin: 0 0 4px; }
.strip .small { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* ----------------------------------------------------------------
   Stats
---------------------------------------------------------------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-card .value { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--green-700); line-height: 1; }
.stat-card h3 { font-family: var(--font-sans); font-size: 0.92rem; font-weight: 600; margin: 12px 0 4px; }
.stat-card p { color: var(--muted); font-size: 0.8rem; margin: 0; }

@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ----------------------------------------------------------------
   À propos
---------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.about-text .lead { color: var(--muted); }
.about-quote {
  border-left: 4px solid var(--terra);
  background: var(--card);
  border-radius: 0 16px 16px 0;
  padding: 18px 20px;
  font-style: italic;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 26px; }
.card + .card { margin-top: 16px; }

.timeline { list-style: none; margin: 22px 0 0; padding: 0; }
.timeline li { display: flex; gap: 16px; position: relative; padding-bottom: 22px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-800);
  color: #fdfaf1;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline li:not(:last-child) .dot::after {
  content: "";
  position: absolute;
  left: 17.5px;
  top: 38px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline .year { color: var(--green-700); font-weight: 700; font-size: 0.85rem; }
.timeline h3 { font-family: var(--font-sans); font-size: 1rem; margin: 2px 0 4px; }
.timeline p { color: var(--muted); font-size: 0.9rem; margin: 0; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
}

/* ----------------------------------------------------------------
   Cartes d'action
---------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.action-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.action-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.action-card .emoji {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--green-050);
  border-radius: 14px;
}
.action-card h3 { font-family: var(--font-sans); font-size: 1.02rem; margin: 18px 0 8px; }
.action-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

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

/* ----------------------------------------------------------------
   Réalisations
---------------------------------------------------------------- */
.achieve-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.achieve-icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-050);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.achieve-icon svg { width: 100%; height: 100%; }
.achieve-card h3 { font-family: var(--font-sans); font-size: 1rem; margin: 0 0 6px; }
.achieve-card p { color: var(--muted); font-size: 0.88rem; margin: 0; }
.achieve-card .tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 999px;
  padding: 3px 10px;
}

/* ----------------------------------------------------------------
   Galerie photos
---------------------------------------------------------------- */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.photo-gallery-item {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}
.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.photo-gallery-item:hover img { transform: scale(1.06); }

@media (max-width: 900px) {
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 32, 24, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

/* ----------------------------------------------------------------
   Zones
---------------------------------------------------------------- */
.zone-card { position: relative; overflow: hidden; }
.zone-card.highlight { background: var(--green-800); border-color: var(--green-800); }
.zone-card.highlight h3, .zone-card.highlight .role, .zone-card.highlight p, .zone-card.highlight .tag { color: #fdfaf1; }
.zone-card .role { color: var(--green-700); font-weight: 600; font-size: 0.85rem; }
.zone-card p { color: var(--muted); font-size: 0.9rem; }
.zone-card .tag { display: inline-flex; align-items: center; gap: 6px; color: var(--terra-dark); font-weight: 600; font-size: 0.8rem; margin-top: 14px; }
.zone-card.highlight .tag { color: var(--lime); }

/* ----------------------------------------------------------------
   Don
---------------------------------------------------------------- */
.donate-wrap {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(35, 96, 60, 0.18);
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  padding: 56px;
}
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.donate-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.amount-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }
.amount-btn {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  padding: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.15s ease;
}
.amount-btn:hover { border-color: var(--green-700); color: var(--ink); }
.amount-btn.active { background: var(--green-800); border-color: var(--green-800); color: #fdfaf1; }
.donate-box label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--muted); margin-top: 16px; }
.donate-box input[type="number"], .donate-box input[type="email"] {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  font: inherit;
  background: var(--card);
  color: var(--ink);
}
.donate-box .btn { width: 100%; margin-top: 18px; }
.donate-note { margin-top: 14px; text-align: center; font-size: 0.75rem; color: var(--muted); }
.donate-info .btn-terra-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 16px; background: var(--terra); color: #fff; font-size: 1.4rem; margin-bottom: 16px; }

@media (max-width: 900px) {
  .donate-grid { grid-template-columns: 1fr; }
  .donate-wrap { padding: 32px 22px; }
}

/* ----------------------------------------------------------------
   Formulaire de contact
---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 30px; }
.contact-form label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--muted); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  font: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--green-700);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { margin-top: 4px; }

.contact-note { border-radius: 12px; padding: 14px 16px; font-size: 0.9rem; margin-bottom: 18px; }
.contact-note.ok { background: var(--green-050); border: 1px solid rgba(35, 96, 60, 0.25); color: var(--green-800); }
.contact-note.err { background: #fdece8; border: 1px solid rgba(194, 94, 46, 0.3); color: #8f3d1b; }

.info-card { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px 20px; }
.info-card + .info-card { margin-top: 12px; }
.info-card .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--green-050); color: var(--green-700); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.info-card h3 { font-family: var(--font-sans); font-size: 0.98rem; margin: 0 0 2px; }
.info-card p { color: var(--muted); font-size: 0.88rem; margin: 0; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   CTA final
---------------------------------------------------------------- */
.cta-final {
  position: relative;
  overflow: hidden;
  background: var(--green-800);
  border-radius: 26px;
  text-align: center;
  padding: 56px 28px;
  color: #fdfaf1;
}
.cta-final h2 { color: #fdfaf1; max-width: 560px; margin: 0 auto 14px; }
.cta-final p { color: rgba(253, 250, 241, 0.85); max-width: 480px; margin: 0 auto; }
.cta-final .hero-ctas { justify-content: center; margin-top: 28px; }

/* ----------------------------------------------------------------
   Footer
---------------------------------------------------------------- */
.site-footer { background: var(--sand-050); border-top: 1px solid var(--line); margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; }
.footer-brand strong { display: block; }
.footer-brand span { font-size: 0.72rem; color: var(--muted); }
.site-footer h3 { font-family: var(--font-sans); font-size: 0.95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a, .site-footer li { color: var(--muted); font-size: 0.9rem; }
.site-footer a:hover { color: var(--green-800); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-bottom p { margin: 0; font-size: 0.78rem; color: var(--muted); }
.team-link { color: var(--green-700); font-weight: 600; font-size: 0.82rem; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   Blog / archives
---------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.post-card .thumb { display: block; aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--sand-100); }
.post-card .body { padding: 22px; }
.post-card .meta { color: var(--muted); font-size: 0.78rem; margin-bottom: 8px; }
.post-card h2 { font-size: 1.25rem; margin: 0 0 10px; }
.post-card h2 a { color: var(--ink); }
.post-card p { color: var(--muted); font-size: 0.9rem; }

.entry-content { max-width: 720px; margin: 0 auto; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-header { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.entry-header .meta { color: var(--muted); font-size: 0.85rem; }

.pagination, .nav-links { display: flex; gap: 10px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span, .nav-links a, .nav-links span {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--ink);
}
.pagination .current, .nav-links .current { background: var(--green-800); color: #fdfaf1; border-color: var(--green-800); }

/* ----------------------------------------------------------------
   Divers
---------------------------------------------------------------- */
.not-found { text-align: center; padding: 120px 20px; }
.not-found h1 { font-size: 5rem; color: var(--green-700); }

.comment-list { list-style: none; padding: 0; }
.comment-list li { margin-bottom: 14px; }
.comment-body { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 0.92rem; }
.comment-meta { color: var(--muted); font-size: 0.8rem; margin-bottom: 6px; }

.search-form { display: flex; gap: 8px; max-width: 420px; }
.search-form input[type="search"] {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  font: inherit;
  background: var(--card);
}

/* Animation au défilement (progressive enhancement) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
