/* ==========================================================
   LF Studio — feuille de style
   ========================================================== */
:root {
  --bg: #0b0b0c;
  --bg-2: #141416;
  --bg-3: #1c1c1f;
  --ink: #f3f0ea;
  --muted: #8f8b84;
  --line: rgba(243, 240, 234, .12);
  --accent: #c9f45c;
  --accent-ink: #0b0b0c;
  --sans: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(16px, 4vw, 56px);
  --radius: clamp(18px, 2vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s 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%); }
}

/* ---------- Écran d'arrivée ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  clip-path: inset(0 0 0 0);
}
.loader__inner { display: flex; align-items: baseline; gap: 24px; }
.loader__mark { font-size: clamp(64px, 12vw, 160px); font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.loader__mark span { color: var(--accent); }
.loader__count { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 4vw, 48px); color: var(--muted); min-width: 3.2ch; }
.loader__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 48px; height: 1px; background: var(--line); }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- Curseur ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 95; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
  .cursor__ring {
    width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(243, 240, 234, .35);
    display: flex; align-items: center; justify-content: center;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s;
  }
  .cursor__label { font-size: 13px; font-weight: 600; color: var(--accent-ink); opacity: 0; transform: scale(.6); transition: .3s var(--ease); white-space: nowrap; }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--accent); }
  .cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--accent); border-color: var(--accent); }
  .cursor.is-label .cursor__label { opacity: 1; transform: none; }
  .cursor.is-label .cursor__dot { opacity: 0; }
}

/* ---------- Boutons ---------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; gap: 12px; height: var(--h); padding: 0 28px;
  border-radius: 999px; font-weight: 600; font-size: 16px; letter-spacing: -.01em; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease);
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateY(3px); }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent::before { background: var(--ink); }
.btn--light { background: var(--ink); color: var(--bg); }
.btn--light::before { background: var(--accent); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 14px; }
.btn--lg { --h: 64px; padding: 0 34px; font-size: 18px; }
.btn > * { pointer-events: none; }

.link-roll { display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; vertical-align: top; }
.link-roll span { display: block; position: relative; transition: transform .5s var(--ease); }
.link-roll span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--accent); }
.link-roll:hover span { transform: translateY(-100%); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(11, 11, 12, .6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav.is-hidden { transform: translateY(-110%); }
.logo { display: flex; align-items: baseline; gap: 6px; font-size: 26px; line-height: 1; }
.logo__lf { font-weight: 800; letter-spacing: -.07em; }
.logo__lf::after { content: '.'; color: var(--accent); }
.logo__studio { font-family: var(--serif); font-style: italic; font-size: 24px; }
.nav__links { display: flex; gap: 36px; font-size: 15px; font-weight: 500; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: .4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg); display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad); gap: 8px; clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease);
}
.mobile-menu a { font-size: clamp(44px, 12vw, 72px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; padding: 140px var(--pad) 72px;
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
}
.hero__wall {
  position: absolute; top: -10%; bottom: -10%; right: -8%; width: 68%;
  perspective: 1600px; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 80%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 80%, transparent 100%);
}
.wall {
  position: absolute; inset: 0; display: flex; gap: 22px; justify-content: center;
  transform: rotateX(14deg) rotateY(-18deg) rotateZ(8deg) scale(1.15); transform-style: preserve-3d;
}
.wall__col { display: flex; flex-direction: column; gap: 22px; width: clamp(150px, 15vw, 230px); flex-shrink: 0; animation: wall-up 60s linear infinite; }
.wall__col:nth-child(2) { animation-name: wall-down; animation-duration: 70s; margin-top: -120px; }
.wall__col:nth-child(3) { animation-duration: 55s; margin-top: -260px; }
.wall__col:nth-child(4) { animation-name: wall-down; animation-duration: 65s; }
.wall__col img {
  width: 100%; aspect-ratio: 585 / 1266; object-fit: cover; object-position: top;
  border-radius: 22px; border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  filter: brightness(.62) saturate(.95);
}
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(11, 11, 12, .92) 34%, rgba(11, 11, 12, .45) 62%, rgba(11, 11, 12, .12) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 35%),
              linear-gradient(180deg, rgba(11, 11, 12, .7) 0%, transparent 18%);
}
.hero__glow {
  position: absolute; width: 60vw; height: 60vw; left: -20vw; top: -25vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(201, 244, 92, .13), transparent 60%); filter: blur(20px);
}
.hero__content { position: relative; z-index: 2; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 28px; padding: 8px 16px 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(11, 11, 12, .5); backdrop-filter: blur(8px); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(201, 244, 92, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(201, 244, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 244, 92, 0); } }
.hero__title {
  font-size: clamp(52px, 10.4vw, 188px); font-weight: 700; line-height: .9; letter-spacing: -.055em;
}
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line__in { display: inline-block; will-change: transform; }
.hero__title em { font-size: 1.08em; letter-spacing: -.02em; }
.strike { position: relative; color: var(--muted); }
.strike__bar { position: absolute; left: -2%; right: -2%; top: 54%; height: .07em; background: var(--accent); transform: scaleX(0); transform-origin: left; border-radius: 99px; }
.hl { position: relative; color: var(--accent-ink); padding: 0 .12em; margin-left: -.06em; z-index: 0; }
.hl::before { content: ''; position: absolute; inset: .1em 0 .02em; background: var(--accent); z-index: -1; border-radius: .08em; transform: scaleX(var(--hl, 0)); transform-origin: left; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.hero__sub { max-width: 520px; font-size: clamp(17px, 1.4vw, 20px); color: rgba(243, 240, 234, .78); }
.hero__sub em { color: var(--ink); font-size: 1.15em; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll { position: absolute; right: var(--pad); bottom: 28px; z-index: 2; display: flex; align-items: center; gap: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.hero__scroll i { width: 48px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: var(--accent); animation: scrollhint 2s var(--ease) infinite; }
@keyframes scrollhint { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- Bandeau défilant ---------- */
.marquee { border-block: 1px solid var(--line); padding: clamp(18px, 2.4vw, 32px) 0; overflow: hidden; background: var(--bg); position: relative; z-index: 2; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__row { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); font-size: clamp(40px, 7vw, 104px); font-weight: 700; letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
.marquee__row .o { color: transparent; -webkit-text-stroke: 1.5px rgba(243, 240, 234, .55); font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.marquee__row b { color: var(--accent); font-size: .5em; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Titres de section ---------- */
section { position: relative; }
.section-head { padding: 0 var(--pad); margin-bottom: clamp(40px, 6vw, 88px); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.eyebrow { font-size: 14px; color: var(--muted); letter-spacing: .04em; margin-bottom: 18px; }
.section-title { font-size: clamp(42px, 7vw, 112px); font-weight: 700; letter-spacing: -.05em; line-height: .95; max-width: 14ch; }
.section-title em { color: var(--accent); letter-spacing: -.02em; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- Manifeste ---------- */
.manifesto { padding: clamp(100px, 14vw, 200px) var(--pad); }
.manifesto__text { font-size: clamp(30px, 4.4vw, 68px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; max-width: 22ch; }
.manifesto__text .w > span { transition: color .2s; }
.manifesto__text em { color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 9vw, 140px); border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num { font-size: clamp(56px, 7vw, 112px); font-weight: 700; letter-spacing: -.06em; line-height: 1; }
.stat__label { color: var(--muted); font-size: 15px; max-width: 18ch; }

/* ---------- Projets phares (cartes empilées) ---------- */
.featured { padding-bottom: clamp(80px, 10vw, 160px); }
.stack { padding: 0 var(--pad); }
.scard {
  position: sticky; top: calc(10vh + var(--i, 0) * 18px); height: 78vh; min-height: 560px; max-height: 820px; margin-bottom: 6vh;
  border-radius: var(--radius); overflow: hidden; background: var(--bg-card, var(--bg-2));
  transform-origin: center top; will-change: transform;
}
.scard:last-child { margin-bottom: 0; }
.scard::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 90% at 85% 40%, color-mix(in srgb, var(--c) 30%, transparent), transparent 60%),
              radial-gradient(60% 60% at 0% 100%, color-mix(in srgb, var(--c) 12%, transparent), transparent 70%);
}
.scard::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .08); pointer-events: none; }
.scard__shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 5; }
.scard__inner { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); padding: clamp(28px, 4vw, 64px); }
.scard__info { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.scard__top { display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(243, 240, 234, .65); }
.scard__name { font-size: clamp(48px, 6.4vw, 108px); font-weight: 700; letter-spacing: -.055em; line-height: .92; margin: 20px 0 18px; }
.scard__pitch { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 38px); line-height: 1.1; color: var(--c); max-width: 18ch; }
.scard__meta { margin-top: 18px; color: rgba(243, 240, 234, .65); font-size: 15px; }
.scard__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.scard__visual { position: relative; min-width: 0; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .35); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .12); color: var(--ink); white-space: nowrap; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.badge.is-live::before { background: #3ddc84; box-shadow: 0 0 10px #3ddc84; }
.badge.is-demo::before { background: var(--accent); }
.badge.is-concept::before { background: #b69cff; }

/* Fenêtre de navigateur et téléphone */
.browser {
  position: absolute; left: 0; right: 9%; top: 50%; transform: translateY(-50%);
  border-radius: 14px; overflow: hidden; background: #0e0e10; border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4);
}
.browser__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #1a1a1d; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3f; }
.browser__bar i:nth-child(1) { background: #ff5f57; } .browser__bar i:nth-child(2) { background: #febc2e; } .browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { margin: 0 auto; font-size: 12px; color: var(--muted); padding: 3px 14px; border-radius: 6px; background: rgba(255, 255, 255, .05); transform: translateX(-20px); }
.browser__screen { aspect-ratio: 16 / 10; background-size: 100% auto; background-position: center 0%; background-repeat: no-repeat; }
.scard .browser__screen { animation: autoscroll 16s ease-in-out infinite alternate; animation-play-state: paused; }
.scard.is-active .browser__screen { animation-play-state: running; }
@keyframes autoscroll { 0%, 12% { background-position: center 0%; } 88%, 100% { background-position: center 100%; } }
.phone {
  position: absolute; right: 0; bottom: 4%; width: 27%; aspect-ratio: 9 / 19.5;
  border-radius: 13% / 6%; padding: 2.4%; background: #0a0a0b;
  box-shadow: 0 0 0 1.5px #2b2b30, 0 40px 80px -20px rgba(0, 0, 0, .9);
}
.phone__screen { width: 100%; height: 100%; border-radius: 11% / 5%; background-size: cover; background-position: top center; position: relative; overflow: hidden; }
.phone__screen::before { content: ''; position: absolute; top: 2.2%; left: 50%; width: 30%; height: 3.6%; transform: translateX(-50%); border-radius: 99px; background: #000; z-index: 1; }

/* ---------- Grille de tous les projets ---------- */
.work { padding-bottom: clamp(100px, 12vw, 200px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: rgba(243, 240, 234, .75); transition: .35s var(--ease); }
.filter:hover { border-color: rgba(243, 240, 234, .4); color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px) clamp(20px, 3vw, 48px); padding: 0 var(--pad); }
.pcard { display: block; position: relative; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.grid .pcard:nth-child(even of .pcard:not(.is-hidden)) { transform: translateY(clamp(0px, 10vw, 160px)); }
.pcard.is-hidden { display: none; }
.pcard__media {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.1;
  background: var(--bg-card); isolation: isolate;
}
.pcard__media::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 100%, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%); transition: opacity .6s; }
.pcard__media .browser { left: 9%; right: 9%; top: 12%; transform: none; transition: transform .8s var(--ease); }
.pcard__media .browser__screen { transition: background-position 5s cubic-bezier(.45, 0, .2, 1); }
.pcard:hover .browser { transform: translateY(-3%) scale(1.03); }
.pcard:hover .browser__screen { background-position: center 100%; }
.pcard__media .badge { position: absolute; bottom: 16px; left: 16px; z-index: 2; }
.pcard__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 22px 4px 0; }
.pcard__name { font-size: clamp(26px, 2.6vw, 40px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.pcard__type { color: var(--muted); font-size: 15px; margin-top: 8px; }
.pcard__arrow { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .5s var(--ease); }
.pcard__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.pcard:hover .pcard__arrow { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pcard:hover .pcard__arrow svg { transform: rotate(45deg); }

/* ---------- Packs ---------- */
.packs { padding-bottom: clamp(100px, 12vw, 190px); }
.packs__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 var(--pad); }
.pack {
  display: flex; flex-direction: column; align-items: flex-start; min-height: 540px; padding: clamp(24px, 2.4vw, 36px);
  border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); transition: border-color .4s, background .4s;
}
.pack:hover { border-color: rgba(201, 244, 92, .55); background: var(--bg-3); }
.pack__num { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--accent); }
.pack__name { font-size: clamp(26px, 2.1vw, 34px); letter-spacing: -.04em; line-height: 1; margin-top: 14px; }
.pack__price { font-size: clamp(72px, 6.6vw, 112px); font-weight: 700; letter-spacing: -.06em; line-height: 1; margin-top: clamp(32px, 4vw, 64px); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pack__delay { margin-top: 14px; padding: 6px 16px 8px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 22px; font-weight: 700; letter-spacing: -.03em; rotate: -3deg; }
.pack__text { margin: 28px 0 32px; color: rgba(243, 240, 234, .72); font-size: 16px; }
.pack .btn { margin-top: auto; }
.pack--star, .pack--star:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pack--star .pack__num { color: var(--accent-ink); }
.pack--star .pack__delay { background: var(--bg); color: var(--accent); }
.pack--star .pack__text { color: rgba(11, 11, 12, .78); }
.pack--star .btn { background: var(--bg); color: var(--ink); }
.pack--star .btn::before { background: var(--ink); }
.pack--star .btn:hover { color: var(--bg); }
.pack--star .pack__price { font-size: clamp(60px, 5.4vw, 92px); }

/* ---------- Méthode ---------- */
.method { padding: clamp(80px, 10vw, 160px) 0; background: var(--ink); color: var(--bg); border-radius: var(--radius) var(--radius) 0 0; }
.method .eyebrow { color: #6b6863; }
.method .section-title em { color: var(--bg); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 var(--pad); }
.step { position: relative; padding: 40px 28px 0 0; border-top: 1.5px solid rgba(11, 11, 12, .15); }
.step::before { content: ''; position: absolute; top: -1.5px; left: 0; height: 1.5px; width: 100%; background: var(--bg); transform: scaleX(var(--p, 0)); transform-origin: left; }
.step + .step { padding-left: 28px; }
.step__num { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(56px, 6vw, 96px); line-height: 1; margin-bottom: 28px; }
.step h3 { font-size: clamp(22px, 1.8vw, 28px); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 14px; }
.step p { color: #55524d; font-size: 16px; }

/* ---------- Services ---------- */
.services { padding: clamp(100px, 12vw, 180px) 0; background: var(--ink); color: var(--bg); }
.services .eyebrow { color: #6b6863; }
.services .section-title em { color: var(--bg); }
.services__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 var(--pad); }
.service {
  position: relative; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); background: #e8e4dc; min-height: 320px;
  display: flex; flex-direction: column; overflow: hidden; isolation: isolate; transition: color .5s var(--ease);
}
.service::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--bg); clip-path: circle(0% at var(--mx, 50%) var(--my, 50%)); transition: clip-path .7s var(--ease); }
.service:hover { color: var(--ink); }
.service:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
.service__n { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; margin-bottom: auto; transition: color .4s; }
.service:hover .service__n { color: var(--accent); }
.service h3 { font-size: clamp(26px, 2.2vw, 34px); letter-spacing: -.04em; line-height: 1; margin: 48px 0 14px; }
.service p { font-size: 16px; opacity: .75; }
.service__tags { margin-top: 22px; font-size: 13px; opacity: .55; }

/* ---------- Contact ---------- */
.contact { padding: clamp(100px, 13vw, 200px) var(--pad) clamp(80px, 10vw, 140px); overflow: hidden; }
.contact__glow { position: absolute; width: 70vw; height: 70vw; right: -25vw; top: -10vw; border-radius: 50%; background: radial-gradient(circle, rgba(201, 244, 92, .12), transparent 60%); pointer-events: none; }
.contact__title { font-size: clamp(52px, 9.6vw, 176px); font-weight: 700; letter-spacing: -.055em; line-height: .9; margin-bottom: clamp(48px, 6vw, 96px); position: relative; }
.contact__title em { color: var(--accent); letter-spacing: -.02em; }
.form { position: relative; max-width: 1000px; display: flex; flex-direction: column; gap: 28px; }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; font-weight: 500; cursor: pointer; transition: .35s var(--ease); }
.chips label:hover span { border-color: rgba(243, 240, 234, .45); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ink);
  font: inherit; font-size: clamp(20px, 2vw, 26px); padding: 30px 0 14px; resize: vertical; border-radius: 0; outline: none; transition: border-color .3s;
}
.field span { position: absolute; left: 0; top: 30px; font-size: clamp(20px, 2vw, 26px); color: var(--muted); pointer-events: none; transform-origin: left top; transition: .45s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-28px) scale(.55); color: var(--accent); }
.field.is-error input, .field.is-error textarea { border-color: #ff6b5b; }
.form__foot { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 12px; }
.form__send { display: flex; gap: 12px; flex-wrap: wrap; }
.form__note { color: var(--muted); font-size: 15px; max-width: 34ch; }
.form__note.is-ok { color: var(--accent); }

/* ---------- Pied de page ---------- */
.footer { padding: 80px var(--pad) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer__slogan { font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.footer__slogan em { color: var(--accent); }
.footer__links { display: flex; gap: 28px; color: var(--muted); }
.footer__links a:hover { color: var(--ink); }
.footer__brand { display: flex; align-items: baseline; justify-content: center; gap: .04em; margin: clamp(48px, 7vw, 96px) 0 24px; line-height: .78; white-space: nowrap; }
.footer__brand span { font-size: clamp(120px, 31vw, 520px); font-weight: 800; letter-spacing: -.08em; }
.footer__brand em { font-size: clamp(80px, 21vw, 350px); letter-spacing: -.03em; color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 14px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Fiche projet ---------- */
.case {
  position: fixed; inset: 0; z-index: 80; background: var(--bg-case, var(--bg));
  clip-path: circle(0% at var(--ox, 50%) var(--oy, 50%)); visibility: hidden;
  transition: clip-path .9s var(--ease), visibility 0s .9s;
}
.case.is-open { clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
.case__scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.case__close { position: fixed; top: 20px; right: var(--pad); z-index: 3; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); }
.case__close span { position: absolute; left: 18px; right: 18px; top: 27px; height: 2px; background: var(--bg); transform: rotate(45deg); transition: transform .5s var(--ease); }
.case__close span + span { transform: rotate(-45deg); }
.case__close:hover span { transform: rotate(135deg); } .case__close:hover span + span { transform: rotate(45deg); }
.case__body { position: relative; }
.case__body::before { content: ''; position: absolute; inset: 0 0 auto; height: 120vh; pointer-events: none; background: radial-gradient(70% 60% at 70% 20%, color-mix(in srgb, var(--c) 28%, transparent), transparent 70%); }
.case__hero { position: relative; padding: 120px var(--pad) 56px; }
.case__crumb { display: flex; align-items: center; gap: 14px; color: rgba(243, 240, 234, .65); font-size: 14px; margin-bottom: 28px; }
.case__title { font-size: clamp(56px, 11vw, 200px); font-weight: 700; letter-spacing: -.06em; line-height: .88; }
.case__pitch { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.4vw, 54px); color: var(--c); line-height: 1.05; margin-top: 18px; max-width: 20ch; }
.case__meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(40px, 5vw, 72px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.case__meta dt { font-size: 13px; color: rgba(243, 240, 234, .55); margin-bottom: 6px; }
.case__meta dd { font-size: 17px; font-weight: 500; }
.case__cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.case__show { position: relative; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(16px, 2vw, 32px); align-items: start; }
.case__show .browser { position: relative; left: auto; right: auto; top: auto; transform: none; }
.case__show .browser__screen { aspect-ratio: auto; background: none; max-height: 78vh; overflow-y: auto; overscroll-behavior: contain; }
.case__show .browser__screen img { width: 100%; }
.case__phones { display: flex; flex-direction: column; gap: 16px; width: clamp(160px, 18vw, 280px); }
.case__phones .phone { position: relative; right: auto; bottom: auto; width: 100%; }
.case__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding: clamp(64px, 8vw, 120px) var(--pad); }
.case__text h3 { font-size: 14px; font-weight: 500; color: rgba(243, 240, 234, .55); margin-bottom: 18px; }
.case__text p { font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; line-height: 1.3; }
.case__list { list-style: none; }
.case__list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 17px; }
.case__list li::before { content: '✦'; color: var(--c); flex-shrink: 0; }
.case__next { display: block; padding: clamp(48px, 6vw, 96px) var(--pad) clamp(64px, 8vw, 120px); border-top: 1px solid rgba(255, 255, 255, .1); }
.case__next small { display: block; color: rgba(243, 240, 234, .55); font-size: 14px; margin-bottom: 10px; }
.case__next svg { display: inline-block; width: .55em; height: .55em; vertical-align: .05em; margin-left: .15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.case__next:hover svg { transform: rotate(45deg); }
.case__next strong { display: inline; font-size: clamp(44px, 8vw, 140px); letter-spacing: -.055em; line-height: .95; transition: color .4s; }
.case__next:hover strong { color: var(--accent); }

/* ---------- Apparitions ---------- */
.reveal-up { opacity: 0; transform: translateY(24px); }
.no-js .reveal-up, .reduce .reveal-up { opacity: 1; transform: none; }

/* ---------- Tablette ---------- */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .scard__inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .scard__btns { margin-top: 20px; }
  .scard__name { margin: 14px 0 10px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 32px; }
  .packs__list { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .step:nth-child(3) { padding-left: 0; }
  .services__list { grid-template-columns: 1fr 1fr; }
  .case__meta { grid-template-columns: 1fr 1fr; }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { padding-block: 14px; }
  .nav > .btn { display: none; }
  .burger { display: block; }
  .hero { padding-top: 120px; padding-bottom: 88px; }
  .hero__wall { width: 120%; right: -40%; opacity: .55; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 10%, rgba(11, 11, 12, .55) 60%, rgba(11, 11, 12, .3)); }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero__scroll { display: none; }
  .scard { top: calc(8vh + var(--i, 0) * 12px); height: auto; min-height: 0; max-height: none; }
  .scard__inner { padding: 24px; gap: 28px; }
  .scard__visual { aspect-ratio: 1 / .78; }
  .scard__btns .btn { --h: 48px; padding: 0 20px; font-size: 15px; }
  .grid { grid-template-columns: 1fr; gap: 56px; }
  .grid .pcard:nth-child(even of .pcard:not(.is-hidden)) { transform: none; }
  .filters { overflow-x: auto; flex-wrap: nowrap; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { white-space: nowrap; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 12px; }
  .stat:nth-child(3) { padding-left: 0; }
  .packs__list { grid-template-columns: 1fr; }
  .pack { min-height: 0; }
  .pack .btn { margin-top: 0; width: 100%; justify-content: center; }
  .steps, .services__list { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; padding-right: 0; }
  .service { min-height: 0; }
  .form__row { grid-template-columns: 1fr; }
  .form__send { width: 100%; }
  .form__foot .btn { width: 100%; justify-content: center; }
  .footer__bottom { flex-direction: column; }
  .case__hero { padding-top: 96px; }
  .case__close { width: 48px; height: 48px; top: 14px; }
  .case__close span { left: 15px; right: 15px; top: 23px; }
  .case__show { grid-template-columns: 1fr; }
  .case__phones { flex-direction: row; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .case__phones .phone { width: 46%; flex-shrink: 0; }
  .case__text { grid-template-columns: 1fr; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { animation: none; }
}
