/* Blog PatriSim — surcouche article long format sur le système V3 (seo.css). */

.article { padding: 48px 0 8px; }
.article h1 {
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 14px;
}
.article h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 40px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.article h3 { font-size: 18px; font-weight: 600; margin: 28px 0 10px; }

.article p { font-size: 16px; color: var(--ink-72); line-height: 1.7; margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 16px 1.4rem; }
.article li { font-size: 16px; color: var(--ink-72); line-height: 1.65; margin-bottom: 8px; }
.article strong { color: var(--ink); font-weight: 600; }
.article a { color: var(--accent-deep); text-decoration: underline; text-decoration-color: var(--mist); }
.article a:hover { text-decoration-color: var(--accent); }

.article blockquote {
  border-left: 3px solid var(--accent);
  background: var(--paper-deep);
  padding: 14px 18px;
  margin: 20px 0;
  color: var(--ink-72);
}

.article code {
  background: var(--paper-deep);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 0.88em;
}
.article pre {
  background: var(--ink);
  color: var(--paper);
  padding: 16px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 20px 0;
}
.article pre code { background: transparent; padding: 0; color: inherit; }

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14.5px;
}
.article th, .article td {
  text-align: left;
  padding: 9px 12px;
  border: 1px solid var(--line);
}
.article th { background: var(--paper-deep); font-weight: 600; }
.article img { max-width: 100%; height: auto; border-radius: 6px; }

.meta-info {
  font-family: var(--mono);
  color: var(--ink-56);
  font-size: 12px;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

/* Encart « passez à l'outil » : carte papier appuyé, filet et accent terracotta,
   bouton encre (même grammaire que .ps-cta des portes). */
aside.tool-cta {
  margin: 40px 0 8px;
  padding: 22px 24px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
}
aside.tool-cta .eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
aside.tool-cta a.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.15s;
}
aside.tool-cta a.btn:hover { background: #000; }

/* Liens connexes « Pour aller plus loin » */
aside.related {
  margin: 40px 0 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
aside.related h2 { font-size: 20px; font-weight: 600; margin: 0 0 16px; }
aside.related ul { list-style: none; margin: 0; padding: 0; }
aside.related li { margin-bottom: 10px; }
aside.related a { color: var(--accent-deep); font-weight: 500; }
aside.related a:hover { text-decoration: underline; }

/* Index */
.index-intro { font-family: var(--mono); font-size: 12px; color: var(--ink-56); letter-spacing: 0.02em; margin: 8px 0 0; }
.index-list { list-style: none; padding: 0; margin: 24px 0; }
.index-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.index-list li:last-child { border-bottom: none; }
.index-list h2 { font-size: 20px; font-weight: 600; margin: 0 0 6px; }
.index-list h2 a { color: var(--ink); }
.index-list h2 a:hover { color: var(--accent-deep); }
.index-list .desc { color: var(--ink-72); font-size: 15px; line-height: 1.6; }
.index-list .meta-info { margin: 8px 0 0; }

@media (max-width: 640px) {
  .article h1 { font-size: 28px; }
  .article h2 { font-size: 21px; }
}
