/* TeamKit — page d'accueil v3 (7 sept. 2026)
   Préfixe hp- pour ne pas entrer en collision avec style.css. */

.hp-main { padding-top: 80px; }
.hp-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.hp-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent-primary); }
.hp-eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--accent-primary); }
.hp-sec { padding: 56px 0; }
.hp-alt { background: var(--bg-secondary); border-block: 1px solid var(--border-color); }
.hp-sec h2 { font-family: var(--font-display); font-size: clamp(1.35rem, 3.2vw, 2rem); font-weight: 800; text-transform: uppercase; letter-spacing: .5px; margin: 6px 0 0; text-wrap: balance; color: var(--text-primary); }
.hp-sec h3 { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; letter-spacing: .3px; margin: 0; color: var(--text-primary); }
.hp-sec-h { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.hp-sec-h p { color: var(--text-muted); max-width: 58ch; margin: 6px 0 0; }
.hp-sec-h.is-center { justify-content: center; text-align: center; }
.hp-sec-h.is-center .hp-eyebrow { justify-content: center; }
.hp-more { white-space: nowrap; color: var(--accent-primary); text-decoration: none; font-weight: 700; font-size: .95rem; }
.hp-more:hover { text-decoration: underline; }

/* ---- Héros ---- */
.hp-hero { position: relative; overflow: hidden; padding: 56px 0 44px; border-bottom: 1px solid var(--border-color); }
.hp-hero::before { content: ''; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(ellipse at 20% 30%, rgba(0,240,255,.13), transparent 55%), radial-gradient(ellipse at 85% 10%, rgba(123,44,191,.28), transparent 55%); pointer-events: none; }
.hp-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hp-live { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 6px 12px 6px 8px; border-radius: 99px; background: rgba(0,255,136,.08); border: 1px solid rgba(0,255,136,.35); color: var(--text-primary); font-size: .86rem; font-weight: 600; }
.hp-live b { color: var(--accent-success); }
.hp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-success); animation: hpPulse 1.8s infinite; }
@keyframes hpPulse { 0% { box-shadow: 0 0 0 0 rgba(0,255,136,.55); } 70% { box-shadow: 0 0 0 9px rgba(0,255,136,0); } 100% { box-shadow: 0 0 0 0 rgba(0,255,136,0); } }
.hp-hero h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 5.2vw, 3.3rem); font-weight: 800; line-height: 1.08; text-transform: uppercase; margin: 18px 0 14px; letter-spacing: -.5px; color: var(--text-primary); text-wrap: balance; }
.hp-hero h1 small { display: block; font-family: var(--font-body); font-weight: 500; font-size: clamp(1rem, 2.2vw, 1.3rem); text-transform: none; letter-spacing: 0; color: var(--text-secondary); margin-top: 10px; max-width: 36ch; line-height: 1.45; }
.hp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 26px; }
.hp-cta.is-center { justify-content: center; margin: 0; }
.hp-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 22px; width: fit-content; margin: 0; }
.hp-stats div { display: flex; flex-direction: column; }
.hp-stats dd { margin: 0; font-size: 1.45rem; color: var(--text-primary); line-height: 1.1; }
.hp-stats dd.is-ok { color: var(--accent-success); }
.hp-stats dd.is-warn { color: var(--accent-warning); }
.hp-stats dt { font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }

.hp-board { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.hp-board-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted); }
.hp-board-h b { color: var(--accent-success); font-family: var(--font-mono); letter-spacing: 0; text-transform: none; }
.hp-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 9px 6px; border-top: 1px solid var(--border-color); text-decoration: none; color: inherit; border-radius: 8px; }
.hp-row:first-of-type { border-top: 0; }
.hp-row:hover { background: rgba(0,240,255,.05); }
.hp-row.is-off { opacity: .6; }
.hp-row i { width: 34px; height: 34px; border-radius: 8px; background: var(--bg-tertiary); display: grid; place-items: center; font-style: normal; font-size: 1.1rem; }
.hp-row-t { min-width: 0; }
.hp-row-n { display: block; color: var(--text-primary); font-weight: 600; font-size: .98rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-row-g { display: block; font-size: .78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-row-p { font-family: var(--font-mono); font-size: .86rem; color: var(--text-primary); text-align: right; }
.hp-bar { display: block; width: 68px; height: 4px; background: var(--bg-tertiary); border-radius: 99px; margin-top: 5px; overflow: hidden; }
.hp-bar::after { content: ''; display: block; height: 100%; width: var(--f, 0%); background: var(--accent-success); transition: width .4s; }
.hp-board-f { margin-top: 10px; text-align: center; font-size: .85rem; }
.hp-board-f a, .hp-board-empty a { color: var(--accent-primary); text-decoration: none; font-weight: 600; }
.hp-board-empty { color: var(--text-muted); text-align: center; padding: 18px 0; margin: 0; }

/* ---- Jeux ---- */
.hp-games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hp-game { position: relative; display: block; text-decoration: none; color: inherit; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; padding: 16px; min-height: 132px; transition: transform .15s, border-color .15s; overflow: hidden; }
.hp-game::after { content: ''; position: absolute; right: -30%; bottom: -50%; width: 120px; height: 120px; border-radius: 50%; background: rgba(0,240,255,.13); filter: blur(28px); }
.hp-game:nth-child(3n)::after { background: rgba(123,44,191,.3); }
.hp-game:nth-child(4n)::after { background: rgba(0,255,136,.14); }
.hp-game:hover { transform: translateY(-3px); border-color: var(--accent-primary); }
.hp-game-ic { display: block; font-size: 1.9rem; line-height: 1; }
.hp-game h3 { margin-top: 12px; font-size: .98rem; }
.hp-game-d { display: block; font-size: .82rem; color: var(--text-muted); margin-top: 3px; }
.hp-badge { position: absolute; top: 12px; right: 12px; font-family: var(--font-mono); font-size: .66rem; padding: 3px 7px; border-radius: 6px; background: rgba(0,255,136,.12); color: var(--accent-success); }
.hp-badge.is-wait { background: rgba(255,170,0,.12); color: var(--accent-warning); }
.hp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hp-chip { text-decoration: none; font-size: .86rem; font-weight: 600; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--border-color); color: var(--text-secondary); background: var(--bg-secondary); }
.hp-chip:hover { border-color: var(--accent-primary); color: var(--text-primary); }
.hp-chip.is-more { color: var(--accent-primary); }

/* ---- Étapes ---- */
.hp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: hp; }
.hp-steps li { position: relative; padding: 22px 20px 20px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; counter-increment: hp; }
.hp-steps li::before { content: '0' counter(hp); font-family: var(--font-mono); font-size: .8rem; color: var(--accent-primary); letter-spacing: 1px; }
.hp-steps h3 { margin: 10px 0 6px; }
.hp-steps p { font-size: .95rem; color: var(--text-muted); margin: 0; }
.hp-t { display: inline-block; margin-top: 12px; font-family: var(--font-mono); font-size: .72rem; color: var(--text-primary); background: var(--bg-tertiary); padding: 4px 8px; border-radius: 6px; }

/* ---- Serveurs vitrine ---- */
.hp-servers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hp-srv { display: block; text-decoration: none; color: inherit; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; padding: 16px; transition: border-color .15s; }
.hp-srv:hover { border-color: var(--accent-primary); }
.hp-srv-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.hp-on { color: var(--accent-success); display: inline-flex; align-items: center; gap: 6px; text-transform: none; letter-spacing: 0; font-size: .82rem; }
.hp-on::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-success); }
.hp-off { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.hp-srv h3 { margin: 10px 0 4px; }
.hp-srv p { font-size: .92rem; color: var(--text-secondary); margin: 0; }
.hp-srv-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: .8rem; color: var(--text-muted); }
.hp-srv-meta b { color: var(--text-primary); font-family: var(--font-mono); font-weight: 400; }

/* ---- Gratuit ---- */
.hp-free { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hp-lead { font-size: 1.12rem; color: var(--text-primary); max-width: 52ch; margin: 12px 0 0; }
.hp-checks { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.hp-checks li { display: flex; gap: 10px; font-size: 1rem; color: var(--text-secondary); }
.hp-checks li::before { content: '✓'; color: var(--accent-success); font-weight: 700; }
.hp-cost { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; }
.hp-cost-h { display: flex; justify-content: space-between; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.hp-cost-big { font-family: var(--font-mono); font-size: 2rem; color: var(--text-primary); margin: 6px 0 12px; }
.hp-cost-big small { font-size: .95rem; color: var(--text-muted); }
.hp-cost-txt { color: var(--text-secondary); margin: 10px 0 0; }
.hp-gauge { height: 10px; border-radius: 99px; background: var(--bg-tertiary); overflow: hidden; }
.hp-gauge div { height: 100%; background: linear-gradient(90deg, var(--accent-secondary), var(--accent-tertiary)); border-radius: 99px; }
.hp-cost-l { display: flex; justify-content: space-between; margin-top: 8px; font-size: .84rem; color: var(--text-muted); }
.hp-cost-btn { width: 100%; margin-top: 16px; }

/* ---- FAQ ---- */
.hp-faq { max-width: 760px; margin-inline: auto; }
.hp-faq details { border-top: 1px solid var(--border-color); }
.hp-faq details:last-of-type { border-bottom: 1px solid var(--border-color); }
.hp-faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--text-primary); font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; }
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after { content: '+'; color: var(--accent-primary); font-family: var(--font-mono); font-size: 1.2rem; flex-shrink: 0; }
.hp-faq details[open] summary::after { content: '–'; }
.hp-faq details p { padding: 0 0 16px; margin: 0; max-width: 65ch; color: var(--text-secondary); line-height: 1.6; }
.hp-faq-more { text-align: center; margin: 18px 0 0; }
.hp-faq-more a { color: var(--accent-primary); text-decoration: none; font-weight: 600; }

/* ---- Appel final ---- */
.hp-cta-sec { text-align: center; padding: 64px 0; background: radial-gradient(ellipse at 50% 100%, rgba(123,44,191,.35), transparent 60%); border-top: 1px solid var(--border-color); }
.hp-cta-sec h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 800; text-transform: uppercase; margin: 0; color: var(--text-primary); }
.hp-cta-sec p { margin: 10px auto 22px; max-width: 46ch; color: var(--text-secondary); }

/* ---- Plan du site jeux ---- */
.hp-sitemap { border-top: 1px solid var(--border-color); padding: 22px 0; font-size: .84rem; }
.hp-sitemap .container { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.hp-sitemap-t { color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-size: .72rem; margin-right: 6px; }
.hp-sitemap a { color: var(--text-secondary); text-decoration: none; }
.hp-sitemap a:hover { color: var(--accent-primary); }

/* ---- Bouton collé (mobile) ---- */
.hp-mob-cta { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; }
.hp-mob-cta .btn { width: 100%; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 24px rgba(0,240,255,.25); }
.hp-mob-cta.is-hidden { display: none !important; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .hp-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hp-games, .hp-steps, .hp-servers { grid-template-columns: repeat(2, 1fr); }
  .hp-free { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .hp-hero { padding: 30px 0 28px; }
  .hp-cta .btn { flex: 1 1 100%; }
  .hp-stats { grid-template-columns: repeat(2, 1fr); gap: 14px 28px; width: 100%; }
  .hp-stats dd { font-size: 1.3rem; }
  .hp-board { padding: 12px; }
  .hp-bar { width: 48px; }
  .hp-sec { padding: 40px 0; }
  .hp-sec-h { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hp-sec-h.is-center { align-items: center; }
  .hp-games { display: flex; overflow-x: auto; gap: 10px; padding: 4px 16px 12px; margin-inline: -16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hp-games::-webkit-scrollbar { display: none; }
  .hp-game { flex: 0 0 150px; scroll-snap-align: start; min-height: 120px; }
  .hp-steps, .hp-servers { grid-template-columns: 1fr; }
  .hp-cta-sec { padding: 48px 0; }
  .hp-mob-cta { display: block; }
  .scroll-top { bottom: 76px; }
  body.hp { padding-bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) { .hp-dot { animation: none; } .hp-game, .hp-bar::after { transition: none; } }

/* Ajustements après vérification mobile (7 sept.) */
.hp-live { display: inline-block; line-height: 1.45; }
.hp-dot { display: inline-block; vertical-align: middle; margin: -2px 8px 0 0; }
.hp-sec h3, .hp-game h3 { text-transform: none; letter-spacing: 0; }
@media (max-width: 640px) {
  .hp-badge { position: static; display: inline-block; margin-bottom: 8px; }
  .hp-game h3 { font-size: .9rem; }
}

/* 👑 Serveur du patron */
.hp-crown { font-style: normal; font-family: var(--font-mono); font-size: .62rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 1px 8px; border-radius: 99px; background: linear-gradient(90deg,#00f0ff 0%,#2f7bff 60%,#7b2cbf 100%); color: #06101a; box-shadow: 0 0 10px rgba(0,240,255,.45), 0 0 22px rgba(47,123,255,.25); vertical-align: middle; margin-left: 5px; white-space: nowrap; }
