/* Tracktion — site commercial (pages statiques) */
:root {
  --brand: #3346C9;
  --brand-600: #2B3BAF;
  --ink: #232220;
  --muted: #54524C;
  --faint: #A3A099;
  --bg: #F7F7F5;
  --surface: #FFFFFF;
  --border: #E7E6E2;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-600); }

.site-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.site-header .inner {
  max-width: 760px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header .brand { font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.site-header nav a { font-size: .875rem; font-weight: 500; margin-left: 1.25rem; color: var(--muted); }
.site-header nav a:hover { color: var(--brand); }

main.doc { flex: 1; max-width: 760px; width: 100%; margin: 0 auto; padding: 48px 24px; }
main.doc h1 { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .5rem; }
main.doc .updated { color: var(--faint); font-size: .8125rem; margin-bottom: 2.5rem; }
main.doc section { margin-bottom: 2rem; }
main.doc h2 { font-size: 1.125rem; font-weight: 600; margin-bottom: .75rem; }
main.doc h2 .n { color: var(--brand); margin-right: .5rem; }
main.doc h3 { font-size: .9375rem; font-weight: 600; color: var(--ink); margin: .75rem 0 .25rem; }
main.doc p, main.doc li { color: var(--muted); font-size: .9375rem; margin-bottom: .5rem; }
main.doc ul { padding-left: 1.25rem; margin-bottom: .5rem; }
main.doc strong { color: var(--ink); font-weight: 600; }
main.doc code {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8125rem;
  background: #EDECE9; padding: .1rem .35rem; border-radius: 4px;
}

/* ---------- Home commerciale ---------- */
.home { flex: 1; }
.hero { max-width: 760px; margin: 0 auto; padding: 72px 24px 40px; }
.hero .eyebrow { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--brand); margin-bottom: 1rem; }
.hero h1 { font-size: 2.25rem; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; margin-bottom: 1rem; }
.hero p.lead { font-size: 1.0625rem; color: var(--muted); max-width: 620px; margin-bottom: 1.75rem; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn { display: inline-flex; align-items: center; padding: .65rem 1.25rem; border-radius: 8px; font-size: .9375rem; font-weight: 500; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-ghost { border: 1px solid var(--border); color: var(--ink); }
.btn-ghost:hover { border-color: var(--faint); color: var(--ink); }

.section { max-width: 760px; margin: 0 auto; padding: 24px 24px; }
.section h2 { font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .75rem; }
.section p { color: var(--muted); font-size: .9375rem; margin-bottom: .75rem; }
.features { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 1rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature h3 { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.feature p { font-size: .9375rem; color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-top: 1rem; }
.panel h2 { font-size: 1.25rem; }

.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 40px; }
.site-footer .inner {
  max-width: 760px; margin: 0 auto; padding: 20px 24px;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: .8125rem; color: var(--faint);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer nav a { color: var(--muted); }
.site-footer nav a:hover { color: var(--brand); }
