:root {
  --or: #ffeb00;
  --encre: #15171a;
  --fond: #171b24;
  --venelle: #12151c;
  --etabli: #1c212c;
  --ligne: #2a3140;
  --texte: #eef0f4;
  --muted: #9393a8;
  --rayon: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-bottom: 88px; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 15px/1.5 "Segoe UI", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input { font: inherit; color: inherit; }
.auvent {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  margin-left: 248px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: rgba(23, 27, 36, .94);
  border-bottom: 1px solid var(--ligne);
  backdrop-filter: blur(8px);
}
.loquet {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}
.loquet svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.enseigne { display: flex; align-items: center; margin-right: auto; }
.enseigne img { height: 28px; width: auto; display: block; }
.auvent-actes { display: flex; align-items: center; gap: 8px; }
.lucarne, .lien-entrer, .lien-ouvrir {
  border: 0;
  cursor: pointer;
  background: transparent;
}
.lucarne {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.lucarne svg { width: 20px; height: 20px; stroke: #e8e6c8; fill: none; stroke-width: 2; }
.lien-entrer {
  color: var(--or);
  padding: 8px 10px;
  font-weight: 650;
}
.lien-ouvrir, .bouton-plein {
  background: var(--or);
  color: var(--encre);
  font-weight: 750;
  border-radius: 10px;
  padding: 10px 16px;
  display: inline-block;
}
.tamis {
  position: absolute;
  left: 248px;
  right: 18px;
  top: 70px;
  z-index: 45;
}
.tamis input {
  width: min(420px, 100%);
  margin-left: auto;
  display: block;
  background: #1c212c;
  border: 1px solid var(--ligne);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.tamis input:focus { border-color: var(--or); }
.venelle {
  position: fixed;
  inset: 0 auto 0 0;
  width: 248px;
  overflow: auto;
  background: var(--venelle);
  border-right: 1px solid var(--ligne);
  z-index: 50;
  padding: 12px 12px 96px;
}
.hallage { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.carton {
  min-height: 72px;
  border-radius: 12px;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  line-height: 1.15;
}
.carton span { font-size: 12px; opacity: .85; }
.carton strong { font-size: 15px; }
.carton.pack { background: var(--or); color: var(--encre); }
.carton.cash { background: #3a3400; color: #fff6a8; }
.carton.club { grid-column: 1 / -1; background: linear-gradient(90deg, #2a2600, #4a4208); color: #fff; min-height: 58px; border: 1px solid #6a5e10; }
.rayon {
  margin: 16px 8px 6px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7a7a8c;
  font-weight: 700;
}
.venelle a.allee {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  color: #d8d8e4;
  font-size: 13.5px;
}
.venelle a.allee:hover, .venelle a.allee.courant { background: #1c212c; color: #fff; }
.grain {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--or);
  flex: 0 0 auto;
}
.voile { display: none; }
.sejour { margin-left: 248px; padding: 22px 22px 120px; }
.sejour h1 { margin: 0 0 4px; font-size: 28px; letter-spacing: -.02em; }
.chapiteau { margin: 0 0 4px; color: var(--muted); }
.eventaire { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.lot {
  position: relative;
  height: 112px;
  border-radius: 12px;
  padding: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-color: #11141a;
}
.lot strong { position: relative; z-index: 1; font-size: 20px; font-weight: 700; line-height: 1.1; }
.lot.sport { background-image: linear-gradient(252deg, #2e7bd7, rgba(17,20,26,0) 85%); }
.lot.esport { background-image: linear-gradient(252deg, #8b5cf6, rgba(17,20,26,0) 89%); }
.lot.casino { background-image: linear-gradient(252deg, #ffeb00, rgba(17,20,26,0) 93%); color: #fff; }
.lot.aviator { background-image: linear-gradient(252deg, #df1818, rgba(17,20,26,0) 93%); }
.couple { display: grid; grid-template-columns: 1.45fr .9fr; gap: 12px; margin-bottom: 22px; }
.etabli {
  background: var(--etabli);
  border: 1px solid var(--ligne);
  border-radius: 16px;
  padding: 22px;
}
.etabli h2 { margin: 0 0 8px; font-size: 22px; }
.etabli p { margin: 0 0 16px; color: #c8c8d4; }
.filet {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0 12px;
}
.filet h2 { margin: 0; font-size: 20px; }
.filet .compte { color: var(--muted); font-size: 13px; }
.filet a { margin-left: auto; color: var(--or); font-weight: 700; font-size: 14px; }
.cour {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: 148px;
  gap: 16px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  padding-bottom: 6px;
}
.cour::-webkit-scrollbar { height: 8px; }
.cour::-webkit-scrollbar-thumb { background: #3a3140; border-radius: 8px; }
.cour.filtre-actif {
  display: flex;
  flex-wrap: wrap;
  overflow: visible;
}
.plaque { position: relative; width: 148px; }
.plaque img {
  width: 148px;
  height: 198px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #1a1e28;
}
.plaque figcaption {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.3;
  min-height: 32px;
}
.calque-j {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 198px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(21, 23, 26, .5);
  opacity: 0;
  transition: opacity .15s ease;
}
.plaque:hover .calque-j, .plaque:focus-within .calque-j { opacity: 1; }
.prose-immo { max-width: 860px; margin-top: 28px; }
.prose-immo h2 { font-size: 22px; margin: 28px 0 8px; }
.prose-immo p, .prose-immo li { color: #d5d5e0; }
.prose-immo a { color: var(--or); }
.pli {
  width: 100%;
  text-align: left;
  background: #1c212c;
  border: 1px solid var(--ligne);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 8px;
  cursor: pointer;
  font-weight: 650;
}
.pli-corps { padding: 8px 4px 4px; color: #d5d5e0; }
.date-maj { color: var(--muted); font-size: 13px; }
.perron {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--ligne);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 18px;
  align-items: start;
}
.perron h2 { margin: 0 0 6px; font-size: 18px; }
.perron p { margin: 0 0 4px; color: #c9c9d3; }
.carte-agence { border: 0; width: 100%; height: 220px; border-radius: 12px; background: #1a1e28; }
.ligne-legale { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.ligne-legale a { color: var(--or); margin-right: 12px; }
.seuil {
  position: fixed;
  left: 248px;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: flex;
  justify-content: center;
  padding: 10px 16px;
  background: rgba(23, 27, 36, .96);
  border-top: 1px solid var(--ligne);
}
.seuil a { min-width: min(280px, 100%); text-align: center; }
@media (max-width: 980px) {
  .loquet { display: grid; }
  .lien-entrer { display: none; }
  .auvent, .sejour, .seuil { margin-left: 0; left: 0; }
  .tamis { left: 12px; }
  .venelle { transform: translateX(-105%); transition: transform .2s ease; }
  body.tiroir-ouvert .venelle { transform: none; }
  body.tiroir-ouvert .voile { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 45; }
  .eventaire { grid-template-columns: 1fr 1fr; }
  .lot { height: 96px; }
  .lot strong { font-size: 16px; }
  .couple, .perron { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .eventaire { grid-template-columns: 1fr 1fr; }
  .sejour { padding: 16px 14px 120px; }
  .sejour h1 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .venelle, .calque-j { transition: none; }
}
.cta-wrap { margin: 20px 0; }
.prose-immo a.bouton-plein {
  color: var(--encre) !important;
  background: var(--or);
  font-weight: 750;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
}
.prose-immo ul, .prose-immo ol { padding-left: 22px; margin: 12px 0 18px; }
.prose-immo li { margin-bottom: 8px; line-height: 1.6; }
.prose-immo p { line-height: 1.65; margin: 14px 0; }
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 30px;
  -webkit-overflow-scrolling: touch;
}
.table-responsive table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 7px;
  font-size: 14px;
  min-width: 520px;
}
.table-responsive thead th {
  background: #3a3400;
  color: #ffeb00;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
}
.table-responsive thead th:first-child { border-radius: 8px 0 0 8px; }
.table-responsive thead th:last-child { border-radius: 0 8px 8px 0; }
.table-responsive tbody tr { background: #1c212c; }
.table-responsive tbody tr:nth-child(even) { background: #222833; }
.table-responsive tbody td {
  padding: 12px 14px;
  color: #d1d1dc;
  vertical-align: middle;
}
.table-responsive tbody td:first-child { border-radius: 8px 0 0 8px; font-weight: 650; color: #fff; }
.table-responsive tbody td:last-child { border-radius: 0 8px 8px 0; }
.table-responsive td strong { color: var(--or); }
.prose-immo ul { list-style: none !important; padding-left: 0 !important; }
.prose-immo ul li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.prose-immo ul li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: -2px;
  color: var(--or);
  font-size: 22px;
  line-height: 1;
}
.tribune-avis { margin: 36px 0 8px; }
.tribune-tete {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  background: var(--etabli);
  border: 1px solid var(--ligne);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.tribune-chiffre { font-size: 42px; font-weight: 800; color: var(--or); line-height: 1; }
.tribune-etoiles { color: var(--or); letter-spacing: 2px; }
.tribune-legende { color: var(--muted); font-size: 13px; }
.tribune-gages { display: flex; flex-wrap: wrap; gap: 8px; }
.gage-item {
  background: #12151c;
  border: 1px solid var(--ligne);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12.5px;
}
.gage-coche { color: var(--or); margin-right: 4px; }
.grille-avis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.carte-avis {
  background: var(--etabli);
  border: 1px solid var(--ligne);
  border-radius: 14px;
  padding: 16px;
}
.carte-avis-nom { font-weight: 700; }
.badge-verif { color: var(--or); font-size: 12px; font-weight: 650; }
.carte-avis-date, .carte-avis-texte { color: #c8c8d4; font-size: 13.5px; }
.carte-avis-titre { font-size: 15px; margin: 8px 0; }
.etiquette-avis {
  display: inline-block;
  margin: 4px 6px 0 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: #12151c;
  font-size: 11.5px;
  color: var(--muted);
}
@media (max-width: 980px) {
  .grille-avis { grid-template-columns: 1fr; }
}

/* Grille 4 Etapes Inscription & Depôt */
.grille-etapes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0 28px;
}
.carte-etape {
  background: var(--etabli);
  border: 1px solid var(--ligne);
  border-radius: 12px;
  padding: 16px;
  position: relative;
}
.numero-etape {
  font-size: 26px;
  font-weight: 850;
  color: var(--or);
  line-height: 1;
  margin-bottom: 8px;
}
.carte-etape h4 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #fff;
}
.carte-etape p {
  font-size: 13px;
  color: #c8c8d4;
  line-height: 1.45;
  margin: 0;
}
@media (max-width: 980px) {
  .grille-etapes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grille-etapes { grid-template-columns: 1fr; }
}
