@font-face { font-family: 'Chakra Petch'; font-weight: 700; src: url('/assets/fonts/ChakraPetch-Bold.ttf'); font-display: swap; }
@font-face { font-family: 'Roboto'; font-weight: 100 900; src: url('/assets/fonts/Roboto-Variable.ttf'); font-display: swap; }

:root {
  --bg: #111111; --surface: #1A1A1A; --surface-2: #222222; --line: #2E2E2E;
  --text: #FFFFFF; --text-2: #B3B3B3; --muted: #7A7A7A;
  --accent: #FFB800; --on-accent: #261A00;
  --brand: 'Chakra Petch', 'Roboto', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.6 'Roboto', 'Segoe UI', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a.inline { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
code { font-family: Consolas, 'Roboto Mono', monospace; font-size: .9em; background: var(--surface-2); padding: 2px 6px; border-radius: 4px; color: var(--accent); }
h2 { font: 700 34px/1.2 var(--brand); letter-spacing: .3px; }

/* ---------- navigation ---------- */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; gap: 48px; padding: 28px clamp(16px, 5vw, 72px); }
.brand img { height: 30px; display: block; }
.links { display: flex; gap: 8px; flex-wrap: wrap; }
.links a { padding: 8px 16px; border-radius: 6px; background: rgba(17,17,17,.55); color: var(--text); font-size: 14px; font-weight: 500; transition: background .15s; }
.links a:hover { background: rgba(255,184,0,.16); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px clamp(16px, 5vw, 72px) 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('/assets/hero.jpg') center 30% / cover no-repeat; }
/* voile sombre plat + fondu vers le fond de page en bas, pour la lisibilité */
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,.45) 0%, rgba(17,17,17,.62) 55%, var(--bg) 100%); }
.hero-inner { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.pitch h1 { font: 600 clamp(28px, 3.6vw, 46px)/1.25 'Roboto', sans-serif; letter-spacing: -.2px; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.pitch h1 b { color: var(--accent); font-weight: 700; }
/* « WildM » reste dans le flux inline (pas de flex) : le mot garde la ligne de base de la phrase.
   Le logo (.78em) est centré sur la hauteur de capitale (~.71em) : bas à (.355 - .39) = -.035em. */
.wm { font-family: var(--brand); font-weight: 700; white-space: nowrap; }
.wm img { display: inline-block; height: .78em; width: auto; margin-right: .25em; vertical-align: -.035em; }

.cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.live { font-size: 17px; color: var(--text); }
.live b { color: var(--accent); font-variant-numeric: tabular-nums; }
.btn-primary { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; max-width: 380px; padding: 18px 24px;
  background: var(--accent); color: var(--on-accent); border-radius: 8px; transition: filter .15s, transform .15s; }
.btn-primary:hover { filter: brightness(1.07); }
.btn-primary span { font: 700 24px/1.1 var(--brand); letter-spacing: .5px; text-transform: uppercase; }
.btn-primary small { font-size: 13px; opacity: .75; margin-top: 4px; }
.btn-primary.disabled { background: var(--surface-2); color: var(--text-2); pointer-events: none; }
.terms { max-width: 380px; font-size: 12px; line-height: 1.5; color: var(--text-2); }
.btn-outline { width: 100%; max-width: 380px; padding: 12px 24px; border: 1px solid rgba(255,255,255,.7); border-radius: 8px; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; background: rgba(17,17,17,.35); transition: background .15s; }
.btn-outline:hover { background: rgba(255,255,255,.1); }

/* ---------- sections ---------- */
section:not(.hero) { max-width: 1240px; margin: 0 auto; padding: 72px clamp(16px, 5vw, 72px); }
.about p { max-width: 900px; margin: 0 auto; text-align: center; font-size: 19px; color: var(--text-2); }

.features h2, .host h2 { margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: var(--surface); border-radius: 12px; padding: 24px; }
.feature svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font: 700 20px/1.3 var(--brand); margin: 14px 0 8px; }
.feature p { color: var(--text-2); font-size: 15px; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head p { color: var(--text-2); }
.server-list { background: var(--surface); border-radius: 12px; overflow: hidden; }
.srv { display: grid; grid-template-columns: 48px 1fr auto auto; align-items: center; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--line); }
.srv:first-child { border-top: 0; }
.srv .ico { width: 48px; height: 48px; border-radius: 10px; background: var(--surface-2); color: var(--accent); display: grid; place-items: center; font: 700 22px var(--brand); }
.srv .ico img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.srv .ico { overflow: hidden; }
.srv .name { font-weight: 600; }
.srv .desc { color: var(--text-2); font-size: 14px; }
.srv .tags { display: flex; gap: 6px; }
.srv .tag { font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: lowercase; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); }
.srv .pl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.srv .pl small { display: block; color: var(--muted); font-size: 12px; }
.muted { color: var(--muted); padding: 28px 20px; text-align: center; }

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.steps li { counter-increment: s; background: var(--surface); border-radius: 12px; padding: 22px 22px 22px 68px; position: relative; color: var(--text-2); }
.steps li::before { content: counter(s); position: absolute; left: 22px; top: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 700 15px var(--brand); }
.steps li b { color: var(--text); display: block; margin-bottom: 4px; }

.footer { max-width: 1240px; margin: 0 auto; padding: 40px clamp(16px, 5vw, 72px) 56px; border-top: 1px solid var(--line); display: flex; gap: 28px; align-items: flex-start; }
.footer img { height: 22px; flex: none; margin-top: 3px; }
.footer p { color: var(--muted); font-size: 13px; }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .nav { gap: 16px; flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 170px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .srv { grid-template-columns: 40px 1fr auto; }
  .srv .tags { display: none; }
  .footer { flex-direction: column; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .links a { padding: 6px 10px; font-size: 13px; }
}
