:root {
  --noir: #2e2526;
  --brun: #443636;
  --brun-clair: #5a4a4a;
  --rouge: #b8404a;
  --rouge-vif: #d24d58;
  --creme: #e9e3e3;
  --fond: #f4f1f1;
  --texte: #2e2526;
  --muted: #7a6c6c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Open Sans', system-ui, sans-serif;
  color: var(--texte);
  background: var(--fond);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Barre de navigation ---------- */
.site-header { position:sticky; top:0; z-index:50; }
.site-header .topbar { position:relative; top:auto; }
.topbar { background: var(--brun); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.nav {
  max-width: 1100px; margin: 0 auto; height: 96px;
  display: grid; grid-template-columns: 1fr 1fr 140px 1fr 1fr; align-items: stretch;
}
.nav-link {
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; text-transform: uppercase;
  font-weight: 800; font-size: 1.15rem; letter-spacing: .02em;
  transition: background .2s;
}
.nav-link:hover, .nav-link.active { background: rgba(0,0,0,.18); }
.nav-logo { display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; }
.nav-logo img { width: 110px; height: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); transition: transform .25s; }
.nav-logo:hover img { transform: rotate(-6deg) scale(1.04); }
.burger { display: none; }

/* ---------- Bandeau + pointe ---------- */
.bandeau { background: var(--noir); color: #fff; position: relative; z-index: 10; }
.bandeau-in {
  max-width: 1100px; margin: 0 auto; padding: 8px 16px;
  display: grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:12px;
  text-transform: uppercase; font-weight: 300; font-size: 1.15rem;
}
.bandeau-in > span:first-child { text-align:left; }
.bandeau-in > span:last-child { text-align:right; }
.bandeau-in > .ip { justify-self:center; text-align:center; overflow-wrap:anywhere; min-width:0; }
.bandeau b { color: var(--rouge-vif); font-weight: 600; }
.ip {
  background: none; border: 0; cursor: pointer; font: inherit; text-transform: uppercase;
  color: var(--rouge-vif); letter-spacing: .03em; padding: 2px 10px; border-radius: 6px;
}
.ip:hover { background: rgba(255,255,255,.07); }
.ip-hint { margin-left: 6px; font-size: .68rem; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--creme); opacity: .85; }
.status-pill { display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .08em; vertical-align: middle; }
.status-pill.is-soon { background: #4a3a24; color: #f2c46d; }
.status-pill.is-open { background: #1f3a2c; color: #8fd6ac; }
.pointe {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  width: 0; height: 0; pointer-events:none;
  border-style: solid; border-width: 40px 52px 0 52px;
  border-color: var(--noir) transparent transparent transparent;
}

/* ---------- Héro ---------- */
.hero { position: relative; overflow: hidden; color: #fff; text-align: center; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: saturate(1.1); transform: scale(1.05);
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46,37,38,.55), rgba(46,37,38,.85)); }
.hero-in { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 80px 16px 80px; }
.kicker { margin: 0; text-transform: uppercase; letter-spacing: .3em; font-weight: 600; color: var(--rouge-vif); }
.hero h1 { margin: .1em 0; font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.hero-logo { width: min(440px, 80vw); height: auto; margin: 0 auto; filter: drop-shadow(0 8px 24px rgba(0,0,0,.5)); }
.lead { font-size: 1.15rem; opacity: .9; margin: 0 auto 28px; max-width: 560px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 8px; border: 2px solid transparent;
  font: 700 1rem 'Open Sans', sans-serif; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--rouge); color: #fff; box-shadow: 0 6px 18px rgba(184,64,74,.4); }
.btn-red:hover { background: var(--rouge-vif); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- Atouts (bandeau crème) ---------- */
.atouts {
  background: var(--creme); display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: none; padding: 28px max(16px, calc(50% - 550px));
}
.atout { text-align: center; padding: 14px 10px; color: var(--brun); }
.atout + .atout { border-left: 2px solid var(--brun); }
.atout svg { width: 42px; height: 42px; fill: var(--brun); margin: 0 auto 8px; display: block; }
.atout h3 { margin: 0; font-size: 1.5rem; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.atout small { display: block; font-size: 1.05rem; font-weight: 400; }

/* ---------- Contenu ---------- */
.wrap { max-width: 1100px; margin: 0 auto; padding: 24px 16px 60px; }
section, main, [id] { scroll-margin-top:220px; }
.titre {
  display: flex; align-items: center; gap: 16px; margin: 40px 0 22px;
  font-size: 1.3rem; text-transform: uppercase; font-weight: 700; color: var(--brun);
}
.titre::before, .titre::after { content: ""; flex: 1; height: 2px; background: #d6cdcd; }

.jeux { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.jeu {
  background: #fff; border-radius: 12px; padding: 20px; text-align: center;
  border-bottom: 4px solid var(--rouge); box-shadow: 0 2px 8px rgba(46,37,38,.08);
  transition: transform .2s, box-shadow .2s;
}
.jeu:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(46,37,38,.15); }
.jeu img { height: 72px; width: auto; margin: 0 auto 10px; border-radius: 8px; }
.jeu h3 { margin: 0 0 6px; text-transform: uppercase; font-weight: 800; }
.jeu p { margin: 0; color: var(--muted); font-size: .95rem; }

.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; color: #fff; text-decoration: none; background: var(--noir); box-shadow: 0 10px 24px rgba(46,37,38,.18); transition: transform .2s; }
.card:hover { transform: translateY(-3px); }
.card img { display: block; width: 100%; height: auto; }
.card-txt { padding: 16px 18px 18px; }
.card h3 { margin: 8px 0 0; font-size: 1.1rem; font-weight: 800; line-height: 1.2; }
.card p { margin: 6px 0 0; opacity: .85; }
.tag { display: inline-block; background: var(--rouge); padding: 2px 10px; font-size: .8rem; text-transform: uppercase; font-weight: 600; }

.rejoindre {
  margin-top: 50px; background: var(--brun); color: #fff; border-radius: 12px; padding: 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.rejoindre h2 { margin: 0 0 6px; text-transform: uppercase; font-weight: 800; }
.rejoindre p { margin: 0; opacity: .85; max-width: 480px; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { padding: 12px 20px; border-radius: 8px; text-decoration: none; font-weight: 700; color: #fff; transition: filter .2s; }
.social a:hover { filter: brightness(1.15); }
.s-discord { background: #5865f2; } .s-twitter { background: #1d1d1f; } .s-youtube { background: #e62117; }

.footer { background: var(--noir); color: #cfc5c5; text-align: center; padding: 34px 16px; }
.footer img { margin: 0 auto 10px; opacity: .85; }
.footer p { margin: 4px 0; }
.footer .small { font-size: .85rem; opacity: .6; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 80px);
  background: var(--rouge); color: #fff; padding: 12px 22px; border-radius: 8px; font-weight: 600;
  transition: transform .3s, opacity .3s; z-index: 100; opacity: 0; pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
  .nav { grid-template-columns: 1fr auto 1fr; height: 72px; padding: 0 16px; position: relative; }
  .nav-logo { grid-column: 2; grid-row: 1; }
  .nav-logo img { width: 90px; height: auto; }
  .nav-link { display: none; }
  .nav.open .nav-link {
    display: flex; position: static; padding: 14px; grid-column: 1 / -1;
  }
  .nav.open { height: auto; }
  .nav.open .nav-logo img { margin-bottom: 0; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    grid-column: 3; grid-row: 1; justify-self: end; align-self: center;
    background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .burger span { width: 26px; height: 3px; background: #fff; border-radius: 2px; }
  .bandeau-in { grid-template-columns:1fr; gap: 2px; font-size: .95rem; text-align: center; padding-top: 18px; }
  .bandeau-in > span:first-child, .bandeau-in > span:last-child { text-align:center; }
  .pointe { border-width: 26px 36px 0 36px; }
  .atouts { grid-template-columns: 1fr 1fr; }
  .atout + .atout { border-left: 0; }
  .atout h3 { font-size: 1.15rem; }
  .news { grid-template-columns: 1fr; }
}

.jeux-intro { text-align: center; margin: -8px 0 18px; color: var(--muted); }
.jeu-ic { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin: 0 auto 10px; background: var(--brun); color: #fff; font-weight: 800; font-size: 2rem; border-radius: 6px; }
.jeu-cat { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--rouge); font-weight: 700; margin-bottom: 2px; }
.bientot { text-align: center; margin-top: 22px; color: var(--muted); }
.bientot b { color: var(--rouge); text-transform: uppercase; }
