:root {
  --nuit: #07080c;
  --nuit-2: #0f1118;
  --nuit-3: #1f2230;
  --bleu: #2146e0;
  --blanc: #f2f4fa;
  --rouge: #d9202e;
  --or: #c69428;
  --gris: #a3a7b3;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --texte: "Barlow", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
html { background: var(--nuit); color-scheme: dark; }
body {
  font: 400 1.05rem/1.6 var(--texte);
  color: var(--blanc);
  background: var(--nuit);
  min-height: 100vh;
  display: flex; flex-direction: column;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.wrap { width: min(1100px, 100% - 2.5rem); margin-inline: auto; }

/* Bande tricolore */
.tricolore { height: 4px; background: linear-gradient(90deg, var(--bleu) 0 33.3%, var(--blanc) 33.3% 66.6%, var(--rouge) 66.6%); }

/* En-tete */
.entete { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(7, 8, 12, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--nuit-3); }
.entete .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.marque { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 700 1.15rem var(--display); letter-spacing: .06em; }
.marque img { width: 36px; height: 36px; }
.nav { display: flex; gap: 1.25rem; margin-left: auto; }
.nav a { text-decoration: none; color: var(--gris); font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blanc); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--or); }
#compte { display: flex; align-items: center; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.2rem; border-radius: 6px; font: 600 1rem var(--texte); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-discord { background: #5865f2; color: #fff; }
.btn-discord:hover { background: #4752c4; }
.btn-ghost { border-color: var(--nuit-3); color: var(--blanc); background: transparent; }
.btn-ghost:hover { border-color: var(--or); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.avatar-mini { display: flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 600; }
.avatar-mini img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--or); }

/* Hero */
.hero { padding: clamp(3rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 2rem; }
.hero h1 { font: 700 clamp(2.8rem, 8.5vw, 6.2rem)/.95 var(--display); letter-spacing: .02em; }
.hero h1 span { display: block; }
.hero h1 .ligne-or { color: var(--or); }
.hero p { max-width: 34ch; margin: 1.5rem 0 2rem; font-size: 1.2rem; color: var(--gris); }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-logo { justify-self: end; width: min(420px, 100%); filter: drop-shadow(0 20px 50px rgba(43, 79, 209, .35)); }

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--nuit-3); }
.section h2 { font: 700 clamp(1.7rem, 4vw, 2.4rem) var(--display); margin-bottom: .5rem; }
.section .intro { color: var(--gris); max-width: 60ch; margin-bottom: 2rem; }

.jeux { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0; border-top: 2px solid var(--or); }
.jeux li { padding: 1.2rem 1rem 1.2rem 0; border-bottom: 1px solid var(--nuit-3); }
.jeux strong { display: block; font-size: 1.15rem; }
.jeux span { color: var(--gris); font-size: .95rem; }

.bandeau-rejoindre { background: var(--nuit-2); border-left: 4px solid var(--or); padding: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.bandeau-rejoindre h2 { margin: 0; }

/* Profil */
.profil { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; padding: 3rem 0; }
.profil img { width: 140px; height: 140px; border-radius: 50%; border: 3px solid var(--or); }
.profil h1 { font: 700 clamp(2rem, 5vw, 3rem) var(--display); }
.pseudo { color: var(--gris); }
.badge { display: inline-block; margin-top: .8rem; padding: .3rem .8rem; border-radius: 4px; font-weight: 600; font-size: .95rem; }
.badge-membre { background: var(--or); color: var(--nuit); }
.badge-externe { background: var(--nuit-3); color: var(--blanc); }
.infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.infos div { background: var(--nuit-2); padding: 1.2rem; border-radius: 6px; }
.infos dt { color: var(--gris); font-size: .9rem; }
.infos dd { font-size: 1.4rem; font-weight: 600; }

/* Pages a venir / etats vides */
.vide { padding: 4rem 0; max-width: 55ch; }
.vide h1 { font: 700 clamp(2rem, 5vw, 3rem) var(--display); margin-bottom: 1rem; }
.vide p { color: var(--gris); margin-bottom: 1.5rem; }

.alerte { background: rgba(211, 47, 69, .15); border: 1px solid var(--rouge); padding: .9rem 1.2rem; border-radius: 6px; margin-top: 1.5rem; }

/* Pied */
.pied { margin-top: auto; padding: 2rem 0; border-top: 1px solid var(--nuit-3); color: var(--gris); font-size: .9rem; }
.pied .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--blanc); }
.pied nav { display: flex; gap: 1rem; }

/* Chargement du hero : un seul moment anime */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 span { animation: monte .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero h1 span:nth-child(2) { animation-delay: .12s; }
  .hero h1 span:nth-child(3) { animation-delay: .24s; }
  @keyframes monte { from { opacity: 0; transform: translateY(24px); } }
}

.nav-mobile { display: none; gap: 1.2rem; overflow-x: auto; padding: .6rem 1.25rem; border-bottom: 1px solid var(--nuit-3); }
.nav-mobile a { text-decoration: none; color: var(--gris); white-space: nowrap; }
.nav-mobile a[aria-current="page"] { color: var(--blanc); }

@media (max-width: 760px) {
  .nav { display: none; }
  #compte { margin-left: auto; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-logo { justify-self: start; width: 180px; order: -1; }
  .profil { grid-template-columns: 1fr; text-align: left; }
  .profil img { width: 100px; height: 100px; }
  .nav-mobile { display: flex; }
}

/* Boutique */
.boutique-tete { padding: 3rem 0 1.5rem; }
.boutique-tete h1 { font: 700 clamp(2rem, 5vw, 3rem) var(--display); }
.boutique-tete p { color: var(--gris); max-width: 55ch; }
.produits { list-style: none; padding: 0 0 3rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem 1.5rem; }
.produit .visuel { aspect-ratio: 1; background: var(--nuit-2); border-radius: 6px; overflow: hidden; display: grid; place-items: center; }
.produit .visuel img { width: 100%; height: 100%; object-fit: cover; }
.produit .visuel .sans-image { font: 700 2.5rem var(--display); color: var(--nuit-3); }
.produit h2 { font-size: 1.15rem; margin-top: .9rem; }
.produit .ligne { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: .4rem; }
.produit .prix { color: var(--or); font-weight: 600; font-size: 1.15rem; }
.produit .note { color: var(--gris); font-size: .9rem; margin-top: .3rem; }
.produit .btn { padding: .5rem .9rem; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ================= ACCUEIL (DA Discord) ================= */
.page-accueil .entete { background: transparent; border-bottom-color: transparent; backdrop-filter: none; transition: background .3s, border-color .3s; }
.page-accueil .entete.defile { background: rgba(5, 5, 8, .9); backdrop-filter: blur(10px); border-bottom-color: var(--nuit-3); }
.page-accueil main { margin-top: -64px; }

.scene { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 50% 45% at 50% 42%, rgba(198,148,40,.07), transparent 70%), #050507; }
#braises { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

.decor { position: absolute; top: 50%; translate: 0 -50%; height: min(96%, 900px); width: auto; z-index: 0; pointer-events: none; }
.decor.gauche { left: 0; mask: linear-gradient(90deg, #000 45%, transparent 98%), linear-gradient(#0000, #000 12%, #000 85%, #0000); mask-composite: intersect; -webkit-mask-composite: source-in; }
.decor.droit { right: 0; mask: linear-gradient(270deg, #000 45%, transparent 98%), linear-gradient(#0000, #000 12%, #000 85%, #0000); mask-composite: intersect; -webkit-mask-composite: source-in; }

.scene-centre { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 5.5rem 1.25rem 2rem; }
.logo-hero { width: min(440px, 76vw, 52svh); height: auto; filter: drop-shadow(0 0 50px rgba(0,0,0,.9)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.scene .actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: .5rem; }
.btn-or { background: linear-gradient(180deg, #e2b24a, #a8791a); color: #140e02; box-shadow: 0 8px 30px rgba(198,148,40,.3); }
.btn-or:hover { filter: brightness(1.08); }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.scene .btn-ghost { background: rgba(5,5,7,.6); border-color: #2c2f3a; }

.slogan { position: absolute; top: 50%; z-index: 2; font: 500 .82rem var(--texte); letter-spacing: .32em; color: #d9dbe2; text-transform: uppercase; text-align: center; text-shadow: 0 2px 12px #000; }
.slogan::after { content: ""; display: block; width: 26px; height: 2px; margin: .8rem auto 0; }
.slogan.gauche { left: clamp(1.5rem, 9vw, 11rem); }
.slogan.gauche::after { background: var(--bleu); box-shadow: 0 0 10px var(--bleu); }
.slogan.droit { right: clamp(1.5rem, 9vw, 11rem); }
.slogan.droit::after { background: var(--rouge); box-shadow: 0 0 10px var(--rouge); }

.en-ligne { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.3rem; color: var(--gris); font-size: .95rem; }
.en-ligne[hidden] { display: none; }
.en-ligne i { width: 8px; height: 8px; border-radius: 50%; background: #3ba55d; }
.en-ligne b { color: var(--blanc); }

.valeurs { position: relative; z-index: 2; list-style: none; margin: 0; padding: 1.1rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem 0;
  border-top: 1px solid rgba(255,255,255,.08); background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.valeurs li { display: flex; align-items: center; gap: .65rem; padding: 0 clamp(1rem, 3.2vw, 3rem); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: #c9ccd4; }
.valeurs li + li { border-left: 1px solid rgba(255,255,255,.14); }
.valeurs svg { width: 20px; height: 20px; stroke: #e6e7ec; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Compte a rebours */
.event { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0; background: #050507; border-top: 1px solid var(--nuit-3); }
.event .wrap { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.event h2 { font: 700 clamp(1.8rem, 4.5vw, 3rem)/1.1 var(--display); }
.event .quand { color: var(--or); font-weight: 600; margin-bottom: .6rem; }
.decompte { display: flex; gap: clamp(.5rem, 2vw, 1.2rem); }
.decompte div { min-width: clamp(64px, 11vw, 110px); padding: 1rem .5rem .7rem; text-align: center; background: var(--nuit-2); border-top: 3px solid var(--or); border-radius: 4px; }
.decompte b { display: block; font: 700 clamp(1.8rem, 5vw, 3.2rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.decompte span { color: var(--gris); font-size: .85rem; }

/* Jeux */
.tuiles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.tuiles li { position: relative; min-height: 190px; padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 6px; overflow: hidden;
  background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.06), transparent 55%), var(--nuit-2); border: 1px solid var(--nuit-3); }
.tuiles li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--bleu) 0 33.3%, var(--blanc) 33.3% 66.6%, var(--rouge) 66.6%); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.tuiles li:hover::after { transform: scaleX(1); }
.tuiles strong { font: 700 1.6rem var(--display); }
.tuiles span { color: var(--gris); }

@media (prefers-reduced-motion: no-preference) {
  .logo-hero { animation: logo-in 1.4s cubic-bezier(.2,.7,.2,1) both; }
  .decor.gauche { animation: decor-g 1.6s cubic-bezier(.2,.7,.2,1) both; }
  .decor.droit { animation: decor-d 1.6s cubic-bezier(.2,.7,.2,1) both; }
  .slogan, .scene .actions, .en-ligne { animation: fondu .9s .9s ease-out both; }
  .valeurs { animation: fondu .9s 1.2s ease-out both; }
  @keyframes logo-in { from { opacity: 0; transform: scale(.9); filter: blur(14px) brightness(2); } }
  @keyframes decor-g { from { opacity: 0; transform: translateX(-60px); } }
  @keyframes decor-d { from { opacity: 0; transform: translateX(60px); } }
  @keyframes fondu { from { opacity: 0; transform: translateY(10px); } }
}
@media (max-width: 1000px) {
  .slogan { display: none; }
  .decor { opacity: .55; height: 70%; top: 40%; }
}
@media (max-width: 760px) {
  .event .wrap { grid-template-columns: 1fr; }
  .decor { opacity: .45; height: 55%; top: 34%; }
  .valeurs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .valeurs li { flex: none; }
}
.marque { white-space: nowrap; }
.page-accueil .nav-mobile { position: relative; z-index: 5; border-bottom-color: transparent; }
@media (max-width: 760px) {
  .marque { font-size: 1rem; }
  .entete .btn-discord { padding: .5rem .8rem; font-size: .9rem; }
  .scene-centre { justify-content: flex-start; padding-top: 7rem; }
}

/* ================= SOUS LA COUVERTURE ================= */
.bloc { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; background: #050507; overflow: hidden; }
.bloc + .bloc { border-top: 1px solid rgba(255,255,255,.06); }
.entete-bloc { text-align: center; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.entete-bloc h2 { font: 700 clamp(2rem, 5vw, 3.2rem)/1.05 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.filet { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 1rem auto .9rem; }
.filet i { height: 2px; width: clamp(50px, 9vw, 110px); }
.filet i:nth-child(1) { background: linear-gradient(90deg, transparent, var(--bleu)); }
.filet i:nth-child(2) { width: 34px; height: 4px; background: var(--blanc); }
.filet i:nth-child(3) { background: linear-gradient(90deg, var(--rouge), transparent); }
.devise { color: var(--or); font-size: .8rem; letter-spacing: .32em; text-transform: uppercase; }

/* 1. Affiche de match */
.affiche { position: relative; max-width: 980px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; border: 1px solid rgba(198,148,40,.35); border-radius: 4px;
  background: radial-gradient(ellipse 60% 90% at 0% 50%, rgba(33,70,224,.28), transparent 60%), radial-gradient(ellipse 60% 90% at 100% 50%, rgba(217,32,46,.26), transparent 60%), #08090e; }
.affiche::before, .affiche::after { content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid var(--or); }
.affiche::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.affiche::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.affiche .quand { color: var(--or); font-weight: 600; letter-spacing: .08em; }
.affiche h3 { font: 700 clamp(1.8rem, 4.6vw, 3rem)/1.1 var(--display); margin: .6rem 0 1.2rem; }
.infos-match { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2rem; }
.infos-match span { padding: .35rem .9rem; border: 1px solid #2a2d38; border-radius: 999px; color: #cfd2da; font-size: .92rem; background: rgba(0,0,0,.4); }
.decompte { display: flex; justify-content: center; gap: clamp(.4rem, 2vw, 1.2rem); margin-bottom: 2.2rem; }
.decompte div { min-width: clamp(66px, 13vw, 120px); padding: 1rem .5rem .8rem; background: rgba(0,0,0,.55); border: 1px solid #22252f; border-radius: 4px; position: relative; }
.decompte div::before { content: ""; position: absolute; left: 20%; right: 20%; top: -1px; height: 2px; background: var(--or); }
.decompte b { display: block; font: 700 clamp(2rem, 6vw, 3.6rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.decompte span { color: var(--gris); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; }

/* 2. Jeux */
.grille-jeux { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }
.jeu { position: relative; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; border: 1px solid #1c1f29; background: #0b0c12; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; isolation: isolate; }
.jeu img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.jeu::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,5,7,.1) 30%, rgba(5,5,7,.95) 90%); }
.jeu .lettre { position: absolute; top: 12%; left: 50%; translate: -50% 0; z-index: -1; font: 700 9rem/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); }
.jeu::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--bleu) 0 33.3%, var(--blanc) 33.3% 66.6%, var(--rouge) 66.6%); opacity: .6; transition: opacity .3s, height .3s; }
.jeu:hover::after { opacity: 1; height: 5px; }
.jeu:hover img { transform: scale(1.05); }
.jeu strong { font: 700 1.6rem/1.15 var(--display); }
.jeu span { color: var(--gris); margin-top: .3rem; }

/* 3. La team */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: clamp(3rem, 6vw, 4.5rem); border-block: 1px solid #1c1f29; }
.chiffres div { text-align: center; padding: 1.8rem .5rem; }
.chiffres div + div { border-left: 1px solid #1c1f29; }
.chiffres b { display: block; font: 700 clamp(2.2rem, 6vw, 3.8rem)/1 var(--display); background: linear-gradient(175deg, #fff6d8, #c69428 60%, #8a6418); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chiffres span { color: var(--gris); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.staff { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.2rem; }
.staff li { text-align: center; padding: 1.8rem 1rem; background: linear-gradient(180deg, #0d0e14, #08090d); border: 1px solid #1c1f29; border-radius: 4px; }
.staff .av { width: 96px; height: 96px; margin: 0 auto 1rem; border-radius: 50%; padding: 3px; background: linear-gradient(90deg, var(--bleu) 0 33%, var(--blanc) 33% 66%, var(--rouge) 66%); }
.staff .av img, .staff .av span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #101219; font: 700 2rem var(--display); color: var(--or); border: 3px solid #050507; }
.staff strong { display: block; font-size: 1.15rem; }
.staff em { font-style: normal; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }

/* 4. Vitrine boutique */
.vitrine { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.vitrine a { display: block; text-decoration: none; }
.vitrine .visuel { aspect-ratio: 1; border-radius: 4px; overflow: hidden; display: grid; place-items: center; border: 1px solid #1c1f29;
  background: radial-gradient(circle at 50% 40%, rgba(198,148,40,.12), transparent 60%), #0b0c12; }
.vitrine .visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vitrine .visuel .fallback { width: 55%; opacity: .5; }
.vitrine a:hover .visuel img { transform: scale(1.04); }
.vitrine .ligne { display: flex; justify-content: space-between; align-items: baseline; margin-top: .9rem; }
.vitrine strong { font-size: 1.1rem; }
.vitrine .prix { color: var(--or); font-weight: 600; }
.vitrine .reserve { color: var(--gris); font-size: .85rem; }
.centre { text-align: center; }

/* 5. Rejoindre */
.rejoindre { position: relative; padding: clamp(5rem, 12vw, 9rem) 1.25rem; text-align: center; overflow: hidden; isolation: isolate; background: #050507; }
.rejoindre::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(/assets/decor-gauche.jpg) left center / auto 120% no-repeat, url(/assets/decor-droit.jpg) right center / auto 120% no-repeat; opacity: .75; }
.rejoindre::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent 10%, #050507 38%, #050507 62%, transparent 90%), linear-gradient(#050507, transparent 25%, transparent 75%, #050507); }
.rejoindre h2 { font: 700 clamp(2.2rem, 6.5vw, 4.5rem)/1 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.rejoindre p { color: #c9ccd4; max-width: 44ch; margin: 1.2rem auto 2.2rem; font-size: 1.1rem; }
.btn-xl { padding: 1.1rem 2rem; font-size: 1.15rem; }
.btn-xl svg { width: 24px; height: 24px; }

@media (max-width: 760px) {
  .chiffres { grid-template-columns: repeat(2, 1fr); }
  .chiffres div:nth-child(3) { border-left: 0; }
  .chiffres div:nth-child(n+3) { border-top: 1px solid #1c1f29; }
  .jeu { aspect-ratio: 16 / 10; }
  .jeu .lettre { font-size: 6rem; top: 8%; }
}
.jeu.sans-image { background: radial-gradient(ellipse 90% 70% at 20% 100%, rgba(33,70,224,.35), transparent 70%), #0a0b10; }
.jeu.sans-image:nth-child(3n+2) { background: radial-gradient(ellipse 90% 70% at 50% 100%, rgba(198,148,40,.28), transparent 70%), #0a0b10; }
.jeu.sans-image:nth-child(3n) { background: radial-gradient(ellipse 90% 70% at 80% 100%, rgba(217,32,46,.33), transparent 70%), #0a0b10; }
.jeu .lettre { font-size: 12rem; -webkit-text-stroke: 1.5px rgba(230,210,160,.22); top: 6%; }
.vitrine .visuel img.fallback { width: 55%; height: auto; object-fit: contain; }
.boutique .produit .visuel, .produit .visuel { background: radial-gradient(circle at 50% 40%, rgba(198,148,40,.12), transparent 60%), #0b0c12; }

/* ================= EVENTS DU MOIS ================= */
.events { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.ev { --c: #c69428; position: relative; display: flex; flex-direction: column; border-radius: 4px; overflow: hidden; background: #0a0b10; border: 1px solid #1c1f29; transition: border-color .3s, transform .3s; }
.ev:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); transform: translateY(-3px); }
.ev .haut { position: relative; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 80% 90% at 85% 0%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%), linear-gradient(160deg, #13151d, #07080c); }
.ev .haut img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.ev .haut::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 40%, rgba(10,11,16,.9)); }
.ev .sigle { position: absolute; right: .8rem; top: 50%; translate: 0 -50%; z-index: -1; font: 700 5.2rem/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c) 55%, transparent); }
.ev .haut img ~ .sigle { display: none; }
.ev .tag { position: absolute; bottom: .8rem; left: .8rem; max-width: calc(100% - 1.6rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; z-index: 1; padding: .25rem .6rem; border-radius: 3px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; background: rgba(0,0,0,.65); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.ev .quand-rel { position: absolute; top: .8rem; right: .8rem; z-index: 1; padding: .25rem .6rem; border-radius: 3px; font-size: .75rem; font-weight: 700; background: var(--blanc); color: #07080c; }
.ev .quand-rel.live { background: var(--rouge); color: #fff; display: inline-flex; align-items: center; gap: .4rem; }
.ev .quand-rel.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.ev .corps { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; border-top: 3px solid var(--c); }
.ev h3 { font: 700 1.3rem/1.2 var(--display); }
.ev .date { color: var(--gris); font-size: .92rem; margin-top: -.4rem; }
.mini-decompte { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.mini-decompte div { text-align: center; padding: .45rem 0 .35rem; background: #050507; border: 1px solid #1c1f29; border-radius: 3px; }
.mini-decompte b { display: block; font: 700 1.35rem/1 var(--display); font-variant-numeric: tabular-nums; }
.mini-decompte span { font-size: .65rem; letter-spacing: .12em; color: var(--gris); text-transform: uppercase; }
.ev .live-msg { padding: .7rem; text-align: center; font-weight: 600; background: color-mix(in srgb, var(--rouge) 18%, #050507); border: 1px solid color-mix(in srgb, var(--rouge) 50%, transparent); border-radius: 3px; }
.ev .pied-ev { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; }
.ev .interesses { color: var(--gris); font-size: .88rem; }
.ev .btn { padding: .5rem .9rem; font-size: .92rem; white-space: nowrap; flex: none; }
.ev .interesses { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-ev { background: var(--c); color: #07080c; }
.btn-ev:hover { filter: brightness(1.1); }
.events-vide { text-align: center; color: var(--gris); padding: 2rem; border: 1px dashed #2a2d38; border-radius: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .ev .quand-rel.live::before { animation: clignote 1.2s infinite; }
  @keyframes clignote { 50% { opacity: .2; } }
}

/* Fond Noctis du bloc events */
#bloc-event { isolation: isolate; }
#bloc-event::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: url(/assets/decor-gauche.jpg) left center / auto 100% no-repeat, url(/assets/decor-droit.jpg) right center / auto 100% no-repeat; opacity: .9; }
#bloc-event::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5,5,7,.15) 5%, #050507 36%, #050507 64%, rgba(5,5,7,.15) 95%),
              linear-gradient(#050507, transparent 20%, transparent 80%, #050507); }
#bloc-event .ev { background: rgba(10,11,16,.88); backdrop-filter: blur(6px); }

/* Description de l'event */
.ev .desc { color: #c3c6cf; font-size: .92rem; line-height: 1.5; margin-top: -.3rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
