/* ============================================================
   LAOU — Page ARTICLE (structure « Éditorial », 2 colonnes)
   Réutilise blog/page.css (tokens, .btn, .grain, .link-arrow,
   .subnav, .article-grid/.article-card…). N'ajoute QUE le
   spécifique article. Catégorie de l'article = vert.
   ============================================================ */

.article-root { --accent: var(--green-deep); --accent-soft: var(--green-soft); --accent-pastel: var(--green); }

/* ---- top-nav article (sobre, sticky) ---- */
.art-nav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-200); }
.art-nav-inner { display: flex; align-items: center; gap: 20px; height: 76px; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.art-nav-logo img { height: 46px; width: auto; display: block; }
.art-nav .back { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--ink); padding: 8px 4px; transition: color var(--dur) var(--ease-out), gap var(--dur) var(--ease-out); }
.art-nav .back svg { width: 18px; height: 18px; stroke-width: 2; }
.art-nav .back:hover { color: var(--accent); gap: 13px; }

/* ---- wrappers ---- */
.art-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.art-header { max-width: 820px; margin: 0 auto; padding: 46px 0 28px; }

/* breadcrumb */
.breadcrumb.art-crumb { padding: 12px 0 8px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: var(--text-body-sm); color: var(--gray-500); margin: 0 0 22px; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb .sep { color: var(--gray-300); }
.breadcrumb .current { color: var(--ink); }

/* category tag */
.art-tag { display: inline-block; font: var(--text-caption); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); background: var(--accent-pastel); padding: 6px 11px; margin-bottom: 18px; }

.art-title { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; line-height: 1.06; font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--ink); margin: 0; text-wrap: balance; }
.art-standfirst { font: var(--text-body-lg); color: var(--gray-700); line-height: 1.55; margin: 20px 0 0; max-width: 720px; }

/* ---- HERO MAGAZINE (split aplat catégorie + grande photo) ---- */
.art-hero { width: 100%; }
.art-hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: stretch; min-height: 560px; }
.art-hero-left { position: relative; overflow: hidden; background: var(--green); color: var(--ink); padding: 56px clamp(28px, 5vw, 84px) 52px; display: flex; flex-direction: column; justify-content: center; }
.art-hero-left > * { position: relative; z-index: 1; }
.art-hero-left .art-tag { background: var(--green-deep); color: #fff; margin-bottom: 26px; align-self: flex-start; }
.art-hero-left .art-title { color: var(--ink); font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1.04; }
.art-hero-left .art-standfirst { color: rgba(27,43,42,.82); margin-top: 22px; max-width: 540px; }
.art-hero-left .byline { margin-top: 34px; }
.avatar-initials { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(255,255,255,.5); border: 1.5px solid rgba(27,43,42,.28); color: var(--green-deep); font-family: var(--font-display); font-weight: 500; font-size: 1rem; letter-spacing: .02em; }
.art-hero-left .name { color: var(--ink); }
.art-hero-left .name .par { color: rgba(27,43,42,.6); font-weight: 400; }
.art-hero-left .sub { color: rgba(27,43,42,.66); }
.art-hero-right { position: relative; background: var(--gray-100); min-height: 320px; }
.art-hero-right image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* meta row : byline + share */
.art-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--gray-200); }
.byline { display: flex; align-items: center; gap: 13px; }
.byline .avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; background: var(--gray-100); }
.byline .avatar image-slot { width: 48px; height: 48px; display: block; border-radius: 50%; }
.byline .who { display: flex; flex-direction: column; gap: 2px; }
.byline .name { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--ink); }
.byline .sub { font: var(--text-body-sm); color: var(--gray-500); }

/* share bar */
.share { display: flex; align-items: center; gap: 8px; }
.share-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--gray-700); border-radius: 0; cursor: pointer; transition: all var(--dur) var(--ease-out); position: relative; }
.share-btn:hover { color: var(--pink-deep); transform: translateY(-2px); }
.share-btn svg { width: 19px; height: 19px; stroke-width: 2; }
.share-btn .copied { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font: var(--text-caption); white-space: nowrap; padding: 5px 9px; opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease-out); }
.share-btn.is-copied .copied { opacity: 1; }

/* ---- cover figure (filtre chaud) ---- */
.art-hero-right image-slot, .art-figure image-slot, .related image-slot, .aside-read image-slot {
  filter: sepia(0.12) saturate(1.1) brightness(1.04) contrast(0.95);
}

/* ============================================================
   CORPS 2 COLONNES
   ============================================================ */
.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; padding: 48px 0 24px; }

/* ---- prose ---- */
.prose { max-width: 720px; }
.prose > * { margin: 0 0 22px; }
.prose p { font: var(--text-body-lg); color: var(--ink); line-height: 1.62; }
.prose h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; font-size: 1.75rem; color: var(--ink); margin-top: 14px; scroll-margin-top: 96px; }
.prose h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; font-size: 1.3rem; color: var(--ink); margin-top: 8px; }
.prose a.inline { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a.inline:hover { color: var(--teal-700); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { font: var(--text-body-lg); color: var(--ink); line-height: 1.6; margin-bottom: 10px; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 700; }

/* pull-quote */
.pull-quote { border-left: 3px solid var(--accent); padding: 4px 0 4px 24px; margin: 30px 0; }
.pull-quote p { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); margin: 0; }
.pull-quote cite { display: block; margin-top: 12px; font: var(--text-body-sm); font-style: normal; color: var(--gray-500); }

/* figure intégrée */
.art-figure { margin: 30px 0; }
.art-figure image-slot { width: 100%; height: 300px; aspect-ratio: auto; display: block; }
.art-figure figcaption { font: var(--text-body-sm); color: var(--gray-500); margin: 12px 2px 0; }

/* ---- colonne latérale sticky ---- */
.art-side { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 22px; }
.aside-card { background: #fff; border: 0; border-radius: 0; padding: 22px; }
.aside-title { font: var(--text-caption); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 14px; }

/* TOC */
.toc { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a { display: block; font: var(--text-body-sm); line-height: 1.4; color: var(--gray-600); padding: 9px 0 9px 14px; border-left: 2px solid var(--gray-200); transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--accent); border-left-color: var(--accent); font-weight: 700; }

/* share compact (sidebar) */
.aside-share { display: flex; gap: 8px; flex-wrap: wrap; }

/* newsletter compact */
.aside-nl { background: var(--teal-deep); color: #fff; border: 0; position: relative; overflow: hidden; }
.aside-nl > * { position: relative; z-index: 1; }
.aside-nl .nl-picto { display: block; width: 30%; height: auto; margin: 0 auto 14px; }
.aside-nl .nl-picto img { width: 100%; height: auto; object-fit: contain; }
.aside-nl h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; line-height: 1.15; margin: 0 0 8px; color: #fff; }
.aside-nl p { font: var(--text-body-sm); color: rgba(255,255,255,.85); margin: 0 0 14px; }
.aside-nl input { width: 100%; font: var(--text-body); padding: 12px 13px; border: 0; border-radius: 0; background: #fff; color: var(--ink); margin-bottom: 10px; }
.aside-nl input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.aside-nl .btn { width: 100%; }

/* à lire aussi */
.aside-read .read-item { display: flex; align-items: flex-start; gap: 13px; padding: 13px 0; border-top: 1px solid var(--gray-100); }
.aside-read .read-item:first-of-type { border-top: 0; padding-top: 2px; }
.aside-read .read-thumb { flex: none; width: 64px; height: 64px; overflow: hidden; background: var(--gray-100); }
.aside-read .read-thumb image-slot { width: 64px; height: 64px; display: block; }
.aside-read .read-title { font-family: var(--font-display); font-weight: 500; font-size: .98rem; line-height: 1.22; color: var(--ink); transition: color var(--dur) var(--ease-out); }
.aside-read .read-body { display: flex; flex-direction: column; gap: 5px; }
.aside-read .read-more { font: var(--text-caption); font-weight: 700; color: var(--green-deep); }
.aside-read .read-item:hover .read-more { text-decoration: underline; text-underline-offset: 2px; }
.aside-read .read-item:hover .read-title { color: var(--green-deep); }

/* ============================================================
   BLOC AUTEUR
   ============================================================ */
.author-box { max-width: none; margin: 24px 0 0; display: flex; gap: 22px; align-items: flex-start; background: var(--green); border: 0; padding: 28px; }
.author-box .avatar { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; flex: none; background: var(--gray-100); }
.author-box .avatar image-slot { width: 76px; height: 76px; display: block; border-radius: 50%; }
.author-box .a-name { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: var(--ink); margin: 0 0 4px; }
.author-box .a-role { font: var(--text-caption); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--green-deep); margin: 0 0 12px; }
.author-box .a-bio { font: var(--text-body); color: rgba(27,43,42,.8); line-height: 1.55; margin: 0 0 12px; }

/* ============================================================
   ARTICLES LIÉS  (réutilise .article-grid / .article-card de page.css)
   ============================================================ */
.related { padding: 64px 0 8px; }
.related .section-head { margin-bottom: 30px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.related-card { display: flex; flex-direction: column; background: #fff; border: 0; overflow: hidden; cursor: pointer; transition: transform var(--dur) var(--ease-out); }
.related-card:hover { transform: translateY(-3px); }
.related-card .ph image-slot { width: 100%; height: 190px; display: block; }
.related-card .rb { padding: 16px 2px 0; display: flex; flex-direction: column; gap: 9px; }
.related-card .r-cat { font: var(--text-caption); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--rc, var(--teal-deep)); }
.related-card h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.18; font-size: 1.18rem; margin: 0; }
.related-card:hover h3 { color: var(--rc, var(--teal-deep)); }
.related-card .r-meta { font: var(--text-body-sm); color: var(--gray-500); }

/* ============================================================
   NEXT-STEP (aplat teal + grain)
   ============================================================ */
.next-step { background: var(--teal-deep); color: #fff; margin-top: 64px; }
.next-inner { max-width: 1180px; margin: 0 auto; padding: 60px 32px; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; position: relative; z-index: 1; }
.next-text { max-width: 640px; }
.next-text .eyebrow { color: var(--teal-100, #bfe3e8); }
.next-text h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.1; font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; margin: 10px 0 0; }
.next-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .layout-2col { grid-template-columns: 1fr; gap: 8px; }
  .art-side { position: static; margin-top: 16px; }
  .prose { max-width: 720px; margin: 0 auto; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .art-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .art-hero-right { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .art-hero-left { padding: 40px clamp(20px, 6vw, 48px) 40px; }
}
@media (max-width: 680px) {
  .art-wrap { padding: 0 20px; }
  .art-nav-inner { padding: 0 20px; height: 66px; }
  .art-nav-logo img { height: 38px; }
  .art-meta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .related-grid { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; gap: 16px; }
  .next-inner { padding: 44px 20px; }
}
