/* ============================================================
   davylheureux.fr — Blog (/blog + /blog/<slug>.html)
   Hérite de site.css (shell : header/footer injectés, fond WebGL noir,
   .tertiary). Spécifique : page liste (lignes sobres sur fond noir) et
   article (colonne de lecture CLAIRE pour le confort de lecture longue,
   cohérente avec les capsules .card-light de la DA). Typo : Inter.
   ============================================================ */

/* ---- EN-TÊTE : composant hero réutilisé de For Business ----
   Mêmes classes/règles que .section-hero/.hero-inner/.hero-photo/.hero-content
   (accueil.css + for-you.css + for-business.css), répliquées ici car la page
   blog ne charge que site.css + blog.css. Surtitre + titre + sous-titre CENTRÉS ;
   visuel carré (fondu + opacité 0,85 déjà dans le fichier) décalé à droite,
   z-index 0 = au-dessus du fond WebGL mais SOUS le texte, .section-dark étant
   transparent → le WebGL animé transparaît à travers la photo. Aucune opacité/
   masque/cadre/bordure ajoutés en CSS. */
.section-hero { position: relative; overflow: hidden; min-height: 86vh; }
.hero-inner {
  position: relative; align-self: stretch;
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 1280px; margin: 0 auto;
}
.hero-photo {
  position: absolute; right: -10%; top: 50%; bottom: auto;
  transform: translateY(-50%);
  /* ~25% plus petit que For Business (min(60vw,800px)). Disque carré => 1/1. */
  width: min(45vw, 600px); height: auto; aspect-ratio: 1 / 1;
  z-index: 0; pointer-events: none; background: none;
}
.hero-content { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.hero-content h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.08; margin-bottom: 20px; }
/* Voile sombre radial sous le texte pour la lisibilité (comme For Business) */
.hero-content::before {
  content: ''; position: absolute; inset: -30px -50px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.25) 55%, rgba(13,13,13,0) 90%);
}
.hero-sub-h {
  font-size: clamp(18px, 1.6vw, 22px); font-weight: 400; letter-spacing: -0.01em;
  line-height: 1.5; margin-bottom: 30px; color: #FFFFFF;
}
/* Responsive identique au hero For Business (accueil.css @860) */
@media (max-width: 860px) {
  .section-hero { min-height: auto; }
  /* ~25% plus petit que For Business (110%) */
  .hero-photo { width: 82%; right: -4%; }
}
.blog-list {
  max-width: 760px;
  width: 90%;
  margin: 24px auto 120px;
}
.blog-row {
  display: block;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: opacity 0.2s;
}
.blog-row:hover { opacity: 0.7; }
.blog-row-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 8px;
}
.blog-row h2 {
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 8px;
  max-width: none;
}
.blog-row-exc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ---- ARTICLE : colonne de lecture claire ------------------ */
.blog-article {
  max-width: 880px;
  width: 92%;
  margin: 40px auto 110px;
}
.blog-article-card {
  background: var(--card);
  color: var(--ink-dark);
  border-radius: 14px;
  padding: clamp(36px, 5vw, 76px) clamp(24px, 6vw, 88px);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
}
.blog-article-header {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(10,10,10,0.1);
  margin-bottom: 36px;
}
.blog-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.blog-article-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink-dark);
  margin: 0 0 14px;
  max-width: none;
}
.blog-article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dark-mut);
}
.blog-article-meta .date { font-style: italic; }

/* Corps : colonne de lecture confortable, texte sombre sur clair */
.blog-body { max-width: 680px; }
.blog-body p {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.8;
  color: var(--ink-dark-soft);
  margin: 0 0 1.3em;
}
.blog-body h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink-dark);
  margin: 2.2em 0 0.7em;
  max-width: none;
}
.blog-body strong { color: var(--ink-dark); font-weight: 700; }
.blog-body blockquote {
  border-left: 3px solid var(--accent-dark);
  background: rgba(0,120,138,0.05);
  padding: 16px 20px;
  margin: 1.6em 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.7;
  color: var(--ink-dark);
}
.blog-body ul { list-style: none; padding: 0; margin: 0 0 1.3em; }
.blog-body ul li {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.8;
  color: var(--ink-dark-soft);
  padding-left: 20px;
  position: relative;
  margin-bottom: 0.4em;
}
/* puce sobre « · » (la DA n'utilise pas de tiret cadratin) */
.blog-body ul li::before { content: "\00B7"; position: absolute; left: 4px; color: var(--accent-dark); font-weight: 700; }
.blog-body a { color: var(--accent-dark); text-decoration: underline; text-decoration-color: rgba(0,120,138,0.4); }
.blog-body a:hover { text-decoration-color: var(--accent-dark); }

/* Encart « cet article est tiré de l'épisode… » (.art-pod-ref) repris des
   articles d'origine, adapté à la carte claire (accent #00788A). */
.blog-body .art-pod-ref {
  background: rgba(0,120,138,0.06);
  border: 1px solid rgba(0,120,138,0.18);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 2.4em 0 1em;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--ink-dark-soft);
}
.blog-body .art-pod-ref strong { color: var(--ink-dark); }
.blog-body .art-pod-ref a { font-weight: 600; }

/* Pied d'article */
.blog-article-footer { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(10,10,10,0.1); }
.blog-author { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.blog-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.blog-author-name { font-weight: 700; font-size: 15px; color: var(--ink-dark); }
.blog-author-role { font-size: 12px; color: var(--ink-dark-mut); margin-top: 2px; }
.blog-article-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.blog-article-cta a {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink-dark);
  border: 1px solid rgba(10,10,10,0.18);
  padding: 10px 22px;
  border-radius: 100px;
  transition: border-color 0.2s, color 0.2s;
}
.blog-article-cta a:hover { border-color: var(--accent-dark); color: var(--accent-dark); }

@media (max-width: 760px) {
  .blog-article-card { padding: 32px 22px; }
}
