/* Chiffre du jour : refonte du 14 novembre 2026 (maquette validée le 13/11).
   Presse d'info en ligne : blanc, net, une seule masse de couleur par page (la carte bleue du chiffre du jour).
   Polices hébergées sur le site (la CSP bloque Google Fonts) : assets/fonts/. */

/* ---------- Polices ---------- */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 500 900; font-stretch: 62% 125%; font-display: swap; src: url(fonts/archivo-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 500 900; font-stretch: 62% 125%; font-display: swap; src: url(fonts/archivo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Couleurs ---------- */
:root {
  --bg: #ffffff; --surface: #f4f5fa; --surface-2: #eaecf6; --ink: #0d0f22; --muted: #5a5f78; --line: #e2e4ee;
  --blue: #1f3dff; --blue-ink: #1f3dff; --blue-deep: #0c1c8f; --on-blue: #ffffff;
  --yellow: #ffd60a; --on-yellow: #0d0f22; --pink: #ff78c8; --live: #e0245e; --win: #08915a; --ko: #d62839;
  --r-sport: #08915a; --r-politique: #7a3ce0; --r-economie: #1f3dff; --r-monde: #0b7fa3; --r-histoire: #a96500; --r-actualite: #d81f57;
  --paie: #0e8a4a; --on-paie: #ffffff; --paie-soft: #e8f6ee;
  --une: #c0187f; --on-une: #ffffff; --une-soft: #fdebf5;
  --scrim: rgba(13, 15, 34, .55); --shadow: 0 1px 2px rgba(13, 15, 34, .06), 0 10px 30px rgba(13, 15, 34, .07);
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-disp: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  color-scheme: light;
}
/* Mode sombre (16/11/2026 : bouton clair / sombre, choix d'Abdoulaye).
   Par défaut le site suit l'appareil ; le bouton de l'en-tête force « light » ou « dark » (data-theme sur <html>, gardé dans le navigateur). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0c18; --surface: #14162a; --surface-2: #1c1f38; --ink: #eef0fb; --muted: #9ca1c0; --line: #272a46;
    --blue: #3350ff; --blue-ink: #95a3ff; --blue-deep: #0a1470; --on-blue: #ffffff; --pink: #ff8fd2; --live: #ff5c8a; --win: #3fd08f; --ko: #ff6b7a;
    --r-sport: #3fd08f; --r-politique: #b08bff; --r-economie: #95a3ff; --r-monde: #4cc6ea; --r-histoire: #f2ab45; --r-actualite: #ff6a95;
    --paie: #11804a; --paie-soft: #0f2419; --une: #ff8fd2; --on-une: #0d0f22; --une-soft: #2a1226; --scrim: rgba(0, 0, 0, .7); --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0c18; --surface: #14162a; --surface-2: #1c1f38; --ink: #eef0fb; --muted: #9ca1c0; --line: #272a46;
  --blue: #3350ff; --blue-ink: #95a3ff; --blue-deep: #0a1470; --on-blue: #ffffff; --pink: #ff8fd2; --live: #ff5c8a; --win: #3fd08f; --ko: #ff6b7a;
  --r-sport: #3fd08f; --r-politique: #b08bff; --r-economie: #95a3ff; --r-monde: #4cc6ea; --r-histoire: #f2ab45; --r-actualite: #ff6a95;
  --paie: #11804a; --paie-soft: #0f2419; --une: #ff8fd2; --on-une: #0d0f22; --une-soft: #2a1226; --scrim: rgba(0, 0, 0, .7); --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
/* Bouton clair / sombre : lune en mode clair (pour passer en sombre), soleil en mode sombre */
.hd-theme { margin-left: auto; width: 36px; height: 36px; flex: none; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--surface); }
.hd-theme:hover { background: var(--surface-2); }
.hd-theme svg { width: 18px; height: 18px; }
.hd-theme .i-soleil { display: none; }
:root[data-theme="dark"] .hd-theme .i-soleil { display: block; }
:root[data-theme="dark"] .hd-theme .i-lune { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hd-theme .i-soleil { display: block; }
  :root:not([data-theme="light"]) .hd-theme .i-lune { display: none; }
}
/* Petits téléphones : l'en-tête doit tenir logo + bouton + Newsletter sans déborder (testé à 360 et 375 px) */
@media (max-width: 430px) {
  .hd-top { gap: 8px; }
  .hd .logo { gap: 8px; }
  .hd .logo svg { width: 34px; height: 34px; }
  .hd .logo-txt b { font-size: 19px; }
  .hd-theme { width: 32px; height: 32px; }
  .hd-nl { padding: 0 11px; }
}
@media (max-width: 380px) {
  .hd .logo svg { width: 30px; height: 30px; }
  .hd .logo-txt b { font-size: 17px; }
  .hd-nl { padding: 0 8px; }
}

/* ---------- Base ---------- */
[hidden], .hidden { display: none !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-text); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 2px; border-radius: 6px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 780px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--on-yellow); padding: 8px 14px; z-index: 99; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
.ico { width: 18px; height: 18px; flex: none; display: inline-block; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; transition: transform .15s ease, background-color .15s ease; background: var(--ink); color: var(--bg); }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-line { border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.btn-line:hover { background: var(--surface); }
.btn-white { background: var(--on-blue); color: var(--blue-deep); }
.btn-ghost-w { background: transparent; border: 1px solid color-mix(in srgb, var(--on-blue) 45%, transparent); color: var(--on-blue); }
.btn-ghost-w:hover { background: color-mix(in srgb, var(--on-blue) 12%, transparent); }
.btn.clair { background: var(--bg); color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: var(--blue-ink); white-space: nowrap; }
.more:hover { text-decoration: underline; }

/* ---------- En-tête et menu ---------- */
.hd { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.hd-top { display: flex; align-items: center; gap: 16px; padding-block: 10px 6px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo svg { width: 38px; height: 38px; border-radius: 10px; }
.logo-txt { display: grid; line-height: 1; }
.logo-txt b { font-family: var(--f-disp); font-weight: 900; font-size: 22px; letter-spacing: -.03em; }
.logo-txt b i { font-style: normal; color: var(--blue-ink); }
.logo-txt small { font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.hd-date { margin-left: auto; font-size: 13px; color: var(--muted); display: none; }
.hd-nl { margin-left: 0; min-height: 36px; padding: 0 14px; font-size: 13px; }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 3px 4px 8px; }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; padding: 7px 11px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav .dot { width: 7px; height: 7px; border-radius: 50%; }
.nav a.star { background: var(--blue); color: var(--on-blue); }
.nav a.star:hover { background: var(--blue-deep); color: var(--on-blue); }
.nav a.star[aria-current="page"] { background: var(--blue-deep); color: var(--on-blue); box-shadow: 0 0 0 2px var(--yellow); }
.nav a.star .dot { background: var(--yellow); }
/* Chiffre de Paie : juste après « Le chiffre du jour », entouré en vert (13/11/2026) */
.nav a.paie-l, .nav a[href^="https://chiffredepaie.fr"] { color: var(--paie); background: var(--paie-soft); box-shadow: inset 0 0 0 2px var(--paie); margin-left: 4px; }
.nav a.paie-l:hover, .nav a[href^="https://chiffredepaie.fr"]:hover { background: var(--paie); color: var(--on-paie, #fff); }
/* À la une : entouré en rose, la couleur du logo (14/11/2026) */
.nav a.une-l { color: var(--une); background: var(--une-soft); box-shadow: inset 0 0 0 2px var(--une); margin-left: 4px; }
.nav a.une-l:hover, .nav a.une-l[aria-current="page"] { background: var(--une); color: var(--on-une); }
.nav a .ico { display: none; }
/* Sport : petit menu « Actualité du sport / Scores et classements » (14/11/2026) */
.hd .wrap { position: relative; }
.nav .car { width: 10px; height: 6px; margin-left: 1px; transition: transform .15s; }
.nav a.nav-dd[aria-expanded="true"] { color: var(--ink); background: var(--surface-2); }
.nav a.nav-dd[aria-expanded="true"] .car { transform: rotate(180deg); }
.dd { position: absolute; z-index: 45; min-width: 240px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: grid; gap: 2px; }
.dd[hidden] { display: none; }
.dd a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.dd a:hover, .dd a:focus-visible { background: var(--surface); }
.dd a[aria-current="page"] { background: var(--surface-2); }
.dd .dot { width: 8px; height: 8px; border-radius: 50%; margin-inline: 4px; }
.dd .dd-ic { width: 16px; height: 16px; color: var(--r-sport); }
/* Newsletter : fenêtre d'inscription (14/11/2026) */
.nl-pop { border: 0; padding: 0; background: transparent; width: min(460px, calc(100% - 32px)); max-height: calc(100% - 32px); color: var(--ink); }
.nl-pop::backdrop { background: var(--scrim); }
.nl-pop-in { background: var(--bg); border-radius: 20px; padding: 22px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.nl-pop-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.nl-pop h2 { font-family: var(--f-disp); font-weight: 900; font-stretch: 90%; font-size: 26px; line-height: 1.1; }
.nl-pop p { color: var(--muted); font-size: 15px; }
.nl-pop form { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-pop input[type="email"] { flex: 1 1 200px; min-width: 0; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 0 18px; font: inherit; }
.nl-pop .btn { height: 46px; }

/* ---------- Couleurs de thème ---------- */
[data-r="sport"] { --r: var(--r-sport); } [data-r="politique"] { --r: var(--r-politique); } [data-r="economie"] { --r: var(--r-economie); }
[data-r="monde"] { --r: var(--r-monde); } [data-r="histoire"] { --r: var(--r-histoire); } [data-r="actualite"] { --r: var(--r-actualite); }
.rb[data-r] { background: var(--r); }
.kick { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--r, var(--muted)); }
.kick::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.kick time { color: var(--muted); font-weight: 600; letter-spacing: 0; text-transform: none; }
.kick time::before { content: "· "; }

/* ---------- Accueil : phrase d'accueil ---------- */
.hello { text-align: center; padding-block: 18px 16px; }
.hello h1 { font-family: var(--f-disp); font-weight: 900; font-stretch: 90%; font-size: clamp(24px, 6.2vw, 38px); line-height: 1.08; letter-spacing: -.02em; }
.hello h1 span { background: linear-gradient(transparent 58%, color-mix(in srgb, var(--yellow) 85%, transparent) 58%, color-mix(in srgb, var(--yellow) 85%, transparent) 92%, transparent 92%); padding: 0 .08em; }
.hello p { color: var(--muted); font-size: 15px; margin: 8px auto 0; max-width: 52ch; }

/* ---------- Frise ---------- */
.frise { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); background: var(--surface); }
.frise .wrap { display: flex; align-items: stretch; gap: 12px; padding-block: 12px; }
.fr-lab { flex: none; display: none; flex-direction: column; justify-content: center; gap: 2px; padding-right: 14px; border-right: 1px solid var(--line); }
.fr-lab b { font-family: var(--f-disp); font-weight: 900; font-size: 18px; }
.fr-lab span { font-size: 12px; color: var(--muted); }
.fr-lab a { font-size: 12.5px; font-weight: 600; color: var(--blue-ink); margin-top: 4px; }
.fr-zone { position: relative; flex: 1; min-width: 0; }
.fr-track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px; }
.fr-track::-webkit-scrollbar { display: none; }
.fr-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); display: none; place-items: center; z-index: 2; font-size: 20px; }
.fr-arrow.l { left: -6px; } .fr-arrow.r { right: -6px; }
.chip { flex: none; scroll-snap-align: center; width: 76px; min-height: 70px; padding: 8px 6px 7px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 2px; text-align: center; transition: transform .15s ease, border-color .15s ease; }
a.chip:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--blue-ink) 50%, var(--line)); }
.chip .d { font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.chip .n { font-family: var(--f-disp); font-weight: 900; font-stretch: 85%; font-size: 17px; line-height: 1.05; letter-spacing: -.02em; overflow-wrap: anywhere; }
.chip .rb { width: 18px; height: 3px; border-radius: 3px; }
.chip.sel { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.chip.sel .d { color: color-mix(in srgb, var(--on-blue) 80%, transparent); }
.chip.sel .rb { background: var(--on-blue) !important; }
.chip.wait { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.chip.wait .d { color: var(--on-yellow); }
.chip.wait .n { font-size: 14px; }
.chip.fut { background: transparent; border: 1.5px dashed color-mix(in srgb, var(--muted) 45%, transparent); }
.chip.fut .n { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.chip.arch { background: var(--surface-2); border-color: transparent; justify-content: center; gap: 4px; }
.chip.arch .n { font-size: 13px; font-family: var(--f-text); font-weight: 700; font-stretch: 100%; letter-spacing: 0; }

/* ---------- Carte bleue du chiffre du jour ---------- */
.hero2 { display: grid; gap: 16px; padding-block: 20px 4px; }
.hero2 > * { min-width: 0; }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; font-size: 13px; font-weight: 600; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.tag-y { background: var(--yellow); color: var(--on-yellow); }
.tag-live { color: var(--live); padding-left: 0; }
.tag-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.cdj { background: var(--blue); color: var(--on-blue); border-radius: 20px; padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 16px 18px; position: relative; overflow: hidden; isolation: isolate; }
.cdj::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--pink) 45%, transparent), transparent); z-index: -1; }
.cdj .eyebrow time { color: color-mix(in srgb, var(--on-blue) 80%, transparent); }
.cdj-num { white-space: nowrap; overflow: hidden; font-family: var(--f-disp); font-weight: 900; font-stretch: 92%; font-size: 64px; line-height: .95; letter-spacing: -.035em; margin-top: 14px; font-variant-numeric: tabular-nums; }
.cdj-leg { grid-column: 1 / -1; font-size: 16px; line-height: 1.45; color: color-mix(in srgb, var(--on-blue) 92%, transparent); max-width: 46ch; }
.cdj-act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.cdj-next { grid-column: 1 / -1; font-size: 13px; color: color-mix(in srgb, var(--on-blue) 80%, transparent); padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--on-blue) 22%, transparent); }
.cdj-next b { color: var(--yellow); white-space: nowrap; }
.cdj > .cover { grid-column: 2; grid-row: 1; }
.cover { position: relative; align-self: start; aspect-ratio: 9 / 16; width: 100%; max-width: 100%; border-radius: 12px; overflow: hidden; background: var(--blue-deep); box-shadow: 0 10px 30px rgba(0, 0, 0, .28); display: block; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: auto 8px 8px auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .94); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); transition: transform .15s ease; }
.cover:hover .play { transform: scale(1.08); }
.play svg { width: 14px; height: 14px; margin-left: 2px; fill: #0d0f22; }
.dur { position: absolute; left: 6px; bottom: 6px; font-size: 11px; font-weight: 700; background: rgba(0, 0, 0, .6); color: #fff; padding: 2px 6px; border-radius: 5px; }

/* « Les jours précédents » */
.last { background: color-mix(in srgb, var(--blue) 5%, var(--bg)); border: 1px solid color-mix(in srgb, var(--blue) 14%, var(--line)); border-radius: var(--radius); padding: 4px 16px 14px; }
.last-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0 6px; }
.last-h h2 { font-family: var(--f-disp); font-weight: 900; font-stretch: 90%; font-size: 18px; }
.lrow { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid color-mix(in srgb, var(--blue) 12%, var(--line)); width: 100%; text-align: left; }
.lrow .n { font-family: var(--f-disp); font-weight: 900; font-stretch: 85%; font-size: 20px; line-height: 1.05; color: var(--r); text-align: right; overflow-wrap: anywhere; }
.lrow > span:last-child { min-width: 0; }
.lrow small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.lrow b { font-size: 14.5px; font-weight: 600; line-height: 1.3; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow:hover b { text-decoration: underline; }

/* ---------- Sections, cartes d'articles ---------- */
.links-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sec-h { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 12px; }
.sec-t { font-family: var(--f-disp); font-weight: 900; font-stretch: 90%; font-size: 22px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.une-w { padding-top: 26px; }
.une-g { display: grid; gap: 14px; }
.une-g > * { min-width: 0; }
.lead { display: grid; gap: 12px; align-content: start; }
.media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 9; max-width: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lead:hover .media img, .card:hover .media img { transform: scale(1.03); }
.badge { position: absolute; left: 12px; bottom: 12px; background: var(--yellow); color: var(--on-yellow); font-family: var(--f-disp); font-weight: 900; font-stretch: 92%; font-size: 26px; line-height: 1; padding: 7px 11px 6px; border-radius: 8px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.credit { position: absolute; right: 8px; bottom: 6px; max-width: 55%; font-size: 9.5px; line-height: 1.25; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); text-align: right; opacity: .85; }
.lead h2 { font-family: var(--f-disp); font-weight: 800; font-stretch: 88%; font-size: clamp(25px, 6.4vw, 36px); line-height: 1.06; letter-spacing: -.015em; }
.lead p { color: var(--muted); font-size: 16px; max-width: 62ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lead:hover h2, .card:hover h3, .row:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.subs { display: grid; margin-top: 14px; border-top: 1px solid var(--line); }
.card { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); align-items: start; }
.card .media { aspect-ratio: 4 / 3; border-radius: 10px; order: 2; }
.card .media .badge { left: 6px; bottom: 6px; font-size: 15px; padding: 4px 6px 3px; border-radius: 5px; }
.card h3 { font-size: 16.5px; font-weight: 700; line-height: 1.3; margin-top: 4px; }
.acards { display: grid; gap: 18px; }
.acard { display: grid; gap: 10px; align-content: start; grid-template-columns: 1fr; border: 0; padding: 0; }
.acard .media { order: 0; aspect-ratio: 3 / 2; }
.acard h3 { font-size: 17px; line-height: 1.3; }
.acard p { font-size: 14px; color: var(--muted); }

/* ---------- Bandeau Chiffre de Paie (style inline dans src/bandeau-paie.html) ---------- */
.cdp-band { padding: 18px 0 4px !important; }
.cdp-encart { color: #0d0f22; }
.cdp-encart a { color: #0e8a4a !important; }

/* ---------- Fil « l'essentiel en chiffres » et colonne ---------- */
.main { display: grid; gap: 28px; padding-block: 28px; }
.main > *, .rgrid > *, .debrief > *, .db-cards > *, .db > *, .split > * { min-width: 0; }
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: 4px; padding-bottom: 2px; }
.filters::-webkit-scrollbar { display: none; }
.filters button, .filters a { flex: none; min-height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.filters .rb { width: 8px; height: 8px; border-radius: 50%; }
.filters [aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.day { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 18px 0 6px; border-bottom: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; align-items: start; }
.row .n { font-family: var(--f-disp); font-weight: 900; font-stretch: 85%; font-size: 24px; line-height: 1.05; letter-spacing: -.02em; color: var(--r); text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.row > div { min-width: 0; }
.row h3 { font-size: 16px; font-weight: 700; line-height: 1.32; margin-top: 3px; }
.row p { font-size: 14px; color: var(--muted); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#fil .row p { -webkit-line-clamp: 1; }
.row.compact { grid-template-columns: 74px minmax(0, 1fr); }
.row.compact .n { font-size: 19px; }
.row.compact h3 { font-size: 15px; }
.row.compact p { display: none; }
.side { display: grid; gap: 16px; align-content: start; }
.side > * { min-width: 0; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--bg); }
.box-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.box-h h2 { font-family: var(--f-disp); font-weight: 900; font-stretch: 90%; font-size: 18px; }
.tabs { display: flex; gap: 3px; background: var(--surface); padding: 4px; border-radius: 10px; margin-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: 1 0 auto; min-height: 32px; padding: 0 8px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(13, 15, 34, .12); }
.comp { font-size: 12px; font-weight: 700; color: var(--muted); margin: 12px 0 4px; display: flex; justify-content: space-between; gap: 8px; }
.comp span { font-weight: 500; text-align: right; }
.match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.match:last-child { border-bottom: 0; }
.match .h { text-align: right; } .match .w { font-weight: 700; }
.match .s { font-family: var(--f-disp); font-weight: 800; font-variant-numeric: tabular-nums; background: var(--surface); border-radius: 6px; padding: 2px 8px; font-size: 14px; min-width: 60px; text-align: center; }
.match .s.next { font-family: var(--f-text); font-weight: 600; font-size: 12px; color: var(--muted); }
.rep-l { display: grid; }
.rep-l a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rep-l a:last-child { border-bottom: 0; }
.rep-l b { font-family: var(--f-disp); font-weight: 900; font-size: 17px; color: var(--blue-ink); white-space: nowrap; }
.rep-l a:hover span { text-decoration: underline; }
.ce { display: grid; gap: 6px; }
.ce .n { font-family: var(--f-disp); font-weight: 900; font-size: 34px; line-height: 1; color: var(--r-histoire); }
.ce h3 { font-size: 15px; font-weight: 700; line-height: 1.35; }

/* ---------- Vidéos et Débrief ---------- */
.band { padding-block: 28px; border-top: 1px solid var(--line); }
.band-h p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.socials { display: flex; flex-wrap: wrap; gap: 6px; }
.socials a { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.socials a:hover { background: var(--surface); }
.socials svg { width: 15px; height: 15px; }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.vcard { flex: none; width: 150px; scroll-snap-align: start; text-align: left; }
.vcard .cover { box-shadow: none; }
.vcard .t { display: -webkit-box; font-size: 13.5px; font-weight: 600; line-height: 1.3; margin-top: 8px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcard .dt { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.debrief { margin-top: 22px; border-radius: 20px; background: var(--ink); color: var(--bg); padding: 22px; display: grid; gap: 18px; }
.debrief h2 { font-family: var(--f-disp); font-weight: 900; font-stretch: 88%; font-size: clamp(28px, 7vw, 40px); line-height: 1; letter-spacing: -.02em; margin-top: 14px; }
.debrief h2 i { font-style: normal; color: var(--yellow); }
.debrief p { color: color-mix(in srgb, var(--bg) 75%, transparent); font-size: 15px; max-width: 54ch; margin-top: 10px; }
.db-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.db { aspect-ratio: 9 / 13; max-width: 100%; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; background: color-mix(in srgb, var(--bg) 9%, transparent); border: 1px solid color-mix(in srgb, var(--bg) 16%, transparent); }
.db .tag { align-self: start; background: var(--bg); color: var(--ink); }
.db .wave { display: flex; align-items: end; gap: 3px; height: 34px; }
.db .wave span { flex: 1; border-radius: 2px; background: color-mix(in srgb, var(--bg) 55%, transparent); }
.db b { font-size: 14px; line-height: 1.3; }
.db small { font-size: 12px; color: color-mix(in srgb, var(--bg) 65%, transparent); display: block; margin-top: 4px; }

/* ---------- Par thème ---------- */
.rgrid { display: grid; gap: 24px; }
.rcol-h { font-family: var(--f-disp); font-weight: 900; font-stretch: 90%; font-size: 20px; display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 3px solid var(--r); color: var(--r); }
.rcol-h a { font-family: var(--f-text); font-size: 13px; font-weight: 600; }
.rcol .lead { margin-top: 12px; }
.rcol .lead h2 { font-size: 21px; }
.rcol .lead .badge { font-size: 20px; }

/* ---------- Bloc méthode ---------- */
.trust { background: var(--surface); border-top: 1px solid var(--line); }
.trust .wrap { padding-block: 32px; display: grid; gap: 18px; }
.trust h2 { font-family: var(--f-disp); font-weight: 900; font-stretch: 88%; font-size: clamp(28px, 6vw, 40px); line-height: 1.05; letter-spacing: -.02em; }
.trust .lede { color: var(--muted); font-size: 17px; margin-top: 8px; max-width: 52ch; }
.pts { display: grid; gap: 12px; }
.pt { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 6px; }
.pt .ico { width: 26px; height: 26px; color: var(--blue-ink); }
.pt h3 { font-size: 16px; }
.pt p { font-size: 14.5px; color: var(--muted); }

/* ---------- Newsletter et pied de page ---------- */
.nl { padding-block: 32px; display: grid; gap: 14px; }
.nl h2 { font-family: var(--f-disp); font-weight: 900; font-stretch: 90%; font-size: 26px; }
.nl p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.nl form { display: flex; gap: 8px; flex-wrap: wrap; }
.nl input[type="email"] { flex: 1 1 220px; min-width: 0; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 0 18px; font: inherit; }
.nl .btn { height: 46px; }
.nl-rgpd { font-size: 12.5px; color: var(--muted); line-height: 1.45; flex-basis: 100%; }
.nl-rgpd a { text-decoration: underline; }
.nl-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ft { background: var(--surface); border-top: 1px solid var(--line); padding-block: 28px 36px; font-size: 14px; }
.ft .wrap { display: grid; gap: 16px; }
.ft nav { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-weight: 500; }
.ft nav a:hover { color: var(--ink); }
.ft nav a[href^="https://chiffredepaie.fr"] { color: var(--paie); font-weight: 600; }
.ft nav span[data-pub] { display: contents; }
.ft small { color: var(--muted); font-size: 12.5px; }
.soc-t { font-size: 13px; font-weight: 700; color: var(--muted); }

/* ---------- Pages intérieures ---------- */
.ph { padding-block: 26px 18px; border-bottom: 1px solid var(--line); }
.crumb, .breadcrumb { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumb a, .breadcrumb a { color: var(--blue-ink); font-weight: 600; }
.ph h1 { font-family: var(--f-disp); font-weight: 900; font-stretch: 88%; font-size: clamp(32px, 8vw, 52px); line-height: 1.02; letter-spacing: -.025em; margin-top: 12px; }
.ph .lede { font-size: 17px; color: var(--muted); margin-top: 10px; max-width: 60ch; }
.ph.rub { border-top: 6px solid var(--r); }
.ph .sticker { display: inline-block; margin-top: 12px; background: var(--yellow); color: var(--on-yellow); font-family: var(--f-disp); font-weight: 900; letter-spacing: .02em; padding: 6px 12px; border-radius: 6px; font-size: 15px; }
.ph .tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.pg { padding-block: 22px 40px; display: grid; gap: 30px; }
.pg > section { min-width: 0; }
.empty { color: var(--muted); padding: 14px 0; }
.split { display: grid; gap: 28px; }
.prose p { font-size: 16.5px; line-height: 1.7; margin-top: 14px; max-width: 68ch; }
.prose h2 { font-family: var(--f-disp); font-weight: 900; font-size: 24px; margin-top: 30px; }
.prose a { color: var(--blue-ink); text-decoration: underline; }
.src-note { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.maj { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; line-height: 1.45; }
.maj details summary { cursor: pointer; color: var(--blue-ink); font-weight: 600; }

/* Pages thèmes : petit bandeau du chiffre du jour */
.mini-bar { padding-block: 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.mini-bar .wrap { display: flex; align-items: center; gap: 12px; }
.mini-lab { flex: none; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.25; }
.mini-lab a { display: block; color: var(--blue-ink); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 12.5px; margin-top: 2px; }
.mini-rail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.mini-rail::-webkit-scrollbar { display: none; }

/* ---------- Vignettes carrées (photo teintée) ---------- */
.vg[data-r="sport"] { --v: #0a8f57; } .vg[data-r="politique"] { --v: #6d35d6; } .vg[data-r="economie"] { --v: #1f3dff; }
.vg[data-r="monde"] { --v: #0a7898; } .vg[data-r="histoire"] { --v: #b0640a; } .vg[data-r="actualite"] { --v: #d61f55; }
.vg { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: 16px; overflow: hidden; background: var(--v, #1f3dff); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 9%; container-type: inline-size; isolation: isolate; transition: transform .2s ease, box-shadow .2s ease; }
a.vg:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(13, 15, 34, .18); }
.vg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .24), transparent 58%); }
.vg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.vg.ph::before { background: linear-gradient(180deg, color-mix(in srgb, var(--v) 30%, transparent) 0%, color-mix(in srgb, var(--v) 60%, transparent) 40%, color-mix(in srgb, var(--v) 94%, transparent) 78%); }
.vg-d { position: absolute; top: 8%; left: 8%; font-size: max(9.5px, 8cqi); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: rgba(255, 255, 255, .95); color: #0d0f22; padding: .3em .55em; border-radius: 6px; line-height: 1.1; }
.vg-dot { position: absolute; top: 9.5%; right: 9%; width: 7cqi; height: 7cqi; border-radius: 50%; background: #ffd60a; }
.vg-n { font-family: var(--f-disp); font-weight: 900; font-stretch: 85%; font-size: 25cqi; line-height: .95; letter-spacing: -.03em; overflow-wrap: anywhere; }
.vg-l { font-size: max(11px, 8.6cqi); font-weight: 600; line-height: 1.2; margin-top: 4cqi; opacity: .95; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vg.fut { background: transparent; border: 2px dashed color-mix(in srgb, var(--muted) 40%, transparent); color: color-mix(in srgb, var(--muted) 60%, transparent); justify-content: center; align-items: center; text-align: center; }
.vg.fut::before, .vg.wait::before { display: none; }
.vg.fut .vg-d { background: var(--surface-2); color: var(--muted); }
.vg.fut .vg-n, .vg.wait .vg-n { font-size: 30cqi; }
.vg.wait { background: var(--yellow); color: var(--on-yellow); justify-content: center; align-items: center; text-align: center; }
.vg.wait .vg-d { background: var(--on-yellow); color: var(--yellow); }
.vg.sm { width: 92px; flex: none; border-radius: 12px; padding: 8px; }
.vg.sm .vg-n { font-size: 18px !important; }
.vg.sm .vg-d { font-size: 8.5px; top: 7px; left: 7px; padding: .3em .45em; }
.vg.sm .vg-dot { display: none; }
.month-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin-bottom: 12px; }
.month-h p { font-size: 14px; color: var(--muted); }
.month-h p b { color: var(--ink); }
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

/* ---------- Scores : un même gabarit par compétition ---------- */
.sp-nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hd, 100px)); z-index: 20; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-block: 10px; border-bottom: 1px solid var(--line); }
.retenir { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.retenir h2 { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--bg); padding: 8px 14px; }
.retenir ul { list-style: none; margin: 0; padding: 0; }
.retenir li { padding: 12px 14px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; }
.retenir li:first-child { border-top: 0; }
.retenir span { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--r-sport); margin-right: 6px; }
.sport2 { scroll-margin-top: 170px; display: grid; gap: 14px; }
.sport-h { display: flex; align-items: center; gap: 10px; font-family: var(--f-disp); font-weight: 900; font-stretch: 90%; font-size: 26px; padding-bottom: 8px; border-bottom: 3px solid var(--r-sport); }
.sport-h span { font-size: 22px; }
.cmp2 { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cmp2-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.cmp2-h h3 { font-size: 17px; }
.cmp2-h p { font-size: 13px; color: var(--muted); }
.cmp2-b { display: grid; gap: 18px; padding: 14px 16px 16px; }
.cmp2-b > * { min-width: 0; }
.col-t { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cmp2-f { padding: 4px 16px 12px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.dayt { font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 10px; text-transform: uppercase; letter-spacing: .05em; }
.tblw { overflow-x: auto; margin-top: 6px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-size: 11.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 6px; border-bottom: 2px solid var(--ink); }
.tbl td { padding: 7px 6px; border-bottom: 1px solid var(--line); }
.tbl td:first-child { width: 28px; color: var(--muted); font-weight: 700; }
.tbl td.num, .tbl th.num { text-align: right; white-space: nowrap; }
.tbl tr.hl td { background: color-mix(in srgb, var(--yellow) 22%, transparent); }
.tbl tr.more-row { display: none; }
.tbl.all tr.more-row { display: table-row; }
.cmp-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cmp-foot .btn { min-height: 34px; font-size: 13px; padding: 0 12px; }
.pn { margin-top: 6px; }
.pn summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--blue-ink); padding: 6px 0; }

/* ---------- Fiche ---------- */
.art { padding-block: 22px 60px; }
.art h1 { font-family: var(--f-disp); font-weight: 800; font-stretch: 88%; font-size: clamp(30px, 7.4vw, 46px); line-height: 1.04; letter-spacing: -.02em; margin-top: 12px; }
.art .meta { font-size: 13px; color: var(--muted); margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.art .meta b { color: var(--win); font-weight: 600; }
.art .maj-note { margin-top: 12px; font-size: 14px; background: color-mix(in srgb, var(--yellow) 25%, transparent); border-radius: 10px; padding: 10px 12px; }
.maj-note a, .art .note a, .art .sign a, .art .body a { color: var(--blue-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.art .media { margin-top: 20px; }
.art .cap { color: var(--muted); margin-top: 6px; font-size: 12px; }
.fact { margin-top: 22px; border-radius: 16px; background: var(--surface); padding: 18px 20px; display: grid; gap: 4px; }
.fact .num { font-family: var(--f-disp); font-weight: 900; font-size: clamp(44px, 12vw, 68px); line-height: 1; color: var(--blue-ink); font-stretch: 92%; letter-spacing: -.03em; overflow-wrap: anywhere; }
.fact p { font-size: 15.5px; color: var(--muted); }
.art .photo { margin: 22px 0 0; }
.art .photo img { border-radius: var(--radius); width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.art .photo figcaption { color: var(--muted); margin-top: 6px; font-size: 12px; }
.art .lede { font-size: 19px; line-height: 1.5; font-weight: 500; margin-top: 22px; }
.art .body p { font-size: 17.5px; line-height: 1.7; margin-top: 18px; max-width: 66ch; }
.art .body sup { font-size: 11px; font-weight: 700; margin-left: 1px; }
.art .body sup a { color: var(--blue-ink); text-decoration: none; }
.art .note { font-size: 14px; color: var(--muted); margin-top: 18px; }
.art .sign { font-size: 13.5px; color: var(--muted); margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); }
.share { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share .btn { min-height: 36px; font-size: 13px; }
.src { margin-top: 30px; border-top: 2px solid var(--ink); padding-top: 14px; }
.src h2 { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.src ol { margin: 10px 0 0; padding-left: 22px; font-size: 14px; color: var(--muted); display: grid; gap: 8px; }
.src a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.also { margin-top: 30px; }
.also h2 { font-family: var(--f-disp); font-weight: 900; font-size: 20px; margin-bottom: 10px; }
.also-g { display: grid; gap: 10px; }
.also-i { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.also-i .v { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; font-family: var(--f-disp); font-weight: 900; font-size: 15px; color: var(--blue-ink); text-align: center; }
.also-i .v img { width: 100%; height: 100%; object-fit: cover; }
.also-i b { display: block; font-family: var(--f-disp); font-weight: 900; color: var(--blue-ink); }
.also-i span { font-size: 14px; font-weight: 600; line-height: 1.3; }

/* ---------- Pages conservées (méthode, repères, archives, jeux, newsletter) ---------- */
.page-head { padding-block: 26px 18px; border-bottom: 1px solid var(--line); }
.page-head .title, .page-head h1 { font-family: var(--f-disp); font-weight: 900; font-stretch: 88%; font-size: clamp(32px, 8vw, 52px); line-height: 1.02; letter-spacing: -.025em; margin-top: 12px; }
.page-head .lede, .page-head .meta { font-size: 17px; color: var(--muted); margin-top: 10px; max-width: 60ch; }
.page-head .meta { font-size: 14px; }
.puce { display: none; }
.title { font-family: var(--f-disp); font-weight: 900; font-stretch: 90%; letter-spacing: -.02em; }
.lede { color: var(--muted); }
.section { padding-block: 28px; }
.section.gris { background: var(--surface); }
.rub-intro { font-size: 15.5px; line-height: 1.65; margin-top: 12px; max-width: 70ch; }
.article { padding-block: 10px 40px; }
.article:not(.art) > p { font-size: 16.5px; line-height: 1.7; margin-top: 14px; max-width: 68ch; }
.article:not(.art) a:not(.btn), .wrap.narrow:not(.art) > p a, .rep-faq a, .rep-src a { color: var(--blue-ink); }
.article h2.title { font-size: 24px !important; margin: 30px 0 8px !important; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.chiffre-geant { margin-top: 18px; border-radius: 16px; background: var(--surface); padding: 18px 20px; display: grid; gap: 4px; }
.chiffre-geant .n { font-family: var(--f-disp); font-weight: 900; font-size: clamp(44px, 12vw, 68px); line-height: 1; color: var(--blue-ink); font-stretch: 92%; letter-spacing: -.03em; }
.chiffre-geant .l { font-size: 15.5px; color: var(--muted); }
.ar-list { list-style: none; margin: 10px 0 0; padding: 0; }
.ar-list li a { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ar-list .ar-d { grid-column: 2; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ar-list .ar-r { grid-column: 2; font-size: 12px; font-weight: 700; color: var(--blue-ink); }
.ar-list .ar-n { grid-column: 1; grid-row: 1 / span 3; font-family: var(--f-disp); font-weight: 900; font-stretch: 85%; font-size: 19px; color: var(--blue-ink); text-align: right; align-self: start; overflow-wrap: anywhere; }
.ar-list .ar-t { grid-column: 2; font-weight: 700; font-size: 15px; line-height: 1.35; }
.ar-list .rep-leg { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.ar-list li a:hover .ar-t { text-decoration: underline; }
.archives { padding-block: 22px 40px; }
.chrono { margin-top: 26px; }
.chrono-h { font-family: var(--f-disp); font-weight: 900; font-size: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.chrono-h b { font-size: 15px; color: var(--muted); }
.chrono-h span { font-family: var(--f-text); font-weight: 500; font-size: 13px; color: var(--muted); }
.chrono-l { list-style: none; margin: 0; padding: 0; }
.chrono-l li a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.chrono-l li a:has(.ar-n) { grid-template-columns: 74px minmax(0, 1fr); column-gap: 14px; }
.chrono-l .cr-m, .chrono-l .ar-d { font-size: 12px; font-weight: 700; color: var(--muted); }
.chrono-l .cr-t, .chrono-l .ar-t { font-weight: 600; font-size: 15px; line-height: 1.35; }
.chrono-l .ar-n { grid-row: 1 / span 2; font-family: var(--f-disp); font-weight: 900; font-stretch: 85%; font-size: 18px; color: var(--blue-ink); text-align: right; }
.chrono-l .ar-r { font-size: 12px; color: var(--blue-ink); font-weight: 700; }
.chrono-l li a:hover .cr-t, .chrono-l li a:hover .ar-t { text-decoration: underline; }
.chrono-p summary { cursor: pointer; font-weight: 600; color: var(--blue-ink); padding: 10px 0; font-size: 14px; }
.filtres { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip-lien { min-height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.chip-lien:hover { background: var(--surface); color: var(--ink); }
.rep-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.rep-table th { text-align: left; font-weight: 500; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); }
.rep-table td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: right; }
.rep-table .rep-n { display: block; color: var(--muted); font-size: 12px; }
.rep-faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.rep-faq summary { cursor: pointer; font-weight: 700; }
.rep-faq p { margin-top: 8px; color: var(--muted); }
.rep-src { font-size: 14px; color: var(--muted); display: grid; gap: 6px; padding-left: 22px; }
.wrap.narrow ol { font-size: 14px; color: var(--muted); display: grid; gap: 6px; padding-left: 22px; }
.grid.cards { display: grid; gap: 12px; }
.tuile { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; align-content: start; background: var(--bg); }
.tuile h3 { font-size: 18px; }
.tuile p { color: var(--muted); font-size: 14.5px; }
.plus-loin { margin-top: 20px; text-align: center; }

/* Jeu « Plus ou moins » (src/game.js) */
.game { border: 1px solid var(--line); background: var(--surface); border-radius: 22px; padding: clamp(20px, 5vw, 36px); max-width: 680px; margin-inline: auto; }
.game .progress { font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 14px; font-variant-numeric: tabular-nums; }
.game .q { font-size: clamp(1.2rem, 3.4vw, 1.6rem); font-weight: 700; line-height: 1.3; margin: 0 0 20px; }
.game .choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.game .choices button { font-family: var(--f-disp); font-weight: 900; font-size: 1.3rem; padding: 22px 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); color: var(--blue-ink); transition: background .2s, color .2s, transform .2s; }
.game .choices button:hover:not(:disabled) { background: var(--blue); color: var(--on-blue); }
.game .choices button:disabled { opacity: .45; cursor: default; }
.game .reveal { margin-top: 20px; padding: 18px; border-radius: 16px; background: var(--bg); font-size: 1rem; }
.game .reveal.ok { box-shadow: inset 0 0 0 2px var(--win); }
.game .reveal.ko { box-shadow: inset 0 0 0 2px var(--ko); }
.game .reveal a { color: var(--blue-ink); text-decoration: underline; font-weight: 600; }
.game .reveal strong.big { display: block; font-family: var(--f-disp); font-size: 2.4rem; color: var(--blue-ink); line-height: 1.1; margin: 6px 0; }
.game .next { margin-top: 16px; }
.game .final { text-align: center; }
.game .final .score { font-family: var(--f-disp); font-size: clamp(3.5rem, 12vw, 5.5rem); font-weight: 900; color: var(--blue-ink); line-height: 1; margin: 8px 0 12px; }
.game .final ul { text-align: left; max-width: 480px; margin: 20px auto; }
.game .final li { padding: 6px 0; font-size: 15px; }

/* ---------- Fenêtre vidéo ---------- */
.vm { position: fixed; inset: 0; z-index: 90; background: var(--scrim); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.vm-in { background: var(--bg); border-radius: 20px; width: min(380px, 100%); max-height: 100%; overflow-y: auto; padding: 14px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.vm-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.vm-top b { font-size: 14px; }
.x { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 20px; line-height: 1; }
.vm .cover { max-height: 56vh; width: auto; margin-inline: auto; box-shadow: none; }
.vm .note { font-size: 13px; color: var(--muted); background: var(--surface); border-radius: 10px; padding: 10px 12px; margin: 0; }
.vm .socials { justify-content: center; }

/* ---------- Tablette et ordinateur ---------- */
@media (min-width: 720px) {
  .hd-date { display: block; }
  .hd-theme { margin-left: 0; }
  .fr-lab { display: flex; }
  .fr-arrow { display: grid; }
  .cdj { grid-template-columns: minmax(0, 1fr) 150px; padding: 26px; }
  .cdj-leg, .cdj-act, .cdj-next { grid-column: 1; }
  .cdj > .cover { grid-row: 1 / span 4; grid-column: 2; }
  .subs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; border-top: 0; }
  .card { grid-template-columns: 1fr; border-bottom: 0; padding-block: 0; }
  .card .media { order: 0; aspect-ratio: 3 / 2; }
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .debrief { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; padding: 30px; }
  .nl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .vcard { width: 168px; }
  .pts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .acards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .also-g { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wall { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .hello { padding-block: 26px 22px; }
  .cmp2-b { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
}
@media (min-width: 1000px) {
  /* le menu tient sur une ligne : il ne défile plus et « Le chiffre du jour » n'est plus coupé sous le logo */
  .nav { gap: 0; justify-content: space-between; }
  .nav a { padding: 7px 9px; font-size: 13.5px; }
  .main { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
  .side { position: sticky; top: calc(var(--hd, 100px) + 12px); }
  .rgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lead h2 { font-size: 38px; }
  .split { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
  .wall { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .hero2 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
  .une-g { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
  .subs.stack { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); margin-top: 0; }
  .subs.stack .card { grid-template-columns: minmax(0, 1fr) 128px; border-bottom: 1px solid var(--line); padding-block: 14px; }
  .subs.stack .card .media { order: 2; aspect-ratio: 4 / 3; }
}
@media (min-width: 1000px) and (max-width: 1279px) {
  .nav a { padding: 6px 7px; font-size: 13px; gap: 5px; }
  .nav a.une-l, .nav a.paie-l, .nav a[href^="https://chiffredepaie.fr"] { margin-left: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
