:root {
  --ink: #0e1b2c;
  --ink-soft: #3d4b5c;
  --muted: #6b7889;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --edge: #e3e8ee;
  --accent: #1f5eff;
  --accent-ink: #ffffff;
  --navy: #0b1f3a;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* En-tete */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 1px 0 var(--edge);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-weight: 800; font-size: 20px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--ink-soft); font-weight: 500; }
.nav a[aria-current="page"] { color: var(--accent); }

/* Bandeau */
.hero { background: var(--navy); color: #fff; padding: 88px 0 96px; }
.hero .eyebrow { color: #9db8ff; font-weight: 600; font-size: 14px; text-transform: uppercase; margin: 0 0 14px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.12; margin: 0 0 20px; max-width: 760px; }
.hero p.lead { font-size: 19px; color: #c9d6ea; max-width: 640px; margin: 0 0 32px; }
.hero-person { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.avatar {
  width: 112px; height: 112px; border-radius: 50%;
  background: linear-gradient(135deg, #1f5eff, #7aa2ff);
  display: grid; place-items: center;
  font-size: 40px; font-weight: 800; color: #fff; flex: none;
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 10px;
  font-weight: 600; font-size: 16px;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #164ad1; }
.btn-ghost { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }

/* Sections */
section { padding: 80px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; margin: 0 0 12px; }
.section-lead { color: var(--ink-soft); max-width: 680px; margin: 0 0 40px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--bg); border-radius: var(--radius); padding: 26px;
  box-shadow: 0 0 0 1px var(--edge);
}
section.soft .card { box-shadow: none; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.tag {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--accent); background: #eaf0ff; border-radius: 999px; padding: 3px 10px; margin-bottom: 14px;
}

.split { display: grid; gap: 40px; grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.product {
  background: var(--navy); color: #fff; border-radius: 20px; padding: 36px;
}
.product h3 { font-size: 28px; margin: 0 0 6px; }
.product p { color: #c9d6ea; margin: 0 0 20px; }
.product ul { margin: 0 0 24px; padding-left: 20px; color: #dfe7f3; }

/* Parcours */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 32px 28px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
}
.timeline li::after {
  content: ""; position: absolute; left: 4px; top: 22px; bottom: 0; width: 2px; background: var(--edge);
}
.timeline li:last-child::after { display: none; }
.timeline .when { font-size: 14px; color: var(--muted); font-weight: 600; }
.timeline h3 { margin: 2px 0 2px; font-size: 18px; }
.timeline .where { color: var(--ink-soft); font-weight: 500; margin: 0 0 6px; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { background: var(--bg); border-radius: 999px; padding: 6px 14px; font-size: 15px; box-shadow: 0 0 0 1px var(--edge); }

.facts { display: grid; gap: 4px 24px; grid-template-columns: max-content 1fr; margin: 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--ink-soft); }

/* Contact */
.contact { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.contact .card a { font-weight: 600; }

/* Pied de page */
footer { background: var(--navy); color: #9fb0c8; padding: 36px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: #dfe7f3; }

/* Pages de texte */
.doc { padding: 64px 0 80px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p { color: var(--ink-soft); margin: 0 0 8px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { gap: 14px; font-size: 14px; }
  .hero { padding: 56px 0 64px; }
  section { padding: 56px 0; }
  .split { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts dd { margin-bottom: 10px; }
}
