/* ----- Fil d'Ariane + en-tête article ----- */
.article-head { max-width: 760px; margin: 0 auto; padding: 48px 24px 0; }
.crumb { font-size: 13px; color: var(--ink-faint); font-weight: 600; margin-bottom: 22px; }
.crumb a:hover { color: var(--accent); }
.article-head .cat { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.article-head h1 { font-size: 40px; line-height: 1.14; letter-spacing: -.025em; }
.article-head .standfirst { color: var(--ink-soft); font-size: 18px; margin-top: 18px; }
.byline { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; font-size: 13.5px; color: var(--ink-faint); }
.byline .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px; background: #5552d9; }
.byline b { color: var(--ink); font-weight: 700; display: block; font-size: 14px; }

/* ----- Image de couverture ----- */
.cover { max-width: 920px; margin: 36px auto 0; padding: 0 24px; }
.cover .inner { min-height: 340px; border-radius: 18px; background: linear-gradient(135deg, #6c63ff, #3dd6c4); display: grid; place-items: center; box-shadow: 0 24px 60px rgba(108, 99, 255, .25); }
.cover .glyph { font-size: 92px; filter: drop-shadow(0 10px 22px rgba(0,0,0,.18)); }

/* ----- Corps de l'article ----- */
.prose { max-width: 720px; margin: 0 auto; padding: 44px 24px 20px; }
.prose p { color: #2c2f3f; font-size: 17px; line-height: 1.75; margin: 0 0 22px; }
.prose h2 { font-size: 25px; letter-spacing: -.02em; margin: 40px 0 14px; }
.prose h3 { font-size: 19px; margin: 30px 0 10px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 4px; list-style: none; }
.prose ul li { position: relative; padding: 4px 0 4px 26px; color: #2c2f3f; font-size: 16.5px; }
.prose ul li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding: 4px 0 4px 30px; counter-increment: li; color: #2c2f3f; font-size: 16.5px; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: 6px; width: 20px; height: 20px; background: var(--accent-soft); color: var(--accent); border-radius: 50%; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.prose a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 30px 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--teal); }
.prose blockquote p { font-size: 20px; font-style: italic; color: var(--ink); line-height: 1.5; margin: 0; }
.prose > img.lrg{width:100%;height:100%;object-fit:cover;border-radius:18px;display:block;}
.pull { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; margin: 30px 0; }
.pull p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }
.pull p b { color: var(--ink); }
figure.code { background: var(--dark); border-radius: 12px; padding: 20px 22px; margin: 26px 0; overflow-x: auto; }
figure.code pre { font-family: "SF Mono", Consolas, monospace; font-size: 13px; line-height: 1.7; color: #d7dbec; }
figure.code .c { color: #6f7796; }
figure.code .k { color: #8f88ff; }
figure.code .s { color: #3dd6c4; }
figcaption { text-align: center; color: var(--ink-faint); font-size: 12.5px; margin-top: 10px; }

/* ----- Partage / tags ----- */
.article-foot { max-width: 720px; margin: 12px auto 0; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 700; color: var(--ink-soft); background: var(--bg); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; }
.share { display: flex; gap: 8px; }
.share a, .share button { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); background: none; display: grid; place-items: center; color: var(--ink-soft); font-weight: 700; font-size: 13px; cursor: pointer; transition: border-color .12s ease, color .12s ease; }
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent); }
.share svg { width: 16px; height: 16px; display: block; }
/* Seules les icônes des liens sont pleines ; celles du bouton sont tracées et
   portent leur propre `fill="none"`, qu'une règle CSS écraserait. */
.share a svg { fill: currentColor; }
/* Confirmation de copie : l'icône bascule sur une coche, sans déplacer le bouton. */
.share button .i-done { display: none; }
.share button.copied { border-color: var(--teal); color: var(--teal); }
.share button.copied .i-link { display: none; }
.share button.copied .i-done { display: block; }

/* ----- Encart auteur ----- */
.author-box { max-width: 720px; margin: 30px auto 0; padding: 24px; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; display: flex; gap: 18px; align-items: flex-start; }
.author-box .avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px; background: #5552d9; flex-shrink: 0; }
.author-box h4 { font-size: 16px; margin-bottom: 4px; }
.author-box .role { color: var(--ink-faint); font-size: 12.5px; margin-bottom: 8px; }
.author-box p { color: var(--ink-soft); font-size: 13.5px; }

/* ----- Articles liés ----- */
.related { background: var(--bg); border-top: 1px solid var(--border); margin-top: 60px; padding: 64px 0; }
.related .kicker { color: var(--accent); font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; }
.related h2 { font-size: 26px; letter-spacing: -.02em; margin: 8px 0 28px; }
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related .card .thumb { height: 130px; font-size: 40px; }
.related .card .c-body { padding: 18px 20px 20px; }
.related .card h4 { font-size: 16px; }
.related .card .meta { margin-top: 14px; font-size: 12px; color: var(--ink-faint); }

/* ----- CTA newsletter ----- */
.cta { background: var(--dark); color: #fff; padding: 60px 0; text-align: center; }
.cta h2 { font-size: 26px; letter-spacing: -.02em; }
.cta p { color: #aab0c5; margin: 10px auto 22px; max-width: 460px; }
.cta-form { display: flex; gap: 10px; justify-content: center; max-width: 440px; margin: 0 auto; flex-wrap: wrap; }
.cta-form input { flex: 1; min-width: 220px; border: 1px solid #2c3040; background: #1d2030; border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 14px; color: #fff; }
.cta-form input:focus { outline: none; border-color: #6c63ff; }

@media (max-width: 820px) {
  .rgrid { grid-template-columns: 1fr; }
  .article-head h1 { font-size: 30px; }
  .cover .inner { height: 220px; }
}

/* ------- */
  div.cover > div.inner > img{width:100%;height:100%;object-fit:cover;border-radius:18px;display:block;}