/* ───────── PIXTYSE v8 — épuré façon Apple, ton façon Buzzman ───────── */
/* Mise en page : une colonne centrée max 1180px, sections pleine hauteur, scroll figé pour les moments forts. */
:root {
  --bg: #fbfbfd;          /* blanc Apple */
  --bg-2: #f2f2f5;        /* gris très clair pour les sections alternées */
  --ink: #1d1d1f;         /* noir doux */
  --muted: #6e6e73;       /* gris secondaire */
  --night: #000000;       /* sections vidéo */
  --violet: #8b12ca;      /* violet du logo, en accent seulement */
  --violet-soft: #9a55dc;

  --f-sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --gut: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; text-size-adjust: 100%; }
body { font-family: var(--f-sans); font-size: 17px; line-height: 1.47; background: var(--bg); overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── type ───────── */
.eyebrow { font-size: 14px; font-weight: 600; color: var(--violet); margin-bottom: 14px; letter-spacing: -.005em; }
.h2 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 700; line-height: .95; letter-spacing: -.035em; text-wrap: balance; }
.h3 { font-size: clamp(30px, 4vw, 52px); font-weight: 700; line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
.muted { color: var(--muted); }
.v { color: var(--violet); }
.lead { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; color: var(--muted); max-width: 34ch; margin-top: 22px; letter-spacing: -.01em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.sec-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* titres révélés mot par mot : chaque mot glisse derrière son propre masque */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .06em .14em; margin: -.1em -.06em -.14em; }
.wi { display: inline-block; }

/* scroll fluide (Lenis, ordi seulement) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ───────── boutons ───────── */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border: 0; border-radius: 999px; font-size: 17px; font-weight: 600; cursor: pointer; transition: transform .3s var(--ease), background .2s; }
.pill:hover { transform: scale(1.03); }
.pill:active { transform: scale(.98); }
.pill-violet { background: var(--violet); color: #fff; }
.pill-violet:hover { background: #7a0fb3; }
.pill-dark { background: #fff; color: var(--ink); }
.pill-sm { height: 34px; padding: 0 16px; font-size: 14px; }
.link-arrow { font-size: 17px; font-weight: 600; color: var(--violet); }
.link-arrow::after { content: " ›"; transition: margin .3s var(--ease); }
.link-arrow:hover::after { margin-left: 4px; }

/* ───────── nav ───────── */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: transform .45s var(--ease); background: rgba(22,22,23,.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); color: #f5f5f7; }
.nav.hide { transform: translateY(-100%); }
.nav-in { max-width: var(--max); margin: 0 auto; height: 56px; padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 32px; font-size: 14px; }
.nav-links a { opacity: .85; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }

/* ═════════ HERO ═════════ */
.hero { position: relative; height: 250vh; background: var(--bg); }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; perspective: 1600px; perspective-origin: 50% 30%; display: flex; flex-direction: column; align-items: center; padding-top: calc(56px + 6vh); }
.hero-copy { text-align: center; padding: 0 var(--gut); max-width: 1200px; will-change: transform, opacity; }
.hero-t { font-size: clamp(40px, 5.6vw, 84px); font-weight: 800; line-height: .94; letter-spacing: -.045em; }
.hero-sub { margin: 22px auto 0; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.35; color: var(--muted); letter-spacing: -.01em; }
.hero-ctas { margin-top: 30px; display: flex; gap: 26px; align-items: center; justify-content: center; flex-wrap: wrap; }
.reel-card { position: relative; margin-top: 5vh; width: min(1000px, 86vw); aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #000; will-change: transform; box-shadow: 0 30px 80px rgba(0,0,0,.18); flex: none; transform-origin: 50% 100%; }
.reel-card video { width: 100%; height: 100%; object-fit: cover; }
.reel-cap { position: absolute; left: 0; right: 0; bottom: 9%; text-align: center; color: #fff; font-size: clamp(26px, 3.6vw, 56px); font-weight: 700; letter-spacing: -.035em; line-height: 1; opacity: 0; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.reel-cap span { font-size: .55em; font-weight: 500; color: rgba(255,255,255,.8); letter-spacing: -.02em; }

.story-ui { display: none; }

/* ═════════ PUNCHLINE ═════════ */
.punch { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14vh var(--gut); background: var(--bg); }
.punch .punch-e { font-size: clamp(17px, 1.5vw, 21px); margin-bottom: 26px; }
.punch-t { max-width: 1150px; font-size: clamp(44px, 7.6vw, 120px); font-weight: 800; line-height: .94; letter-spacing: -.05em; text-wrap: balance; }
.punch-t .v { white-space: nowrap; }
.punch-s { margin-top: 28px; font-size: clamp(19px, 1.7vw, 24px); color: var(--muted); }

@media (max-width: 600px) { .punch-t { font-size: 13vw; } .punch-t .v { white-space: normal; } }

/* ═════════ SERVICES ═════════ */
.services { position: relative; height: 440vh; background: var(--bg); }
.srv-pin { position: sticky; top: 0; height: 100vh; height: 100svh; max-width: var(--max); margin: 0 auto; padding: 56px var(--gut) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.srv-items { position: relative; min-height: 330px; }
.srv { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.srv.on { opacity: 1; transform: none; pointer-events: auto; }
.srv-n { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.srv h3 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 700; line-height: .95; letter-spacing: -.04em; }
.srv > p { margin-top: 18px; font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 30ch; line-height: 1.38; }
.srv ul { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.srv li { font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--bg-2); }
.srv-dots { display: flex; gap: 8px; margin-top: 30px; }
.srv-dots i { width: 8px; height: 8px; border-radius: 99px; background: #d2d2d7; transition: width .4s var(--ease), background .3s; }
.srv-dots i.on { width: 28px; background: var(--ink); }
.srv-vis { display: none; }
.srv-card { border-radius: 28px; overflow: hidden; background: #000; }
.srv-card video, .srv-card img { width: 100%; height: 100%; object-fit: cover; }
.srv-card img { animation: kb 14s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.14) translateY(-2%); } }

/* scène de droite (ordi) : 0 = vidéo du shooting, 1 = téléphone qui reçoit les notifs, 2 = il se déverrouille sur ce site */
.srv-right { position: relative; aspect-ratio: 4 / 5; height: min(76vh, 640px); justify-self: center; }
.srv-right > * { position: absolute; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.srv-right .srv-card { inset: 0; }
.srv-right .phone { top: 0; left: 50%; translate: -50% 0; height: 100%; width: calc(min(76vh, 640px) * 9 / 19.5); }
.srv-right[data-step="0"] .phone { opacity: 0; transform: translateY(60px) scale(.94); }
.srv-right:not([data-step="0"]) .srv-card { opacity: 0; transform: scale(.94); }
.srv-right[data-step="2"] .ph-lock, .phone.open .ph-lock { transform: translateY(-101%); }
/* étape 2 : le Mac monte derrière, l'iPhone déverrouillé glisse devant lui en bas à droite */
.srv-right .mac { top: 15%; left: -9%; width: 118%; opacity: 0; transform: translateY(50px) scale(.94); }
.srv-right[data-step="2"] .mac { opacity: 1; transform: none; transition-delay: .15s; }
.srv-right[data-step="2"] .phone { transform: translate(64%, 21%) scale(.5); }

/* ═════════ MAC : proportions en cqw comme le téléphone ═════════ */
.mac { container-type: inline-size; }
.mac-lid { padding: 2.2cqw 2.2cqw 2.8cqw; border-radius: 3.4cqw 3.4cqw .6cqw .6cqw; background: #0c0c0e; box-shadow: 0 0 0 .3cqw #3a3a3c; }
.mac-screen { aspect-ratio: 16 / 10; border-radius: .7cqw; overflow: hidden; display: flex; flex-direction: column; background: #1f0915; }
.mac-bar { flex: none; height: 3.4cqw; display: flex; align-items: center; gap: .8cqw; padding: 0 1.6cqw; background: #f2f2f5; border-bottom: 1px solid #e0e0e5; }
.mac-bar i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #ff5f57; }
.mac-bar i:nth-child(2) { background: #febc2e; } .mac-bar i:nth-child(3) { background: #28c840; }
.mac-bar span { margin: 0 auto; padding: .35cqw 5cqw; border-radius: .7cqw; background: #fff; color: #6e6e73; font-size: 1.5cqw; letter-spacing: 0; }
.mac-screen video { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top; }
.mac-base { position: relative; height: 2.6cqw; margin: 0 -7%; border-radius: 0 0 6cqw 6cqw / 0 0 2.6cqw 2.6cqw; background: linear-gradient(#e6e6ea, #babac0 55%, #8f8f95); box-shadow: 0 34px 50px -24px rgba(0,0,0,.4); }
.mac-base::before { content: ""; position: absolute; top: 0; left: 50%; width: 15cqw; height: 1cqw; margin-left: -7.5cqw; border-radius: 0 0 1.2cqw 1.2cqw; background: #a2a2a8; }

/* ═════════ TÉLÉPHONE : tout est en cqw pour garder les proportions à n'importe quelle taille ═════════ */
.phone { container-type: inline-size; aspect-ratio: 9 / 19.5; }
.ph-frame { height: 100%; padding: 3.1cqw; border-radius: 15cqw; background: #0b0b0c; box-shadow: 0 0 0 .7cqw #3a3a3c, 0 40px 80px -24px rgba(0,0,0,.4); }
.ph-screen { position: relative; height: 100%; border-radius: 12cqw; overflow: hidden; background: #000; isolation: isolate; }
.ph-island { position: absolute; z-index: 5; top: 3cqw; left: 50%; width: 30cqw; height: 8.6cqw; margin-left: -15cqw; border-radius: 99px; background: #000; }
.ph-home { position: absolute; z-index: 5; bottom: 2.2cqw; left: 50%; width: 34cqw; height: 1.3cqw; margin-left: -17cqw; border-radius: 99px; background: rgba(255,255,255,.85); }

.ph-lock { position: absolute; inset: 0; z-index: 3; color: #fff; overflow: hidden; transition: transform .9s cubic-bezier(.7, 0, .2, 1); }
.ph-wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-lock::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(0,0,0,.22), transparent 38%); }
.ph-clock { position: relative; z-index: 2; text-align: center; padding-top: 15cqw; }
.ph-date { font-size: 5cqw; font-weight: 600; letter-spacing: -.01em; opacity: .92; }
.ph-time { font-size: 26cqw; font-weight: 700; line-height: .92; letter-spacing: -.045em; }
.ph-notifs { position: absolute; z-index: 2; left: 3.4cqw; right: 3.4cqw; top: 52cqw; bottom: 24cqw; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.nt { position: absolute; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 9.6cqw 1fr auto; gap: 3cqw; align-items: center; padding: 3cqw 3.4cqw; border-radius: 6cqw; background: rgba(246,246,248,.9); color: #1d1d1f; transform-origin: 50% 0; opacity: 0; will-change: transform, opacity; }
.nt-ic { width: 9.6cqw; height: 9.6cqw; border-radius: 2.5cqw; background: #000; display: grid; place-items: center; }
.nt-ic svg { width: 62%; height: 62%; }
.nt-tx { min-width: 0; display: grid; gap: .4cqw; }
.nt-h { display: flex; justify-content: space-between; align-items: baseline; gap: 2cqw; font-size: 4.2cqw; line-height: 1.2; }
.nt-h b { font-weight: 650; }
.nt-h time { flex: none; font-size: 3.6cqw; color: #6e6e73; }
.nt-m { font-size: 4.2cqw; line-height: 1.24; letter-spacing: -.005em; }
.nt-m b { font-weight: 650; }
.nt-th { width: 10cqw; height: 10cqw; border-radius: 2.2cqw; object-fit: cover; }
.ph-tools { position: absolute; z-index: 2; left: 9cqw; right: 9cqw; bottom: 8cqw; display: flex; justify-content: space-between; }
.ph-tools i { width: 13cqw; height: 13cqw; border-radius: 50%; background: rgba(28,28,30,.6); display: grid; place-items: center; }
.ph-tools svg { width: 46%; height: 46%; }

.ph-site { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; background: #1f0915; }
.ph-bar { flex: none; height: 12.5cqw; display: flex; align-items: center; justify-content: space-between; padding: 1.5cqw 7cqw 0 10cqw; color: #fff; font-size: 4.3cqw; }
.ph-bar b { font-weight: 650; }
.ph-bar svg { width: 19cqw; height: auto; }
.ph-site video { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top; background: var(--bg); }

/* ═════════ MANIFESTE ═════════ */
.mani { padding: 26vh var(--gut); background: var(--night); }
.mani-t { max-width: 1000px; margin: 0 auto; font-size: clamp(32px, 4.6vw, 68px); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; color: #f5f5f7; text-wrap: balance; }
.mani-t .w { opacity: .18; }
.mani-t .v { color: var(--violet-soft); }

/* ═════════ RÉALISATIONS ═════════ */
.work { position: relative; background: var(--bg); overflow: hidden; }
.work-pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 56px 0 4vh; }
.work-track { display: flex; gap: 20px; padding: 5vh var(--gut) 0; width: max-content; will-change: transform; }
.wk { position: relative; flex: none; height: min(60vh, 560px); aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: #000; transition: transform .5s var(--ease); }
.wk:hover { transform: scale(1.02); }
.wk video, .wk img { width: 100%; height: 100%; object-fit: cover; }
.wk-photo { aspect-ratio: 4 / 5; }
.wk figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 20px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; display: grid; gap: 2px; }
.wk b { font-size: 21px; letter-spacing: -.02em; }
.wk span { font-size: 14px; opacity: .8; }
.wk-end { display: flex; flex-direction: column; justify-content: space-between; padding: 28px; background: var(--violet); color: #fff; }
.wk-end span { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: .95; opacity: 1; }
.wk-end em { font-style: normal; font-weight: 600; }

/* anneau 3D (classe .ring posée par main.js) : les cartes sont posées sur un cercle, l'anneau tourne avec le scroll */
.work.ring .wk-stage { --cw: min(250px, 17vw, calc((100vh - 400px) * 9 / 16)); height: calc(var(--cw) * 16 / 9); margin-top: 5vh; perspective: 1700px; }
.work.ring .work-track { position: relative; width: var(--cw); height: 100%; margin: 0 auto; padding: 0; gap: 0; transform-style: preserve-3d; }
.work.ring .wk { position: absolute; inset: 0; height: auto; -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: none; }
.wk::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: calc(var(--dim, 0) * .62); pointer-events: none; }
.work.ring .wk figcaption { opacity: 0; transition: opacity .35s; }
.work.ring .wk.front figcaption { opacity: 1; }
.wk-bar { margin: 4vh var(--gut) 0; height: 3px; border-radius: 3px; background: #e5e5ea; overflow: hidden; }
.wk-bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* ═════════ VISAGES ═════════ */
.humans { background: var(--bg-2); padding: 18vh 0 0; overflow: hidden; }
.faces { margin: 10vh auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 var(--gut); max-width: 1400px; height: 90vh; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.col { display: grid; gap: 16px; align-content: start; will-change: transform; }
.col:nth-child(even) { margin-top: 12vh; }
.col img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }

/* ═════════ CLIENTS ═════════ */
.clients { padding: 18vh 0; background: var(--bg); overflow: hidden; }
.marquee { margin-top: 9vh; display: grid; gap: 1vh; }
.mq-row { display: flex; width: max-content; animation: mq 45s linear infinite; }
.mq-row.rev { animation-direction: reverse; animation-duration: 55s; }
.marquee:hover .mq-row { animation-play-state: paused; }
.mq-row li { font-size: clamp(44px, 7vw, 104px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; padding: 0 .28em; white-space: nowrap; color: var(--ink); transition: color .25s; cursor: default; }
.mq-row li:hover { color: var(--violet); }
.mq-row .sep { color: var(--violet); font-size: clamp(22px, 3vw, 44px); align-self: center; padding: 0; }
@keyframes mq { to { transform: translateX(-50%); } }
.cl-more { text-align: center; margin-top: 7vh; color: var(--muted); font-size: 17px; padding: 0 var(--gut); }
.cl-float { position: fixed; left: 0; top: 0; z-index: 50; width: 240px; aspect-ratio: 4 / 5; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.7) rotate(-4deg); transition: opacity .25s, transform .4s var(--ease); }
.cl-float.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
.cl-float img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 70px rgba(0,0,0,.3); }

/* ═════════ CONTACT ═════════ */
.contact { padding: 20vh var(--gut); background: var(--night); color: #f5f5f7; text-align: center; }
.contact .lead { margin-left: auto; margin-right: auto; color: #a1a1a6; }
.quick { margin: 46px auto 0; max-width: 760px; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 12px; }
.quick input, .quick select { height: 50px; padding: 0 18px; border-radius: 14px; border: 1px solid #424245; background: #1d1d1f; color: #f5f5f7; font-size: 17px; }
.quick input::placeholder { color: #86868b; }
.quick input:focus, .quick select:focus { outline: none; border-color: var(--violet-soft); }
.quick .invalid { border-color: #ff453a; }
.form-msg { margin-top: 16px; min-height: 1.4em; color: var(--violet-soft); font-weight: 600; }
.contact-alt { margin-top: 18px; color: #a1a1a6; font-size: 15px; }
.contact-alt a { color: #f5f5f7; border-bottom: 1px solid #6e6e73; }

/* notif « votre neveu » */
.ios-banner { position: fixed; z-index: 200; top: calc(10px + env(safe-area-inset-top, 0px)); left: 50%; translate: -50% 0; width: min(400px, calc(100vw - 20px)); display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border: 0; border-radius: 24px; background: rgba(250,250,252,.86); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); color: var(--ink); text-align: left; cursor: pointer; box-shadow: 0 20px 60px rgba(0,0,0,.22); transform: translateY(-160%); visibility: hidden; transition: transform .8s cubic-bezier(.2, 1.25, .35, 1), visibility 0s linear .8s; }
.ios-banner.show { transform: none; visibility: visible; transition: transform .8s cubic-bezier(.2, 1.25, .35, 1), visibility 0s; }
.ib-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--violet); color: #fff; display: grid; place-items: center; font-size: 25px; font-weight: 800; font-style: italic; letter-spacing: -.05em; padding-right: 2px; }
.ib-tx { display: grid; gap: 2px; min-width: 0; }
.ib-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 15px; line-height: 1.2; }
.ib-h b { font-weight: 650; }
.ib-h time { font-size: 13px; color: var(--muted); }
.ib-m { font-size: 15px; line-height: 1.3; }
@media (min-width: 861px) { .ios-banner { top: 68px; left: auto; right: 16px; translate: none; width: 370px; } }

/* ───────── Pixlendly : prise de rendez-vous ───────── */
.book-cta { height: 58px; padding: 0 30px; font-size: 18px; margin-top: 40px; gap: 10px; }
.book-cta span { transition: transform .3s var(--ease); }
.book-cta:hover span { transform: translateX(4px); }
.ct-or { margin-top: 44px; color: #86868b; font-size: 15px; }
.ct-or + .quick { margin-top: 14px; }
html.pxl-lock, html.pxl-lock body { overflow: hidden; }
.pxl[hidden], .pxl [hidden] { display: none !important; }
.pxl { position: fixed; inset: 0; z-index: 300; display: grid; align-items: end; justify-items: center; }
.pxl-veil { position: absolute; inset: 0; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .38s var(--ease); }
.pxl-sheet { position: relative; width: 100%; max-height: min(88svh, 760px); overflow-y: auto; overscroll-behavior: contain; background: #1d1d1f; color: #f5f5f7; border-radius: 28px 28px 0 0; padding: 0 max(20px, env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); box-shadow: 0 -20px 80px rgba(0,0,0,.5); transform: translateY(104%); transition: transform .5s cubic-bezier(.32, .72, 0, 1); outline: none; }
.pxl.is-open .pxl-veil { opacity: 1; }
.pxl.is-open .pxl-sheet { transform: none; }
.pxl-grab-zone { position: sticky; top: 0; z-index: 2; display: grid; place-items: center; height: 22px; margin: 0 -20px; background: #1d1d1f; touch-action: none; }
.pxl-grab { width: 38px; height: 5px; border-radius: 3px; background: #48484a; }
.pxl-head { display: grid; grid-template-columns: 36px 1fr 36px; align-items: start; gap: 8px; padding: 6px 0 18px; text-align: center; }
.pxl-ht { grid-column: 2; }
.pxl-k { font-size: 13px; font-weight: 600; color: var(--violet-soft); letter-spacing: .01em; }
.pxl-t { margin-top: 8px; font-size: clamp(30px, 8vw, 40px); font-weight: 700; line-height: .9; letter-spacing: -.035em; text-wrap: balance; }
.pxl-ic { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #2c2c2e; color: #f5f5f7; font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.pxl-ic:hover { background: #3a3a3c; }
.pxl-back { grid-column: 1; grid-row: 1; }
.pxl-x { grid-column: 3; grid-row: 1; font-size: 24px; }
.pxl-step { display: none; }
.pxl-step.is-on { display: block; animation: pxlIn .42s var(--ease) both; }
@keyframes pxlIn { from { opacity: 0; transform: translateX(18px); } }
.pxl-days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; margin: 0 -20px; padding: 2px 20px 4px; scrollbar-width: none; }
.pxl-days::-webkit-scrollbar { display: none; }
.pxl-day { flex: 0 0 64px; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; padding: 10px 0 11px; border: 1px solid #3a3a3c; border-radius: 18px; background: transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.pxl-day small { font-size: 12px; color: #a1a1a6; text-transform: capitalize; line-height: 1.1; }
.pxl-day b { font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.pxl-day:active { transform: scale(.95); }
.pxl-day[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); }
.pxl-day[aria-pressed="true"] small { color: rgba(255,255,255,.8); }
.pxl-lab { margin: 22px 0 12px; font-size: 14px; color: #a1a1a6; text-align: left; }
.pxl-lab::first-letter { text-transform: uppercase; }
.pxl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pxl-slot { height: 48px; border: 1px solid #3a3a3c; border-radius: 14px; background: #2c2c2e; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.pxl-slot:hover { border-color: var(--violet-soft); }
.pxl-slot:active { transform: scale(.95); background: var(--violet); border-color: var(--violet); }
.pxl-slot.is-taken { display: grid; place-content: center; gap: 1px; background: transparent; border-style: dashed; border-color: #3a3a3c; color: #6e6e73; cursor: not-allowed; }
.pxl-slot.is-taken s { font-size: 15px; text-decoration-thickness: 1.5px; line-height: 1; }
.pxl-slot.is-taken small { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ff6961; line-height: 1; }
.pxl-slot.is-taken:hover { border-color: #48484a; }
.pxl-slot.is-taken:active { transform: none; background: transparent; border-color: #48484a; }
.pxl-slot.nope { animation: pxlNope .42s cubic-bezier(.36, .07, .19, .97); }
@keyframes pxlNope { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.pxl-taken-msg { min-height: 1.3em; margin-top: 12px; font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--violet-soft); text-align: center; text-wrap: balance; }
.pxl-when { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: #2c2c2e; text-align: left; }
.pxl-when b { font-size: 18px; line-height: 1.15; letter-spacing: -.01em; }
.pxl-when b::first-letter { text-transform: uppercase; }
.pxl-when span { font-size: 13px; color: #a1a1a6; }
.pxl-form { display: grid; gap: 10px; margin-top: 14px; text-align: left; }
.pxl-form label { display: grid; gap: 5px; }
.pxl-form label span { font-size: 13px; color: #a1a1a6; padding-left: 4px; }
.pxl-form input, .pxl-form select { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid #424245; background: #000; color: #f5f5f7; font-size: 17px; }
.pxl-form input::placeholder { color: #6e6e73; }
.pxl-form input:focus, .pxl-form select:focus { outline: none; border-color: var(--violet-soft); }
.pxl-form .invalid { border-color: #ff453a; }
.pxl-err { min-height: 1.2em; font-size: 14px; color: #ff6961; }
.pxl-go { width: 100%; height: 54px; }
.pxl-note { font-size: 13px; color: #86868b; text-align: center; }
.pxl-done { text-align: center; padding: 6px 0 4px; }
.pxl-check { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--violet); display: grid; place-items: center; animation: pxlPop .6s cubic-bezier(.2, 1.5, .4, 1) both; }
.pxl-check svg { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: pxlDraw .5s .25s var(--ease) forwards; }
@keyframes pxlPop { from { transform: scale(.4); opacity: 0; } }
@keyframes pxlDraw { to { stroke-dashoffset: 0; } }
.pxl-big { font-size: 24px; font-weight: 700; line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
.pxl-big b { color: var(--violet-soft); }
.pxl-sub { margin: 8px 0 22px; color: #a1a1a6; }
.pxl-cal { margin-top: 18px; font-size: 14px; color: #86868b; }
.pxl-cal a { color: #f5f5f7; border-bottom: 1px solid #6e6e73; }
.pxl-pw { margin-top: 20px; font-size: 11px; color: #6e6e73; text-align: center; letter-spacing: .02em; }
.pxl-pw b { color: #a1a1a6; font-weight: 600; }
@media (min-width: 861px) {
  .pxl { align-items: center; }
  .pxl-sheet { width: 460px; border-radius: 28px; padding: 22px 26px 18px; transform: translateY(24px) scale(.96); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
  .pxl.is-open .pxl-sheet { transform: none; opacity: 1; }
  .pxl-grab-zone { display: none; }
  .pxl-days { margin: 0 -26px; padding: 2px 26px 4px; scroll-padding-inline: 26px; }
  .pxl-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .pxl-sheet, .pxl-veil { transition: opacity .2s; }
  .pxl-sheet { transform: none; opacity: 0; }
  .pxl.is-open .pxl-sheet { opacity: 1; }
  .pxl-step.is-on, .pxl-check, .pxl-check svg { animation: none; stroke-dashoffset: 0; }
}

/* ───────── FAQ ───────── */
.faq { padding: 16vh 0 18vh; background: var(--bg-2); }
.faq-l { max-width: 860px; margin: 7vh auto 0; padding: 0 var(--gut); }
.faq-i { border-top: 1px solid #d2d2d7; }
.faq-i:last-child { border-bottom: 1px solid #d2d2d7; }
.faq-i summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; cursor: pointer; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i h3 { font-size: clamp(21px, 2.3vw, 28px); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
.faq-ic { flex: 0 0 34px; height: 34px; border-radius: 50%; background: #fff; position: relative; transition: background .25s, transform .45s var(--ease); }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 2px; background: var(--ink); translate: -50% -50%; transition: background .25s; }
.faq-ic::after { rotate: 90deg; }
.faq-i[open] .faq-ic { background: var(--violet); transform: rotate(45deg); }
.faq-i[open] .faq-ic::before, .faq-i[open] .faq-ic::after { background: #fff; }
.faq-i summary:hover h3 { color: var(--violet); }
.faq-i p { max-width: 64ch; padding: 0 54px 28px 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.faq-i[open] p { animation: faqIn .45s var(--ease) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 860px) { .faq-i summary { padding: 22px 0; } .faq-i p { padding-right: 0; font-size: 17px; } }
.foot a { color: #c7c7cc; }

/* footer */
.foot { background: var(--night); color: #86868b; text-align: center; padding: 8vh var(--gut) 10vh; border-top: 1px solid #1d1d1f; font-size: 14px; }
.foot img { height: 40px; width: auto; margin: 0 auto 18px; }
.foot .tiny { margin-top: 8px; font-size: 12px; }

/* ───────── responsive ───────── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { height: 200vh; }
  .hero-pin { padding-top: calc(56px + 5vh); perspective: 700px; }
  /* mobile : le showreel devient une story verticale */
  .reel-card { width: min(64vw, 290px); aspect-ratio: 9 / 16; border-radius: 22px; margin-top: 4vh; }
  .story-ui { display: block; position: absolute; inset: 0 0 auto; z-index: 2; padding: 10px 10px 34px; background: linear-gradient(rgba(0,0,0,.4), transparent); pointer-events: none; }
  .st-bars { display: flex; gap: 4px; }
  .st-bars i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,.38); overflow: hidden; }
  .st-bars b { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
  .st-head { display: flex; align-items: center; gap: 8px; margin-top: 9px; color: #fff; font-size: 13.5px; line-height: 1; }
  .st-av { width: 28px; height: 28px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 2px #fff; display: grid; place-items: center; font-size: 15px; font-weight: 800; font-style: italic; letter-spacing: -.05em; padding-right: 1px; }
  .st-head b { font-weight: 650; }
  .st-head span:last-child { font-size: 12px; opacity: .78; }
  .services { height: auto; }
  .srv-pin { position: static; height: auto; grid-template-columns: 1fr; padding: 14vh var(--gut) 6vh; gap: 40px; }
  .srv-items { min-height: 0; display: grid; gap: 56px; }
  .srv { position: static; opacity: 1; transform: none; }
  .srv-dots, .srv-right { display: none; }
  .srv-vis { display: block; margin-top: 30px; }
  .srv-vis .srv-card { aspect-ratio: 4 / 5; border-radius: 22px; }
  .srv-vis .phone { width: min(72vw, 300px); margin: 0 auto; }
  /* duo Mac + iPhone : le Mac en haut à gauche, l'iPhone devant lui en bas à droite */
  .duo { position: relative; aspect-ratio: 1 / .8; }
  .duo .mac { position: absolute; top: 0; left: 1%; width: 86%; }
  .srv-vis .duo .phone { position: absolute; right: 0; bottom: 0; width: 30%; margin: 0; }
  /* le téléphone reste collé à l'écran pendant que les notifs tombent */
  .ph-scrub { height: calc(min(72vw, 300px) * 19.5 / 9 + 100vh); height: calc(min(72vw, 300px) * 19.5 / 9 + 100svh); }
  .ph-scrub .phone { position: sticky; top: calc(50vh - min(72vw, 300px) * 19.5 / 18 + 24px); top: calc(50svh - min(72vw, 300px) * 19.5 / 18 + 24px); }
  /* mobile aussi : la section reste collée et le scroll vertical fait défiler les réalisations à l'horizontale */
  .work { overflow: visible; }
  .work-pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; padding: 56px 0 0; overflow: hidden; }
  .work.ring .wk-stage { --cw: min(56vw, 240px, calc((100vh - 330px) * 9 / 16)); perspective: 950px; margin-top: 4vh; }
  .wk { border-radius: 20px; }
  .wk b { font-size: 18px; }
  .faces { grid-template-columns: repeat(2, 1fr); height: 80vh; }
  .col:nth-child(n+3) { display: none; }
  .quick { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero-pin { position: static; height: auto; padding-bottom: 10vh; }
  .reel-cap { opacity: 1; }
  .mani-t .w { opacity: 1; }
  .mq-row, .srv-card img { animation: none; }
  .services { height: auto; }
  .srv-pin { position: static; height: auto; grid-template-columns: 1fr; padding: 14vh var(--gut) 6vh; }
  .srv-items { min-height: 0; display: grid; gap: 56px; }
  .srv { position: static; opacity: 1; transform: none; }
  .srv-dots, .srv-right { display: none; }
  .srv-vis { display: block; margin-top: 30px; max-width: 360px; }
  .srv-vis .srv-card { aspect-ratio: 4 / 5; border-radius: 22px; }
  .ph-scrub { height: auto; }
  .work { height: auto !important; }
  .work-pin { position: static; height: auto; overflow: visible; }
  .work-track { overflow-x: auto; width: auto; }
  .wk-bar { display: none; }
  .ios-banner { transition: opacity .3s, visibility 0s linear .3s; transform: none; opacity: 0; }
  .ios-banner.show { opacity: 1; transition: opacity .3s; }
}
