/* Flash Magazine (pages generees par scripts/build-magazine.mjs) */
.mag { max-width: 760px; margin: 0 auto; padding: 0 0 64px; }
.mag-head { padding: 56px 24px 24px; }
.mag-head h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(44px, 9vw, 72px); letter-spacing: 1px; margin: 0 0 8px; line-height: 1; }
.mag-head p { color: var(--text-muted); font-size: 18px; margin: 0; }
.cards { display: grid; gap: 24px; padding: 0 24px; }
.card { display: block; text-decoration: none; color: var(--text); background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.card-img { aspect-ratio: 4 / 3; background: var(--border) center / cover; }
.card-body { padding: 20px; }
.card h2 { font-family: 'Bebas Neue', sans-serif; font-size: 34px; letter-spacing: .5px; line-height: 1.05; margin: 6px 0 8px; font-weight: 400; }
.card p { color: var(--text-muted); margin: 0; font-size: 15px; }
.kicker { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 2px; }
.empty { color: var(--text-muted); }
/* Article : photo propre en grand format, titre dessous, texte en serif lisible */
.mag article { max-width: 1040px; margin: 0 auto; }
.cover { margin: 0; background: var(--bg-card); }
.cover img { display: block; width: 100%; max-height: 82vh; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 900px) { .cover { margin: 24px 24px 0; border-radius: 4px; overflow: hidden; } .cover img { aspect-ratio: 3 / 2; } }
.opener { max-width: 760px; margin: 0 auto; padding: 36px 24px 8px; }
.kicker-pill { display: inline-block; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 2.5px; padding: 6px 12px; border-radius: 3px; }
.opener h1 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(54px, 11vw, 104px); line-height: .95; letter-spacing: .5px; margin: 18px 0 20px; color: var(--text); }
.chapo { font-family: 'Source Serif 4', Georgia, serif; font-size: clamp(21px, 3.4vw, 26px); line-height: 1.5; font-weight: 400; font-style: italic; color: var(--text); margin: 0 0 20px; }
.byline { color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; font-weight: 600; margin: 0; padding-top: 16px; border-top: 1px solid var(--border); }
.text { max-width: 760px; margin: 0 auto; padding: 24px 24px 0; }
.text h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(36px, 6vw, 48px); letter-spacing: .5px; line-height: 1; margin: 56px 0 14px; }
.text h2::before { content: ''; display: block; width: 36px; height: 3px; background: var(--accent); margin-bottom: 16px; }
.text p { font-family: 'Source Serif 4', Georgia, serif; font-size: clamp(19px, 2.6vw, 21px); line-height: 1.8; margin: 0 0 22px; color: #ece6dd; }
.text p.dropcap::first-letter { font-family: 'Source Serif 4', Georgia, serif; font-weight: 500; float: left; font-size: 4.3em; line-height: .82; padding: 4px 10px 0 0; color: var(--accent); }
blockquote.pull { position: relative; margin: 56px -8px; padding: 36px 0 8px; border: 0; text-align: center; font-family: 'Bebas Neue', sans-serif; font-style: normal; font-size: clamp(34px, 6.5vw, 52px); line-height: 1.08; letter-spacing: .5px; color: var(--text); }
blockquote.pull .qm { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 120px; line-height: 1; color: var(--accent); }
figure.inline { margin: 44px -24px; }
@media (min-width: 900px) { figure.inline { margin: 52px -140px; } }
figure.inline img { display: block; width: 100%; height: auto; }
figure.inline figcaption { padding: 10px 24px 0; color: var(--text-muted); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
@media (min-width: 900px) { figure.inline figcaption { padding-left: 0; } }
.facts { margin: 56px 0 0; padding: 28px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px 28px; }
.facts-title { grid-column: 1 / -1; font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 1.5px; }
.facts dt { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
.facts dd { margin: 4px 0 0; }
.facts a { color: var(--accent-soft); }
.cta { margin-top: 56px; text-align: center; padding: 32px 16px; border-top: 1px solid var(--border); }
.cta .button { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 28px; border-radius: 12px; }

/* Finitions editoriales */
.opener h1, .text h2, blockquote.pull { text-wrap: balance; }
.text p, .chapo { text-wrap: pretty; hyphens: manual; }
blockquote.pull cite { display: block; margin-top: 18px; font-family: 'Work Sans', sans-serif; font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-muted); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; z-index: 50; }
.share { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.share span { color: var(--text-muted); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-right: 6px; }
.share a { color: var(--text); text-decoration: none; border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; }
.share a:hover { border-color: var(--accent); color: var(--accent-soft); }
.more { max-width: 1040px; margin: 24px auto 0; padding: 40px 24px 0; border-top: 1px solid var(--border); }
.more h3 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 28px; letter-spacing: 1.5px; margin: 0 0 20px; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.more-card { display: grid; gap: 8px; color: var(--text); text-decoration: none; }
.more-img { aspect-ratio: 4 / 3; background: var(--border) center / cover; border-radius: 4px; }
.more-card strong { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 28px; line-height: 1.05; letter-spacing: .5px; }
