/* Styles communs au blog (listing et articles) */
@font-face { font-family: "Playfair Display"; font-weight: 400 900; font-display: swap; src: url(/fonts/playfair-display.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400 700; font-display: swap; src: url(/fonts/source-sans-3.woff2) format("woff2"); }

:root {
  --vert: #52be26;
  --encre: #1f2129;
  --gris: #5f667e;
  --lien: #4a90e2;
  --pale: #f4f7f9;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: var(--encre);
  font: 16px/1.6 "Source Sans 3", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* En-tête */
header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid #eee; }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.marque { display: flex; align-items: center; gap: 18px; text-decoration: none; font-size: 13px; letter-spacing: .35em; }
.marque img { width: 26px; }
nav { display: flex; gap: 32px; font-size: 15px; }
nav a { text-decoration: none; color: #4a4a4a; }
nav a:hover, nav a.actif { color: var(--vert); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--encre); }

/* Listing */
.listing h1 { font: 700 36px/1.2 "Playfair Display", Georgia, serif; text-align: center; margin: 56px 0 48px; }
.grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 36px; max-width: 1000px; margin: 0 auto 80px; }
.carte { text-decoration: none; display: block; }
.carte img { width: 100%; aspect-ratio: 16/11; object-fit: cover; margin-bottom: 14px; }
.carte .cat { color: var(--vert); font-size: 14px; }
.carte h2 { font: 700 18px/1.35 "Playfair Display", Georgia, serif; margin: 4px 0 8px; }
.carte:hover h2 { color: var(--vert); }
.carte time { display: block; color: #8a8f9c; font-size: 14px; margin-bottom: 8px; }
.carte p { margin: 0; font-size: 14px; color: var(--gris); }

/* Article */
.article { max-width: 780px; margin: 0 auto; padding: 32px 16px 64px; }
.fil { font-size: 14px; color: var(--gris); margin-bottom: 14px; }
.fil a { text-decoration: none; }
.fil a:hover { color: var(--vert); }
.fil span { margin: 0 8px; }
.fil .ici { color: var(--vert); margin: 0; }
.article h1 { font: 700 30px/1.25 "Playfair Display", Georgia, serif; margin: 0 0 6px; }
.article > time { color: #8a8f9c; font-size: 15px; }
.une { border-radius: 8px; margin: 22px 0 18px; width: 100%; }
.corps { font: 17px/1.75 Georgia, "Times New Roman", serif; padding: 0 22px; }
.corps h2 { font: 600 28px/1.25 "Playfair Display", Georgia, serif; margin: 40px 0 16px; }
.corps h3 { font: 600 22px/1.3 "Playfair Display", Georgia, serif; margin: 32px 0 14px; }
.corps p { margin: 0 0 1.2em; }
.corps li { margin-bottom: 6px; }
.corps a { color: var(--lien); font-weight: 700; }
.corps img { margin: 8px 0 24px; }

/* Encart Lumna (repris du site actuel) */
/* Vidéos YouTube intégrées : de l'air au-dessus et en dessous */
.corps iframe { display: block; margin: 24px auto; }
/* Réponse courte (blockquote), même rendu que sur Systeme.io */
.corps blockquote { background-color: #f8f9fa; border-left: 4px solid #71c119; border-radius: 4px; margin: 32px 0; padding: 20px 24px; font-style: normal; }
.corps blockquote p { margin: 0; }
.lumna-encart { --l-primary: #221c45; --l-accent: #c4a882; --l-text: #5f5e5a;
  display: flex; align-items: center; gap: 16px; margin: 0 6px 32px; padding: 20px 24px;
  background: #fff; border: 1.5px solid var(--l-accent); border-radius: 12px; box-shadow: 0 4px 16px rgba(34,28,69,.08); }
.lumna-encart img { width: 48px; height: 48px; flex-shrink: 0; }
.lumna-encart .l-txt { flex: 1; }
.lumna-encart .l-q { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--l-primary); line-height: 1.3; }
.lumna-encart .l-p { margin: 0; font-size: 15px; color: var(--l-text); line-height: 1.5; }
.lumna-encart .l-btn { flex-shrink: 0; padding: 12px 24px; border-radius: 8px; background: var(--l-primary);
  color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.lumna-encart .l-btn:hover { opacity: .9; }

/* Bloc auteur */
.auteur { background: var(--pale); padding: 48px 0; }
.auteur .wrap { display: grid; grid-template-columns: 171px 1fr; gap: 40px; max-width: 840px; align-items: start; }
.auteur img { border-radius: 50%; width: 171px; aspect-ratio: 1; object-fit: cover; }
.auteur h4 { margin: 0 0 12px; font-size: 24px; letter-spacing: .02em; }
.auteur p { margin: 0 0 1em; }
.auteur a { color: var(--lien); font-weight: 700; }
.auteur .liens p { margin: 0; }

/* Pied de page */
footer { padding: 40px 16px; text-align: center; font-size: 14px; }
footer img { width: 44px; margin: 0 auto 18px; }
footer .liens { color: rgba(38,92,146,.64); }
footer .liens a { text-decoration: none; }
footer .liens a:hover { text-decoration: underline; }
footer .copy { color: #265c92; font-weight: 700; }

@media (max-width: 820px) {
  nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid #eee; }
  nav.ouvert { display: flex; }
  nav a { padding: 14px 16px; border-top: 1px solid #f2f2f2; }
  .burger { display: block; }
  .grille { grid-template-columns: 1fr; gap: 40px; }
  .listing h1 { font-size: 28px; margin: 36px 0 32px; }
  .article h1 { font-size: 26px; }
  .corps { padding: 0; font-size: 17px; }
  .corps h2 { font-size: 24px; }
  .corps h3 { font-size: 20px; }
  .lumna-encart { flex-direction: column; text-align: center; margin: 0 0 28px; }
  .lumna-encart .l-btn { width: 100%; }
  .auteur .wrap { grid-template-columns: 1fr; gap: 24px; }
  .auteur img { margin: 0 auto; }
}
@media (min-width: 821px) and (max-width: 1000px) {
  .grille { grid-template-columns: repeat(2, 1fr); }
}
