/* Pages web d’Elixo : mêmes couleurs que le jeu (replica/design/tokens.json). */
:root {
  color-scheme: dark;
  --bg: #10241B;
  --surface: #1A3428;
  --text: #F3EFE4;
  --muted: #B5C4B8;
  --line: #2C4A3B;
  --gold: #D9B873;
  --green: #2fb585;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--gold); }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.top {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; font-weight: 500; }
.brand img { width: 48px; height: 28px; object-fit: contain; }
.lang { font-size: 15px; color: var(--muted); }
.lang a { color: var(--muted); }

main { padding: 32px 0 48px; }
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 8px; font-weight: 600; }
h2 { font-size: 21px; margin: 36px 0 8px; color: var(--gold); font-weight: 500; }
h3 { font-size: 17px; margin: 22px 0 4px; }
p, li { color: var(--text); }
.muted { color: var(--muted); }
ul { padding-left: 22px; }
li { margin: 4px 0; }

.summary {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 24px 0;
}
.summary ul { margin: 6px 0 0; }

table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; }

.hero { text-align: center; padding: 24px 0 8px; }
.hero img.icon { width: 112px; height: 112px; border-radius: 24px; }
.hero h1 { font-size: 34px; margin-top: 18px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 8px auto 0; }
.badge {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  border-radius: 22px;
  color: var(--gold);
  font-size: 15px;
}
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 32px; }
.feature { background: var(--surface); border-radius: 12px; padding: 16px; }
.feature h3 { margin: 0 0 4px; color: var(--gold); font-weight: 500; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 32px;
  font-size: 14px;
  color: var(--muted);
}
footer a { color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 8px; }

/* Elixo : icône carrée dans l'en-tête. */
.brand img { width: 32px; height: 32px; border-radius: 8px; }

/* Page de présentation (index.html) */
.shots { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 24px 0; }
.shots img { width: 180px; max-width: 45%; height: auto; border-radius: 18px; border: 1px solid var(--line); }
.features-list li { margin: 4px 0; }
