/* assets/css/journal.css — Le Journal façon magazine (refonte octobre 2026) : liste « à la une », article éditorial, bloc Vestiaire. */
.j-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.j-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.j-cats a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #3E3A33; border: 1px solid #DCD2C0; transition: background .25s, color .25s, border-color .25s; }
.j-cats a:hover { border-color: var(--nuit); }
.j-cats a[aria-current] { background: var(--nuit); color: var(--jaune); border-color: var(--nuit); }
.j-cat { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--terre); }
.j-mark { background: linear-gradient(var(--jaune), var(--jaune)) 0 92% / 0 32% no-repeat; transition: background-size .5s var(--ease); }
a:hover .j-mark, a:focus-visible .j-mark { background-size: 100% 32%; }

/* liste */
.j-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.j-card { display: flex; flex-direction: column; gap: 12px; color: var(--nuit); }
.j-card .img { border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; background: var(--creme-2); }
.j-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.j-card:hover .img img { transform: scale(1.05); }
.j-card h2, .j-card h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; letter-spacing: -.01em; }
.j-card p.ex { color: #4A463F; font-size: 15px; line-height: 1.55; }
.j-card .min { font-size: 13px; color: #6B655B; }
.j-card.une { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid #DCD2C0; }
.j-card.une .img { aspect-ratio: 16/11; border-radius: 24px; }
.j-card.une h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; font-weight: 300; }
.j-card.une p.ex { font-size: 18px; }
.j-empty { border: 2px dashed #D6D6D2; border-radius: 28px; padding: clamp(40px, 6vw, 80px); text-align: center; }
.j-empty h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; }
.j-empty h2 em { color: var(--terre); }
.j-pages { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.j-pages a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; border: 1px solid #DCD2C0; }
.j-pages a[aria-current] { background: var(--nuit); color: var(--jaune); border-color: var(--nuit); }
@media (max-width: 960px) { .j-grid { grid-template-columns: 1fr 1fr; } .j-card.une { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 640px) { .j-grid { grid-template-columns: 1fr; } }

/* article */
.j-progress { position: fixed; top: 72px; left: 0; height: 3px; width: 0; background: var(--jaune); z-index: 49; }
.j-head { width: min(860px, 100% - 32px); margin-inline: auto; padding: 56px 0 32px; }
.j-crumb { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #6B655B; margin-bottom: 28px; }
.j-crumb a:hover { color: var(--nuit); }
.j-crumb .j-cat { margin-left: 6px; }
.j-head h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 76px); line-height: 1.04; letter-spacing: -.02em; color: var(--nuit); text-wrap: balance; }
.j-head .dek { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: #4A463F; }
.j-byline { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 14px; color: #5E584F; }
.j-byline b { color: var(--nuit); }
.j-cover { width: min(1180px, 100% - 32px); margin: 8px auto 0; border-radius: 28px; overflow: hidden; }
.j-cover img { width: 100%; max-height: 620px; object-fit: cover; }
.j-body { width: min(720px, 100% - 32px); margin-inline: auto; padding: 56px 0 24px; font-family: var(--serif); font-size: 21px; line-height: 1.7; color: #24211D; }
.j-body > * + * { margin-top: 1.1em; }
.j-body > p:first-of-type::first-letter { float: left; font-family: 'Archivo', sans-serif; font-weight: 800; font-style: italic; font-size: 4.6em; line-height: .82; padding: .06em .12em 0 0; color: var(--terre); }
.j-body h2, .j-body h3 { font-family: 'Figtree', sans-serif; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; color: var(--nuit); margin-top: 1.8em; }
.j-body h2 { font-size: 30px; } .j-body h3 { font-size: 23px; }
.j-body a { color: var(--nuit); text-decoration: underline; text-decoration-color: var(--jaune); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.j-body blockquote { margin: 1.8em 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--jaune); font-style: italic; font-size: 1.35em; line-height: 1.35; color: var(--nuit); }
.j-body ul, .j-body ol { padding-left: 1.3em; } .j-body ul { list-style: disc; } .j-body ol { list-style: decimal; }
.j-body li + li { margin-top: .4em; }
.j-body img { border-radius: 16px; }
.j-body strong { font-weight: 600; }
.j-share { width: min(720px, 100% - 32px); margin: 24px auto 0; padding-top: 24px; border-top: 1px solid #DCD2C0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.j-share span { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; margin-right: 6px; }
.j-share a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid #DCD2C0; font-weight: 700; transition: background .25s, color .25s; }
.j-share a:hover { background: var(--nuit); color: #fff; border-color: var(--nuit); }
.j-video { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; background: var(--nuit); color: #fff !important; text-decoration: none !important; font-family: 'Figtree', sans-serif; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.j-wear { width: min(1180px, 100% - 32px); margin: 64px auto 0; border-radius: 28px; background: var(--nuit); color: var(--creme); display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 48px); }
.j-wear .shot { background: var(--creme); border-radius: 20px; border: 3px solid var(--jaune); aspect-ratio: 1; padding: 14px; }
.j-wear .shot img { width: 100%; height: 100%; object-fit: contain; }
.j-wear h2 { font-family: 'Archivo', sans-serif; font-weight: 800; font-style: italic; font-stretch: 112%; text-transform: uppercase; line-height: .95; font-size: clamp(32px, 4vw, 54px); }
.j-wear h2 em { font-family: var(--serif); font-weight: 300; text-transform: none; color: var(--jaune); }
@media (max-width: 760px) { .j-wear { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .j-card .img img, .j-mark { transition: none; } }

/* ---------- sources : encadré repliable sous l'article, discret mais toujours accessible ---------- */
.j-src-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid #DADAD6; color: #5E584F; font-size: 13px; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s; }
.j-src-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--foret); }
.j-src-chip:hover { border-color: var(--nuit); color: var(--nuit); }
.j-sources { width: min(720px, 100% - 32px); margin: 8px auto 0; border-block: 1px solid #E6E6E3; font-family: 'Figtree', sans-serif; scroll-margin-top: 96px; }
.j-sources summary { list-style: none; display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 0; cursor: pointer; }
.j-sources summary::-webkit-details-marker { display: none; }
.j-sources .ic { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--creme-2); color: var(--terre); }
.j-sources .t { flex: 1; min-width: 0; }
.j-sources .t b { display: block; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--nuit); transition: color .2s; }
.j-sources .t small { display: block; margin-top: 2px; font-size: 14px; color: #5E584F; }
.j-sources summary:hover .t b { color: var(--terre); }
.j-sources .tg { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid #D6D6D2; transition: transform .35s var(--ease), background .2s, border-color .2s; }
.j-sources .tg::before, .j-sources .tg::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--nuit); transform: translate(-50%, -50%); }
.j-sources .tg::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s; }
.j-sources[open] .tg { transform: rotate(180deg); background: var(--jaune); border-color: var(--jaune); }
.j-sources[open] .tg::after { opacity: 0; }
.j-sources .list { padding: 0 0 22px; animation: j-src-in .35s var(--ease); }
.j-sources ul, .j-sources ol { list-style: none; padding: 0; margin: 0; counter-reset: src; }
.j-sources li { counter-increment: src; position: relative; padding: 12px 0 12px 44px; border-top: 1px dashed #E6E6E3; font-size: 15px; line-height: 1.55; color: #4A463F; }
.j-sources li::before { content: counter(src, decimal-leading-zero); position: absolute; left: 0; top: 13px; font-family: 'Archivo', sans-serif; font-weight: 800; font-style: italic; font-size: 13px; color: var(--terre); }
.j-sources a { color: var(--nuit); text-decoration: underline; text-decoration-color: rgba(200, 137, 43, .55); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.j-sources a::after { content: " ↗"; font-size: .85em; color: var(--terre); }
.j-sources a:hover { text-decoration-color: var(--nuit); }
@keyframes j-src-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .j-sources .list { animation: none; } .j-sources .tg { transition: none; } }
@media print { .j-sources .list { display: block; } }
