/* Feuille dediee aux pages statiques generees par gare (site/gare/*.html).
   Volontairement legere (~2 Ko) car servie sur 100+ pages : reutilise les
   variables de couleur/typo deja definies dans /style.css plutot que de
   dupliquer le theme complet de about.html sur chaque page generee. */

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

.gp-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface);
}
.gp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.gp-brand svg { width: 26px; height: 26px; color: var(--accent); }
.gp-brand-title { font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.gp-back {
  font-size: 13px; color: var(--accent); text-decoration: none;
  padding: 7px 14px; border-radius: 999px; background: var(--accent-bg); font-weight: 500;
}
.gp-back:hover { background: var(--accent-bg-soft); text-decoration: none; }

.gp-main { max-width: 760px; margin: 0 auto; padding: 40px 20px 60px; }
.gp-eyebrow {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-faint); margin-bottom: 10px;
}
.gp-h1 {
  font-family: var(--font-display); font-size: clamp(26px, 4vw, 34px);
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 14px;
}
.gp-intro { color: var(--text-muted); max-width: 620px; margin-bottom: 28px; }
.gp-cta {
  display: inline-block; margin-bottom: 32px; padding: 11px 20px;
  background: var(--accent); color: #fff; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: 14px;
}
.gp-cta:hover { background: var(--accent-dark); color: #fff; }

.gp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.gp-card {
  display: block; padding: 16px 18px; border: 1px solid var(--border-soft);
  border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: inherit;
  transition: border-color 0.15s ease;
}
.gp-card:hover { border-color: var(--border-strong); }
.gp-card-name { font-family: var(--font-display); font-size: 17px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.gp-card-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--text-muted); }
.gp-badge {
  display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.gp-badge.facile { background: var(--accent-bg); color: var(--c-facile, var(--accent-dark)); }
.gp-badge.moyen { background: var(--warn-bg); color: var(--warn); }
.gp-badge.difficile { background: var(--danger-bg, #f1ddd0); color: var(--danger, #9a4a36); }

.gp-related { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border-soft); }
.gp-related h2 { font-family: var(--font-display); font-size: 18px; font-weight: 500; margin: 0 0 12px; }
.gp-related ul { margin: 0; padding-left: 18px; color: var(--text-muted); font-size: 14px; }
.gp-related li { margin-bottom: 4px; }

.gp-footer {
  text-align: center; padding: 24px 20px 40px; font-size: 12.5px; color: var(--text-faint);
  font-family: var(--font-mono);
}
.gp-footer a { color: var(--text-faint); }
