:root {
  --bg: #0b0806;
  --bg-2: #130e0b;
  --card: #1a1410;
  --line: rgba(229, 187, 174, 0.14);
  --line-2: rgba(229, 187, 174, 0.32);
  --rose: #e5bbae;
  --rose-2: #c89b87;
  --cream: #f5f0eb;
  --text: #d6c9be;
  --muted: #9a8b7e;
  --ink: #241a14;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--body); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--cream); line-height: 1.04; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
h3 { font-size: 1.6rem; }
.eyebrow { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rose); font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--text); max-width: 42rem; }
.grad { background: linear-gradient(120deg, #fbe3d7, #e5bbae 45%, #c89b87); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; background: rgba(11, 8, 6, .7); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.75rem; font-weight: 600; color: var(--cream); }
.brand img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a:not(.btn) { text-decoration: none; font-size: .93rem; color: var(--text); transition: color .2s; }
.nav-links > a:not(.btn):hover { color: var(--cream); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; color: var(--cream); font-size: 1.5rem; cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 12px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; font-family: var(--body); }
.btn-primary { background: linear-gradient(135deg, #f3d6ca, var(--rose-2)); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(229, 187, 174, .6), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(229, 187, 174, .75), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-ghost { border-color: var(--line-2); color: var(--cream); }
.btn-ghost:hover { border-color: var(--rose); }
.btn-sm { padding: 9px 18px; font-size: .88rem; border-radius: 10px; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* Hero */
.hero { position: relative; padding: 150px 0 20px; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(55% 45% at 50% 0%, rgba(229,187,174,.22), transparent 70%),
  radial-gradient(30% 30% at 90% 30%, rgba(200,155,135,.1), transparent 70%),
  linear-gradient(rgba(229,187,174,.045) 1px, transparent 1px) 0 0/60px 60px,
  linear-gradient(90deg, rgba(229,187,174,.045) 1px, transparent 1px) 0 0/60px 60px;
  -webkit-mask-image: linear-gradient(#000 45%, transparent 98%); mask-image: linear-gradient(#000 45%, transparent 98%); pointer-events: none; }
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .84rem; background: rgba(229,187,174,.06); }
.pill b { background: var(--rose); color: var(--ink); border-radius: 999px; padding: 2px 10px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.hero .lead { margin: 0 auto; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-note { font-size: .84rem; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.hero-note span::before { content: "✓ "; color: var(--rose); }

/* Démo interactive */
.demo { margin-top: 56px; width: 100%; max-width: 1100px; text-align: left; }
.mods { display: flex; gap: 6px; padding-bottom: 14px; justify-content: center; flex-wrap: wrap; }
.mod { position: relative; background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--text); padding: 9px 13px; border-radius: 12px; cursor: pointer; font-family: var(--body); font-size: .84rem; display: flex; gap: 9px; align-items: center; overflow: hidden; white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
.mod i { color: var(--rose); font-size: .85rem; }
.mod:hover { border-color: var(--line-2); color: var(--cream); }
.mod[aria-selected="true"] { background: rgba(229,187,174,.12); border-color: var(--rose); color: var(--cream); }
.mod::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--rose); }
.mod[aria-selected="true"].run::after { animation: prog var(--dur, 7s) linear forwards; }
@keyframes prog { to { width: 100%; } }
.mod em { font-style: normal; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 7px; color: var(--rose); }

.screen { position: relative; border-radius: 18px; border: 1px solid var(--line-2); background: #f5f0eb; color: #2a211b; overflow: hidden; height: 470px; box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 140px -30px rgba(229,187,174,.3); }
.bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #1c1612; height: 38px; }
.bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a2f27; }
.bar span { margin-left: 14px; font-size: .74rem; color: #9a8b7e; background: #120d0a; padding: 3px 14px; border-radius: 6px; }
.pane { position: absolute; inset: 38px 0 0 0; display: grid; grid-template-columns: 150px 1fr; opacity: 0; visibility: hidden; transition: opacity .5s; }
.pane.on { opacity: 1; visibility: visible; }
.rail { background: #120d0a; color: #b8a89a; padding: 16px 12px; font-size: .74rem; display: grid; gap: 5px; align-content: start; }
.rail .lg { display: flex; align-items: center; gap: 8px; color: var(--cream); font-family: var(--display); font-size: 1.1rem; margin-bottom: 12px; }
.rail .lg img { height: 20px; }
.rail span { padding: 7px 9px; border-radius: 7px; display: flex; gap: 8px; align-items: center; }
.rail span.cur { background: #2a211b; color: var(--cream); }
.main { padding: 22px 26px; overflow: hidden; position: relative; }
.main h4 { font-family: var(--display); font-size: 1.7rem; color: #1b1410; line-height: 1; }
.main .sub { font-size: .76rem; color: #7c6d5d; margin: 4px 0 16px; }

.m-tunnel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: center; height: calc(100% - 70px); }
.lp { background: #fffaf5; border: 1px solid #e6dbd0; border-radius: 12px; padding: 22px; display: grid; gap: 10px; }
.lp .t1 { font-family: var(--display); font-size: 1.7rem; font-weight: 700; line-height: 1.05; }
.lp .p { height: 7px; border-radius: 4px; background: #e9ddd2; }
.lp .p.s { width: 70%; }
.field { height: 34px; border: 1px solid #e0d3c7; border-radius: 8px; background: #fff; font-size: .78rem; padding: 8px 10px; color: #4a3f36; overflow: hidden; white-space: nowrap; }
.cta { background: #b5532b; color: #fff; border-radius: 999px; text-align: center; padding: 9px; font-size: .8rem; font-weight: 600; }
.on .cta { animation: pulse 2.4s 2.4s infinite; }
@keyframes pulse { 50% { transform: scale(1.04); box-shadow: 0 8px 20px rgba(181,83,43,.4); } }
.typing { display: block; width: 100%; overflow: hidden; }
.on .typing { animation: type 1.8s steps(22) .5s both; width: 0; }
@keyframes type { to { width: 100%; } }
.toast { position: absolute; right: 22px; bottom: 22px; background: #1c1612; color: #f5f0eb; border-radius: 12px; padding: 12px 16px; display: flex; gap: 12px; align-items: center; font-size: .78rem; opacity: 0; transform: translateY(14px); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.toast b { display: block; font-size: .82rem; }
.toast .d { width: 30px; height: 30px; border-radius: 9px; background: rgba(94,212,155,.18); color: #5ed49b; display: grid; place-items: center; }
.on .toast { animation: toast .6s 3s forwards; }
@keyframes toast { to { opacity: 1; transform: none; } }
.stats { display: grid; gap: 10px; }
.stat { background: #fff; border: 1px solid #e6dbd0; border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; }
.stat b { font-family: var(--display); font-size: 1.8rem; }

.tbl { background: #fff; border: 1px solid #e6dbd0; border-radius: 12px; overflow: hidden; font-size: .76rem; }
.tr { display: grid; grid-template-columns: 1.3fr 1.6fr 1fr 1fr; gap: 10px; padding: 11px 14px; align-items: center; border-bottom: 1px solid #f0e7de; }
.tr.h { background: #faf5ef; color: #7c6d5d; font-weight: 600; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.on .tr:not(.h) { animation: rowin .5s both; }
.on .tr:nth-child(2) { animation-delay: .1s; } .on .tr:nth-child(3) { animation-delay: .25s; } .on .tr:nth-child(4) { animation-delay: .4s; } .on .tr:nth-child(5) { animation-delay: .55s; } .on .tr:nth-child(6) { animation-delay: .7s; } .on .tr:nth-child(7) { animation-delay: .85s; }
@keyframes rowin { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.chip { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: .68rem; font-weight: 600; color: #fff; }
.c1 { background: #3b82f6; } .c2 { background: #8b5cf6; } .c3 { background: #f59e0b; } .c4 { background: #10b981; } .c5 { background: #ef4444; }
.tg { background: #f3e9df; color: #6b5444; }

.kan { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; height: calc(100% - 70px); position: relative; }
.col { background: #fbf7f2; border: 1px solid #e6dbd0; border-radius: 12px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.col h5 { font-size: .74rem; display: flex; gap: 7px; align-items: center; color: #3b2f27; }
.col h5 i { width: 8px; height: 8px; border-radius: 3px; }
.card2 { background: #fff; border: 1px solid #e6dbd0; border-radius: 9px; padding: 9px 10px; font-size: .72rem; display: grid; gap: 5px; }
.card2 b { font-size: .78rem; color: #2a211b; }
.card2 small { color: #8a7b6e; }
.mv { position: absolute; z-index: 3; left: 10px; top: 112px; width: calc(25% - 18px); box-shadow: 0 16px 30px rgba(0,0,0,.2); border-color: var(--rose-2); }
.on .mv { animation: drag 7s 1s ease-in-out infinite; }
@keyframes drag {
  0%, 8% { transform: translate(0,0) rotate(0); }
  28%, 42% { transform: translate(calc(100% + 30px), 18px) rotate(3deg); }
  62%, 86% { transform: translate(calc(200% + 60px), -6px) rotate(-2deg); }
  100% { transform: translate(0,0) rotate(0); }
}

.cal { display: grid; grid-template-columns: 36px repeat(5, 1fr); background: #fff; border: 1px solid #e6dbd0; border-radius: 12px; font-size: .68rem; height: calc(100% - 70px); position: relative; overflow: hidden; grid-auto-rows: 1fr; }
.cal > div { border-right: 1px solid #f0e7de; border-bottom: 1px solid #f0e7de; padding: 4px; color: #8a7b6e; }
.ev { position: absolute; border-radius: 7px; padding: 5px 7px; font-size: .68rem; font-weight: 600; opacity: 0; }
.on .ev { animation: pop .5s both; }
@keyframes pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.e1 { left: 21%; top: 24%; width: 17%; height: 14%; background: #ede9fe; color: #5b3fc2; border-left: 3px solid #8b5cf6; animation-delay: .3s !important; }
.e2 { left: 39%; top: 50%; width: 17%; height: 14%; background: #d1fae5; color: #0b7a55; border-left: 3px solid #10b981; animation-delay: .6s !important; }
.e3 { left: 57%; top: 18%; width: 17%; height: 14%; background: #ede9fe; color: #5b3fc2; border-left: 3px solid #8b5cf6; animation-delay: .9s !important; }
.e4 { left: 75%; top: 62%; width: 17%; height: 14%; background: #fef3c7; color: #92560b; border-left: 3px solid #f59e0b; animation-delay: 1.2s !important; }
.ev.new { left: 39%; top: 28%; width: 17%; height: 14%; background: #b5532b; color: #fff; animation-delay: 2.6s !important; box-shadow: 0 8px 20px rgba(181,83,43,.5); }

.mail { display: grid; grid-template-columns: 1fr 150px; gap: 16px; height: calc(100% - 70px); }
.em { background: #fff; border: 1px solid #e6dbd0; border-radius: 12px; padding: 18px; display: grid; gap: 10px; align-content: start; overflow: hidden; }
.blk { border-radius: 9px; opacity: 0; }
.on .blk { animation: drop .5s both; }
.blk:nth-child(1) { animation-delay: .2s !important; } .blk:nth-child(2) { animation-delay: .6s !important; } .blk:nth-child(3) { animation-delay: 1s !important; } .blk:nth-child(4) { animation-delay: 1.4s !important; }
@keyframes drop { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: none; } }
.b-hero { height: 70px; background: linear-gradient(120deg, #f6d9cd, #e5bbae); }
.b-txt { padding: 4px 2px; }
.b-txt .p { height: 7px; border-radius: 4px; background: #e9ddd2; margin: 5px 0; } .b-txt .p.s { width: 60%; }
.b-btn { background: #2a211b; color: #fff; text-align: center; padding: 9px; font-size: .74rem; font-weight: 600; width: 55%; margin: 0 auto; }
.b-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .b-cols div { background: #f5eee6; height: 52px; border-radius: 8px; }
.palette { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.palette span { background: #fff; border: 1px solid #e6dbd0; border-radius: 9px; padding: 9px 4px; text-align: center; font-size: .66rem; color: #5a4b40; }
.palette span i { display: block; color: #b5532b; font-size: .95rem; margin-bottom: 3px; }

.flow { position: relative; height: calc(100% - 70px); }
.node { position: absolute; background: #fff; border: 1px solid #e0d3c7; border-radius: 12px; padding: 10px 14px; font-size: .74rem; display: flex; gap: 10px; align-items: center; box-shadow: 0 8px 20px rgba(60,40,25,.08); opacity: 0; z-index: 2; }
.on .node { animation: pop .5s both; }
.node .ni { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: .8rem; }
.node b { display: block; font-size: .78rem; }
.node small { color: #8a7b6e; }
.n1 { left: 3%; top: 6%; animation-delay: .2s !important; } .n1 .ni { background: #dbeafe; color: #2563eb; }
.n2 { left: 34%; top: 38%; animation-delay: .8s !important; } .n2 .ni { background: #ede9fe; color: #7c3aed; }
.n3 { left: 64%; top: 8%; animation-delay: 1.4s !important; } .n3 .ni { background: #fef3c7; color: #d97706; }
.n4 { left: 60%; top: 66%; animation-delay: 2s !important; } .n4 .ni { background: #d1fae5; color: #059669; }
.flow svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow path { fill: none; stroke: #c89b87; stroke-width: 2; stroke-dasharray: 6 6; animation: dash 1.4s linear infinite; opacity: .85; }
@keyframes dash { to { stroke-dashoffset: -24; } }

.inv { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; height: calc(100% - 70px); align-items: start; }
.paper { background: #fff; border: 1px solid #e6dbd0; border-radius: 12px; padding: 20px; position: relative; font-size: .76rem; display: grid; gap: 9px; }
.paper .r { display: flex; justify-content: space-between; border-bottom: 1px dashed #eadfd4; padding-bottom: 8px; }
.paper .tot { font-family: var(--display); font-size: 1.7rem; font-weight: 700; display: flex; justify-content: space-between; }
.stamp { position: absolute; right: 22px; bottom: 58px; border: 2px solid #10b981; color: #10b981; border-radius: 8px; padding: 3px 12px; font-weight: 800; letter-spacing: .1em; transform: rotate(-8deg) scale(2); opacity: 0; font-size: .85rem; }
.on .stamp { animation: stamp .5s 2.4s forwards; }
@keyframes stamp { to { transform: rotate(-8deg) scale(1); opacity: 1; } }
.paylink { background: #1c1612; color: #f5f0eb; border-radius: 12px; padding: 16px; font-size: .76rem; display: grid; gap: 8px; }
.paylink .btnx { background: var(--rose); color: #241a14; text-align: center; padding: 9px; border-radius: 9px; font-weight: 700; }

/* Marquee */
.marq { padding: 70px 0 20px; overflow: hidden; margin-top: 70px; border-top: 1px solid var(--line); }
.marq-track { display: flex; gap: 48px; width: max-content; animation: slide 40s linear infinite; font-family: var(--display); font-size: clamp(2.6rem, 6vw, 5rem); white-space: nowrap; }
.marq-track span { color: transparent; -webkit-text-stroke: 1px var(--line-2); display: inline-flex; gap: 48px; align-items: center; }
.marq-track span::after { content: "✦"; color: var(--rose); -webkit-text-stroke: 0; font-size: .5em; }
@keyframes slide { to { transform: translateX(-50%); } }

section { padding: 110px 0; }
.head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 60px; }
.head.center { align-items: center; text-align: center; }
.head.center .lead { margin: 0 auto; }

/* Parcours */
.journey { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.journey::before { content: ""; position: absolute; left: 8%; right: 8%; top: 34px; height: 2px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.journey::after { content: ""; position: absolute; top: 30px; left: 8%; width: 10px; height: 10px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 20px 6px rgba(229,187,174,.6); animation: travel 6s ease-in-out infinite; }
@keyframes travel { 0% { left: 8%; } 100% { left: 92%; } }
.jn { text-align: center; padding: 0 8px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.jn .ico { width: 68px; height: 68px; border-radius: 20px; background: var(--card); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--rose); font-size: 1.4rem; position: relative; z-index: 2; }
.jn h4 { color: var(--cream); font-size: 1rem; }
.jn p { font-size: .82rem; color: var(--muted); }

/* Modules */
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mc { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 30px 0; overflow: hidden; transition: border-color .3s, transform .3s; }
.mc::before { content: ""; position: absolute; width: 260px; height: 260px; left: var(--x, 50%); top: var(--y, 0); transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(229,187,174,.2), transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 2; }
.mc:hover { border-color: var(--line-2); transform: translateY(-4px); }
.mc:hover::before { opacity: 1; }
.mc .ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(229,187,174,.1); color: var(--rose); display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 18px; position: relative; }
.mc h3 { margin-bottom: 8px; position: relative; }
.mc p { font-size: .94rem; position: relative; }
.mc ul { list-style: none; margin-top: 14px; display: grid; gap: 7px; position: relative; }
.mc li { font-size: .86rem; color: var(--cream); padding-left: 20px; position: relative; }
.mc li::before { content: "✓"; position: absolute; left: 0; color: var(--rose); }
.st { position: absolute; top: 24px; right: 24px; z-index: 3; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 11px; border-radius: 999px; font-weight: 600; }
.st.ok { color: #7be0ae; border: 1px solid rgba(94,212,155,.4); background: rgba(94,212,155,.08); }
.st.soon { color: var(--rose); border: 1px dashed var(--line-2); }

/* Mini-visuels des modules, dessinés en CSS */
.mviz { margin: 24px -30px 0; padding: 20px 30px 28px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(229,187,174,.04), transparent 80%); position: relative; }
.mc ul + .mviz, .mc p + .mviz { margin-top: auto; }
.mc:not(.feat) .mviz { height: 150px; padding-bottom: 0; box-sizing: border-box; align-content: start; }
.mviz .bar { display: block; height: 7px; border-radius: 4px; background: rgba(229,187,174,.2); }
.mviz .w100 { width: 100%; } .mviz .w90 { width: 86%; } .mviz .w80 { width: 78%; } .mviz .w70 { width: 64%; } .mviz .w60 { width: 52%; }

/* CRM : lignes de contacts */
.mviz-crm { display: grid; gap: 11px; }
.mviz-crm .row { display: flex; align-items: center; gap: 11px; }
.mviz-crm .av { flex: none; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(140deg, var(--rose), var(--rose-2)); opacity: .8; }
.mviz-crm .av.a2 { background: linear-gradient(140deg, #8b5cf6, #6366f1); opacity: .65; }
.mviz-crm .av.a3 { background: linear-gradient(140deg, #10b981, #059669); opacity: .6; }
.mviz-crm .bar { flex: 1; }
.mviz-crm .chip { flex: none; width: 52px; height: 17px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(229,187,174,.06); }
.mviz-crm .chip.c2 { width: 40px; } .mviz-crm .chip.c3 { width: 60px; }

/* Pipelines : trois colonnes kanban */
.mviz-kan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; align-items: start; }
.mviz-kan .col { display: grid; gap: 7px; padding: 9px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.015); }
.mviz-kan .hd { display: flex; align-items: center; gap: 5px; }
.mviz-kan .dot { flex: none; width: 6px; height: 6px; border-radius: 50%; }
.mviz-kan .t { flex: 1; height: 5px; border-radius: 3px; background: rgba(229,187,174,.28); }
.mviz-kan .cd { display: block; height: 24px; border-radius: 8px; border: 1px solid var(--line); background: rgba(229,187,174,.06); }

/* Calendriers : grille de créneaux */
.mviz-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-content: start; }
.mviz-cal i { max-height: 30px; }
.mviz-cal i { aspect-ratio: 1; border-radius: 6px; background: rgba(229,187,174,.06); border: 1px solid var(--line); }
.mviz-cal i.on { background: rgba(229,187,174,.2); border-color: transparent; }
.mviz-cal i.pick { background: linear-gradient(140deg, var(--rose), var(--rose-2)); border-color: transparent; box-shadow: 0 0 0 3px rgba(229,187,174,.14); }

/* Équipe : avatars empilés et rôles */
.mviz-team { display: grid; gap: 13px; align-content: start; }
.mviz-team .stack { display: flex; }
.mviz-team .stack span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--card); margin-left: -11px; background: linear-gradient(140deg, var(--rose), var(--rose-2)); opacity: .85; }
.mviz-team .stack span:first-child { margin-left: 0; }
.mviz-team .stack .a2 { background: linear-gradient(140deg, #8b5cf6, #6366f1); opacity: .7; }
.mviz-team .stack .a3 { background: linear-gradient(140deg, #10b981, #059669); opacity: .65; }
.mviz-team .stack .more { background: rgba(229,187,174,.1); border: 2px dashed var(--line-2); opacity: 1; }
.mviz-team .roles { display: flex; gap: 7px; }
.mviz-team .roles { flex-wrap: wrap; }
.mviz-team .roles i { height: 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(229,187,174,.05); }
.mviz-team .orgs { display: flex; gap: 8px; }
.mviz-team .orgs i { flex: 1; height: 26px; border-radius: 8px; border: 1px solid var(--line); background: rgba(229,187,174,.05); }
.mviz-team .orgs i.cur { border-color: var(--line-2); background: rgba(229,187,174,.12); }
.mviz-team .roles .r1 { width: 74px; } .mviz-team .roles .r2 { width: 56px; } .mviz-team .roles .r3 { width: 48px; }

/* Tunnels : pages empilées (carte vedette) */
.mc.feat .st { top: 43px; left: 92px; right: auto; }
.mc.feat { grid-column: span 2; display: grid; grid-template-columns: 1.04fr .96fr; align-items: stretch; padding: 0 0 0 30px; background: linear-gradient(135deg, rgba(229,187,174,.07), transparent 58%), var(--card); }
.mc.feat .mc-txt { display: flex; flex-direction: column; padding: 30px 26px 30px 0; }
.mc.feat .mc-txt ul { margin-top: auto; padding-top: 16px; }
.mviz-pages { margin: 0; padding: 0; border: 0; background: none; overflow: hidden; }
.mviz-pages .pg { position: absolute; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); box-shadow: 0 34px 70px -34px rgba(0,0,0,.95); }
.mviz-pages .p3 { inset: 84px 86px 96px 8px; opacity: .45; }
.mviz-pages .p2 { inset: 66px 48px 74px 32px; opacity: .7; }
.mviz-pages .p1 { inset: 46px 0 34px 60px; display: grid; align-content: start; gap: 11px; padding: 22px; border-radius: 14px 0 0 14px; border-right: 0; }
.mviz-pages .ttl { display: block; height: 13px; width: 62%; border-radius: 5px; background: linear-gradient(90deg, var(--rose), var(--rose-2)); opacity: .85; }
.mviz-pages .bar { background: rgba(229,187,174,.18); }
.mviz-pages .fld { display: block; height: 30px; border-radius: 9px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); margin-top: 6px; }
.mviz-pages .cta { display: block; height: 30px; width: 56%; border-radius: 9px; background: linear-gradient(120deg, var(--rose), var(--rose-2)); opacity: .9; }

/* Bande « En préparation » */
.soon-head { display: flex; align-items: center; gap: 18px; margin: 44px 0 20px; }
.soon-head::before, .soon-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.soon-head span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; white-space: nowrap; }
.soon-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sc { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px dashed var(--line); border-radius: 16px; background: rgba(26, 20, 16, .4); transition: border-color .3s; }
.sc:hover { border-color: var(--line-2); }
.sc > i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: .85rem; color: var(--rose); background: rgba(229, 187, 174, .07); }
.sc h3 { font-size: 1rem; color: var(--cream); margin-bottom: 2px; }
.sc p { font-size: .83rem; color: var(--muted); }

/* Captures défilantes */
.shots { overflow: hidden; padding: 20px 0 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.shots-track { display: flex; gap: 28px; width: max-content; animation: slide 70s linear infinite; }
.shots:hover .shots-track { animation-play-state: paused; }
.shot { width: 560px; flex: none; border-radius: 14px; border: 1px solid var(--line-2); overflow: hidden; background: var(--bg-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.shot:nth-child(even) { transform: translateY(26px); }
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: 12px 16px; font-size: .84rem; color: var(--cream); border-top: 1px solid var(--line); }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 36px 30px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: var(--rose); background: linear-gradient(180deg, rgba(229,187,174,.1), var(--card) 45%); box-shadow: 0 0 80px -24px rgba(229,187,174,.45); }
.plan .tagp { position: absolute; top: -13px; left: 30px; background: var(--rose); color: var(--ink); font-size: .74rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.plan h3 { font-size: 1.9rem; }
.plan .for { color: var(--muted); font-size: .93rem; margin: 6px 0 22px; min-height: 2.9em; }
.price { font-family: var(--display); font-size: 3.6rem; font-weight: 600; line-height: 1; color: var(--cream); }
.price small { font-family: var(--body); font-size: .85rem; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; margin: 26px 0 30px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .93rem; }
.plan li i { color: var(--rose); margin-top: 5px; font-size: .78rem; }
.plan .btn { width: 100%; }
.price-notes { text-align: center; color: var(--muted); font-size: .86rem; margin-top: 30px; display: grid; gap: 4px; }
.price-notes a { color: var(--text); }

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 24px; transition: border-color .2s; }
details[open] { border-color: var(--line-2); }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--cream); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--rose); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--text); padding-bottom: 20px; font-size: .96rem; }

.final-box { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: 32px; padding: 100px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; background: radial-gradient(70% 90% at 50% 0%, rgba(229,187,174,.24), transparent 70%), var(--card); }

footer { border-top: 1px solid var(--line); padding: 64px 0 36px; color: var(--muted); font-size: .9rem; background: var(--bg); }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-in h4 { color: var(--cream); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.foot-in ul { list-style: none; display: grid; gap: 10px; }
.foot-in a { text-decoration: none; transition: color .2s; }
.foot-in a:hover { color: var(--rose); }
.foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
  .toast, .ev, .blk, .node, .stamp, .tr { opacity: 1 !important; transform: none !important; }
  .stamp { transform: rotate(-8deg) !important; }
  html { scroll-behavior: auto; }
}

/* Pages légales */
.legal-page { background: #f5f0eb; color: var(--ink); }
.legal { max-width: 800px; margin: 0 auto; padding: 130px 24px 80px; }
.legal h1 { color: var(--ink); font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal .meta { color: #7c6d5d; font-size: .9rem; margin: 10px 0 36px; }
.legal h2 { color: var(--ink); font-size: 1.5rem; margin: 34px 0 8px; line-height: 1.2; }
.legal p, .legal li { color: #4a3f36; font-size: .98rem; margin-top: 8px; }
.legal ul { padding-left: 22px; }
.legal a { color: #8a5a47; }
.legal .back { display: inline-block; margin-bottom: 28px; text-decoration: none; font-size: .9rem; }
.legal-page .nav { background: rgba(11, 8, 6, .95); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 20px 24px 28px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .nav-cta .btn { text-align: center; }
  section { padding: 76px 0; }
  .hero { padding-top: 120px; }
  .plans, .foot-in, .mgrid, .soon-strip { grid-template-columns: 1fr; }
  .soon-head { margin: 34px 0 16px; }
  .mc.feat { grid-column: auto; grid-template-columns: 1fr; padding: 0 0 0 24px; }
  .mc.feat .mc-txt { padding: 24px 24px 0 0; }
  .mc.feat .mc-txt ul { margin-top: 14px; }
  .mc.feat .mc-shot { margin: 24px 0 0 0; height: 170px; }
  .mc.feat .mc-shot img { width: 150%; }
  .journey { grid-template-columns: 1fr 1fr; gap: 34px 10px; }
  .journey::before, .journey::after { display: none; }
  .screen { height: 440px; }
  .pane { grid-template-columns: 1fr; }
  .rail { display: none; }
  .m-tunnel, .inv, .mail { grid-template-columns: 1fr; }
  .stats, .palette { display: none; }
  .kan { grid-template-columns: repeat(3, 1fr); } .kan .col:nth-child(4) { display: none; }
  .shot { width: 320px; }
}

h1, h2, h3, .price, .stat b, .tot, .num { font-variant-numeric: lining-nums; }

/* Vitrine tunnels */
.fan { position: relative; display: grid; grid-template-columns: 1fr; max-width: 1100px; margin: 0 auto; height: 560px; }
.fanpage { position: absolute; width: 56%; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); overflow: hidden; box-shadow: 0 50px 90px -30px rgba(0,0,0,.95); transition: transform .5s ease; }
.fanpage img { width: 100%; height: auto; }
.f-l { left: 0; top: 50px; transform: rotate(-4deg); z-index: 1; }
.f-c { left: 22%; top: 0; z-index: 3; }
.f-r { right: 0; top: 50px; transform: rotate(4deg); z-index: 2; }
.fan:hover .f-l { transform: rotate(-6deg) translateX(-14px); }
.fan:hover .f-r { transform: rotate(6deg) translateX(14px); }
.fan-note { text-align: center; color: var(--muted); font-size: .84rem; margin-top: 22px; }

/* Vitrine des styles de tunnel */
.showcase { max-width: 1000px; margin: 0 auto; }
.stabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.stab { background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--text); padding: 10px 18px; border-radius: 12px; cursor: pointer; font-family: var(--body); font-size: .88rem; transition: border-color .2s, color .2s, background .2s; }
.stab:hover { border-color: var(--line-2); color: var(--cream); }
.stab[aria-selected="true"] { background: rgba(229,187,174,.12); border-color: var(--rose); color: var(--cream); }
.sstage { border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: var(--bg-2); box-shadow: 0 50px 90px -34px rgba(0,0,0,.95); }
.sbar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.sbar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.sbar span { margin-left: 10px; font-size: .78rem; color: var(--muted); }
.sview { position: relative; aspect-ratio: 16 / 10; }
.spane { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease; }
.spane.on { opacity: 1; visibility: visible; }
.spane img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.scap { text-align: center; margin-top: 24px; }
.scap h3 { font-size: 1.35rem; color: var(--cream); margin-bottom: 5px; }
.sbiz { font-size: .84rem; color: var(--rose); margin-bottom: 8px; }
.sdesc { font-size: .92rem; color: var(--muted); max-width: 44rem; margin: 0 auto; }
@media (max-width: 980px) {
  .fan { height: auto; display: grid; gap: 18px; }
  .stab { padding: 8px 13px; font-size: .82rem; }
  .scap { margin-top: 18px; }
  .fanpage { position: relative; width: 100%; left: auto; right: auto; top: auto; transform: none !important; }
}

.pill b { white-space: nowrap; }
@media (max-width: 980px) {
  .mods { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; margin: 0 -24px; padding: 0 24px 14px; }
  .mods::-webkit-scrollbar { display: none; }
  .mod { flex: none; }
  .pill { flex-wrap: wrap; justify-content: center; text-align: center; padding: 6px 14px; }
}

/* Calendrier : rendez-vous placés dans les cellules */
.cal { grid-template-columns: 40px repeat(5, 1fr); grid-template-rows: 28px repeat(4, 1fr); grid-auto-rows: auto; }
.cal > div { padding: 0; border-right: 1px solid #f0e7de; border-bottom: 1px solid #f0e7de; }
.cal > div:nth-child(6n) { border-right: 0; }
.cal .hd { display: flex; align-items: center; justify-content: center; font-size: .68rem; color: #8a7b6e; background: #faf5ef; font-weight: 600; }
.cal .hd:not(:first-child) { }
.cal > div:nth-child(n+7):nth-child(6n+1) { align-items: flex-start; justify-content: flex-end; padding: 6px 8px; background: #faf5ef; }
.cal .slot { position: relative; }
.cal .ev { left: 4px; right: 4px; top: 4px; bottom: 4px; width: auto; height: auto; display: flex; align-items: flex-start; }

/* Pipeline : la carte glisse dans la rangée libre, sans recouvrir les autres */
.mv { top: 100px; left: 10px; width: calc((100% - 36px) / 4 - 20px); }
@keyframes drag {
  0%, 10% { transform: translateX(0) rotate(0); box-shadow: 0 4px 10px rgba(0,0,0,.08); }
  16% { transform: translateX(0) rotate(2deg); box-shadow: 0 16px 30px rgba(0,0,0,.25); }
  34%, 46% { transform: translateX(calc(100% + 32px)) rotate(0); box-shadow: 0 4px 10px rgba(0,0,0,.08); }
  52% { transform: translateX(calc(100% + 32px)) rotate(2deg); box-shadow: 0 16px 30px rgba(0,0,0,.25); }
  70%, 88% { transform: translateX(calc(200% + 64px)) rotate(0); box-shadow: 0 4px 10px rgba(0,0,0,.08); }
  100% { transform: translateX(0) rotate(0); box-shadow: 0 4px 10px rgba(0,0,0,.08); }
}
@media (max-width: 980px) { .mv { width: calc((100% - 24px) / 3 - 20px); } }

/* Tunnel : page complète qui défile */
.screen { --vh: 432px; }
.pane.full { grid-template-columns: 1fr; background: #0b0b0b; }
.scrollpage { overflow: hidden; height: 100%; }
.scrollpage img { width: 100%; height: auto; display: block; }
.on .scrollpage img { animation: pagescroll 5.8s .7s ease-in-out both; }
@keyframes pagescroll { 0%, 6% { transform: translateY(0); } 94%, 100% { transform: translateY(calc(-100% + var(--vh))); } }
.pane.full.on .toast { animation: toast .6s 6.2s forwards; }
@media (max-width: 980px) { .screen { --vh: 402px; } }
@media (prefers-reduced-motion: reduce) { .scrollpage img { transform: none !important; } }

/* Accessibilité et confort tactile */
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.btn, .mod, summary, .nav-toggle { cursor: pointer; min-height: 44px; }
.btn-sm { min-height: 44px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--rose); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 70; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--rose-2), var(--rose)); }
.sticky-cta { display: none; }
@media (max-width: 980px) {
  .sticky-cta { display: inline-flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 55; transform: translateY(140%); transition: transform .35s ease; box-shadow: 0 16px 40px -10px rgba(0,0,0,.8), 0 10px 30px -12px rgba(229,187,174,.6); }
  .sticky-cta.show { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .progress { display: none; } .sticky-cta { transition: none; } }

/* Échelle réduite : éléments plus compacts */
html { font-size: 14.5px; }
:root { --max: 1080px; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
.lead { font-size: clamp(1rem, 1.2vw, 1.1rem); max-width: 36rem; }
.nav-in { height: 60px; }
.nav-links { top: 60px; }
.brand { font-size: 1.5rem; } .brand img { height: 30px; }
.btn { padding: 11px 22px; font-size: .9rem; }
.btn-lg { padding: 13px 26px; font-size: .95rem; }
.btn-sm { padding: 8px 16px; font-size: .84rem; }
.hero { padding: 112px 0 10px; }
.hero-in { gap: 20px; }
.demo { margin-top: 36px; max-width: 920px; }
.screen { height: 400px; --vh: 362px; }
.mod { padding: 7px 12px; font-size: .8rem; }
.main { padding: 16px 20px; }
.main h4 { font-size: 1.4rem; }
section { padding: 72px 0; }
.head { margin-bottom: 40px; gap: 12px; }
.marq { padding: 44px 0 10px; margin-top: 44px; }
.marq-track { font-size: clamp(2rem, 4vw, 3.2rem); gap: 36px; } .marq-track span { gap: 36px; }
.journey .ico, .jn .ico { width: 56px; height: 56px; font-size: 1.15rem; border-radius: 16px; }
.journey::before { top: 28px; } .journey::after { top: 24px; }
.mc { padding: 24px; border-radius: 18px; }
.mc h3 { font-size: 1.25rem; }
.mc .ico { width: 40px; height: 40px; margin-bottom: 14px; }
.mgrid { gap: 14px; }
.fan { height: 440px; max-width: 920px; }
.shot { width: 440px; }
.plan { padding: 28px 24px; border-radius: 20px; }
.plan h3 { font-size: 1.6rem; }
.price { font-size: 2.9rem; }
.final-box { padding: 64px 24px; border-radius: 24px; }
details { padding: 2px 20px; } summary { padding: 14px 0; font-size: .94rem; }
footer { padding: 48px 0 28px; }
@media (max-width: 980px) {
  section { padding: 56px 0; }
  .hero { padding-top: 96px; }
  .screen { height: 390px; --vh: 352px; }
  .fan { height: auto; }
  .shot { width: 280px; }
  .nav-links { top: 60px; }
}
