/* LupFeed — page d'accueil
   Palette et typographie dans l'esprit Apple : blanc, gris très clair,
   encre presque noire, un seul bleu. Les photos portent la couleur. */

:root {
  --white: #ffffff;
  --mist: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --black: #000000;
  --on-black: #f5f5f7;
  --on-black-2: #a1a1a6;
  --link-on-black: #2997ff;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-logo: "Bricolage Grotesque", var(--font);

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1240px;
  --nav-h: 52px;
  --r-md: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.47 var(--font);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(0, 113, 227, 0.22); color: var(--ink); }
.work ::selection { background: rgba(41, 151, 255, 0.4); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.work :focus-visible { outline-color: var(--link-on-black); }
html { scrollbar-color: #b8b8bd transparent; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 999px; transform: translateY(-200%); }
.skip:focus { transform: none; }

h2 { font-size: clamp(2.25rem, 5.2vw, 4rem); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
h3 { font-weight: 600; letter-spacing: -0.02em; }

/* ── Boutons et liens ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  background: var(--blue); color: #fff;
  font: 400 17px/1 var(--font); letter-spacing: -0.011em;
  border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--blue-hover); }
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 32px; padding: 0 14px; font-size: 13px; }
.link-arrow { color: var(--link); display: inline-flex; align-items: baseline; gap: .3em; }
.link-arrow::after { content: ""; width: .42em; height: .42em; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-.08em) rotate(45deg); transition: transform .3s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.link-arrow:hover::after { transform: translate(.22em, -.08em) rotate(45deg); }

/* ── Navigation ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, transform .5s var(--ease);
}
.nav.is-scrolled { border-bottom-color: rgba(0, 0, 0, 0.1); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-in { max-width: calc(var(--max) + var(--gutter) * 2); height: 100%; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 13px; letter-spacing: -0.005em; }
.nav-links a { color: var(--ink); opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.logo {
  display: inline-flex; flex-direction: column; justify-content: center;
  width: 34px; height: 34px; padding: 0 0 0 4px;
  border: 2px solid var(--ink); border-right-color: transparent;
  font-family: var(--font-logo); font-weight: 800; line-height: .88; letter-spacing: -0.04em; white-space: nowrap; color: var(--ink);
}
.logo .l { font-size: 11px; }
.logo .f { font-size: 14px; }

/* ── Canvas WebGL : une seule surface, posée sur les photos ── */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; display: none; }
.gl-ready #gl { display: block; }
.gl-ready [data-gl] img, .gl-ready [data-gl] video { opacity: 0 !important; }
.gl-ready .tile-media { background: none; }

/* ── Hero ── */
.hero { padding-top: calc(var(--nav-h) + clamp(40px, 9vh, 104px)); }
.hero-top { display: grid; gap: clamp(24px, 4vw, 40px); padding-bottom: clamp(36px, 6vh, 72px); }
.hero-title { font-size: clamp(2.75rem, 9vw, 6rem); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .ln > span { display: block; }
.hero-side { display: grid; gap: 28px; max-width: 34rem; }
.hero-lead { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.4; color: var(--ink-2); letter-spacing: -0.015em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

.hero-media {
  --inset: var(--gutter); --rad: 28px;
  position: relative; width: 100%; height: clamp(380px, 82vh, 900px);
  clip-path: inset(0 var(--inset) round var(--rad));
  background: var(--mist); overflow: hidden;
}
.gl-ready .hero-media { clip-path: none; background: none; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-media img.is-on, .hero-media video.is-on { opacity: 1; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; }
.hero-caption { font-size: 13px; color: var(--ink-2); }
.hero-dots { display: flex; gap: 4px; }
.hero-dots button { width: 40px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.hero-dots i { display: block; width: 100%; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.hero-dots i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* ── Manifeste ── */
.manifesto { padding-block: clamp(96px, 20vh, 220px); }
.manifesto p { max-width: 20em; font-size: clamp(1.75rem, 4.3vw, 3.5rem); line-height: 1.12; font-weight: 600; letter-spacing: -0.03em; text-wrap: pretty; }

/* ── L'écran : une page blanche devient un site (état par défaut : site fini, lisible sans JS) ── */
.reveal-pin { display: grid; gap: clamp(32px, 6vh, 56px); justify-items: center; padding: 0 var(--gutter) clamp(72px, 12vh, 140px); }
.reveal-title { max-width: 16em; text-align: center; }
.imac { width: min(88vw, 100vh); container-type: inline-size; }
.imac-display { position: relative; padding: 1.5cqw; background: linear-gradient(135deg, #1c1c1f 0%, #060607 42%, #121214 100%); border-radius: 1.7cqw 1.7cqw 0 0; box-shadow: inset 0 0 0 .1cqw #2c2c30, 0 0 0 .09cqw #b4b5ba; }
.imac-display::before { content: ""; position: absolute; top: .55cqw; left: 50%; width: .4cqw; height: .4cqw; margin-left: -.2cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3b4a63, #0c0d10 70%); box-shadow: 0 0 0 .08cqw #26262a; }
.imac-glare { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(118deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 22%, transparent 36%); pointer-events: none; z-index: 2; }
.imac-screen { position: relative; aspect-ratio: 1.7; border-radius: .35cqw; overflow: hidden; background: #fff; container-type: inline-size; display: grid; grid-template-rows: auto 1fr auto; gap: 2.6cqw; padding: 2.6cqw 4cqw 3cqw; color: var(--ink); }
.imac-chin { position: relative; height: 7cqw; background: linear-gradient(180deg, #f3f3f5 0%, #e1e2e5 38%, #cdced3 100%); border-radius: 0 0 1.7cqw 1.7cqw; box-shadow: inset 0 .1cqw 0 rgba(255, 255, 255, 0.9), inset 0 -.2cqw .4cqw rgba(0, 0, 0, 0.14), inset .2cqw 0 .3cqw rgba(0, 0, 0, 0.05), inset -.2cqw 0 .3cqw rgba(0, 0, 0, 0.05), 0 0 0 .09cqw #b4b5ba; }
.imac-stand { position: relative; width: 20cqw; height: 10cqw; margin-inline: auto; background: linear-gradient(90deg, #a9aab0 0%, #e6e7ea 20%, #d2d3d8 50%, #ecedef 80%, #a4a5ab 100%); clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%); }
.imac-stand::before { content: ""; position: absolute; inset: 0 0 45% 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0)); }
.imac-foot { width: 28cqw; height: 1.1cqw; margin-inline: auto; background: linear-gradient(180deg, #eeeff1, #b3b4b9); border-radius: .3cqw .3cqw .9cqw .9cqw; }
.imac-shadow { width: 52cqw; height: 3.4cqw; margin: -1.2cqw auto 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 68%); filter: blur(.5cqw); }
/* Le site fictif à l'écran (Galerie Aubane) : palette Riviera, Bricolage Grotesque + Work Sans */
.imac-screen.rv { background: var(--ecume); color: var(--encre); font-family: "Work Sans", var(--font); letter-spacing: 0; }
.ms-intro { display: none; position: absolute; inset: 0; z-index: 3; place-content: center; justify-items: center; gap: 1.6cqw; background: #fff; color: var(--ink); font-family: var(--font); text-align: center; }
.ms-intro p { margin: 0; }
.ms-typed { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; padding-right: .5cqw; border-right: .3cqw solid var(--blue); font-size: 4.4cqw; line-height: 1.15; font-weight: 600; letter-spacing: -0.035em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { border-right-color: transparent; } }
.ms-intro-sub { font-size: 1.9cqw; color: var(--ink-2); letter-spacing: -0.01em; }
.ms-nav { display: flex; align-items: center; gap: 2.6cqw; font-size: 1.25cqw; color: #56636A; }
.ms-nav b { margin-right: auto; font-family: var(--font-logo); font-weight: 800; font-size: 1.9cqw; letter-spacing: -0.04em; color: var(--petrole); }
.ms-nav i { font-style: normal; font-weight: 600; padding: .7cqw 1.5cqw; border-radius: 99px; background: var(--petrole); color: var(--ecume); }
.ms-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4cqw; align-items: center; min-height: 0; }
.ms-copy { display: grid; gap: 1.5cqw; justify-items: start; }
.ms-kicker { font-size: 1.15cqw; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8A5A36; padding-top: 1cqw; border-top: .25cqw solid var(--cuivre); }
.ms-title { font-family: var(--font-logo); font-size: 6.4cqw; line-height: .98; font-weight: 800; letter-spacing: -0.04em; }
.ms-title .ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.ms-title .ln > span { display: block; }
.ms-text { font-size: 1.6cqw; line-height: 1.4; color: #56636A; max-width: 22em; }
.ms-btn { margin-top: .6cqw; padding: 1.05cqw 2.1cqw; border-radius: 99px; background: var(--petrole); color: var(--ecume); font-size: 1.35cqw; font-weight: 600; }
.ms-photo { height: 100%; min-height: 0; border-radius: 2cqw; overflow: hidden; background: var(--sable); }
.ms-photo img, .ms-tile img { width: 100%; height: 100%; object-fit: cover; }
.ms-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.ms-tile { aspect-ratio: 16 / 6.4; border-radius: 1.4cqw; overflow: hidden; background: var(--sable); }

.motion .reveal-pin { display: block; position: relative; height: 100vh; height: 100svh; padding: 0; overflow: hidden; }
.motion .reveal-title { position: absolute; inset: calc(var(--nav-h) + 8vh) var(--gutter) auto; margin-inline: auto; }
.motion .imac { position: absolute; left: 50%; bottom: 3vh; transform-origin: 50% 100%; }
/* Téléphone : le titre et l'écran s'empilent au centre de la fenêtre, sans jamais se chevaucher */
@media (max-width: 719px) {
  .motion .reveal-pin { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5svh; padding: var(--nav-h) var(--gutter) 0; }
  .motion .reveal-title { position: static; margin: 0; }
  .motion .imac { position: static; transform-origin: 50% 0; }
}
.motion .ms-intro { display: grid; }

/* ── En-têtes de section ── */
.sec-head { display: grid; gap: 20px 64px; align-items: end; margin-bottom: clamp(40px, 7vh, 88px); }
.sec-head p { max-width: 30rem; color: var(--ink-2); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.4; }

/* ── Services ── */
.services { position: relative; background: var(--mist); padding-block: clamp(96px, 16vh, 180px); }
.svc-list { border-top: 1px solid var(--line); }
.svc { display: grid; gap: 14px; padding-block: clamp(28px, 4.5vh, 48px); border-bottom: 1px solid var(--line); transition: opacity .45s var(--ease); }
.svc h3 { font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; transition: transform .6s var(--ease); }
.svc p { color: var(--ink-2); max-width: 34rem; }
.svc-end { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; }
.price { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.price b { color: var(--ink); font-weight: 600; }
.svc-thumb { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 8px; background: var(--line); }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-float { display: none; }



/* Cartes de services : la photo d'abord, la carte s'assombrit et s'incline au survol */
.cards { display: grid; gap: 20px; perspective: 1400px; }
.card { position: relative; isolation: isolate; display: grid; grid-template-rows: auto 1fr; padding: 10px; border-radius: var(--r-lg); background: var(--white); overflow: hidden; transition: box-shadow .6s var(--ease); will-change: transform; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.13), transparent 65%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.card-photo { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-body { display: grid; grid-template-rows: auto 1fr auto auto; gap: 12px; padding: clamp(20px, 2.2vw, 28px) clamp(14px, 1.6vw, 22px) clamp(14px, 1.6vw, 20px); }
.card h3 { font-size: clamp(1.5rem, 2.1vw, 1.875rem); line-height: 1.1; letter-spacing: -0.03em; transition: color .4s; }
.card p { color: var(--ink-2); transition: color .4s; }
.card-foot { margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 1.1875rem; transition: border-color .4s; }
.card .price, .card .price b { transition: color .4s; }
.card-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.card .link-arrow { transition: color .4s; }
@media (hover: hover) and (pointer: fine) {
  .card:hover, .card:focus-within { box-shadow: 0 44px 70px -34px rgba(0, 0, 0, 0.5); }
  .card:hover::before, .card:focus-within::before { transform: scaleY(1); }
  .card:hover::after { opacity: 1; }
  .card:hover .card-photo img, .card:focus-within .card-photo img { transform: scale(1.07); }
  .card:hover h3, .card:focus-within h3, .card:hover .price b, .card:focus-within .price b { color: var(--on-black); }
  .card:hover p, .card:focus-within p, .card:hover .price, .card:focus-within .price, .card:hover .link-quiet, .card:focus-within .link-quiet { color: var(--on-black-2); }
  .card:hover .card-foot, .card:focus-within .card-foot { border-top-color: rgba(255, 255, 255, 0.18); }
  .card:hover .link-arrow:not(.link-quiet), .card:focus-within .link-arrow:not(.link-quiet) { color: var(--link-on-black); }
  .card:focus-within :focus-visible { outline-color: var(--link-on-black); }
}
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* ── Scènes de démonstration (identité, réseaux) ── */
.rv { --petrole: #1F4E5A; --sable: #EADFC8; --cuivre: #C98B5E; --ecume: #FAF8F3; --encre: #16262B; }
.scene { padding-block: clamp(80px, 14vh, 160px); }
.scene-grid { display: grid; gap: clamp(36px, 6vw, 96px); align-items: center; }
.scene-text { display: grid; gap: clamp(24px, 4vh, 40px); }
.scene-text h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); max-width: 12em; }
.scene-steps { display: grid; border-top: 1px solid var(--line); max-width: 30rem; }
.scene-steps li { display: grid; gap: 2px; padding-block: 14px; border-bottom: 1px solid var(--line); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.scene-steps b { font-weight: 600; }
.scene-steps span { color: var(--ink-2); font-size: 15px; }
.scenes-pin .scene-steps li:not(.is-on) { opacity: .28; }
.scenes-pin .scene-steps li.is-on { transform: translateX(10px); }
.scene-stage { display: grid; place-items: center; perspective: 1400px; }

/* Planche d'identité */
.board { width: min(100%, 600px); padding: clamp(18px, 3vw, 32px); border-radius: var(--r-lg); background: var(--ecume); color: var(--encre); display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(14px, 2vw, 24px); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 40px 80px -40px rgba(22, 38, 43, 0.35); }
.board-logo { grid-row: span 2; display: grid; place-items: center; border-radius: 14px; background: #fff; padding: 8%; overflow: hidden; }
.board-logo svg { width: 100%; overflow: visible; }
.guides line { stroke: var(--cuivre); stroke-width: .75; stroke-dasharray: 3 4; opacity: .7; }
#brandFrame { fill: none; stroke: var(--petrole); stroke-width: 12; stroke-dasharray: 1; stroke-dashoffset: 0; }
.board-logo text { font-family: var(--font-logo); font-weight: 800; letter-spacing: -0.04em; fill: var(--encre); }
.logo-l { font-size: 76px; }
.logo-f { font-size: 97px; }
.board-palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; align-self: start; }
.swatch { display: grid; gap: 1px; font-size: 10px; line-height: 1.3; }
.swatch i { display: block; aspect-ratio: 3 / 4; border-radius: 8px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(22, 38, 43, 0.1); margin-bottom: 5px; }
.swatch b { font-weight: 600; }
.swatch span { color: #56636A; font-variant-numeric: tabular-nums; font-size: 9px; }
.board-type { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-self: end; }
.specimen { display: grid; gap: 0; padding: 12px 14px; border-radius: 12px; background: #fff; font-size: 11px; line-height: 1.35; }
.specimen span:last-child { color: #56636A; }
.specimen b { font-weight: 600; }
.aa { font-size: 40px; line-height: 1; margin-bottom: 8px; color: var(--petrole); }
.aa-display { font-family: var(--font-logo); font-weight: 800; letter-spacing: -0.04em; }
.aa-text { font-family: "Work Sans", var(--font); font-weight: 400; }
.board-apps { grid-column: 1 / -1; display: grid; grid-template-columns: 1.5fr auto 1fr; gap: clamp(10px, 2vw, 20px); align-items: center; }
.app { border-radius: 12px; }
.app-card { aspect-ratio: 85 / 50; background: var(--petrole); color: var(--sable); padding: 9%; display: flex; flex-direction: column; justify-content: space-between; font-size: 9px; line-height: 1.4; box-shadow: 0 18px 30px -18px rgba(22, 38, 43, 0.6); }
.app-avatar { width: clamp(64px, 11vw, 92px); aspect-ratio: 1; border-radius: 50%; background: var(--petrole); display: grid; place-items: center; }
.app-post { aspect-ratio: 4 / 5; max-height: 150px; justify-self: end; background: var(--sable); color: var(--petrole); padding: 12%; display: flex; align-items: flex-end; font-family: var(--font-logo); font-weight: 800; font-size: clamp(11px, 1.3vw, 15px); line-height: 1; letter-spacing: -0.03em; }
.logo-on-dark { border-color: var(--sable, #EADFC8); border-right-color: transparent; color: var(--ecume, #FAF8F3); }
.logo-xs { width: 18px; height: 18px; padding-left: 2px; border-width: 1.5px; border-color: #EADFC8; border-right-color: transparent; color: #FAF8F3; }
.logo-xs .l { font-size: 5.5px; } .logo-xs .f { font-size: 7px; }


/* Fenêtre de navigateur : le site passe de la maquette au site fini */
.scene-social { background: var(--mist); }
.browser-wrap { position: relative; width: min(100%, 600px); }
.browser { border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 50px 90px -45px rgba(0, 0, 0, 0.4); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding-inline: 14px; background: var(--mist); border-bottom: 1px solid rgba(0, 0, 0, 0.07); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d2d2d7; }
.url { margin-inline: auto; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding-inline: 14px; border-radius: 8px; background: #fff; font-size: 11px; color: var(--ink-2); transform: translateX(-15px); }
.lock { width: 9px; height: 11px; fill: none; stroke: var(--blue); stroke-width: 1.5; }
.browser-view { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.site-wire, .site-real { position: absolute; inset: 0; }
.site-wire { padding: 5%; display: grid; grid-template-rows: auto 1fr auto; gap: 6%; opacity: 0; }
.w { background: #e8e8ed; border-radius: 6px; transform-origin: left; }
.w-nav { height: 12px; width: 100%; }
.w-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; }
.w-col { display: grid; gap: 8px; align-content: center; }
.w-h { height: 18px; width: 90%; } .w-h2 { width: 60%; }
.w-p { height: 7px; width: 80%; } .w-p2 { width: 55%; }
.w-btn { height: 20px; width: 38%; border-radius: 99px; margin-top: 6px; }
.w-img { border-radius: 10px; }
.w-cards { grid-template-columns: repeat(3, 1fr); gap: 4%; }
.w-cards .w { height: 46px; }
.site-page { padding: 5%; display: grid; gap: 22px; will-change: transform; }
.s-nav { display: flex; gap: 14px; align-items: center; font-size: 9px; color: var(--ink-2); }
.s-nav b { margin-right: auto; font-size: 11px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.s-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; }
.s-copy { display: grid; gap: 9px; justify-items: start; }
.s-title { font-size: clamp(15px, 2.1vw, 25px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; }
.s-text { font-size: 9.5px; line-height: 1.4; color: var(--ink-2); }
.s-btn { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 9px; }
.s-photo { aspect-ratio: 4 / 4.4; border-radius: 12px; background: #e8e8ed center / cover; }
.s-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.s-card { display: grid; gap: 3px; font-size: 8.5px; line-height: 1.35; color: var(--ink-2); }
.s-card i { aspect-ratio: 16 / 10; border-radius: 8px; background: #e8e8ed center / cover; margin-bottom: 4px; }
.s-card b { font-size: 10px; font-weight: 600; color: var(--ink); }
.snippet { position: absolute; left: -5%; bottom: 7%; z-index: 2; width: 62%; display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 24px 44px -22px rgba(0, 0, 0, 0.4); }
.snippet svg { flex: none; width: 15px; height: 15px; margin-top: 2px; fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; }
.snippet div { display: grid; gap: 1px; font-size: 10px; line-height: 1.35; color: var(--ink-2); }
.snippet b { font-size: 13px; font-weight: 500; color: var(--link); letter-spacing: -0.01em; }
.snippet em { font-style: normal; }
.mini-phone { position: absolute; right: -4%; bottom: -8%; z-index: 3; width: 23%; aspect-ratio: 9 / 18.5; padding: 4px; border-radius: 20px; background: #1d1d1f; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.55); }
.mini-phone > div { height: 100%; border-radius: 16px; overflow: hidden; background: #fff; display: grid; grid-template-rows: 52% auto auto; align-content: start; gap: 7px; justify-items: start; padding-bottom: 8px; }
.mini-phone i { width: 100%; height: 100%; background: #e8e8ed center / cover; }
.mini-phone strong { padding-inline: 8px; font-size: 10px; line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; }
.mini-phone .s-btn { margin-left: 8px; font-size: 6.5px; padding: 4px 8px; }
@media (max-width: 899px) { .snippet { left: 0; } .mini-phone { right: 0; } .browser-wrap { margin-bottom: 24px; } .phone { --ph: min(76svh, 600px); } }

/* Téléphone et fil */
.phone { --ph: clamp(500px, 74vh, 660px); height: var(--ph); width: calc(var(--ph) * 0.49); padding: 9px; border-radius: 46px; background: #1d1d1f; box-shadow: inset 0 0 0 1.5px #3a3a3c, 0 50px 90px -40px rgba(0, 0, 0, 0.5); transform-style: preserve-3d; will-change: transform; }
.phone-screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #fff; color: #1d1d1f; font-size: 12px; line-height: 1.35; letter-spacing: 0; }
.phone-bar { position: absolute; inset: 0 0 auto 0; z-index: 2; height: 78px; padding: 44px 16px 0; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(0, 0, 0, 0.08); font-size: 15px; }
.phone-bar::before { content: ""; position: absolute; top: 10px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 14px; background: #1d1d1f; }
.feed { padding-top: 78px; will-change: transform; }
.ava { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--petrole); display: grid; place-items: center; }
.ava-lg { width: 64px; height: 64px; }
.profile { padding: 16px 14px 14px; display: grid; gap: 12px; }
.profile-top { display: flex; gap: 14px; align-items: center; }
.profile-top div { display: grid; gap: 2px; }
.profile-top b { font-size: 14px; }
.profile-top span { color: #6e6e73; }
.follow { display: grid; place-items: center; height: 32px; border-radius: 9px; background: var(--blue); color: #fff; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-inline: -14px; }
.grid i { aspect-ratio: 1; background: #eee center / cover; display: grid; place-items: center; font-style: normal; }
.grid em { font-style: normal; font-family: var(--font-logo); font-weight: 800; font-size: 13px; line-height: .95; letter-spacing: -0.03em; text-align: center; }
.g-petrole { background: var(--petrole) !important; color: var(--ecume); }
.g-sable { background: var(--sable) !important; color: var(--petrole); }
.g-cuivre { background: var(--cuivre) !important; color: var(--encre); }
.g-cuivre em { font-size: 34px; }
.post { padding-bottom: 14px; }
.post-head { display: flex; align-items: center; gap: 9px; padding: 10px 12px; font-size: 12.5px; }
.post-media { aspect-ratio: 4 / 5; background: #eee center / cover; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 9%; font-family: var(--font-logo); position: relative; }
.post-media strong { font-weight: 800; font-size: 25px; line-height: .98; letter-spacing: -0.035em; }
.post-media small { font-family: "Work Sans", var(--font); font-size: 11px; font-weight: 600; }
.m-cover { background: var(--petrole); color: var(--ecume); }
.m-cover small { color: var(--sable); }
.open-frame { position: absolute; inset: 9% 30% auto 9%; height: 26%; border: 5px solid var(--sable); border-right-color: transparent; }
.m-quote { background: var(--petrole); color: var(--ecume); }
.m-quote em { font-style: normal; font-size: 70px; line-height: .6; color: var(--cuivre); }
.m-quote small { color: var(--sable); }
.m-offer { background: var(--sable); color: var(--petrole); }
.m-offer strong { font-size: 30px; }
.pill { align-self: flex-start; padding: 7px 13px; border-radius: 99px; background: var(--petrole); color: var(--ecume); font: 600 11px "Work Sans", var(--font); }
.post-actions { display: flex; gap: 12px; padding: 10px 12px 6px; }
.post-actions svg { width: 22px; height: 22px; fill: none; stroke: #1d1d1f; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.ic-heart { transition: fill .25s, stroke .25s, transform .5s cubic-bezier(.3, 1.9, .5, 1); transform-origin: center; }
.post.is-liked .ic-heart { fill: #ff3b30; stroke: #ff3b30; transform: scale(1.14); }
.post p { padding-inline: 12px; }
.post p b { font-weight: 600; }

@media (min-width: 900px) {
  .scene-grid { grid-template-columns: 1fr 1fr; }
  .scene-flip .scene-text { order: 2; }
  .scenes-pin .scene { padding-block: 0; }
  .scenes-pin .scene-pin { height: 100vh; display: grid; align-items: center; padding-block: 20px; }
  /* Scène figée : seule l'étape en cours déplie son texte, pour que le prix et le bouton tiennent toujours à l'écran */
  .scenes-pin .scene-steps li { padding-block: 12px; }
  .scenes-pin .scene-steps li:not(.is-on) span { display: none; }
}


/* ── Page Services ── */
.page-hero { padding: calc(var(--nav-h) + clamp(48px, 11vh, 120px)) 0 clamp(48px, 9vh, 104px); }
.page-hero .wrap { display: grid; gap: clamp(20px, 3vw, 32px); }
.page-hero .hero-lead { max-width: 34rem; }
.jump { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.scene-desc { max-width: 30rem; color: var(--ink-2); font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); line-height: 1.42; }
.page-services .scene-text { gap: clamp(16px, 2.6vh, 28px); }
.scene-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.link-quiet { color: var(--ink-2); }
.band { background: var(--mist); padding-block: clamp(72px, 12vh, 140px); }
.band-in { display: grid; gap: 28px; align-items: center; }
.band h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
.band p { margin-top: 14px; max-width: 32rem; color: var(--ink-2); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.4; }
.band .btn { justify-self: start; }
@media (min-width: 900px) { .band-in { grid-template-columns: 1fr auto; } }
@media (min-width: 900px) and (max-height: 760px) {
  .scenes-pin .scene-steps li { padding-block: 8px; }
  .scenes-pin .scene-text { gap: 14px; }
  .scenes-pin .scene-text h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
  .scenes-pin .scene-desc { font-size: 1rem; }
}
}


/* ── Page Mentions légales ── */
.page-legal .hero-title { font-size: clamp(2.25rem, 5.6vw, 4rem); max-width: 14em; }
.legal { max-width: 46rem; padding-bottom: clamp(96px, 16vh, 180px); }
.legal h2 { font-size: clamp(1.625rem, 2.8vw, 2.125rem); margin: 64px 0 20px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 16px); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1875rem; margin: 28px 0 6px; }
.legal p { color: var(--ink-2); margin-bottom: 12px; }
.legal a { color: var(--link); }
.legal a:hover { text-decoration: underline; text-underline-offset: .2em; }
.legal dl { display: grid; }
.legal dl > div { display: grid; gap: 2px 24px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.legal dt { font-weight: 600; }
.legal dd { color: var(--ink-2); }
.todo { background: rgba(255, 196, 0, 0.28); color: var(--ink); padding: 1px 6px; border-radius: 6px; }
@media (min-width: 720px) { .legal dl > div { grid-template-columns: 14rem 1fr; } }

/* ── Réalisations ── */
.work { background: var(--black); color: var(--on-black); padding-bottom: clamp(96px, 16vh, 180px); }
.work-pin { overflow: hidden; }
.work-track { display: flex; align-items: center; gap: clamp(20px, 3.2vw, 56px); padding: clamp(88px, 14vh, 140px) var(--gutter) clamp(48px, 8vh, 96px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.work-track::-webkit-scrollbar { display: none; }
.work-intro { flex: 0 0 78vw; display: grid; gap: 18px; align-content: center; scroll-snap-align: start; }
.work-intro h2 { font-size: clamp(2.75rem, 8vw, 6rem); letter-spacing: -0.035em; }
.work-intro p { color: var(--on-black-2); max-width: 20rem; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.4; }
.work-hint { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: var(--on-black-2); margin-top: 12px; }
.work-hint .desk { display: none; }
.tile { flex: 0 0 76vw; scroll-snap-align: center; display: grid; gap: 14px; }
.tile-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: #161617; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; }
.t-screen .tile-media { aspect-ratio: 16 / 9; }
.tile-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sound { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; font: 500 13px/1 var(--font); cursor: pointer; transition: background-color .25s; }
.sound:hover { background: rgba(0, 0, 0, 0.75); }
.sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sound .wave { display: none; }
.sound[aria-pressed="true"] .wave { display: inline; }
.sound[aria-pressed="true"] .cross { display: none; }
/* Enregistrement d'écran de téléphone : cadre d'appareil, barre d'état du système rognée en haut */
.t-phone .tile-media { aspect-ratio: 1206 / 2440; border-radius: 34px; border: 7px solid #1d1d1f; background: #000; box-shadow: 0 0 0 1.5px #3a3a3c; }
.t-phone .tile-media video { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; object-fit: fill; }
.t-phone { flex-basis: 62vw; }
.t-doc .tile-media { aspect-ratio: 792 / 612; }   /* document imprimé, montré entier */
.tile figcaption { display: grid; gap: 2px; font-size: 14px; line-height: 1.35; }
.tile figcaption b { font-weight: 600; }
.tile figcaption span { color: var(--on-black-2); }
.work-end { flex: 0 0 1px; height: 1px; }   /* une hauteur, sinon la marge de fin ne compte pas dans la longueur de la galerie */

.quote { max-width: 60rem; padding-top: clamp(64px, 12vh, 140px); display: grid; gap: 28px; }
.quote blockquote { font-size: clamp(1.5rem, 3.4vw, 2.75rem); line-height: 1.16; font-weight: 600; letter-spacing: -0.028em; text-wrap: pretty; }
.quote figcaption { font-size: 14px; color: var(--on-black-2); }
.quote figcaption b { display: block; color: var(--on-black); font-weight: 600; }


/* Chiffres d'une réalisation, sous le témoignage */
.stats { max-width: 60rem; margin-top: clamp(48px, 8vh, 88px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.16); display: grid; gap: 20px; }
.stats dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
.stats dt { font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stats dd { margin-top: 8px; color: var(--on-black-2); font-size: 15px; }
.stats p { color: var(--on-black-2); font-size: 13px; }
@media (min-width: 720px) { .stats dl { grid-template-columns: repeat(4, 1fr); } }

/* Champ piège à robots : invisible et hors du parcours clavier */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note a { color: var(--link); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.form-note.is-ok { color: var(--ink); font-weight: 500; }
.btn:disabled { opacity: .6; cursor: default; }

/* ── Méthode : une frise qui avance avec le défilement (verticale sur mobile, horizontale ensuite) ── */
.method { padding-block: clamp(96px, 16vh, 180px); }
.frise { position: relative; --dot: 18px; }
.frise-line { position: absolute; left: calc(var(--dot) / 2 - 1px); top: 6px; bottom: 0; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.frise-line i { position: absolute; inset: 0; background: var(--ink); transform-origin: top left; }
.steps { display: grid; gap: 0; }
.steps li { position: relative; display: grid; gap: 6px; padding: 0 0 44px 48px; transition: opacity .6s var(--ease); }
.steps li:last-child { padding-bottom: 0; }
.dot { position: absolute; left: 0; top: 4px; width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--white); border: 2px solid var(--line); transition: background-color .4s, border-color .4s, transform .6s cubic-bezier(.3, 1.8, .5, 1), box-shadow .5s; }
.steps li.is-on .dot { background: var(--ink); border-color: var(--ink); transform: scale(1.15); box-shadow: 0 0 0 6px rgba(29, 29, 31, 0.08); }
.steps .n { font-size: 13px; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: clamp(1.3125rem, 1.9vw, 1.625rem); line-height: 1.15; transition: transform .6s var(--ease); }
.steps p { color: var(--ink-2); max-width: 24rem; }
.motion .steps li:not(.is-on) { opacity: .3; }
@media (min-width: 720px) {
  .frise-line { left: 0; right: 0; top: calc(var(--dot) / 2 - 1px); bottom: auto; width: auto; height: 2px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
  .steps li { padding: 52px 0 0; align-content: start; }
  .dot { top: 0; }
  .motion .method { padding-block: 0; }
  .motion .method-pin { min-height: 100vh; display: grid; align-content: center; padding-top: var(--nav-h); }
}

/* ── À propos ── */
.about { padding-bottom: clamp(96px, 16vh, 180px); }
.about-grid { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); max-width: 520px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text { display: grid; gap: 24px; }
.about-lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.42; color: var(--ink-2); max-width: 32rem; }
.points { display: grid; margin-top: 8px; border-top: 1px solid var(--line); }
.points > div { display: grid; gap: 2px 32px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.points dt { font-weight: 600; }
.points dd { color: var(--ink-2); }

/* ── Contact ── */
.contact { background: var(--mist); padding-block: clamp(96px, 16vh, 180px); }
.contact-grid { display: grid; gap: clamp(40px, 6vw, 96px); }
.contact-info { display: grid; gap: 20px; align-content: start; }
.contact-info > p { color: var(--ink-2); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.coords { display: grid; gap: 6px; margin-top: 12px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.coords a { color: var(--link); }
.coords a:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.form { display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  font: inherit; color: var(--ink); caret-color: var(--blue);
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #86868b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.err { font-size: 13px; color: #b3261e; }
.form .btn { justify-self: start; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--ink-2); max-width: 30rem; }

/* ── Pied de page ── */
.foot { background: var(--mist); border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 22px; }
.foot nav { display: flex; gap: 24px; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }

/* ── Petits écrans : la navigation se réduit au logo et au devis ── */
@media (max-width: 719px) {
  .nav-links { display: none; }
  .nav .btn-sm { margin-left: auto; }
}

/* ── À partir de la tablette ── */
@media (min-width: 720px) {
  .sec-head { grid-template-columns: 1.3fr 1fr; }
  .about-grid { grid-template-columns: 0.85fr 1fr; }
  .points > div { grid-template-columns: 12rem 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .tile { flex-basis: 44vw; }
  .work-intro { flex-basis: 50vw; }
}

/* ── Grand écran avec souris : galerie horizontale épinglée, image flottante ── */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr; margin-left: auto; margin-top: -8px; }

  .svc { grid-template-columns: minmax(0, 34rem) 1fr auto; column-gap: 48px; row-gap: 10px; align-items: start; }
  .svc h3, .svc p { grid-column: 1; }
  .svc-thumb { grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: center; width: min(100%, 220px); aspect-ratio: 4 / 3; margin: 0; }
  .svc-end { grid-column: 3; grid-row: 1 / span 2; align-self: center; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; min-width: 13rem; }
  .svc-list.is-hover .svc { opacity: .32; }
  .svc-list.is-hover .svc.is-on { opacity: 1; }
  .svc.is-on h3 { transform: translateX(14px); }

  .motion .work-pin { height: 100vh; }
  .motion .work-track { height: 100%; overflow: visible; padding-block: var(--nav-h) 0; scroll-snap-type: none; will-change: transform; }
  .work-hint .desk { display: inline; }
  .work-hint .mob { display: none; }
  .work-intro { flex-basis: 38vw; }
  .tile { flex-basis: auto; }
  .tile-media { aspect-ratio: auto; }
  .t-tall .tile-media { width: 25vw; height: 60vh; }
  .t-wide .tile-media { width: 40vw; height: 48vh; }
  .t-screen .tile-media { width: min(64vw, 106vh); height: auto; aspect-ratio: 16 / 9; }  /* capture d'écran : grande et entière */
  .t-screen.t-low { transform: none; }
  .t-phone { flex-basis: auto; }
  .t-phone .tile-media { height: 68vh; width: calc(68vh * 1206 / 2440); }
  .t-video .tile-media { width: min(50vw, 84vh); }
  .t-doc .tile-media { height: 60vh; width: calc(60vh * 792 / 612); }
  .t-low { transform: translateY(5vh); }
  .t-high { transform: translateY(-4vh); }
  .work-end { flex-basis: 10vw; }
}

/* ── Écran large : la photo du service suit le curseur dans la marge centrale ── */
@media (min-width: 1180px) and (hover: hover) and (pointer: fine) {
  .svc-thumb { display: none; }
  .svc-float { display: block; position: fixed; top: 0; left: 0; z-index: 5; width: 300px; height: 380px; margin-top: -190px; border-radius: var(--r-md); overflow: hidden; pointer-events: none; opacity: 0; clip-path: inset(50% 0 50% 0 round 18px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.35); will-change: transform, clip-path; }
  .svc-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .5s var(--ease), transform 1.1s var(--ease); }
  .svc-float img.is-on { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
