/* ============================================================
   FLUXIA — articles : liste, cartes, pages de lecture
   ============================================================ */
body.art { background: var(--bg); }
.art__main { padding-top: 110px; }

/* cartes (page d'accueil, liste, « à lire aussi ») */
.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.agrid--lg { grid-template-columns: repeat(2, 1fr); margin-top: clamp(34px, 5vh, 56px); }
.acard { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2); color: var(--fg); position: relative; overflow: hidden; transition: transform .45s var(--ease), border-color .3s, background .3s; }
.acard::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.acard:hover, .acard:focus-visible { transform: translateY(-4px); border-color: var(--accent); }
.acard:hover::before, .acard:focus-visible::before { width: 100%; }
.acard__cat { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.acard h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; }
.acard p { margin: 0; color: var(--fg-soft); font-size: 16px; line-height: 1.55; }
.acard__meta { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.acard__meta b { color: var(--accent); font-size: 20px; transition: transform .4s var(--ease); }
.acard:hover .acard__meta b { transform: translateX(5px); }

/* page d'article */
.art__wrap { max-width: 780px; margin: 0 auto; padding: clamp(30px, 6vh, 70px) var(--pad) clamp(40px, 6vh, 70px); }
.art__back { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.art__back:hover { color: var(--accent); }
.art__head { margin-top: 28px; }
.art__cat { margin: 0; font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 12px; }
.art__cat::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.art__head h1 { margin-top: 14px; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; }
.art__lede { margin: 20px 0 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; color: var(--fg-soft); max-width: 60ch; }
.art__meta { margin: 20px 0 0; font-size: 15px; color: var(--muted); }
.art__points { margin: 34px 0 6px; padding: 22px 26px; border-left: 4px solid var(--accent); background: var(--bg-2); border-radius: 0 6px 6px 0; }
.art__k { margin: 0 0 8px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.art__points ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 17px; line-height: 1.5; }
.art__body { margin-top: 30px; font-size: 18.5px; line-height: 1.72; color: var(--fg); }
.art__body h2 { margin: 2.1em 0 .5em; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.art__body p { margin: 0 0 1.1em; }
.art__body ul, .art__body ol { margin: 0 0 1.2em; padding-left: 22px; display: grid; gap: .6em; }
.art__body a, .art__sources a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.art__body a:hover, .art__sources a:hover { color: var(--fg); }
.art__small { font-size: 15px; color: var(--muted); line-height: 1.55; }
.art__table { overflow-x: auto; margin: 0 0 1em; }
.art__table table { width: 100%; border-collapse: collapse; font-size: 17px; }
.art__table th, .art__table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.art__table th { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--fg); }
.art__sources { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.art__sources h2 { font-size: 24px; margin-bottom: 12px; }
.art__sources ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; font-size: 16px; line-height: 1.45; }
.art__note { margin: 24px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

.art__cta { background: var(--ink); color: #f2f2f3; padding: clamp(46px, 8vh, 90px) var(--pad); }
.art__ctain { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; justify-items: start; }
.art__ctain h2 { font-size: clamp(30px, 4vw, 52px); }
.art__ctain p { margin: 0; color: #bdbdc4; font-size: 18px; line-height: 1.6; max-width: 56ch; }
.art__more { max-width: var(--maxw); margin: 0 auto; padding: clamp(46px, 8vh, 90px) var(--pad); }
.art__more h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 26px; }

@media (max-width: 980px) { .agrid { grid-template-columns: 1fr; } .agrid--lg { grid-template-columns: 1fr; } .art__main { padding-top: 90px; } }

/* ---- page News / Articles : liste éditoriale épurée ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nlist { max-width: 1040px; margin: 0 auto; padding: clamp(34px, 7vh, 80px) var(--pad) clamp(60px, 10vh, 120px); }
.nlist__head { margin-bottom: clamp(28px, 5vh, 54px); }
.nlist h1 { margin-top: 12px; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.02; }
.nlist__lede { margin: 14px 0 0; font-size: 18px; line-height: 1.55; color: var(--fg-soft); max-width: 56ch; }
.nlist__h { margin: clamp(34px, 6vh, 60px) 0 0; padding-bottom: 12px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--fg); }
.nlist__note { margin: 18px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); max-width: 72ch; }

.nrow { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) 132px; gap: clamp(18px, 2.6vw, 38px); align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.nrow__meta { margin: 4px 0 0; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.nrow__meta span:first-child { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.nrow h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.16; font-weight: 600; }
.nrow__link { color: var(--fg); transition: color .25s; }
.nrow__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.nrow:hover .nrow__link, .nrow__link:focus-visible { color: var(--accent); }
.nrow__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.nrow__sum { margin: 10px 0 0; max-width: 64ch; font-size: 15.5px; line-height: 1.6; color: var(--fg-soft); }
.nrow__sum span { display: inline-block; margin-right: 8px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.nrow__more { margin: 12px 0 0; font-size: 14.5px; font-weight: 600; color: var(--fg); display: flex; align-items: center; gap: 7px; }
.nrow__more b { color: var(--accent); transition: transform .35s var(--ease); }
.nrow:hover .nrow__more b { transform: translate(3px, -2px); }
.nrow__thumb { width: 132px; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; filter: grayscale(.25); opacity: .92; transition: filter .3s, opacity .3s; }
.nrow:hover .nrow__thumb { filter: none; opacity: 1; }
@media (max-width: 820px) {
  .nrow { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .nrow__meta { display: flex; justify-content: space-between; gap: 14px; }
  .nrow__meta span:last-child { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
  .nrow__meta span:last-child br { display: none; }
  .nrow__thumb { display: none; }
}
