/* ═══════════════════════════════════════════════════════════════
   ALCHIBID — Design System · Mobile-first
   Fond blanc, encre violet foncé (pas de noir), pastels clairs
   violet · bleu · vert, arrondis généreux, ombres colorées 14 %,
   header verre dépoli.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Couleurs — fond blanc, encre violette, pastels */
  --bg: #FFFFFF;
  --bg-tint: #F7F6FE;
  --ink: #38305C;
  --body: #5A5480;
  --muted: #8B86A3;
  --line: #ECE9F8;

  --violet: #8B5CF6;
  --violet-deep: #6D3EE8;
  --violet-soft: #C4B5FD;
  --violet-pale: #EDE9FE;
  --blue: #2EA8E8;
  --blue-soft: #A5DFFB;
  --blue-pale: #E0F2FE;
  --green: #10B981;
  --green-soft: #A7F3D0;
  --green-pale: #DCFCEF;
  --rose: #F43F5E;
  --rose-pale: #FFE4E9;

  --grad: linear-gradient(115deg, #8B5CF6 0%, #38BDF8 52%, #34D399 100%);
  --grad-soft: linear-gradient(115deg, #EDE9FE 0%, #E0F2FE 52%, #DCFCEF 100%);

  /* Ombres colorées diffuses — 14 % */
  --sh-violet: 0 24px 64px -16px rgba(139, 92, 246, .14), 0 2px 10px rgba(43, 37, 69, .04);
  --sh-blue:   0 24px 64px -16px rgba(46, 168, 232, .14), 0 2px 10px rgba(43, 37, 69, .04);
  --sh-green:  0 24px 64px -16px rgba(16, 185, 129, .14), 0 2px 10px rgba(43, 37, 69, .04);
  --sh-violet-lg: 0 40px 96px -20px rgba(139, 92, 246, .14), 0 4px 16px rgba(43, 37, 69, .05);
  --sh-green-lg: 0 40px 96px -20px rgba(16, 185, 129, .14), 0 4px 16px rgba(43, 37, 69, .05);

  /* Rayons */
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 13px;
  --r-pill: 999px;

  /* Typo */
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  --maxw: 1160px;
  --header-h: 68px;
}

/* ── Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--violet-deep); text-decoration: none; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.35rem, 6.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
section { scroll-margin-top: calc(var(--header-h) + 12px); }
.mono { font-family: var(--mono); font-weight: 600; letter-spacing: -.01em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.15rem, 4vw, 2.5rem); }
.wrap-narrow { max-width: 820px; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted-line { color: var(--muted); font-weight: 500; }
.dim { opacity: .45; font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--violet-deep); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--violet-soft); outline-offset: 2px; border-radius: 4px; }

/* ── Boutons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(115deg, #8B5CF6, #38BDF8);
  color: #fff;
  box-shadow: var(--sh-violet);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 28px 70px -14px rgba(139, 92, 246, .24), 0 2px 10px rgba(43, 37, 69, .05); }
.btn-green {
  background: linear-gradient(115deg, #34D399, #38BDF8);
  color: #fff;
  box-shadow: var(--sh-green);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 28px 70px -14px rgba(16, 185, 129, .24), 0 2px 10px rgba(43, 37, 69, .05); }
.btn-ghost {
  background: rgba(255, 255, 255, .85);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 10px 30px -12px rgba(139, 92, 246, .10);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--violet-soft); }
.btn-sm { padding: .55rem 1.15rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* ── Header verre dépoli ──────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid rgba(139, 92, 246, .07);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 12px 40px -18px rgba(139, 92, 246, .14);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 12px; background: var(--grad-soft); color: var(--violet-deep);
}
.brand-mark svg { width: 27px; height: 26px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.28rem; letter-spacing: -.02em; }
.brand-name em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Nav — mobile d'abord : menu déroulant plein écran */
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  display: none; flex-direction: column; align-items: stretch; gap: 0;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: .5rem 1.25rem 1.25rem;
  box-shadow: 0 30px 60px -30px rgba(139, 92, 246, .2);
}
.nav-open .nav-menu { display: flex; }
.nav-menu li { padding: .5rem 0; }
.nav-menu a:not(.btn) { color: var(--body); font-weight: 500; font-size: 1rem; transition: color .2s; display: block; }
.nav-menu a:not(.btn):hover { color: var(--violet-deep); }
.nav-cta { padding-top: .9rem; }
.nav-cta .btn { width: 100%; }

/* ── Blobs pastel ─────────────────────────────────────────────── */
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
  pointer-events: none; z-index: 0;
}
.blob-violet { width: 380px; height: 380px; background: #DDD3FE; top: -100px; left: -140px; }
.blob-blue { width: 340px; height: 340px; background: #C8EAFD; top: 60px; right: -150px; }
.blob-green { width: 320px; height: 320px; background: #C4F5E3; bottom: -130px; left: 25%; }
.blob-right { left: auto; right: -110px; bottom: -90px; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero { position: relative; padding: calc(var(--header-h) + clamp(2.6rem, 7vw, 5.5rem)) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr;
  gap: clamp(2.4rem, 6vw, 4rem); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display); font-weight: 600; font-size: .8rem;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--violet-deep);
  background: rgba(237, 233, 254, .75);
  border: 1px solid rgba(139, 92, 246, .14);
  padding: .42rem .95rem; border-radius: var(--r-pill);
  margin: 0 0 1.2rem;
}
.glyph { font-size: 1rem; line-height: 1; }
.lead { font-size: clamp(1.08rem, 2.4vw, 1.25rem); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.2rem; }
.hero-benefits { color: var(--muted); font-size: 1rem; }
.hero-benefits strong { color: var(--ink); font-weight: 600; }
.hero-benefits strong:not(:last-child)::after { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--violet-soft); margin: 0 .55rem 2px; }

/* Score card (hero) */
.hero-visual { position: relative; max-width: 580px; }
.transmute-circle {
  position: absolute; inset: -12% -14%; z-index: 0;
  color: var(--violet-soft); opacity: .5; pointer-events: none;
}
.transmute-circle svg { width: 100%; height: 100%; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-obj { position: absolute; z-index: 2; pointer-events: none; display: none; animation: floaty 6s ease-in-out infinite; }
.obj-flask { width: 96px; top: -44px; left: -34px; }
.obj-gem { width: 76px; bottom: -30px; right: -22px; animation-delay: 3s; }
.module-illo { display: block; width: 82px; height: 82px; margin-bottom: .4rem; }
.module-illo svg { width: 100%; height: 100%; }
.score-card {
  position: relative; z-index: 1;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3vw, 1.8rem);
  box-shadow: var(--sh-violet-lg);
}
.score-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.score-product { display: block; font-size: .7rem; color: var(--violet); letter-spacing: .14em; margin-bottom: .35rem; }
.score-title { font-size: 1.08rem; margin: 0; line-height: 1.3; }
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--display); font-weight: 700; font-size: .85rem;
  padding: .38rem .85rem; border-radius: var(--r-pill); white-space: nowrap;
}
.badge.go { background: var(--green-pale); color: #067A57; }
.badge.nogo { background: var(--rose-pale); color: #BE1237; }
.score-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-bottom: 1.2rem; }
.kpi { background: var(--bg-tint); border-radius: var(--r-sm); padding: .6rem .7rem; }
.kpi-label { display: block; font-size: .72rem; color: var(--muted); margin-bottom: .15rem; }
.kpi-value { font-size: .96rem; color: var(--ink); }
.meter { margin-bottom: .85rem; }
.meter-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .88rem; margin-bottom: .35rem; }
.meter-head span { color: var(--body); }
.meter-head strong { color: var(--ink); font-size: .95rem; }
.bar { height: 9px; border-radius: var(--r-pill); background: var(--bg-tint); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: var(--r-pill); transition: width 1.1s cubic-bezier(.25, .8, .3, 1) .2s; }
.in .bar i { width: var(--w); }
.bar-violet i { background: linear-gradient(90deg, #A78BFA, #8B5CF6); }
.bar-blue i { background: linear-gradient(90deg, #7DD3FC, #2EA8E8); }
.bar-green i { background: linear-gradient(90deg, #6EE7B7, #10B981); }
.score-foot { margin: 1rem 0 0; font-size: .82rem; color: var(--muted); }
.float-chip {
  position: absolute; z-index: 2;
  display: none; align-items: center; gap: .5rem;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: .5rem 1rem; font-size: .85rem; font-weight: 500; color: var(--ink);
  box-shadow: var(--sh-blue);
  animation: floaty 5.5s ease-in-out infinite;
}
.chip-top { top: -22px; right: 4%; }
.chip-bottom { bottom: -20px; left: 3%; animation-delay: 2.7s; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-green { background: var(--green); }
.dot-violet { background: var(--violet); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ── Sources / stats ──────────────────────────────────────────── */
.sources { padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.6rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.sources-line { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 2rem; }
.sources-line strong { color: var(--ink); font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.stat { text-align: center; padding: 1.1rem .8rem; border-radius: var(--r-md); background: var(--bg-tint); }
.stat-num { display: block; font-size: clamp(1.35rem, 4vw, 1.9rem); color: var(--ink); margin-bottom: .3rem; }
.stat-label { font-size: .86rem; color: var(--muted); line-height: 1.4; display: block; }

/* ── Sections ─────────────────────────────────────────────────── */
.section { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; overflow: hidden; }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 780px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-lead { font-size: clamp(1.03rem, 2vw, 1.2rem); color: var(--body); max-width: 40em; }
.prose-strong { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--ink); }

/* ── Problème + simulation ────────────────────────────────────── */
.sim-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.sim-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3vw, 1.8rem); box-shadow: var(--sh-blue);
}
.sim-head { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.1rem; font-weight: 600; color: var(--ink); }
.sim-tag { font-size: .68rem; letter-spacing: .14em; color: #0B7CB8; background: var(--blue-pale); padding: .3rem .7rem; border-radius: var(--r-pill); }
.sim-rows li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .72rem 0; border-bottom: 1px dashed var(--line); font-size: .93rem;
}
.sim-rows strong { color: var(--ink); font-size: 1.05rem; }
.sim-bar { display: flex; align-items: center; gap: .7rem; flex: 1; max-width: 55%; justify-content: flex-end; }
.sim-bar i { display: block; height: 10px; border-radius: var(--r-pill); width: 0; transition: width 1.1s cubic-bezier(.25, .8, .3, 1) .3s; }
.in .sim-bar i { width: var(--w); }
.bar-now { background: var(--line); }
.bar-with { background: linear-gradient(90deg, #A78BFA, #38BDF8, #34D399); }
.sim-result { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin-top: 1.2rem; }
.sim-result .grad { font-size: clamp(1.3rem, 3.5vw, 1.7rem); }
.sim-note { color: var(--muted); font-size: .9rem; }

/* ── Pipeline ─────────────────────────────────────────────────── */
.pipeline { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.2rem; }
.pipe-step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.35rem 1.25rem 1.15rem;
  box-shadow: var(--sh-violet);
  transition: transform .25s ease;
}
.pipe-step:hover { transform: translateY(-4px); }
.pipe-step:nth-child(2) { box-shadow: var(--sh-blue); }
.pipe-step:nth-child(3) { box-shadow: var(--sh-green); }
.pipe-step:nth-child(4) { box-shadow: var(--sh-blue); }
.pipe-num {
  display: inline-grid; place-items: center;
  min-width: 42px; height: 42px; border-radius: 14px;
  background: var(--grad-soft); color: var(--violet-deep);
  font-size: .95rem; margin-bottom: .9rem;
}
.pipe-step:nth-child(2) .pipe-num { color: #0B7CB8; }
.pipe-step:nth-child(3) .pipe-num { color: #067A57; }
.pipe-step:nth-child(5) .pipe-num { color: #067A57; }
.pipe-step h3 { font-size: 1.1rem; margin-bottom: .1rem; }
.pipe-stage {
  display: block; font-family: var(--display); font-size: .76rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .55rem;
}
.pipe-step p { font-size: .9rem; margin: 0; color: var(--body); }
.pipe-arrow { display: none; }
.pipeline-punch { text-align: center; font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-family: var(--display); color: var(--body); }
.pipeline-punch strong { color: var(--ink); }

/* ── Calculateur ──────────────────────────────────────────────── */
.calc {
  display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.35rem, 3.5vw, 2.5rem);
  box-shadow: var(--sh-violet-lg);
}
.calc-form { display: flex; flex-direction: column; gap: 1.25rem; }
.calc-field label { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: .5rem; }
.calc-input { display: flex; align-items: center; gap: 1rem; }
.calc-input input[type="range"] { flex: 1; accent-color: var(--violet); height: 6px; cursor: pointer; min-width: 0; }
.calc-input output {
  min-width: 86px; text-align: center; color: var(--violet-deep);
  background: var(--violet-pale); border-radius: var(--r-sm);
  padding: .4rem .5rem; font-size: .93rem; flex-shrink: 0;
}
.calc-result {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background: var(--grad-soft); border-radius: var(--r-md);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.calc-result-label { font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.calc-result-value { font-size: clamp(1.9rem, 6vw, 3rem); line-height: 1.1; margin-bottom: .8rem; overflow-wrap: anywhere; }
.calc-result-note { font-size: .87rem; color: var(--body); margin-bottom: 1.3rem; }

/* ── Périmètre ────────────────────────────────────────────────── */
.handle-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.handle-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.35rem 1.25rem; box-shadow: var(--sh-violet);
  transition: transform .25s ease;
}
.handle-card:nth-child(even) { box-shadow: var(--sh-green); }
.handle-card:hover { transform: translateY(-4px); }
.handle-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: .9rem; }
.handle-icon svg { width: 22px; height: 22px; }
.icon-violet { background: var(--violet-pale); color: var(--violet-deep); }
.icon-blue { background: var(--blue-pale); color: #0B7CB8; }
.icon-green { background: var(--green-pale); color: #067A57; }
.handle-card h3 { font-size: 1.02rem; margin-bottom: .6rem; }
.handle-card ul li { position: relative; padding: .28rem 0 .28rem 1.15rem; font-size: .88rem; }
.handle-card ul li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet-soft);
}
.handle-card:nth-child(even) ul li::before { background: var(--green-soft); }

/* ── Répartition ──────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: 1.4rem; }
.split-col { border-radius: var(--r-lg); padding: clamp(1.35rem, 3vw, 2rem); }
.col-us { background: linear-gradient(150deg, #F3EFFE, #EAF5FE); box-shadow: var(--sh-violet); }
.col-you { background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-green); }
.split-col h3 { margin-bottom: 1rem; }
.brand-inline { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.check-list li { position: relative; padding: .42rem 0 .42rem 2rem; color: var(--ink); font-weight: 500; font-size: .96rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: .48rem;
  display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; background: #fff; color: var(--violet-deep);
  font-size: .78rem; font-weight: 700;
  box-shadow: 0 4px 14px -4px rgba(139, 92, 246, .3);
}
.col-you .check-list li::before { background: var(--green-pale); color: #067A57; box-shadow: none; }
.split-note { margin: 1rem 0 0; color: var(--muted); font-size: .92rem; }
.photo-banner { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-violet-lg); margin: 0; }
.banner-grad {
  width: 100%; height: clamp(190px, 30vw, 280px);
  background:
    radial-gradient(58% 120% at 12% 0%, #DDD3FE 0%, rgba(221, 211, 254, 0) 62%),
    radial-gradient(55% 130% at 50% 115%, #C4F5E3 0%, rgba(196, 245, 227, 0) 60%),
    radial-gradient(60% 120% at 90% 10%, #C8EAFD 0%, rgba(200, 234, 253, 0) 62%),
    linear-gradient(115deg, #F3EFFE, #EAF5FE 52%, #EDFBF4);
}
.photo-banner figcaption {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: clamp(.9rem, 2.5vw, 1.6rem);
}
.banner-chip {
  display: inline-block;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--r-md);
  padding: clamp(.9rem, 2.5vw, 1.3rem) clamp(1.1rem, 3vw, 1.6rem);
  color: var(--ink); font-family: var(--display); font-weight: 600;
  font-size: clamp(.98rem, 2.2vw, 1.35rem); line-height: 1.4;
  box-shadow: 0 12px 40px -12px rgba(56, 48, 92, .18);
}

/* ── Plateforme ───────────────────────────────────────────────── */
.module-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.module {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.45rem 1.3rem; box-shadow: var(--sh-violet);
  transition: transform .25s ease;
}
.module:nth-child(2) { box-shadow: var(--sh-blue); }
.module:nth-child(3) { box-shadow: var(--sh-green); }
.module:hover { transform: translateY(-4px); }
.module-badge { display: inline-block; font-size: .72rem; letter-spacing: .14em; padding: .32rem .75rem; border-radius: var(--r-pill); margin-bottom: .9rem; }
.badge-violet { background: var(--violet-pale); color: var(--violet-deep); }
.badge-blue { background: var(--blue-pale); color: #0B7CB8; }
.badge-green { background: var(--green-pale); color: #067A57; }
.module h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.module p { font-size: .9rem; margin: 0; }

/* ── Preuve / teardown ────────────────────────────────────────── */
.teardown {
  display: grid; grid-template-columns: 1fr; gap: clamp(1.2rem, 3vw, 2rem);
  align-items: center; justify-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
  box-shadow: var(--sh-violet-lg);
  margin-bottom: 2rem;
}
.teardown-input { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.doc-icon { color: var(--violet-soft); }
.doc-icon svg { width: 62px; height: 72px; }
.teardown-pages { font-size: 1.1rem; color: var(--ink); }
.teardown-sub { font-size: .87rem; color: var(--muted); line-height: 1.45; }
.teardown-arrow { display: flex; flex-direction: column; align-items: center; gap: .4rem; color: var(--violet); }
.teardown-arrow .mono { font-size: .66rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.teardown-arrow svg { width: 40px; transform: rotate(90deg); }
.teardown-output { width: 100%; max-width: 460px; }
.teardown-list li {
  display: flex; align-items: baseline; gap: .6rem;
  padding: .5rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem;
}
.teardown-list strong { color: var(--violet-deep); font-size: 1.08rem; min-width: 2.4rem; text-align: right; }
.teardown-verdict { margin-top: 1rem; }
.proof-cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
  background: var(--grad-soft); border-radius: var(--r-md);
  padding: clamp(1.2rem, 3vw, 1.8rem) clamp(1.25rem, 3vw, 2rem);
}
.proof-cta p { margin: 0; max-width: 36em; }

/* ── Secteurs ─────────────────────────────────────────────────── */
.sector-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-bottom: 2rem; }
.sector-card {
  display: flex; flex-direction: column; gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.45rem 1.35rem; box-shadow: var(--sh-violet);
  color: var(--body); transition: transform .25s ease;
}
.sector-card:nth-child(2) { box-shadow: var(--sh-blue); }
.sector-card:nth-child(3) { box-shadow: var(--sh-green); }
.sector-card:hover { transform: translateY(-4px); }
.sector-tag { font-size: .66rem; letter-spacing: .13em; padding: .3rem .7rem; border-radius: var(--r-pill); align-self: flex-start; }
.sector-card h3 { margin: .2rem 0 0; }
.sector-card p { font-size: .93rem; margin: 0; }
.sector-link { font-weight: 600; color: var(--violet-deep); margin-top: .4rem; font-size: .95rem; }
.icp {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.35rem, 3vw, 2rem); box-shadow: var(--sh-green);
}
.icp-title { margin-bottom: 1rem; }
.icp-list { display: grid; grid-template-columns: 1fr; gap: .25rem 2rem; }
.icp-list li { position: relative; padding: .4rem 0 .4rem 1.9rem; font-weight: 500; color: var(--ink); font-size: .96rem; }
.icp-list li::before {
  content: "✓"; position: absolute; left: 0; top: .46rem;
  display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%;
  background: var(--green-pale); color: #067A57; font-size: .75rem; font-weight: 700;
}

/* ── Tarifs ───────────────────────────────────────────────────── */
.setup-strip {
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.3rem 1.5rem; box-shadow: var(--sh-blue); margin-bottom: 1.6rem;
}
.setup-strip h3 { font-size: 1.1rem; margin: .3rem 0; }
.setup-strip p { margin: 0; font-size: .92rem; max-width: 46em; }
.setup-price { font-size: 1.8rem; color: var(--ink); }
.tier-tag { display: inline-block; font-size: .72rem; letter-spacing: .14em; color: var(--muted); }
.tiers { display: grid; grid-template-columns: 1fr; gap: 1.4rem; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.7rem 1.5rem; box-shadow: var(--sh-violet);
}
.tier.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad) border-box;
  box-shadow: var(--sh-violet-lg);
}
.tier-flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-family: var(--display); font-weight: 600; font-size: .8rem;
  padding: .32rem 1rem; border-radius: var(--r-pill); white-space: nowrap;
}
.tier-price { display: flex; align-items: baseline; gap: .4rem; margin: .7rem 0 .5rem; }
.price { font-size: 2.05rem; color: var(--ink); }
.price-period { color: var(--muted); font-size: .95rem; }
.tier-desc { font-size: .95rem; color: var(--body); }
.tier-list { flex: 1; margin-bottom: 1.4rem; }
.tier-list li { position: relative; padding: .38rem 0 .38rem 1.7rem; font-size: .92rem; }
.tier-list li::before {
  content: "✓"; position: absolute; left: 0; top: .42rem;
  display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--violet-pale); color: var(--violet-deep); font-size: .72rem; font-weight: 700;
}
.tiers-note { text-align: center; color: var(--muted); font-size: .92rem; margin: 1.5rem 0 2.5rem; }
.fee-list li strong { color: var(--violet-deep); font-size: 1.05rem; }
.fee-example {
  background: var(--grad-soft); border-radius: var(--r-sm);
  padding: .85rem 1rem; font-size: .9rem; margin-bottom: 1.2rem;
}
.fee-example strong { color: var(--ink); }

.compare { margin-top: 1rem; }
.table-scroll { overflow-x: auto; border-radius: var(--r-md); -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; font-size: .93rem; min-width: 640px;
  box-shadow: var(--sh-violet);
}
.compare-table th, .compare-table td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { font-family: var(--display); font-size: .92rem; color: var(--ink); background: var(--bg-tint); }
.compare-table tbody th { font-weight: 600; color: var(--ink); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }
.col-us { background: rgba(237, 233, 254, .45); }
.compare-table td.col-us { color: var(--ink); }
.compare-note { text-align: center; color: var(--body); font-size: 1.02rem; font-family: var(--display); margin: 1.4rem 0 0; }
.compare-note strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 0 1.35rem; margin-bottom: .8rem; box-shadow: var(--sh-violet);
}
.faq-list summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1rem;
  padding: 1.05rem 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 500; color: var(--violet);
  transition: transform .25s ease; line-height: 1; flex-shrink: 0;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 1.2rem; margin: 0; font-size: .96rem; }

/* ── CTA / contact ────────────────────────────────────────────── */
.section-cta { background: var(--bg-tint); }
.section-cta .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.section-cta .eyebrow { margin-left: auto; margin-right: auto; }
.lead-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 1.3rem; }
.lead-card {
  background: rgba(255, 255, 255, .95); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.35rem, 3vw, 2rem); box-shadow: var(--sh-violet-lg);
}
.lead-card:last-child { box-shadow: var(--sh-green-lg); }
.lead-tag { display: inline-block; font-size: .68rem; letter-spacing: .14em; padding: .32rem .75rem; border-radius: var(--r-pill); margin-bottom: .8rem; }
.lead-card h3 { font-size: 1.28rem; }
.lead-card > p { font-size: .95rem; }
.lead-card form { margin-top: 1.3rem; }
.form-row { margin-bottom: .95rem; }
.form-2col { display: grid; grid-template-columns: 1fr; gap: 0; }
.form-row label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .35rem; }
.optional { color: var(--muted); font-weight: 400; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: .7rem .9rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--violet-soft);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, .12);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: #B5B0C9; }
.hidden-field { position: absolute; left: -9999px; }
.lead-card .btn { margin-top: .4rem; }
.cta-privacy { position: relative; z-index: 1; text-align: center; color: var(--muted); font-size: .88rem; margin-top: 2rem; }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.8rem; margin-bottom: 2.5rem; }
.footer-brand p { font-size: .92rem; color: var(--muted); margin-top: .9rem; max-width: 26em; }
.footer-col h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .8rem; }
.footer-col li { margin-bottom: .45rem; }
.footer-col a { color: var(--body); font-size: .95rem; }
.footer-col a:hover { color: var(--violet-deep); }
.footer-bottom {
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 1.3rem;
  font-size: .85rem; color: var(--muted); text-align: center;
}
.footer-bottom p { margin: 0; }
.footer-tag { font-size: .66rem; letter-spacing: .12em; color: var(--violet-soft); }

/* ── Blog ─────────────────────────────────────────────────────── */
.blog-hero { padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4rem)) 0 clamp(2rem, 5vw, 3rem); position: relative; overflow: hidden; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; padding-bottom: clamp(3rem, 7vw, 5rem); }
.post-card {
  display: flex; flex-direction: column; gap: .55rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.5rem 1.4rem; box-shadow: var(--sh-violet);
  color: var(--body); transition: transform .25s ease;
}
.post-card:nth-child(3n+2) { box-shadow: var(--sh-blue); }
.post-card:nth-child(3n) { box-shadow: var(--sh-green); }
.post-card:hover { transform: translateY(-4px); }
.post-card h2, .post-card h3 { font-size: 1.15rem; margin: 0; line-height: 1.35; }
.post-card p { font-size: .92rem; margin: 0; }
.post-meta { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.post-link { font-weight: 600; color: var(--violet-deep); font-size: .95rem; margin-top: .3rem; }

/* Article */
.article { padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4rem)) 0 clamp(3rem, 7vw, 5rem); }
.article-head { max-width: 760px; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.article-head h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); }
.article-body { max-width: 720px; margin: 0 auto; font-size: 1.05rem; }
.article-body h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 2em 0 .6em; }
.article-body h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: .4em; }
.article-body li::marker { color: var(--violet); }
.article-body strong { color: var(--ink); }
.article-body blockquote {
  margin: 1.5em 0; padding: 1rem 1.4rem;
  background: var(--violet-pale); border-radius: var(--r-md);
  border-left: 4px solid var(--violet);
  color: var(--ink); font-weight: 500;
}
.article-body blockquote p { margin: 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .93rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.article-body th { background: var(--bg-tint); color: var(--ink); font-family: var(--display); }
.article-cta {
  margin: 2.5em 0 0; padding: clamp(1.3rem, 3vw, 1.8rem);
  background: var(--grad-soft); border-radius: var(--r-lg);
  box-shadow: var(--sh-violet);
}
.article-cta h2, .article-cta h3 { margin: 0 0 .4em; font-size: 1.25rem; }
.article-cta p { margin-bottom: 1em; font-size: .97rem; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--violet-deep); }

/* Page simple (légal, merci, 404) */
.page-simple { padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4rem)) 0 clamp(3rem, 7vw, 5rem); min-height: 60vh; }
.page-simple .wrap { max-width: 760px; }
.page-simple h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); }
.page-simple h2 { font-size: 1.35rem; margin-top: 2em; }

/* ── Reveal animations ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }

/* ── Hovers "sexy" — lift + ombre qui s'intensifie + liseré ────── */
.pipe-step:hover, .handle-card:hover, .module:hover, .sector-card:hover, .post-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, .28);
  box-shadow: 0 32px 80px -18px rgba(139, 92, 246, .22), 0 3px 12px rgba(43, 37, 69, .05);
}
.pipe-step, .handle-card, .module, .sector-card, .post-card, .tier, .faq-list details {
  transition: transform .28s cubic-bezier(.2, .7, .2, 1), box-shadow .28s ease, border-color .28s ease;
}
.tier:hover { transform: translateY(-4px); }
.faq-list details:hover { border-color: rgba(139, 92, 246, .28); }
.sector-link span, .post-link span { display: inline-block; transition: transform .25s ease; }
.sector-card:hover .sector-link span, .post-card:hover .post-link span { transform: translateX(5px); }
.nav-menu a:not(.btn) { position: relative; }
@media (min-width: 980px) {
  .nav-menu a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
    border-radius: 2px; background: var(--grad); transition: right .28s ease;
  }
  .nav-menu a:not(.btn):hover::after { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  .float-obj { animation: none; }
  .transmute-circle svg { animation: none; }
  .bar i, .sim-bar i { transition: none; }
}

/* ═══ ≥ 680px ═════════════════════════════════════════════════── */
@media (min-width: 680px) {
  .score-kpis { grid-template-columns: repeat(4, 1fr); }
  .float-chip { display: inline-flex; }
  .float-obj { display: block; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  /* 5 cartes sur 2 colonnes : la dernière occupe toute la largeur, jamais de case vide */
  .pipe-step:last-child { grid-column: 1 / -1; }
  .handle-grid { grid-template-columns: repeat(2, 1fr); }
  .handle-card:last-child { grid-column: 1 / -1; }
  .handle-card:last-child ul { columns: 2; column-gap: 2rem; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .icp-list { grid-template-columns: repeat(2, 1fr); }
  .form-2col { grid-template-columns: 1fr 1fr; gap: .95rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .setup-strip { flex-direction: row; align-items: center; justify-content: space-between; }
  .proof-cta { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blob-violet { width: 480px; height: 480px; }
  .blob-blue { width: 420px; height: 420px; }
  .blob-green { width: 380px; height: 380px; }
}

/* ═══ ≥ 900px ═════════════════════════════════════════════════── */
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .sim-grid { grid-template-columns: 1fr 1.1fr; }
  .calc { grid-template-columns: 1.05fr .95fr; }
  .split { grid-template-columns: 1.15fr .85fr; }
  .teardown { grid-template-columns: .9fr auto 1.1fr; justify-items: stretch; }
  .teardown-arrow svg { transform: none; width: 56px; }
  .tiers { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
  .tiers-2 { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin-inline: auto; }
  .lead-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  /* si la dernière carte du blog se retrouve seule sur sa ligne, elle prend toute la largeur */
  .blog-grid > :last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
}

/* ═══ ≥ 980px — nav inline ════════════════════════════════════── */
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static; display: flex; flex-direction: row; align-items: center;
    gap: clamp(.9rem, 1.8vw, 1.6rem);
    background: transparent; border: none; box-shadow: none; padding: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .nav-menu li { padding: 0; }
  .nav-menu a:not(.btn) { font-size: .95rem; }
  .nav-cta { padding-top: 0; }
  .nav-cta .btn { width: auto; }
}

/* ═══ ≥ 1080px ════════════════════════════════════════════════── */
@media (min-width: 1080px) {
  .hero-grid { grid-template-columns: 1.04fr .96fr; }
  .pipeline { grid-template-columns: repeat(5, 1fr); }
  .pipe-step p { font-size: .88rem; }
  .pipe-arrow {
    display: block; position: absolute; right: -17px; top: 44%;
    font-family: var(--display); font-weight: 700; color: var(--violet-soft);
    font-size: 1.3rem; z-index: 2;
  }
  .module-grid { grid-template-columns: repeat(4, 1fr); }
  /* assez large pour 5 colonnes : une seule rangée bien remplie */
  .pipe-step:last-child { grid-column: auto; }
  .handle-grid { grid-template-columns: repeat(5, 1fr); }
  .handle-card:last-child { grid-column: auto; }
  .handle-card:last-child ul { columns: 1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
  .footer-bottom { justify-content: space-between; text-align: left; }
}
