/* Kapel — landing page. Mobile d'abord. */
:root {
  --navy: #0A1A3F;
  --navy-card: #122656;
  --light: #F4F6FB;
  --sky: #9CC2FA;
  --soft-dark: #BFD0EE;   /* texte doux sur fond marine */
  --soft-light: #44546A;  /* texte doux sur fond clair */
  --line-light: #DCE3F0;
  --line-dark: #2A3F75;
  --blue: #3B6FD6;
  --orange: #D9922B;
  --green: #2E9E6B;
  --red: #D64545;
  --radius: 18px;
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--navy);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 5.2vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Bandes */
.band-dark { background: var(--navy); color: var(--light); }
.band-light { background: var(--light); color: var(--navy); }
.band-white { background: #fff; color: var(--navy); }
.section { padding: 72px 0; position: relative; }
.band-dark .lead, .band-dark p { color: var(--soft-dark); }
.band-light p, .band-white p { color: var(--soft-light); }

.head { max-width: 760px; margin-bottom: 40px; }
.lead { font-size: 1.12rem; margin-top: 16px; }
.accent { color: var(--c, var(--blue)); }
.band-dark .accent { color: var(--sky); }

.eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue) !important; margin-bottom: 16px;
}
.eyebrow-light { color: var(--sky) !important; }
.eyebrow-mod i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.band-light .eyebrow-mod { color: var(--navy) !important; }
.band-dark .eyebrow-mod { color: var(--light) !important; }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; line-height: 1.3;
}
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-live { color: #1c7a50 !important; background: rgba(46, 158, 107, .14); }
.band-dark .status-live { color: #7fe0b3 !important; background: rgba(46, 158, 107, .2); }
.status-soon { color: var(--soft-light) !important; background: rgba(68, 84, 106, .12); }
.band-dark .status-soon { color: var(--soft-dark) !important; background: rgba(191, 208, 238, .14); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sky); color: var(--navy); box-shadow: 0 8px 24px -10px rgba(156, 194, 250, .7); }
.btn-primary:hover { background: #b7d3fc; }
.btn-ghost { border-color: var(--line-dark); color: var(--light); }
.btn-ghost:hover { border-color: var(--sky); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; box-shadow: none; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 1.08rem; }

.more { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; color: var(--light); border-bottom: 2px solid var(--c, var(--sky)); padding-bottom: 2px; }
.more span { transition: transform .2s var(--ease); }
.more:hover span { transform: translate(3px, 0); }

/* ---------- 1. Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  background: rgba(10, 26, 63, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line-dark); background: rgba(10, 26, 63, .92); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 12px; }
.nav-logo { margin-right: auto; flex: none; }
.nav-logo img { height: 30px; width: auto; }
.nav-toggle {
  flex: none; width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line-dark);
  background: none; display: grid; place-content: center; gap: 6px; cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--light); border-radius: 2px; transition: transform .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav-links {
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  display: grid; padding: 8px 20px 16px; background: var(--navy); border-bottom: 1px solid var(--line-dark);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-links a { color: var(--light); text-decoration: none; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.nav-links a:last-child { border-bottom: 0; }

/* ---------- Arcs en pointillés ---------- */
.arcs { position: absolute; pointer-events: none; }
.arcs svg { width: 100%; height: auto; overflow: visible; }
.arcs path { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: .1 13.9; animation: drift 5s linear infinite; }
.arcs path.rev { animation-direction: reverse; animation-duration: 7s; }
@keyframes drift { to { stroke-dashoffset: -14; } }
.arcs-hero { left: 50%; bottom: -2px; width: 190%; max-width: 1700px; transform: translateX(-50%); opacity: .55; }
.arcs-cta { left: 50%; bottom: -2px; width: 170%; max-width: 1400px; transform: translateX(-50%); opacity: .5; }

/* ---------- 2. Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 40px) 0 64px; overflow: hidden; }
.hero-grid { position: relative; display: grid; gap: 44px; }
.hero-title { font-size: clamp(2.5rem, 10.5vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; }
.hero-title .w { display: inline-block; }
.js .hero-title .w { opacity: 0; transform: translateY(.5em); animation: word .7s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .13s); }
.w-accent { color: var(--sky); }
@keyframes word { to { opacity: 1; transform: none; } }
.hero-sub { font-size: 1.15rem; margin-top: 22px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-dots { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 30px; font-size: .86rem; color: var(--soft-dark); }
.hero-dots li { display: flex; align-items: center; gap: 8px; }
.hero-dots i { width: 9px; height: 9px; border-radius: 50%; }
.js .hero-sub, .js .hero-cta, .js .hero-dots, .js .demo { opacity: 0; animation: word .8s var(--ease) .85s forwards; }
.js .hero-cta { animation-delay: 1s; }
.js .hero-dots { animation-delay: 1.15s; }
.js .demo { animation-delay: .6s; }

/* Démo en boucle */
.demo { display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; max-width: 560px; width: 100%; margin: 0 auto; }
.demo-video {
  grid-column: 1 / 9; grid-row: 1; position: relative; border-radius: 16px; overflow: hidden;
  border: 1.5px solid var(--line-dark); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); aspect-ratio: 4 / 5; background: var(--navy-card);
}
.demo-video img { width: 100%; height: 100%; object-fit: cover; }
.demo-rec {
  position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(10, 26, 63, .82); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  padding: 5px 9px; border-radius: 999px; transition: opacity .3s;
}
.demo-rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; animation: blink 1s steps(2, start) infinite; }
.demo-rec b { font-weight: 500; font-variant-numeric: tabular-nums; opacity: .85; }
@keyframes blink { to { visibility: hidden; } }
.demo-chip {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: var(--navy); font-size: .74rem; font-weight: 700; padding: 6px 11px; border-radius: 999px;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
}
.demo-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: blink 1s steps(2, start) infinite; }
.demo-chip.is-on { opacity: 1; transform: none; }
.demo-chip.is-done i { background: var(--green); animation: none; }

.demo-phone {
  grid-column: 7 / 13; grid-row: 1; z-index: 2; margin-top: 16%;
  background: #fff; color: var(--navy); border-radius: 18px; padding: 12px 10px 10px;
  box-shadow: 0 30px 60px -16px rgba(0, 0, 0, .65), 0 0 0 4px rgba(255, 255, 255, .08);
}
.demo-kicker { font-size: .56rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.demo-title { font-size: .8rem; font-weight: 700; line-height: 1.15; color: var(--navy); margin-top: 3px; }
.demo-langs { display: flex; gap: 4px; margin: 7px 0 8px; }
.demo-langs span { font-size: .55rem; font-weight: 700; padding: 2px 6px; border-radius: 5px; background: var(--light); color: var(--soft-light); }
.demo-langs .on { background: var(--navy); color: #fff; }
.demo-steps { display: grid; gap: 6px; }
.demo-steps li {
  display: grid; grid-template-columns: 34px 1fr; gap: 7px; align-items: center;
  padding: 4px; border-radius: 9px; background: var(--light);
  transition: opacity .35s, transform .45s var(--ease), clip-path .7s var(--ease);
}
.demo.is-running .demo-steps li { opacity: 0; transform: translateY(6px); clip-path: inset(0 100% 0 0); }
.demo.is-running .demo-steps li.is-on { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.demo-steps img { width: 34px; height: 34px; object-fit: cover; border-radius: 6px; }
.demo-steps span { font-size: .64rem; font-weight: 700; line-height: 1.2; color: var(--navy); }
.demo-steps b { color: var(--blue); margin-right: 4px; }
.demo-validate {
  display: flex; justify-content: center; align-items: center; margin-top: 8px; height: 26px; border-radius: 8px;
  font-size: .68rem; font-weight: 700; background: var(--light); color: var(--soft-light); transition: background-color .3s, color .3s;
}
.demo-validate.is-ok { background: var(--green); color: #fff; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 3. Piliers ---------- */
.pillars { display: grid; gap: 14px; }
.pillar { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; }
.pillar::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--c); }
.pillar-n { font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--c); }
.pillar h3 { margin: 8px 0; font-size: 1.4rem; }

/* ---------- 4. K interactif ---------- */
.k-grid { display: grid; gap: 28px; align-items: center; }
.k-stage { max-width: 380px; width: 100%; margin: 0 auto; }
.k-svg { width: 100%; height: auto; overflow: visible; }
.k-node { cursor: pointer; outline: none; }
.k-dot { fill: var(--c); transition: transform .25s var(--ease); transform-box: fill-box; transform-origin: center; }
.k-pulse { fill: var(--c); transform-box: fill-box; transform-origin: center; animation: kpulse 2.4s ease-out infinite; animation-delay: var(--d); opacity: 0; }
@keyframes kpulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }
.k-ring { fill: none; stroke: var(--light); stroke-width: 22; opacity: 0; transition: opacity .25s; }
.k-node:hover .k-dot, .k-node:focus-visible .k-dot { transform: scale(1.1); }
.k-node.is-active .k-ring { opacity: 1; }
.k-node:focus-visible .k-ring { opacity: 1; stroke: var(--sky); }
.k-label { opacity: 0; transition: opacity .2s; pointer-events: none; }
.k-label rect { fill: #fff; }
.k-label text { font-family: inherit; font-weight: 700; font-size: 84px; fill: var(--navy); text-anchor: middle; }
.k-node:hover .k-label, .k-node:focus-visible .k-label { opacity: 1; }

.k-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.k-tabs button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: transparent; border: 1.5px solid var(--line-dark); color: var(--soft-dark); font-size: .88rem; font-weight: 500; cursor: pointer;
  transition: border-color .2s, color .2s, background-color .2s;
}
.k-tabs i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.k-tabs button:hover { border-color: var(--c); color: var(--light); }
.k-tabs button.is-active { background: var(--navy-card); border-color: var(--c); color: #fff; font-weight: 700; }

.k-panel article {
  background: var(--navy-card); border: 1px solid var(--line-dark); border-top: 4px solid var(--c);
  border-radius: var(--radius); padding: 26px 22px; animation: panel .45s var(--ease);
}
@keyframes panel { from { opacity: 0; transform: translateY(14px); } }
.k-panel h3 { font-size: 1.7rem; margin: 14px 0 8px; color: #fff; }
.k-tagline { font-size: 1.1rem; font-weight: 500; color: var(--light) !important; }
.k-panel ul { margin: 16px 0 22px; display: grid; gap: 10px; }
.k-panel li { position: relative; padding-left: 22px; color: var(--soft-dark); }
.k-panel li::before { content: ''; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

/* ---------- 5–6. Modules ---------- */
.steps { display: grid; gap: 14px; counter-reset: s; margin-bottom: 36px; }
.step { position: relative; border-radius: var(--radius); padding: 22px; }
.band-light .step { background: #fff; border: 1px solid var(--line-light); }
.band-dark .step { background: var(--navy-card); border: 1px solid var(--line-dark); }
.step-n {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--c); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.band-dark .step h3 { color: #fff; }

.shot { border-radius: var(--radius); overflow: hidden; background: #0A1A3F; box-shadow: 0 30px 70px -30px rgba(10, 26, 63, .5); }
.shot img { width: 100%; }

.stats { display: grid; gap: 14px; margin: 28px 0 56px; }
.stat { background: var(--navy); color: var(--light); border-radius: var(--radius); padding: 26px 24px; display: grid; gap: 4px; }
.stat-n { font-size: clamp(3.4rem, 14vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--sky) !important; font-variant-numeric: tabular-nums; }
.stat-t { color: var(--light) !important; font-size: 1.1rem; font-weight: 500; }
.stat-t small { display: block; color: var(--soft-dark); font-size: .82rem; font-weight: 400; margin-top: 4px; }

.split { display: grid; gap: 28px; align-items: center; }
.photo { border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; }
.split-text h3 { font-size: 1.6rem; margin-bottom: 12px; }
.ask { margin: 14px 0; padding: 18px 20px; border-left: 4px solid var(--c); background: #fff; border-radius: 0 14px 14px 0; font-size: 1.18rem; font-weight: 500; line-height: 1.35; color: var(--navy); }
.ticks { margin-top: 18px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--navy); font-weight: 500; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.500 10.300l3 3 6-6.300' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Plan d'usine */
.plan { position: relative; margin-bottom: 110px; }
.plan-map { width: 100%; border-radius: var(--radius); border: 1px solid var(--line-dark); }
.plan-ping { position: absolute; left: 70.600%; top: 55.200%; width: 9%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid #fff; animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: translate(-50%, -50%) scale(.5); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }
.plan-card {
  position: absolute; right: 12px; bottom: -86px; width: min(64%, 300px); background: #fff; border-radius: 14px; overflow: hidden;
  border: 3px solid var(--orange); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .7);
}
.plan-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.plan-card-body { display: grid; gap: 8px; padding: 10px 12px 12px; color: var(--navy); font-size: .88rem; }
.pills { display: flex; flex-wrap: wrap; gap: 5px; }
.pill { font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--light); color: var(--soft-light); animation: pillcycle 6s infinite; }
.pill-open { --on: var(--red); animation-delay: 0s; }
.pill-progress { --on: var(--orange); animation-delay: 2s; }
.pill-closed { --on: var(--green); animation-delay: 4s; }
@keyframes pillcycle { 0%, 30% { background: var(--on); color: #fff; } 34%, 100% { background: var(--light); color: var(--soft-light); } }

.duo { display: grid; gap: 14px; }
.note { border-left: 4px solid var(--c); padding: 4px 0 4px 18px; }
.note h3 { color: #fff; margin-bottom: 6px; }

/* ---------- 7. La boucle ---------- */
.loop-grid { display: grid; gap: 12px; align-items: center; }
.loop { position: relative; }
.loop-ring, .loop-center { display: none; }
.loop-steps { display: grid; gap: 10px; position: relative; }
.loop-steps::before { content: ''; position: absolute; left: 19px; top: 20px; bottom: 20px; border-left: 2px dotted var(--line-light); }
.loop-steps li { position: relative; display: flex; align-items: center; gap: 14px; }
.loop-steps b {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 2px solid var(--c); color: var(--c); font-size: .95rem;
  animation: loopdot 9.6s infinite; animation-delay: calc(var(--i) * 1.6s);
}
.loop-steps span { font-weight: 700; font-size: 1.05rem; animation: looptxt 9.6s infinite; animation-delay: calc(var(--i) * 1.6s); }
@keyframes loopdot { 0%, 14% { background: var(--c); color: #fff; transform: scale(1.14); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 18%, transparent); } 20%, 100% { background: #fff; color: var(--c); transform: none; box-shadow: none; } }
@keyframes looptxt { 0%, 14% { color: var(--c); } 20%, 100% { color: var(--navy); } }
.loop-steps::after { content: '↺ et la boucle recommence'; display: block; margin: 4px 0 0 54px; font-size: .9rem; color: var(--soft-light); }

/* ---------- 8. Bientôt ---------- */
.soon-grid { display: grid; gap: 20px; }
.soon { background: var(--navy-card); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.soon-body { padding: 24px 22px 26px; display: grid; gap: 12px; align-content: start; }
.soon-body .eyebrow { margin-bottom: 0; }
.soon-body h3 { font-size: 1.5rem; color: #fff; }
.soon-body .more { justify-self: start; margin-top: 6px; }
.soon-photo img, .flip img { width: 100%; height: 100%; object-fit: cover; }
.soon-photo, .flip { aspect-ratio: 1400 / 782; position: relative; overflow: hidden; }
.flip { cursor: pointer; }
.flip:focus-visible { outline-offset: -4px; }
.flip-b { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.flip.is-flipped .flip-b { opacity: 1; }
.hot { position: absolute; display: flex; align-items: center; gap: 10px; transform: translate(-9px, -9px); transition: opacity .4s; }
.hot i { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--hc); border: 3px solid #fff; position: relative; }
.hot i::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; background: var(--hc); animation: hot 1.8s ease-out infinite; z-index: -1; }
@keyframes hot { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
.hot b { font-size: .74rem; background: #fff; color: var(--navy); padding: 4px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); }
.hot-danger { --hc: var(--red); }
.hot-ok { --hc: var(--green); opacity: 0; }
.flip.is-flipped .hot-danger { opacity: 0; }
.flip.is-flipped .hot-ok { opacity: 1; }
.flip-hint { position: absolute; right: 10px; bottom: 10px; font-size: .7rem; font-weight: 700; background: rgba(10, 26, 63, .82); color: #fff; padding: 5px 10px; border-radius: 999px; }
.flip-hint .h-b, .flip.is-flipped .flip-hint .h-a { display: none; }
.flip.is-flipped .flip-hint .h-b { display: inline; }

/* ---------- 9. Données ---------- */
.data-grid { display: grid; gap: 14px; }
.data { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 24px; }
.data svg { width: 36px; height: 36px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.data h3 { margin-bottom: 8px; }
.data-dark { background: var(--navy); border-color: var(--navy); }
.data-dark h3 { color: #fff; }
.data-dark p { color: var(--soft-dark); }
.data-dark svg { stroke: var(--sky); }

/* ---------- 10. Fondateur ---------- */
.founder { display: grid; gap: 28px; align-items: center; }
.founder-photo { max-width: 300px; border-radius: var(--radius); overflow: hidden; position: relative; }
.founder-photo::after { content: ''; position: absolute; inset: auto 0 0 0; height: 6px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--orange) 0 50%, var(--green) 0 75%, var(--red) 0); }
.founder blockquote { font-size: clamp(1.3rem, 4.4vw, 1.9rem); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: var(--navy); text-wrap: pretty; }
.founder-name { margin-top: 20px; font-size: 1.05rem; color: var(--navy) !important; }
.founder-logos { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-light); }
.founder-logos li { display: grid; gap: 8px; align-content: start; }
.founder-logos span { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft-light); }
.founder-logos img { height: 40px; width: auto; }

/* ---------- 11. Appel final ---------- */
.cta { overflow: hidden; padding: 88px 0 120px; }
.cta-grid { position: relative; display: grid; gap: 24px; align-items: center; }
.cta-main h2 { font-size: clamp(2.3rem, 8vw, 4rem); color: #fff; }
.cta-main p { margin: 14px 0 26px; font-size: 1.12rem; max-width: 28em; }
.cta-url { margin: 14px 0 0 !important; font-size: .95rem !important; color: var(--sky) !important; font-weight: 500; }
.cta-side {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; text-decoration: none;
  background: var(--navy-card); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px;
  transition: border-color .2s, transform .2s var(--ease);
}
.cta-side:hover { border-color: var(--sky); transform: translateY(-2px); }
.cta-side svg { width: 34px; height: 34px; fill: var(--sky); }
.cta-side b { display: block; color: #fff; font-size: 1.1rem; line-height: 1.25; }
.cta-side small { display: block; color: var(--soft-dark); font-size: .9rem; margin-top: 4px; }
.cta-side i { font-style: normal; font-size: 1.4rem; color: var(--sky); }

/* ---------- 12. Pied de page ---------- */
.footer { background: #071330; color: var(--soft-dark); padding: 40px 0; border-top: 1px solid var(--line-dark); }
.footer-in { display: grid; gap: 16px; }
.footer img { height: 34px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { color: var(--light); text-decoration: none; font-weight: 500; }
.footer a:hover { color: var(--sky); }
.footer-copy { font-size: .88rem; }

/* ================= Tablette ================= */
@media (min-width: 640px) {
  .wrap { padding: 0 32px; }
  .section { padding: 96px 0; }
  .pillars, .data-grid { grid-template-columns: 1fr 1fr; }
  .steps-3 { grid-template-columns: repeat(3, 1fr); }
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .stats, .duo { grid-template-columns: 1fr 1fr; }
  .demo-phone { padding: 16px 14px 14px; border-radius: 22px; }
  .demo-kicker { font-size: .64rem; }
  .demo-title { font-size: 1rem; }
  .demo-langs span { font-size: .62rem; }
  .demo-steps li { grid-template-columns: 44px 1fr; gap: 10px; padding: 6px; }
  .demo-steps img { width: 44px; height: 44px; }
  .demo-steps span { font-size: .8rem; }
  .demo-validate { height: 32px; font-size: .8rem; }
  .demo-rec { font-size: .76rem; top: 14px; left: 14px; }
  .demo-chip { font-size: .86rem; left: 14px; bottom: 14px; }
  .plan { margin-bottom: 80px; }
  .plan-card { right: 24px; bottom: -48px; width: 300px; }
  .hot b { font-size: .82rem; }
  .founder { grid-template-columns: 260px 1fr; gap: 44px; }

  /* La boucle en cercle */
  .loop { max-width: 560px; width: 100%; margin: 0 auto; aspect-ratio: 1; }
  .loop-ring { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .loop-track { fill: none; stroke: var(--line-light); stroke-width: .7; stroke-dasharray: .01 2.4; stroke-linecap: round; stroke: #b9c5dc; }
  .loop-runner { transform-origin: 50px 50px; animation: spin 9.6s linear infinite; }
  .loop-runner circle { fill: var(--navy); }
  @keyframes spin { to { transform: rotate(360deg); } }
  .loop-center { display: grid; place-items: center; position: absolute; inset: 0; }
  .loop-center img { width: 15%; height: auto; }
  .loop-steps { position: absolute; inset: 0; display: block; }
  .loop-steps::before, .loop-steps::after { display: none; }
  .loop-steps li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -24px); flex-direction: column; gap: 8px; width: 150px; text-align: center; }
  .loop-steps b { width: 48px; height: 48px; font-size: 1.05rem; }
  .loop-steps span { font-size: .98rem; line-height: 1.2; background: var(--light); padding: 2px 6px; border-radius: 6px; }
}

/* ================= Ordinateur ================= */
@media (min-width: 960px) {
  :root { --nav-h: 72px; }
  body { font-size: 18px; }
  .section { padding: 120px 0; }
  .head { margin-bottom: 56px; }

  .nav-toggle { display: none; }
  .nav-logo { margin-right: 0; }
  .nav-logo img { height: 34px; }
  .nav-links {
    position: static; display: flex; gap: 32px; margin: 0 auto; padding: 0; background: none; border: 0;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav-links a { padding: 8px 0; border: 0; color: var(--soft-dark); font-size: .95rem; transition: color .2s; }
  .nav-links a:hover { color: #fff; }
  .btn-sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }

  .hero { padding: calc(var(--nav-h) + 72px) 0 110px; min-height: min(100vh, 900px); display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
  .hero-title { font-size: clamp(3.2rem, 5.4vw, 4.9rem); }
  .hero-sub { font-size: 1.25rem; }
  .arcs-hero { left: 72%; width: 120%; }

  .pillars { grid-template-columns: repeat(4, 1fr); }
  .steps-4 { grid-template-columns: repeat(4, 1fr); }
  .data-grid { grid-template-columns: repeat(4, 1fr); }

  .k-grid { grid-template-columns: .85fr 1fr; gap: 64px; }
  .k-stage { max-width: 440px; }
  .k-panel article { padding: 36px 34px; min-height: 380px; }

  .stats { margin: 32px 0 88px; }
  .stat { grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 30px 34px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .plan-card { right: -16px; bottom: -40px; width: 340px; }

  .loop-grid { grid-template-columns: .8fr 1fr; gap: 48px; }
  .loop-grid .head { margin-bottom: 0; }
  .soon-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .founder { grid-template-columns: 320px 1fr; gap: 72px; }
  .founder-photo { max-width: none; }
  .cta-grid { grid-template-columns: 1.2fr 1fr; gap: 56px; }
  .footer-in { grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; }
}

/* ================= Réduire les animations ================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero-title .w, .js .hero-sub, .js .hero-cta, .js .hero-dots, .js .demo, .js .reveal { opacity: 1; transform: none; }
  .k-pulse, .plan-ping { display: none; }
}

/* Ajustements */
.demo-phone .demo-kicker { color: var(--blue); }
.demo-phone .demo-title { color: var(--navy); }
.arcs-hero { -webkit-mask-image: linear-gradient(to top, #000 0 30%, transparent 75%); mask-image: linear-gradient(to top, #000 0 30%, transparent 75%); }
@media (min-width: 960px) {
  .arcs-hero { -webkit-mask-image: linear-gradient(to right, transparent 22%, #000 62%); mask-image: linear-gradient(to right, transparent 22%, #000 62%); }
}
@media (max-width: 639px) {
  /* Capture de procédure : lisible sur téléphone, défilement horizontal. */
  .shot { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .shot img { width: 760px; max-width: none; }
  .plan { margin-bottom: 150px; }
  .plan-card { width: min(60%, 260px); right: 10px; bottom: -128px; }
}
.more-row { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.band-light .more, .band-white .more { color: var(--navy); }
a.k-node { text-decoration: none; }

/* ---------- Menu « Nos solutions » ---------- */
.nav-drop-btn { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 14px 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); cursor: default; }
.nav-drop-btn svg { display: none; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.nav-drop-menu { display: grid; }
.nav-drop-menu a { display: grid; grid-template-columns: 12px 1fr; gap: 12px; align-items: center; }
.nav-drop-menu i { width: 10px; height: 10px; border-radius: 50%; }
.nav-drop-menu b { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.nav-drop-menu em { font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft-dark); background: rgba(191, 208, 238, .14); padding: 2px 7px; border-radius: 999px; }
.nav-drop-menu small { display: block; font-size: .82rem; font-weight: 400; color: var(--soft-dark); margin-top: 1px; }
.nav-drop-menu a[aria-current="page"] b { color: var(--sky); }
@media (min-width: 960px) {
  .nav-drop { position: relative; }
  .nav-drop-btn { padding: 10px 4px; font-size: .98rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--light); cursor: pointer; }
  .nav-drop-btn svg { display: block; }
  .nav-drop-menu {
    position: absolute; top: 100%; left: 50%; width: 380px; padding: 8px; gap: 2px;
    background: var(--navy-card); border: 1px solid var(--line-dark); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
    opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  .nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu, .nav-drop.is-open .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav-drop:hover .nav-drop-btn svg, .nav-drop.is-open .nav-drop-btn svg { transform: rotate(180deg); }
  .nav-links .nav-drop-menu a { padding: 12px 14px; border-radius: 10px; font-size: 1rem; }
  .nav-links .nav-drop-menu a:hover { background: rgba(156, 194, 250, .1); }
}

/* ---------- Carte de dossier à trois statuts ---------- */
.pill { animation: none; border: 0; font-family: inherit; cursor: pointer; transition: background-color .3s, color .3s; }
.plan-card { transition: border-color .3s; }
.plan-card[data-state="open"] { border-color: var(--red); }
.plan-card[data-state="closed"] { border-color: var(--green); }
.plan-card[data-state="open"] .pill-open { background: var(--red); color: #fff; }
.plan-card[data-state="progress"] .pill-progress { background: var(--orange); color: #fff; }
.plan-card[data-state="closed"] .pill-closed { background: var(--green); color: #fff; }
.plan-card-photos { position: relative; display: block; }
.plan-card .plan-card-after { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .5s var(--ease); }
.plan-card:not([data-state="open"]) .plan-card-after { opacity: 1; }
.plan-card-done { position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; border-radius: 50%; background: var(--green); border: 3px solid #fff; display: grid; place-items: center; box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .5); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.plan-card-done svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.plan-card[data-state="closed"] .plan-card-done { opacity: 1; transform: none; }

/* ---------- Hero : la grande image passe d'une étape à l'autre ---------- */
.demo-video { aspect-ratio: 10 / 11; }
.demo-video img { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.demo-video img.is-on { opacity: 1; }

/* ---------- Menu : les quatre modules, toujours visibles ---------- */
.nav-mods a { display: flex; align-items: center; gap: 10px; }
.nav-mods i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c); transition: transform .2s var(--ease); }
.nav-mods a:hover i { transform: scale(1.35); }
.nav-mods a[aria-current="page"] { color: #fff; font-weight: 700; }
@media (min-width: 960px) {
  .nav-links.nav-mods { gap: 4px; }
  .nav-links.nav-mods a { gap: 8px; padding: 9px 13px; border-radius: 999px; font-size: .9rem; white-space: nowrap; color: var(--soft-dark); transition: color .2s, background-color .2s; }
  .nav-links.nav-mods a:hover { color: #fff; background: rgba(156, 194, 250, .1); }
  .nav-links.nav-mods a[aria-current="page"] { color: #fff; background: var(--navy-card); box-shadow: inset 0 0 0 1.5px var(--c); }
}
@media (min-width: 1140px) {
  .nav-links.nav-mods { gap: 8px; }
  .nav-links.nav-mods a { font-size: .95rem; padding: 9px 15px; }
}
@media (min-width: 960px) and (max-width: 1139px) {
  .nav-links.nav-mods { gap: 0; }
  .nav-links.nav-mods a { font-size: .84rem; padding: 8px 9px; gap: 7px; }
  .nav .btn-sm { padding: 0 16px; font-size: .88rem; }
}
