/* PronoScope — thème sombre « terrain de nuit » : vert pelouse + or. Polices du système (aucun téléchargement). */
:root {
  --bg: #07120d;
  --bg2: #0b1a13;
  --card: #0f2219;
  --card2: #13291f;
  --line: #1f3d2e;
  --text: #e9f5ee;
  --muted: #94b1a1;
  --green: #2ee87a;
  --green-d: #17a957;
  --gold: #f4c542;
  --gold-d: #c99a1c;
  --red: #ff6b5e;
  --blue: #7cc4ff;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--font); overflow-x: hidden; }
a { color: var(--green); }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.7rem, 4.6vw, 2.9rem); font-weight: 850; }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 800; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .8em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.page { padding-top: 28px; padding-bottom: 48px; }
.narrow { max-width: 560px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.lead { font-size: 1.08rem; color: #cfe4d7; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

/* ---------- en-tête ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(7, 18, 13, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 58px; padding-top: 6px; padding-bottom: 6px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand b, .foot-brand b { color: var(--green); font-weight: 900; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.nav a, .linkish { color: var(--muted); text-decoration: none; padding: 7px 10px; border-radius: 999px; font-size: .95rem; background: none; border: 0; font: inherit; cursor: pointer; }
.nav a:hover, .linkish:hover { color: var(--text); background: var(--card); }
.nav a[aria-current="page"] { color: var(--bg); background: var(--green); font-weight: 700; }
.lang select { background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font: inherit; font-size: .9rem; }
.warn { margin: 0; padding: 6px 16px; text-align: center; font-size: .8rem; color: #f8e3a6; background: linear-gradient(90deg, #1c1606, #2a200a, #1c1606); border-top: 1px solid #3b2e0c; }
.age { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 5px; border: 2px solid var(--red); border-radius: 999px; color: #fff; font-weight: 900; font-size: .72rem; margin-right: 4px; vertical-align: middle; }
.age.big { min-width: 40px; height: 30px; font-size: .9rem; margin-left: auto; }
@media (max-width: 640px) {
  .nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; }
  .nav a, .linkish { padding: 6px 8px; font-size: .9rem; }
  .lang { margin-left: auto; }
}

.demo-banner { background: repeating-linear-gradient(135deg, #3d0f2b 0 14px, #4a1335 14px 28px); color: #ffd6ec; text-align: center; font-weight: 800; padding: 8px 16px; font-size: .9rem; letter-spacing: .02em; border-bottom: 2px solid #ff7ac3; }
.lang-offer { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 8px 16px; background: #10283a; color: #d8eeff; font-size: .95rem; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 10px 20px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .08s, filter .15s; }
.btn:active { transform: translateY(1px); }
.btn.gold { background: linear-gradient(180deg, #ffd85e, var(--gold) 55%, var(--gold-d)); color: #1c1503; box-shadow: 0 6px 22px -10px rgba(244, 197, 66, .7); }
.btn.gold:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--text); border-color: #2f5a44; }
.btn.ghost:hover { border-color: var(--green); }
.btn.danger { background: transparent; color: var(--red); border-color: #6a2a25; }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: .88rem; border-radius: 10px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }

/* ---------- accueil ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 70% at 85% 10%, rgba(244, 197, 66, .16), transparent 60%),
    radial-gradient(ellipse 70% 80% at 10% 100%, rgba(46, 232, 122, .14), transparent 60%),
    repeating-linear-gradient(90deg, #0a1a12 0 70px, #0c1f15 70px 140px); }
.hero::after { content: ""; position: absolute; right: -120px; top: 50%; width: 320px; height: 320px; margin-top: -160px; border: 2px solid rgba(46, 232, 122, .18); border-radius: 50%; pointer-events: none; }
.hero-in { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 44px; max-width: 860px; margin-left: max(0px, calc((100% - 1120px) / 2)); }
.kicker { display: inline-block; color: var(--gold); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.hero h1 { max-width: 20ch; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.block { padding-top: 34px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tabs { display: inline-flex; gap: 4px; background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.tabs button { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 700; font-size: .9rem; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--green); color: #04130a; }
.tabs.wide { display: flex; margin-bottom: 14px; }
.tabs.wide button { flex: 1; }
.tabs.scroll { display: flex; flex-wrap: wrap; border-radius: 16px; margin-bottom: 16px; }

.record { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 14px 0; }
@media (max-width: 900px) { .record { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .record { grid-template-columns: repeat(2, 1fr); } }
.stat { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat .v { font: 800 1.6rem/1.1 var(--mono); font-variant-numeric: tabular-nums; color: var(--text); overflow-wrap: anywhere; }
.stat .l { font-size: .8rem; color: var(--muted); }
.stat.won .v, .stat.pos .v { color: var(--green); }
.stat.lost .v, .stat.neg .v { color: var(--red); }
.empty { padding: 22px; text-align: center; color: var(--muted); border: 1px dashed #2b4a3a; border-radius: var(--radius); background: var(--bg2); grid-column: 1 / -1; margin: 10px 0; font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 12px; }
@media (max-width: 400px) { .grid { grid-template-columns: 1fr; } }

/* ---------- carte pronostic ---------- */
.tip { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 12px; overflow: hidden; min-width: 0; }
.tip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--line); }
.tip.premium::before { background: var(--gold); }
.tip.res-won::before { background: var(--green); }
.tip.res-lost::before { background: var(--red); }
.tip-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.tip-head em { color: var(--blue); font-style: normal; }
.badges { display: inline-flex; gap: 5px; flex-wrap: wrap; }
.badge, .res { display: inline-block; font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; border: 1px solid transparent; }
.badge.free { color: var(--green); border-color: #245c3d; }
.badge.premium { color: #1c1503; background: var(--gold); }
.badge.example { color: #ffd6ec; background: #5a1640; border-color: #ff7ac3; }
.badge.lock { color: var(--muted); border-color: var(--line); }
.res-pending.res { color: var(--muted); border-color: var(--line); }
.res-won.res { background: var(--green); color: #04130a; }
.res-lost.res { background: var(--red); color: #2a0703; }
.res-void.res { background: #2a3d55; color: #cfe3ff; }
.sel { padding: 8px 0; border-top: 1px dashed #24412f; }
.sel:first-of-type { border-top: 0; }
.comp { font-size: .8rem; color: var(--muted); margin: 0 0 2px; }
.teams { font-weight: 800; font-size: 1.08rem; margin: 0 0 6px; overflow-wrap: anywhere; }
.vs { color: var(--muted); font-weight: 400; padding: 0 2px; }
.pick { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.mk { font-size: .78rem; color: var(--muted); background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }
.odds { font: 800 .95rem var(--mono); color: #1c1503; background: var(--gold); border-radius: 8px; padding: 2px 8px; font-variant-numeric: tabular-nums; }
.odds.big { font-size: 1.1rem; }
.combo { font-weight: 800; color: var(--gold); font-size: .85rem; margin: 0 0 4px; text-transform: uppercase; letter-spacing: .05em; }
.total, .total-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 8px; margin: 6px 0; font-weight: 700; }
.meters { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin: 8px 0; }
.stake, .conf { display: inline-flex; gap: 3px; vertical-align: middle; margin-left: 4px; }
.stake i, .conf i { width: 9px; height: 9px; border-radius: 2px; background: #22392d; display: inline-block; }
.stake i.on { background: var(--green); }
.conf i { border-radius: 50%; }
.conf i.on { background: var(--gold); }
.analysis { font-size: .92rem; color: #d3e6da; border-left: 2px solid #2f5a44; padding-left: 10px; margin: 6px 0 8px; }
.tip-foot { font-size: .74rem; color: var(--muted); margin: 0; }
.when { font-size: .85rem; color: var(--muted); margin: 0 0 8px; }

.tip.locked { min-height: 0; }
.lock-zone { position: relative; min-height: 190px; }
.blur { filter: blur(5px); opacity: .7; user-select: none; padding: 4px 0; }
.ph { height: 14px; border-radius: 6px; background: #3a5f4b; margin: 10px 0; }
.ph-xl { height: 22px; width: 85%; } .ph-l { width: 65%; } .ph-m { width: 40%; height: 18px; margin: 0; } .ph-s { width: 18%; height: 18px; margin: 0; }
.ph.gold { background: var(--gold-d); }
.ph-row { display: flex; gap: 10px; align-items: center; }
.lock-over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; background: rgba(9, 22, 15, .45); border-radius: 12px; padding: 12px; }
.lock-over span { font-size: .85rem; color: #cfe4d7; text-shadow: 0 1px 2px #000; }
.lock-over strong { text-shadow: 0 1px 3px #000; }
.lock-ico { width: 26px; height: 26px; }

.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 40px; }
@media (max-width: 800px) { .promises { grid-template-columns: 1fr; } }
.promise { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.promise .num { font: 900 1.6rem var(--mono); color: var(--gold); }

/* ---------- formulaires / cartes ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 14px 0; }
.form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; font-size: .88rem; color: var(--muted); min-width: 0; flex: 1; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; background: var(--bg); color: var(--text); border: 1px solid #2c4d3c; border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 16px; }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .btn:focus-visible, .method:focus-visible, .plan:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.phone-row, .row2, .row3 { display: flex; gap: 10px; flex-wrap: wrap; }
.phone-row .field:first-child { flex: 0 1 190px; }
.row2 > .field { flex: 1 1 200px; }
.row3 > .field { flex: 1 1 150px; }
.row3 > .grow2 { flex: 2 1 220px; }
.msg { min-height: 1.2em; margin: 0; color: var(--red); font-weight: 600; font-size: .92rem; }
.msg.ok { color: var(--green); }
.notice { background: #1b1707; border: 1px solid #3d3110; color: #f6e2a6; padding: 10px 14px; border-radius: 12px; font-size: .92rem; }
.selbox { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 0 0 10px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.selbox legend { color: var(--gold); font-weight: 800; padding: 0 6px; }

/* ---------- abonnement ---------- */
.status-line { font-weight: 800; font-size: 1.1rem; margin: 0 0 4px; }
.status-line.on { color: var(--green); }
.hist { padding-left: 18px; font-size: .9rem; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; text-align: left; display: flex; flex-direction: column; gap: 4px; background: var(--card); color: var(--text); border: 2px solid var(--line); border-radius: 16px; padding: 18px; font: inherit; cursor: pointer; }
.plan.featured { background: linear-gradient(180deg, #1a2a14, var(--card)); }
.plan.chosen { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(244, 197, 66, .12); }
.plan-name { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-size: .85rem; }
.plan-price { font: 900 1.7rem var(--mono); color: var(--gold); }
.plan-cta { margin-top: 6px; font-weight: 800; color: var(--green); font-size: .9rem; }
.checkout { margin-top: 26px; }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .methods { grid-template-columns: 1fr; } }
.method { display: flex; align-items: center; gap: 14px; text-align: left; background: var(--card); color: var(--text); border: 2px solid var(--line); border-radius: 16px; padding: 16px; font: inherit; cursor: pointer; min-height: 76px; }
.method.chosen { border-color: var(--green); background: #0f2a1c; }
.m-ico { font-size: 1.8rem; }
.m-txt { display: flex; flex-direction: column; gap: 2px; }
.cardmark { display: inline-block; font: 800 .7rem var(--font); letter-spacing: .06em; padding: 1px 6px; border-radius: 4px; background: #e9f0ff; color: #1a2a6c; }
.cardmark.mc { background: #fff1e6; color: #8a3b00; }
.pay-detail { margin-top: 14px; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.ops { border: 0; padding: 0; margin: 0; }
.ops legend { font-size: .88rem; color: var(--muted); margin-bottom: 6px; }
.op-list { display: flex; gap: 10px; flex-wrap: wrap; }
.op { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.op.chosen { border-color: var(--green); }
.op-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--muted); }
.op-mtn .op-dot { background: #ffcb05; } .op-orange .op-dot { background: #ff7900; } .op-airtel .op-dot { background: #e40000; } .op-moov .op-dot { background: #0066b3; } .op-muni .op-dot { background: #00a3a3; }
.summary h3 { margin-bottom: 4px; }
.sum-total { display: flex; justify-content: space-between; font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 10px; }
.sum-total strong { font-family: var(--mono); color: var(--gold); }
.demo-warn { background: repeating-linear-gradient(135deg, #3d0f2b 0 14px, #4a1335 14px 28px); color: #ffd6ec; font-weight: 800; padding: 12px; border-radius: 12px; border: 2px solid #ff7ac3; }

/* ---------- admin ---------- */
.res-card .res-sel { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; border-top: 1px dashed var(--line); padding: 8px 0; }
.res-sel p { margin: 0; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; flex-wrap: wrap; }
.seg-b { background: var(--bg2); color: var(--muted); border: 0; border-right: 1px solid var(--line); padding: 8px 10px; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; min-height: 38px; }
.seg-b:last-child { border-right: 0; }
.seg-b[aria-pressed="true"].r-won { background: var(--green); color: #04130a; }
.seg-b[aria-pressed="true"].r-lost { background: var(--red); color: #2a0703; }
.seg-b[aria-pressed="true"].r-void { background: #2a3d55; color: #cfe3ff; }
.seg-b[aria-pressed="true"].r-pending { background: #2b4a3a; color: var(--text); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.journal { padding-left: 20px; font-size: .9rem; }
.journal li { padding: 5px 0; border-bottom: 1px solid var(--line); }
.journal time { color: var(--muted); }
code { font-family: var(--mono); font-size: .82em; color: var(--muted); }

/* ---------- pages légales ---------- */
.legal { max-width: 780px; }
.legal h2 { margin-top: 1.4em; font-size: 1.15rem; }
.draft { background: #2a1606; border: 1px solid #6a3b0d; color: #ffd2a1; border-radius: 12px; padding: 10px 14px; font-weight: 700; }

/* ---------- bas de page ---------- */
#psFooter { border-top: 1px solid var(--line); background: var(--bg2); margin-top: 20px; }
.foot { padding-top: 24px; padding-bottom: 30px; font-size: .9rem; color: var(--muted); }
.foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--text); font-size: 1.1rem; margin-bottom: 10px; }
.foot-warn { color: #f6e2a6; font-weight: 700; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; margin: 10px 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
