:root {
  --ink: #14202e;
  --ink-soft: #4a5868;
  --bg: #ffffff;
  --bg-alt: #f3f5f7;
  --navy: #12263f;
  --navy-2: #1c3a5e;
  --accent: #e8913a;
  --accent-dark: #c9741f;
  --line: #dde3ea;
  --radius: 14px;
  --head: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-soft); font-size: .95rem; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 24px; border-radius: 999px; transition: background .2s, transform .2s; }
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-small { padding: 8px 18px; font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(18,38,63,.96); backdrop-filter: blur(6px); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-size: 1.35rem; font-weight: 700; }
.logo svg { width: 30px; height: 30px; fill: var(--accent); }
.logo strong { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; opacity: .9; }
.nav a:hover { opacity: 1; }
.nav a.btn { opacity: 1; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 8px; padding: 6px 12px; font: inherit; cursor: pointer; }

/* Hero */
.hero { position: relative; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 96px 0 150px; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; }
.hero-inner > * { max-width: 820px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--accent); }
.lead { font-size: 1.2rem; color: #d3dce7; max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.ridge { position: absolute; left: 0; bottom: -1px; width: 100%; height: 130px; fill: var(--bg); }

/* Stats */
.stats { padding: 8px 0 56px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-top: 3px solid var(--accent); padding-top: 16px; }
.stat-num { display: block; font-family: var(--head); font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.stat-label { color: var(--ink-soft); font-size: .95rem; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 680px; margin-bottom: 40px; }

.pain-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.pain-list li { background: var(--bg-alt); border-radius: var(--radius); padding: 20px 22px 20px 52px; position: relative; }
.pain-list li::before { content: ""; position: absolute; left: 22px; top: 27px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--accent); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card p { color: var(--ink-soft); margin: 0; }
.card-accent { background: var(--navy); color: #fff; border-color: var(--navy); }
.card-accent p { color: #d3dce7; }
.card-accent h3 { color: var(--accent); }

/* Frise méthode : horizontale sur grand écran, verticale sur mobile */
.frise { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.frise::before { content: ""; position: absolute; top: 7px; left: 8px; right: 8px; height: 2px; background: var(--line); }
.frise li { position: relative; padding-top: 36px; }
.frise li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--bg); }
.frise-when { display: block; font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.frise p { color: var(--ink-soft); margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: "0" counter(s); font-family: var(--head); font-weight: 800; font-size: 1.1rem; color: var(--accent); }
.steps strong { font-family: var(--head); font-size: 1.2rem; }
.steps span { color: var(--ink-soft); }

.parcours { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 24px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px; display: flex; flex-direction: column; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -32px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg-alt); }
.timeline .when { font-size: .85rem; font-weight: 600; color: var(--accent-dark); }
.timeline strong { font-family: var(--head); }
.timeline span:last-child { color: var(--ink-soft); font-size: .95rem; }

.contact { background: var(--navy); color: #fff; text-align: center; }
.contact .section-lead { color: #d3dce7; margin-left: auto; margin-right: auto; }
.contact .hero-cta { justify-content: center; }

.site-footer { background: #0c1a2c; color: #9fb0c3; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; padding: 20px; }
.footer-inner a { color: inherit; }

/* Page simple (mentions légales) */
.simple { max-width: 760px; padding-top: 56px; padding-bottom: 56px; }
.simple section { padding: 24px 0; border-top: 1px solid var(--line); }
.simple h2 { font-size: 1.4rem; }
.simple a { color: var(--accent-dark); }

/* Responsive */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .parcours { grid-template-columns: 1fr; gap: 32px; }
  .frise { grid-template-columns: 1fr; gap: 28px; padding-left: 36px; }
  .frise::before { top: 8px; bottom: 8px; left: 7px; right: auto; width: 2px; height: auto; }
  .frise li { padding-top: 0; }
  .frise li::before { left: -36px; top: 4px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px; }
  .nav.open { display: flex; }
  .hero { padding: 64px 0 110px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .section { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; }
  .pain-list { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .ridge { height: 80px; }
}
