/* SAVAGeSport : noir profond, chrome du logo AVA, une lame jaune. */
@font-face { font-family: Michroma; src: url(../fonts/michroma.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Manrope; src: url(../fonts/manrope.woff2) format("woff2"); font-weight: 200 800; font-display: block; }

:root {
  --bg: #070707;
  --bg-2: #0d0d0d;
  --panel: #121212;
  --panel-2: #181818;
  --line: #232323;
  --ink: #f2f2f0;
  --soft: #c9c9c4;
  --muted: #9a9a94;
  --gold: #f2d21b;
  --gold-2: #ffe24d;
  --danger: #ff6b5e;
  --steel: linear-gradient(180deg, #ffffff 0%, #e4e4e4 34%, #858585 50%, #f0f0f0 68%, #b0b0b0 100%);
  --display: Michroma, "Arial Black", sans-serif;
  --text: Manrope, system-ui, sans-serif;
  --cut: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { background: #060606; overflow-x: clip; font-size: clamp(15px, 10.5px + .3vw, 18px); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); font: 400 1rem/1.65 var(--text); background: url(../img/motif.svg) 0 0 / 600px 600px, radial-gradient(80% 60% at 50% 0%, #121212, transparent) 0 0 / 100% 1000px no-repeat, #060606; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .22em; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { color: #000; background: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; padding: 8px 14px; color: #000; background: var(--gold); }
.skip:focus { left: 8px; }
.wrap { width: min(86rem, 100%); margin-inline: auto; padding-inline: clamp(18px, 4vw, 56px); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.arrow { width: 1.05em; height: 1.05em; flex: none; transition: translate .25s var(--ease); }
a:hover > .arrow, button:hover > .arrow { translate: 4px 0; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.gold { color: var(--gold); }

/* Titres */
.chrome { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; background: var(--steel); background-size: 100% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { color: var(--gold); font: 700 .95rem/1.3 var(--text); }
.lead { max-width: 38rem; color: var(--soft); font-size: 1.15rem; line-height: 1.6; }
.h2 { font: 400 clamp(1.5rem, 2.6vw, 2.2rem)/1.15 var(--display); letter-spacing: -.02em; }
.h2 a { text-decoration: none; }
.h2 a:hover { color: var(--gold); }
.h3 { font: 400 1.2rem/1.25 var(--display); letter-spacing: -.01em; }
.count { color: var(--gold); font-size: .6em; vertical-align: .4em; }

/* Boutons : coupés en biais, comme la lame */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: .85em 1.6em; border: 0; font-weight: 800; font-size: .92rem; letter-spacing: .01em; text-decoration: none; white-space: nowrap; cursor: pointer; clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); transition: background .2s, color .2s, translate .2s var(--ease); }
.btn:hover { translate: 0 -2px; }
.btn-gold { color: #000; background: var(--gold); }
.btn-gold:hover { background: var(--gold-2); }
.btn-line { color: var(--ink); background: var(--panel-2); box-shadow: inset 0 0 0 1px #3a3a3a; }
.btn-line:hover { color: #000; background: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 10px; color: var(--soft); font-weight: 700; text-decoration: none; }
.more:hover { color: var(--gold); }
.link-danger { padding: 0; color: var(--danger); background: none; border: 0; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

/* En-tête */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.top.is-solid { background: rgb(7 7 7 / .96); box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font: 400 .95rem var(--display); letter-spacing: .02em; text-decoration: none; }
.brand img { border-radius: 10px; }
.menu { display: flex; gap: clamp(16px, 2vw, 32px); margin-left: auto; font-weight: 700; font-size: .92rem; }
.menu a { position: relative; padding: 6px 0; color: var(--soft); text-decoration: none; transition: color .2s; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu a:hover, .menu a[aria-current] { color: var(--ink); }
.menu a:hover::after, .menu a[aria-current]::after { transform: scaleX(1); }
.menu-me { display: inline-flex; align-items: center; gap: 8px; }
.menu-me img { width: 26px; height: 26px; border-radius: 50%; }
.top-cta { padding: .7em 1.3em; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; background: none; border: 0; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; margin: 6px auto; background: var(--ink); transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Accueil */
.hero { position: relative; padding: 96px clamp(12px, 2.8vw, 40px) 0; }
.hero-panel { min-height: 680px; }
/* Le panneau : arrondi comme les autres sites, une lame d'or le traverse comme sur AVA */
.hero-panel { position: relative; height: clamp(600px, 74vh, 720px); overflow: hidden; isolation: isolate; border-radius: 30px; background: radial-gradient(42% 58% at 50% 40%, rgb(242 210 27 / .11), transparent 70%), linear-gradient(180deg, #101010, #0a0a0a); box-shadow: inset 0 0 0 1px #202020, inset 0 1px 0 #2e2e2e, 0 40px 80px -40px #000; }
.hero-panel::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(0deg, rgb(255 255 255 / .018) 0 1px, transparent 1px 4px); }
.hero-trame { position: absolute; z-index: -2; left: 50%; top: 44%; width: 126%; max-width: none; height: auto; translate: -50% -50%; opacity: .75; }
.hero-blade { position: absolute; z-index: -1; right: 21%; top: -12%; width: 2px; height: 130%; background: linear-gradient(transparent, var(--gold) 20%, var(--gold) 70%, transparent); box-shadow: 0 0 24px rgb(242 210 27 / .45); rotate: 24deg; }
/* La lunette graduée autour du logo, qui tourne lentement */
.scope { position: absolute; left: 50%; top: 35%; width: min(520px, 92vw); aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
.scope svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; }
.scope-a { stroke: rgb(255 255 255 / .26); animation: spin 60s linear infinite; }
.scope-a circle { stroke: rgb(255 255 255 / .12); }
.scope-a .t-gold { stroke: var(--gold); }
.scope-b { animation: spin 40s linear infinite reverse; }
.scope-b circle { stroke: rgb(255 255 255 / .1); stroke-dasharray: 2 7; }
.scope-b path { stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-art { position: absolute; left: 50%; top: 33%; width: min(330px, 62vw); translate: -50% -50%; }
.hero-art img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgb(0 0 0 / .9)); }
.hero-text { position: absolute; left: 16px; right: 16px; bottom: 150px; text-align: center; }
.hero-title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.1; }
.hero-lead { max-width: 46ch; margin: 10px auto 22px; color: var(--soft); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* Les formes : rondes et coupées, comme sur natalluxa et Kira, dans la matière AVA */
.sh { position: absolute; z-index: -1; pointer-events: none; }
.sh-disc { left: -90px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle at 70% 30%, rgb(242 210 27 / .2), rgb(242 210 27 / .03) 55%, transparent 70%); }
.sh-ring { right: 10%; top: 40%; width: 74px; height: 74px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--gold); animation: drift 9s ease-in-out infinite alternate; }
.sh-ring::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--gold); }
.sh-dots { right: 17%; bottom: 16%; width: 96px; height: 96px; border-radius: 50%; border: 1.5px dotted rgb(255 255 255 / .4); animation: drift 12s ease-in-out infinite alternate-reverse; }
.sh-chev { right: 30%; top: 13%; width: 30px; height: 27px; background: linear-gradient(180deg, #fff, #8a8a8a); clip-path: polygon(0 100%, 50% 0, 100% 100%, 80% 100%, 50% 34%, 20% 100%); animation: drift 10s ease-in-out infinite alternate; }
.sh-half { left: 16%; bottom: 31%; width: 52px; height: 26px; border-radius: 52px 52px 0 0; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .45); rotate: -18deg; animation: drift 11s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(10px, -14px) rotate(8deg); } }
/* Le cercle de texte qui tourne */
.badge { position: absolute; left: clamp(20px, 4.5vw, 64px); top: clamp(20px, 4vw, 52px); width: 140px; height: 140px; }
.badge svg { width: 100%; height: 100%; animation: spin 20s linear infinite; }
.badge text { font: 400 11px var(--display); fill: var(--gold); }
.badge img { position: absolute; left: 50%; top: 50%; width: 50px; height: auto; translate: -50% -50%; border-radius: 12px; box-shadow: 0 0 0 6px #0d0d0d, 0 0 0 7px #2a2a2a; }

/* Sections */
.sec { position: relative; padding: clamp(56px, 8vw, 110px) 0; }
.sec + .sec { padding-top: 0; }
.sec-head { position: relative; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 30px; margin-bottom: 34px; }
.empty { max-width: 60ch; color: var(--muted); font-size: 1.05rem; }
.empty a { color: var(--ink); }

/* Prochain rendez-vous : à l'air libre, le compte à rebours en grand */
.next-in, .weekly { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 30px 60px; }
.weekly { grid-template-columns: minmax(0, 1fr) auto; }
.weekly .btn { grid-column: 1; justify-self: start; }
.next-title { margin: 10px 0 10px; font-size: clamp(1.8rem, 4.2vw, 3.6rem); line-height: 1.05; }
.next-meta { margin-bottom: 26px; color: var(--soft); font-size: 1.05rem; }
.weekly .lead { margin-top: 12px; }
.clock { display: flex; align-items: flex-start; gap: clamp(10px, 2vw, 26px); }
.clock span { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 3.6ch; }
.clock span + span::before { content: ""; position: absolute; left: calc(clamp(10px, 2vw, 26px) / -2 - 1px); top: 12%; height: 52%; width: 2px; background: var(--gold); transform: skewX(-20deg); }
.clock b { font: 400 clamp(2.4rem, 5.2vw, 4.6rem)/1 var(--display); font-variant-numeric: tabular-nums; background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; }
.clock small { margin-top: 10px; color: var(--muted); font-size: .8rem; font-weight: 700; }

/* Rosters (accueil) : une grande ligne par roster, la lame passe au survol */

/* Actus */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.news-card { display: flex; flex-direction: column; text-decoration: none; }
.news-card:hover strong { color: var(--gold); }
.news-pic { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.news-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-pic .news-ph { object-fit: contain; padding: 14% 22%; opacity: .35; mix-blend-mode: lighten; }
.news-card:hover .news-pic img { transform: scale(1.04); }
.score { position: absolute; left: 14px; bottom: 14px; padding: 4px 12px; color: var(--ink); background: #000; font: 400 .78rem var(--display); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.score.is-win { color: #000; background: var(--gold); }
.news-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 0 0; }
.news-body small { color: var(--muted); font-size: .8rem; font-weight: 700; }
.news-body strong { font: 400 1.05rem/1.35 var(--display); transition: color .2s; }
.news-body em { color: var(--soft); font-style: normal; font-size: .95rem; }

/* Bandeau recrutement : pleine largeur, le mot « Tryouts » en contour derrière */

/* Bannière des pages intérieures */
.banner { position: relative; padding: clamp(140px, 18vh, 200px) 0 clamp(48px, 7vw, 90px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(115deg, transparent 0 150px, rgb(255 255 255 / .022) 150px 151px); }
.banner h1 { margin: 20px 0 16px; font-size: clamp(2.4rem, 6vw, 5.4rem); line-height: 1; overflow-wrap: anywhere; }
.banner-blade { position: absolute; z-index: -1; right: 12%; top: -30%; width: 2px; height: 180%; background: var(--gold); box-shadow: 0 0 30px rgb(242 210 27 / .4); transform: rotate(25deg); }
.banner-404 { min-height: 70vh; display: flex; align-items: center; }

/* Équipe */
.team-head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 10px 28px; margin-bottom: 30px; }
.team-head .h2 { margin-top: 12px; }
.team-n { font: 400 clamp(2.4rem, 4vw, 3.6rem)/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .22); }
.players { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(10.5rem, 100%), 1fr)); gap: 30px clamp(14px, 2vw, 26px); }
.player { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.player:hover .pic { filter: brightness(1.15); }
.pic { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 10px; transition: filter .3s; background: var(--bg-2); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.pic-mono { display: grid; place-items: center; background: radial-gradient(80% 80% at 30% 20%, #222, #0a0a0a); box-shadow: inset 0 0 0 1px #262626; }
.pic-mono b { font: 400 2rem var(--display); background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; }
.player strong { font: 400 .95rem/1.3 var(--display); overflow-wrap: anywhere; }
.role { color: var(--muted); font-size: .82rem; font-weight: 700; }
.role.is-lead { color: var(--gold); }
.player-links { display: flex; gap: 10px; margin-top: 4px; }
.player-links a { color: var(--muted); }
.player-links a:hover { color: var(--gold); }
.team-page { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.team-side { display: grid; gap: 24px; position: sticky; top: 100px; }
.team-logo { width: 9rem; height: 9rem; object-fit: contain; }
.side-card { display: grid; gap: 14px; padding: 4px 0 4px 20px; border-left: 2px solid var(--gold); }
.side-card p:not(.kicker) { color: var(--soft); }
.players-big { grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr)); }

/* Tournois */
.t-list { display: grid; margin-top: 26px; border-top: 1px solid var(--line); }
.t-row { position: relative; display: grid; grid-template-columns: 5rem minmax(0, 1fr) auto auto; align-items: center; gap: 22px; padding: 20px 8px; text-decoration: none; border-bottom: 1px solid var(--line); transition: background .25s; }
.t-row:hover { background: linear-gradient(100deg, rgb(242 210 27 / .08), transparent 60%); }
.t-date { display: flex; flex-direction: column; align-items: flex-start; }
.t-date b { font: 400 1.6rem/1 var(--display); }
.t-date small { color: var(--gold); font-size: .85rem; font-weight: 800; }
.t-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.t-main strong { font: 400 1.05rem/1.3 var(--display); }
.t-main em { color: var(--muted); font-style: normal; font-size: .9rem; }
.t-places { color: var(--soft); font-size: .9rem; font-weight: 700; }
.tag { padding: 4px 12px; color: var(--muted); background: var(--bg); font-size: .78rem; font-weight: 800; white-space: nowrap; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.tag.is-open { color: #000; background: var(--gold); }
.t-past .t-row { opacity: .8; }
.t-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: clamp(24px, 4vw, 60px); align-items: start; }
.t-info { display: grid; gap: 28px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 20px; }
.facts div { padding-left: 16px; border-left: 1px solid #333; }
.facts dt { color: var(--muted); font-size: .8rem; font-weight: 700; }
.facts dd { margin-top: 4px; font: 400 .95rem/1.35 var(--display); }
.rules { border-block: 1px solid var(--line); }
.rules summary { padding: 18px 0; font-weight: 800; cursor: pointer; }
.rules .prose { padding: 0 0 20px; }
.t-signup { position: sticky; top: 100px; display: grid; gap: 16px; padding: 28px; background: var(--panel); box-shadow: inset 0 3px 0 var(--gold); }
.entries { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr)); gap: 0 40px; margin-top: 26px; }
.entries li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.entries span { grid-row: span 2; color: var(--gold); font: 400 1.1rem var(--display); }
.entries strong { font-weight: 800; overflow-wrap: anywhere; }
.entries em { color: var(--muted); font-style: normal; font-size: .85rem; overflow-wrap: anywhere; }

/* Formulaires */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; color: var(--soft); font-size: .88rem; font-weight: 700; }
.form input, .form select, .form textarea { width: 100%; padding: .8em 1em; color: var(--ink); font-weight: 500; background: var(--bg); border: 1px solid #2e2e2e; border-radius: 0; transition: border-color .2s; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #444; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 0; border-color: var(--gold); }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.notice { padding: 14px 18px; font-weight: 700; background: var(--panel-2); border-left: 3px solid var(--gold); }
.notice-error { border-color: var(--danger); }

/* Recrutement */
.recruit { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.recruit-why { display: grid; gap: 26px; }
.steps { display: grid; gap: 22px; counter-reset: s; }
.steps li { position: relative; display: grid; gap: 4px; padding-left: 76px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -6px; width: 56px; color: transparent; -webkit-text-stroke: 1px var(--gold); font: 400 2.6rem/1 var(--display); }
.steps b { font: 400 .95rem var(--display); }
.steps span { color: var(--soft); }
.recruit-form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); background: var(--panel); box-shadow: inset 0 3px 0 var(--gold); }
.mine { display: grid; gap: 3px; }
.mine li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 16px; background: var(--bg); }
.mine a { font-weight: 800; }
.mine-title { margin-top: 10px; }

/* Actus */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.filters a { padding: 8px 18px; color: var(--soft); font-weight: 800; font-size: .88rem; text-decoration: none; background: var(--panel); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.filters a[aria-current] { color: #000; background: var(--gold); }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.article { max-width: 52rem; display: grid; gap: 34px; }
.article-cover { width: 100%; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%); }
.match { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 30px 0; text-align: center; border-block: 1px solid var(--line); }
.match small { color: var(--muted); font-size: .85rem; font-weight: 800; }
.match strong { display: block; margin-top: 6px; font: 400 1.1rem var(--display); }
.match-score { display: flex; align-items: center; gap: 14px; font: 400 clamp(2rem, 5vw, 3.4rem)/1 var(--display); }
.match-score i { color: var(--muted); font-style: normal; }
.match-event { grid-column: 1 / -1; color: var(--muted); }
.prose { display: grid; gap: 1.1em; color: var(--soft); font-size: 1.05rem; max-width: 70ch; }
.prose strong { color: var(--ink); }
.prose a { color: var(--gold); }
.prose h2 { margin-top: .8em; color: var(--ink); font: 400 1.25rem/1.3 var(--display); }

/* Association */
.story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.story-text { font-size: 1.12rem; }
.timeline { position: relative; display: grid; gap: 26px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), #333); }
.timeline li { position: relative; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 8px; width: 12px; height: 12px; background: var(--gold); transform: rotate(45deg); }
.timeline b { font: 400 1rem var(--display); }
.timeline span { color: var(--soft); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px clamp(20px, 3vw, 44px); margin-top: 34px; }
.values div { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid #2a2a2a; transition: border-color .3s; }
.values b { font: 400 1.1rem var(--display); }
.values div:hover { border-color: var(--gold); }
.values span { color: var(--soft); }
.support { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px 60px; padding-top: clamp(30px, 4vw, 50px); border-top: 1px solid var(--line); }
.support .h2 { margin: 14px 0 12px; }
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.legal { max-width: 52rem; }

/* Mon espace */
.me { padding-top: clamp(130px, 16vh, 180px); }
.me-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; margin: 20px 0 40px; }
.pic-xl { width: 6.5rem; margin: 0; }
.me-name { margin-top: 10px; font-size: clamp(1.6rem, 4vw, 2.8rem); }
.me-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.me-actions form { margin: 0; }
.me-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 50px); }
.me-grid > div { display: grid; gap: 16px; align-content: start; }
.me-delete { margin-top: 50px; text-align: right; }

/* Pied de page */
.foot { margin-top: clamp(60px, 8vw, 110px); padding: 60px 0 30px; background: url(../img/motif.svg) 360px 200px / 600px 600px, var(--bg-2); border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand img { width: 11rem; height: auto; mix-blend-mode: lighten; }
.foot-brand p { max-width: 26rem; color: var(--muted); }
.foot-nav { display: grid; align-content: start; gap: 10px; font-weight: 700; }
.foot-nav a { color: var(--soft); text-decoration: none; }
.foot-nav a:hover { color: var(--gold); }
.foot-side { display: grid; align-content: start; justify-items: start; gap: 16px; }
.foot-mail { color: var(--soft); }
.socials { display: flex; flex-wrap: wrap; gap: 6px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; color: var(--soft); box-shadow: inset 0 0 0 1px #2c2c2c; transition: color .2s, background .2s, box-shadow .2s; }
.socials a:hover { color: #000; background: var(--gold); box-shadow: none; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.foot-legal a { color: var(--soft); }

/* ---------- Mouvement ---------- */
/* Apparitions au défilement : discrètes, une seule fois */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 60ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Arrivée sur l'accueil (sans intro) : le panneau s'allume */
html.js:not(.intro-play):not(.intro-done) .is-home .hero-art img, html.js:not(.intro-play):not(.intro-done) .is-home .scope { animation: hero-in 1s var(--ease) both; }
html.js:not(.intro-play) .is-home .hero-text, html.js:not(.intro-play) .is-home .figs { animation: fade .9s .2s var(--ease) both; }
@keyframes blade-in { from { transform: rotate(25deg) translateY(-30%); opacity: 0; } }
@keyframes hero-in { from { opacity: 0; transform: scale(.94); } }
@keyframes rise { from { transform: translateY(40%); opacity: 0; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } }
@keyframes art-in { from { opacity: 0; transform: translateX(8%) scale(.96); } }
@keyframes shine { from { background-position: 150% 0, 0 0; } to { background-position: -100% 0, 0 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .pt, .intro { display: none; }
}

/* ---------- Écrans plus petits ---------- */
@media (max-width: 1100px) {
  .rosters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weekly { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 900px) {
  .menu { position: fixed; inset: 76px 0 auto; display: none; flex-direction: column; gap: 0; padding: 10px 18px 24px; background: rgb(7 7 7 / .98); box-shadow: 0 1px 0 var(--line); }
  .menu.is-open { display: flex; }
  .menu a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .menu a::after { display: none; }
  .burger { display: block; }
  .top-cta span { display: none; }
  .top-cta { padding: .7em 1em; }
  .top-in { gap: 12px; }
  .badge { width: 104px; height: 104px; }
  .badge img { width: 38px; }
  .sh-ring, .sh-chev { display: none; }
  .next-in, .support, .rost { grid-template-columns: 1fr; }
  .team-page, .t-page, .recruit, .story, .me-grid { grid-template-columns: 1fr; }
  .team-side, .t-signup { position: static; }
  .team-head { grid-template-columns: 1fr; }
  .team-n { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .me-head { grid-template-columns: auto 1fr; }
  .me-actions { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero-panel { height: 640px; border-radius: 22px; }
  .badge { display: none; }
  .hero-art { top: 27%; }
  .scope { top: 29%; }
  .clock b { font-size: 2.1rem; }
  .news-grid { gap: 36px; }
  .rosters, .news-grid, .values { grid-template-columns: 1fr; }
  .roster { min-height: 15rem; }
  .t-row { grid-template-columns: 4rem minmax(0, 1fr); }
  .t-places, .t-row .tag { grid-column: 2; justify-self: start; }
  .form-2 { grid-template-columns: 1fr; }
  .players { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .match { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
}

.sec > .wrap > .h2 + .players { margin-top: 28px; }

/* ---------- Texture ---------- */
/* Un grain très fin sur tout le site, comme une impression, plus des lignes de balayage sur les grandes bannières */
:root { --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body::before { content: ""; position: fixed; inset: 0; z-index: 96; pointer-events: none; background: var(--noise); background-size: 180px; opacity: .055; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(0deg, rgb(255 255 255 / .022) 0 1px, transparent 1px 4px); -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent); }
.sec { isolation: isolate; }

/* ---------- Intro de l'accueil ---------- */
/* Le contour du logo se dessine au trait doré, le chrome le remplit, puis il glisse à sa place. */
html.intro-on { background: #000; }
html.intro-on body { visibility: hidden; }
html.intro-play { overflow: hidden; }
html.intro-fly .hero-art { visibility: hidden; }
html.intro-done .is-home .hero-art { animation: none; }
.intro { position: fixed; inset: 0; z-index: 95; overflow: hidden; visibility: visible; }
.intro-bg { position: absolute; inset: 0; background: radial-gradient(50% 50% at 50% 50%, rgb(242 210 27 / .06), transparent 70%), url(../img/motif.svg) center / 600px 600px, #040404; }
.intro-line { position: absolute; left: 8%; right: 8%; top: 50%; height: 1px; background: var(--gold); box-shadow: 0 0 12px rgb(242 210 27 / .7); transform: scaleX(0); }
.intro-words { position: absolute; inset: 0; display: grid; place-items: center; }
.intro-words span { grid-area: 1 / 1; padding: 0 16px; opacity: 0; font: 400 clamp(1.3rem, 6vw, 5.4rem)/1.1 var(--display); letter-spacing: -.02em; text-align: center; background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro-logo { position: absolute; left: 50%; top: 50%; width: min(30rem, 72vw); aspect-ratio: 900 / 710; margin: calc(min(30rem, 72vw) * -355 / 900) 0 0 calc(min(30rem, 72vw) / -2); will-change: transform; }
.intro-logo img { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: inset(0 100% 0 0); }
.intro-logo svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgb(242 210 27 / .55)); }
.intro-skip { position: absolute; right: 20px; bottom: 18px; padding: 6px 2px; color: var(--muted); background: none; border: 0; font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; opacity: 0; }
.intro-skip:hover { color: var(--ink); }

/* ---------- Changement de page, comme sur natalluxa.com ---------- */
/* Deux bandes se ferment avec un trait doré là où elles se rejoignent, une courte scène annonce la page
   (son nom en chrome, quelques mots, un motif propre à la page), puis les bandes s'ouvrent sur la nouvelle page. */
.pt { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; visibility: hidden; color: var(--gold); }
.pt.is-on { visibility: visible; }
html.pt-arrive body > :not(.pt):not(script) { visibility: hidden; }
html.pt-arrive { background: #050505; }
.pt-band { position: absolute; left: 0; right: 0; height: 50.2%; background: url(../img/motif.svg) 0 0 / 600px 600px, #060606; }
.pt-top { top: 0; transform: translateY(-100%); }
.pt-bot { bottom: 0; transform: translateY(100%); }
.pt-top::after, .pt-bot::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 30%, #fff3a0 50%, var(--gold) 70%, transparent); box-shadow: 0 0 14px rgb(242 210 27 / .7); }
.pt-top::after { bottom: 0; }
.pt-bot::after { top: 0; }
.pt.is-settled .pt-band { transform: none; }
.pt-stage { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 16px; text-align: center; opacity: 0; background: radial-gradient(40% 40% at 50% 50%, rgb(242 210 27 / .08), transparent 70%); }
.pt.is-settled .pt-stage { opacity: 1; }
.pt-title { position: relative; z-index: 1; white-space: nowrap; font: 400 clamp(2.2rem, 8vw, 6.6rem)/1.15 var(--display); letter-spacing: -.02em; }
.pt-l { display: inline-block; overflow: hidden; padding-bottom: .24em; margin-bottom: -.12em; vertical-align: bottom; }
.pt-l > span { display: inline-block; background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pt-words { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; margin-top: 14px; color: var(--soft); font-size: clamp(.95rem, 1.8vw, 1.3rem); font-weight: 700; }
.pt-words span:first-child { color: var(--gold); }
/* Les motifs, un par page */
.pt-m { position: absolute; pointer-events: none; }
.pt-m path, .pt-m circle { vector-effect: none; }
.pt-m-logo { left: 50%; top: 50%; width: min(70vmin, 640px); translate: -50% -56%; opacity: .22; }
.pt-m-logo path, .pt-m-bracket path, .pt-m-shield path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pt.is-playing .pt-m-logo path, .pt.is-playing .pt-m-bracket path, .pt.is-playing .pt-m-shield path { animation: pt-draw .7s .2s cubic-bezier(.45, 0, .2, 1) forwards; }
.pt.is-settled .pt-m-logo path, .pt.is-settled .pt-m-bracket path, .pt.is-settled .pt-m-shield path { stroke-dashoffset: 0; }
@keyframes pt-draw { to { stroke-dashoffset: 0; } }
.pt-m-bracket { left: 50%; top: 50%; width: min(86vw, 900px); translate: -50% -50%; opacity: .3; }
.pt-m-shield { left: 50%; top: 50%; width: 86vmin; translate: -50% -50%; opacity: .3; }
.pt-m-cross { left: 50%; top: 50%; width: 78vmin; translate: -50% -50%; opacity: .3; }
.pt.is-playing .pt-m-cross { animation: pt-lock .7s .2s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes pt-lock { from { opacity: 0; transform: scale(1.5) rotate(-40deg); } 70% { opacity: .35; } to { opacity: .3; transform: none; } }
.pt-m-lineup { left: 50%; bottom: 12%; display: flex; gap: 2vw; translate: -50% 0; opacity: .3; }
.pt-m-lineup span { width: min(9vw, 110px); aspect-ratio: 3 / 4; background: linear-gradient(180deg, currentColor, transparent); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.pt.is-playing .pt-m-lineup span { animation: pt-card .55s calc(.2s + var(--i) * 60ms) cubic-bezier(.16, 1, .3, 1) both; }
@keyframes pt-card { from { opacity: 0; transform: translateY(60%); } }
.pt-m-signal { left: 0; right: 0; top: 14%; display: flex; align-items: center; justify-content: center; gap: .6vw; height: 16vh; opacity: .35; }
.pt-m-signal span { width: .45vw; min-width: 3px; background: currentColor; animation: pt-signal .7s ease-in-out infinite alternate; }
@keyframes pt-signal { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.pt-m-rings { inset: 0; display: grid; place-items: center; }
.pt-m-rings span { grid-area: 1 / 1; width: calc(44vmin + var(--i) * 26vmin); aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; opacity: .3; }
.pt.is-playing .pt-m-rings span { animation: pt-ring .6s calc(.2s + var(--i) * 110ms) cubic-bezier(.16, 1, .3, 1) both; }
@keyframes pt-ring { from { opacity: 0; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .pt { display: none; } }

/* Titres de section : une petite lame dorée en deux morceaux dessous */
.sec-head .h2::after, .team-head .h2::after { content: ""; display: block; width: 60px; height: 6px; margin-top: 14px; background: linear-gradient(90deg, var(--gold) 70%, transparent 70% 80%, var(--gold) 80%); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }

/* ---------- Accueil, version G ---------- */
/* Les chiffres, posés dans le bas du panneau, séparés par des barres dorées, sur une réglette graduée */
.figs { position: absolute; left: 0; right: 0; bottom: 50px; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; margin: 0; }
.figs div { position: relative; display: flex; flex-direction: column-reverse; align-items: center; padding: 0 clamp(16px, 2.6vw, 38px); text-align: center; }
.figs div + div::before { content: ""; position: absolute; left: -1px; bottom: 6px; width: 2px; height: 34px; background: var(--gold); transform: skewX(-20deg); }
.figs dd { font: 400 clamp(1.5rem, 2.8vw, 2.5rem)/1 var(--display); background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgb(0 0 0 / .6)); }
.figs dd.is-gold { background: none; color: var(--gold); -webkit-text-fill-color: var(--gold); }
.figs dt { margin-top: 8px; color: var(--muted); font-size: .85rem; }
.ruler { position: absolute; left: 50%; bottom: 22px; width: min(860px, 88%); height: 14px; translate: -50% 0; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .18) 0 1px, transparent 1px 10px) bottom / 100% 6px no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.ruler::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgb(255 255 255 / .14); }
.ruler i { position: absolute; bottom: 0; width: 2px; height: 14px; background: var(--gold); box-shadow: 0 0 8px rgb(242 210 27 / .7); }

/* Le tournoi de la semaine : le seul grand moment doré, en or brossé */
.goldblock { position: relative; margin: clamp(50px, 7vw, 80px) clamp(12px, 2.8vw, 40px) 0; padding: clamp(36px, 5vw, 60px) 0; overflow: hidden; isolation: isolate; border-radius: 30px; color: #0a0a0a; background: repeating-linear-gradient(0deg, rgb(255 255 255 / .05) 0 1px, transparent 1px 3px), radial-gradient(60% 120% at 80% 20%, rgb(255 225 110 / .35), transparent 60%), linear-gradient(115deg, #6e5004 0%, #a8800a 38%, #c99f12 55%, #8a6606 100%); box-shadow: inset 0 1px 0 rgb(255 240 170 / .5), inset 0 -1px 0 rgb(0 0 0 / .3); }
.goldblock-trame { position: absolute; z-index: -1; right: -6%; top: 50%; width: 58%; max-width: none; height: auto; translate: 0 -50%; filter: invert(1); opacity: .22; mix-blend-mode: multiply; }
.goldblock .kicker { color: #0a0a0a; }
.goldblock .next-title { color: #0a0a0a; text-shadow: 0 1px 0 rgb(255 240 170 / .35); }
.goldblock .next-meta { color: rgb(10 10 10 / .8); font-weight: 600; }
.goldblock .clock b { background: none; color: #0a0a0a; -webkit-text-fill-color: #0a0a0a; text-shadow: 0 1px 0 rgb(255 240 170 / .35); }
.goldblock .clock small { color: rgb(10 10 10 / .7); }
.goldblock .clock span + span::before { background: #0a0a0a; opacity: .5; }
.btn-dark { color: var(--gold); background: #0a0a0a; }
.btn-dark:hover { color: #000; background: #fff; }

/* Les rosters : le titre à gauche, la liste à droite */
.rost { display: grid; grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.rost-side p { margin: 0 0 24px; color: var(--soft); }
.rost-side .sec-head { margin-bottom: 22px; }
.rost-big { margin-top: 30px !important; font: 400 clamp(4rem, 8vw, 7.5rem)/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgb(242 210 27 / .45); }
.rost-big small { margin-left: 10px; color: var(--muted); font: 600 .95rem var(--text); -webkit-text-stroke: 0; }
.r-list { display: grid; }
.r-row { position: relative; display: grid; grid-template-columns: 5.4rem minmax(0, 1fr) auto 2.8rem; align-items: center; gap: clamp(14px, 2vw, 26px); padding: 22px 16px 22px 12px; text-decoration: none; border-top: 1px solid #1d1d1d; transition: background .3s; }
.r-row:last-child { border-bottom: 1px solid #1d1d1d; }
.r-row::before { content: ""; position: absolute; left: 0; top: -1px; width: 28px; height: 1px; background: var(--gold); transition: width .5s var(--ease); }
.r-row:hover { background: linear-gradient(100deg, rgb(242 210 27 / .08), transparent 70%); }
.r-row:hover::before { width: 100%; }
.r-tag { justify-self: start; padding: 6px 12px; color: var(--gold); font: 400 .72rem var(--display); box-shadow: inset 0 0 0 1px rgb(242 210 27 / .5); clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.r-name { display: grid; gap: 4px; min-width: 0; }
.r-name strong { font: 400 clamp(1.1rem, 1.7vw, 1.4rem)/1.2 var(--display); background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; overflow-wrap: anywhere; }
.r-name small { color: var(--muted); font-size: .9rem; }
.r-faces { display: flex; align-items: center; }
.r-faces span, .r-faces img { display: grid; place-items: center; width: 38px; height: 38px; margin-left: -5px; border-radius: 50%; object-fit: cover; color: var(--soft); font: 400 .6rem var(--display); background: radial-gradient(circle at 30% 25%, #2a2a2a, #111); box-shadow: 0 0 0 2px #080808, inset 0 0 0 1px #333; }
.r-faces > :first-child { margin-left: 0; }
.r-faces b { margin-left: 12px; color: var(--soft); font-size: .88rem; }
.r-go { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; box-shadow: inset 0 0 0 1px #333; transition: background .3s, box-shadow .3s; }
.r-go .arrow { width: 1.1rem; height: 1.1rem; }
.r-row:hover .r-go { background: var(--gold); box-shadow: none; color: #000; }

/* Le recrutement : un panneau, le logo entier dans une lunette */
.join { position: relative; margin: clamp(50px, 7vw, 80px) clamp(12px, 2.8vw, 40px) 0; padding: clamp(50px, 7vw, 76px) 0; overflow: hidden; isolation: isolate; border-radius: 30px; background: linear-gradient(115deg, #121212, #0a0a0a 60%); box-shadow: inset 0 0 0 1px #222, inset 0 1px 0 #2e2e2e; }
.join .h2 { margin: 12px 0 14px; max-width: 18ch; font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.join .lead { max-width: 42ch; }
.join .btn { margin-top: 26px; }
.join-logo { position: absolute; z-index: -1; right: 9%; top: 50%; width: min(300px, 30vw); height: auto; translate: 0 -50%; filter: drop-shadow(0 20px 40px #000); }
.join-ring { position: absolute; z-index: -1; right: calc(9% + min(150px, 15vw)); top: 50%; width: min(420px, 42vw); aspect-ratio: 1; translate: 50% -50%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); background: radial-gradient(circle, rgb(242 210 27 / .1), transparent 65%); animation: spin 50s linear infinite; }
.join-ring::before { content: ""; position: absolute; inset: 26px; border-radius: 50%; border: 1px dashed rgb(255 255 255 / .12); }
.join-ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--gold); }
.join-blade { position: absolute; z-index: -1; right: 42%; top: -20%; width: 2px; height: 140%; background: var(--gold); box-shadow: 0 0 20px rgb(242 210 27 / .5); rotate: 24deg; }

@media (max-width: 900px) {
  .join-logo, .join-ring { opacity: .25; right: 4%; }
  .join-blade { display: none; }
}
@media (max-width: 600px) {
  .hero-panel { min-height: 0; height: 700px; }
  .hero-text { bottom: 190px; }
  .figs { bottom: 46px; row-gap: 18px; }
  .figs div { width: 50%; padding: 0 8px; }
  .figs div + div::before { display: none; }
  .ruler { display: none; }
  .r-row { grid-template-columns: minmax(0, 1fr) 2.8rem; padding-inline: 4px; }
  .r-tag { grid-column: 1 / -1; }
  .r-faces { display: none; }
  .goldblock .clock b { font-size: 2.1rem; }
}
.goldblock .next-title { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; }
.rost-side .rost-big { color: transparent; }
.hero-panel { min-height: 740px; }
.hero-text { bottom: 165px; }
@media (max-width: 600px) { .hero-panel { min-height: 0; } .hero-text { bottom: 190px; } }
@media (max-width: 900px) { .rost { grid-template-columns: minmax(0, 1fr); } .rost-big { display: none; } }
@media (max-width: 600px) { .hero-panel { height: 770px; } .hero-text { bottom: 215px; } .hero-art { top: 24%; } .scope { top: 26%; } }
@media (max-width: 600px) { .figs dd.is-gold { font-size: 1.25rem; } }

/* Les panneaux gardent une largeur posée au centre, comme sur Paysannes et Kira, même sur les grands écrans */
:root { --panel-w: min(90rem, calc(100% - 2 * clamp(12px, 2.8vw, 40px))); }
.hero { padding-inline: 0; }
.hero-panel { width: var(--panel-w); margin-inline: auto; }
.goldblock, .join { width: var(--panel-w); margin-inline: auto; }

/* Le tournoi de la semaine : un ticket. La partie dorée à gauche, une ligne à détacher, la souche noire à droite */
.ticket-wrap { width: min(70rem, calc(100% - 2 * clamp(12px, 2.8vw, 40px))); margin: clamp(50px, 7vw, 80px) auto 0; }
.ticket { --stub: 21rem; display: grid; grid-template-columns: minmax(0, 1fr) var(--stub); filter: drop-shadow(0 30px 40px rgb(0 0 0 / .6));
  -webkit-mask: radial-gradient(circle at calc(100% - var(--stub)) 0, transparent 13px, #000 14px) top / 100% 51% no-repeat, radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent 13px, #000 14px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at calc(100% - var(--stub)) 0, transparent 13px, #000 14px) top / 100% 51% no-repeat, radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent 13px, #000 14px) bottom / 100% 51% no-repeat; }
.ticket-main { position: relative; overflow: hidden; isolation: isolate; padding: clamp(26px, 3.4vw, 40px) clamp(24px, 3.4vw, 44px); color: #0a0a0a; border-radius: 22px 0 0 22px; background: repeating-linear-gradient(0deg, rgb(255 255 255 / .05) 0 1px, transparent 1px 3px), radial-gradient(70% 140% at 85% 10%, rgb(255 225 110 / .3), transparent 60%), linear-gradient(115deg, #6e5004 0%, #a8800a 40%, #c99f12 62%, #94700a 100%); box-shadow: inset 0 1px 0 rgb(255 240 170 / .45); }
.ticket-trame { position: absolute; z-index: -1; right: -14%; top: 50%; width: 70%; max-width: none; height: auto; translate: 0 -50%; filter: invert(1); opacity: .2; mix-blend-mode: multiply; }
.ticket .kicker { color: #0a0a0a; font-size: .85rem; }
.ticket .next-title { margin: 8px 0 6px; font: 400 clamp(1.35rem, 2.2vw, 1.85rem)/1.15 var(--display); letter-spacing: -.01em; color: #0a0a0a; }
.ticket .next-meta { margin-bottom: 20px; color: rgb(10 10 10 / .78); font-size: .95rem; font-weight: 600; }
.ticket .btn { padding: .75em 1.3em; font-size: .88rem; }
.ticket-stub { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 26px 30px; border-radius: 0 22px 22px 0; background: linear-gradient(160deg, #161616, #0c0c0c); box-shadow: inset 0 0 0 1px #242424; }
.ticket-stub::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; border-left: 2px dashed rgb(242 210 27 / .35); }
.ticket-label { color: var(--muted); font-size: .85rem; font-weight: 700; }
.ticket .clock { gap: 14px; }
.ticket .clock b { font-size: clamp(1.6rem, 2.4vw, 2.1rem); background: linear-gradient(180deg, #ffe680, #f2d21b 50%, #b89405); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.ticket .clock small { margin-top: 6px; font-size: .72rem; }
.ticket .clock span + span::before { left: -8px; height: 46%; width: 1px; opacity: .6; }
@media (max-width: 760px) {
  .ticket { grid-template-columns: minmax(0, 1fr); -webkit-mask: none; mask: none; }
  .ticket-main { border-radius: 22px 22px 0 0; }
  .ticket-stub { border-radius: 0 0 22px 22px; }
  .ticket-stub::before { left: 18px; right: 18px; top: 0; bottom: auto; border-left: 0; border-top: 2px dashed rgb(242 210 27 / .35); }
}

/* Le popup du prochain tournoi, à l'arrivée sur le site. En haut, une bannière dans le style des visuels Discord de la team */
.promo { width: min(52rem, calc(100% - 28px)); max-width: none; max-height: calc(100dvh - 28px); padding: 0; color: var(--ink); background: none; border: 0; overflow: visible; }
.promo::backdrop { background: rgb(0 0 0 / .8); }
.promo[open] { animation: promo-in .5s var(--ease) both; }
.promo[open]::backdrop { animation: fade .4s ease both; }
@keyframes promo-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.promo-in { position: relative; overflow: hidden; border-radius: 24px; background: linear-gradient(160deg, #141414, #0a0a0a); box-shadow: inset 0 0 0 1px #262626, 0 40px 90px -20px #000; }
/* La bannière : noir, traits en biais, logo chromé, titre en or métal souligné d'un trait lumineux, coupe dorée à droite */
.promo-banner { position: relative; display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); min-height: 200px; padding: 30px clamp(24px, 4vw, 44px); overflow: hidden; isolation: isolate; background: radial-gradient(60% 120% at 20% 50%, #1c1c1c, #050505 70%); border-bottom: 1px solid #222; }
.promo-lines { position: absolute; z-index: -2; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 90px, rgb(255 255 255 / .04) 90px 91px), repeating-linear-gradient(65deg, transparent 0 140px, rgb(255 255 255 / .025) 140px 141px); }
.promo-logo { flex: none; width: clamp(120px, 17vw, 170px); height: auto; filter: drop-shadow(0 0 18px rgb(255 255 255 / .25)) drop-shadow(0 16px 24px #000); }
.promo-head { position: relative; z-index: 1; min-width: 0; }
.promo-head .kicker { color: var(--soft); }
.promo-title { margin-top: 10px; padding-bottom: 14px; font: 400 clamp(1.4rem, 3vw, 2.3rem)/1.1 var(--display); letter-spacing: .02em; text-transform: uppercase; background: linear-gradient(180deg, #fff6b8 0%, #f2d21b 42%, #9b7a05 52%, #e3c021 70%, #b39010 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 14px rgb(242 210 27 / .25)); }
.promo-title::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--gold), #fff3a0 50%, var(--gold)); box-shadow: 0 0 12px rgb(242 210 27 / .8), 0 6px 24px rgb(242 210 27 / .35); }
.promo-cut { position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: 30%; overflow: hidden; clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%); background: linear-gradient(135deg, #3a2c02, #8a6a06 55%, #c99f12); }
.promo-cut::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(255 230 120 / .9), transparent 18%); clip-path: polygon(38% 0, 41% 0, 3% 100%, 0 100%); filter: blur(1px); }
.promo-cut::after { content: ""; position: absolute; inset: 0; z-index: 2; box-shadow: inset 30px 0 40px -20px rgb(255 220 80 / .6); }
.promo-cut img { position: absolute; left: 50%; top: 50%; width: 260%; max-width: none; height: auto; translate: -40% -50%; filter: invert(1); opacity: .25; mix-blend-mode: multiply; }
/* Le corps : les infos et les boutons à gauche, le compte à rebours à droite */
.promo-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 40px; padding: clamp(24px, 3.4vw, 36px) clamp(24px, 4vw, 44px); }
.promo-meta { margin-bottom: 20px; color: var(--soft); }
.promo .clock { gap: 16px; }
.promo .clock b { font-size: clamp(1.6rem, 2.8vw, 2.2rem); background: linear-gradient(180deg, #ffe680, #f2d21b 50%, #b89405); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.promo .clock small { margin-top: 6px; font-size: .72rem; }
.promo .clock span + span::before { left: -9px; width: 1px; height: 46%; }
.promo-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.promo-later { padding: 4px 0; color: var(--soft); background: none; border: 0; font-weight: 700; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.promo-later:hover { color: var(--ink); }
.promo-x { position: absolute; z-index: 3; right: 14px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: var(--ink); background: rgb(10 10 10 / .85); border: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px #333; cursor: pointer; transition: background .2s, color .2s; }
.promo-x:hover { color: #000; background: var(--gold); }
.promo-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
@media (max-width: 700px) {
  .promo-banner { flex-direction: column; align-items: flex-start; min-height: 0; padding-top: 26px; }
  .promo-logo { width: 110px; }
  .promo-cut { width: 34%; }
  .promo-body { grid-template-columns: minmax(0, 1fr); }
  .promo .clock { order: -1; }
}
.promo-banner { padding-right: 26%; }
.promo-cut { width: 24%; }
.promo-title { font-size: clamp(1.3rem, 2.5vw, 2rem); }
@media (max-width: 700px) { .promo-banner { padding-right: 24%; } .promo-cut { width: 22%; } }

/* Le petit robot de la team, en bas à droite, comme le robot de natalluxa et le chat de Kira */
.buddy { position: fixed; right: 14px; bottom: 8px; z-index: 45; display: flex; flex-direction: column; align-items: flex-end; pointer-events: none; }
.buddy > * { pointer-events: auto; }
.buddy-bot { width: 6.2rem; padding: 0; background: none; border: 0; cursor: pointer; transition: scale .2s; }
.buddy-bot:hover { scale: 1.06; }
.buddy-bot svg { display: block; width: 100%; height: auto; overflow: visible; }
.b-all { animation: bot-float 4.4s ease-in-out infinite; }
.b-shadow { transform-box: fill-box; transform-origin: center; animation: bot-shadow 4.4s ease-in-out infinite; }
.b-look { transition: transform .08s linear; }
.b-eyes { transform-box: fill-box; transform-origin: center; animation: bot-blink 5.5s infinite; }
.buddy.is-awake .b-eyes, .buddy-bot:hover .b-eyes { filter: drop-shadow(0 0 4px rgb(242 210 27 / .9)); }
.buddy.is-awake .b-mic { animation: bot-talk .35s ease-in-out infinite alternate; }
@keyframes bot-float { 50% { transform: translateY(-5px); } }
@keyframes bot-shadow { 50% { transform: scale(.85); opacity: .4; } }
@keyframes bot-blink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes bot-talk { to { opacity: .45; } }
.buddy-bubble { position: relative; width: 15rem; margin-bottom: 4px; padding: .85em 1em .8em; color: var(--ink); background: linear-gradient(160deg, #181818, #0d0d0d); border-radius: 14px; box-shadow: inset 0 0 0 1px rgb(242 210 27 / .35), 0 20px 40px -12px #000; animation: fade .4s var(--ease) both; }
.buddy-bubble::after { content: ""; position: absolute; right: 2.6rem; bottom: -7px; width: 14px; height: 14px; background: #0f0f0f; box-shadow: 1px 1px 0 rgb(242 210 27 / .35); transform: rotate(45deg); }
.buddy-bubble p { min-height: 2.6em; padding-right: 20px; font-size: .92rem; font-weight: 600; line-height: 1.35; }
.buddy-link { display: inline-flex; align-items: center; gap: 6px; margin-top: .35em; color: var(--gold); font-size: .86rem; font-weight: 800; text-decoration: none; }
.buddy-link:hover { color: var(--gold-2); }
.buddy-close { position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; color: var(--muted); background: none; border: 0; cursor: pointer; }
.buddy-close:hover { color: var(--ink); }
.buddy-close svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.buddy.closed .buddy-bubble { display: none; }
@media (max-width: 700px) {
  .buddy-bubble { width: min(15rem, calc(100vw - 36px)); }
  .buddy-bot { width: 4.6rem; }
}
@media (prefers-reduced-motion: reduce) { .b-all, .b-shadow, .b-eyes, .b-mic { animation: none !important; } }

/* Accueil épuré : le logo, le titre, les boutons et les chiffres, sans éléments qui tournent autour */
.hero-art { top: 34%; width: min(360px, 64vw); }
.hero-trame { opacity: .6; }
.figs { bottom: 40px; }
@media (max-width: 600px) { .hero-art { top: 25%; width: min(250px, 58vw); } }

/* Recrutement : le logo AVA en points derrière le logo chromé, comme sur l'accueil, à la place du rond qui tourne */
.join-trame { position: absolute; z-index: -2; right: -8%; top: 50%; width: 62%; max-width: none; height: auto; translate: 0 -50%; opacity: .7; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.join-glow { position: absolute; z-index: -1; right: 4%; top: 50%; width: 44%; aspect-ratio: 1.6; translate: 0 -50%; background: radial-gradient(closest-side, rgb(242 210 27 / .16), transparent); pointer-events: none; }
@media (max-width: 900px) { .join-trame { opacity: .35; width: 90%; } }
.join-trame { opacity: .9; }
@media (max-width: 900px) { .join-logo, .join-glow { display: none; } .join-trame { opacity: .3; } }

/* Le robot, version 2 : casque à facettes, visière en V, voix qui bouge quand il parle */
.buddy-bot { width: 6.4rem; }
.b-shadow { display: none; }
.b-glow { transform-box: fill-box; transform-origin: center; animation: bot-glow 4.4s ease-in-out infinite; }
@keyframes bot-glow { 50% { transform: scale(.8); opacity: .55; } }
.b-eyes { filter: drop-shadow(0 0 2px rgb(242 210 27 / .6)); }
.buddy.is-awake .b-eyes, .buddy-bot:hover .b-eyes { filter: drop-shadow(0 0 5px rgb(242 210 27 / 1)); }
.b-voice rect { transform-box: fill-box; transform-origin: center; transform: scaleY(.35); opacity: .5; transition: opacity .2s; }
.buddy.is-awake .b-voice rect { opacity: 1; animation: bot-voice .32s ease-in-out infinite alternate; }
.buddy.is-awake .b-voice rect:nth-child(2) { animation-delay: -.16s; }
.buddy.is-awake .b-voice rect:nth-child(3) { animation-delay: -.08s; }
@keyframes bot-voice { from { transform: scaleY(.3); } to { transform: scaleY(1.15); } }
.buddy.is-awake .b-mic { animation: bot-talk .35s ease-in-out infinite alternate; }
/* La bulle : coins coupés comme le reste du site, un trait doré à gauche */
.buddy-bubble { border-radius: 0; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); box-shadow: inset 3px 0 0 var(--gold), inset 0 0 0 1px #2c2c2c; margin-bottom: 10px; }
.buddy-bubble::after { display: none; }
@media (max-width: 700px) { .buddy-bot { width: 4.8rem; } }
@media (prefers-reduced-motion: reduce) { .b-glow, .b-voice rect { animation: none !important; } }

/* Le robot, dans le même style que celui de natalluxa : formes pleines, traits épais, bouche qui bouge quand il parle */
.buddy-bot { width: 5.8rem; }
.b-glow { display: none; }
.b-all { animation: bot-float 4s ease-in-out infinite; }
.b-eyes { filter: none !important; transform-box: view-box; transform-origin: 60px 44px; }
.b-wave { transform-box: view-box; transform-origin: 82px 86px; }
.buddy.is-awake .b-wave { animation: bot-wave 1.1s ease-in-out 2; }
.b-mouth { transform-box: view-box; transform-origin: 60px 61px; }
.buddy.is-awake .b-mouth { animation: bot-mouth .18s ease-in-out infinite alternate; }
@keyframes bot-wave { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-22deg); } 60% { transform: rotate(10deg); } }
@keyframes bot-mouth { to { transform: scaleY(2.6); } }
/* La bulle : un bloc plein aux coins coupés, son bouton, sa petite pointe vers le robot */
.buddy-bubble { width: 16rem; margin-bottom: 14px; padding: .85em 1em .9em; color: #0a0a0a; background: none; box-shadow: none; clip-path: none; isolation: isolate; filter: drop-shadow(0 18px 30px rgb(0 0 0 / .55)); }
.buddy-bubble::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #f2f2f0; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.buddy-bubble::after { content: ""; display: block; position: absolute; right: 2.4rem; bottom: -11px; width: 16px; height: 12px; background: #f2f2f0; clip-path: polygon(0 0, 100% 0, 50% 100%); transform: none; box-shadow: none; }
.buddy-say { position: relative; padding-right: 18px; font-size: .92rem; font-weight: 700; line-height: 1.35; }
.buddy-ghost { visibility: hidden; }
.buddy-typed { position: absolute; inset: 0 18px 0 0; }
.buddy-link { margin-top: .6em; padding: .45em .8em; color: var(--gold); background: #0a0a0a; font-size: .82rem; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); transition: background .2s, color .2s; }
.buddy-link:hover { color: #000; background: var(--gold); }
.buddy-close { color: #6a6a66; }
.buddy-close:hover { color: #0a0a0a; }
@media (max-width: 700px) { .buddy-bot { width: 4.4rem; } .buddy-bubble { width: min(16rem, calc(100vw - 32px)); } }
@media (prefers-reduced-motion: reduce) { .b-wave, .b-mouth { animation: none !important; } }

/* Les titres en chrome : de la place sous les lettres (y, g, p) pour qu'elles ne soient pas coupées */
.intro-words span { line-height: 1.3; padding-bottom: .12em; }
.chrome, .r-name strong, .figs dd, .clock b, .promo-title { padding-bottom: .1em; }

/* Le perso, version silhouette de joueur : ombre noire, liseré doré, casque-micro, maillot AVA */
.buddy-bot { width: 6.2rem; }
.buddy-bot svg { overflow: visible; }
.b-all, .b-wave, .b-mouth { animation: none; }
.b-head { transform-box: view-box; transform-origin: 60px 90px; transition: transform .25s ease-out; }
.b-body { transform-box: view-box; transform-origin: 60px 140px; animation: bot-breathe 4.5s ease-in-out infinite; }
@keyframes bot-breathe { 50% { transform: scale(1.015, 1.02); } }
.b-waves path { opacity: 0; }
.b-mic { transition: filter .2s; }
.buddy.is-awake .b-mic { filter: drop-shadow(0 0 4px #f2d21b); animation: bot-talk .3s ease-in-out infinite alternate; }
.buddy.is-awake .b-waves path { animation: bot-waves .9s ease-out infinite; }
.buddy.is-awake .b-waves path:nth-child(2) { animation-delay: .2s; }
@keyframes bot-waves { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.buddy-bot:hover .b-body path:first-child { stroke-width: 2.2; }
/* La bulle : sombre, coins coupés, liseré doré */
.buddy-bubble { color: var(--ink); filter: drop-shadow(0 18px 30px rgb(0 0 0 / .6)); }
.buddy-bubble::before { background: linear-gradient(160deg, #1a1a1a, #0c0c0c); box-shadow: none; }
.buddy-bubble { --edge: rgb(242 210 27 / .55); }
.buddy-bubble > .buddy-edge { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--edge); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px, 10px 0, 11px 1px, 1px 11px, 1px calc(100% - 1px), calc(100% - 10.5px) calc(100% - 1px), calc(100% - 1px) calc(100% - 10.5px), calc(100% - 1px) 1px, 11px 1px); }
.buddy-bubble::after { background: #0c0c0c; box-shadow: none; }
.buddy-say { color: var(--ink); font-weight: 600; }
.buddy-link { margin-top: .5em; padding: 0; color: var(--gold); background: none; clip-path: none; }
.buddy-link:hover { color: var(--gold-2); background: none; }
.buddy-close { color: var(--muted); }
.buddy-close:hover { color: var(--ink); }
@media (max-width: 700px) { .buddy-bot { width: 4.8rem; } }
@media (prefers-reduced-motion: reduce) { .b-body, .b-waves path, .b-mic { animation: none !important; } }

.b-pupils { transition: transform .12s ease-out; }
.b-eyes-real { transform-box: view-box; transform-origin: 58px 53px; animation: eye-blink 6s infinite; }
@keyframes eye-blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@media (prefers-reduced-motion: reduce) { .b-eyes-real { animation: none !important; } }

/* Pied de page compact : une ligne logo, menu, réseaux ; une ligne de mentions */
.foot { position: relative; margin-top: clamp(50px, 7vw, 90px); padding: 30px 0 22px; background: linear-gradient(180deg, #0d0d0d, #080808); border-top: 1px solid #1f1f1f; }
.foot::before { content: ""; position: absolute; left: 50%; top: -1px; width: min(28rem, 50%); height: 1px; translate: -50% 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.foot-brand { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: .85rem; line-height: 1.45; text-decoration: none; }
.foot-brand img { flex: none; width: 64px; height: auto; mix-blend-mode: normal; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: .9rem; font-weight: 700; }
.foot-nav a { color: var(--soft); text-decoration: none; transition: color .2s; }
.foot-nav a:hover { color: var(--gold); }
.foot .socials { gap: 4px; }
.foot .socials a { width: 34px; height: 34px; box-shadow: none; color: var(--muted); }
.foot .socials a:hover { color: #000; background: var(--gold); }
.foot .socials svg { width: 17px; height: 17px; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #1a1a1a; color: #75756f; font-size: .78rem; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.foot-legal a { color: var(--muted); text-decoration: none; }
.foot-legal a:hover { color: var(--ink); }
.foot-legal a.foot-gold { color: var(--gold); font-weight: 700; }
@media (max-width: 700px) {
  .foot-in { flex-direction: column; align-items: flex-start; }
  .foot-legal { flex-direction: column; align-items: flex-start; }
}

/* Après une transition : ce qui est déjà à l'écran est posé, sans fondu ni glissement */
html.after-nav [data-reveal] { transition: none !important; }
html.after-nav .is-home .hero-art img, html.after-nav .is-home .hero-text, html.after-nav .is-home .figs, html.after-nav .banner * { animation: none !important; }

/* La place de la barre de défilement est toujours réservée : rien ne se décale quand la page change */
html { scrollbar-gutter: stable; }

/* Transitions, version 2 : l'icône de la page tracée au trait doré puis remplie de chrome, comme le logo de l'intro */
.pt-m { display: none; }
.pt-stage { justify-content: center; gap: 0; }
.pt-ic { width: min(30vmin, 230px); height: auto; margin-bottom: clamp(14px, 3vh, 28px); overflow: visible; }
.pt-ic-logo { width: min(40vmin, 320px); }
.pt-ic-fill path { fill: url(#pt-chrome); }
.pt-ic-fill { clip-path: inset(0 100% 0 0); filter: drop-shadow(0 10px 24px rgb(0 0 0 / .6)); }
.pt-ic-line path { fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pt-ic-logo .pt-ic-line path { stroke-width: 5; }
.pt-ic-line { filter: drop-shadow(0 0 6px rgb(242 210 27 / .55)); }
.pt.is-settled .pt-ic-fill { clip-path: inset(0 0 0 0); }
.pt.is-settled .pt-ic-line { opacity: .35; }
.pt.is-settled .pt-ic-line path { stroke-dashoffset: 0; }
.pt-title { font-size: clamp(2rem, 6.4vw, 5rem); }
.pt-ic { width: min(34vmin, 280px); }
.pt-ic-logo { width: min(46vmin, 380px); }

/* ---------- Pages intérieures, au design de l'accueil ---------- */
/* La bannière : un panneau arrondi comme l'accueil, logo AVA en points, lame dorée, l'icône chromée de la page */
.banner { padding: 96px 0 0; overflow: visible; border: 0; background: none; isolation: auto; }
.banner::after { display: none; }
.banner-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; width: var(--panel-w); min-height: 330px; margin: 0 auto; padding: clamp(34px, 5vw, 64px) clamp(26px, 5vw, 72px); overflow: hidden; isolation: isolate; border-radius: 30px; background: radial-gradient(50% 80% at 80% 40%, rgb(242 210 27 / .1), transparent 70%), linear-gradient(180deg, #101010, #0a0a0a); box-shadow: inset 0 0 0 1px #202020, inset 0 1px 0 #2e2e2e, 0 40px 80px -40px #000; }
.banner-panel::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(0deg, rgb(255 255 255 / .018) 0 1px, transparent 1px 4px); }
.banner-trame { position: absolute; z-index: -2; right: -12%; top: 50%; width: 72%; max-width: none; height: auto; translate: 0 -50%; opacity: .5; -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%); mask-image: linear-gradient(90deg, transparent, #000 50%); }
.banner-disc { position: absolute; z-index: -1; left: -90px; bottom: -150px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle at 70% 30%, rgb(242 210 27 / .18), rgb(242 210 27 / .03) 55%, transparent 70%); }
.banner-blade { right: 30%; top: -30%; width: 2px; height: 170%; background: linear-gradient(transparent, var(--gold) 20%, var(--gold) 70%, transparent); box-shadow: 0 0 24px rgb(242 210 27 / .45); }
.banner-text { position: relative; z-index: 1; min-width: 0; }
.banner h1 { margin: 14px 0 14px; font-size: clamp(2.2rem, 5.4vw, 4.6rem); }
.banner .lead { max-width: 40rem; }
.banner-cta { margin-top: 26px; }
.banner-art { position: relative; z-index: 1; display: grid; place-items: center; width: clamp(130px, 17vw, 220px); aspect-ratio: 1; }
.banner-art::before { content: ""; position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(closest-side, rgb(242 210 27 / .14), transparent); }
.banner-ic { position: relative; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 16px 30px rgb(0 0 0 / .6)); }
.ic-fill path { fill: url(#ic-chrome); }
.ic-line path { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .6; }
html.js .banner.is-in .banner-ic { animation: hero-in 1s var(--ease) both; }
html.after-nav .banner .banner-ic { animation: none; }
.banner-404 { min-height: 0; display: block; }

/* Tous les titres de section ont la petite lame dorée de l'accueil */
.sec .h2::after { content: ""; display: block; width: 60px; height: 6px; margin-top: 14px; background: linear-gradient(90deg, var(--gold) 70%, transparent 70% 80%, var(--gold) 80%); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.weekly .h2::after, .support .h2::after { margin-bottom: 4px; }

/* Les blocs importants : des panneaux arrondis comme le recrutement de l'accueil */
.weekly, .support, .recruit-form, .t-signup, .me-head, .side-card, .empty { position: relative; padding: clamp(24px, 3.4vw, 44px); border: 0; border-radius: 24px; background: linear-gradient(115deg, #131313, #0a0a0a 60%); box-shadow: inset 0 0 0 1px #222, inset 0 1px 0 #2e2e2e; }
.weekly, .support { overflow: hidden; isolation: isolate; }
.weekly::before, .support::before { content: ""; position: absolute; z-index: -1; right: 18%; top: -30%; width: 2px; height: 170%; background: var(--gold); box-shadow: 0 0 20px rgb(242 210 27 / .45); rotate: 24deg; opacity: .8; }
.weekly .clock b { background: linear-gradient(180deg, #ffe680, #f2d21b 50%, #b89405); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.recruit-form, .t-signup { box-shadow: inset 0 0 0 1px #222, inset 0 2px 0 var(--gold); }
.side-card { padding: 22px 24px; border-left: 0; box-shadow: inset 0 0 0 1px #222, inset 3px 0 0 var(--gold); }
.empty { padding: 26px 28px; color: var(--soft); }
.me { padding-top: 110px; }
.me-head { margin: 10px 0 34px; }

/* Joueurs et direction : cases arrondies avec un liseré, plus compactes */
.players { grid-template-columns: repeat(auto-fill, minmax(min(9rem, 100%), 1fr)); gap: 24px clamp(12px, 1.6vw, 22px); }
.pic { border-radius: 18px; clip-path: none; box-shadow: inset 0 0 0 1px #262626; }
.pic-mono { background: radial-gradient(90% 90% at 30% 20%, #1f1f1f, #0b0b0b); }
.player:hover .pic { box-shadow: inset 0 0 0 1px rgb(242 210 27 / .6); }

@media (max-width: 760px) {
  .banner { padding-top: 84px; }
  .banner-panel { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 22px; }
  .banner-art { position: absolute; right: 16px; top: 16px; width: 76px; opacity: .55; }
  .banner-blade { right: 12%; }
}
@media (max-width: 760px) {
  .banner h1 { font-size: clamp(1.6rem, 8.4vw, 2.6rem); overflow-wrap: normal; word-break: normal; }
  .players { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; }
  .pic-mono b { font-size: 1.3rem; }
  .player strong { font-size: .8rem; }
}

/* Les grades dans les rosters : cadre doré, badge avec une icône, rôle en étiquette dorée */
.pic-wrap { position: relative; display: block; width: 100%; }
.player.is-rank .pic { box-shadow: inset 0 0 0 1.5px rgb(242 210 27 / .75), 0 0 0 1px rgb(242 210 27 / .15), 0 14px 34px -14px rgb(242 210 27 / .45); }
.player.is-top .pic { box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 4px rgb(242 210 27 / .12), 0 18px 40px -12px rgb(242 210 27 / .55); }
.player.is-top .pic-mono { background: radial-gradient(90% 90% at 30% 15%, #2b2510, #0b0b0b 70%); }
.player.is-top .pic-mono b { background: linear-gradient(180deg, #fff3a0, #f2d21b 45%, #9b7a05 55%, #e3c021); -webkit-background-clip: text; background-clip: text; }
.rank-badge { position: absolute; right: -8px; top: -8px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(180deg, #fff1a0, #f2d21b 55%, #b89405); box-shadow: 0 0 0 3px #070707, 0 6px 16px -4px rgb(242 210 27 / .7); }
.rank-badge svg { width: 16px; height: 16px; fill: none; stroke: #0a0a0a; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.player.is-top .rank-badge { width: 36px; height: 36px; }
.player.is-top .rank-badge svg { width: 19px; height: 19px; fill: #0a0a0a; stroke-width: 1.4; }
.player .role.is-lead { display: inline-block; margin-top: 2px; padding: 2px 9px; color: #0a0a0a; background: var(--gold); font-size: .72rem; font-weight: 800; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.player:not(.is-rank) .role.is-lead { color: var(--gold); background: none; padding: 0; clip-path: none; font-size: .82rem; }
@media (max-width: 760px) { .rank-badge { width: 24px; height: 24px; right: -6px; top: -6px; } .rank-badge svg { width: 13px; height: 13px; } .player.is-top .rank-badge { width: 28px; height: 28px; } .player.is-top .rank-badge svg { width: 15px; height: 15px; } }
/* Tournois : la lame passe entre le texte et le compte à rebours, et les titres ont de l'air au-dessus du bloc qui suit */
.weekly::before { right: auto; left: 47%; }
@media (max-width: 1100px) { .weekly::before { display: none; } }
.sec .wrap > .h2 + * { margin-top: 28px; }
.weekly .h2 { margin-bottom: 16px; }
.weekly::before { left: 39%; }
.weekly .h2::after { margin-top: 18px; }

/* ---------- Cartes portrait des joueurs (rosters) et page d'un joueur ---------- */
.players { grid-template-columns: repeat(auto-fill, minmax(min(12.5rem, 100%), 1fr)); gap: 16px; }
.pcard { list-style: none; }
.pcard-in { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; isolation: isolate; border-radius: 20px; color: var(--ink); text-decoration: none; background: radial-gradient(90% 70% at 50% 18%, #1f1f1f, #080808 75%); box-shadow: inset 0 0 0 1px #242424; transition: box-shadow .3s, translate .35s var(--ease); }
.pcard-in::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle, rgb(255 255 255 / .07) 1px, transparent 1.6px) 0 0 / 9px 9px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%); }
.pcard-in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgb(0 0 0 / .88)); pointer-events: none; }
.pcard-pic { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; }
.pcard-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard-pic b { translate: 0 -14%; font: 400 clamp(3rem, 6vw, 4.6rem)/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .24); transition: -webkit-text-stroke-color .3s; }
.pcard-info { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 3px; }
.pcard-info small { color: var(--muted); font-size: .74rem; font-weight: 800; }
.pcard-info strong { font: 400 clamp(1rem, 1.5vw, 1.3rem)/1.15 var(--display); text-transform: uppercase; overflow-wrap: anywhere; padding-bottom: .08em; }
.pcard-info em { color: var(--muted); font-size: .8rem; font-style: normal; }
a.pcard-in::marker { content: none; }
a.pcard-in:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1px rgb(242 210 27 / .7), 0 24px 50px -24px rgb(242 210 27 / .5); }
a.pcard-in:hover .pcard-pic img { transform: scale(1.06); }
a.pcard-in:hover .pcard-pic b { -webkit-text-stroke-color: var(--gold); }
a.pcard-in .pcard-info::after { content: ""; display: block; height: 2px; margin-top: 8px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
a.pcard-in:hover .pcard-info::after { transform: scaleX(1); }
.pcard.is-rank .pcard-in { box-shadow: inset 0 0 0 1.5px rgb(242 210 27 / .7), 0 16px 40px -20px rgb(242 210 27 / .45); }
.pcard.is-top .pcard-in { background: radial-gradient(90% 70% at 50% 18%, #2b2510, #080808 75%); box-shadow: inset 0 0 0 2px var(--gold), 0 20px 46px -18px rgb(242 210 27 / .55); }
.pcard.is-top .pcard-pic b { -webkit-text-stroke-color: rgb(242 210 27 / .7); }
.pcard.is-rank .pcard-info small { color: var(--gold); }
.pcard .rank-badge { z-index: 2; right: 12px; top: 12px; box-shadow: 0 0 0 3px rgb(7 7 7 / .9), 0 6px 16px -4px rgb(242 210 27 / .7); }
.pcard[hidden] { display: none; }
/* Onglets d'un roster */
.roster-main { min-width: 0; }
.roster-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.roster-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; color: var(--soft); background: #141414; border: 0; font: 800 .88rem var(--text); cursor: pointer; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background .2s, color .2s; }
.roster-tabs button span { color: var(--muted); font-weight: 700; }
.roster-tabs button.is-on { color: #000; background: var(--gold); }
.roster-tabs button.is-on span { color: rgb(0 0 0 / .6); }
/* Page d'un joueur */
.pl-panel { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 24px clamp(28px, 4vw, 60px); }
.pl-card { margin: 0; padding: 0; }
.pl-card .pcard-in { box-shadow: inset 0 0 0 2px var(--gold), 0 30px 60px -24px rgb(242 210 27 / .45); }
.pl-text { position: relative; z-index: 1; min-width: 0; }
.pl-text .kicker a { color: inherit; }
.pl-real { margin-top: 14px; color: var(--muted); font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.pl-name { margin: 6px 0 14px; font-size: clamp(2.4rem, 7vw, 5.8rem); line-height: 1.05; text-transform: uppercase; overflow-wrap: anywhere; }
.pl-role { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; color: var(--soft); background: #151515; font-weight: 800; font-size: .9rem; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.pl-role.is-rank { color: #0a0a0a; background: var(--gold); }
.pl-role svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.pl-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pl-socials .btn { padding: .7em 1.2em; }
.pl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 12px; }
.pl-stats div { display: flex; flex-direction: column-reverse; padding: 22px 24px; border-radius: 20px; background: linear-gradient(160deg, #141414, #0a0a0a); box-shadow: inset 0 0 0 1px #222, inset 0 2px 0 var(--gold); }
.pl-stats dd { font: 400 clamp(2rem, 4vw, 3.2rem)/1.1 var(--display); padding-bottom: .08em; background: linear-gradient(180deg, #ffe680, #f2d21b 50%, #b89405); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pl-stats div { min-width: 0; justify-content: flex-start; }
.pl-stats dd { overflow-wrap: break-word; }
.pl-stats dd.is-long { font-size: clamp(1.1rem, 2.4vw, 2rem); line-height: 1.15; margin-top: auto; }
.pl-stats dt { margin-top: 6px; color: var(--muted); font-size: .85rem; font-weight: 800; }
.pl-about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: start; }
.pl-setup dl { display: grid; gap: 0; }
.pl-setup dl div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid #1d1d1d; }
.pl-setup dt { color: var(--muted); font-weight: 700; }
.pl-setup dd { margin: 0; font-weight: 700; text-align: right; }
@media (max-width: 900px) { .pl-about { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .players { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard-info { left: 12px; right: 12px; bottom: 12px; }
  .pl-panel { grid-template-columns: minmax(0, 1fr); }
  .pl-card { width: min(14rem, 70%); }
}
.pcard-info strong { font-size: clamp(.86rem, 1.2vw, 1.1rem); }
.banner h1 { font-size: clamp(2rem, 4.4vw, 4rem); }
@media (max-width: 760px) { .pcard-info strong { font-size: .82rem; } }

/* Transition : l'icône au-dessus du trait doré, le titre en dessous */
.pt-stage { display: block; }
.pt-up { position: absolute; left: 0; right: 0; bottom: calc(50% + clamp(18px, 3vh, 30px)); display: flex; justify-content: center; }
.pt-down { position: absolute; left: 0; right: 0; top: calc(50% + clamp(14px, 2.6vh, 26px)); display: flex; flex-direction: column; align-items: center; padding: 0 16px; }
.pt-up .pt-ic { margin: 0; width: min(26vmin, 220px); }
.pt-up .pt-ic-logo { width: min(36vmin, 320px); }
.pt-down .pt-title { line-height: 1.05; }

/* ---------- Page L'asso ---------- */
.asso-story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.asso-intro .h2 { max-width: 18ch; margin: 12px 0 0; }
.asso-intro .prose { margin-top: 28px; }
.asso-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: radial-gradient(70% 80% at 80% 10%, rgb(242 210 27 / .09), transparent 70%), linear-gradient(160deg, #131313, #0a0a0a); box-shadow: inset 0 0 0 1px #222, inset 0 1px 0 #2e2e2e; }
.asso-figs div { display: flex; flex-direction: column-reverse; padding: 18px 20px; }
.asso-figs div:nth-child(2n) { box-shadow: -1px 0 0 #232323; }
.asso-figs div:nth-child(n + 3) { border-top: 1px solid #232323; }
.asso-figs dd { font: 400 clamp(2rem, 4vw, 3.2rem)/1.05 var(--display); padding-bottom: .08em; background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; }
.asso-figs div:first-child dd { background: linear-gradient(180deg, #ffe680, #f2d21b 50%, #b89405); -webkit-background-clip: text; background-clip: text; }
.asso-figs dt { margin-top: 6px; color: var(--muted); font-size: .86rem; font-weight: 700; }
/* Le parcours : une frise dorée */
.asso-road { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 34px; }
.asso-road::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: linear-gradient(90deg, var(--gold), rgb(242 210 27 / .25) 70%, rgb(242 210 27 / .6)); box-shadow: 0 0 12px rgb(242 210 27 / .35); }
.asso-road li { position: relative; display: grid; gap: 8px; padding-right: 20px; }
.asso-road li::before { content: ""; position: absolute; left: 0; top: -32px; width: 16px; height: 16px; border-radius: 50%; background: #070707; box-shadow: inset 0 0 0 3px var(--gold), 0 0 14px rgb(242 210 27 / .6); }
.asso-road li.is-now::before { background: var(--gold); }
.asso-road b { font: 400 clamp(1.3rem, 2.4vw, 1.9rem)/1.1 var(--display); padding-bottom: .08em; background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; }
.asso-road span { color: var(--soft); max-width: 30ch; }
/* Nos valeurs : quatre panneaux, un trait doré qui s'allonge au survol, le chevron AVA en filigrane */
.asso-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.asso-values div { position: relative; display: grid; gap: 10px; align-content: start; min-height: 11rem; padding: 30px 24px 26px; overflow: hidden; isolation: isolate; border-radius: 22px; background: linear-gradient(160deg, #141414, #0a0a0a); box-shadow: inset 0 0 0 1px #222; transition: translate .35s var(--ease), box-shadow .3s; }
.asso-values div::before { content: ""; position: absolute; left: 24px; top: 0; width: 34px; height: 3px; background: var(--gold); box-shadow: 0 0 12px rgb(242 210 27 / .6); transition: width .45s var(--ease); }
.asso-values div::after { content: ""; position: absolute; z-index: -1; right: -14px; bottom: -18px; width: 110px; height: 100px; background: rgb(255 255 255 / .04); clip-path: polygon(0 100%, 50% 0, 100% 100%, 80% 100%, 50% 34%, 20% 100%); transition: background .3s; }
.asso-values div:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1px rgb(242 210 27 / .45); }
.asso-values div:hover::before { width: calc(100% - 48px); }
.asso-values div:hover::after { background: rgb(242 210 27 / .1); }
.asso-values b { font: 400 1.15rem/1.2 var(--display); }
.asso-values span { color: var(--soft); }
@media (max-width: 1100px) { .asso-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .asso-story { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .asso-road { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 30px; gap: 26px; }
  .asso-road::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .asso-road li::before { left: -30px; top: 4px; }
  .asso-values { grid-template-columns: minmax(0, 1fr); }
  .asso-values div { min-height: 0; }
}
.asso-figs dd { font-size: clamp(1.6rem, 2.5vw, 2.4rem); white-space: nowrap; }
.asso-figs div { min-width: 0; padding: 18px 16px; }

/* Les grades, version sobre : un liseré doré fin, un petit badge sombre, sans halo fluo */
.pcard.is-rank .pcard-in, .pcard.is-top .pcard-in { background: radial-gradient(90% 70% at 50% 18%, #1f1f1f, #080808 75%); box-shadow: inset 0 0 0 1px rgb(242 210 27 / .38); }
.pcard.is-top .pcard-pic b, .pcard.is-rank .pcard-pic b { -webkit-text-stroke-color: rgb(255 255 255 / .24); }
.pcard .rank-badge, .pcard.is-top .rank-badge { width: 28px; height: 28px; background: rgb(10 10 10 / .85); box-shadow: inset 0 0 0 1px rgb(242 210 27 / .55); }
.pcard .rank-badge svg, .pcard.is-top .rank-badge svg { width: 14px; height: 14px; fill: none; stroke: var(--gold); stroke-width: 1.8; }
a.pcard-in:hover { box-shadow: inset 0 0 0 1px rgb(242 210 27 / .6), 0 24px 50px -28px rgb(0 0 0 / .9); }
.pl-card .pcard-in { box-shadow: inset 0 0 0 1px rgb(242 210 27 / .45), 0 30px 60px -30px #000; }
.pl-role.is-rank { color: var(--gold); background: #151515; box-shadow: inset 0 0 0 1px rgb(242 210 27 / .4); }

/* L'asso : le texte en deux colonnes, le parcours en grandes lignes comme les rosters */
.asso-text { columns: 2 22rem; column-gap: clamp(24px, 4vw, 60px); color: var(--soft); font-size: 1.05rem; line-height: 1.7; }
.asso-text p { break-inside: avoid; margin-bottom: 1em; }
.asso-steps { margin-top: clamp(30px, 4vw, 50px); }
.asso-steps .r-row { grid-template-columns: 12rem minmax(0, 1fr); cursor: default; }
.asso-steps .r-row::before { display: none; }
.asso-steps .r-row:hover { background: none; }
.asso-steps .r-row:hover .r-code { color: transparent; -webkit-text-stroke-color: rgb(255 255 255 / .28); }
.asso-steps .r-row.is-now .r-code { -webkit-text-stroke-color: var(--gold); }
.asso-steps .r-name strong { background: none; -webkit-text-fill-color: currentColor; color: var(--ink); }
@media (max-width: 600px) { .asso-steps .r-row { grid-template-columns: minmax(0, 1fr); } }

/* Les yeux du perso : deux reflets dorés */
.b-pupils rect { filter: drop-shadow(0 0 2px rgb(242 210 27 / .8)); }
.asso-steps .r-code { font: 400 clamp(2rem, 3.6vw, 3.2rem)/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .28); white-space: nowrap; padding-bottom: .06em; }
.asso-steps .r-name strong { font: 400 clamp(1.1rem, 1.8vw, 1.5rem)/1.2 var(--display); }
.asso-steps .r-name small { color: var(--muted); font-size: .95rem; }
/* Soutenir l'asso : la lame passe dans le vide entre le texte et les boutons */
.support::before { right: auto; left: 58%; }
@media (max-width: 1100px) { .support::before { display: none; } }

/* ---------- Bandeau cookies et petit bouton ---------- */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 70; width: min(26rem, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 22px 22px 18px; border-radius: 20px; background: linear-gradient(160deg, #181818, #0c0c0c); box-shadow: inset 0 0 0 1px #2a2a2a, inset 0 2px 0 var(--gold), 0 30px 60px -20px #000; animation: promo-in .5s var(--ease) both; }
.ck[hidden], .ck-btn[hidden], .ck-details[hidden], .ck-quick[hidden] { display: none !important; }
.ck-title { font: 400 1.15rem/1.2 var(--display); }
.ck-text { margin-top: 8px; color: var(--soft); font-size: .9rem; line-height: 1.55; }
.ck-text a { color: var(--gold); font-weight: 700; }
.ck-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ck-b { flex: 1; padding: .8em 1em; color: var(--ink); background: #1f1f1f; border: 0; font: 800 .88rem var(--text); cursor: pointer; clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%); transition: background .2s, color .2s; }
.ck-b:hover, .ck-b.is-main { color: #000; background: var(--gold); }
.ck-link { width: 100%; padding: 6px 0 0; color: var(--soft); background: none; border: 0; font: 700 .86rem var(--text); text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.ck-details .ck-link { width: auto; }
.ck-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; cursor: pointer; }
.ck-row input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--gold); }
.ck-row b { display: block; font-size: .92rem; }
.ck-row small { display: block; color: var(--muted); font-size: .84rem; }
.ck-btn { position: fixed; left: 14px; bottom: 14px; z-index: 44; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 9px; color: var(--soft); background: rgb(14 14 14 / .92); border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px #2c2c2c; font: 700 .8rem var(--text); cursor: pointer; transition: color .2s, box-shadow .2s; }
.ck-btn:hover { color: var(--gold); box-shadow: inset 0 0 0 1px rgb(242 210 27 / .5); }
.ck-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ck-btn svg circle { fill: currentColor; stroke: none; }
@media (max-width: 700px) { .ck-btn span { display: none; } .ck-btn { padding: 9px; } }

/* ---------- Page des mentions légales ---------- */
.legal-page { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.legal-nav { position: sticky; top: 100px; display: grid; gap: 2px; padding: 20px; border-radius: 20px; background: linear-gradient(160deg, #131313, #0a0a0a); box-shadow: inset 0 0 0 1px #222; }
.legal-nav .kicker { margin-bottom: 8px; }
.legal-nav a { padding: 8px 10px; color: var(--soft); font-weight: 700; font-size: .92rem; text-decoration: none; border-radius: 10px; transition: background .2s, color .2s; }
.legal-nav a:hover { color: var(--ink); background: #1a1a1a; }
.legal-body { display: grid; gap: 16px; min-width: 0; }
.legal-block { padding: clamp(24px, 3.4vw, 40px); border-radius: 24px; background: linear-gradient(115deg, #131313, #0a0a0a 60%); box-shadow: inset 0 0 0 1px #222, inset 0 1px 0 #2e2e2e; scroll-margin-top: 100px; }
.legal-block .h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.legal-block .h2::after { content: ""; display: block; width: 60px; height: 6px; margin: 14px 0 22px; background: linear-gradient(90deg, var(--gold) 70%, transparent 70% 80%, var(--gold) 80%); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.legal-facts div { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid #1d1d1d; }
.legal-facts div:last-child { border-bottom: 0; }
.legal-facts dt { color: var(--muted); font-weight: 700; }
.legal-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.legal-facts a, .legal-points a { color: var(--gold); }
.legal-points { display: grid; gap: 0; }
.legal-points li { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid #1d1d1d; }
.legal-points li:last-child { border-bottom: 0; }
.legal-points b { font-weight: 800; }
.legal-points span { color: var(--soft); }
.legal-lead { font-weight: 700; }
.legal-table { display: grid; margin: 16px 0; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px #242424; }
.legal-table > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr) 10rem; gap: 16px; padding: 14px 18px; border-top: 1px solid #1f1f1f; font-size: .92rem; color: var(--soft); }
.legal-table > .is-head { border-top: 0; background: #161616; color: var(--muted); font-weight: 800; font-size: .82rem; }
.legal-table code { color: var(--gold); font-size: .85rem; }
.legal-note { margin: 0 0 20px; color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .legal-page { grid-template-columns: minmax(0, 1fr); } .legal-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); } .legal-nav .kicker { grid-column: 1 / -1; } }
@media (max-width: 600px) {
  .legal-facts div, .legal-points li { grid-template-columns: minmax(0, 1fr); }
  .legal-table > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .legal-table > .is-head { display: none; }
}

/* Photos de profil dans les cartes : nettes en rond, la même image floutée derrière */
.pcard-pic.has-photo { overflow: hidden; }
.pcard-pic .pcard-blur { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(22px) saturate(1.2); opacity: .45; transform: none; }
.pcard-pic .pcard-avatar { position: relative; width: 52%; height: auto; aspect-ratio: 1; object-fit: cover; translate: 0 -16%; border-radius: 50%; box-shadow: 0 0 0 3px rgb(7 7 7 / .9), 0 0 0 4px #2c2c2c, 0 18px 40px -12px #000; transition: transform .6s var(--ease), box-shadow .3s; }
.pcard.is-rank .pcard-avatar { box-shadow: 0 0 0 3px rgb(7 7 7 / .9), 0 0 0 4px rgb(242 210 27 / .55), 0 18px 40px -12px #000; }
a.pcard-in:hover .pcard-avatar { transform: scale(1.05); box-shadow: 0 0 0 3px rgb(7 7 7 / .9), 0 0 0 4px var(--gold), 0 18px 40px -12px #000; }
a.pcard-in:hover .pcard-pic .pcard-blur { transform: none; }

/* Les réseaux d'un joueur : une tuile par réseau, avec l'icône et le pseudo */
.pl-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pl-net { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; color: var(--ink); text-decoration: none; border-radius: 14px; background: rgb(18 18 18 / .9); box-shadow: inset 0 0 0 1px #2a2a2a; transition: box-shadow .25s, translate .25s var(--ease); }
.pl-net:hover { translate: 0 -2px; box-shadow: inset 0 0 0 1px rgb(242 210 27 / .6); }
.pl-net .icon, .pl-net svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
.pl-net span { display: grid; line-height: 1.2; }
.pl-net b { font-size: .88rem; }
.pl-net small { color: var(--muted); font-size: .78rem; }

/* ---------- Coins coupés en biais, comme les lames du logo et les boutons (à la place des arrondis) ---------- */
:root { --cut-lg: 26px; --cut-sm: 16px; }
.hero-panel, .banner-panel, .join, .weekly, .support, .recruit-form, .t-signup, .me-head, .side-card, .empty, .legal-block, .legal-nav, .pl-stats div, .asso-values div, .promo-in, .ck, .asso-figs {
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - var(--cut-lg)) 0, 100% var(--cut-lg), 100% 100%, var(--cut-lg) 100%, 0 calc(100% - var(--cut-lg)));
}
.pl-stats div, .asso-values div, .ck, .empty, .side-card, .legal-nav { --cut-lg: 16px; }
.pcard-in { border-radius: 0 !important; clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, 0 100%); }
.pcard-pic .pcard-avatar { border-radius: 0 !important; box-shadow: none !important; clip-path: polygon(18% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 18%); }
.pl-net, .legal-table, .ck-btn { border-radius: 0 !important; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.pic { border-radius: 0 !important; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
@media (max-width: 760px) { :root { --cut-lg: 18px; --cut-sm: 12px; } }

/* L'en-tête du message du perso : une petite bannière AVA */
.buddy-bubble { padding-top: 0; }
.buddy-head { position: relative; display: flex; align-items: center; gap: 10px; margin: 0 -1em .7em; padding: .7em 1em .6em; overflow: hidden; isolation: isolate; background: linear-gradient(100deg, #1d1d1d, #0e0e0e 70%); border-bottom: 1px solid rgb(242 210 27 / .35); }
.buddy-head::before { content: ""; position: absolute; z-index: -1; right: 18%; top: -40%; width: 2px; height: 180%; background: var(--gold); box-shadow: 0 0 10px rgb(242 210 27 / .6); rotate: 24deg; opacity: .7; }
.buddy-head::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle, rgb(255 255 255 / .06) 1px, transparent 1.6px) 0 0 / 7px 7px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.buddy-head img { width: 34px; height: auto; filter: drop-shadow(0 0 6px rgb(255 255 255 / .2)); }
.buddy-head b { font: 400 .78rem/1 var(--display); letter-spacing: .02em; background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; }
.buddy-close { top: 9px; }
.buddy-head b { padding-bottom: .16em; line-height: 1.2; }

/* Menu : « Connexion » avec Discord, comme sur les autres sites */
.menu .menu-login { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; color: var(--ink); box-shadow: inset 0 0 0 1px #333; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: box-shadow .2s, color .2s; }
.menu .menu-login::after { display: none; }
.menu .menu-login:hover { color: var(--gold); box-shadow: inset 0 0 0 1px rgb(242 210 27 / .6); }
.menu .menu-login .icon { width: 1.05em; height: 1.05em; color: var(--gold); }
@media (max-width: 900px) { .menu .menu-login { justify-content: flex-start; box-shadow: none; clip-path: none; padding: 14px 0; } }
/* Le liseré doré du message du perso fait tout le tour, bannière comprise */
.buddy-bubble > .buddy-edge { z-index: 3; }
/* « Connexion » : un lien simple comme les autres, l'icône Discord et un fin séparateur devant */
.menu .menu-login { position: relative; margin-left: 6px; padding: 6px 0 6px 22px; color: var(--soft); box-shadow: none; clip-path: none; }
.menu .menu-login::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 18px; translate: 0 -50%; background: #333; }
.menu .menu-login::after { display: block; left: 22px; }
.menu .menu-login:hover { color: var(--ink); box-shadow: none; }
.menu .menu-login .icon { color: currentColor; opacity: .9; transition: color .2s; }
.menu .menu-login:hover .icon { color: #5865f2; opacity: 1; }
@media (max-width: 900px) { .menu .menu-login { margin: 0; padding: 14px 0; } .menu .menu-login::before { display: none; } }

/* Mon espace : la suppression du compte dans un bandeau discret, à part */
.me-delete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; margin-top: 50px; padding: 22px 26px; text-align: left; border-top: 1px solid #1f1f1f; background: linear-gradient(100deg, rgb(255 107 94 / .05), transparent 60%); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.me-delete-title { font-weight: 800; }
.me-delete-text { margin-top: 4px; color: var(--muted); font-size: .9rem; }
.btn-danger { color: var(--danger); background: transparent; box-shadow: inset 0 0 0 1px rgb(255 107 94 / .5); }
.btn-danger:hover { color: #000; background: var(--danger); box-shadow: none; }
.btn-danger { background: rgb(255 107 94 / .12); box-shadow: none; }

/* ---------- Barre de défilement du site : fine, sombre, dorée au survol ---------- */
html { scrollbar-width: thin; scrollbar-color: #343434 #070707; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #070707; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #3a3a3a, #262626); border: 3px solid #070707; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #ffe680, #f2d21b 50%, #b89405); }
::-webkit-scrollbar-corner { background: #070707; }
::selection { color: #000; background: var(--gold); }
/* Bulle du perso : pas d'ombre noire derrière, et la bannière suit le coin coupé de la bulle */
.buddy-bubble { filter: none; }
.buddy-head { clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px); }
