/* SPECS — Road to Platine
   DA : noir profond, turquoise électrique, argent brossé. Italiques, angles coupés, HUD. */

@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --bg: #07090e;
  --bg-2: #0b0f16;
  --panel: #131b27;
  --panel-2: #131b27;
  --line: #1e2a38;
  --teal: #21f5e0;
  --teal-deep: #0e9c8e;
  --teal-dim: #0a5e56;
  --silver: #a7bac0;
  --silver-hi: #eff4f5;
  --white: #eff4f5;
  --muted: #7d8a96;
  --display: 'Chakra Petch', 'Segoe UI', system-ui, sans-serif;
  --ui: 'Chakra Petch', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--silver-hi);
  font-family: var(--ui); font-size: 17px; line-height: 1.65;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
::selection { background: var(--teal); color: #07090e; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--teal); color: #07090e; padding: 10px 16px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- Couches fixes ---------- */
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: var(--teal);
  transform-origin: left; transform: scaleX(var(--p, 0));
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 620px; height: 620px; margin: -310px 0 0 -310px; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(29, 233, 207, .11), transparent 62%); opacity: 0; transition: opacity .4s;
  will-change: transform;
}
.cursor-glow.on { opacity: 1; }

/* ---------- En-tête ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(7, 9, 14, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; height: 72px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; transition: transform .4s var(--ease), filter .3s; filter: none; }
.brand:hover img { transform: rotate(-8deg) scale(1.08); filter: none; }
.brand-name { font-family: var(--display); font-size: 1.48rem; text-transform: uppercase; letter-spacing: .03em; color: var(--white); transform: skewX(0deg); display: inline-block; line-height: 1; font-weight: 700; font-style: italic}
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { position: relative; padding: 10px 16px; font-weight: 600; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 3px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; background: transparent; border: 1px solid var(--line); cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); transition: transform .3s, opacity .3s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 29px; }
.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-block; padding: 16px 32px; overflow: hidden; cursor: pointer;
  background: var(--teal); color: #07090e; font: 700 .9rem var(--ui); letter-spacing: .15em; text-transform: uppercase;
  transform: skewX(-10deg); transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.btn span { display: inline-block; transform: skewX(10deg); }
.btn::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); transform: skewX(-20deg); }
.btn:hover { transform: skewX(-10deg) translateY(-3px); }
.btn:hover::after { left: 130%; transition: left .6s ease; }
.btn-ghost { background: rgba(29, 233, 207, .06); color: var(--white); box-shadow: inset 0 0 0 2px var(--silver); }
.btn-ghost:hover { background: var(--teal); color: #07090e; box-shadow: inset 0 0 0 2px var(--teal); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 100px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.beam { position: absolute; left: -25%; width: 150%; transform: rotate(-13deg); background: linear-gradient(90deg, transparent, rgba(29, 233, 207, .06) 25%, rgba(29, 233, 207, .16) 50%, rgba(29, 233, 207, .06) 75%, transparent); animation: beam 11s ease-in-out infinite alternate; }
.beam-1 { top: 34%; height: 130px; }
.beam-2 { top: 34%; margin-top: 160px; height: 28px; animation-delay: -4s; }
.beam-3 { top: 10%; height: 14px; opacity: .6; animation-delay: -7s; animation-duration: 14s; }
@keyframes beam { from { transform: translateX(-7%) rotate(-13deg); } to { transform: translateX(7%) rotate(-13deg); } }
.floor { position: absolute; left: 0; right: 0; bottom: 0; height: 50%; overflow: hidden; -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 92%); mask-image: linear-gradient(to top, #000 0%, transparent 92%); }
.floor-grid {
  position: absolute; left: -60%; right: -60%; bottom: -25%; height: 170%;
  transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(29, 233, 207, .38) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(29, 233, 207, .38) 1.5px, transparent 1.5px);
  background-size: 70px 70px; animation: grid 2.6s linear infinite;
}
@keyframes grid { to { background-position: 0 70px; } }
.vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 68% 46%, transparent 0, rgba(7, 9, 14, .5) 75%), linear-gradient(to bottom, rgba(7, 9, 14, .5), transparent 22%, transparent 78%, var(--bg)); }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; font-size: .8rem; font-style: italic; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--silver); animation: rise .8s var(--ease) both; }
.eyebrow i, .tagline i { width: 7px; height: 7px; background: var(--teal); transform: rotate(45deg); display: inline-block; }

.wordmark {
  position: relative; margin: 6px 0 0; display: inline-block; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(4.16rem, 12.4vw, 9.2rem); line-height: .92; letter-spacing: .01em; color: var(--white); transform: skewX(0deg); animation: slam 1s var(--ease) .15s both; font-style: italic}
.wordmark > span:last-child { display: block; }
.wordmark::before, .wordmark::after { content: attr(data-text); position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
.wordmark::before { color: var(--teal); animation: glitch-a 7s steps(1) 2.2s infinite; }
.wordmark::after { color: #fff; mix-blend-mode: overlay; animation: glitch-b 7s steps(1) 2.2s infinite; }
@keyframes slam {
  0% { opacity: 0; transform: skewX(0deg) translateX(-90px) scale(1.18); filter: blur(14px); }
  60% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: skewX(0deg); filter: blur(0); }
}
@keyframes glitch-a {
  0%, 91%, 100% { opacity: 0; }
  92% { opacity: .9; transform: translate(-6px, 2px); clip-path: inset(10% 0 62% 0); }
  94% { opacity: .9; transform: translate(5px, -2px); clip-path: inset(58% 0 12% 0); }
  96% { opacity: .9; transform: translate(-3px, 0); clip-path: inset(30% 0 40% 0); }
  98% { opacity: 0; }
}
@keyframes glitch-b {
  0%, 92%, 100% { opacity: 0; }
  93% { opacity: .8; transform: translate(6px, -1px); clip-path: inset(48% 0 24% 0); }
  95% { opacity: .8; transform: translate(-5px, 2px); clip-path: inset(6% 0 70% 0); }
  97% { opacity: 0; }
}
.road-line { margin: 14px 0 0; display: flex; align-items: baseline; gap: 12px; font-style: italic; font-weight: 700; font-size: clamp(1.2rem, 2.8vw, 1.75rem); letter-spacing: .14em; text-transform: uppercase; animation: rise .8s var(--ease) .5s both; }
.road-line span { color: var(--silver-hi); }
.road-line b { background: linear-gradient(90deg, var(--teal), #8ffcec 55%, var(--teal)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 3.5s linear infinite; font-weight: 700; }
@keyframes shimmer { to { background-position: -200% 0; } }
.tagline { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 18px 0 34px; font-size: .9rem; font-style: italic; letter-spacing: .26em; text-transform: uppercase; color: var(--silver); animation: rise .8s var(--ease) .65s both; }
.cta { display: flex; gap: 22px; flex-wrap: wrap; animation: rise .8s var(--ease) .8s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-logo {
  position: relative; justify-self: center; width: min(500px, 92%); aspect-ratio: 1; display: grid; place-items: center;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .2s ease-out;
  animation: logo-in 1.2s var(--ease) .3s both;
}
@keyframes logo-in { from { opacity: 0; transform: perspective(1000px) scale(.6) rotate(-12deg); } to { opacity: 1; } }
.halo { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(29, 233, 207, .42), rgba(29, 233, 207, .1) 52%, transparent 70%); filter: blur(34px); animation: halo 4.5s ease-in-out infinite; }
@keyframes halo { 50% { opacity: .55; transform: scale(1.12); } }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring-a { animation: spin 46s linear infinite; }
.ring-b { animation: spin 30s linear infinite reverse; }
.ring-c { animation: ring-pulse 4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ring-pulse { 50% { transform: scale(1.04); opacity: .5; } }
.shield-wrap { position: relative; width: 60%; animation: float 6.5s ease-in-out infinite; filter: none; }
@keyframes float { 50% { transform: translateY(-14px); } }
.shield { width: 100%; height: auto; }
.shine {
  position: absolute; inset: 0; -webkit-mask: url(../img/shield-800.png) center / contain no-repeat; mask: url(../img/shield-800.png) center / contain no-repeat;
  background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .7) 50%, transparent 62%) 160% 0 / 260% 100% no-repeat; animation: sweep 5.5s ease-in-out 1.6s infinite;
}
@keyframes sweep { 0% { background-position: 160% 0; } 45%, 100% { background-position: -60% 0; } }
.corner { position: absolute; width: 46px; height: 46px; border: 0 solid var(--teal); filter: none; animation: corner-in .9s var(--ease) 1s both; }
.corner.tl { top: 1%; left: 1%; border-top-width: 3px; border-left-width: 3px; }
.corner.tr { top: 1%; right: 1%; border-top-width: 3px; border-right-width: 3px; }
.corner.bl { bottom: 1%; left: 1%; border-bottom-width: 3px; border-left-width: 3px; }
.corner.br { bottom: 1%; right: 1%; border-bottom-width: 3px; border-right-width: 3px; }
@keyframes corner-in { from { opacity: 0; transform: scale(1.6); } to { opacity: 1; transform: none; } }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .68rem; letter-spacing: .4em; text-transform: uppercase; color: var(--silver); opacity: .85; }
.scroll-hint i { width: 2px; height: 44px; background: linear-gradient(var(--teal), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ''; position: absolute; left: 0; top: -14px; width: 100%; height: 14px; background: #fff; animation: drip 1.8s ease-in infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Bandeaux défilants ---------- */
.marquees { position: relative; z-index: 3; transform: skewY(-2deg); margin: -16px 0 30px; background: rgba(7, 9, 14, .88); border-block: 1px solid rgba(29, 233, 207, .4); }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee + .marquee { border-top: 1px solid var(--line); }
.track { display: inline-flex; align-items: center; gap: 30px; padding: 12px 0; animation: marquee 42s linear infinite; will-change: transform; }
.track span { font-family: var(--display); font-size: clamp(1.36rem, 3.36vw, 2.32rem); line-height: 1; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; font-style: italic}
.track em { width: 13px; height: 13px; background: var(--teal); transform: rotate(45deg); flex: none; }
.m-fill .track span { color: var(--white); }
.m-outline .track { animation-direction: reverse; animation-duration: 55s; }
.m-outline .track span { color: transparent; -webkit-text-stroke: 1.5px var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.block { position: relative; padding: clamp(70px, 10vw, 130px) 0; }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: .78rem; font-style: italic; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: var(--teal); }
.kicker i { width: 36px; height: 4px; background: var(--teal); transform: skewX(-25deg); }
.title { margin: 0 0 .35em; display: inline-block; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.32rem, 6.0vw, 4.16rem); line-height: .98; color: var(--white); transform: skewX(0deg); font-style: italic}
.title span { color: var(--teal); }
.title.big { font-size: clamp(3.2rem, 9.5vw, 7rem); }
.outline { color: transparent !important; -webkit-text-stroke: 2px var(--teal); animation: glow 3.2s ease-in-out infinite; }
@keyframes glow { 50% { } }
.sub { color: var(--silver); font-size: 1.1rem; max-width: 56ch; }
.sec-head { margin-bottom: 46px; }

/* L'équipe */
.about::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent, rgba(11, 16, 24, .85) 20%, rgba(11, 16, 24, .85) 80%, transparent); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.lead { font-size: 1.3rem; line-height: 1.6; color: var(--silver-hi); }
.lead strong { color: var(--teal); font-weight: 700; }
.about-grid p { color: var(--silver); }
.hl { margin-top: 1.2em; padding: 10px 0 10px 22px; border-left: 4px solid var(--teal); font-size: 1.25rem; font-style: italic; color: var(--white) !important; background: rgba(33, 245, 224, .1); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(46px, 7vw, 80px); }
.stat { position: relative; padding: 26px 24px 22px; text-align: center; background: var(--panel); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); transition: border-color .3s, transform .3s var(--ease); }
.stat::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--teal), transparent); }
.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.88rem, 7.2vw, 4.8rem); line-height: 1; color: var(--white); transform: skewX(0deg); font-style: italic}
.stat span { display: block; margin-top: 6px; font-size: .85rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--silver); }

/* Roster */
.roster { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; perspective: 1200px; }
.player {
  --ang: 0deg; position: relative; flex: 0 1 calc((100% - 72px) / 5); min-width: 190px; aspect-ratio: 3 / 5.4; padding: 2px;
  background: conic-gradient(from var(--ang), transparent 0 55%, var(--teal) 78%, transparent 100%), linear-gradient(160deg, rgba(183, 195, 201, .28), rgba(183, 195, 201, .06));
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform .25s ease-out;
}
.player:hover { --lift: -8px; animation: spin-border 3s linear infinite; }
@keyframes spin-border { to { --ang: 360deg; } }
.p-card {
  position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 18px 20px; overflow: hidden;
  background: var(--panel);
  clip-path: polygon(0 0, calc(100% - 29px) 0, 100% 29px, 100% 100%, 29px 100%, 0 calc(100% - 29px));
}
.p-card::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-60deg, rgba(29, 233, 207, .055) 0 2px, transparent 2px 16px); }
.p-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(to top, rgba(7, 9, 14, .92), transparent); }
.p-num { position: absolute; top: 10px; left: 16px; z-index: 2; font-family: var(--display); font-size: 2.72rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(183, 195, 201, .4); transform: skewX(0deg); transition: -webkit-text-stroke-color .3s; font-weight: 700; font-style: italic}
.player:hover .p-num { -webkit-text-stroke-color: var(--teal); }
.p-icon { position: absolute; left: 50%; top: 24%; width: 50%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 1; filter: none; transition: transform .4s var(--ease), filter .3s; }
.player:hover .p-icon { transform: translate(-50%, -50%) scale(1.1); filter: none; }
.p-icon svg { width: 100%; height: 100%; overflow: visible; }
.p-icon .frame { fill: rgba(7, 9, 14, .5); stroke: rgba(183, 195, 201, .35); stroke-width: 2; }
.p-icon .lane { fill: none; stroke: rgba(183, 195, 201, .28); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.p-icon .jg { fill: rgba(183, 195, 201, .08); stroke: none; }
.p-icon .on { stroke: var(--teal); stroke-width: 8; }
.p-icon .jg.on { fill: rgba(29, 233, 207, .5); stroke: var(--teal); stroke-width: 3; }
.p-icon .mark { fill: none; stroke: var(--white); stroke-width: 5; stroke-linecap: round; }
.p-info { position: relative; z-index: 2; }
.p-role { display: inline-block; padding: 5px 14px; background: var(--teal); color: #07090e; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; transform: skewX(-12deg); }
.p-role b { display: inline-block; transform: skewX(12deg); font-weight: 700; }
.p-name { margin: 12px 0 4px; font-family: var(--display); font-weight: 700; font-size: clamp(1.0rem, 1.24vw, 1.36rem); line-height: 1.02; text-transform: uppercase; color: var(--white); overflow-wrap: anywhere; font-style: italic}
.p-sub { margin: 0; font-size: .74rem; font-style: italic; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); }
.p-bar { display: block; height: 3px; margin-top: 14px; background: var(--teal); transform: scaleX(.18); transform-origin: left; transition: transform .5s var(--ease); }
.player:hover .p-bar { transform: scaleX(1); }
.p-glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 46%); }
.player:hover .p-glare { opacity: 1; }
.roster-fallback { list-style: none; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--display); font-size: 1.28rem; text-transform: uppercase; font-weight: 700; font-style: italic}

/* Objectif / chemin */
.goal::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 55% at 50% 40%, rgba(29, 233, 207, .09), transparent 70%); }
.path { position: relative; list-style: none; display: flex; justify-content: space-between; margin: 70px 0 26px; padding: 0; }
.path::before, .path::after { content: ''; position: absolute; left: 10%; right: 10%; top: 30px; height: 4px; }
.path::before { background: rgba(183, 195, 201, .16); }
.path::after { background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 2.2s cubic-bezier(.6, 0, .2, 1) .4s; }
.path.in::after { transform: scaleX(1); }
.node { position: relative; flex: 1; padding-top: 74px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.node i { position: absolute; top: 10px; left: 50%; width: 44px; height: 44px; margin-left: -22px; background: var(--bg-2); border: 3px solid rgba(183, 195, 201, .38); transform: rotate(45deg); transition: border-color .5s, box-shadow .5s, background .5s; }
.node b { font-family: var(--display); font-weight: 700; font-size: clamp(0.92rem, 2.08vw, 1.36rem); letter-spacing: .06em; text-transform: uppercase; color: var(--silver); transition: color .5s; font-style: italic}
.node small { margin-top: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--teal); }
.path.in .node i { border-color: var(--teal); }
.path.in .node b { color: var(--white); }
.path.in .node:nth-child(1) i, .path.in .node:nth-child(1) b { transition-delay: .4s; }
.path.in .node:nth-child(2) i, .path.in .node:nth-child(2) b { transition-delay: .95s; }
.path.in .node:nth-child(3) i, .path.in .node:nth-child(3) b { transition-delay: 1.5s; }
.path.in .node:nth-child(4) i, .path.in .node:nth-child(4) b { transition-delay: 2.05s; }
.path.in .node:nth-child(5) i, .path.in .node:nth-child(5) b { transition-delay: 2.6s; }
.node.final i { top: 0; width: 64px; height: 64px; margin-left: -32px; }
.path.in .node.final i { background: linear-gradient(135deg, #8ffcec, var(--teal) 50%, var(--teal-deep)); transition-delay: 2.6s; animation: gem 2.6s ease-in-out 3.2s infinite; }
.node.final b { font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
@keyframes gem { 50% { } }
.motto { margin-top: 52px; text-align: center; font-size: .9rem; font-style: italic; letter-spacing: .3em; text-transform: uppercase; color: var(--silver); }
.motto strong { display: block; margin-top: 6px; font-family: var(--display); font-weight: 700; font-style: italic; font-size: clamp(1.44rem, 4.0vw, 2.4rem); letter-spacing: .08em; color: var(--white); }

/* Citation */
.quote { position: relative; padding: clamp(80px, 12vw, 150px) 0; text-align: center; overflow: hidden; }
.quote::before { content: ''; position: absolute; left: -10%; right: -10%; top: 50%; height: 180px; margin-top: -90px; transform: rotate(-4deg); background: linear-gradient(90deg, transparent, rgba(29, 233, 207, .08), transparent); border-block: 1px solid rgba(29, 233, 207, .2); }
.quote p { position: relative; margin: 0; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.6rem, 5.12vw, 3.68rem); line-height: 1.08; color: var(--white); transform: skewX(0deg); font-weight: 700; font-style: italic}
.quote p span { color: var(--teal); }

/* Pied de page */
.footer { border-top: 1px solid var(--line); background: rgba(7, 9, 14, .9); padding: 34px 0; }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-motto { margin: 0; font-size: .85rem; font-style: italic; letter-spacing: .3em; text-transform: uppercase; color: var(--silver); }
.footer-copy { margin: 0; font-size: .85rem; color: var(--muted); }

/* ---------- Apparition au scroll (uniquement si le JS est actif) ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .player.reveal { transition: opacity .8s var(--ease) var(--d, 0ms), transform .25s ease-out; }
.js .player.reveal:not(.in) { transform: translateY(40px); }
.js .player.reveal.in { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
.d1 { --d: 140ms; } .d2 { --d: 280ms; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .player { flex-basis: calc((100% - 36px) / 3); }
}
@media (max-width: 900px) {
  .hero { padding: 96px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; text-align: left; }
  .hero-logo { order: -1; width: min(330px, 78%); justify-self: start; margin-left: 4%; }
  .about-grid { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 12px 20px 22px;
    background: rgba(7, 9, 14, .97); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s var(--ease); visibility: hidden;
  }
  .site-header.open { background: rgba(7, 9, 14, .97); }
  .site-header.open .nav-links { transform: none; visibility: visible; }
  .nav-links a { padding: 16px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { left: 4px; right: auto; width: 40px; bottom: 10px; }
}
@media (max-width: 760px) {
  .player { flex-basis: calc((100% - 18px) / 2); min-width: 0; }
  .stats { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 18px 24px; }
  .stat b { font-size: 4rem; }
  .stat span { margin: 0; }
  .path { flex-direction: column; align-items: stretch; gap: 30px; margin: 40px 0 10px; }
  .path::before, .path::after { left: 30px; right: auto; top: 32px; bottom: 32px; width: 4px; height: auto; }
  .path::after { transform: scaleY(0); transform-origin: top; }
  .path.in::after { transform: scaleY(1); }
  .node { flex-direction: row; justify-content: flex-start; align-items: center; gap: 14px; padding: 0 0 0 84px; min-height: 64px; text-align: left; flex-wrap: wrap; }
  .node i { top: 50%; left: 10px; margin: -22px 0 0; }
  .node.final i { left: 0; margin: -32px 0 0; }
  .node small { margin: 0; }
}
@media (max-width: 460px) {
  .player { flex-basis: 100%; aspect-ratio: 4 / 3.6; }
  .p-icon { top: 36%; width: 42%; }
  .p-name { font-size: 1.9rem; }
  .cta .btn { width: 100%; text-align: center; }
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .path::after { transform: none !important; }
  .path .node i { border-color: var(--teal); }
  .marquee { overflow-x: auto; }
}

/* Stats Riot */
.p-stats { margin-top: 10px; }
.p-stats:not(.ready) { display: none; }
.has-stats .p-stats { display: block; min-height: 118px; }
.p-rank { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-family: var(--display); text-transform: uppercase; font-weight: 700; font-style: italic}
.p-rank b { font-weight: 400; font-size: 1.15rem; color: var(--teal); letter-spacing: .02em; }
.p-rank small { font-family: var(--ui); font-size: .72rem; font-weight: 600; letter-spacing: .12em; color: var(--silver); }
.p-wl, .p-last { margin-top: 3px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); }
.p-last { opacity: .75; }
.p-form { display: flex; gap: 4px; margin-top: 8px; }
.p-form span { flex: 0 0 calc(20% - 4px); text-align: center; font-size: .62rem; font-weight: 700; line-height: 18px; letter-spacing: .08em; transform: skewX(-12deg); }
.p-form .w { background: rgba(29, 233, 207, .2); color: var(--teal); border-bottom: 2px solid var(--teal); }
.p-form .l { background: rgba(255, 255, 255, .06); color: #8b97a0; border-bottom: 2px solid #4a5560; }
.p-prog { position: relative; height: 5px; margin-top: 10px; background: rgba(183, 195, 201, .16); overflow: hidden; }
.p-prog i { position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: var(--teal); }
.js .p-stats.ready .p-prog i { animation: prog-in 1.1s var(--ease) both; }
@keyframes prog-in { from { width: 0; } }

/* ---------- Navigation : lien Stats + boutons ---------- */
.nav-links a.nav-cta { color: var(--teal); }
.roster-more { display: flex; justify-content: center; margin: 48px 0 0; }
.back { display: flex; justify-content: center; margin: 56px 0 0; }

/* ---------- Page Stats ---------- */
.page-head { position: relative; padding: clamp(130px, 16vw, 190px) 0 20px; overflow: hidden; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head .sub { margin: 4px 0 0; color: var(--silver); }
.stats-block { padding-top: 30px; }
.team-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.kpi {
  position: relative; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
.kpi small { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.kpi b { display: block; margin: 4px 0 2px; font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2.08vw, 1.68rem); line-height: 1.05; text-transform: uppercase; color: var(--white); font-style: italic}
.kpi span { font-size: .75rem; letter-spacing: .08em; color: var(--silver); }

.pl-list { display: grid; gap: 28px; }
.pl-msg { margin: 18px 0 0; color: var(--silver); }
.pl {
  position: relative; padding: 26px clamp(18px, 3vw, 34px) 30px;
  background: var(--panel); border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
  scroll-margin-top: 100px;
}
.pl::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(-60deg, rgba(29, 233, 207, .04) 0 2px, transparent 2px 18px); }
.pl > * { position: relative; }
.pl-head { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: clamp(14px, 3vw, 36px); }
.pl-num { font-family: var(--display); font-size: clamp(2.08rem, 4.0vw, 3.2rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(183, 195, 201, .4); transform: skewX(0deg); font-weight: 700; font-style: italic}
.pl-role { display: inline-block; padding: 4px 14px; background: var(--teal); color: #07090e; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; transform: skewX(-12deg); }
.pl-role b { display: inline-block; transform: skewX(12deg); font-weight: 700; }
.pl-name { margin: 8px 0 2px; font-family: var(--display); font-weight: 700; font-size: clamp(1.36rem, 2.72vw, 2.08rem); line-height: 1; text-transform: uppercase; color: var(--white); overflow-wrap: anywhere; font-style: italic}
.pl-riot { margin: 0; font-size: .78rem; letter-spacing: .12em; color: var(--muted); }
.pl-rank { text-align: right; }
.pl-rank small { display: block; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.pl-rank b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2.24vw, 1.76rem); text-transform: uppercase; color: var(--teal); line-height: 1.1; font-style: italic}
.pl-rank span { font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--silver); }
.pl-wr { position: relative; display: grid; place-items: center; width: 92px; text-align: center; font-size: .72rem; color: var(--silver); letter-spacing: .08em; }
.pl-wr .wr-ring { width: 92px; height: 92px; transform: rotate(-90deg); grid-area: 1 / 1; }
.wr-bg { stroke: rgba(183, 195, 201, .16); stroke-width: 6; }
.wr-fg { stroke: var(--teal); stroke-width: 6; stroke-linecap: round; filter: none; transition: stroke-dasharray 1.1s var(--ease); }
.pl-wr b { grid-area: 1 / 1; font-family: var(--display); font-weight: 700; font-size: 1.08rem; color: var(--white); margin-top: -8px; font-style: italic}
.pl-wr span { grid-area: 1 / 1; margin-top: 30px; font-size: .62rem; }
.pl-prog { margin-top: 22px; }
.pl-prog-top { display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.pl-prog-top b { color: var(--teal); font-weight: 700; }
.pl-prog .p-prog { height: 7px; margin-top: 8px; }
.pl-prog .p-prog i { animation: prog-in 1.2s var(--ease) both; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.kpis .kpi { background: rgba(7, 9, 14, .55); }
.pl-cols { display: grid; grid-template-columns: minmax(230px, 1fr) 2fr; gap: 26px; margin-top: 26px; }
.pl-cols h3 { margin: 0 0 10px; font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); }
.champ { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.champ b { font-family: var(--display); font-weight: 700; font-size: 0.92rem; text-transform: uppercase; color: var(--white); font-style: italic}
.champ em { font-style: normal; font-weight: 700; color: var(--teal); text-align: right; }
.champ span { grid-column: 1 / -1; font-size: .72rem; letter-spacing: .1em; color: var(--muted); }
.game { display: grid; grid-template-columns: 82px 1.2fr .9fr .9fr 1.6fr; align-items: center; gap: 10px; padding: 9px 12px; margin-bottom: 6px; border-left: 3px solid #4a5560; background: rgba(255, 255, 255, .03); font-size: .82rem; }
.game.w { border-left-color: var(--teal); background: rgba(33, 245, 224, .1); }
.g-res { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8b97a0; }
.game.w .g-res { color: var(--teal); }
.g-champ { font-family: var(--display); font-weight: 700; font-size: 0.84rem; text-transform: uppercase; color: var(--white); font-style: italic}
.g-kda { font-weight: 600; color: var(--silver-hi); }
.g-cs { color: var(--silver); }
.g-meta { color: var(--muted); font-size: .74rem; letter-spacing: .06em; text-align: right; }

.rise { animation: rise .8s var(--ease) var(--d, 0ms) both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }

@media (max-width: 1000px) {
  .team-sum, .kpis { grid-template-columns: repeat(2, 1fr); }
  .pl-cols { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .pl-head { grid-template-columns: 1fr auto; }
  .pl-num { display: none; }
  .pl-rank { grid-column: 1; text-align: left; }
  .pl-wr { grid-column: 2; grid-row: 1 / span 2; }
  .game { grid-template-columns: 1fr 1fr; }
  .g-meta { grid-column: 1 / -1; text-align: left; }
  .g-res { grid-column: 1; }
  .g-champ { grid-column: 2; text-align: right; }
}

/* ---------- Chemin dynamique (rang moyen de l'équipe) ---------- */
.path.dyn.in::after { transform: scaleX(var(--prog, 0)); }
.path.dyn.in .node i { border-color: rgba(183, 195, 201, .38); }
.path.dyn.in .node b { color: var(--silver); }
.path.dyn.in .node.reached i { border-color: var(--teal); }
.path.dyn.in .node.reached b { color: var(--white); }
.path.dyn.in .node.final:not(.reached) i { background: var(--bg-2); animation: none; }
.path.dyn.in .node.final.reached i { background: linear-gradient(135deg, #8ffcec, var(--teal) 50%, var(--teal-deep)); }
.marker { position: absolute; z-index: 3; top: 32px; left: calc(10% + 80% * var(--prog, 0)); width: 0; height: 0; pointer-events: none; }
.marker i { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; background: var(--white); border: 3px solid var(--teal); transform: rotate(45deg); animation: pin 1.8s ease-in-out infinite; }
.marker em { position: absolute; left: 0; bottom: 24px; transform: translateX(-50%); white-space: nowrap; padding: 5px 12px; font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #07090e; background: var(--teal); clip-path: polygon(0 0, 100% 0, 100% 70%, 58% 70%, 50% 100%, 42% 70%, 0 70%); padding-bottom: 12px; }
@keyframes pin { 50% { transform: rotate(45deg) scale(1.15); } }
.path-info { margin: 6px 0 0; text-align: center; font-size: .85rem; letter-spacing: .08em; color: var(--silver); }
.path-info b { color: var(--teal); font-weight: 700; }
@media (max-width: 760px) {
  .path.dyn.in::after { transform: scaleY(var(--prog, 0)); }
  .marker { top: calc(32px + (100% - 64px) * var(--prog, 0)); left: 32px; }
  .marker em { left: 34px; bottom: -14px; transform: none; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 70%, 0 30%); padding-bottom: 5px; }
}
@media (prefers-reduced-motion: reduce) { .marker i { animation: none !important; } }

/* ---------- Liens externes : Twitch, Discord ---------- */
.p-twitch, .pl-twitch {
  display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--white); background: rgba(145, 70, 255, .22); border: 1px solid rgba(145, 70, 255, .75); transition: background .25s, box-shadow .25s, transform .25s;
}
.p-twitch svg, .pl-twitch svg { width: 15px; height: 15px; flex: none; }
.p-twitch:hover, .pl-twitch:hover, .p-twitch:focus-visible, .pl-twitch:focus-visible { background: #9146ff; transform: translateY(-1px); }
.p-twitch { position: absolute; z-index: 5; top: 14px; right: 40px; padding: 5px 9px; }
.pl-twitch { margin-top: 10px; padding: 5px 11px; }
.footer-link { font-size: .85rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); transition: color .2s; }
.footer-link:hover { color: var(--teal); }
.back { flex-wrap: wrap; gap: 18px; }

/* ---------- Accueil : accroche + « Suis l'aventure » ---------- */
.pitch { max-width: 34em; margin: 0 0 26px; font-size: 1.05rem; line-height: 1.6; color: var(--silver); animation: rise .8s var(--ease) .65s both; }
.follow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 34px; }
.follow-card {
  position: relative; display: grid; gap: 4px; padding: 22px 22px 20px; background: var(--panel); border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.follow-card svg { width: 30px; height: 30px; margin-bottom: 8px; color: var(--teal); }
.follow-card b { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; color: var(--white); font-style: italic}
.follow-card span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); }
.follow-card:hover, .follow-card:focus-visible { transform: translateY(-5px); border-color: var(--teal); }
.follow-main { background: rgba(33, 245, 224, .1); border-color: rgba(29, 233, 207, .5); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Page Contenus ---------- */
.channels { display: grid; gap: 34px; }
.channel { padding: 28px clamp(18px, 3vw, 34px) 30px; background: var(--panel); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }
.channel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px; }
.channel-head .kicker { margin-bottom: 6px; }
.channel-name { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3.68vw, 2.72rem); line-height: 1; text-transform: uppercase; color: var(--white); font-style: italic}
.channel-desc { margin: 10px 0 0; max-width: 38em; color: var(--silver); line-height: 1.6; }
.channel-links { display: flex; flex-wrap: wrap; gap: 14px; }
.videos { margin-top: 26px; }
.videos.has-vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.vid-msg { margin: 0; padding: 22px; border: 1px dashed rgba(183, 195, 201, .3); color: var(--silver); text-align: center; }
.vid { display: grid; gap: 6px; align-content: start; animation: rise .7s var(--ease) var(--d, 0ms) both; }
.vid-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.vid-thumb i { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; background: rgba(7, 9, 14, .65); border: 2px solid var(--teal); border-radius: 50%; opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s; }
.vid-thumb i::after { content: ''; position: absolute; left: 20px; top: 14px; border-left: 16px solid var(--teal); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.vid:hover .vid-thumb img, .vid:focus-visible .vid-thumb img { transform: scale(1.06); filter: brightness(.8); }
.vid:hover .vid-thumb i, .vid:focus-visible .vid-thumb i { opacity: 1; transform: none; }
.vid-title { font-weight: 600; line-height: 1.35; color: var(--white); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vid-meta { font-size: .74rem; letter-spacing: .08em; color: var(--muted); }
.join { margin-top: 56px; text-align: center; }
.join .sub { margin: 8px 0 24px; color: var(--silver); }
@media (prefers-reduced-motion: reduce) { .vid, .pitch { animation: none !important; } }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 40px 20px; text-align: center; }
.nf .sub { margin: 0 0 14px; color: var(--silver); }

/* ---------- Titres de section (pages intérieures) ---------- */
.sec-title { margin: 64px 0 22px; font-family: var(--display); font-weight: 700; font-size: clamp(1.44rem, 3.2vw, 2.24rem); line-height: 1; text-transform: uppercase; color: var(--white); font-style: italic}
.sec-title span { color: var(--teal); }
.stats-block .wrap > .sec-title:first-child, .press > .sec-title:first-child { margin-top: 0; }
.back.left { justify-content: flex-start; margin-top: 18px; }

/* ---------- Badge EN LIVE ---------- */
.live-pill { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; margin-right: 14px; padding: 6px 12px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: #d6213a; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); white-space: nowrap; }
.live-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: live 1.2s ease-in-out infinite; }
@keyframes live { 50% { opacity: .25; } }
.is-live { position: relative; }
.p-twitch.is-live, .pl-twitch.is-live { background: #d6213a; border-color: #ff5a70; }
.follow-card.is-live { border-color: #ff5a70; }
.follow-card.is-live span::after, .channel-links .is-live span::after { content: ' · EN LIVE'; color: #ff8a9a; font-weight: 700; }
.day-chip { display: inline-block; margin: 0 0 18px; padding: 5px 14px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #07090e; background: var(--teal); transform: skewX(-12deg); }
@media (max-width: 900px) { .live-pill { margin-right: 10px; font-size: .62rem; padding: 5px 9px; } }

/* ---------- L'équipe : fiches ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.profile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 26px; background: var(--panel); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px)); transition: border-color .3s, transform .3s var(--ease); }
.profile:hover { border-color: var(--teal); transform: translateY(-4px); }
.pf-top { display: flex; align-items: center; justify-content: space-between; }
.pf-name { margin: 10px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.36rem, 2.4vw, 1.76rem); line-height: 1; text-transform: uppercase; color: var(--white); overflow-wrap: anywhere; font-style: italic}
.pf-lane { margin: 0; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-style: italic; }
.pf-level { align-self: flex-start; margin: 10px 0 0; padding: 3px 10px; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); border: 1px solid rgba(29, 233, 207, .5); }
.pf-bio { margin: 10px 0 0; color: var(--silver); font-style: italic; line-height: 1.55; }
.pf-rows { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .85rem; }
.pf-rows dt { color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; align-self: center; }
.pf-rows dd { margin: 0; color: var(--white); font-weight: 600; text-align: right; }
.pf-links { margin-top: auto; padding-top: 16px; display: flex; gap: 10px; }

/* ---------- Le défi : compteur, journal, FAQ ---------- */
.day-counter { display: flex; align-items: baseline; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 0 0 10px; padding: 22px; background: rgba(33, 245, 224, .1); border: 1px solid rgba(29, 233, 207, .4); }
.day-counter[hidden] { display: none; }
.day-counter small { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--silver); }
.day-counter b { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 6.4vw, 4.0rem); line-height: 1; color: var(--teal); font-style: italic}
.day-counter span { font-family: var(--display); font-size: 1.28rem; text-transform: uppercase; color: var(--white); font-weight: 700; font-style: italic}
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 30px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--teal), rgba(29, 233, 207, .08)); }
.tl-item { position: relative; margin: 0 0 22px; padding: 18px 22px; background: var(--panel); border: 1px solid var(--line); }
.tl-item::before { content: ''; position: absolute; left: -30px; top: 24px; width: 17px; height: 17px; background: var(--bg-2); border: 3px solid var(--teal); transform: rotate(45deg); }
.tl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tl-tag { padding: 2px 10px; color: #07090e; background: var(--teal); font-weight: 700; }
.tl-head em { font-style: normal; color: var(--teal); font-weight: 700; }
.tl-item h3 { margin: 8px 0 4px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; color: var(--white); font-style: italic}
.tl-item p, .tl-msg { margin: 0; color: var(--silver); line-height: 1.6; }
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); transition: border-color .25s; }
.faq-item[open] { border-color: rgba(29, 233, 207, .55); }
.faq-item summary { cursor: pointer; padding: 16px 52px 16px 20px; position: relative; list-style: none; font-weight: 600; color: var(--white); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--teal); transition: transform .25s; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--silver); line-height: 1.65; }

/* ---------- Presse ---------- */
.press-text p, p.press-text { margin: 0 0 14px; max-width: 46em; color: var(--silver); line-height: 1.7; }
.press-text strong { color: var(--white); }
.press-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.logo-card { margin: 0; background: var(--panel); border: 1px solid var(--line); }
.logo-prev { display: grid; place-items: center; padding: 26px; background: radial-gradient(circle at 50% 40%, rgba(29, 233, 207, .12), transparent 70%), #05070b; }
.logo-prev img { width: 170px; height: 170px; object-fit: contain; }
.logo-card figcaption { display: grid; gap: 4px; justify-items: start; padding: 18px 20px 20px; }
.logo-card figcaption b { font-family: var(--display); font-weight: 700; font-size: 1.04rem; text-transform: uppercase; color: var(--white); font-style: italic}
.logo-card figcaption span { font-size: .78rem; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.sw { display: grid; gap: 2px; padding: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.sw i { display: block; height: 64px; margin-bottom: 8px; border: 1px solid rgba(255, 255, 255, .15); }
.sw-bg { background: #07090e; } .sw-teal { background: #21f5e0; } .sw-silver { background: #131b27; } .sw-white { background: #eff4f5; }
.sw b { color: var(--white); } .sw span { font-size: .8rem; letter-spacing: .1em; color: var(--muted); }

/* ---------- Contenus : planning + clips ---------- */
.sched-block, .clips-block { margin-top: 12px; }
.clips-block[hidden] { display: none; }
.schedule.has-sched { display: grid; gap: 8px; }
.slot { display: grid; grid-template-columns: 120px 90px 140px 1fr; align-items: center; gap: 14px; padding: 12px 18px; background: rgba(33, 245, 224, .1); border-left: 3px solid var(--teal); }
.slot-day { font-family: var(--display); font-weight: 700; font-size: 0.92rem; text-transform: uppercase; color: var(--white); font-style: italic}
.slot-time { font-weight: 700; color: var(--teal); }
.slot-who { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.slot-what { color: var(--silver); }
.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.clip { display: grid; gap: 4px; padding: 18px; background: var(--panel); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.clip:hover { border-color: var(--teal); transform: translateY(-3px); }
.clip-src { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.clip b { color: var(--white); line-height: 1.35; }
.clip-who { font-size: .78rem; color: var(--muted); }
@media (max-width: 700px) { .slot { grid-template-columns: 1fr 1fr; } .slot-what { grid-column: 1 / -1; } }

/* ---------- Stats : parties à plusieurs ---------- */
.together { margin: -4px 0 40px; }
.together[hidden] { display: none; }
.together .sec-title { margin-top: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.together .team-sum { margin-bottom: 0; }

/* ---------- Correctifs mobile ---------- */
[hidden] { display: none !important; }
.live-pill + .nav-toggle { margin-left: 0; }
@media (max-width: 900px) {
  .live-pill { margin-left: auto; }
  .nav { gap: 12px; }
}
@media (max-width: 520px) {
  .brand-name { font-size: 1.6rem; }
  .live-pill { padding: 5px 10px; margin-right: 8px; }
  .live-pill .lp-name { display: none; }
}
@media (max-width: 760px) {
  .hero { padding: 84px 0 70px; min-height: 0; }
  .hero-logo { width: min(210px, 56%); margin: 0 auto 6px; justify-self: center; }
  .eyebrow { flex-wrap: wrap; gap: 6px 10px; font-size: .68rem; letter-spacing: .16em; }
  .tagline { gap: 8px 10px; margin: 14px 0 18px; font-size: .72rem; letter-spacing: .13em; }
  .pitch { font-size: .98rem; margin-bottom: 20px; }
  .follow-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .follow-card { padding: 16px 14px 14px; }
  .follow-card b { font-size: 1.25rem; }
  .follow-card span { font-size: .66rem; letter-spacing: .08em; }
  .follow-main { grid-column: 1 / -1; }
  .follow-grid .follow-card:nth-child(4) { }
  /* cartes joueurs : mise en page qui ne dépend plus d'un ratio fixe */
  .player { aspect-ratio: auto; }
  .p-card { justify-content: flex-start; padding: 18px 16px 18px; }
  .p-icon { left: auto; right: 16px; top: 16px; width: 76px; transform: none; }
  .player:hover .p-icon { transform: scale(1.06); }
  .p-num { font-size: 2.6rem; }
  .p-info { margin-top: 58px; }
  .p-name { font-size: 1.5rem; }
  .p-twitch { position: relative; top: auto; right: auto; align-self: flex-start; margin-top: 12px; }
  .has-stats .p-stats { min-height: 0; }
}
@media (max-width: 460px) {
  .player { flex-basis: 100%; aspect-ratio: auto; }
  .p-icon { top: 16px; width: 84px; }
  .p-name { font-size: 1.7rem; }
}

/* ---------- Stats : courbe de progression ---------- */
.curve { margin: 0 0 44px; }
.curve .sec-title { margin-top: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.curve-body { padding: 18px 16px 14px; background: var(--panel); border: 1px solid var(--line); }
.curve-svg { display: block; width: 100%; height: auto; overflow: visible; }
.cv-grid { stroke: rgba(183, 195, 201, .08); stroke-width: 1; }
.cv-grid.major { stroke: rgba(183, 195, 201, .2); stroke-dasharray: 3 5; }
.cv-lab { fill: var(--muted); font-size: 12px; font-family: var(--ui); letter-spacing: .04em; }
.cv-goal { stroke: var(--teal); stroke-width: 1.5; stroke-dasharray: 8 6; opacity: .8; }
.cv-goal-t { fill: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.cv-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; opacity: .85; stroke-dasharray: 1; stroke-dashoffset: 0; animation: cvdraw 1.4s var(--ease) both; }
.cv-avg { stroke: var(--teal); stroke-width: 4; opacity: 1; filter: none; }
.cv-dot { stroke: none; }
circle.cv-dot.cv-avg { fill: var(--teal); filter: none; }
@keyframes cvdraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.c0 { stroke: #f2f6f7; fill: #f2f6f7; } .c1 { stroke: #f5b942; fill: #f5b942; } .c2 { stroke: #6ea8ff; fill: #6ea8ff; } .c3 { stroke: #ff6b8b; fill: #ff6b8b; } .c4 { stroke: #b58cff; fill: #b58cff; }
.cv-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 4px 2px; padding: 0; list-style: none; font-size: .82rem; color: var(--silver); }
.cv-legend li { display: inline-flex; align-items: center; gap: 8px; }
.cv-legend i { width: 18px; height: 3px; background: currentColor; }
.cv-legend li.avg { color: var(--teal); font-weight: 700; } .cv-legend li.avg i { height: 4px; }
.cv-legend li.c0 { color: #f2f6f7; } .cv-legend li.c1 { color: #f5b942; } .cv-legend li.c2 { color: #6ea8ff; } .cv-legend li.c3 { color: #ff6b8b; } .cv-legend li.c4 { color: #b58cff; }
.curve-msg { margin: 0; padding: 18px 8px; text-align: center; color: var(--silver); }
@media (prefers-reduced-motion: reduce) { .cv-line { animation: none; } }
@media (max-width: 600px) { .curve-body { padding: 12px 8px; } .cv-goal-t { font-size: 10px; } }

/* ---------- Clips avec miniature ---------- */
.clip.has-img { padding: 0 0 16px; overflow: hidden; }
.clip.has-img > :not(.vid-thumb) { padding: 0 16px; }
.clip.has-img .vid-thumb { margin-bottom: 10px; clip-path: none; border-width: 0 0 1px; }
.clip.has-img .vid-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Palmarès ---------- */
.records { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-bottom: 44px; }
.record { position: relative; display: grid; gap: 4px; padding: 22px 22px 20px; background: var(--panel); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); transition: border-color .3s, transform .3s var(--ease); }
.record:hover { border-color: var(--teal); transform: translateY(-3px); }
.record small { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.record b { font-family: var(--display); font-weight: 700; font-size: 2.08rem; line-height: 1.05; color: var(--white); font-style: italic}
.record em { font-style: normal; font-weight: 700; color: var(--white); }
.record span { font-size: .82rem; color: var(--muted); }
.rank-board { display: grid; gap: 8px; margin-bottom: 44px; }
.rb-row { display: grid; grid-template-columns: 38px minmax(0, 1.2fr) 1fr 90px 70px; align-items: center; gap: 14px; padding: 12px 18px; background: rgba(33, 245, 224, .1); border-left: 3px solid var(--line); }
.rb-row:first-child { border-left-color: var(--teal); }
.rb-pos { font-family: var(--display); font-size: 1.12rem; color: var(--teal); font-weight: 700; font-style: italic}
.rb-name { font-weight: 700; color: var(--white); }
.rb-bar { height: 6px; background: rgba(183, 195, 201, .12); overflow: hidden; }
.rb-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), #8ffcec); transition: width 1s var(--ease); }
.rb-n { text-align: right; color: var(--silver); font-size: .85rem; }
.rb-wr { text-align: right; font-weight: 700; color: var(--teal); }
.pal-empty { padding: 36px 18px; text-align: center; color: var(--silver); border: 1px dashed var(--line); margin-bottom: 44px; }
@media (max-width: 640px) { .rb-row { grid-template-columns: 30px 1fr auto; } .rb-bar, .rb-n { display: none; } }

/* ---------- Pages légales ---------- */
.legal { max-width: 780px; }
.legal h2 { margin: 34px 0 10px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; text-transform: uppercase; color: var(--white); font-style: italic}
.legal p, .legal li { color: var(--silver); line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.legal .upd { color: var(--muted); font-size: .85rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin: 4px 0 0; font-size: .78rem; }
.footer-legal a { color: var(--muted); } .footer-legal a:hover { color: var(--teal); }

/* Lien vers le site Plasmik (plasmik.fr) */
.nav-links a { white-space: nowrap; }
.nav-links a.nav-home { color: var(--teal); }
@media (min-width: 761px) and (max-width: 1320px) {
  .nav-links a { padding: 10px 9px; letter-spacing: .08em; font-size: .8rem; }
  .nav-links a::after { left: 9px; right: 9px; }
}

/* =====================================================================
   DA V2 — logo « S » plat : aplats bleu plasma / blanc platine / noir.
   Pas de lueur, pas de dégradé, angles vifs, barres inclinées, losange.
   ===================================================================== */
#fx, .cursor-glow { display: none !important; }
::selection { background: var(--teal); color: var(--bg); }
.progress { background: var(--teal); }

/* En-tête : logo horizontal */
.brand img { width: 54px; height: auto; aspect-ratio: 1000 / 580; filter: none; }
.brand:hover img { transform: translateX(3px); filter: none; }
.brand-name { font-weight: 700; font-style: italic; letter-spacing: .08em; font-size: 1.4rem; transform: none; }
.nav-links a::after { height: 4px; transform: scaleX(0) skewX(-30deg); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1) skewX(-30deg); }

/* Boutons : parallélogrammes plats */
.btn { transform: skewX(-20deg); border-radius: 0; }
.btn span { transform: skewX(20deg); }
.btn::after { display: none; }
.btn:hover { transform: skewX(-20deg) translateY(-3px); background: var(--white); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.btn-ghost:hover { background: var(--teal); color: var(--bg); box-shadow: inset 0 0 0 2px var(--teal); }

/* Hero */
.hero-bg .floor, .hero-bg .vignette { display: none; }
.beam { background: rgba(33, 245, 224, .06); transform: rotate(-24deg); }
.beam-1 { top: 30%; height: 150px; }
.beam-2 { top: 30%; margin-top: 190px; height: 18px; background: rgba(33, 245, 224, .14); }
.beam-3 { top: 8%; height: 8px; background: rgba(239, 244, 245, .08); opacity: 1; }
@keyframes beam { from { transform: translateX(-5%) rotate(-24deg); } to { transform: translateX(5%) rotate(-24deg); } }
.wordmark { letter-spacing: .04em; }
.wordmark::after { mix-blend-mode: normal; color: var(--white); }
.road-line b { background: none; color: var(--teal); -webkit-background-clip: border-box; background-clip: border-box; animation: none; }
.eyebrow i, .tagline i, .track em { border-radius: 0; }

.hero-logo { width: min(560px, 96%); aspect-ratio: 1; }
.hero-logo .halo, .hero-logo .ring { display: none; }
.v2-deco { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.v2-deco .dia { transform-box: fill-box; transform-origin: center; animation: v2-dia 9s ease-in-out infinite; }
.v2-deco .bar { animation: v2-bar 6s ease-in-out infinite; }
.v2-deco .bar.b2 { animation-delay: -3s; }
@keyframes v2-dia { 50% { transform: scale(1.04); } }
@keyframes v2-bar { 50% { transform: translateX(14px); } }
.v2-mark { position: relative; width: 84%; height: auto; animation: float 6.5s ease-in-out infinite; }
.corner { border-color: var(--teal); }

/* Bandeaux : un plein bleu plasma, un en contour */
.marquees { transform: skewY(-3deg); background: var(--bg); border-block: 0; }
.m-fill { background: var(--teal); }
.m-fill .track span { color: var(--bg); }
.m-fill .track em { background: var(--bg); }
.m-outline .track span { -webkit-text-stroke: 1.5px var(--white); }
.track span { letter-spacing: .06em; }

/* Titres */
.kicker i { height: 6px; transform: skewX(-40deg); }
.title { letter-spacing: .02em; }
.outline { -webkit-text-stroke: 2px var(--teal); animation: none; }
.about::before, .goal::before { display: none; }
.hl { background: rgba(33, 245, 224, .07); border-left-width: 6px; }

/* Cartes : aplats « Nuit », filet bleu plasma */
.stat { background: var(--panel); border-color: var(--line); }
.stat::before { background: var(--teal); height: 4px; }
.player { background: var(--line); }
.player:hover { background: var(--teal); animation: none; }
.p-card { background: var(--panel); }
.p-card::after, .p-glare { display: none; }
.p-icon .jg.on { fill: rgba(33, 245, 224, .45); }
.p-role { transform: skewX(-20deg); }
.p-role b { transform: skewX(20deg); }

/* Chemin vers Platine */
.path::before { background: var(--line); height: 6px; }
.path::after { height: 6px; }
.node i { background: var(--bg); }
.path.in .node.final i, .path.dyn.in .node.final.reached i { background: var(--teal); animation: none; }

/* Citation : bandeau plat incliné */
.quote::before { background: rgba(33, 245, 224, .06); border-block: 0; transform: rotate(-6deg); }

/* Pages intérieures */
.timeline::before { background: var(--teal); }
.logo-prev { background: var(--bg); }
.rb-bar i { background: var(--teal); }
.scroll-hint i { background: var(--teal); }
.footer { background: var(--bg); }
.pf-name, .pl-name, .p-name { overflow-wrap: normal; word-break: normal; hyphens: none; font-size: clamp(1.1rem, 1.7vw, 1.45rem); letter-spacing: 0; }
@media (min-width: 901px) { .follow-grid { grid-template-columns: repeat(3, 1fr); } }

/* Correctifs v2.1 : badge Twitch des cartes roster (icône seule, ne chevauche plus le pictogramme) */
.p-twitch { top: 16px; right: 38px; padding: 7px; gap: 0; }
.p-twitch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.p-twitch svg { width: 17px; height: 17px; }
.p-icon { top: 31%; width: 46%; }
.player:hover .p-twitch { transform: none; }

/* L'équipe : les 5 joueurs sur une seule ligne (écrans larges) */
@media (min-width: 1100px) {
  .team-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .team-grid .profile { padding: 20px 18px 22px; }
  .team-grid .pf-name { font-size: 1.12rem; }
  .team-grid .pl-num { font-size: 2.2rem; }
  .team-grid .pl-role { padding: 4px 10px; letter-spacing: .14em; }
}

/* Avatars des joueurs (emotes) */
.p-icon.p-ava { top: 34%; width: 82%; filter: none; }
.p-icon.p-ava img { width: 100%; height: auto; transition: transform .35s var(--ease); }
.player:hover .p-icon.p-ava { transform: translate(-50%, -50%); filter: none; }
.player:hover .p-icon.p-ava img { transform: scale(1.08) rotate(-3deg); }
.pf-ava { width: 74%; max-width: 200px; height: auto; align-self: center; margin: 4px 0 6px; }
.pl-ava { width: clamp(64px, 8vw, 96px); height: auto; }
.roster .p-name { font-size: clamp(1rem, 1.25vw, 1.2rem); }
@media (max-width: 720px) {
  .p-icon.p-ava { left: auto; right: 12px; top: 12px; width: 120px; transform: none; }
  .player:hover .p-icon.p-ava { transform: none; }
}

/* Correctif v2.3 : l'avatar passe dans le flux de la carte (plus de chevauchement avec le texte) */
.roster .player { aspect-ratio: auto; }
.roster .p-card { justify-content: flex-start; padding-top: 54px; }
.roster .p-card::before { z-index: 0; }
.p-icon.p-ava { position: relative; left: auto; top: auto; right: auto; transform: none; width: 74%; aspect-ratio: 1; margin: 0 auto 12px; }
.player:hover .p-icon.p-ava { transform: none; }
.roster .p-info { margin-top: auto; }
@media (max-width: 720px) {
  .p-icon.p-ava { position: relative; right: auto; top: auto; width: 150px; margin: 0 auto 10px; }
  .roster .p-info { margin-top: 0; }
}

/* Correctif v2.4 : badge Twitch « en live » qui sortait de sa place + espace vide sous les stats */
.p-twitch.is-live { position: absolute; top: 16px; right: 38px; animation: tw-live 1.6s ease-in-out infinite; }
@keyframes tw-live { 50% { background: #ff5a70; } }
.roster.has-stats .p-stats { min-height: 0; }
.roster .p-info { margin-top: 0; flex: 1; display: flex; flex-direction: column; }
.roster .p-info > .p-role { align-self: flex-start; }
.roster .p-bar { margin-top: auto; }
.roster .p-stats { margin-bottom: 14px; }
@media (max-width: 720px) {
  .p-twitch.is-live { position: relative; top: auto; right: auto; }
}

/* ===== v2.5 — Partie en cours ===== */
.livegame { padding-top: clamp(50px, 7vw, 90px); padding-bottom: clamp(30px, 5vw, 60px); }
.livegame .sec-head { margin-bottom: 26px; }
.lg-card { background: var(--panel); border-top: 4px solid var(--teal); margin-bottom: 24px; }
.lg-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.lg-queue { background: var(--teal); transform: skewX(-20deg); padding: 3px 16px; }
.lg-queue span { display: block; transform: skewX(20deg); color: #07090e; font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; }
.lg-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--teal); }
.lg-live i { width: 9px; height: 9px; background: var(--teal); transform: rotate(45deg); animation: lg-blink 1.2s steps(2) infinite; }
@keyframes lg-blink { 50% { opacity: .2; } }
.lg-count { color: var(--silver); font-size: .9rem; }
.lg-clock { margin-left: auto; font-weight: 700; font-style: italic; font-size: 1.6rem; font-variant-numeric: tabular-nums; color: var(--white); }
.lg-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; padding: 20px 22px 24px; align-items: center; }
.lg-vs { font-weight: 700; font-style: italic; font-size: 1.8rem; color: var(--line); }
.lg-side { margin: 0 0 8px; font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; color: var(--muted); }
.lg-red .lg-side { text-align: right; }
.lg-row { display: flex; align-items: center; gap: 12px; padding: 6px 8px; margin-bottom: 4px; background: var(--bg-2); }
.lg-red .lg-row { flex-direction: row-reverse; text-align: right; }
.lg-row.is-specs { background: rgba(33, 245, 224, .08); box-shadow: inset 4px 0 0 var(--teal); }
.lg-red .lg-row.is-specs { box-shadow: inset -4px 0 0 var(--teal); }
.lg-champ { width: 48px; height: 48px; flex: none; background: var(--line); }
.lg-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.lg-txt b { font-weight: 700; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-who { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-style: italic; font-size: .85rem; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }
.lg-red .lg-who { flex-direction: row-reverse; }
.lg-who img { width: 26px; height: 26px; margin: -4px 0; }
@media (max-width: 760px) {
  .lg-grid { grid-template-columns: 1fr; }
  .lg-vs { text-align: center; font-size: 1.3rem; }
  .lg-red .lg-row { flex-direction: row; text-align: left; }
  .lg-red .lg-side { text-align: left; }
  .lg-red .lg-who { flex-direction: row; }
  .lg-red .lg-row.is-specs { box-shadow: inset 4px 0 0 var(--teal); }
  .lg-clock { margin-left: 0; }
}

/* ===== v2.5 — Stats : compte (niveau, Solo/Duo, maîtrises) + autres modes ===== */
.pl-acct { display: grid; grid-template-columns: auto minmax(180px, 1fr) 2fr; gap: 14px; margin-top: 20px; }
.pl-acct > div { background: var(--bg-2); padding: 12px 16px; border-top: 2px solid var(--line); }
.pl-acct small { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pl-acct b { display: block; font-weight: 700; color: var(--white); line-height: 1.2; }
.pl-acct span { font-size: .78rem; color: var(--silver); }
.ac-lvl { display: flex; align-items: center; gap: 12px; }
.ac-lvl img { width: 48px; height: 48px; clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px); }
.ac-lvl b { font-size: 1.5rem; font-style: italic; }
.ac-solo b { font-size: 1.05rem; font-style: italic; text-transform: uppercase; margin: 2px 0; }
.ac-mrow { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; }
.ac-m { display: flex; align-items: center; gap: 9px; }
.ac-m img { width: 38px; height: 38px; }
.ac-m b { font-size: .92rem; }
.ac-m span { font-size: .72rem; }
.pl-focus { display: flex; align-items: center; gap: 12px; margin: 26px 0 0; font-size: .74rem; font-weight: 700; font-style: italic; letter-spacing: .24em; text-transform: uppercase; color: var(--teal); }
.pl-focus::after { content: ''; flex: 1; height: 2px; background: var(--line); }
.pl-focus + .pl-prog { margin-top: 12px; }
.pl-others { margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--line); }
.pl-others h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 10px; font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--silver); }
.pl-others h3 span { font-weight: 500; letter-spacing: .08em; color: var(--muted); text-transform: none; font-size: .8rem; }
.pl-others .game { grid-template-columns: 82px 86px 1.2fr .9fr 1.4fr; opacity: .85; font-size: .78rem; }
.pl-others .game.w { background: rgba(33, 245, 224, .05); }
.g-q { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); }
@media (max-width: 820px) {
  .pl-acct { grid-template-columns: 1fr 1fr; }
  .ac-mast { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .pl-others .game { grid-template-columns: 1fr 1fr; row-gap: 4px; }
  .pl-others .g-q { grid-column: 2; grid-row: 1; text-align: right; }
  .pl-others .g-champ { grid-column: 1; grid-row: 2; text-align: left; }
  .pl-others .g-kda { grid-column: 2; grid-row: 2; text-align: right; }
}
