:root {
  /* IDS: palette alignée sur les logos (logo-v5 / logo-sq-04) :
     navy slate (#0f172a) + bleu primaire + rouge #DB4545 en accent
     signature. Refonte 2026-06 « roadbook » : zéro gradient décoratif,
     zéro ombre portée, filets fins — la décoration, c'est la donnée
     (valeurs en chasse fixe). Aligne avec la landing de l'app. */
  --bg: #ffffff;
  --bg-alt: #f8fafc;          /* slate-50 */
  --border: #e2e8f0;          /* slate-200 */
  --border-light: #f1f5f9;    /* slate-100 */
  --text: #0f172a;            /* slate-900 = navy du logo */
  --text-dim: #64748b;        /* slate-500 */
  --text-faint: #94a3b8;      /* slate-400 */
  --primary: #2563eb;         /* blue-600, mêmes boutons que l'app */
  --primary-strong: #1d4ed8;  /* blue-700 */
  --accent: #DB4545;
  --maxw: 1120px;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-strong); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--text-dim); }

.mono { font-family: var(--mono); }
.dim { color: var(--text-dim); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand-logo { height: 30px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--text-dim); font-weight: 500; font-size: 0.95rem; }
.site-nav a:hover { color: var(--text); }
.site-nav .btn { margin-left: 4px; }

/* Buttons — plats, pas d'ombre ni de translation. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-lg { padding: 13px 24px; font-size: 1rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-strong); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text-dim); color: var(--text); }

/* Sections */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 88px 24px;
}
.section-bordered { border-top: 1px solid var(--border); max-width: none; }
.section-bordered > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-bordered { padding-left: 24px; padding-right: 24px; }
.section h2 { margin-bottom: 16px; }
.section-intro { max-width: 620px; margin-bottom: 8px; }
.section-intro p { font-size: 1.05rem; }

/* Hero — deux colonnes : texte à gauche, fiche séance à droite. */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 24px 64px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { max-width: 18ch; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 500;
}
.lead { font-size: 1.12rem; max-width: 54ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--text-faint); }

/* Fiche séance — un vrai output de l'app, pas un mockup abstrait. */
.sheet {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
}
.sheet-head .mono { font-size: 0.8rem; font-weight: 400; }
.sheet-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}
.sheet-row:last-child { border-bottom: none; }
.sheet-row span:first-child { color: var(--text-dim); }
.sheet-row .mono { color: var(--text); font-size: 0.85rem; }
.sheet-caption { margin: 10px 2px 0; font-size: 0.8rem; color: var(--text-faint); }

/* Bandeau profil d'altitude — clin d'œil profil d'étape. */
.profile-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  position: relative;
}
.profile-strip svg { display: block; width: 100%; height: 90px; }
.profile-fill { fill: rgba(15, 23, 42, 0.05); }
.profile-line { fill: none; stroke: #0f172a; stroke-width: 1.5; opacity: 0.55; }
.profile-marker { fill: var(--accent); }
.profile-ticks {
  position: absolute;
  inset: auto 0 6px;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  font-size: 0.65rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}

/* Modules — lignes numérotées, pas de cartes. */
.modules { border-top: 1px solid var(--border); margin-top: 40px; }
.module {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.module-num { color: var(--text-faint); font-size: 0.85rem; padding-top: 3px; }
.module-body { max-width: 560px; }
.module-body h3 { margin-bottom: 6px; }
.module-body p { margin: 0; font-size: 0.95rem; }
.module-sample {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: right;
  padding-top: 3px;
  white-space: nowrap;
}

/* Captures réelles — figures encadrées, légende roadbook en chasse fixe. */
.shot {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption {
  padding: 10px 14px;
  font-size: 0.72rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  letter-spacing: 0.04em;
}
.shot-wide { margin-top: 40px; }
.shot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}
.shot-col { display: flex; flex-direction: column; gap: 20px; }
.shot-portrait { max-width: 360px; justify-self: center; width: 100%; }

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-num { color: var(--accent); font-size: 0.9rem; display: block; margin-bottom: 10px; }
.steps h3 { color: var(--text); margin-bottom: 8px; }
.steps p { margin: 0; font-size: 0.95rem; }

/* Pricing — bloc éditorial, pas de carte centrée. */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
h2.left { text-align: left; }
.pricing-lead { max-width: 46ch; }
.price { margin: 18px 0 24px; color: var(--text-dim); }
.price strong { font-size: 2.4rem; color: var(--text); font-weight: 800; margin-right: 4px; }
.included {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}
.included li {
  padding: 14px 2px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Trust */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.trust h3 { margin-bottom: 8px; }
.trust p { margin: 0; font-size: 0.95rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  background: var(--bg-alt);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.footer-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-logo { height: 22px; width: auto; display: block; }
.footer-copy { color: var(--text-dim); }
.footer-bzook {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px; border-left: 1px solid var(--border);
  color: var(--text-dim); font-size: 0.8rem;
}
.footer-bzook:hover { color: var(--text); }
.bzook-logo { height: 14px; width: auto; display: block; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a { color: var(--text-dim); }
.site-footer nav a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 32px; }
  .shot-grid { grid-template-columns: 1fr; }
  .module { grid-template-columns: 2.5rem 1fr; }
  .module-sample { grid-column: 2; text-align: left; padding-top: 0; }
  .steps, .trust { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 64px 24px; }
}

@media (max-width: 560px) {
  .site-nav a:not(.btn) { display: none; }
  h1 { font-size: 2rem; }
  .profile-ticks { display: none; }
}
