:root {
  --bg: #0b0e14;
  --bg-2: #121722;
  --text: #e8ecf4;
  --muted: #9aa3b5;
  --accent: #d4a94e;      /* or nordique */
  --accent-2: #5aa7ff;    /* bleu froid */
  --discord-bg: #313338;
  --discord-header: #26282c;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

section, header.hero { max-width: 860px; margin: 0 auto; padding: 64px 20px; }

h2 { font-size: 1.7rem; margin-bottom: 28px; }

/* Hero */
.hero { text-align: center; padding-top: 96px; }
.brand {
  font-size: 1rem; letter-spacing: 0.5em; color: var(--accent);
  font-weight: 700; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.15; }
.hero .accent { color: var(--accent); }
.hero .sub { color: var(--muted); font-size: 1.15rem; max-width: 540px; margin: 20px auto 32px; }
.hero .sub strong { color: var(--text); }

.btn {
  display: inline-block; background: var(--accent); color: #14100a;
  font-weight: 700; text-decoration: none; padding: 14px 28px;
  border-radius: var(--radius); font-size: 1.05rem;
}
.btn:hover { filter: brightness(1.1); }

/* Étapes */
.steps ol { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.steps li { background: var(--bg-2); border-radius: var(--radius); padding: 24px; }
.steps .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-2); color: #0b0e14; font-weight: 700; margin-bottom: 12px;
}
.steps h3 { font-size: 1.05rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* Mockup Discord */
.discord {
  background: var(--discord-bg); border-radius: var(--radius);
  overflow: hidden; font-size: 0.95rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.d-header {
  background: var(--discord-header); padding: 12px 16px; font-weight: 700;
  border-bottom: 1px solid #1e1f22;
}
.d-hash { color: #80848e; }
.d-messages { padding: 16px; min-height: 280px; }
.d-msg { display: flex; gap: 12px; margin-bottom: 14px; }
.d-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.d-avatar.user { background: #5865f2; color: #fff; }
.d-avatar.coach { background: var(--accent); color: #14100a; }
.d-author { font-weight: 600; margin-bottom: 2px; }
.d-author.coach-name { color: var(--accent); }
.d-badge {
  background: var(--accent-2); color: #0b0e14; font-size: 0.62rem;
  font-weight: 700; border-radius: 4px; padding: 1px 5px; margin-left: 6px;
  vertical-align: 2px;
}
.d-text { color: #dbdee1; white-space: pre-wrap; overflow-wrap: anywhere; }
.d-typing { padding: 0 16px 12px; color: #949ba4; font-size: 0.85rem; }
.d-typing .d-coach-name { color: var(--accent); font-weight: 600; }

/* Gains */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.card { background: var(--bg-2); border-radius: var(--radius); padding: 24px; }
.card h3 { color: var(--accent); margin-bottom: 8px; font-size: 1.05rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Pilote */
.pilot-lead { color: var(--accent); font-weight: 700; margin-bottom: 16px; font-size: 1.1rem; }
.pilot ul { list-style: none; }
.pilot li { padding-left: 26px; position: relative; margin-bottom: 10px; color: var(--muted); }
.pilot li::before { content: "→"; position: absolute; left: 0; color: var(--accent-2); }

/* CTA */
.cta { text-align: center; }
.cta p { color: var(--muted); margin-bottom: 24px; }

footer {
  text-align: center; color: #7a8296; font-size: 0.8rem;
  padding: 32px 20px 48px; max-width: 860px; margin: 0 auto;
}
footer p { margin-bottom: 6px; }
footer strong { color: #8a93a6; }

/* Mobile */
@media (max-width: 700px) {
  section, header.hero { padding: 40px 16px; }
  .hero { padding-top: 64px; }
  .steps ol, .cards { grid-template-columns: 1fr; }
}
