/* Kechlab, site Pro. Mobile d'abord (375 px), puis bureau (1440 px).
   Palette : quasi noir, ivoire chaud, bleu Majorelle, safran, terre cuite. */

:root {
  --ink: #0A0A0B;
  --ink-2: #111114;
  --ink-3: #18181d;
  --ivory: #F4EFE6;
  --ivory-2: #EBE4D8;
  --paper: #FBF8F2;
  --text: #F4EFE6;
  --text-2: rgba(244, 239, 230, .76);
  --text-3: rgba(244, 239, 230, .6);
  --majorelle: #2B4BF2;
  --majorelle-2: #8EA0FF;
  --saffron: #F2B13A;
  --saffron-2: #F6C76A;
  --terra: #D9653B;
  --terra-2: #EE8A63;
  --line: rgba(255, 255, 255, .12);
  --line-dark: rgba(10, 10, 11, .12);
  --sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --gutter: clamp(16px, 5vw, 64px);
  --maxw: 1320px;
  --radius: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--saffron); color: var(--ink); }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
.section--ivory :focus-visible, .paper :focus-visible { outline-color: var(--majorelle); }

.i { width: 1.15em; height: 1.15em; flex: none; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--ivory); color: var(--ink); font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ----- typographie ----- */
em { font-style: normal; }
.h2 em, .hero__title em, .phero__title em, .mega em, .night .h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.015em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.section--ivory .eyebrow, .paper .eyebrow { color: rgba(10, 10, 11, .62); }
.h2 {
  font: 800 clamp(2.6rem, 11.5vw, 6.6rem)/1 var(--sans); letter-spacing: -.04em; text-transform: uppercase;
  text-wrap: balance; margin: 0 0 22px;
}
.h2 em { font-size: 1.06em; }
.section--ivory .h2 em { color: var(--majorelle); }
.lede { max-width: 38ch; font-size: clamp(1.08rem, 2.6vw, 1.32rem); line-height: 1.5; color: var(--text-2); margin: 0; }
.section--ivory .lede { color: rgba(10, 10, 11, .72); }
.fine { margin: 32px 0 0; font-size: .92rem; color: var(--text-3); }
.fine a { color: var(--text); }
.fine--dark { color: rgba(10, 10, 11, .62); }
.fine--dark a { color: var(--majorelle); font-weight: 600; }

.hero__title, .phero__title, .h2, .mega { overflow-wrap: break-word; }

/* ----- boutons, puces ----- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h);
  padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--sans); letter-spacing: -.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s;
}
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--light { background: var(--ivory); color: var(--ink); box-shadow: 0 10px 40px -12px rgba(244, 239, 230, .45); }
.btn--light:hover { background: #fff; box-shadow: 0 16px 50px -12px rgba(244, 239, 230, .6); }
.btn--glass {
  background: rgba(255, 255, 255, .06); color: var(--text); border-color: rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); }
.section--ivory .btn--glass { color: var(--ink); background: rgba(10, 10, 11, .04); border-color: rgba(10, 10, 11, .16); }
.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--dark:hover { background: var(--majorelle); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ctas .btn { flex: 1 1 auto; }

.chip {
  display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font: 500 .84rem/1.2 var(--sans); color: var(--text-2);
}
.chip__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 4px rgba(242, 177, 58, .18); }
.link-btn { background: none; border: 0; padding: 10px 4px; min-height: 44px; color: var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ----- navigation : pilule de verre ----- */
.nav {
  position: fixed; z-index: 50; top: max(10px, env(safe-area-inset-top)); left: 10px; right: 10px;
  display: flex; align-items: center; gap: 8px; max-width: 1080px; margin: 0 auto; padding: 6px 6px 6px 16px;
  border-radius: 999px; background: rgba(14, 14, 17, .46); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(10, 10, 12, .88); box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .7); }
.logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--text); }
.logo__mark { width: 22px; height: 22px; color: var(--ivory); }
.logo__word { font: 800 1.18rem/1 var(--sans); letter-spacing: -.045em; }
.nav__links { display: none; }
.nav__cta { margin-left: auto; }
.nav__menu { position: static; }
.nav__menu summary {
  list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line); cursor: pointer;
}
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__close { display: none; }
.nav__menu[open] .nav__open { display: none; }
.nav__menu[open] .nav__close { display: block; }
.nav__sheet {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 14px; border-radius: 28px;
  background: rgba(14, 14, 17, .97); border: 1px solid var(--line);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
}
.nav__sheet nav { display: grid; margin-bottom: 12px; }
.nav__sheet nav a {
  display: flex; align-items: center; min-height: 56px; padding: 0 12px; border-bottom: 1px solid var(--line);
  font: 700 1.5rem/1 var(--sans); letter-spacing: -.03em; text-decoration: none;
}
.nav__sheet nav a[aria-current="page"] { color: var(--saffron); }
.nav__sheet .btn { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .nav__menu[open] .nav__sheet { animation: sheet .35s var(--ease); }
}
@keyframes sheet { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

/* ----- héros ----- */
.hero {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: 100vh; min-height: 100svh; padding: 112px 0 40px; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__fallback {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(120% 70% at 85% 0%, rgba(43, 75, 242, .42), transparent 62%),
    radial-gradient(90% 60% at 0% 100%, rgba(217, 101, 59, .30), transparent 64%),
    linear-gradient(180deg, #0d0d14 0%, #0A0A0B 100%);
}
.orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb--a { width: 90vmax; height: 90vmax; top: -48vmax; right: -40vmax; background: radial-gradient(circle, rgba(43, 75, 242, .9) 0%, rgba(43, 75, 242, 0) 62%); }
.orb--b { width: 70vmax; height: 70vmax; bottom: -42vmax; left: -34vmax; background: radial-gradient(circle, rgba(242, 177, 58, .55) 0%, rgba(242, 177, 58, 0) 62%); }
.orb--c { width: 55vmax; height: 55vmax; top: 22%; left: 30%; background: radial-gradient(circle, rgba(217, 101, 59, .38) 0%, rgba(217, 101, 59, 0) 64%); }
.hero__arches { position: absolute; left: 50%; bottom: 0; width: min(1500px, 190vw); height: 96%; transform: translateX(-28%); color: rgba(244, 239, 230, .16); }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.4s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, .62) 0%, rgba(10, 10, 11, .08) 30%, rgba(10, 10, 11, .35) 58%, rgba(10, 10, 11, .92) 88%, #0A0A0B 100%),
    radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(10, 10, 11, .55) 100%);
}
.hero__inner { position: relative; }
.hero__title {
  margin: 20px 0 22px; font: 900 clamp(3.1rem, 14.6vw, 10.6rem)/.98 var(--sans); letter-spacing: -.04em;
  font-size: max(2.9rem, min(clamp(3.1rem, 14.6vw, 10.6rem), calc((100svh - 430px) / 3.05)));
  text-transform: uppercase; color: var(--ivory);
}
.hero__title .hl { display: block; }
.hero__title em { font-size: 1.1em; line-height: .7; color: var(--saffron-2); padding-right: .06em; }
.hero__lede { max-width: 33ch; margin: 0 0 26px; font-size: clamp(1.08rem, 2.8vw, 1.35rem); line-height: 1.48; color: var(--text-2); }
.hero__lede strong { color: var(--text); font-weight: 600; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; list-style: none; font-size: .9rem; color: var(--text-2); }
.hero__proof li { display: inline-flex; align-items: center; gap: 6px; }
.hero__proof .i { color: var(--saffron); width: 1em; height: 1em; }
.hero__scroll {
  display: none; position: absolute; right: var(--gutter); bottom: 40px; width: 52px; height: 52px; border-radius: 50%;
  place-items: center; border: 1px solid var(--line); color: var(--text-2); text-decoration: none;
}
.notice {
  display: inline-flex; margin: 0 0 14px; padding: 10px 16px; border-radius: 16px; font-size: .9rem;
  background: rgba(217, 101, 59, .16); border: 1px solid rgba(217, 101, 59, .4); color: var(--ivory);
}

@media (prefers-reduced-motion: no-preference) {
  .orb--a { animation: drift-a 24s ease-in-out infinite alternate; }
  .orb--b { animation: drift-b 30s ease-in-out infinite alternate; }
  .orb--c { animation: drift-c 28s ease-in-out infinite alternate; }
  .hero__arches { animation: breathe 14s ease-in-out infinite alternate; }
  .hero__chip, .hero__title .hl, .hero__lede, .hero .ctas, .hero__proof, .phero__inner > * { animation: rise 1.1s var(--ease) both; }
  .hero__title .hl:nth-child(1) { animation-delay: .08s; }
  .hero__title .hl:nth-child(2) { animation-delay: .16s; }
  .hero__title .hl:nth-child(3) { animation-delay: .24s; }
  .hero__lede { animation-delay: .38s; }
  .hero .ctas { animation-delay: .48s; }
  .hero__proof { animation-delay: .58s; }
  .phero__inner > :nth-child(2) { animation-delay: .1s; }
  .phero__inner > :nth-child(3) { animation-delay: .2s; }
  .phero__inner > :nth-child(4) { animation-delay: .3s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(36px); } }
@keyframes drift-a { to { transform: translate(-14vmax, 12vmax) scale(1.12); } }
@keyframes drift-b { to { transform: translate(16vmax, -10vmax) scale(1.1); } }
@keyframes drift-c { to { transform: translate(-12vmax, -8vmax) scale(.9); } }
@keyframes breathe { from { opacity: .7; } to { opacity: 1; transform: translateX(-28%) translateY(-1.5%); } }

/* ----- bandeau défilant ----- */
.marquee { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: var(--ink); }
.marquee__track { display: flex; width: max-content; }
.marquee__list {
  display: flex; align-items: center; gap: 26px; padding-right: 26px; list-style: none; white-space: nowrap;
  font: 800 clamp(1.7rem, 6vw, 3.4rem)/1 var(--sans); letter-spacing: -.045em; text-transform: uppercase;
}
.marquee__list .alt { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; color: var(--text-2); font-size: 1.1em; }
.marquee__sep .i { width: .5em; height: .5em; color: var(--saffron); }
.marquee__sep:nth-child(4n) .i { color: var(--majorelle-2); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----- sections ----- */
.section { position: relative; padding: clamp(84px, 13vw, 168px) 0; }
.section--tight { padding-top: 24px; }
.section--ivory { background: var(--ivory); color: var(--ink); }
.section--night { background: radial-gradient(90% 60% at 100% 0%, rgba(43, 75, 242, .2), transparent 60%), var(--ink-2); overflow: hidden; }
.section--glow { background: radial-gradient(80% 70% at 10% 100%, rgba(43, 75, 242, .28), transparent 62%), radial-gradient(60% 50% at 100% 0%, rgba(242, 177, 58, .12), transparent 60%), var(--ink); overflow: hidden; }
.head { margin-bottom: clamp(40px, 7vw, 80px); }
.head--row { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

/* étapes */
.steps { list-style: none; display: grid; gap: 14px; counter-reset: s; }
.step {
  position: relative; padding: 28px 24px 30px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line-dark); transition: translate .45s var(--ease), box-shadow .45s var(--ease), background .3s;
}
.step:hover { translate: 0 -6px; box-shadow: 0 30px 60px -30px rgba(10, 10, 11, .35); }
.step__n {
  display: block; margin: 0 0 18px; font: 900 clamp(5.4rem, 26vw, 9.5rem)/.78 var(--sans); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.6px var(--majorelle); transition: color .4s;
}
.step:hover .step__n { color: rgba(43, 75, 242, .12); }
.step:last-child { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.step:last-child .step__n { color: var(--saffron); -webkit-text-stroke: 0; }
.step:last-child p { color: var(--text-2); }
.step__t { font: 800 1.55rem/1.02 var(--sans); letter-spacing: -.035em; text-transform: uppercase; margin-bottom: 12px; }
.step p { margin: 0; color: rgba(10, 10, 11, .72); }

/* assistant IA, la nuit */
.night__glow { position: absolute; width: 60vmax; height: 60vmax; left: -20vmax; bottom: -30vmax; border-radius: 50%; background: radial-gradient(circle, rgba(242, 177, 58, .14), transparent 65%); pointer-events: none; }
.night { position: relative; display: grid; gap: 56px; align-items: center; }
.night .head { margin-bottom: 36px; }
.feats { list-style: none; display: grid; gap: 22px; }
.feats li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.feats__i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: rgba(43, 75, 242, .16); border: 1px solid rgba(142, 160, 255, .3); color: var(--majorelle-2); }
.feats h3 { font: 700 1.2rem/1.2 var(--sans); letter-spacing: -.02em; margin: 4px 0 6px; }
.feats p { margin: 0; color: var(--text-2); }

.phone { margin: 0; justify-self: center; width: min(360px, 100%); }
.phone__frame {
  position: relative; display: flex; flex-direction: column; height: 600px; padding: 14px 12px 16px; border-radius: 48px;
  background: linear-gradient(180deg, #16161c, #0f0f13); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 7px #050506, 0 0 0 8px rgba(255, 255, 255, .1), 0 60px 120px -30px rgba(43, 75, 242, .5), 0 40px 80px -40px rgba(0, 0, 0, .9);
  overflow: hidden;
}
.phone__status { display: flex; justify-content: space-between; align-items: center; padding: 4px 18px 10px; font: 600 .82rem/1 var(--sans); }
.phone__bars { display: flex; gap: 2px; align-items: flex-end; }
.phone__bars i { width: 3px; background: var(--text); border-radius: 1px; }
.phone__bars i:nth-child(1) { height: 4px; } .phone__bars i:nth-child(2) { height: 6px; } .phone__bars i:nth-child(3) { height: 8px; } .phone__bars i:nth-child(4) { height: 10px; opacity: .4; }
.phone__head { display: flex; align-items: center; gap: 12px; padding: 10px 10px 14px; border-bottom: 1px solid var(--line); }
.phone__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--majorelle); }
.phone__avatar .logo__mark { width: 20px; height: 20px; color: #fff; }
.phone__head strong { display: block; font-size: .98rem; }
.phone__head small { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--text-3); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; }
.chat {
  list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 16px 6px 92px; flex: 1; overflow: hidden; justify-content: flex-end;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 56px); mask-image: linear-gradient(180deg, transparent 0, #000 56px);
}
.msg { display: grid; gap: 4px; max-width: 84%; padding: 10px 14px 8px; border-radius: 20px; font-size: .93rem; line-height: 1.4; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.msg time { font-size: .68rem; opacity: .65; justify-self: end; }
.msg--in { align-self: flex-end; background: var(--majorelle); color: #fff; border-bottom-right-radius: 6px; }
.msg--bot { align-self: flex-start; background: #23232b; color: var(--ivory); border-bottom-left-radius: 6px; }
.typing { display: none; align-self: flex-start; gap: 4px; padding: 14px 16px; border-radius: 20px; background: #23232b; }
.typing.is-on { display: inline-flex; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.toast {
  position: absolute; left: 14px; right: 14px; bottom: 16px; display: flex; gap: 12px; align-items: center; padding: 12px 14px;
  border-radius: 20px; background: rgba(244, 239, 230, .96); color: var(--ink); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.toast__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--saffron); flex: none; }
.toast strong { display: block; font-size: .92rem; }
.toast small { display: block; font-size: .8rem; color: rgba(10, 10, 11, .7); }
.is-pending { opacity: 0; transform: translateY(12px); }
.msg.is-pending { display: none; }
.phone figcaption { margin-top: 18px; text-align: center; font-size: .86rem; color: var(--text-3); }

/* réalisations */
.works { display: grid; gap: 22px; }
.work {
  display: grid; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line);
  transition: translate .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.work:hover { translate: 0 -6px; border-color: rgba(255, 255, 255, .22); box-shadow: 0 40px 80px -40px rgba(43, 75, 242, .45); }
.work__media { position: relative; aspect-ratio: 40 / 23; overflow: hidden; background: #15151a; }
.work__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.work:hover .work__media img { transform: scale(1.04); }
.work__media--type {
  display: grid; place-items: center;
  background: radial-gradient(80% 90% at 20% 10%, rgba(43, 75, 242, .7), transparent 60%), radial-gradient(70% 80% at 100% 100%, rgba(242, 177, 58, .45), transparent 60%), #101016;
}
.work__type { display: grid; justify-items: center; text-align: center; padding: 20px; }
.work__type span { font: 900 clamp(2.4rem, 11vw, 5.4rem)/.86 var(--sans); letter-spacing: -.06em; text-transform: uppercase; }
.work__type em { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 5vw, 2.2rem); color: var(--saffron-2); }
.work__body { padding: 24px 22px 26px; }
.work__meta { margin: 0 0 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.work__name { font: 800 clamp(1.7rem, 6vw, 2.4rem)/1 var(--sans); letter-spacing: -.04em; text-transform: uppercase; margin-bottom: 14px; }
.work__body > p { color: var(--text-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; }
.tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; color: var(--text-2); }
.work__links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.work__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 14px; font-weight: 600; text-decoration: none; color: var(--saffron-2); }
.work__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* tarifs */
.prices { display: grid; gap: 16px; }
.price {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line-dark); transition: translate .45s var(--ease), box-shadow .45s var(--ease);
}
.price:hover { translate: 0 -6px; box-shadow: 0 30px 60px -30px rgba(10, 10, 11, .3); }
.price__label { margin: 0 0 14px; font: 700 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(10, 10, 11, .6); }
.price__big { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; }
.price__big span { font: 900 clamp(4rem, 17vw, 5.6rem)/.85 var(--sans); letter-spacing: -.045em; }
.price__big small { font: 600 1rem/1.2 var(--sans); color: rgba(10, 10, 11, .62); }
.price__badge { align-self: flex-start; margin: 0 0 16px; padding: 7px 12px; border-radius: 999px; background: rgba(43, 75, 242, .1); color: var(--majorelle); font: 600 .85rem/1.2 var(--sans); }
.price > p:not([class]) { color: rgba(10, 10, 11, .74); }
.ticks { list-style: none; display: grid; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-dark); font-size: .95rem; }
.ticks li { display: flex; gap: 8px; align-items: center; }
.ticks .i { color: var(--majorelle); }
.price--accent {
  background: radial-gradient(120% 80% at 100% 0%, rgba(43, 75, 242, .55), transparent 60%), var(--ink);
  color: var(--ivory); border-color: var(--ink);
}
.price--accent .price__label, .price--accent .price__big small { color: var(--text-3); }
.price--accent > p:not([class]) { color: var(--text-2); }
.price--accent .ticks { border-color: var(--line); }
.price--accent .ticks .i { color: var(--saffron); }
.price__badge--hot { background: var(--saffron); color: var(--ink); }

/* chiffres Maroc Digital 2030 */
.stats { display: grid; gap: 14px; }
.stat { container-type: inline-size; padding: 26px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.stat__v {
  margin: 0 0 10px; font: 900 clamp(2.2rem, 21cqi, 5.4rem)/.9 var(--sans); letter-spacing: -.04em;
  background: linear-gradient(100deg, var(--ivory) 30%, var(--saffron-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__l { margin: 0 0 14px; font-size: 1.05rem; color: var(--text-2); }
.stat__v { white-space: nowrap; }
.src { display: inline-block; padding-block: 12px; margin-block: -12px; font-size: .8rem; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.src:hover { color: var(--text); }
.paper .src { color: rgba(10, 10, 11, .6); }
.paper .src:hover { color: var(--majorelle); }
.paper .stat { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.paper .stat .src { color: var(--text-3); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 76px; padding: 18px 0;
  font: 700 clamp(1.1rem, 3.6vw, 1.45rem)/1.25 var(--sans); letter-spacing: -.02em; cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, transform .4s var(--ease); }
.faq__plus::before, .faq__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; margin: -.8px 0 0 -7px; background: currentColor; transition: transform .4s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus { background: var(--ivory); color: var(--ink); }
.faq__item[open] .faq__plus::after { transform: rotate(0); }
.faq__item p { max-width: 62ch; margin: 0; padding: 0 0 26px; color: var(--text-2); font-size: 1.05rem; }
.faq__item:not([open]) summary:hover .faq__plus { background: rgba(255, 255, 255, .08); }
.faq__item[open] summary:hover .faq__plus { background: #fff; }

/* appel final */
.final { position: relative; overflow: hidden; padding: clamp(110px, 18vw, 220px) 0; text-align: center; }
.final__glow { position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 60%, rgba(43, 75, 242, .5), transparent 70%), radial-gradient(40% 30% at 50% 100%, rgba(242, 177, 58, .25), transparent 70%); }
.final__inner { position: relative; display: grid; justify-items: center; }
.mega { margin: 22px 0 20px; font: 900 clamp(3.2rem, 14vw, 10rem)/.86 var(--sans); letter-spacing: -.04em; text-transform: uppercase; text-wrap: balance; }
.mega em { color: var(--saffron-2); font-size: 1.08em; }
.final__lede { max-width: 36ch; margin: 0 0 32px; font-size: 1.15rem; color: var(--text-2); }
.final .ctas { justify-content: center; }

/* pied de page */
.foot { position: relative; overflow: hidden; padding: 72px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #070708; }
.foot__grid { display: grid; gap: 36px; }
.foot__brand p { max-width: 34ch; margin: 16px 0 0; color: var(--text-2); }
.foot__col { display: grid; align-content: start; gap: 4px; }
.foot__col h2 { margin: 0 0 8px; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.foot__col a, .foot__col p { display: inline-flex; align-items: center; min-height: 44px; margin: 0; color: var(--text); text-decoration: none; }
.foot__col a:hover { color: var(--saffron-2); }
.foot__giant {
  margin: 48px 0 0; text-align: center; font: 900 clamp(5rem, 26vw, 23rem)/.78 var(--sans); letter-spacing: -.05em;
  background: linear-gradient(180deg, rgba(244, 239, 230, .16), rgba(244, 239, 230, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.foot__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--text-3); }
.foot__legal a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--text-2); text-decoration: none; }
.foot__legal span { display: inline-flex; align-items: center; min-height: 44px; }
.foot__legal a:hover { color: var(--text); }

/* ----- en-tête des pages intérieures ----- */
.phero { position: relative; overflow: hidden; padding: 148px 0 clamp(64px, 10vw, 120px); }
.phero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 70% at 90% 0%, rgba(43, 75, 242, .45), transparent 60%), radial-gradient(50% 50% at 0% 100%, rgba(217, 101, 59, .2), transparent 62%);
}
.phero__inner { position: relative; }
.phero__title { margin: 22px 0 22px; font: 900 clamp(2.4rem, 12.5vw, 8.6rem)/1.02 var(--sans); letter-spacing: -.04em; text-transform: uppercase; text-wrap: balance; max-width: 14ch; }
.phero__title em { color: var(--saffron-2); font-size: 1.06em; }
.phero__lede { max-width: 46ch; margin: 0 0 28px; font-size: clamp(1.08rem, 2.6vw, 1.3rem); color: var(--text-2); }
.phero__meta { margin: 0; font-size: .9rem; color: var(--text-3); }
.phero--article .phero__title { max-width: 18ch; font-size: clamp(2.05rem, 10.5vw, 6.8rem); }
.phero__title .hl { display: block; }
.phero--offre .phero__title { max-width: 18ch; }

/* offre : inclus, chronologie, garanties, comparaison */
.included { list-style: none; display: grid; gap: 12px; }
.included li { padding: 26px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-dark); transition: translate .45s var(--ease), box-shadow .45s var(--ease); }
.included li:first-child { background: radial-gradient(120% 90% at 100% 0%, rgba(43, 75, 242, .5), transparent 60%), var(--ink); color: var(--ivory); border-color: var(--ink); }
.included li:first-child p { color: var(--text-2); }
.included li:first-child .included__n { color: var(--saffron); }
.included li:hover { translate: 0 -5px; box-shadow: 0 30px 60px -30px rgba(10, 10, 11, .3); }
.included__n { display: block; margin-bottom: 26px; font: 800 .9rem/1 var(--sans); color: var(--majorelle); letter-spacing: .06em; }
.included h3 { font: 800 1.35rem/1.1 var(--sans); letter-spacing: -.03em; margin-bottom: 8px; }
.included p { margin: 0; color: rgba(10, 10, 11, .72); }

.timeline { list-style: none; display: grid; gap: 0; position: relative; }
.timeline__step { position: relative; padding: 0 0 36px 34px; border-left: 1px solid var(--line); }
.timeline__step::before { content: ''; position: absolute; left: -7px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--ink); border: 2px solid var(--ivory); }
.timeline__step.is-hot::before { background: var(--saffron); border-color: var(--saffron); box-shadow: 0 0 0 6px rgba(242, 177, 58, .2); }
.timeline__when { margin: 0 0 8px; font: 600 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.timeline__step h3 { font: 800 1.6rem/1 var(--sans); letter-spacing: -.035em; text-transform: uppercase; margin-bottom: 8px; }
.timeline__price { display: inline-block; margin: 0 0 10px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-weight: 700; }
.timeline__step.is-hot .timeline__price { background: var(--saffron); color: var(--ink); }
.timeline__step p:last-child { margin: 0; color: var(--text-2); max-width: 36ch; }

.guarantees { list-style: none; display: grid; gap: 12px; }
.guarantees li { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: var(--paper); transition: translate .45s var(--ease), box-shadow .45s var(--ease); }
.guarantees li:hover { translate: 0 -5px; box-shadow: 0 30px 60px -30px rgba(10, 10, 11, .3); }
.guarantees__i { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 14px; background: rgba(43, 75, 242, .1); color: var(--majorelle); }
.guarantees h3 { font: 800 1.3rem/1.1 var(--sans); letter-spacing: -.03em; margin-bottom: 8px; }
.guarantees p { margin: 0; color: rgba(10, 10, 11, .72); }

.compare table { width: 100%; border-collapse: collapse; }
.compare thead { display: none; }
.compare tbody, .compare tr, .compare th, .compare td { display: block; }
.compare tr { margin-bottom: 14px; padding: 20px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.compare th[scope="row"] { margin-bottom: 12px; font: 800 1.15rem/1.2 var(--sans); letter-spacing: -.02em; text-align: left; }
.compare td { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: .97rem; }
.compare td::before { content: attr(data-label); font: 600 .74rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.compare td.is-us { color: var(--ivory); font-weight: 600; }
.compare td.is-us::before { color: var(--saffron); }

/* univers par métier */
.univers { list-style: none; display: grid; gap: 12px; }
.univers a {
  position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 3; padding: 18px; border-radius: 24px; overflow: hidden; isolation: isolate;
  text-decoration: none; color: var(--ivory); background: var(--ink-3); border: 1px solid var(--line);
  transition: translate .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.univers img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.univers a::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 11, 0) 28%, rgba(10, 10, 11, .6) 62%, rgba(10, 10, 11, .94) 100%); }
.univers a:hover { translate: 0 -5px; border-color: rgba(255, 255, 255, .26); box-shadow: 0 30px 60px -30px rgba(43, 75, 242, .5); }
.univers a:hover img { transform: scale(1.06); }
.univers strong { display: block; font: 800 1.35rem/1 var(--sans); letter-spacing: -.035em; text-transform: uppercase; }
.univers small { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .86rem; color: var(--text-2); }

/* démos d'exemple */
.demos { list-style: none; display: grid; gap: 14px; }
.demo-card a { display: grid; border-radius: 24px; overflow: hidden; background: var(--paper); border: 1px solid var(--line-dark); text-decoration: none; color: var(--ink); transition: translate .45s var(--ease), box-shadow .45s var(--ease); }
.demo-card a:hover { translate: 0 -5px; box-shadow: 0 30px 60px -30px rgba(10, 10, 11, .3); }
.demo-card__media { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(80% 80% at 0% 0%, rgba(43, 75, 242, .6), transparent 60%), radial-gradient(80% 80% at 100% 100%, rgba(217, 101, 59, .5), transparent 60%), var(--ink); }
.demo-card__media img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px; background: var(--saffron); color: var(--ink); font: 700 .78rem/1.2 var(--sans); }
.demo-card__body { display: grid; gap: 4px; padding: 18px 20px 20px; }
.demo-card__body strong { font: 800 1.25rem/1.1 var(--sans); letter-spacing: -.03em; }
.demo-card__body small { color: rgba(10, 10, 11, .65); }
.demo-card__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 600; color: var(--majorelle); }

/* ----- pages de lecture (article, mentions) ----- */
.paper { background: var(--ivory); color: var(--ink); padding: clamp(56px, 9vw, 120px) 0; }
.paper__grid, .paper__single { display: grid; gap: 40px; }
.paper__grid > *, .paper__single > *, .contact > *, .night > * { min-width: 0; }
.toc { display: none; }
.prose { max-width: 70ch; font-size: 1.1rem; line-height: 1.7; }
.prose h2 { margin: 2.2em 0 .7em; font: 800 clamp(1.7rem, 6vw, 2.5rem)/1 var(--sans); letter-spacing: -.04em; text-transform: uppercase; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font: 700 1.2rem/1.25 var(--sans); letter-spacing: -.02em; margin: 0 0 6px; }
.prose p { margin: 0 0 1.1em; color: rgba(10, 10, 11, .82); }
.prose a { color: var(--majorelle); text-underline-offset: 3px; }
.prose code { padding: 2px 6px; border-radius: 6px; background: rgba(10, 10, 11, .07); font-size: .92em; }
.prose .stats { margin: 28px 0; }
.prose .stat { padding: 22px 20px; min-width: 0; }
.prose .stat p.stat__v { font-size: clamp(1.9rem, 21cqi, 3.4rem); color: transparent; margin-bottom: 10px; }
.prose .stat p.stat__l { color: var(--text-2); font-size: 1rem; line-height: 1.45; margin-bottom: 12px; }
.prose .btn { text-decoration: none; }
.prose .btn--dark { color: var(--ivory); }
.facts { list-style: none; display: grid; gap: 12px; margin: 0 0 1.4em; }
.facts li { position: relative; padding: 18px 20px 18px 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line-dark); color: rgba(10, 10, 11, .86); }
.facts li::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--majorelle); }
.facts .src { display: inline-block; margin-left: 4px; }
.callout { margin: 1.6em 0; padding: 18px 20px; border-radius: 18px; background: var(--ink); color: var(--ivory) !important; font-size: 1rem; }
.callout .src { color: var(--text-3); }
.callout--soft { background: rgba(217, 101, 59, .1); color: var(--ink) !important; border: 1px solid rgba(217, 101, 59, .3); }
.callout--soft .src { color: rgba(10, 10, 11, .6); }
.advice { list-style: none; counter-reset: a; display: grid; gap: 12px; margin: 0 0 1.6em; }
.advice li { counter-increment: a; position: relative; padding: 20px 20px 20px 64px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line-dark); }
.advice li::before { content: counter(a, decimal-leading-zero); position: absolute; left: 20px; top: 20px; font: 800 1rem/1.25 var(--sans); color: var(--majorelle); }
.advice p { margin: 0; }
.inline-cta { display: grid; gap: 16px; margin: 2em 0; padding: 26px 24px; border-radius: 24px; background: linear-gradient(120deg, rgba(43, 75, 242, .12), rgba(242, 177, 58, .14)); border: 1px solid var(--line-dark); }
.inline-cta p { margin: 0; }
.inline-cta .btn { justify-self: start; }
.sources { display: grid; gap: 10px; padding-left: 1.4em; }
.sources li { padding-left: 4px; }
.sources span { display: block; font-size: .85rem; color: rgba(10, 10, 11, .66); }

/* ----- contact ----- */
.phero--contact { padding-bottom: clamp(72px, 10vw, 120px); }
.contact { position: relative; display: grid; gap: 40px; }
.contact .phero__title { max-width: 10ch; }
.contact__intro .phero__lede { margin-bottom: 0; }
.contact__more { order: 3; }
.next { list-style: none; display: grid; gap: 12px; margin: 0 0 24px; }
.next li { display: flex; align-items: center; gap: 14px; color: var(--text-2); }
.next span { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); font: 700 .9rem/1 var(--sans); color: var(--saffron); }
.contact__alt { color: var(--text-3); }
.contact__alt a { color: var(--text); }
.form-card { padding: 24px 18px; border-radius: 30px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 50px 100px -50px rgba(43, 75, 242, .5); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font: 600 .92rem/1.2 var(--sans); }
.opt { font-weight: 400; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 0 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(10, 10, 11, .55); color: var(--ivory); font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23F4EFE6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.field select option { background: var(--ink-2); color: var(--ivory); }
.field input::placeholder { color: rgba(244, 239, 230, .4); }
.field input:focus, .field select:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(242, 177, 58, .2); }
.field.has-error input, .field.has-error select { border-color: var(--terra-2); }
.field__err { margin: 0; font-size: .88rem; color: var(--terra-2); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { margin: 0; font-size: .84rem; color: var(--text-3); }
.form__legal a { color: var(--text-2); }
.form.is-busy [data-submit] { opacity: .7; pointer-events: none; }
.form__status { padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.form__status.is-ok { background: linear-gradient(140deg, rgba(43, 75, 242, .35), rgba(242, 177, 58, .2)); border-color: rgba(255, 255, 255, .2); }
.form__status.is-error { border-color: rgba(238, 138, 99, .5); background: rgba(217, 101, 59, .12); }
.form__status h3 { font: 800 1.4rem/1.1 var(--sans); letter-spacing: -.03em; margin: 0 0 8px; text-transform: uppercase; }
.form__status p { margin: 0 0 14px; color: var(--text-2); }
.form__status p:last-child { margin-bottom: 0; }
.form__status .btn { width: 100%; }
.progress { position: relative; height: 4px; margin-top: 14px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.progress::after { content: ''; position: absolute; inset: 0; width: 40%; border-radius: 4px; background: linear-gradient(90deg, var(--majorelle), var(--saffron)); animation: load 1.6s ease-in-out infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ----- chatbot de vente : point d'ancrage (le module S fournit sales-chat.css) ----- */
.sales-chat-root:empty { display: none; }
.chat-fab {
  position: fixed; z-index: 60; right: 14px; bottom: max(14px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 0; min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px;
  background: rgba(244, 239, 230, .96); color: var(--ink); text-decoration: none; font: 700 .95rem/1 var(--sans);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .5) inset;
  transition: transform .4s var(--ease), opacity .3s;
}
.chat-fab:hover { transform: translateY(-3px); }
.chat-fab__dot { position: relative; flex: none; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--majorelle); }
.chat-fab__icon { flex: none; width: 0; height: 22px; opacity: 0; color: var(--majorelle); }
.chat-fab__dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--majorelle); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .chat-fab__dot::after { animation: ping 2.4s var(--ease) infinite; }
}
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.chat-fab__label { display: inline-block; max-width: 12em; overflow: hidden; white-space: nowrap; }
@media (max-width: 639px) {
  .chat-fab { transition: transform .4s var(--ease), opacity .3s, padding .35s var(--ease), gap .35s var(--ease); }
  .chat-fab__label, .chat-fab__dot, .chat-fab__icon { transition: max-width .35s var(--ease), width .35s var(--ease), margin .35s var(--ease), opacity .25s; }
  .chat-fab.is-compact { min-width: 52px; padding: 0 15px; justify-content: center; }
  .chat-fab.is-compact .chat-fab__label { max-width: 0; opacity: 0; }
  .chat-fab.is-compact .chat-fab__dot { width: 0; margin-right: 0; opacity: 0; }
  .chat-fab.is-compact .chat-fab__icon { width: 22px; opacity: 1; }
}
html.sales-chat-open .chat-fab, .page-contact .chat-fab, .chat-fab.is-tucked { opacity: 0; pointer-events: none; transform: translateY(20px); visibility: hidden; transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s; }

/* ----- grain ----- */
.grain {
  position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ----- apparitions au défilement ----- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease), translate .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, background .3s; transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s, 0s, 0s, 0s; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ----- 404 ----- */
.lost { position: relative; display: grid; place-items: center; min-height: 100svh; padding: 100px var(--gutter) 60px; overflow: hidden; text-align: center; }
.lost__glow { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 40%, rgba(43, 75, 242, .45), transparent 70%), radial-gradient(40% 30% at 50% 100%, rgba(217, 101, 59, .25), transparent 70%); }
.lost__inner { position: relative; display: grid; justify-items: center; }
.lost__code {
  margin: 18px 0 6px; font: 900 clamp(7rem, 40vw, 20rem)/.8 var(--sans); letter-spacing: -.05em;
  background: linear-gradient(180deg, rgba(244, 239, 230, .7), rgba(244, 239, 230, .04)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lost .mega { font-size: clamp(2.4rem, 10vw, 6rem); }
.lost p { max-width: 36ch; color: var(--text-2); }
.lost .ctas { justify-content: center; }
.lost__logo { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); }

/* ----- très petits écrans ----- */
@media (max-width: 360px) {
  .btn { white-space: normal; text-align: center; padding: 0 18px; line-height: 1.2; }
  .nav__cta { display: none; }
}

/* ----- tablette et bureau ----- */
@media (min-width: 640px) {
  .hero__lede { max-width: 52ch; }
  .ctas .btn { flex: 0 0 auto; }
  .form-card { padding: 32px 30px; }
  .steps, .included, .guarantees, .demos, .stats, .univers { grid-template-columns: repeat(2, 1fr); }
  .included li:last-child { grid-column: span 2; }
  .inline-cta { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 900px) {
  .nav { left: 24px; right: 24px; padding-left: 22px; top: 18px; }
  .nav__links { display: flex; gap: 2px; margin: 0 auto; }
  .nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: .95rem; font-weight: 500; text-decoration: none; color: var(--text-2); transition: color .2s, background .2s; }
  .nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
  .nav__links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .1); }
  .nav__cta { margin-left: 0; }
  .nav__menu { display: none; }
  .hero { padding-bottom: 64px; }
  .hero__scroll { display: grid; }
  .head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .night { grid-template-columns: 1.1fr .9fr; gap: 80px; }
  .night .h2 { font-size: clamp(3rem, 5.6vw, 5.2rem); }
  .phone { justify-self: end; }
  .works { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .works--page { grid-template-columns: 1fr; }
  .work--big { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .work--big .work__media { align-self: stretch; }
  .work--big .work__media img { position: absolute; inset: 0; }
  .work--big .work__body { padding: 44px 40px; }
  .prices { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
  .faq-wrap .head { position: sticky; top: 120px; }
  .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .contact { grid-template-columns: 1fr 1fr; grid-template-areas: 'intro form' 'more form'; column-gap: 64px; row-gap: 36px; align-items: start; }
  .contact__intro { grid-area: intro; padding-top: 12px; }
  .contact .phero__title { max-width: none; font-size: clamp(3rem, 6.4vw, 6.4rem); }
  .contact__more { grid-area: more; }
  .form-card { grid-area: form; }
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .timeline__step { padding: 38px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .timeline__step::before { left: 0; top: -7px; }
  .included, .guarantees { grid-template-columns: repeat(3, 1fr); }
  .included li:first-child { grid-column: span 2; }
  .included li:last-child { grid-column: span 2; }
  .demos { grid-template-columns: repeat(3, 1fr); }
  .univers { grid-template-columns: repeat(4, 1fr); }
  .compare table { display: table; }
  .compare thead { display: table-header-group; }
  .compare tbody { display: table-row-group; }
  .compare tr { display: table-row; margin: 0; padding: 0; border: 0; background: none; }
  .compare th, .compare td { display: table-cell; padding: 20px 18px; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
  .compare thead th { border-top: 0; padding-bottom: 18px; font: 700 .82rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
  .compare thead th.is-us { color: var(--saffron); }
  .compare th[scope="row"] { width: 28%; margin: 0; font-size: 1.05rem; }
  .compare td::before { display: none; }
  .compare .is-us { background: rgba(43, 75, 242, .1); }
  .compare thead .is-us { border-radius: 18px 18px 0 0; }
  .compare tbody tr:last-child .is-us { border-radius: 0 0 18px 18px; }
  .paper__grid { grid-template-columns: 220px minmax(0, 1fr); gap: 72px; }
  .toc { display: block; position: sticky; top: 120px; align-self: start; }
  .toc__title { margin: 0 0 12px; font: 700 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(10, 10, 11, .66); }
  .toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line-dark); }
  .toc a { display: flex; align-items: center; min-height: 44px; padding: 4px 0 4px 16px; color: rgba(10, 10, 11, .7); text-decoration: none; font-size: .95rem; }
  .toc a:hover { color: var(--majorelle); }
  .paper__single { max-width: 820px; }
}

@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { min-height: 400px; display: flex; flex-direction: column; }
  .step__t { min-height: 2.04em; margin-bottom: 18px; display: flex; align-items: flex-end; }
  .hero__inner { display: grid; grid-template-columns: 1fr auto; column-gap: 48px; align-items: end; }
  .hero__inner > .notice, .hero__chip, .hero__title { grid-column: 1 / -1; justify-self: start; }
  .hero__lede { grid-column: 1; margin-bottom: 0; }
  .hero .ctas { grid-column: 2; grid-row: 3 / span 2; align-self: end; justify-content: flex-end; flex-wrap: nowrap; }
  .hero__proof { grid-column: 1; }
  .hero__scroll { display: none; }
  .hero__title { font-size: max(3rem, min(clamp(3.1rem, 14.6vw, 10.6rem), calc((100svh - 400px) / 3.05))); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { flex-wrap: wrap; width: auto; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__list { flex-wrap: wrap; white-space: normal; padding: 0 var(--gutter); }
}

@media print {
  .nav, .chat-fab, .grain, .hero__media, .sales-chat-root { display: none !important; }
  body { background: #fff; color: #000; }
}
