:root {
  --gutter: clamp(20px, 5vw, 56px);
  --bg: #FFFFFF;
  --bg-soft: #F7F5FE;
  --bg-soft-2: #F1EDFC;
  --ink: #16151F;
  --ink-soft: #5C5A72;
  --ink-faint: #9391A8;
  --line: #EAE7F6;
  --line-strong: #DAD4EF;
  --primary: #6D28E0;
  --primary-600: #5A1EC4;
  --primary-100: #EFE7FD;
  --primary-contrast: #FFFFFF;
  --grad-1: #6D28E0;
  --grad-2: #B23FE0;
  --grad-3: #3E8EF7;
  --good: #16A34A;
  --good-bg: #E7F8ED;
  --bad: #E0392E;
  --bad-bg: #FBEAE8;
  --shadow-btn: 0 10px 24px -8px rgba(109,40,224,0.45);
  --shadow-card: 0 2px 16px rgba(23,17,51,0.05);
  --radius-lg: 20px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14121F; --bg-soft: #1C1830; --bg-soft-2: #221D3B;
    --ink: #F3F1FB; --ink-soft: #B7B3CC; --ink-faint: #7B7796;
    --line: #322C4C; --line-strong: #443C68;
    --primary: #A379FF; --primary-600: #B892FF; --primary-100: #2B2350; --primary-contrast: #14121F;
    --good: #4ADE80; --good-bg: #14301F; --bad: #F87171; --bad-bg: #3A1A18;
    --shadow-btn: 0 10px 26px -6px rgba(163,121,255,0.5);
    --shadow-card: 0 2px 18px rgba(0,0,0,0.4);
  }
}
:root[data-theme="dark"] {
  --bg: #14121F; --bg-soft: #1C1830; --bg-soft-2: #221D3B;
  --ink: #F3F1FB; --ink-soft: #B7B3CC; --ink-faint: #7B7796;
  --line: #322C4C; --line-strong: #443C68;
  --primary: #A379FF; --primary-600: #B892FF; --primary-100: #2B2350; --primary-contrast: #14121F;
  --good: #4ADE80; --good-bg: #14301F; --bad: #F87171; --bad-bg: #3A1A18;
  --shadow-btn: 0 10px 26px -6px rgba(163,121,255,0.5);
  --shadow-card: 0 2px 18px rgba(0,0,0,0.4);
}
:root[data-theme="light"] {
  --bg: #FFFFFF; --bg-soft: #F7F5FE; --bg-soft-2: #F1EDFC;
  --ink: #16151F; --ink-soft: #5C5A72; --ink-faint: #9391A8;
  --line: #EAE7F6; --line-strong: #DAD4EF;
  --primary: #6D28E0; --primary-600: #5A1EC4; --primary-100: #EFE7FD; --primary-contrast: #FFFFFF;
  --good: #16A34A; --good-bg: #E7F8ED; --bad: #E0392E; --bad-bg: #FBEAE8;
  --shadow-btn: 0 10px 24px -8px rgba(109,40,224,0.45);
  --shadow-card: 0 2px 16px rgba(23,17,51,0.05);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; }
::selection { background: var(--primary); color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--primary);
  background: var(--primary-100);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.eyebrow.soft { color: var(--ink-soft); background: var(--bg-soft-2); }

h1, h2, h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- header ---------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
@media (prefers-color-scheme: dark) { header { background: rgba(20,18,31,0.75); } }
:root[data-theme="dark"] header { background: rgba(20,18,31,0.75); }
.wordmark {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.wordmark span { color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-btn);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary:hover { background: var(--primary-600); transform: translateY(-1px); }
.btn-primary:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.btn-subtle {
  background: transparent;
  color: var(--ink-soft);
  padding: 8px 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}
.btn-subtle:hover { color: var(--ink); text-decoration-color: var(--ink-soft); }
.btn-subtle:focus-visible { outline: 2px solid var(--line-strong); outline-offset: 3px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  opacity: 0.55;
}
.hero::before {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--grad-2), transparent 70%);
  top: -180px; right: -120px;
}
.hero::after {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--grad-3), transparent 70%);
  bottom: -200px; left: -140px;
}
@media (prefers-color-scheme: dark) { .hero::before, .hero::after { opacity: 0.28; } }
:root[data-theme="dark"] .hero::before, :root[data-theme="dark"] .hero::after { opacity: 0.28; }
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-top { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
  max-width: 18ch;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--grad-1), var(--grad-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 24px;
  max-width: 54ch;
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.hero-cta-row { margin-top: 34px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-meta .step {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
}
.hero-meta .arrow { color: var(--primary); font-weight: 700; }

/* ---------- generic section ---------- */
section { position: relative; }
.band { background: var(--bg-soft); }
.sect { padding: clamp(56px, 8vw, 100px) 0; }
.sect-head { margin-bottom: clamp(32px, 4vw, 48px); }
.sect-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.sect-intro { max-width: 62ch; color: var(--ink-soft); }

/* ---------- value prop stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
}
.stat-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  background: linear-gradient(100deg, var(--grad-1), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.stat-num span {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--ink);
  margin-top: 6px;
}
.stat-card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- pour qui ---------- */
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.profile-list { list-style: none; padding: 0; margin: 16px 0 0; }
.profile-list li { padding: 6px 0 6px 24px; position: relative; font-size: 0.98rem; }
.profile-list li::before { content: "→"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ---------- case studies ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 30px 26px;
}
.case-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.case-pink .case-tile { background: linear-gradient(135deg, #E24FA8, #B23FE0); }
.case-blue .case-tile { background: linear-gradient(135deg, #3E8EF7, #6D28E0); }
.case-green .case-tile { background: linear-gradient(135deg, #1FAE6E, #3E8EF7); }
.case-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.case-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: var(--bg-soft-2);
  object-fit: cover;
  display: block;
  margin-bottom: 18px;
}
.case-context { margin: 0 0 20px; font-size: 0.92rem; color: var(--ink-soft); }
.case-stat {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  margin-bottom: 10px;
}
.case-pink .case-stat { color: #D6379C; }
.case-blue .case-stat { color: #3E8EF7; }
.case-green .case-stat { color: #1FAE6E; }
.case-stat span {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-left: 6px;
}
.case-timeline {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-faint);
}

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 30px 26px;
}
.pricing-card.pricing-highlight {
  background: var(--primary-100);
  border-color: transparent;
}
.pricing-label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.pricing-price {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 2.1rem;
  margin-bottom: 12px;
}
.pricing-price span { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 1rem; color: var(--ink-soft); }
.pricing-desc { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- process flow ---------- */
.flow {
  display: flex;
  overflow-x: auto;
  gap: 0;
  padding-bottom: 8px;
  -webkit-mask-image: linear-gradient(to right, black 96%, transparent 100%);
          mask-image: linear-gradient(to right, black 96%, transparent 100%);
}
.flow-step { flex: 1 0 180px; min-width: 180px; padding: 0 22px 0 0; position: relative; }
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 44px;
  right: -6px;
  height: 2px;
  background: var(--line-strong);
}
.flow-num {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-3));
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.flow-label {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
}
.flow-sub { margin: 6px 0 0; font-size: 0.86rem; color: var(--ink-soft); max-width: 22ch; }

/* ---------- comparison table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare-table { border-collapse: collapse; width: 100%; min-width: 640px; }
.compare-table th, .compare-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.compare-table thead th {
  font-family: 'Manrope', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: var(--bg-soft-2);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td:first-child { color: var(--ink-soft); font-weight: 600; }
.compare-table .hl {
  background: var(--primary-100);
  color: var(--primary);
  font-weight: 700;
}
.compare-table thead th.hl { color: var(--primary); }

/* ---------- footer / cta ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--grad-1), var(--grad-3));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 70%);
  top: -160px; right: -100px;
  filter: blur(20px);
}
.cta-band .eyebrow { background: rgba(255,255,255,0.18); color: #fff; }
.cta-band h2 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.2rem); max-width: 16ch; position: relative; }
.cta-sub { color: rgba(255,255,255,0.85); max-width: 56ch; margin-top: 18px; font-size: 1.08rem; position: relative; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--primary);
  margin-top: 32px;
  padding: 16px 28px;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.35);
  position: relative;
}
.cta-band .btn-primary:hover { background: #fff; opacity: 0.92; }
footer.foot {
  padding: 26px var(--gutter) 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  position: relative;
}
.foot-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-contact a { color: #fff; text-decoration: none; }
.foot-contact a:hover { text-decoration: underline; }
footer.foot.foot-light {
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
}
.foot-light .foot-contact a { color: var(--ink-soft); }
.foot-light .foot-contact a:hover { color: var(--primary); }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); max-width: none; }
.legal h2 { font-size: 1.3rem; margin-top: 40px; margin-bottom: 12px; }
.legal p { color: var(--ink-soft); margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; color: var(--ink-soft); }
.legal li { margin: 6px 0; }
.legal a { color: var(--primary); font-weight: 600; }
.legal-meta { font-size: 0.86rem; color: var(--ink-faint); }

@media (max-width: 760px) {
  :root { --gutter: 24px; }
  body { font-size: 15px; }
  section:not(.hero) { padding: 0 var(--gutter); }
  .hero { padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero-inner { padding: 0 var(--gutter); }
  .wrap { padding-left: 0; padding-right: 0; }
  .stat-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .case-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  header { padding-top: 18px; padding-bottom: 18px; }
  .hero-sub { font-size: 1.02rem; }
  .cta-band .btn-primary { width: 100%; justify-content: center; }
  footer.foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .wordmark { font-size: 1.15rem; }
  .btn { padding: 11px 18px; font-size: 0.84rem; }
  header { gap: 12px; }
  .hero { padding-top: 48px; padding-bottom: 40px; }
  .hero h1 { max-width: 100%; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }
  .sect { padding: 44px 0; }
  .sect-head h2 { font-size: 1.7rem; }
  .stat-num { font-size: 2.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
