/* Marzel · logiciels métier sur mesure pour PME */
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-variable.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f6f5f1;
  --bg-2: #efede7;
  --ink: #0f1216;
  --ink-2: #39414b;
  --ink-3: #5c646e;
  --line: rgba(15, 18, 22, .1);
  --surface: rgba(255, 255, 255, .62);
  --surface-strong: rgba(255, 255, 255, .86);
  --grad: linear-gradient(115deg, #4fc4bf 0%, #9a8cff 52%, #ff9f7f 100%);
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 26px;
  --radius-sm: 16px;
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(52px, 8.4vw, 104px); line-height: .98; }
h2 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; }
h3 { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.01em; }
h1 em, h2 em, .grad { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
:focus-visible { outline: 2px solid #9a8cff; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--ink-2); font-size: 19px; max-width: 680px; margin-top: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); flex: none; }
.lead { font-size: clamp(19px, 1.6vw, 21px); color: var(--ink-2); max-width: 640px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 245, 241, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 28px; text-decoration: none; letter-spacing: -.01em; }
.logo::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.btn, .nav a.btn:hover { color: #fff; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font: 500 15px var(--font-body); color: var(--ink); cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 550; font-size: 16px; border: 1px solid var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(15, 18, 22, .18); }
.btn.small { padding: 10px 18px; font-size: 14.5px; }
.btn.ghost { background: var(--surface-strong); color: var(--ink); border-color: rgba(15, 18, 22, .12); }
.btn.light { background: #f6f5f1; color: var(--ink); border-color: #f6f5f1; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* hero */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 112px); overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 980px; }
.hero .lead { margin-top: 32px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; font-size: 15px; color: var(--ink-3); list-style: none; padding: 0; }
.hero-notes li { display: flex; align-items: center; gap: 8px; }
.hero-notes li::before { content: "✓"; font-weight: 700; color: #6d63d6; }
.blob { position: absolute; right: -8vw; top: 4vw; width: min(46vw, 620px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0%, #c4efec 22%, #a79bff 58%, #ffb496 100%); filter: blur(4px); opacity: .9; z-index: 0; animation: float 14s ease-in-out infinite; pointer-events: none; }
.blob.small { width: min(30vw, 380px); right: -6vw; top: -4vw; opacity: .5; filter: blur(16px); }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-2vw, 2vw) scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } html { scroll-behavior: auto; } }

/* cards & grids */
.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid rgba(255, 255, 255, .75); border-radius: var(--radius); padding: 32px; box-shadow: 0 1px 0 rgba(15, 18, 22, .03), 0 18px 40px -24px rgba(15, 18, 22, .16); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 16.5px; margin: 0; }
.card .num { font-family: var(--font-display); font-style: italic; font-size: 52px; line-height: 1; margin-bottom: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; padding-right: .08em; }
.card .icon { width: 44px; height: 44px; border-radius: 14px; background: var(--grad); opacity: .9; margin-bottom: 22px; display: grid; place-items: center; color: #fff; }
.card .icon svg { width: 22px; height: 22px; }
.card .change { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink); }
.card .change b { font-weight: 600; }
.card.strong { background: var(--surface-strong); }

/* band */
.band { background: var(--ink); color: #f6f5f1; border-radius: calc(var(--radius) + 8px); padding: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.band .eyebrow { color: #aeb4bc; }
.band p { color: #bfc5cc; }
.band .blob { position: absolute; opacity: .45; filter: blur(18px); width: min(40vw, 460px); right: -10%; top: -30%; z-index: 0; }
.band > *:not(.blob) { position: relative; z-index: 1; }

/* compare */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface-strong); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 18px 40px -24px rgba(15, 18, 22, .16); font-size: 16.5px; }
.compare th, .compare td { padding: 20px 26px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { border-top: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.compare thead th:last-child { color: var(--ink); }
.compare td:first-child { font-family: var(--font-display); font-size: 23px; line-height: 1.15; width: 24%; }
.compare td:nth-child(2) { color: var(--ink-3); }
.compare td:last-child { font-weight: 500; }
.note { font-size: 15.5px; color: var(--ink-3); margin-top: 20px; max-width: 760px; }

/* steps */
.steps .card .num { font-size: 64px; }

/* lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.2L4.6 10l1.4-1.4 2.8 2.8 5.2-5.2 1.4 1.4-6.6 6.6Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.2L4.6 10l1.4-1.4 2.8 2.8 5.2-5.2 1.4 1.4-6.6 6.6Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.checks b { color: var(--ink); font-weight: 600; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split .prose p { color: var(--ink-2); }
.prose p { max-width: 680px; }
.prose h2 { margin-bottom: 24px; }

/* chain (flow) */
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.chain span.step { background: var(--surface-strong); border: 1px solid rgba(15, 18, 22, .08); border-radius: 999px; padding: 11px 20px; font-size: 15.5px; font-weight: 500; }
.chain span.step.key { background: var(--ink); color: #fff; border-color: var(--ink); }
.chain span.to { color: var(--ink-3); font-size: 18px; }
.chain + .chain { margin-top: 14px; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { background: var(--surface); border: 1px solid rgba(255, 255, 255, .8); border-radius: var(--radius-sm); padding: 0 28px; box-shadow: 0 12px 30px -24px rgba(15, 18, 22, .2); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; font-family: var(--font-display); font-size: 25px; line-height: 1.2; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-size: 26px; color: var(--ink-3); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding-bottom: 22px; color: var(--ink-2); font-size: 17px; }
.faq .answer p:last-child { margin: 0; }
.faq-group { margin-top: 56px; }
.faq-group:first-child { margin-top: 0; }
.faq-group h2 { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 24px; }

/* towns */
.towns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; list-style: none; padding: 0; }
.towns li a, .towns li span { display: inline-block; padding: 9px 18px; border-radius: 999px; background: var(--surface-strong); border: 1px solid rgba(15, 18, 22, .08); font-size: 15px; text-decoration: none; }
.towns li a:hover { border-color: rgba(15, 18, 22, .3); }

/* contact */
.contact h2 { max-width: 760px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.contact-meta { margin-top: 28px; font-size: 15.5px; color: #aeb4bc; }
.contact-meta a { color: #f6f5f1; }

/* legal / prose page */
.legal { max-width: 780px; }
.legal h2 { font-size: clamp(30px, 3.4vw, 40px); margin: 48px 0 16px; }
.legal p, .legal li { color: var(--ink-2); font-size: 17px; }
.legal ul { padding-left: 1.2em; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 24px; font-size: 15px; color: var(--ink-3); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: var(--ink); margin-bottom: 14px; }
.site-footer h4 { font: 600 13px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 6px 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* responsive */
@media (max-width: 1080px) {
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: none; color: #fff; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .blob { width: 78vw; right: -34vw; top: 2vw; opacity: .55; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tr { border-top: 1px solid var(--line); padding: 18px 22px; }
  .compare tr:first-child { border-top: none; }
  .compare td { border: none; padding: 4px 0; }
  .compare td:first-child { width: 100%; margin-bottom: 6px; }
  .compare td:nth-child(2)::before { content: "Logiciel du marché : "; font-weight: 600; color: var(--ink-3); }
  .compare td:last-child::before { content: "Logiciel Marzel : "; font-weight: 600; }
  .faq details { padding: 0 20px; }
  .faq summary { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .site-header .btn { width: auto; }
}

/* =========================================================
   MOTION · version haut de gamme
   ========================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* grain */
body::after { content: ""; position: fixed; inset: -50%; pointer-events: none; z-index: 90; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} }

/* barre de progression */
.scroll-bar { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; pointer-events: none; }

/* header qui se masque */
.site-header { transition: transform .5s var(--ease), border-color .3s, background-color .3s; }
.site-header.hidden { transform: translateY(-100%); }

/* dégradé animé sur l'italique */
h1 em, h2 em, .grad { background-size: 200% 100%; animation: sheen 8s ease-in-out infinite alternate; }
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* héros : révélation des lignes */
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .ln > span { display: inline-block; }
.js .hero h1 .ln > span { transform: translateY(105%) rotate(2deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease); }
.js .hero h1 .ln:nth-child(2) > span { transition-delay: .09s; }
.js .hero h1 .ln:nth-child(3) > span { transition-delay: .18s; }
.js.loaded .hero h1 .ln > span { transform: none; }
.js .hero .eyebrow, .js .hero .lead, .js .hero .actions, .js .hero .hero-notes { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js.loaded .hero .eyebrow { opacity: 1; transform: none; }
.js.loaded .hero .lead { opacity: 1; transform: none; transition-delay: .35s; }
.js.loaded .hero .actions { opacity: 1; transform: none; transition-delay: .5s; }
.js.loaded .hero .hero-notes { opacity: 1; transform: none; transition-delay: .65s; }

/* sphère WebGL */
.orb { position: absolute; right: -6vw; top: -2vw; width: min(56vw, 760px); aspect-ratio: 1; height: auto; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s var(--ease); }
.orb.on { opacity: 1; }
.hero-home.webgl .blob { display: none; }
.hero-home { min-height: min(100svh, 980px); display: flex; align-items: center; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1.5px solid rgba(15,18,22,.25); border-radius: 999px; transform: translateX(-50%); z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* apparitions plus riches */
.js .reveal, .js .section-head { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in, .js .section-head.in { opacity: 1; transform: none; filter: none; }
.js .card.reveal.in.live { transition: transform .35s var(--ease), box-shadow .35s; }
.js .section-head h2 { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease) .1s; }
.js .section-head.in h2 { clip-path: inset(0 0 -10% 0); }

/* cartes : halo qui suit la souris */
.card { position: relative; overflow: hidden; will-change: transform; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(154,140,255,.18), rgba(79,196,191,.10) 35%, transparent 65%); }
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: 0 1px 0 rgba(15,18,22,.03), 0 30px 60px -30px rgba(80,60,160,.35); }
.card .icon { transition: transform .6s var(--ease); }
.card:hover .icon { transform: rotate(-8deg) scale(1.08); }

/* bandeau défilant */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; background: rgba(255,255,255,.35); }
.mq-track { display: flex; width: max-content; animation: mq 42s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-row { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.mq-item { font-family: var(--font-display); font-size: clamp(34px, 4.2vw, 58px); line-height: 1; white-space: nowrap; letter-spacing: -.01em; }
.mq-item.alt { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.mq-star { font-size: 20px; color: #9a8cff; }
@keyframes mq { to { transform: translateX(-50%); } }

/* démo vocal -> devis */
.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.demo h2 { margin-bottom: 22px; }
.dm-steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; counter-reset: s; }
.dm-steps li { position: relative; padding: 16px 20px 16px 58px; border-radius: 16px; color: var(--ink-3); transition: background .5s var(--ease), color .5s; counter-increment: s; }
.dm-steps li::before { content: counter(s); position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; border: 1px solid var(--line); background: #fff; transition: background .5s, color .5s, border-color .5s; }
.dm-steps li b { color: var(--ink-2); font-weight: 600; }
.dm-steps li.on { background: var(--surface-strong); color: var(--ink-2); box-shadow: 0 16px 40px -28px rgba(15,18,22,.3); }
.dm-steps li.on::before { background: var(--ink); color: #fff; border-color: var(--ink); }
.mock { position: relative; background: #fff; border-radius: 22px; border: 1px solid rgba(15,18,22,.08); box-shadow: 0 50px 100px -40px rgba(60,40,140,.35), 0 20px 40px -30px rgba(15,18,22,.3); overflow: hidden; }
.mock::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(167,155,255,.25), transparent 60%); pointer-events: none; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #faf9f6; font-size: 13px; color: var(--ink-3); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e4e2dc; }
.mock-bar span { margin-left: 10px; font-weight: 500; }
.mock-body { position: relative; padding: 24px clamp(18px, 3vw, 28px) 22px; min-height: 430px; }
.dm-voice { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 999px; background: var(--bg); width: fit-content; max-width: 100%; }
.dm-play { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 10px; flex: none; }
.dm-wave { display: flex; align-items: center; gap: 3px; height: 30px; }
.dm-wave b { width: 3px; height: calc(var(--h) * 1%); border-radius: 3px; background: linear-gradient(#4fc4bf, #9a8cff); transform-origin: 50% 50%; transform: scaleY(.35); }
[data-stage="1"] .dm-wave b { animation: wave .9s ease-in-out infinite alternate; }
.dm-wave b:nth-child(3n) { animation-delay: -.3s; } .dm-wave b:nth-child(3n+1) { animation-delay: -.6s; } .dm-wave b:nth-child(4n) { animation-delay: -.15s; }
@keyframes wave { to { transform: scaleY(1); } }
.dm-time { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dm-text { margin: 16px 4px 18px; font-size: 15.5px; color: var(--ink-2); font-style: italic; min-height: 3em; }
.dm-text span { display: inline-block; clip-path: inset(0 100% 0 0); transition: clip-path 2s steps(40, end); }
[data-stage="1"] .dm-text span, [data-stage="2"] .dm-text span, [data-stage="3"] .dm-text span { clip-path: inset(0 0 0 0); }
.dm-table { border-top: 1px solid var(--line); }
.dm-line { display: grid; grid-template-columns: 1fr auto 86px; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; opacity: 0; transform: translateX(-14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 180ms); }
.dm-q { color: var(--ink-3); }
.dm-a { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
[data-stage="2"] .dm-line, [data-stage="3"] .dm-line { opacity: 1; transform: none; }
.dm-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 4px 4px; font-size: 14px; color: var(--ink-3); }
.dm-total strong { font-family: var(--font-display); font-weight: 400; font-size: 34px; color: var(--ink); font-variant-numeric: tabular-nums; }
.dm-ready { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: rgba(79,196,191,.12); color: #1d6f6b; font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.dm-check { width: 22px; height: 22px; border-radius: 50%; background: #3fb3ae; color: #fff; display: grid; place-items: center; font-size: 12px; }
.dm-send { margin-left: auto; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 550; font-size: 13px; }
[data-stage="3"] .dm-ready { opacity: 1; transform: none; }
[data-stage="3"] .dm-send { animation: pulse 1.6s var(--ease) infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(154,140,255,.5); } 60% { box-shadow: 0 0 0 10px rgba(154,140,255,0); } }
.mock-note { margin: 0; padding: 10px 18px 14px; font-size: 12px; color: var(--ink-3); text-align: right; }

/* méthode en défilement accompagné */
.ms { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); }
.ms-sticky { position: sticky; top: 120px; }
.ms-sticky h2 { margin-bottom: 22px; }
.ms-progress { margin-top: 40px; width: 2px; height: 160px; background: var(--line); border-radius: 2px; overflow: hidden; }
.ms-progress span { display: block; width: 100%; height: 100%; background: var(--grad); transform-origin: 50% 0; transform: scaleY(0); transition: transform .2s linear; }
.ms-right { display: grid; gap: 18vh; padding: 6vh 0 12vh; }
.ms-step { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; opacity: .28; transform: translateY(20px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.ms-step.active { opacity: 1; transform: none; }
.ms-num { font-family: var(--font-display); font-style: italic; font-size: clamp(72px, 9vw, 128px); line-height: .85; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.ms-step h3 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 12px; }
.ms-step p { color: var(--ink-2); font-size: 17.5px; max-width: 460px; }

/* bloc contact : bulle animée */
.band .blob { animation: float 12s ease-in-out infinite; }

/* curseur */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary { cursor: none; }
.cursor-dot, .cursor-ring { opacity: 0; transition: opacity .3s; }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 200; border-radius: 50%; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ink); }
.cursor-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid rgba(15,18,22,.35); transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; }
.cursor-ring.big { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(154,140,255,.12); border-color: rgba(154,140,255,.5); }

/* boutons : transition douce pour l'effet magnétique */
.btn { transition: transform .45s var(--ease), box-shadow .3s, background .3s; }

/* grand logo du pied de page */
.wordmark { font-family: var(--font-display); font-size: clamp(96px, 23vw, 340px); line-height: .8; letter-spacing: -.04em; margin: 56px 0 0; text-align: center; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 10s ease-in-out infinite alternate; user-select: none; }
.js .wordmark { opacity: 0; transform: translateY(30%); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.js .wordmark.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .demo-grid, .ms { grid-template-columns: 1fr; }
  .ms-sticky { position: static; }
  .ms-progress { display: none; }
  .ms-right { gap: 48px; padding: 0; }
  .ms-step { opacity: 1; transform: none; grid-template-columns: 84px 1fr; }
  .orb { width: 82vw; right: -38vw; top: 64px; }
  .orb.on { opacity: .45; }
  .hero-home { min-height: auto; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  .dm-line { grid-template-columns: 1fr 70px; }
  .dm-q { display: none; }
  .mock-body { min-height: 0; }
  .marquee { padding: 18px 0; }
}
@media (prefers-reduced-motion: reduce) {
  body::after, .mq-track, h1 em, h2 em, .grad, .wordmark, .band .blob { animation: none !important; }
  .js .hero h1 .ln > span, .js .hero .eyebrow, .js .hero .lead, .js .hero .actions, .js .hero .hero-notes { transform: none; opacity: 1; transition: none; }
  .js .section-head h2 { clip-path: none; }
  .ms-step { opacity: 1; transform: none; }
  .orb { display: none; }
}
