/* L'Oracle — "En direct".
   Sombre premium (aucune étoile, aucun beige), accent corail, comptes à
   rebours vivants. Liste compacte (pas de pavé de cases). Léger pour le GPU. */

:root {
  --bg: #16140f;
  --bg-2: #1d1a14;
  --bg-3: #252118;
  --bone: #f4eee0;
  --text: #c7bfac;
  --muted: #8b8270;
  --line: #2b2820;
  --line-2: #423b2e;
  --accent: #ff5a3c;
  --accent-soft: rgba(255, 90, 60, 0.14);
  --win: #46d39a;
  --loss: #ff7a6e;
  --cat-crypto: #b79bff;
  --cat-meteo: #56c6f5;
  --cat-marches: #4bd6b0;
  --cat-sport: #ffa24b;
  --cat-economie: #ff8fc4;
  --display: "Fraunces", Georgia, serif;
  --ui: "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --maxw: 1100px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--ui); font-size: 17px; line-height: 1.6; font-optical-sizing: auto; overflow-x: hidden; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 110px; }
a { color: var(--accent); text-underline-offset: 2px; }

/* ---------- HERO ---------- */
.hero { padding: 84px 0 44px; border-bottom: 1px solid var(--line); }
.kicker { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 22px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,60,0.5); } 70% { box-shadow: 0 0 0 12px rgba(255,90,60,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,60,0); } }
.title { font-family: var(--display); font-weight: 900; font-size: clamp(66px, 15vw, 156px); line-height: 0.86; letter-spacing: -0.03em; margin: 0 0 24px; color: var(--bone); text-wrap: balance; }
.lede { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 2.5vw, 26px); line-height: 1.42; max-width: 28em; color: var(--text); margin: 0; text-wrap: pretty; }
.lede strong { color: var(--bone); font-weight: 600; }
.nextbox { display: inline-flex; flex-direction: column; gap: 2px; margin: 34px 0 0; padding: 16px 22px; border: 1px solid var(--line-2); border-left: 3px solid var(--accent); background: var(--bg-2); border-radius: 4px; }
.nextbox-lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.nextbox-time { font-family: var(--mono); font-weight: 600; font-size: clamp(26px, 4vw, 36px); color: var(--bone); letter-spacing: 0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.nextbox-sub { font-family: var(--ui); font-size: 13px; color: var(--muted); max-width: 30em; }
.updated { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin: 26px 0 0; }

/* ---------- PALMARÈS ---------- */
.band { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.stat { padding: 28px 14px 26px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-family: var(--mono); font-weight: 600; font-size: clamp(28px, 4.4vw, 46px); line-height: 1; color: var(--bone); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-num.accent { color: var(--accent); }
.stat-lbl { display: block; margin-top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- SECTIONS ---------- */
.section { padding: 66px 0 8px; }
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.section-no { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 600; }
.section-head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 5.5vw, 52px); margin: 0; letter-spacing: -0.02em; color: var(--bone); }
.section-intro { max-width: 46em; color: var(--text); margin: 22px 0 30px; text-wrap: pretty; }
.section-intro em { font-style: normal; font-weight: 600; color: var(--accent); }
.section-intro strong { color: var(--bone); font-weight: 600; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- CALIBRATION (épurée) ---------- */
.calib-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 30px; align-items: center; }
.calib-plot { max-width: 440px; }
.calib-plot svg { width: 100%; height: auto; display: block; }
.calib-legend { font-family: var(--mono); font-size: 12.5px; color: var(--text); line-height: 1.7; }
.calib-legend .lg-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dotted var(--line-2); }
.calib-legend .lg-row:first-child { color: var(--muted); }
.calib-legend .lg-row span:last-child { color: var(--accent); font-weight: 600; }
.calib-empty { font-family: var(--ui); font-size: 15.5px; color: var(--text); line-height: 1.55; }
.calib-empty b { color: var(--bone); font-weight: 600; }
.ce-lead { display: block; font-family: var(--display); font-weight: 600; font-size: 23px; color: var(--bone); line-height: 1.25; margin-bottom: 10px; }
.ce-cd { display: block; font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em; color: var(--accent); margin-bottom: 14px; }
.calib-wrap.is-empty { grid-template-columns: 300px minmax(0, 1fr); gap: 38px; align-items: center; }
.calib-wrap.is-empty .calib-plot { max-width: 300px; }

/* ---------- FILTRES ---------- */
.filters { display: flex; gap: 9px; margin-bottom: 22px; flex-wrap: wrap; }
.filter-btn { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; border-radius: 999px; transition: all 0.14s; }
.filter-btn:hover { color: var(--bone); border-color: var(--accent); }
.filter-btn[aria-pressed="true"] { background: var(--accent); color: #2a0d06; border-color: var(--accent); font-weight: 600; }

/* ---------- LISTE COMPACTE ---------- */
.pred-list { border-top: 1px solid var(--line); }
.prow-wrap { border-bottom: 1px solid var(--line); }
.prow { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 15px 8px; background: transparent; border: 0; cursor: pointer; text-align: left; color: inherit; transition: background 0.14s; }
.prow:hover { background: var(--bg-2); }
.prow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: 0 0 9px; }
.prow-main { min-width: 0; }
.prow-statement { display: block; font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--bone); line-height: 1.28; }
.prow-sub { display: block; margin-top: 3px; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.03em; }
.prow-sub .cd.soon { color: var(--accent); }
.prow-sub .ok { color: var(--win); }
.prow-sub .ko { color: var(--loss); }
.prow-prob { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.prow-pct { font-family: var(--mono); font-weight: 600; font-size: 18px; color: var(--accent); font-variant-numeric: tabular-nums; }
.prow-bar { width: 92px; height: 4px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.prow-fill { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 2px; transition: width 1s cubic-bezier(0.22, 1, 0.36, 1); }
.prow-chev { font-family: var(--mono); color: var(--muted); font-size: 20px; line-height: 1; width: 16px; text-align: center; transition: transform 0.2s ease; }
.prow-chev::before { content: "+"; }
.prow[aria-expanded="true"] .prow-chev { transform: rotate(45deg); color: var(--accent); }
.prow.win .prow-dot, .prow.win .prow-pct { color: var(--win); }
.prow.win .prow-dot { background: var(--win); }
.prow.win .prow-fill { background: var(--win); }
.prow.loss .prow-dot { background: var(--loss); }
.prow.loss .prow-pct { color: var(--loss); }
.prow.loss .prow-fill { background: var(--loss); }

.prow-detail { padding: 2px 30px 20px 33px; animation: fade 0.3s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.prow-detail .reasoning { font-family: var(--ui); font-size: 15px; line-height: 1.6; color: var(--text); border-left: 3px solid var(--accent); padding: 2px 0 2px 16px; margin: 0 0 14px; text-wrap: pretty; }
.prow-detail .meta { font-family: var(--mono); font-size: 12px; color: var(--text); line-height: 1.7; }
.prow-detail .meta .row { display: flex; gap: 8px; }
.prow-detail .meta .row .k { color: var(--muted); min-width: 86px; }
.prow-detail .lock { margin-top: 12px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); border-top: 1px dotted var(--line); padding-top: 11px; word-break: break-word; }
.prow-detail .lock b { color: var(--text); font-weight: 500; }
.prow-detail a { color: var(--accent); }
.empty-note { color: var(--muted); font-style: italic; padding: 18px 8px; }

/* ---------- MÉTHODE ---------- */
.method-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.method-card { background: var(--bg-2); padding: 26px; }
.method-card h3 { font-family: var(--display); font-weight: 600; font-size: 19px; margin: 0 0 10px; color: var(--bone); }
.method-card p { margin: 0; color: var(--text); font-size: 15px; }
.method-card strong { color: var(--accent); font-weight: 600; }

/* ---------- PIED ---------- */
.foot { margin-top: 76px; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); line-height: 1.8; }
.foot p { margin: 0 0 6px; }
.foot-fine { color: var(--text); }
.signature { margin-top: 14px; font-size: 13.5px; color: var(--text); }
.signature a { font-weight: 600; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .band { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(4), .stat:nth-child(5) { border-top: 1px solid var(--line); }
  .calib-wrap, .calib-wrap.is-empty { grid-template-columns: 1fr; gap: 22px; }
  .calib-plot, .calib-wrap.is-empty .calib-plot { max-width: 380px; margin: 0 auto; }
  .method-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .prow { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
  .prow-bar { display: none; }
  .prow-chev { display: none; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 18px 80px; }
  .band { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .hero { padding: 64px 0 38px; }
}

/* ---------- QUI AVAIT RAISON (prédictions publiques) ---------- */
.claim-list { border-top: 1px solid var(--line); }
.claim { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 8px; border-bottom: 1px solid var(--line); }
.claim-pill { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; white-space: nowrap; margin-top: 3px; }
.claim-pill.win { background: var(--win); color: #06281b; }
.claim-pill.loss { background: var(--loss); color: #2e0c08; }
.claim-body { min-width: 0; }
.claim-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.claim-author { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone); font-weight: 600; }
.claim-role { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.claim-text { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--bone); margin: 7px 0 8px; line-height: 1.3; text-wrap: pretty; }
.claim-real { font-family: var(--mono); font-size: 12px; color: var(--text); margin: 0; }
.claim-real a { color: var(--accent); }
@media (max-width: 480px) { .claim-text { font-size: 17px; } }
