/* =========================================================================
   MEDIA MAROC — Design system
   1. Tokens & thèmes        6. Cartes            11. Article
   2. Base                   7. Sections home     12. Rubrique / listes
   3. Utilitaires            8. Widgets           13. Direct
   4. En-tête & navigation   9. Multimédia        14. Pages institutionnelles
   5. Boutons, badges        10. Pied de page     15. Overlays, toasts, modales
   ========================================================================= */

/* ---------- 1. Tokens & thèmes ---------- */
:root {
  --brand: #C1203A;
  --brand-600: #A51A31;
  --brand-700: #861427;
  --brand-50: #FCEEF0;
  --ink: #111111;
  --ink-2: #2E2E2E;
  --muted: #6A6A6A;
  --muted-2: #8C8C8C;
  --line: #E5E2DC;
  --line-2: #EFECE7;
  --bg: #FFFFFF;
  --paper: #F7F5F1;
  --paper-2: #EFEBE4;
  --card: #FFFFFF;
  --dark: #0E0E0F;
  --dark-2: #18181A;
  --dark-3: #232326;
  --on-dark: #F4F4F4;
  --on-dark-muted: #A5A5A8;
  --success: #15803D;
  --danger: #DC2626;
  --gold: #B45309;

  --f-brand: 'Montserrat', 'Arial Black', system-ui, sans-serif;
  --f-serif: 'Newsreader', 'Georgia', 'Times New Roman', serif;
  --f-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1320px;
  --gutter: 24px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 8px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #EDEDED; --ink-2: #D2D2D4; --muted: #9C9CA1; --muted-2: #77777C;
    --line: #2A2A2E; --line-2: #222225;
    --bg: #0F0F11; --paper: #151518; --paper-2: #1B1B1F; --card: #151518;
    --brand-50: #2A1218;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #EDEDED; --ink-2: #D2D2D4; --muted: #9C9CA1; --muted-2: #77777C;
  --line: #2A2A2E; --line-2: #222225;
  --bg: #0F0F11; --paper: #151518; --paper-2: #1B1B1F; --card: #151518;
  --brand-50: #2A1218;
  color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--f-sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
figure, blockquote { margin: 0; }

/* ---------- 3. Utilitaires ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.muted { color: var(--muted); }
.serif { font-family: var(--f-serif); }
.media { position: relative; overflow: hidden; background: var(--paper-2); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.media img[data-loaded="0"] { opacity: 0; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-21x9 { aspect-ratio: 21 / 9; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 4. En-tête & navigation ---------- */
.topbar { background: var(--dark); color: var(--on-dark-muted); font-size: 12.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 18px; min-width: 0; }
.topbar__date { color: var(--on-dark); font-weight: 500; white-space: nowrap; }
.topbar__hijri { white-space: nowrap; }
.topbar__sep { width: 1px; height: 14px; background: #3a3a3d; }
.topbar__weather { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark); white-space: nowrap; }
.topbar__weather .icon { width: 16px; height: 16px; }
.topbar a:hover { color: #fff; }
.topbar__langs { display: flex; gap: 2px; }
.topbar__langs button { padding: 3px 7px; border-radius: 3px; font-size: 12px; font-weight: 600; color: var(--on-dark-muted); }
.topbar__langs button[aria-pressed="true"] { background: #2b2b2e; color: #fff; }
.topbar__social { display: flex; gap: 12px; }
.topbar__social .icon { width: 15px; height: 15px; }

.masthead { background: var(--bg); border-bottom: 1px solid var(--line); }
.masthead__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 22px 0 18px; }
.masthead__left { display: flex; align-items: center; gap: 8px; }
.masthead__right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.masthead__tagline { text-align: center; margin-top: 8px; font: 500 12px/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.logo { display: inline-flex; align-items: center; gap: .32em; color: var(--ink); font-size: 46px; line-height: 1; }
.logo__mark { height: 1em; width: auto; flex: none; }
.logo__text { font: 800 .69em/1 var(--f-brand); letter-spacing: .015em; white-space: nowrap; transform: translateY(.04em); }
.logo--sm { font-size: 26px; }
.logo--xs { font-size: 20px; }
.logo--light { color: #fff; }

.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); transition: background .2s; }
.icon-btn:hover { background: var(--paper-2); }
.icon-btn .count { position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--brand); color: #fff; font: 700 10px/17px var(--f-sans); text-align: center; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 10px; border-radius: 20px; font: 700 12px/1 var(--f-brand); letter-spacing: .08em; text-transform: uppercase; transition: background .2s; }
.menu-btn:hover { background: var(--paper-2); }

/* Barre de navigation collante */
.nav { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.nav.is-stuck { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.nav__inner { display: flex; align-items: center; gap: 6px; height: 52px; }
.nav__logo { display: none; margin-right: 10px; }
.nav.is-stuck .nav__logo { display: inline-flex; animation: fadeIn .3s var(--ease); }
.nav__list { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; height: 100%; overflow-x: auto; scrollbar-width: none; }
.nav__list::-webkit-scrollbar { display: none; }
.nav__item { position: static; height: 100%; display: flex; align-items: center; }
.nav__link { position: relative; display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 11px; font: 700 13px/1 var(--f-brand); letter-spacing: .02em; color: var(--ink); white-space: nowrap; transition: color .2s; }
.nav__link::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: -1px; height: 3px; background: var(--c, var(--brand)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--c, var(--brand)); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__live { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; margin-right: 6px; border-radius: 15px; background: var(--brand); color: #fff; font: 800 11.5px/1 var(--f-brand); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.nav__live:hover { background: var(--brand-600); }
.nav__actions { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__sub { display: none; }

/* Méga-menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 59; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 28px var(--gutter) 32px; max-width: var(--container); margin: 0 auto; }
.mega__title { font: 800 26px/1.1 var(--f-brand); color: var(--c); margin-bottom: 14px; }
.mega__subs a { display: block; padding: 7px 0; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.mega__subs a:hover { color: var(--c); padding-left: 4px; transition: padding .2s; }
.mega__all { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 13px; color: var(--c); }
.mega__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

/* Bandeau Dernière minute */
.breaking { background: var(--bg); border-bottom: 1px solid var(--line); }
.breaking__inner { display: flex; align-items: stretch; height: 42px; }
.breaking__label { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px 0 0; font: 800 11.5px/1 var(--f-brand); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.breaking__viewport { position: relative; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.breaking__track { display: flex; align-items: center; height: 100%; width: max-content; animation: ticker 60s linear infinite; }
.breaking__viewport:hover .breaking__track { animation-play-state: paused; }
.breaking__item { display: inline-flex; align-items: center; gap: 12px; padding: 0 28px 0 0; font-size: 14px; font-weight: 500; white-space: nowrap; }
.breaking__item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.breaking__item:hover { color: var(--brand); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.trending { border-bottom: 1px solid var(--line); background: var(--paper); }
.trending__inner { display: flex; align-items: center; gap: 10px; height: 44px; overflow-x: auto; scrollbar-width: none; }
.trending__inner::-webkit-scrollbar { display: none; }
.trending__label { flex: none; display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--f-brand); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.trending__label .icon { width: 16px; height: 16px; color: var(--brand); }

/* ---------- 5. Boutons, badges, étiquettes ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 999px; font: 700 13px/1 var(--f-brand); letter-spacing: .03em; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-600); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { opacity: .88; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: #111; }
.btn--light:hover { background: #f1f1f1; }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { height: 34px; padding: 0 14px; font-size: 12px; }
.btn--lg { height: 52px; padding: 0 28px; font-size: 14px; }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

.kicker { display: inline-flex; align-items: center; gap: 8px; font: 800 11.5px/1.2 var(--f-brand); letter-spacing: .09em; text-transform: uppercase; color: var(--c, var(--brand)); }
.kicker__label { color: var(--ink); opacity: .7; font-weight: 700; }
.kicker__label::before { content: '·'; margin-right: 8px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 3px; font: 800 10.5px/1 var(--f-brand); letter-spacing: .07em; text-transform: uppercase; }
.badge--premium { background: #F5C451; color: #3A2A00; }
.badge--premium .icon { width: 12px; height: 12px; }
.badge--live { background: var(--brand); color: #fff; }
.badge--dark { background: rgba(0,0,0,.7); color: #fff; backdrop-filter: blur(6px); }
.badge--label { background: var(--ink); color: var(--bg); }
.dot-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.dot-live::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(3); opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: 15px; border: 1px solid var(--line); background: var(--bg); font-size: 13px; font-weight: 500; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.tag { display: inline-flex; padding: 6px 12px; border-radius: 3px; background: var(--paper-2); font-size: 13px; font-weight: 500; transition: background .2s, color .2s; }
.tag:hover { background: var(--ink); color: var(--bg); }

/* ---------- 6. Cartes ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card a, .card button { position: relative; z-index: 2; }
.card .card__link { position: static; }
.card:hover .media img { transform: scale(1.04); }
.card__media { border-radius: var(--radius); }
.card__media .badge { position: absolute; z-index: 1; }
.card__media .badge--premium { top: 10px; left: 10px; }
.card__media .badge--dark { bottom: 10px; left: 10px; }
.card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card__title { font: 700 19px/1.22 var(--f-serif); letter-spacing: -.005em; color: var(--ink); text-wrap: pretty; }
.card__title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--ease); }
.card:hover .card__title a { background-size: 100% 1px; }
.card__lede { color: var(--ink-2); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 12.5px; color: var(--muted); }
.card__meta .sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.card__meta .badge { height: 19px; font-size: 9.5px; }

.card--lead .card__title { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.015em; font-weight: 700; }
.card--lead .card__lede { font-size: 18px; -webkit-line-clamp: 4; font-family: var(--f-serif); color: var(--ink-2); }
.card--lg .card__title { font-size: 26px; line-height: 1.15; }
.card--sm .card__title { font-size: 17px; }
.card--xs .card__title { font-size: 15.5px; line-height: 1.3; }
.card--h { flex-direction: row; gap: 16px; align-items: flex-start; }
.card--h .card__media { flex: none; width: 38%; max-width: 220px; }
.card--h.card--sm .card__media { width: 112px; }
.card--text { padding: 16px 0; border-top: 1px solid var(--line); }
.card--text:first-child { border-top: 0; padding-top: 0; }
.card--overlay { color: #fff; border-radius: var(--radius-lg); overflow: hidden; }
.card--overlay .card__media { border-radius: 0; height: 100%; }
.card--overlay .card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.85) 100%); }
.card--overlay .card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 1; }
.card--overlay .card__title { color: #fff; }
.card--overlay .card__meta { color: rgba(255,255,255,.75); }
.card--overlay .kicker { color: #fff; }
.card--overlay .kicker__label { color: #fff; }

.related-links { display: grid; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.related-links a { display: flex; gap: 10px; font: 600 15px/1.35 var(--f-serif); }
.related-links a::before { content: ''; flex: none; width: 7px; height: 7px; margin-top: 7px; background: var(--brand); }
.related-links a:hover { color: var(--brand); }

.author-mini { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.author-mini img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.avatars { display: inline-flex; }
.avatars img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bg); object-fit: cover; }
.avatars img + img { margin-left: -9px; }

/* ---------- 7. Sections de la page d'accueil ---------- */
.section { padding: 48px 0; }
.section--tight { padding: 32px 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .card__title, .section--dark .card__title a { color: #fff; }
.section--dark .card__meta { color: var(--on-dark-muted); }
.section--dark .card__lede { color: #c9c9cc; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; padding-top: 14px; border-top: 3px solid var(--c, var(--ink)); }
.section-head__title { display: flex; align-items: center; gap: 12px; font: 900 clamp(22px, 2.4vw, 28px)/1 var(--f-brand); letter-spacing: -.01em; text-transform: uppercase; color: var(--ink); }
.section-head__title .accent { color: var(--c, var(--brand)); }
.section-head__title .icon { width: 24px; height: 24px; color: var(--c, var(--brand)); }
.section-head__more { display: inline-flex; align-items: center; gap: 6px; font: 700 12.5px/1 var(--f-brand); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.section-head__more:hover { color: var(--c, var(--brand)); }
.section-head__more .icon { width: 16px; height: 16px; transition: transform .2s; }
.section-head__more:hover .icon { transform: translateX(3px); }
.section-head__subs { display: flex; gap: 6px; flex-wrap: wrap; }
.section--dark .section-head { border-top-color: var(--brand); }
.section--dark .section-head__title, .section--dark .section-head__more { color: #fff; }

/* Une */
.une { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 32px; padding: 32px 0 40px; }
.une__col { min-width: 0; }
.une__left { display: flex; flex-direction: column; }
.une__left .card--stack + .card--stack { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.une__center { padding: 0 32px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.une__center .card--lead { gap: 16px; }

/* Fil info */
.fil__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; padding-bottom: 12px; border-bottom: 3px solid var(--brand); }
.fil__title { display: inline-flex; align-items: center; gap: 10px; font: 900 18px/1 var(--f-brand); text-transform: uppercase; }
.fil__title .dot-live { color: var(--brand); }
.fil__list { position: relative; max-height: 640px; overflow-y: auto; scrollbar-width: thin; padding-bottom: 30px; -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent); }
.fil__item { display: grid; grid-template-columns: 50px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.fil__time { font: 700 13px/1.4 var(--f-sans); color: var(--brand); font-variant-numeric: tabular-nums; }
.fil__cat { display: block; font: 800 10.5px/1.2 var(--f-brand); letter-spacing: .08em; text-transform: uppercase; color: var(--c); margin-bottom: 3px; }
.fil__text { font: 600 14.5px/1.35 var(--f-serif); }
.fil__item a:hover .fil__text { color: var(--brand); }
.fil__item.is-hot .fil__text { color: var(--brand); }
.fil__item.is-new { animation: flashIn 1.6s var(--ease); }
@keyframes flashIn { from { background: var(--brand-50); } to { background: transparent; } }
.fil__more { display: flex; justify-content: center; margin-top: 14px; }

/* Bloc grille de 4 */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

/* Bandeau direct */
.live-band { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--dark-2); color: #fff; }
.live-band__media { position: relative; min-height: 320px; }
.live-band__media .media { position: absolute; inset: 0; }
.live-band__media .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.1), rgba(14,14,15,.9)); }
.live-band__media .card__body { align-items: flex-start; position: absolute; left: 0; bottom: 0; right: 0; padding: 28px; z-index: 1; }
.live-band__title { font: 700 clamp(24px, 2.6vw, 34px)/1.1 var(--f-serif); margin-top: 12px; }
.live-band__feed { padding: 26px 28px; display: flex; flex-direction: column; }
.live-band__entry { position: relative; padding: 0 0 18px 22px; border-left: 2px solid #333; }
.live-band__entry::before { content: ''; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--dark); }
.live-band__entry time { font: 700 12.5px/1 var(--f-sans); color: var(--brand); }
.live-band__entry p { margin-top: 6px; font: 600 16px/1.35 var(--f-serif); color: #fff; }
.live-band__cta { margin-top: auto; padding-top: 8px; }

/* Layout principal + barre latérale */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.layout__aside { position: sticky; top: 72px; display: flex; flex-direction: column; gap: 28px; }
.block + .block { margin-top: 44px; }
.block-lead { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; }
.block-lead__list { display: flex; flex-direction: column; gap: 18px; }
.block-lead__list .card + .card { padding-top: 18px; border-top: 1px solid var(--line); }

/* Grand entretien */
.ge { position: relative; background: #121213; color: #fff; overflow: hidden; }
.ge::before { content: ''; position: absolute; right: -120px; top: -80px; width: 520px; height: 520px; background: url('../img/logo-mark.svg') no-repeat center / contain; opacity: .05; pointer-events: none; }
.ge__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding: 64px 0; }
.ge__portrait { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.ge__portrait .media { aspect-ratio: 4 / 5; }
.ge__portrait figcaption { position: absolute; left: 16px; bottom: 16px; }
.ge__label { display: inline-flex; align-items: center; gap: 10px; font: 900 13px/1 var(--f-brand); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.ge__label::before { content: ''; width: 34px; height: 3px; background: var(--brand); }
.ge__quote { margin: 22px 0 0; font: 400 italic clamp(28px, 3.4vw, 46px)/1.14 var(--f-serif); letter-spacing: -.01em; }
.ge__quote::before { content: '«'; display: block; font: 700 90px/0.6 var(--f-serif); color: var(--brand); margin-bottom: 18px; font-style: normal; }
.ge__who { margin-top: 24px; display: flex; flex-direction: column; gap: 4px; }
.ge__name { font: 800 20px/1.2 var(--f-brand); }
.ge__role { color: var(--on-dark-muted); }
.ge__lede { margin-top: 20px; color: #cfcfd2; font: 400 17px/1.55 var(--f-serif); max-width: 640px; }
.ge__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ge__others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0 0 56px; }
.iv-card { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius-lg); background: #1c1c1e; transition: background .2s; position: relative; }
.iv-card:hover { background: #262629; }
.iv-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.iv-card__name { font: 800 14px/1.2 var(--f-brand); color: #fff; }
.iv-card__role { font-size: 12.5px; color: var(--on-dark-muted); margin-top: 2px; }
.iv-card__quote { margin-top: 8px; font: italic 500 15px/1.35 var(--f-serif); color: #e7e7e9; }

/* Vidéos */
.videos { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.video-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; }
.video-main .media { aspect-ratio: 16 / 9; }
.video-main .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85)); }
.video-main__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; z-index: 1; }
.video-main__title { font: 700 clamp(22px, 2.4vw, 32px)/1.12 var(--f-serif); color: #fff; margin-top: 10px; max-width: 720px; }
.play { position: absolute; z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 10px 30px rgba(193,32,58,.45); transition: transform .3s var(--ease); }
.play .icon { width: 26px; height: 26px; margin-left: 3px; }
.play--center { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.play--sm { width: 40px; height: 40px; }
.play--sm .icon { width: 16px; height: 16px; margin-left: 2px; }
.video-main:hover .play--center { transform: translate(-50%, -50%) scale(1.1); }
.video-list { display: flex; flex-direction: column; gap: 14px; }
.video-item { display: grid; grid-template-columns: 168px 1fr; gap: 14px; align-items: center; cursor: pointer; padding: 6px; margin: -6px; border-radius: var(--radius-lg); transition: background .2s; }
.video-item:hover { background: rgba(255,255,255,.05); }
.video-item .media { aspect-ratio: 16 / 9; border-radius: 6px; }
.video-item .play--sm { left: 8px; bottom: 8px; }
.video-item__title { font: 600 15.5px/1.3 var(--f-serif); color: #fff; }
.video-item__meta { margin-top: 6px; font-size: 12px; color: var(--on-dark-muted); }
.duration { position: absolute; right: 8px; bottom: 8px; z-index: 2; padding: 3px 6px; border-radius: 3px; background: rgba(0,0,0,.75); color: #fff; font: 600 11.5px/1 var(--f-sans); font-variant-numeric: tabular-nums; }

/* Opinions */
.opinions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.op-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 4px 26px; border-left: 1px solid var(--line); }
.op-card:first-child { border-left: 0; padding-left: 0; }
.op-card__author { display: flex; align-items: center; gap: 12px; }
.op-card__author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; filter: grayscale(1); transition: filter .3s; }
.op-card:hover .op-card__author img { filter: none; }
.op-card__name { font: 800 13.5px/1.2 var(--f-brand); }
.op-card__role { font-size: 12px; color: var(--muted); margin-top: 2px; }
.op-card__title { font: 500 italic 21px/1.25 var(--f-serif); }
.op-card:hover .op-card__title { color: var(--gold); }

/* Sport */
.scores { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px; scrollbar-width: thin; }
.score { flex: none; min-width: 210px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.score__status { font: 700 10.5px/1 var(--f-brand); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.score__status.is-live { color: var(--brand); }
.score__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; font-size: 14px; }
.score__row + .score__row { margin-top: 6px; }
.score__result { font: 800 15px/1 var(--f-brand); font-variant-numeric: tabular-nums; }

/* Dossiers */
.dossiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dossier { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; color: #fff; }
.dossier .media { position: absolute; inset: 0; }
.dossier .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.88)); }
.dossier:hover .media img { transform: scale(1.06); }
.dossier__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 1; }
.dossier__count { display: inline-block; font: 800 11px/1 var(--f-brand); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 3px; background: var(--brand); }
.dossier__title { margin-top: 12px; font: 900 26px/1.05 var(--f-brand); text-transform: uppercase; letter-spacing: -.01em; }
.dossier__sub { margin-top: 8px; font: 500 15px/1.35 var(--f-serif); color: rgba(255,255,255,.85); }

/* Podcasts */
.podcasts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pod { display: flex; flex-direction: column; gap: 14px; }
.pod__cover { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--pc, var(--brand)); color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.pod__cover::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.22), transparent 55%), linear-gradient(160deg, transparent 40%, rgba(0,0,0,.35)); z-index: -1; }
.pod__cover::after { content: ''; position: absolute; right: -40px; bottom: -30px; width: 190px; height: 150px; background: url('../img/logo-mark.svg') no-repeat center / contain; filter: brightness(0) invert(1); opacity: .12; z-index: -1; }
.pod__brand { display: flex; align-items: center; gap: 6px; font: 800 10px/1 var(--f-brand); letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.pod__brand img { height: 12px; width: auto; filter: brightness(0) invert(1); }
.pod__name { font: 900 30px/.95 var(--f-brand); text-transform: uppercase; letter-spacing: -.01em; }
.pod__freq { font-size: 12px; font-weight: 600; opacity: .85; margin-top: 8px; }
.pod__wave { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.pod__wave i { flex: 1; background: rgba(255,255,255,.55); border-radius: 2px; }
.pod__ep { font: 600 16px/1.3 var(--f-serif); }
.pod__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); }
.pod-play { display: inline-flex; align-items: center; gap: 8px; font: 700 12.5px/1 var(--f-brand); color: var(--ink); }
.pod-play span.circle { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); transition: background .2s; }
.pod-play:hover span.circle { background: var(--brand); color: #fff; }
.pod-play .icon { width: 14px; height: 14px; }

/* En images */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 10px; }
.mosaic__item { position: relative; border-radius: 6px; overflow: hidden; cursor: zoom-in; }
.mosaic__item .media { position: absolute; inset: 0; }
.mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic__item:nth-child(4) { grid-row: span 2; }
.mosaic__item:nth-child(7) { grid-column: span 2; }
.mosaic__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: 13px; opacity: 0; transform: translateY(8px); transition: .3s var(--ease); }
.mosaic__item:hover figcaption { opacity: 1; transform: none; }
.mosaic__item:hover img { transform: scale(1.05); }

/* Régions */
.regions { display: flex; flex-wrap: wrap; gap: 10px; }
.region { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 14px; transition: .2s; }
.region:hover { border-color: var(--brand); color: var(--brand); }
.region .icon { width: 16px; height: 16px; color: var(--brand); }

/* Bandeau newsletter */
.nl-band { position: relative; overflow: hidden; background: var(--brand); color: #fff; border-radius: var(--radius-lg); padding: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; isolation: isolate; }
.nl-band::before { content: ''; position: absolute; right: -60px; top: -80px; width: 420px; height: 340px; background: url('../img/logo-mark.svg') no-repeat center / contain; filter: brightness(0) invert(1); opacity: .08; z-index: -1; }
.nl-band__title { font: 900 clamp(26px, 3vw, 38px)/1.05 var(--f-brand); text-transform: uppercase; letter-spacing: -.01em; }
.nl-band__text { margin-top: 12px; font: 400 17px/1.5 var(--f-serif); opacity: .92; }
.nl-form { display: flex; gap: 10px; }
.nl-form input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border-radius: 999px; border: 0; background: #fff; color: #111; font-size: 15px; }
.nl-form input:focus { outline: 3px solid rgba(255,255,255,.4); }
.nl-band__fine { margin-top: 12px; font-size: 12.5px; opacity: .8; }
.nl-band__checks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; font-size: 14px; font-weight: 500; }
.nl-band__checks label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.nl-band__checks input { width: 16px; height: 16px; accent-color: #111; }
.form-success { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius-lg); background: rgba(255,255,255,.14); font-weight: 600; }

/* ---------- 8. Widgets ---------- */
.widget { border-top: 3px solid var(--ink); padding-top: 14px; }
.widget--card { border: 1px solid var(--line); border-top: 3px solid var(--c, var(--ink)); border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 16px 18px 18px; background: var(--card); }
.widget__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.widget__head > span { white-space: nowrap; }
.widget__title { font: 900 15px/1 var(--f-brand); text-transform: uppercase; letter-spacing: .02em; }
.widget__title .accent { color: var(--brand); }
.widget__foot { margin-top: 12px; font-size: 11.5px; color: var(--muted-2); }
.tabs { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--paper-2); }
.tabs button { white-space: nowrap; padding: 6px 12px; border-radius: 999px; font: 700 11.5px/1 var(--f-brand); color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--bg); color: var(--ink); box-shadow: var(--shadow-sm); }

.mostread { counter-reset: mr; }
.mostread li { counter-increment: mr; display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.mostread li:last-child { border-bottom: 0; }
.mostread li::before { content: counter(mr); font: 900 34px/0.9 var(--f-brand); color: var(--brand); opacity: .9; }
.mostread a { font: 600 15.5px/1.3 var(--f-serif); }
.mostread a:hover { color: var(--brand); }
.mostread .views { display: block; margin-top: 4px; font: 500 12px/1 var(--f-sans); color: var(--muted); }

.weather__now { display: flex; align-items: center; gap: 14px; }
.weather__icon { width: 54px; height: 54px; color: #E9A100; }
.weather__icon .icon { width: 54px; height: 54px; stroke-width: 1.5; }
.weather__temp { font: 800 42px/1 var(--f-brand); letter-spacing: -.02em; }
.weather__desc { font-size: 14px; color: var(--ink-2); }
.weather__extra { display: flex; gap: 14px; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.weather select { height: 32px; padding: 0 28px 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center; appearance: none; font-size: 13px; font-weight: 600; cursor: pointer; }
.weather__days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.weather__day { padding: 10px 6px; border-radius: 8px; background: var(--paper); text-align: center; font-size: 12.5px; }
.weather__day .icon { width: 22px; height: 22px; margin: 6px auto; color: #E9A100; }
.weather__day b { font-weight: 700; }

.prayer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.prayer__item { padding: 10px 6px; border-radius: 8px; background: var(--paper); text-align: center; }
.prayer__item.is-next { background: var(--brand); color: #fff; }
.prayer__name { font: 700 11px/1 var(--f-brand); letter-spacing: .05em; text-transform: uppercase; opacity: .75; }
.prayer__time { margin-top: 6px; font: 800 18px/1 var(--f-brand); font-variant-numeric: tabular-nums; }
.prayer__ar { display: block; margin-top: 4px; font-size: 12px; opacity: .7; }

.markets li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.markets li:last-child { border-bottom: 0; }
.markets__name { font-weight: 700; }
.markets__value { font-variant-numeric: tabular-nums; font-weight: 600; }
.markets__chg { min-width: 64px; text-align: right; font: 700 12.5px/1 var(--f-sans); font-variant-numeric: tabular-nums; }
.up { color: var(--success); }
.down { color: var(--danger); }

.poll__q { font: 700 18px/1.3 var(--f-serif); margin-bottom: 14px; }
.poll__opt { position: relative; display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 11px 14px; margin-bottom: 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); text-align: left; font-weight: 600; font-size: 14px; overflow: hidden; isolation: isolate; transition: border-color .2s; }
.poll__opt:hover { border-color: var(--ink); }
.poll__opt .bar { position: absolute; inset: 0; width: 0; background: var(--brand-50); z-index: -1; transition: width 1s var(--ease); }
.poll__opt.is-mine { border-color: var(--brand); }
.poll__opt.is-mine .bar { background: rgba(193,32,58,.18); }
.poll__opt .pct { font-variant-numeric: tabular-nums; }
.poll[data-voted="1"] .poll__opt { cursor: default; }

.standings { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.standings th { text-align: left; font: 700 10.5px/1 var(--f-brand); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0 6px 10px; }
.standings td { padding: 9px 6px; border-top: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.standings td:first-child { width: 26px; font-weight: 800; color: var(--muted); }
.standings tr:nth-child(-n+3) td:first-child { color: var(--success); }
.standings td.team { width: 100%; font-weight: 600; white-space: nowrap; }
.standings td.pts { font-weight: 800; text-align: right; }
.standings th.pts { text-align: right; }

.promo { position: relative; overflow: hidden; padding: 24px; border-radius: var(--radius-lg); background: var(--dark); color: #fff; isolation: isolate; }
.promo::before { content: ''; position: absolute; right: -40px; bottom: -40px; width: 200px; height: 160px; background: url('../img/logo-mark.svg') no-repeat center / contain; opacity: .25; z-index: -1; }
.promo__kicker { font: 800 11px/1 var(--f-brand); letter-spacing: .12em; text-transform: uppercase; color: #F5C451; }
.promo__title { margin-top: 10px; font: 800 22px/1.15 var(--f-brand); }
.promo__text { margin-top: 10px; font-size: 14px; color: #cfcfd2; }
.promo .btn { margin-top: 18px; }
.ad-label { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); text-align: center; margin-bottom: 6px; }

/* ---------- 9. Pied de page ---------- */
.footer { background: var(--dark); color: var(--on-dark-muted); margin-top: 64px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 40px; padding: 56px 0 40px; }
.footer__about p { margin-top: 18px; max-width: 320px; line-height: 1.6; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #1d1d20; color: #fff; transition: background .2s; }
.footer__social a:hover { background: var(--brand); }
.footer__social .icon { width: 17px; height: 17px; }
.footer__title { font: 800 12.5px/1 var(--f-brand); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer__links a { display: block; padding: 6px 0; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__apps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid #333; color: #fff; transition: border-color .2s; }
.store-btn:hover { border-color: #888; }
.store-btn .icon { width: 22px; height: 22px; }
.store-btn small { display: block; font-size: 9.5px; color: var(--on-dark-muted); line-height: 1; }
.store-btn b { display: block; font-size: 14px; line-height: 1.2; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 22px 0; border-top: 1px solid #242427; font-size: 12.5px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal a:hover { color: #fff; }
.footer__demo { padding: 10px 0 26px; font-size: 11.5px; color: #77777c; }

/* ---------- 10. Article ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 100; background: transparent; pointer-events: none; }
.progress__bar { height: 100%; width: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .icon { width: 14px; height: 14px; }
.art-head { max-width: 900px; margin: 0 auto; padding: 36px 0 24px; text-align: left; }
.art-head__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 16px; }
.art-title { font: 700 clamp(32px, 4.6vw, 56px)/1.06 var(--f-serif); letter-spacing: -.02em; text-wrap: balance; }
.art-lede { margin-top: 20px; font: 400 clamp(19px, 1.7vw, 23px)/1.45 var(--f-serif); color: var(--ink-2); text-wrap: pretty; }
.byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline__who { display: flex; align-items: center; gap: 12px; }
.byline__who .avatars img { width: 44px; height: 44px; }
.byline__names { font-size: 14.5px; }
.byline__names a { font-weight: 700; }
.byline__names a:hover { color: var(--brand); }
.byline__date { font-size: 13px; color: var(--muted); margin-top: 2px; }
.byline__tools { display: flex; align-items: center; gap: 4px; }
.tool-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); transition: background .2s, color .2s; }
.tool-btn:hover { background: var(--paper-2); }
.tool-btn[aria-pressed="true"] { color: var(--brand); }
.tool-btn[aria-pressed="true"] .icon { fill: currentColor; }
.tool-btn .icon { width: 18px; height: 18px; }

.art-figure { max-width: 1100px; margin: 8px auto 0; }
.art-figure .media { border-radius: var(--radius); aspect-ratio: 16 / 9; }
.figcap { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.figcap .credit { color: var(--muted-2); }

.art-layout { display: grid; grid-template-columns: 64px minmax(0, 680px) 300px; justify-content: center; gap: 48px; margin-top: 40px; align-items: start; }
.share-rail { position: sticky; top: 90px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.share-rail__label { font: 700 10px/1 var(--f-brand); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.share-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: .2s; }
.share-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.share-btn .icon { width: 17px; height: 17px; }
.art-aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 28px; }

.prose { font: 400 var(--prose-size, 20px)/1.7 var(--f-serif); color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose p { text-wrap: pretty; }
.prose > p:first-of-type:not(.qa-q)::first-letter { float: left; font: 700 4.2em/.82 var(--f-serif); margin: .06em .1em 0 0; color: var(--brand); }
.prose h2 { margin-top: 1.8em; font: 800 1.2em/1.25 var(--f-sans); letter-spacing: -.01em; }
.prose strong { font-weight: 700; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.pullquote { position: relative; margin: 2em 0 !important; padding: 8px 0 8px 28px; border-left: 4px solid var(--brand); }
.pullquote p { font: 500 italic 1.35em/1.3 var(--f-serif); letter-spacing: -.01em; }
.pullquote cite { display: block; margin-top: 12px; font: 600 13.5px/1.4 var(--f-sans); font-style: normal; color: var(--muted); }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; margin: 2em 0 !important; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); }
.figures div { padding: 18px 16px 18px 0; }
.figures div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.figures b { display: block; font: 900 32px/1 var(--f-brand); letter-spacing: -.02em; color: var(--brand); }
.figures span { display: block; margin-top: 8px; font: 500 13.5px/1.4 var(--f-sans); color: var(--ink-2); }
.infobox { margin: 2em 0 !important; padding: 22px 24px; background: var(--paper); border-radius: var(--radius-lg); border-left: 4px solid var(--ink); }
.infobox h3 { font: 900 13px/1 var(--f-brand); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.infobox li { position: relative; padding-left: 20px; font: 400 16px/1.5 var(--f-sans); }
.infobox li + li { margin-top: 8px; }
.infobox li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--brand); }
.also { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; margin: 1.8em 0 !important; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .2s; }
.also:hover { border-color: var(--ink); }
.prose a.also { color: inherit; text-decoration: none; }
.prose a.also:hover .also__title { color: var(--brand); }
.prose .figcap { font-family: var(--f-sans); font-size: 13px; line-height: 1.45; }
.also .media { aspect-ratio: 4 / 3; border-radius: 6px; }
.also__label { font: 800 11px/1 var(--f-brand); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.also__title { margin-top: 6px; font: 700 17px/1.3 var(--f-serif); }
.prose figure { margin: 2em 0; }
.prose figure .media { border-radius: var(--radius); }

.qa-q { margin-top: 1.9em !important; padding-left: 16px; border-left: 3px solid var(--brand); font: 700 .92em/1.5 var(--f-sans); color: var(--ink); }
.qa-a .who { font: 800 .8em/1 var(--f-brand); letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }

.paywall { position: relative; margin-top: -120px; padding-top: 120px; background: linear-gradient(180deg, transparent, var(--bg) 120px); }
.paywall__box { padding: 32px; border-radius: var(--radius-lg); background: var(--dark); color: #fff; text-align: center; }
.paywall__box h3 { font: 800 24px/1.2 var(--f-brand); margin-top: 14px; }
.paywall__box p { margin: 10px auto 0; max-width: 460px; color: #cfcfd2; }
.paywall__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

.art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.author-card { display: grid; grid-template-columns: 84px 1fr; gap: 18px; margin-top: 36px; padding: 22px; border-radius: var(--radius-lg); background: var(--paper); }
.author-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.author-card__name { font: 800 17px/1.2 var(--f-brand); }
.author-card__role { font-size: 13px; color: var(--muted); margin-top: 2px; }
.author-card__bio { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.author-card__links { display: flex; gap: 14px; margin-top: 12px; font-size: 13px; font-weight: 700; }
.author-card__links a { color: var(--brand); }

.reactions { margin-top: 36px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: center; }
.reactions h3 { font: 800 16px/1.2 var(--f-brand); }
.reactions__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.reaction { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; transition: .2s; }
.reaction:hover { border-color: var(--ink); }
.reaction.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.reaction .n { font-variant-numeric: tabular-nums; opacity: .7; }

.comments { margin-top: 44px; }
.comments__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.comments__title { font: 900 20px/1 var(--f-brand); text-transform: uppercase; }
.comment-form { display: grid; gap: 10px; padding: 18px; border-radius: var(--radius-lg); background: var(--paper); }
.comment-form input, .comment-form textarea, .field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); font-size: 15px; }
.comment-form textarea, .field textarea { min-height: 110px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus, .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.comment-form__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.comment { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.comment__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); font: 800 14px/1 var(--f-brand); color: var(--ink-2); }
.comment__head { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.comment__name { font-weight: 700; }
.comment__time { color: var(--muted); font-size: 12.5px; }
.comment__text { margin-top: 6px; font-size: 15px; line-height: 1.55; }
.comment__actions { display: flex; gap: 14px; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.comment__actions button:hover { color: var(--ink); }
.comment.is-new { animation: flashIn 2s var(--ease); }

/* Article entretien */
.iv-hero { background: #121213; color: #fff; }
.iv-hero__inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.iv-hero__media { position: relative; }
.iv-hero__media .media { position: absolute; inset: 0; }
.iv-hero__body { display: flex; flex-direction: column; justify-content: center; padding: 56px 0 56px 56px; }
.iv-hero .breadcrumb { color: var(--on-dark-muted); }
.iv-hero .art-title { color: #fff; font-size: clamp(30px, 3.6vw, 48px); }
.iv-hero .art-lede { color: #cfcfd2; }
.iv-hero .kicker { color: var(--brand); }
.iv-hero .kicker__label { color: #fff; }
.bio-box { padding: 20px 22px; border-radius: var(--radius-lg); background: var(--paper); }
.bio-box h3 { font: 900 13px/1 var(--f-brand); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.bio-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.bio-box li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }

/* Article opinion */
.op-head { text-align: center; }
.op-head .art-title { font-style: italic; font-weight: 500; }
.op-head .byline { text-align: left; }
.op-head__author { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 18px; }
.op-head__author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }

/* ---------- 11. Rubrique / listes ---------- */
.page-hero { padding: 40px 0 28px; border-bottom: 1px solid var(--line); }
.page-hero__title { display: flex; align-items: center; gap: 16px; font: 900 clamp(38px, 6vw, 72px)/.95 var(--f-brand); letter-spacing: -.025em; text-transform: uppercase; color: var(--ink); }
.page-hero__title::before { content: ''; width: 14px; height: .8em; background: var(--c, var(--brand)); }
.page-hero__desc { margin-top: 16px; max-width: 720px; font: 400 19px/1.5 var(--f-serif); color: var(--ink-2); }
.page-hero__subs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.rub-top { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.rub-top__side { display: flex; flex-direction: column; gap: 22px; }
.rub-top__side .card + .card { padding-top: 22px; border-top: 1px solid var(--line); }
.list-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.list-head h2 { font: 900 20px/1 var(--f-brand); text-transform: uppercase; }
.select { height: 36px; padding: 0 32px 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; font-size: 13px; font-weight: 600; cursor: pointer; }
.article-list > .card { padding: 22px 0; border-bottom: 1px solid var(--line); }
.article-list > .card:first-child { padding-top: 0; }
.load-more { display: flex; justify-content: center; margin-top: 28px; }
.empty { padding: 48px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.empty .icon { width: 36px; height: 36px; margin: 0 auto 12px; }

/* Recherche */
.search-hero { padding: 48px 0 32px; background: var(--paper); border-bottom: 1px solid var(--line); }
.search-big { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 22px; border-radius: 999px; background: var(--bg); border: 2px solid var(--ink); }
.search-big .icon { width: 24px; height: 24px; }
.search-big input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 600 20px/1 var(--f-serif); }
.search-big input:focus { outline: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
mark { background: #FFE58A; color: inherit; padding: 0 2px; border-radius: 2px; }
:root[data-theme="dark"] mark { background: #6b5a00; }

/* Auteur */
.author-hero { padding: 48px 0 36px; background: var(--paper); border-bottom: 1px solid var(--line); }
.author-hero__inner { display: grid; grid-template-columns: 160px 1fr auto; gap: 32px; align-items: center; }
.author-hero img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg); box-shadow: var(--shadow); }
.author-hero h1 { font: 900 clamp(30px, 4vw, 48px)/1 var(--f-brand); letter-spacing: -.02em; }
.author-hero__role { margin-top: 8px; font-weight: 600; color: var(--brand); }
.author-hero__bio { margin-top: 14px; max-width: 640px; font: 400 18px/1.5 var(--f-serif); color: var(--ink-2); }
.stats { display: flex; gap: 28px; }
.stat b { display: block; font: 900 30px/1 var(--f-brand); }
.stat span { font-size: 12.5px; color: var(--muted); }

/* ---------- 12. Direct ---------- */
.live-hero { padding: 32px 0 28px; border-bottom: 1px solid var(--line); }
.live-status { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.live-updated { font-size: 13px; color: var(--muted); }
.essentials { padding: 22px 24px; border-radius: var(--radius-lg); background: var(--paper); border-top: 4px solid var(--brand); }
.essentials h2 { font: 900 14px/1 var(--f-brand); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.essentials li { position: relative; padding-left: 22px; font: 500 16px/1.45 var(--f-serif); }
.essentials li + li { margin-top: 10px; }
.essentials li::before { content: ''; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.new-updates { position: sticky; top: 64px; z-index: 5; display: none; justify-content: center; margin: 18px 0 0; }
.new-updates.is-visible { display: flex; }
.new-updates button { box-shadow: var(--shadow-lg); }
.timeline { position: relative; margin-top: 28px; }
.timeline::before { content: ''; position: absolute; left: 70px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.entry { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 28px; padding-bottom: 32px; }
.entry__time { padding-top: 2px; text-align: right; padding-right: 14px; font: 800 15px/1 var(--f-brand); font-variant-numeric: tabular-nums; }
.entry__time small { display: block; white-space: nowrap; margin-top: 4px; font: 500 11.5px/1 var(--f-sans); color: var(--muted); }
.entry::before { content: ''; position: absolute; left: 65px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 3px solid var(--muted-2); }
.entry--important::before { border-color: var(--brand); background: var(--brand); }
.entry__card { padding: 0 0 0 4px; }
.entry--important .entry__card { padding: 18px 20px; border-radius: var(--radius-lg); background: var(--brand-50); border-left: 4px solid var(--brand); }
.entry__title { font: 700 21px/1.25 var(--f-serif); }
.entry__text { margin-top: 8px; font: 400 17px/1.6 var(--f-serif); color: var(--ink-2); }
.entry__media { margin-top: 14px; border-radius: var(--radius); }
.entry__media.media { aspect-ratio: 16 / 9; }
.entry blockquote { margin: 10px 0 0; padding-left: 18px; border-left: 3px solid var(--brand); font: italic 500 20px/1.4 var(--f-serif); }
.entry blockquote cite { display: block; margin-top: 8px; font: 600 13px/1 var(--f-sans); font-style: normal; color: var(--muted); }
.entry.is-new { animation: slideIn .8s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.race-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.race-table td { padding: 10px 4px; border-top: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.race-table td:first-child { width: 28px; font: 900 16px/1 var(--f-brand); color: var(--brand); }
.race-table .country { font: 700 11px/1 var(--f-brand); color: var(--muted); padding: 3px 5px; border: 1px solid var(--line); border-radius: 3px; }

/* Cartes entretien */
.ivc { position: relative; display: flex; flex-direction: column; gap: 14px; }
.ivc .card__link { position: absolute; inset: 0; z-index: 3; }
.ivc .media { border-radius: var(--radius-lg); }
.ivc .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.82)); }
.ivc:hover .media img { transform: scale(1.04); }
.ivc__who { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px; color: #fff; }
.ivc__name { margin-top: 8px; font: 800 22px/1.1 var(--f-brand); }
.ivc__role { margin-top: 4px; font-size: 13.5px; color: rgba(255,255,255,.8); }
.ivc__quote { margin: 0; font: 500 italic 20px/1.3 var(--f-serif); }
.ivc:hover .ivc__quote { color: var(--c); }

/* ---------- 13. Pages multimédia ---------- */
.mm-hero { background: var(--dark); color: #fff; padding: 40px 0 48px; }
.mm-hero .page-hero__title { color: #fff; }
.mm-hero .page-hero__desc { color: #cfcfd2; }
.playlist { margin-top: 44px; }
.playlist__title { display: flex; align-items: center; gap: 10px; font: 900 18px/1 var(--f-brand); text-transform: uppercase; margin-bottom: 18px; }
.playlist__title::before { content: ''; width: 4px; height: 18px; background: var(--brand); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.vcard { cursor: pointer; }
.vcard .media { aspect-ratio: 16 / 9; border-radius: 8px; }
.vcard .play--sm { left: 10px; bottom: 10px; }
.vcard__title { margin-top: 10px; font: 600 16px/1.3 var(--f-serif); }
.vcard:hover .vcard__title { color: var(--brand); }
.vcard__meta { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.section--dark .vcard__title { color: #fff; }
.section--dark .vcard__meta { color: var(--on-dark-muted); }

.show-head { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; padding: 28px; border-radius: var(--radius-lg); background: var(--paper); }
.episode { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.episode__cover { width: 64px; height: 64px; border-radius: 8px; background: var(--pc); display: grid; place-items: center; color: #fff; }
.episode__cover img { width: 30px; filter: brightness(0) invert(1); }
.episode__show { font: 800 11px/1 var(--f-brand); letter-spacing: .08em; text-transform: uppercase; color: var(--pc); }
.episode__title { margin-top: 6px; font: 700 18px/1.3 var(--f-serif); }
.episode__desc { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.episode__meta { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.episode.is-playing .episode__title { color: var(--brand); }

/* Lecteur audio flottant */
.player { position: fixed; left: 50%; bottom: 18px; z-index: 90; visibility: hidden; display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; width: min(760px, calc(100% - 24px)); padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--dark-2); color: #fff; box-shadow: var(--shadow-lg); transform: translate(-50%, calc(100% + 40px)); transition: transform .45s var(--ease), visibility .45s; }
.player.is-open { transform: translate(-50%, 0); visibility: visible; }
.player__cover { width: 52px; height: 52px; border-radius: 10px; background: var(--pc, var(--brand)); display: grid; place-items: center; }
.player__cover img { width: 26px; filter: brightness(0) invert(1); }
.player__show { font: 800 10.5px/1 var(--f-brand); letter-spacing: .08em; text-transform: uppercase; color: #F5C451; }
.player__title { margin-top: 4px; font: 600 14.5px/1.25 var(--f-serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__bar { display: flex; align-items: center; gap: 10px; margin-top: 8px; font: 600 11px/1 var(--f-sans); color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.player__track { position: relative; flex: 1; height: 4px; border-radius: 2px; background: #3a3a3e; cursor: pointer; }
.player__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 2px; background: var(--brand); }
.player__ctrls { display: flex; align-items: center; gap: 6px; }
.player__ctrls button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; }
.player__ctrls button:hover { background: rgba(255,255,255,.08); }
.player__ctrls .player__toggle { width: 44px; height: 44px; background: #fff; color: #111; }
.player__ctrls .player__toggle:hover { background: #eee; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 3px; background: currentColor; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .2s; } .eq i:nth-child(3) { animation-delay: .4s; } .eq i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.is-paused .eq i { animation-play-state: paused; }

/* ---------- 14. Pages institutionnelles ---------- */
.prose-page { max-width: 760px; }
.prose-page h2 { font: 900 24px/1.15 var(--f-brand); margin: 40px 0 14px; }
.prose-page p { font: 400 18px/1.65 var(--f-serif); color: var(--ink-2); }
.prose-page p + p { margin-top: 14px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.value { padding: 22px; border-radius: var(--radius-lg); background: var(--paper); }
.value .icon { width: 28px; height: 28px; color: var(--brand); }
.value h3 { margin-top: 12px; font: 800 17px/1.2 var(--f-brand); }
.value p { margin-top: 8px; font: 400 15px/1.5 var(--f-sans) !important; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); }
.kpi { padding: 26px 20px 26px 0; }
.kpi + .kpi { padding-left: 20px; border-left: 1px solid var(--line); }
.kpi b { display: block; font: 900 clamp(32px, 4vw, 48px)/1 var(--f-brand); color: var(--brand); letter-spacing: -.02em; }
.kpi span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.member { text-align: center; }
.member img { width: 128px; height: 128px; margin: 0 auto; border-radius: 50%; object-fit: cover; filter: grayscale(.2); transition: filter .3s, transform .3s; }
.member:hover img { filter: none; transform: scale(1.04); }
.member h3 { margin-top: 14px; font: 800 16px/1.2 var(--f-brand); }
.member p { margin-top: 4px; font-size: 13px; color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.plan--featured { border: 2px solid var(--brand); box-shadow: 0 20px 50px rgba(193,32,58,.15); transform: translateY(-8px); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: var(--brand); color: #fff; font: 800 11px/1 var(--f-brand); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.plan__name { font: 900 15px/1 var(--f-brand); letter-spacing: .08em; text-transform: uppercase; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.plan__price b { font: 900 48px/1 var(--f-brand); letter-spacing: -.03em; }
.plan__price span { font-size: 14px; color: var(--muted); }
.plan__desc { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); min-height: 44px; }
.plan ul { margin: 22px 0 26px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; }
.plan li .icon { width: 18px; height: 18px; color: var(--success); margin-top: 2px; }
.plan li.off { color: var(--muted-2); }
.plan li.off .icon { color: var(--muted-2); }
.plan .btn { margin-top: auto; }
.billing { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.billing button { padding: 9px 18px; border-radius: 999px; font: 700 13px/1 var(--f-brand); color: var(--muted); }
.billing button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: var(--shadow-sm); }
.billing .save { margin-left: 6px; color: var(--success); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font: 700 17px/1.35 var(--f-serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; font-size: 15.5px; color: var(--ink-2); max-width: 760px; }
.nl-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.nl-item { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.nl-item h3 { font: 800 16px/1.2 var(--f-brand); }
.nl-item p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.nl-item small { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; margin: 0; }
.switch span { position: absolute; inset: 0; border-radius: 13px; background: var(--line); transition: background .2s; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(20px); }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; }
.field .err { font-size: 12.5px; color: var(--danger); display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field.has-error .err { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.contact-card { padding: 22px; border-radius: var(--radius-lg); background: var(--paper); }
.contact-card + .contact-card { margin-top: 16px; }
.contact-card h3 { font: 800 15px/1.2 var(--f-brand); display: flex; align-items: center; gap: 10px; }
.contact-card h3 .icon { color: var(--brand); }
.contact-card p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }

.notfound { padding: 100px 0; text-align: center; }
.notfound b { display: block; font: 900 clamp(90px, 18vw, 200px)/1 var(--f-brand); color: var(--brand); letter-spacing: -.04em; }
.notfound h1 { font: 700 clamp(26px, 3vw, 36px)/1.2 var(--f-serif); margin-top: 10px; }
.notfound p { margin-top: 12px; color: var(--muted); }

/* ---------- 15. Overlays, tiroir, recherche, modales, toasts ---------- */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,12,.55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 210; width: min(400px, 92vw); background: var(--bg); transform: translateX(-102%); transition: transform .4s var(--ease); display: flex; flex-direction: column; }
.drawer.is-open { transform: none; box-shadow: var(--shadow-lg); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 10px 20px 30px; }
.drawer__search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; margin: 10px 0 16px; border-radius: 999px; background: var(--paper-2); }
.drawer__search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 15px; }
.drawer__search input:focus { outline: none; }
.drawer__group + .drawer__group { margin-top: 24px; }
.drawer__label { font: 800 11px/1 var(--f-brand); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.drawer__link { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line-2); font: 700 17px/1.2 var(--f-brand); }
.drawer__link .swatch { width: 10px; height: 10px; border-radius: 2px; background: var(--c); }
.drawer__link:hover { color: var(--c, var(--brand)); }
.drawer__small a { display: block; padding: 8px 0; font-size: 14.5px; color: var(--ink-2); }

.search-panel { position: fixed; left: 0; right: 0; top: 0; z-index: 210; background: var(--bg); transform: translateY(-105%); transition: transform .4s var(--ease); max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.search-panel.is-open { transform: none; }
.search-panel__inner { max-width: 900px; margin: 0 auto; padding: 28px var(--gutter) 36px; }
.search-panel__bar { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.search-panel__bar .icon { width: 26px; height: 26px; }
.search-panel__bar input { flex: 1; min-width: 0; border: 0; background: transparent; font: 600 clamp(22px, 3vw, 32px)/1.2 var(--f-serif); }
.search-panel__bar input:focus { outline: none; }
.search-panel__hint { margin-top: 18px; font-size: 13px; color: var(--muted); }
.search-panel__results { margin-top: 18px; }
.sr-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.sr-item .media { aspect-ratio: 4 / 3; border-radius: 6px; }
.sr-item__title { font: 700 17px/1.3 var(--f-serif); }
.sr-item:hover .sr-item__title { color: var(--brand); }
kbd { padding: 2px 6px; border-radius: 4px; border: 1px solid var(--line); background: var(--paper); font: 600 12px/1 var(--f-sans); }

.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(5,5,6,.88); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; z-index: 2; }
.modal__close:hover { background: rgba(255,255,255,.2); }
.vplayer { width: min(1100px, 100%); color: #fff; }
.vplayer__screen { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.vplayer__screen img { width: 100%; height: 100%; object-fit: cover; }
.vplayer.is-playing .vplayer__screen img { animation: kenburns 30s linear forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.18) translate(-2%, -2%); } }
.vplayer__bug { position: absolute; top: 16px; right: 16px; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 4px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); font: 800 11px/1 var(--f-brand); letter-spacing: .06em; }
.vplayer__bug img { height: 13px; }
.vplayer__lower { position: absolute; left: 24px; bottom: 70px; max-width: 70%; opacity: 0; transform: translateX(-20px); transition: .6s var(--ease) .6s; }
.vplayer.is-playing .vplayer__lower { opacity: 1; transform: none; }
.vplayer__lower span { display: inline-block; padding: 6px 10px; background: var(--brand); font: 800 11px/1 var(--f-brand); letter-spacing: .08em; text-transform: uppercase; }
.vplayer__lower p { padding: 10px 14px; background: rgba(255,255,255,.95); color: #111; font: 700 17px/1.25 var(--f-serif); }
.vplayer__controls { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 18px 18px 14px; background: linear-gradient(transparent, rgba(0,0,0,.8)); font: 600 12px/1 var(--f-sans); font-variant-numeric: tabular-nums; }
.vplayer__controls button { display: grid; place-items: center; width: 36px; height: 36px; color: #fff; }
.vplayer__progress { position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); }
.vplayer__progress i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--brand); border-radius: 2px; }
.vplayer__bigplay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.25); transition: opacity .3s; }
.vplayer.is-playing .vplayer__bigplay { opacity: 0; pointer-events: none; }
.vplayer__info { display: grid; grid-template-columns: 1fr auto; gap: 20px; margin-top: 18px; }
.vplayer__info h2 { font: 700 clamp(20px, 2.4vw, 28px)/1.2 var(--f-serif); }
.vplayer__info p { margin-top: 8px; color: #bdbdc1; font-size: 15px; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 80vh; border-radius: 6px; margin: 0 auto; }
.lightbox figcaption { margin-top: 14px; color: #ddd; text-align: center; font-size: 14px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; }
.lightbox__nav:hover { background: rgba(255,255,255,.2); }
.lightbox__nav--prev { left: 20px; } .lightbox__nav--next { right: 20px; }

.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 400; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateX(-50%); pointer-events: none; }
.toast { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); animation: toastIn .35s var(--ease); pointer-events: auto; }
.toast .icon { width: 18px; height: 18px; color: #4ADE80; }
.toast.is-out { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
.player.is-open ~ .toasts, body.has-player .toasts { bottom: 110px; }

.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 350; width: min(440px, calc(100% - 40px)); padding: 22px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: toastIn .5s var(--ease); }
.cookie h3 { display: flex; align-items: center; gap: 10px; font: 800 16px/1.2 var(--f-brand); }
.cookie p { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.back-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--bg); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease); }
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
body.has-player .back-top { bottom: 100px; }

.saved-list .sr-item { grid-template-columns: 80px 1fr auto; }

/* ---------- 16. Responsive ---------- */
@media (max-width: 1180px) {
  .une { grid-template-columns: 1fr 1.6fr; }
  .une__right { grid-column: 1 / -1; }
  .une__center { padding-right: 0; border-right: 0; }
  .fil__list { max-height: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
  .art-layout { grid-template-columns: 56px minmax(0, 680px); }
  .art-aside { display: none; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .topbar__social, .topbar__hijri, .topbar .hide-md { display: none; }
  .grid-4, .dossiers, .podcasts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opinions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .op-card:nth-child(3) { border-left: 0; padding-left: 0; }
  .ge__inner { grid-template-columns: 1fr 1.3fr; gap: 36px; }
  .ge__others { grid-template-columns: minmax(0, 1fr); }
  .videos { grid-template-columns: minmax(0, 1fr); }
  .video-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .mega__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega__cards > :nth-child(4) { display: none; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .iv-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .iv-hero__media { min-height: 420px; }
  .iv-hero__body { padding: 36px 0 44px; }
  .author-hero__inner { grid-template-columns: 120px 1fr; }
  .author-hero img { width: 120px; height: 120px; }
  .author-hero .stats { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .masthead__inner { grid-template-columns: auto 1fr auto; padding: 14px 0; }
  .masthead__center { justify-self: center; }
  .masthead__tagline, .masthead .hide-sm { display: none; }
  .logo { font-size: 30px; }
  .nav__inner { height: 48px; }
  .nav__link { padding: 0 9px; font-size: 12.5px; }
  .mega { display: none; }
  .une { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 20px; }
  .une__center { order: -1; padding: 0; border: 0; }
  .une__left { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .une__left .card--stack + .card--stack { margin: 0; padding: 0; border: 0; }
  .fil__list { grid-template-columns: minmax(0, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .layout__aside { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .block-lead { grid-template-columns: minmax(0, 1fr); }
  .live-band { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rub-top { grid-template-columns: minmax(0, 1fr); }
  .nl-band { grid-template-columns: minmax(0, 1fr); padding: 36px 28px; gap: 24px; }
  .art-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .share-rail { position: static; flex-direction: row; justify-content: flex-start; margin-bottom: 24px; }
  .share-rail__label { margin: 0 6px 0 0; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 0 auto; }
  .plan--featured { transform: none; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .values, .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi:nth-child(3) { padding-left: 0; border-left: 0; }
  .nl-list { grid-template-columns: minmax(0, 1fr); }
  .show-head { grid-template-columns: 140px 1fr; }
}
@media (max-width: 640px) {
  .section-head__subs { display: none; }
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .topbar__inner { height: 34px; }
  .topbar__right .topbar__langs, .topbar .hide-xs { display: none; }
  .masthead__right .btn { display: none; }
  .logo { font-size: 24px; }
  .menu-btn span { display: none; }
  .menu-btn { padding: 0 10px; }
  .section { padding: 36px 0; }
  .section-head { margin-bottom: 20px; }
  .une__left { grid-template-columns: minmax(0, 1fr); }
  .une__left .card--stack + .card--stack { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
  .grid-4, .grid-3, .grid-2, .dossiers, .podcasts { grid-template-columns: minmax(0, 1fr); }
  .grid-4.grid-xs-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .card--lead .card__lede { font-size: 16.5px; }
  .card--h .card__media { width: 112px; }
  .layout__aside { grid-template-columns: minmax(0, 1fr); }
  .opinions { grid-template-columns: minmax(0, 1fr); }
  .op-card { border-left: 0; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
  .ge__inner { grid-template-columns: minmax(0, 1fr); padding: 40px 0; }
  .ge__portrait .media { aspect-ratio: 1; }
  .video-list { grid-template-columns: minmax(0, 1fr); }
  .video-item { grid-template-columns: 132px 1fr; }
  .video-main__body { padding: 18px; }
  .play--center { width: 54px; height: 54px; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .mosaic__item:nth-child(1) { grid-column: span 2; }
  .mosaic__item:nth-child(7) { grid-column: span 1; }
  .rail { grid-auto-columns: 78%; }
  .nl-form { flex-direction: column; }
  .nl-form .btn { height: 50px; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .art-head { padding-top: 20px; }
  .byline { flex-direction: column; align-items: flex-start; }
  .byline__tools { width: 100%; justify-content: space-between; overflow-x: auto; }
  .tool-btn span.lbl { display: none; }
  .prose { --prose-size: 18.5px !important; }
  .also { grid-template-columns: 88px 1fr; }
  .figures b { font-size: 26px; }
  .live-band__media { min-height: 260px; }
  .timeline::before { left: 54px; }
  .entry { grid-template-columns: 54px 1fr; gap: 20px; }
  .entry::before { left: 49px; }
  .entry__time { padding-right: 10px; font-size: 13px; }
  .page-hero__title::before { width: 9px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .values, .kpis { grid-template-columns: minmax(0, 1fr); }
  .kpi, .kpi + .kpi { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member img { width: 100px; height: 100px; }
  .author-hero__inner { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .author-hero .stats { justify-content: center; }
  .show-head { grid-template-columns: minmax(0, 1fr); }
  .episode { grid-template-columns: 52px 1fr; }
  .episode__cover { width: 52px; height: 52px; }
  .episode > :last-child { grid-column: 2; }
  .player { grid-template-columns: 44px 1fr auto; padding: 10px; bottom: 10px; }
  .player__cover { width: 44px; height: 44px; }
  .player__ctrls .hide-xs { display: none; }
  .vplayer__lower { bottom: 56px; left: 12px; max-width: 86%; }
  .vplayer__lower p { font-size: 14px; padding: 8px 10px; }
  .vplayer__info { grid-template-columns: minmax(0, 1fr); }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; }
  .cookie { left: 10px; bottom: 10px; width: calc(100% - 20px); }
}

/* =========================================================================
   17. Composants du site dynamique (rendu serveur)
   ========================================================================= */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.icon--xs { width: 14px !important; height: 14px !important; display: inline !important; vertical-align: -2px; }
a.video-main, a.vcard { display: block; color: inherit; }
a.video-item { display: grid; color: inherit; }
a.pod__ep, a.episode__title { display: block; }
a.pod__ep:hover, a.episode__title:hover { color: var(--brand); }
.badge--light { background: #fff; color: #111; }
.badge--sponsored { background: #E0F2FE; color: #075985; }
:root[data-theme="dark"] .badge--sponsored { background: #0c3a52; color: #bae6fd; }
.nav__live--off { background: var(--ink); color: var(--bg); }
.nav__live--off .icon { width: 14px; height: 14px; }
.nav__live--off:hover { background: var(--brand); color: #fff; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 36px; }
.pager__num, .pager__btn, .pager__gap { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.pager__gap { border: 0; }
.pager__num:hover, .pager__btn:hover { border-color: var(--ink); }
.pager__num.is-current { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pager .icon { width: 16px; height: 16px; }

/* Article : compléments */
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand); }
.prose h3 { font: 800 1.05em/1.3 var(--f-sans); margin-top: 1.6em; }
.prose h4 { font: 700 1em/1.3 var(--f-sans); margin-top: 1.4em; }
.prose figure.is-wide { margin-left: -60px; margin-right: -60px; }
.prose--compact { --prose-size: 17px; }
.prose--compact > p:first-of-type::first-letter { float: none; font: inherit; margin: 0; color: inherit; }
.prose--compact ul { margin: 0; }
hr.delimiter { border: 0; text-align: center; margin: 2em 0 !important; }
hr.delimiter::before { content: "\2022  \2022  \2022"; letter-spacing: .6em; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 1.6em 0 !important; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.table-wrap table { width: 100%; border-collapse: collapse; font: 400 15px/1.45 var(--f-sans); }
.table-wrap th, .table-wrap td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.table-wrap th { background: var(--paper); font-weight: 700; }
.table-wrap tr:last-child td { border-bottom: 0; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.embed iframe, .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--video[data-embed] { cursor: pointer; }
.embed--video[data-embed] img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s; }
.embed--video[data-embed]:hover img { opacity: 1; }
.embed--twitter, .embed--instagram, .embed--facebook, .embed--tiktok { aspect-ratio: auto; background: transparent; }
.embed--twitter iframe, .embed--instagram iframe, .embed--facebook iframe, .embed--tiktok iframe { position: static; height: 600px; }
.audio-block audio, .pod-hero__audio { width: 100%; }
.linkcard { display: grid; grid-template-columns: 140px 1fr; margin: 1.6em 0 !important; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: inherit !important; text-decoration: none !important; transition: border-color .2s; }
.linkcard:hover { border-color: var(--ink); }
.linkcard__img { background: var(--paper-2); }
.linkcard__img img { width: 100%; height: 100%; object-fit: cover; }
.linkcard__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; min-width: 0; }
.linkcard__title { font: 700 17px/1.3 var(--f-serif); }
.linkcard__desc { font: 400 14px/1.45 var(--f-sans); color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.linkcard__host { font: 600 12px/1 var(--f-sans); color: var(--muted); }
.filecard { display: inline-flex; align-items: center; gap: 14px; margin: 1.2em 0 !important; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); color: inherit !important; text-decoration: none !important; font-family: var(--f-sans); }
.filecard:hover { border-color: var(--ink); }
.filecard__ext { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 8px; background: var(--brand); color: #fff; font: 800 11px/1 var(--f-brand); }
.filecard b { display: block; font-size: 15px; }
.filecard small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.sponsored-note { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 14px; border-radius: var(--radius-lg); background: #E0F2FE; color: #075985; font-size: 14px; font-weight: 600; }
:root[data-theme="dark"] .sponsored-note { background: #0c3a52; color: #bae6fd; }
.sponsored-note .icon { width: 18px; height: 18px; }
.preview-bar { position: sticky; top: 0; z-index: 70; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; background: #F5C451; color: #3A2A00; font-size: 14px; font-weight: 600; }
.preview-bar .icon { width: 18px; height: 18px; }
.prose.is-gated { max-height: 560px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.paywall[hidden] { display: none; }
.paywall { margin-top: 0; padding-top: 0; background: none; }
.entity-box { margin-top: 36px; padding: 20px 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); border-left: 4px solid var(--brand); }
.entity-box__head { display: flex; align-items: center; gap: 14px; }
.entity-box__head img { width: 56px; height: 56px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line-2); }
.entity-box__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 10px; background: var(--paper-2); color: var(--brand); }
.entity-box__name { font: 800 20px/1.2 var(--f-brand); margin-top: 4px; }
.entity-box p { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.entity-box__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font: 700 13.5px/1.2 var(--f-sans); }
.entity-box__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); }
.entity-box__links .icon { width: 15px; height: 15px; }
.tag--org { gap: 6px; align-items: center; background: var(--brand-50); color: var(--brand); }
.tag--org .icon { width: 14px; height: 14px; }
.toc { padding: 16px 18px; border-radius: var(--radius-lg); background: var(--paper); }
.toc ol { margin-top: 10px; counter-reset: toc; }
.toc li { counter-increment: toc; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.35; }
.toc li::before { content: counter(toc) ". "; font-weight: 800; color: var(--brand); }
.toc a:hover { color: var(--brand); }
.reactions__title { font: 800 16px/1.2 var(--f-brand); }
.art-layout--live .art-main { min-width: 0; }
.pod-hero { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; max-width: 900px; margin: 8px auto 0; padding: 26px; border-radius: var(--radius-lg); background: var(--pc); color: #fff; }
.pod-hero__cover { display: grid; place-items: center; gap: 12px; aspect-ratio: 1; border-radius: 12px; background: rgba(0,0,0,.18); font: 900 22px/1 var(--f-brand); text-transform: uppercase; text-align: center; padding: 16px; }
.pod-hero__cover img { width: 60px; filter: brightness(0) invert(1); }
.pod-hero__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.fil__src { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font: 600 11.5px/1 var(--f-sans); color: var(--muted); }
.fil__src .icon { width: 12px; height: 12px; }
.fil-day { margin: 28px 0 6px; font: 900 15px/1 var(--f-brand); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.fil-day:first-child { margin-top: 0; }
.fil__list--page { max-height: none; -webkit-mask-image: none; mask-image: none; padding-bottom: 0; }
.fil__list--page .fil__text { font-size: 17px; }
.tag-hero__inner { display: flex; align-items: flex-start; gap: 24px; margin-top: 16px; }
.tag-hero__logo { flex: none; width: 120px; height: 120px; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.tag-hero__logo img { width: 100%; height: 100%; object-fit: contain; }
.page-hero__meta a { display: inline-flex; align-items: center; gap: 5px; color: var(--brand); font-weight: 600; }
.page-hero__meta .icon { width: 14px; height: 14px; }
.ivc__title { font: 700 18px/1.25 var(--f-serif); }
.vplayer__screen iframe, .vplayer__screen video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.vplayer.is-playing .vplayer__screen > img { animation: kenburns 30s linear forwards; }
@media (max-width: 900px) {
  .pod-hero { grid-template-columns: 120px 1fr; }
  .prose figure.is-wide { margin-left: 0; margin-right: 0; }
}
@media (max-width: 640px) {
  .linkcard { grid-template-columns: 96px 1fr; }
  .pod-hero { grid-template-columns: 1fr; }
  .pod-hero__cover { display: none; }
  .tag-hero__inner { flex-direction: column; }
  .tag-hero__logo { width: 84px; height: 84px; }
}
@media print {
  .topbar, .masthead, .nav, .breaking, .trending, .footer, .share-rail, .art-aside, .byline__tools, .comments, .reactions, .section, .cookie, .player, .back-top, .progress { display: none !important; }
  .art-layout { display: block; }
  body { background: #fff; color: #000; }
}

.topbar__sep:has(+ .topbar__hijri:empty), .topbar__hijri:empty { display: none; }

/* ---------- 18. Questions fréquentes & liens vers les fiches ---------- */
.prose a.entity-link { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 55%, transparent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose a.entity-link:hover { color: var(--brand); text-decoration-color: var(--brand); }
.faq-block { margin: 2.2em 0 !important; border-top: 3px solid var(--ink); }
.faq-block h2 { margin: 0 !important; padding: 16px 0 6px; font: 800 1.05em/1.25 var(--f-sans); }
.faq-block details { border-bottom: 1px solid var(--line); }
.faq-block summary { position: relative; list-style: none; cursor: pointer; padding: 16px 40px 16px 0; font: 700 17px/1.4 var(--f-sans); color: var(--ink); }
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .2s var(--ease); }
.faq-block details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-block summary:hover { color: var(--brand); }
.faq-block summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.faq-block__a { padding: 0 0 18px; font: 400 18px/1.65 var(--f-serif); color: var(--ink-2); }
@media print { .faq-block details { display: block; } .faq-block__a { display: block; } }

/* ---------- 19. Accueil d'un site encore peu fourni ---------- */
.services-grid { column-width: 280px; column-gap: 24px; }
.services-grid > * { break-inside: avoid; margin-bottom: 24px; min-width: 0; }
.videos--single { grid-template-columns: 1fr; max-width: 900px; }
.fil__src { display: flex; }

/* ---------- 20. Connexion des abonnés (encadré « réservé aux abonnés ») ---------- */
.paywall__login { margin: 22px auto 0; max-width: 460px; text-align: left; }
.paywall__login[hidden] { display: none; }
.paywall__login label { display: block; font: 600 14px/1.4 var(--f-sans); color: #fff; margin-bottom: 8px; }
.paywall__row { display: flex; gap: 8px; flex-wrap: wrap; }
.paywall__row input { flex: 1 1 220px; min-width: 0; height: 46px; padding: 0 14px; border-radius: 999px; border: 0; font: 400 15px var(--f-sans); color: #111; background: #fff; }
.paywall__msg { margin-top: 10px !important; font-size: 14px; color: #e9e9ec !important; min-height: 1em; }

/* ---------- 21. Page d'une brève du fil info ---------- */
.breve { max-width: 820px; padding: 32px 0 8px; }
.breve__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; font: 600 13px/1.3 var(--f-sans); color: var(--muted); }
.breve__cat { font: 800 12px/1 var(--f-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--c, var(--brand)); }
.breve__title { margin: 12px 0 0; font: 700 clamp(26px, 3.4vw, 40px)/1.15 var(--f-serif); letter-spacing: -.01em; text-wrap: balance; }
.breve__summary { margin: 22px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--c, var(--brand)); }
.breve__summary p { margin: 0; font: 400 19px/1.6 var(--f-serif); color: var(--ink-2); }
.breve__summary cite { display: block; margin-top: 8px; font: 600 13px var(--f-sans); font-style: normal; color: var(--muted); }
.breve__source { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.breve__source .btn .icon { width: 16px; height: 16px; }
