/* ---------------------------------------------------------------
   Design volontairement minimal : une seule colonne, pas de sidebar,
   pas de widgets, rien qui détourne l'attention du texte.
   ------------------------------------------------------------- */

:root {
  --text: #2c2c2a;
  --muted: #6b6a66;
  --accent: #0f6e56;
  --border: #e4e1d8;
  --bg: #fdfcfa;
  --max-width: 700px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

/* --- En-tête / navigation --- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1rem;
  border-bottom: 1px solid #2c2c2a;
}
.site-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.site-title span { display: flex; flex-direction: column; line-height: 1.3; }
.site-title small {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.site-title img { border-radius: 50%; flex-shrink: 0; }
.site-header-subscribe {
  flex: 0 0 auto;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
.site-header-subscribe:hover { opacity: 0.9; }

@media (max-width: 480px) {
  .site-title { font-size: 1.05rem; }
  .site-title small { font-size: 0.55rem; }
  .site-header-subscribe { padding: 0.45rem 0.7rem; font-size: 0.78rem; }
}

/* --- Contenu principal --- */
.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.2rem 4rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--muted); }

h1 {
  font-size: 1.9rem;
  line-height: 1.3;
  margin: 0 0 0.6rem;
  color: #7a2331;
}
h2 { font-size: 1.4rem; margin-top: 2.2rem; margin-bottom: 0.6rem; }
h3 { font-size: 1.15rem; margin-top: 1.4rem; margin-bottom: 0.5rem; color: var(--muted); }

mark {
  background: #fdf0a8;
  color: inherit;
  padding: 0.05em 0.3em;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-weight: 600;
}

.article-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* --- Appel à l'abonnement, sous les métadonnées --- */
.newsletter-inline-cta {
  margin: 0 0 2.5rem;
  
}

.category-intro {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* --- Fiche résumé : vignette visible (indexable par Google Images) --- */
.fiche-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.fiche-preview img {
  flex: 0 0 auto;
  width: 90px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: zoom-in;
  display: block;
}
.fiche-preview figcaption {
  flex: 1 1 auto;
  min-width: 0;
}
.fiche-preview-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.fiche-preview-title {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}
.summary-trigger {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  font-family: inherit;
  text-decoration: underline;
  cursor: pointer;
}
 
.fiche-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.fiche-modal.open { display: flex; }
.fiche-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 12, 0.82);
}
.fiche-modal-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.fiche-modal-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.fiche-modal-close {
  position: absolute;
  top: -2.8rem;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.6rem;
}
.fiche-modal-download {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.3rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
}
.fiche-modal-download:hover { opacity: 0.9; }

/* --- Corps de l'article --- */
.article-body p,
.article-body ul,
.article-body ol { margin: 0 0 1.2rem; }
.article-body ul,
.article-body ol { padding-left: 1.4rem; }
.article-body a { color: var(--accent); }

/* --- Encart livre / pub de fin d'article intégré --- */
.book-promo-inline {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  margin: 2.5rem 0 1rem;
}
.book-promo-inline-text {
  flex: 1 1 auto;
  min-width: 0;
}
.book-promo-inline-text p {
  margin: 0;
  color: var(--text);
}
.book-promo-inline-text a {
  color: var(--accent);
  font-weight: 600;
}
.book-promo-inline-side {
  flex: 0 0 auto;
  width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.book-promo-inline-side > a { display: block; text-decoration: none; }
.book-promo-inline-side > a:hover .book-promo-inline-cover-img { opacity: 0.85; }
.book-promo-inline-cover-img {
  width: 100%;
  height: auto;
  display: block;
}
.book-promo-inline-cover--placeholder {
  width: 100%;
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}
.book-promo-inline-button {
  display: inline-block;
  white-space: nowrap;
  text-align: center;
  background: #FF9900;
  color: #0f1111;
  text-decoration: none;
  padding: 0.5rem 0.7rem;
  border-radius: 4px;
  border: 1px solid #a1650a;
  font-size: 0.82rem;
  font-weight: 600;
}
.book-promo-inline-button:hover { background: #e88a00; }

@media (max-width: 520px) {
  .book-promo-inline { flex-direction: column; }
  .book-promo-inline-side { width: 140px; margin: 0 auto; }
}

/* --- Articles liés --- */
.related-articles {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.related-articles h2 { margin-top: 0; font-size: 1.1rem; }
.related-articles ul { padding-left: 1.2rem; }
.related-articles a { color: var(--accent); }

/* --- Listings (accueil blog + pages catégories) --- */
.category-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.category-index-label {
  margin: 3rem 0 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.category-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
}
.category-pill:hover { border-color: var(--accent); color: var(--accent); }

.article-list { list-style: none; margin: 0; padding: 0; }
.article-list-item {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}
.article-list-item:first-child { padding-top: 0; }
.article-list-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.article-list-thumb {
  flex: 0 0 auto;
  display: block;
  width: 72px;
}
.article-list-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.article-list-body { flex: 1 1 auto; min-width: 0; }

@media (max-width: 480px) {
  .article-list-thumb { width: 56px; }
}
.article-list-category {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 0.3rem;
}
.article-list-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 0.4rem;
}
.article-list-title:hover { color: var(--accent); }
.article-list-excerpt {
  color: var(--muted);
  margin: 0 0 0.4rem;
}
.article-list-date {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
}

/* --- Pied de page --- */
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.5rem 0.6rem 0.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer a { color: var(--accent); }

/* --- points encadré --- */
.key-point {
  margin: 1.6rem 0;
  padding: 0.1rem 1.2rem;
  border-left: 2px solid #c98a95;
}
.key-point-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: #7a2331;
}
.key-point p:last-child { margin: 0; }

/* --- souligné --- */
.souligne-bleu {
  text-decoration: underline;
  text-decoration-color: #8ecae6;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

/* --- A propos et contact --- */
.about-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #dfddd3;
  border-radius: 10px;
  padding: 1.3rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 2px 10px rgba(30, 28, 20, 0.06);
}
.about-avatar {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.about-body { flex: 1 1 auto; min-width: 0; }
.about-name { margin: 0; font-weight: 700; font-size: 1.05rem; }
.about-title { margin: 0 0 0.6rem; color: var(--muted); font-size: 0.9rem; }
.about-bio { margin: 0 0 1rem; color: var(--text); font-size: 0.95rem; }
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.about-action {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.about-action--amazon {
  background: #FF9900;
  color: #0f1111;
  border: 1px solid #a1650a;
}
.about-action--amazon:hover { background: #e88a00; }
.about-action--facebook {
  background: #1877F2;
  color: #fff;
}
.about-action--facebook:hover { background: #1565d8; }

@media (max-width: 480px) {
  .about-card { flex-direction: column; align-items: center; text-align: center; }
  .about-actions { justify-content: center; }
}

/* --- Bannière de confirmation après inscription --- */
.confirmation-banner {
  margin: 0 0 2rem;
  padding: 1rem 1.3rem;
  background: #eaf5f1;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.98rem;
  text-align: center;
}
/* --- Partage Facebook en fin d'article --- */
.share-facebook { margin: 1.8rem 0 0; }
.share-facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #1877F2;
  font-weight: 600;
  text-decoration: underline;
}
.share-facebook-link:hover { color: #1565d8; }