/* ==========================================================================
   1xbetfrance.com — design "Arena" (couleurs inspirées de la charte 1xBet)
   Bleu 1xBet + vert inscription + jaune, typo Unbounded / Manrope.
   ========================================================================== */
:root {
  --blue: #1a5685;
  --blue-2: #2067a0;
  --blue-3: #3a8fd8;
  --sky: #8fc8ff;
  --navy: #0e2c4b;
  --ink: #07192c;
  --green: #84c341;
  --green-2: #9bd65a;
  --green-ink: #10240a;
  --yellow: #ffcc00;
  --red: #ff4d4d;
  --paper: #eef4fa;
  --paper-2: #e2ecf6;
  --text-dark: #0e2c4b;
  --muted-dark: #4f6a86;
  --line: rgba(255, 255, 255, .14);
  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px;
  --r: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.x { font-family: var(--body); color: #fff; background: var(--ink); line-height: 1.6; overflow-x: hidden; padding-bottom: 74px; -webkit-font-smoothing: antialiased; }
@media (min-width: 900px) { body.x { padding-bottom: 0; } }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.x-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .x-wrap { padding: 0 28px; } }

/* ---------- Typo ---------- */
.x-h1, .x-h2, .x-tile-name, .x-step-n, .x-logo span { font-family: var(--display); letter-spacing: -.02em; }
.x-h2 { font-size: clamp(1.7rem, 5.4vw, 3rem); font-weight: 800; line-height: 1.05; }
.x-dark { color: var(--text-dark); }
.x-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.x-eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: currentColor; }
.x-eyebrow-dark { color: var(--blue); }
.x-text { color: var(--muted-dark); font-size: 1.05rem; margin-top: 14px; max-width: 520px; }
.x-text b { color: var(--text-dark); }
.x-light { color: rgba(255, 255, 255, .78); }
.x-light b { color: #fff; }
.x-small { font-size: .88rem; }
.x-link { color: var(--blue); font-weight: 700; }
.x-link-light { color: var(--sky); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.x-note { margin-top: 18px; font-size: .78rem; color: rgba(255, 255, 255, .5); }
.x-head { margin-bottom: 28px; }
.x-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }

/* ---------- Boutons ---------- */
.x-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 26px; border-radius: 14px;
  font-weight: 800; font-size: 1rem; letter-spacing: .01em; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  -webkit-tap-highlight-color: transparent;
}
.x-btn:active { transform: scale(.97); }
.x-btn-green { background: var(--green); color: var(--green-ink); box-shadow: 0 10px 30px -8px rgba(132, 195, 65, .8), inset 0 -3px 0 rgba(0, 0, 0, .15); }
.x-btn-green:hover { background: var(--green-2); transform: translateY(-2px); }
.x-btn-glass { background: rgba(255, 255, 255, .12); border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(8px); }
.x-btn-glass:hover { background: rgba(255, 255, 255, .2); }
.x-btn-ghost-dark { border: 2px solid var(--paper-2); color: var(--text-dark); background: #fff; }
.x-btn-ghost-dark:hover { border-color: var(--blue); }
.x-btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; border-radius: 11px; }
.x-btn-block { width: 100%; }

/* ---------- Ticker actu ---------- */
.x-ticker { display: flex; align-items: center; height: 34px; background: var(--ink); border-bottom: 1px solid var(--line); font-size: .8rem; overflow: hidden; }
.x-ticker-live { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 100%; padding: 0 12px; background: var(--red); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; }
.x-ticker-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: x-blink 1.2s infinite; }
.x-ticker-viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.x-ticker-track { display: inline-flex; gap: 48px; white-space: nowrap; padding-left: 20px; animation: x-marquee 60s linear infinite; color: rgba(255, 255, 255, .8); }
.x-ticker-track a:hover { color: var(--yellow); }
.x-ticker-track b, .x-ticker-track em { color: var(--yellow); font-style: normal; font-weight: 700; }
.x-ticker:hover .x-ticker-track { animation-play-state: paused; }
@keyframes x-marquee { to { transform: translateX(-50%); } }
@keyframes x-blink { 50% { opacity: .2; } }

/* ---------- Header ---------- */
.x-header { position: sticky; top: 0; z-index: 50; background: var(--blue); box-shadow: 0 1px 0 rgba(255, 255, 255, .1); transition: background .3s, box-shadow .3s; }
.x-header.is-scrolled { background: rgba(14, 44, 75, .92); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.x-header-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.x-logo { display: inline-flex; align-items: center; gap: 9px; font-size: 1.05rem; font-weight: 800; }
.x-logo svg { width: 30px; height: 30px; }
.x-logo b { color: var(--yellow); font-weight: 800; }
.x-nav { display: none; gap: 4px; margin-left: auto; }
.x-nav a { padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: .92rem; color: rgba(255, 255, 255, .85); transition: background .2s, color .2s; }
.x-nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.x-header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.x-burger { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .12); display: grid; place-content: center; gap: 6px; }
.x-burger span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease); }
.nav-open .x-burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-open .x-burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
@media (max-width: 1019px) {
  .nav-open .x-nav { display: flex; flex-direction: column; position: fixed; inset: 98px 0 0; background: var(--navy); padding: 20px 16px; gap: 2px; z-index: 49; }
  .nav-open .x-nav a { font-family: var(--display); font-size: 1.5rem; padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (min-width: 1020px) {
  .x-nav { display: flex; }
  .x-header-cta { margin-left: 8px; }
  .x-burger { display: none; }
}

/* ---------- Hero ---------- */
.x-hero { position: relative; overflow: hidden; padding: 34px 0 40px; background: radial-gradient(1200px 600px at 85% -10%, var(--blue-3), transparent 60%), linear-gradient(180deg, var(--blue) 0%, var(--blue-2) 45%, var(--navy) 100%); }
.x-hero-sky { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(2px 2px at 12% 18%, rgba(255,255,255,.7), transparent),
  radial-gradient(1.5px 1.5px at 32% 8%, rgba(255,255,255,.5), transparent),
  radial-gradient(2px 2px at 58% 22%, rgba(255,255,255,.4), transparent),
  radial-gradient(1.5px 1.5px at 76% 12%, rgba(255,255,255,.6), transparent),
  radial-gradient(1.5px 1.5px at 92% 30%, rgba(255,255,255,.5), transparent); }
.x-hero-grid { position: relative; display: grid; gap: 22px; align-items: center; }
@media (min-width: 1020px) { .x-hero { padding: 56px 0 84px; } .x-hero-grid { grid-template-columns: 1fr 1.05fr; gap: 40px; } }
.x-kicker { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-size: .78rem; font-weight: 700; color: #e4f1ff; }
.x-h1 { margin: 16px 0 14px; font-weight: 900; line-height: .98; font-size: clamp(2.3rem, 10.5vw, 4.6rem); }
.x-h1-line { display: block; }
.x-h1-small { font-size: .5em; font-weight: 800; margin-top: 10px; color: #dbeeff; letter-spacing: -.01em; }
.x-h1-small b { color: var(--yellow); }
.x-rotator { display: block; position: relative; height: 1.08em; overflow: hidden; color: var(--green); }
.x-rotator > span { display: inline-block; white-space: nowrap; }
.x-lead { max-width: 520px; color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.x-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 479px) { .x-cta .x-btn { flex: 1 1 100%; } }
.x-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: .86rem; color: rgba(255, 255, 255, .75); }
.x-proof b { font-family: var(--display); color: #fff; margin-right: 4px; }

/* arène */
.arena-shell { position: relative; }
.arena { position: relative; aspect-ratio: 560 / 334; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #0f3a62, #0b2b4b 70%); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.arena-svg { width: 100%; height: 100%; }
.ar-picto { fill: none; stroke: #fff; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.ar-picto circle { fill: #fff; stroke: none; }
.ar-server ellipse { stroke-width: 4; }
.ar-picto .ar-jersey { stroke: var(--yellow); stroke-width: 17; }
.ar-picto .ar-jersey-g { stroke: var(--green); }
.ar-flash { fill: #fff; opacity: 0; animation: x-flash 3.2s infinite; }
.ar-flash:nth-child(3n) { animation-delay: -1.1s; animation-duration: 2.6s; }
.ar-flash:nth-child(3n+1) { animation-delay: -2.2s; animation-duration: 4.1s; }
.ar-flash:nth-child(4n) { animation-delay: -.5s; }
@keyframes x-flash { 0%, 92%, 100% { opacity: 0; } 94% { opacity: 1; } 96% { opacity: .3; } }
.ar-kick, .ar-keeper, .ar-ball, .ar-jumper, .ar-bball, .ar-racket, .ar-tball { transform-box: view-box; }
.ar-kick { transform-origin: 136px 268px; transform: rotate(-55deg); }
.ar-keeper { transform-origin: 488px 333px; }
.ar-racket { transform-origin: 127px 214px; transform: rotate(-70deg); }
.ar-beam { mix-blend-mode: screen; animation: x-beam 6s ease-in-out infinite alternate; transform-box: view-box; }
.ar-beam-l { transform-origin: 82px 24px; }
.ar-beam-r { transform-origin: 518px 24px; animation-delay: -3s; }
@keyframes x-beam { from { transform: rotate(-4deg); opacity: .7; } to { transform: rotate(4deg); opacity: 1; } }
.ar-crowd-wave { animation: x-dash 3s linear infinite; }
@keyframes x-dash { to { stroke-dashoffset: -44; } }
.arena-burst { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 7vw, 3.4rem); color: var(--yellow); text-shadow: 0 6px 0 rgba(0, 0, 0, .25), 0 0 40px rgba(255, 204, 0, .5); pointer-events: none; opacity: 0; white-space: nowrap; }
.arena-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.arena-confetti i { position: absolute; left: 50%; top: 30%; width: 8px; height: 12px; border-radius: 2px; }
.arena-tabs { position: absolute; top: 12px; left: 12px; display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(7, 25, 44, .55); backdrop-filter: blur(10px); }
.arena-tabs button { padding: 7px 11px; border-radius: 10px; font-size: .78rem; font-weight: 800; color: rgba(255, 255, 255, .75); transition: background .25s, color .25s; }
.arena-tabs button[aria-selected="true"] { background: #fff; color: var(--blue); }
.arena-slip { position: relative; z-index: 2; width: min(300px, 88%); margin: -26px auto 0; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .96); color: var(--text-dark); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .5); font-size: .72rem; }
.arena-slip-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: .74rem; margin-bottom: 6px; }
.arena-slip-tag { font-size: .6rem; padding: 2px 6px; border-radius: 6px; background: var(--paper-2); color: var(--muted-dark); }
.arena-slip ul { list-style: none; display: grid; gap: 4px; }
.arena-slip li { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 8px; background: var(--paper); transition: background .3s; }
.arena-slip li b { margin-left: auto; font-family: var(--display); font-size: .74rem; color: var(--blue); }
.arena-slip li i { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #b9cbe0; display: grid; place-items: center; font-style: normal; font-size: .55rem; color: #fff; }
.arena-slip li.won { background: #e5f6d6; }
.arena-slip li.won i { background: var(--green); border-color: var(--green); }
.arena-slip-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding-top: 6px; border-top: 1px dashed #c6d6e6; color: var(--muted-dark); }
.arena-slip-foot b { font-family: var(--display); color: #3d8a12; font-size: .86rem; }
@media (min-width: 1020px) { .arena-slip { position: absolute; right: -22px; bottom: -44px; width: 250px; margin: 0; transform: rotate(2deg); } }

/* ---------- Matchs ---------- */
.x-matches { padding: 54px 0 44px; background: var(--navy); }
.x-seg { display: inline-flex; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .08); }
.x-seg button { padding: 9px 16px; border-radius: 10px; font-weight: 800; font-size: .88rem; color: rgba(255, 255, 255, .7); }
.x-seg button[aria-selected="true"] { background: var(--yellow); color: var(--ink); }
.x-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, calc((100vw - var(--wrap)) / 2 + 28px)) 12px; scrollbar-width: none; }
.x-rail::-webkit-scrollbar { display: none; }
.x-match { flex: none; width: 272px; scroll-snap-align: start; border-radius: var(--r); padding: 16px; background: linear-gradient(160deg, #164a77, #10365b); border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 12px; position: relative; overflow: hidden; }
.x-match::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(143, 200, 255, .25), transparent); }
.x-match-top { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--sky); }
.x-match-when { color: rgba(255, 255, 255, .7); text-transform: none; letter-spacing: 0; font-weight: 700; }
.x-team { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: .98rem; }
.x-team img, .x-team .x-crest { width: 30px; height: 30px; object-fit: contain; flex: none; }
.x-crest { border-radius: 50%; background: rgba(255, 255, 255, .15); display: grid; place-items: center; font-size: .7rem; }
.x-team .x-score { margin-left: auto; font-family: var(--display); font-size: 1.2rem; }
.x-team.win .x-score { color: var(--yellow); }
.x-match-go { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 11px; background: rgba(255, 255, 255, .1); font-weight: 800; font-size: .88rem; transition: background .2s, color .2s; }
.x-match-go:hover { background: var(--green); color: var(--green-ink); }
.x-skel { min-height: 170px; }
.x-skel span { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.16), rgba(255,255,255,.06)); background-size: 200% 100%; animation: x-shimmer 1.4s infinite; }
.x-skel span:nth-child(2) { width: 70%; } .x-skel span:nth-child(3) { width: 45%; }
@keyframes x-shimmer { to { background-position: -200% 0; } }

/* ---------- Code / carte à gratter ---------- */
.x-code { padding: 64px 0; background: var(--paper); color: var(--text-dark); }
.x-code-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .x-code-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.x-scratch { display: grid; gap: 14px; }
.x-scratch-card { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; display: grid; place-content: center; text-align: center; gap: 6px; background: radial-gradient(400px 200px at 80% 0%, rgba(255, 204, 0, .35), transparent), linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; box-shadow: 0 30px 60px -25px rgba(14, 44, 75, .6); }
.x-scratch-card::before, .x-scratch-card::after { content: ""; position: absolute; top: 50%; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); transform: translateY(-50%); }
.x-scratch-card::before { left: -17px; } .x-scratch-card::after { right: -17px; }
.x-scratch-label { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.x-scratch-code { font-family: var(--display); font-weight: 900; font-size: clamp(1.7rem, 7vw, 2.6rem); color: var(--yellow); letter-spacing: .02em; padding: 4px 12px; border-radius: 12px; }
.x-scratch-code:hover { background: rgba(255, 255, 255, .08); }
.x-scratch-sub { font-weight: 700; color: rgba(255, 255, 255, .8); }
.x-scratch-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; z-index: 2; }
.x-scratch.done .x-scratch-canvas { pointer-events: none; }
.x-scratch-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.x-scratch-actions .x-btn { flex: 1 1 200px; }
.x-copied { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: var(--green); color: var(--green-ink); font-weight: 800; font-size: .8rem; z-index: 3; }

/* ---------- Calculateur ---------- */
.x-bonus { padding: 64px 0; background: radial-gradient(900px 500px at 0% 100%, rgba(58, 143, 216, .35), transparent 60%), var(--blue); }
.x-bonus-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .x-bonus-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.x-calc { display: grid; gap: 18px; padding: 22px; border-radius: 24px; background: #fff; color: var(--text-dark); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.x-field { display: grid; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--muted-dark); }
.x-field b { color: var(--text-dark); font-family: var(--display); }
.x-field select { height: 50px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--paper-2); background: var(--paper); font: inherit; font-weight: 800; color: var(--text-dark); }
.x-field input[type=range] { -webkit-appearance: none; appearance: none; height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--green) var(--p, 10%), var(--paper-2) var(--p, 10%)); }
.x-field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 6px solid var(--green); box-shadow: 0 4px 12px rgba(0, 0, 0, .2); cursor: grab; }
.x-field input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 6px solid var(--green); cursor: grab; }
.x-calc-bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; padding: 0 4px; border-bottom: 2px solid var(--paper-2); }
.x-bar { position: relative; flex: 1; border-radius: 12px 12px 4px 4px; min-height: 8px; transform-origin: bottom; }
.x-bar span { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: .72rem; font-weight: 800; }
.x-bar-dep { background: var(--paper-2); height: 33%; color: var(--muted-dark); }
.x-bar-bon { background: linear-gradient(180deg, var(--yellow), #ffb300); height: 66%; color: #4a3500; flex: 2; }
.x-calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.x-calc-out div { padding: 12px; border-radius: 14px; background: var(--paper); display: grid; }
.x-calc-out span { font-size: .78rem; font-weight: 700; color: var(--muted-dark); }
.x-calc-out b { font-family: var(--display); font-size: clamp(1.05rem, 4vw, 1.45rem); line-height: 1.2; }
.x-num-yellow { color: #c48a00; }
.x-calc-meta { font-size: .8rem; color: var(--muted-dark); }
.x-calc-link { justify-self: center; font-weight: 700; font-size: .88rem; color: var(--blue); }

/* ---------- Sports ---------- */
.x-sports { padding: 64px 0; background: var(--paper); }
.x-sport-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .x-sport-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.x-tile { position: relative; overflow: hidden; display: grid; align-content: end; gap: 2px; min-height: 190px; padding: 16px; border-radius: 22px; color: #fff; transition: box-shadow .3s; will-change: transform; transform-style: preserve-3d; }
@media (min-width: 900px) { .x-tile { min-height: 250px; padding: 22px; } }
.x-tile::before { content: ""; position: absolute; inset: auto -30% -50% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.x-tile-a { background: linear-gradient(150deg, #2a7bc0, #134a7a); }
.x-tile-b { background: linear-gradient(150deg, #1d5f97, #0e2c4b); }
.x-tile-c { background: linear-gradient(150deg, #3a8fd8, #1a5685); }
.x-tile-d { background: linear-gradient(150deg, #173f66, #07192c); }
.x-tile-e { background: linear-gradient(150deg, #2067a0, #0e2c4b); }
.x-tile-f { background: linear-gradient(150deg, #4a9be0, #1d5f97); }
.x-tile:hover { box-shadow: 0 30px 50px -20px rgba(14, 44, 75, .55); }
.x-tile .picto { position: absolute; top: 10px; right: 6px; width: 56%; max-width: 150px; fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.x-tile .picto circle:not([fill]) { fill: #fff; stroke: none; }
.x-tile:hover .picto { transform: translateY(-6px) rotate(-4deg) scale(1.06); }
.x-tile:hover .p-limb { animation: x-limb .5s var(--ease) infinite alternate; }
.x-tile:hover .p-ball { animation: x-bounce .5s var(--ease) infinite alternate; }
.x-tile:hover .p-drive { animation: x-drive .25s linear infinite alternate; }
.x-tile:hover .p-wiggle { animation: x-wiggle .3s ease-in-out infinite alternate; }
.p-limb, .p-ball, .p-drive, .p-wiggle { transform-box: fill-box; transform-origin: 0 0; }
.p-wiggle { transform-origin: center; }
@keyframes x-limb { to { transform: rotate(14deg); } }
@keyframes x-bounce { to { transform: translateY(-10px); } }
@keyframes x-drive { to { transform: translateX(4px); } }
@keyframes x-wiggle { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
.x-tile-name { position: relative; font-size: clamp(1.05rem, 3.6vw, 1.5rem); font-weight: 800; }
.x-tile-sub { position: relative; font-size: .8rem; color: rgba(255, 255, 255, .78); line-height: 1.35; }
.x-tile-go { position: relative; margin-top: 8px; justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--green); color: var(--green-ink); font-weight: 800; font-size: .8rem; }

/* ---------- Actu ---------- */
.x-news { padding: 64px 0; background: var(--ink); }
.x-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.x-chips button { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: .85rem; color: rgba(255, 255, 255, .8); transition: all .2s; }
.x-chips button[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--ink); }
.x-news-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .x-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .x-news-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.x-article { position: relative; display: grid; align-content: start; gap: 10px; padding: 18px; border-radius: var(--r); background: linear-gradient(170deg, #11314f, #0b2440); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .2s, transform .3s var(--ease); }
.x-article:hover { border-color: rgba(143, 200, 255, .5); transform: translateY(-3px); }
.x-article.is-lead { background: linear-gradient(160deg, var(--blue), #123f66); overflow: hidden; }
.x-article.is-lead::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 320px; height: 320px; opacity: .14; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%23fff' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='62' cy='22' r='8' fill='%23fff' stroke='none'/%3E%3Cpath d='M60 34 L54 66 M59 40 L44 50 L37 43 M59 40 L74 48 L84 43 M54 66 L50 86 L48 106 M54 66 L72 80 L88 92'/%3E%3Ccircle cx='99' cy='99' r='7' fill='%23fff' stroke='none'/%3E%3C/svg%3E") no-repeat center / contain; }
.x-article.is-lead > * { position: relative; z-index: 1; }
@media (min-width: 1020px) { .x-article.is-lead { grid-column: span 2; grid-row: span 2; padding: 26px; } .x-article.is-lead h3 { font-size: 1.7rem; } }
.x-article-meta { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; color: rgba(255, 255, 255, .6); }
.x-tag { padding: 3px 8px; border-radius: 6px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: rgba(255, 255, 255, .12); color: #fff; }
.x-tag[data-t="Afrique"] { background: var(--green); color: var(--green-ink); }
.x-tag[data-t="Mercato"] { background: var(--yellow); color: var(--ink); }
.x-tag[data-t="Foot"] { background: var(--blue-3); }
.x-article h3 { font-family: var(--body); font-weight: 800; font-size: 1.08rem; line-height: 1.3; }
.x-article p { font-size: .88rem; color: rgba(255, 255, 255, .65); }
.x-article-src { margin-top: auto; font-size: .78rem; font-weight: 700; color: var(--sky); }
.x-empty { padding: 24px; border-radius: var(--r); border: 1px dashed var(--line); color: rgba(255, 255, 255, .7); }

/* ---------- Étapes ---------- */
.x-steps { padding: 64px 0; background: #fff; color: var(--text-dark); }
.x-step-list { list-style: none; display: grid; gap: 14px; position: relative; }
@media (min-width: 900px) { .x-step-list { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.x-step-list li { position: relative; padding: 24px; border-radius: 22px; background: var(--paper); display: grid; gap: 8px; align-content: start; }
.x-step-n { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 1.5rem; font-weight: 900; margin-bottom: 6px; }
.x-step-list li:nth-child(2) .x-step-n { background: var(--green); color: var(--green-ink); }
.x-step-list li:nth-child(3) .x-step-n { background: var(--yellow); color: var(--ink); }
.x-step-list h3 { font-family: var(--display); font-size: 1.25rem; }
.x-step-list p { color: var(--muted-dark); }
.x-step-list a { color: var(--blue); font-weight: 800; font-size: .9rem; margin-top: 4px; }

/* ---------- FAQ ---------- */
.x-faq { padding: 64px 0; background: var(--navy); }
.x-faq-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .x-faq-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.x-faq-list { display: grid; gap: 10px; }
.x-qa { border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); overflow: hidden; }
.x-qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; font-weight: 800; }
.x-qa summary::-webkit-details-marker { display: none; }
.x-qa summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-weight: 900; transition: transform .3s var(--ease); }
.x-qa[open] summary::after { transform: rotate(45deg); }
.x-qa > div { padding: 0 18px 18px; color: rgba(255, 255, 255, .78); }
.x-qa a { color: var(--sky); text-decoration: underline; }

/* ---------- Footer ---------- */
.x-footer { padding: 52px 0 28px; background: var(--ink); font-size: .9rem; color: rgba(255, 255, 255, .7); }
.x-footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (min-width: 900px) { .x-footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.x-footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .x-footer-brand { grid-column: auto; } }
.x-footer-brand p { margin-top: 12px; max-width: 300px; }
.x-footer h3 { font-family: var(--display); font-size: .9rem; color: #fff; margin-bottom: 12px; }
.x-footer-grid > div:not(.x-footer-brand) { display: grid; align-content: start; gap: 8px; }
.x-footer a:hover { color: var(--yellow); }
.x-footer-legal { display: flex; gap: 14px; align-items: flex-start; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .78rem; line-height: 1.6; }
.x-footer-legal a { text-decoration: underline; }
.x-18 { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--red); display: grid; place-items: center; font-weight: 900; color: var(--red); }

/* ---------- Dock mobile ---------- */
.x-dock { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; display: flex; gap: 8px; padding: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom) * .5); border-radius: 20px; background: rgba(14, 44, 75, .94); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); border: 1px solid var(--line); }
.x-dock .x-btn { min-height: 48px; padding: 0 18px; }
.x-dock-code { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8px 0 14px; border-radius: 13px; border: 1.5px dashed rgba(255, 204, 0, .7); font-family: var(--display); font-weight: 800; color: var(--yellow); font-size: .9rem; }
.x-dock-code span { font-family: var(--body); font-size: .74rem; padding: 6px 9px; border-radius: 8px; background: var(--yellow); color: var(--ink); }
@media (min-width: 900px) { .x-dock { display: none; } }

/* ==========================================================================
   PAGES INTERNES (guides, pays, blog, pages piliers) — même univers "Arena"
   Hero bleu illustré + corps clair pour la lecture.
   ========================================================================== */
:root { --text: var(--text-dark); }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .container { padding: 0 28px; } }
.text-center { text-align: center; }
.gold { color: #b87f00; }
.hero .gold, .promo .gold, .cta-band .gold, .slip .gold { color: var(--yellow); }
.hl { color: var(--green); }
.nocase { text-transform: none; }

/* --- hero --- */
.hero { position: relative; overflow: hidden; padding: 30px 0 44px; color: #fff; background: radial-gradient(900px 500px at 90% -20%, var(--blue-3), transparent 60%), linear-gradient(180deg, var(--blue) 0%, var(--blue-2) 55%, var(--navy) 100%); }
.hero-grid { position: relative; display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 44px 0 64px; } .hero-grid { grid-template-columns: 1.4fr .8fr; gap: 40px; } .hero-grid-solo { grid-template-columns: 1fr; } .hero-grid-solo h1, .hero-grid-solo .hero-sub { max-width: 860px; } }
.hero h1 { font-family: var(--display); font-weight: 900; letter-spacing: -.02em; line-height: 1.04; font-size: clamp(1.9rem, 7.4vw, 3.5rem); margin: 14px 0 12px; }
.hero-sub { max-width: 640px; color: rgba(255, 255, 255, .86); font-size: 1.05rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: rgba(255, 255, 255, .65); }
.crumbs a { color: #fff; font-weight: 700; }
.crumbs a:hover { color: var(--yellow); }
.crumbs span[aria-hidden] { opacity: .5; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #e4f1ff; font-size: .78rem; font-weight: 800; }
.section .badge, .section-alt .badge { background: var(--paper); border-color: var(--paper-2); color: var(--blue); }
.badge-live { background: rgba(255, 77, 77, .14); border-color: rgba(255, 77, 77, .4); color: var(--red); }
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: x-blink 1.2s infinite; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; font-size: .84rem; color: rgba(255, 255, 255, .7); }
.section .post-meta { color: var(--muted-dark); }
.cta-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cta-group.center { justify-content: center; }
@media (max-width: 479px) { .cta-group .btn { flex: 1 1 100%; } }

.hero-art { position: relative; justify-self: center; width: min(240px, 60vw); aspect-ratio: 1; display: none; }
@media (min-width: 900px) { .hero-art { display: block; width: 300px; } }
.hero-art-ring { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .18), rgba(255, 255, 255, .04) 70%, transparent 71%), conic-gradient(from 0deg, transparent, rgba(255, 204, 0, .5), transparent 30%); animation: x-spin 9s linear infinite; }
.hero-art .picto { position: absolute; inset: 16%; width: 68%; fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; animation: x-float 3.2s ease-in-out infinite; }
.hero-art .picto circle:not([fill]) { fill: #fff; stroke: none; }
.hero-art .p-limb { animation: x-limb .9s ease-in-out infinite alternate; }
.hero-art .p-ball { animation: x-bounce .9s ease-in-out infinite alternate; }
.hero-art-chip { position: absolute; padding: 7px 12px; border-radius: 12px; font-family: var(--display); font-weight: 800; font-size: .85rem; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); animation: x-float 4s ease-in-out infinite; }
.hero-art-chip-a { top: 6%; right: -4%; background: var(--yellow); color: var(--ink); animation-delay: -1s; }
.hero-art-chip-b { bottom: 8%; left: -8%; background: #fff; color: var(--blue); }
@keyframes x-spin { to { transform: rotate(360deg); } }
@keyframes x-float { 50% { transform: translateY(-10px); } }

/* --- sections claires --- */
.x-inner main { background: #fff; }
.section { padding: 52px 0; background: #fff; color: var(--text-dark); }
.section-alt { background: var(--paper); }
@media (min-width: 900px) { .section { padding: 76px 0; } }
.section h2, .section-head h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; font-size: clamp(1.5rem, 4.6vw, 2.4rem); color: var(--text-dark); }
.section-head { margin-bottom: 28px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted-dark); margin-top: 10px; font-size: 1.04rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--green); }
.section h3 { font-family: var(--display); font-weight: 800; font-size: 1.12rem; line-height: 1.25; color: var(--text-dark); }

/* --- boutons (anciens noms) --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 800; font-size: 1rem; white-space: nowrap; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--green); color: var(--green-ink); box-shadow: 0 10px 30px -8px rgba(132, 195, 65, .7), inset 0 -3px 0 rgba(0, 0, 0, .15); }
.btn-primary:hover { background: var(--green-2); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--text-dark); border: 2px solid var(--paper-2); }
.btn-ghost:hover { border-color: var(--blue); }
.hero .btn-ghost, .cta-band .btn-ghost { background: rgba(255, 255, 255, .12); border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; border-radius: 11px; }
.btn-block { width: 100%; }

/* --- cartes --- */
.card-grid { display: grid; gap: 14px; }
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.card { position: relative; display: block; padding: 22px; border-radius: 20px; background: #fff; border: 1.5px solid var(--paper-2); color: var(--text-dark); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.section-alt .card { border-color: transparent; box-shadow: 0 10px 30px -18px rgba(14, 44, 75, .35); }
a.card:hover { transform: translateY(-4px); border-color: var(--blue-3); box-shadow: 0 24px 40px -22px rgba(14, 44, 75, .45); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: linear-gradient(135deg, var(--blue), var(--blue-3)); margin-bottom: 14px; box-shadow: 0 10px 20px -10px rgba(26, 86, 133, .7); }
.card h2, .card h3 { margin-bottom: 6px; }
.card p { color: var(--muted-dark); font-size: .95rem; }
.card-arrow { position: absolute; top: 20px; right: 20px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--blue); font-weight: 800; transition: .3s var(--ease); }
a.card:hover .card-arrow { background: var(--green); color: var(--green-ink); transform: translateX(3px); }
.card ul { list-style: none; display: grid; gap: 6px; margin-top: 12px; font-size: .88rem; color: var(--muted-dark); }
.card ul strong { color: var(--text-dark); }

/* --- étapes --- */
.steps { display: grid; gap: 14px; counter-reset: st; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.step { counter-increment: st; padding: 24px; border-radius: 20px; background: var(--paper); display: grid; gap: 6px; align-content: start; }
.section-alt .step { background: #fff; }
.step::before { content: counter(st); width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 8px; background: var(--blue); color: #fff; font-family: var(--display); font-weight: 900; font-size: 1.4rem; }
.step:nth-child(3n+2)::before { background: var(--green); color: var(--green-ink); }
.step:nth-child(3n)::before { background: var(--yellow); color: var(--ink); }
.step p { color: var(--muted-dark); }

.tutorial-steps { display: grid; gap: 16px; counter-reset: ts; }
.tutorial-step { counter-increment: ts; position: relative; padding: 22px 22px 22px 22px; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px -18px rgba(14, 44, 75, .35); }
.tutorial-step-header { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.tutorial-step-header::before { content: counter(ts); flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--display); font-weight: 900; }
.tutorial-step-body { color: #36506b; }
.tutorial-step-body p + p, .tutorial-step-body p + ul, .tutorial-step-body ul + p { margin-top: 10px; }
.tutorial-step-body ul, .tutorial-step-body ol { padding-left: 20px; }
.tutorial-step-body strong { color: var(--text-dark); }
.tip, .warn { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: .92rem; background: #eef8e4; border-left: 4px solid var(--green); color: #2d4a17; }
.warn { background: #fff0f0; border-left-color: var(--red); color: #6b1f1f; }

/* --- tableaux --- */
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1.5px solid var(--paper-2); background: #fff; -webkit-overflow-scrolling: touch; }
.table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .92rem; }
.table th { background: var(--navy); color: #fff; text-align: left; padding: 12px 14px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.table td { padding: 12px 14px; border-top: 1px solid var(--paper-2); color: #36506b; }
.table td:first-child { font-weight: 800; color: var(--text-dark); }
.table td a { color: var(--blue); text-decoration: underline; }
.table tr:hover td { background: var(--paper); }
.table .pct { color: #3d8a12; font-weight: 800; }
.table .num { color: #b87f00; font-weight: 800; }

/* --- stats bonus (pays) --- */
.bonus-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.bonus-stat { padding: 16px 10px; border-radius: 18px; text-align: center; background: linear-gradient(150deg, var(--blue), var(--navy)); color: #fff; }
.bonus-stat b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(1.05rem, 4vw, 1.9rem); line-height: 1.15; color: var(--yellow); }
.bonus-stat b.lime { color: var(--green); }
.bonus-stat b[style] { color: #fff !important; }
.bonus-stat span { font-size: .76rem; color: rgba(255, 255, 255, .75); }

/* --- FAQ --- */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-list.center { margin: 0 auto; }
.faq-item { border-radius: 16px; background: #fff; border: 1.5px solid var(--paper-2); overflow: hidden; }
.section-alt .faq-item { border-color: transparent; box-shadow: 0 8px 24px -18px rgba(14, 44, 75, .4); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; text-align: left; font-weight: 800; color: var(--text-dark); }
.faq-question::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-weight: 900; transition: transform .3s var(--ease); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 18px 18px; color: #36506b; }
.faq-item.open .faq-answer { display: block; }
.faq-answer a { color: var(--blue); text-decoration: underline; }

/* --- contenu éditorial --- */
.prose { max-width: 780px; color: #2c4560; font-size: 1.05rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.4rem, 4vw, 1.9rem); }
.prose h3 { margin-top: 1.6em; font-size: 1.2rem; }
.prose strong { color: var(--text-dark); }
.prose a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--green); font-weight: 800; }
.prose blockquote { padding: 14px 18px; border-radius: 0 14px 14px 0; border-left: 4px solid var(--yellow); background: #fff8dc; color: #4a3a00; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; display: block; overflow-x: auto; border-radius: 16px; border: 1.5px solid var(--paper-2); }
.prose th { background: var(--navy); color: #fff; text-align: left; padding: 10px 12px; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.prose td { padding: 10px 12px; border-top: 1px solid var(--paper-2); }
.prose code { padding: 2px 7px; border-radius: 6px; background: var(--navy); color: var(--yellow); font-size: .92em; font-weight: 700; }
.prose hr { border: 0; border-top: 2px solid var(--paper-2); margin: 2em 0; }
.prose .table-wrap { display: block; }
.prose .table th { color: #fff; }

.layout-aside { display: grid; gap: 32px; }
@media (min-width: 1020px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 320px; gap: 52px; align-items: start; } .aside-sticky { position: sticky; top: 84px; } }
.toc { padding: 18px; border-radius: 18px; background: var(--paper); font-size: .9rem; }
.toc h4 { font-family: var(--display); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.toc ul { list-style: none; }
.toc li { padding: 4px 0; }
.toc a { color: #36506b; font-weight: 600; }
.toc a:hover { color: var(--blue); }
.toc ul ul { padding-left: 12px; }

/* --- coupon latéral (aside-promo) --- */
.slip { border-radius: 22px; overflow: hidden; color: #fff; background: radial-gradient(300px 160px at 100% 0%, rgba(255, 204, 0, .3), transparent), linear-gradient(150deg, var(--blue), var(--navy)); box-shadow: 0 30px 50px -25px rgba(14, 44, 75, .7); }
.slip-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px dashed rgba(255, 255, 255, .25); font-family: var(--display); font-weight: 800; font-size: .9rem; }
.slip-body { padding: 14px 18px 4px; }
.slip-big { text-align: center; }
.slip-big .pct { font-family: var(--display); font-weight: 900; font-size: 3.4rem !important; line-height: 1; color: var(--yellow); }
.slip-big .lbl { color: rgba(255, 255, 255, .75); font-size: .88rem; }
.slip-foot { display: grid; gap: 10px; padding: 14px 18px 18px; }
.slip-note { text-align: center; font-size: .74rem; color: rgba(255, 255, 255, .6); }

/* --- bouton code promo --- */
.promo-code { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 7px 7px 14px; border-radius: 13px; border: 2px dashed rgba(255, 204, 0, .75); background: rgba(7, 25, 44, .35); cursor: pointer; transition: border-color .2s, background .2s; }
.promo-code:hover { border-color: var(--yellow); background: rgba(7, 25, 44, .5); }
.promo-code .code { font-family: var(--display); font-weight: 800; color: var(--yellow); letter-spacing: .02em; }
.promo-code .copy-icon { padding: 7px 12px; border-radius: 9px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .8rem; }
.promo-code.copied { border-style: solid; border-color: var(--green); }
.promo-code.copied .copy-icon { background: var(--green); color: var(--green-ink); }

/* --- ticket promo --- */
.promo { position: relative; display: grid; gap: 22px; align-items: center; padding: 28px 22px; border-radius: 26px; color: #fff; overflow: hidden; background: radial-gradient(500px 260px at 100% 0%, rgba(255, 204, 0, .32), transparent 60%), radial-gradient(400px 220px at 0% 100%, rgba(132, 195, 65, .25), transparent 60%), linear-gradient(135deg, var(--blue), var(--navy)); box-shadow: 0 40px 70px -35px rgba(14, 44, 75, .8); }
.promo::before, .promo::after { content: ""; position: absolute; top: 50%; width: 32px; height: 32px; border-radius: 50%; background: #fff; transform: translateY(-50%); }
.promo::before { left: -16px; } .promo::after { right: -16px; }
.section-alt .promo::before, .section-alt .promo::after { background: var(--paper); }
.promo h2, .promo h3 { color: #fff; font-family: var(--display); font-size: clamp(1.4rem, 4vw, 2.1rem); }
.promo p { color: rgba(255, 255, 255, .8); }
.promo a:not(.btn) { color: var(--sky); text-decoration: underline; }
.promo .badge { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); color: #fff; }
.promo-amount { font-family: var(--display); font-weight: 900; font-size: clamp(2.8rem, 9vw, 4.4rem); line-height: 1; color: var(--yellow); }
.promo-side { display: grid; gap: 12px; }
@media (min-width: 860px) { .promo { grid-template-columns: 1.1fr .9fr; padding: 40px 48px; gap: 40px; } }

/* --- articles --- */
.post-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; border: 1.5px solid var(--paper-2); color: var(--text-dark); transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -22px rgba(14, 44, 75, .45); }
.post-card img { width: 100%; aspect-ratio: 40 / 21; object-fit: cover; background: var(--paper-2); }
.post-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px; }
.post-card h3 { font-size: 1.1rem; }
.post-card p { color: var(--muted-dark); font-size: .9rem; }
.post-card time { margin-top: auto; color: var(--muted-dark); font-size: .8rem; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--paper); color: var(--blue); font-size: .76rem; font-weight: 800; }

/* --- jeu responsable + bandeau final --- */
.rg { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--paper); color: #36506b; font-size: .9rem; }
.rg strong { color: var(--text-dark); }
.rg a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.rg .age { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 2.5px solid var(--red); color: var(--red); font-weight: 900; }
.cta-band { position: relative; overflow: hidden; padding: 40px 22px; border-radius: 28px; text-align: center; color: #fff; background: radial-gradient(500px 240px at 50% -10%, rgba(132, 195, 65, .45), transparent 70%), linear-gradient(150deg, var(--blue), var(--navy)); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { max-width: 560px; margin: 0 auto 22px; color: rgba(255, 255, 255, .82); }
@media (min-width: 860px) { .cta-band { padding: 56px 40px; } }

/* ---------- Entrée animée (masqué uniquement si le JS tourne, filet de sécurité à 2,5 s) ---------- */
.m:not(.m-done) [data-in] { opacity: .35; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
