:root {
  --navy: #0f2b52;
  --navy-2: #1b3a66;
  --blue: #1a7cff;
  --cyan: #0bb4dc;
  --teal: #14d3bd;
  --sky: #a9def5;
  --ink: #1d2939;
  --muted: #5b6b80;
  --line: #e4eaf2;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --grad: linear-gradient(120deg, var(--blue), var(--cyan) 55%, var(--teal));
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 43, 82, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Outfit", "Inter", sans-serif; color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
img { max-width: 100%; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

/* Wordmark */
.wordmark { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 1.45rem; color: var(--navy); letter-spacing: -.01em; }
.wordmark .fit { color: var(--teal); }
.wordmark.sm { font-size: 1.05rem; }
.wordmark.light { color: #fff; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(26, 124, 255, .25); }
.btn-ghost { color: var(--navy); border: 1.5px solid var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-light { background: #fff; color: var(--navy); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--blue); }

/* Hero */
.hero {
  padding: 80px 0 70px;
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(20, 211, 189, .12), transparent 60%),
    radial-gradient(700px 400px at 10% 0%, rgba(26, 124, 255, .10), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--cyan); margin-bottom: .8em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: var(--muted); }
.hero-proof li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 6px; }

.mini-card { background: #fff; border-radius: 18px; box-shadow: 0 30px 60px rgba(15, 43, 82, .14); border: 1px solid var(--line); overflow: hidden; transform: rotate(1.5deg); }
.mini-head { display: flex; gap: 6px; padding: 12px 16px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.mini-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #d5dde8; }
.mini-body { padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-kpi span { display: block; font-size: .8rem; color: var(--muted); }
.mini-kpi strong { font-family: "Outfit", sans-serif; font-size: 1.6rem; color: var(--navy); }
.mini-bars { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 10px; height: 130px; padding-top: 8px; border-bottom: 1px solid var(--line); }
.mini-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: var(--grad); opacity: .9; }
.mini-row { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.pill { font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.pill-teal { background: rgba(20, 211, 189, .14); color: #0a8f80; }
.pill-blue { background: rgba(26, 124, 255, .12); color: var(--blue); }

/* Band */
.band { background: var(--navy); color: #c9d6e8; }
.band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 32px; padding-top: 18px; padding-bottom: 18px; font-size: .95rem; }
.band strong { color: #fff; font-weight: 600; }

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--muted); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Expertise */
.expertise { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: center; }
.expertise-badge {
  aspect-ratio: 1; border-radius: 50%; background: var(--grad); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 20px 40px rgba(11, 180, 220, .3); font-weight: 500; padding: 20px;
}
.expertise-badge .big { font-family: "Outfit", sans-serif; font-size: 4rem; font-weight: 700; line-height: 1; }

/* Approach */
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 70px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  content: counter(s); position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-family: "Outfit", sans-serif;
}
.steps strong { display: block; color: var(--navy); }
.steps span { color: var(--muted); font-size: .93rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: #fff; border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--line); border-top: 3px solid transparent; border-image: var(--grad) 1; border-image-slice: 1 0 0 0; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Comparatif progiciel / sur mesure */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: "Outfit", sans-serif; color: var(--navy); font-size: 1.02rem; background: var(--bg-alt); }
.compare thead th:last-child { color: #fff; background: var(--grad); }
.compare tbody th { color: var(--navy); font-weight: 600; width: 22%; }
.compare td { color: var(--muted); }
.compare td:last-child { color: var(--ink); font-weight: 500; }

/* Référence */
.ref-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin-bottom: 48px; }
.ref-goals { background: var(--bg-alt); border-radius: var(--radius); padding: 30px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.ref-results { display: grid; gap: 16px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; display: flex; align-items: center; gap: 18px; }
.stat strong { font-family: "Outfit", sans-serif; font-size: 2.2rem; min-width: 90px; }
.stat strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); }

/* Maquette de l'application */
.app-shot { margin: 0; }
.app-shot figcaption { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 14px; }
.app {
  display: grid; grid-template-columns: 230px 1fr; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(15, 43, 82, .15);
  font-size: 13px; line-height: 1.4; background: #f7f9fc;
}
.app-side { background: #fff; border-right: 1px solid var(--line); padding: 16px 10px; }
.app-brand { display: flex; align-items: center; gap: 8px; padding: 0 8px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.app-group { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); padding: 12px 10px 4px; }
.app-side a { display: block; padding: 5px 10px 5px 22px; color: var(--ink); border-radius: 7px; }
.app-side a.active { background: rgba(20, 211, 189, .12); color: var(--navy); font-weight: 600; }
.app-main { min-width: 0; }
.app-top { display: flex; align-items: center; gap: 18px; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 18px; }
.crumbs { color: var(--muted); white-space: nowrap; }
.crumbs b { color: var(--ink); font-weight: 500; }
.search { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; color: #98a3b3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pending { white-space: nowrap; }
.badge { display: inline-block; background: var(--teal); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 1px 7px; }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; }
.app-content { padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.panel-head { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.legend { font-size: 11px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.sw { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-left: 8px; }
.sw-real, .b-real { background: var(--blue); }
.sw-prev, .b-prev { background: var(--teal); }
.nav-links { font-size: 12px; color: var(--blue); }
.nav-links em { color: var(--muted); font-style: normal; margin: 0 6px; }
.t-light { color: #4fb5e0; } .t-blue { color: var(--blue); } .t-teal { color: #0fb8a4; }
.chart { display: flex; gap: 6px; padding: 14px 12px; overflow-x: auto; }
.col { flex: 1 0 70px; text-align: center; padding: 8px 4px; border-radius: 8px; border: 1px solid transparent; }
.col.current { border-color: #cfd8e4; }
.bars, .stack { height: 84px; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.stack { flex-direction: column-reverse; align-items: center; justify-content: flex-start; gap: 0; }
.bars i { width: 18px; border-radius: 2px 2px 0 0; }
.stack i { width: 28px; display: block; }
.p-lead { background: var(--sky); }
.p-opp { background: var(--blue); }
.p-won { background: var(--teal); }
.lbl { font-size: 12px; margin-top: 6px; color: var(--ink); white-space: nowrap; }
.val { font-size: 11px; color: var(--muted); white-space: nowrap; }
.v-real { color: var(--blue); }
.v-prev { color: #0d9c8b; }

/* Offres */
.offer { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.offer-sub { color: var(--muted); margin-bottom: 20px; }
.offer-featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.tag { position: absolute; top: -12px; left: 30px; background: var(--grad); color: #fff; font-size: .75rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cyan); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* CTA */
.cta { background: var(--grad); color: #fff; padding: 80px 0; text-align: center; }
.cta h2 { color: #fff; }
.cta p { opacity: .92; max-width: 560px; margin: 0 auto 28px; }

/* Footer */
.site-footer { background: var(--navy); color: #a9b9cf; padding: 40px 0; font-size: .9rem; }
.footer-inner .brand { margin-bottom: 12px; }
.legal { font-size: .8rem; color: #7f93ad; margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .header-inner .btn { margin-left: auto; }
  .hero-grid, .approach, .ref-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .cards-3, .features { grid-template-columns: 1fr 1fr; }
  .expertise { grid-template-columns: 1fr; gap: 28px; }
  .expertise-badge { width: 180px; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0; }
  .cards-3, .features { grid-template-columns: 1fr; }
  .search, .crumbs { display: none; }
  .app-top { justify-content: flex-end; }
  .mini-card { transform: none; }
  .wordmark { font-size: 1.25rem; }
}
