/* MCS Studio — deux univers : Design (clair, éditorial) et Tech-IA (sombre, technique) */

:root, html[data-side="design"] {
  --bg: #F2EADB; --bg-2: #E9DFCC; --ink: #0A0A0A; --mut: rgba(10,10,10,.62); --line: rgba(10,10,10,.16);
  --acc: #7E1F1E; --on-acc: #F2EADB; --card: #EDE3D1;
  --f-display: "Anton", "Arial Narrow", sans-serif; --f-serif: "Bodoni Moda", Didot, Georgia, serif;
  --f-body: "DM Sans", system-ui, sans-serif; --f-mono: "DM Sans", system-ui, sans-serif;
  --radius: 0px; --ease: cubic-bezier(.19,1,.22,1);
  color-scheme: light;
}
html[data-side="tech"] {
  --bg: #0A0B0D; --bg-2: #111317; --ink: #E9ECEF; --mut: #8C939D; --line: rgba(233,236,239,.11);
  --acc: #C8FF2E; --on-acc: #0A0B0D; --card: #121418;
  --f-display: "Space Grotesk", system-ui, sans-serif; --f-serif: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Space Grotesk", system-ui, sans-serif; --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 10px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[data-side="tech"] body {
  background-image: linear-gradient(rgba(233,236,239,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(233,236,239,.04) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px;
}
html[data-side="design"] body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
::selection { background: var(--acc); color: var(--on-acc); }

html[data-side="design"] .side-tech, html[data-side="tech"] .side-design,
html[data-side="design"] .only-tech, html[data-side="tech"] .only-design { display: none !important; }
html[data-side="tech"] .duo { grid-template-columns: minmax(0, 720px); }
.anchor { display: block; height: 0; }
.band { padding: clamp(64px, 9vw, 128px) clamp(16px, 5vw, 64px); max-width: 1440px; margin: 0 auto; }
.line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.wd { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; will-change: transform; }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.wi { display: inline-block; will-change: transform; }

/* ─── Chargement ─── */
.loader {
  position: fixed; inset: 0; z-index: 200; background: #0A0A0A; color: #F2EADB;
  display: grid; grid-template-rows: auto 1fr auto; padding: clamp(16px, 4vw, 40px);
  font: 500 12px/1 "DM Sans", sans-serif; letter-spacing: .18em; text-transform: uppercase;
}
.ld-top, .ld-bot { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.ld-mid { display: flex; align-items: center; justify-content: center; gap: .3em; flex-wrap: wrap; font: 400 clamp(48px, 11vw, 168px)/1 "Anton", sans-serif; letter-spacing: 0; }
.ld-word { display: inline-block; overflow: hidden; padding: .08em 0 .04em; }
.ld-word > span { display: inline-block; }
.ld-word:last-child > span { font-family: "JetBrains Mono", monospace; font-size: .62em; color: #C8FF2E; }
.ld-amp { font-family: "Bodoni Moda", serif; font-style: italic; color: #B23A37; font-size: .7em; }
.ld-count { font: 500 clamp(32px, 5vw, 64px)/1 "JetBrains Mono", monospace; letter-spacing: -.02em; }
.ld-bar { flex: 1; max-width: 420px; height: 1px; background: rgba(242,234,219,.2); }
.ld-bar i { display: block; height: 100%; background: #F2EADB; transform: scaleX(0); transform-origin: left; }
html.is-loading { overflow: hidden; }

/* ─── Rideau de bascule ─── */
.shift { position: fixed; inset: 0; z-index: 150; pointer-events: none; visibility: hidden; display: grid; place-content: center; text-align: center; gap: 18px; }
.shift.to-tech { background: #0A0B0D; color: #E9ECEF; border-bottom: 3px solid #C8FF2E; }
.shift.to-design { background: #F2EADB; color: #0A0A0A; border-bottom: 3px solid #7E1F1E; }
.shift-word { overflow: hidden; line-height: .9; padding: .05em 0; }
.shift.to-tech .shift-word { font: 500 clamp(72px, 16vw, 260px)/.9 "Space Grotesk", sans-serif; letter-spacing: -.06em; }
.shift.to-tech .shift-word .ch:nth-last-child(-n+2) { color: #C8FF2E; }
.shift.to-design .shift-word { font: 400 clamp(88px, 20vw, 320px)/.9 "Anton", sans-serif; text-transform: uppercase; }
.shift-sub { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; }
.shift.to-tech .shift-sub { font-family: "JetBrains Mono", monospace; letter-spacing: .04em; text-transform: none; color: #C8FF2E; }
.shift.to-design .shift-sub { font-family: "Bodoni Moda", serif; font-style: italic; letter-spacing: 0; text-transform: none; font-size: 22px; color: #7E1F1E; }

/* ─── Curseur ─── */
.cur { position: fixed; left: 0; top: 0; z-index: 190; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cur.on { opacity: 1; }
.cur-dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--acc); }
.cur-ring {
  position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  border: 1px solid var(--ink); display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s;
}
.cur.hover .cur-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--acc); }
.cur.label .cur-ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--acc); border-color: var(--acc); }
.cur.label .cur-dot { opacity: 0; }
.cur-label { font: 700 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-acc); opacity: 0; transition: opacity .2s; }
.cur.label .cur-label { opacity: 1; }
body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor label { cursor: none; }
body.has-cursor input, body.has-cursor textarea { cursor: text; }

/* ─── Barre ─── */
.bar {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 12px clamp(16px, 5vw, 64px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.mark { width: 14px; height: 14px; background: var(--acc); display: inline-block; transition: border-radius .5s var(--ease), transform .5s var(--ease); }
.brand:hover .mark { transform: rotate(45deg); }
html[data-side="tech"] .mark { border-radius: 50%; box-shadow: 0 0 12px var(--acc); }
.links { justify-self: end; display: flex; gap: 24px; font-size: 14px; }
.links a { text-decoration: none; opacity: .75; display: inline-block; position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.links a:hover { opacity: 1; }
.links a:hover::after { transform: scaleX(1); transform-origin: left; }

.switch { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; padding: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.sw-track { position: relative; width: 58px; height: 30px; border-radius: 30px; background: var(--ink); transition: background .4s; box-shadow: inset 0 0 0 1px var(--line); }
html[data-side="tech"] .sw-track { background: #1B1F24; }
.sw-knob { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); transition: transform .6s var(--ease), background .4s, box-shadow .4s; }
.switch:hover .sw-knob { transform: scale(.85); }
html[data-side="tech"] .sw-knob { transform: translateX(28px); background: var(--acc); box-shadow: 0 0 14px var(--acc), 0 0 40px rgba(200,255,46,.4); }
html[data-side="tech"] .switch:hover .sw-knob { transform: translateX(28px) scale(.85); }
.sw-label { opacity: .4; transition: opacity .3s, color .3s; }
html[data-side="design"] .sw-design, html[data-side="tech"] .sw-tech { opacity: 1; color: var(--acc); }

/* ─── Boutons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; position: relative; overflow: hidden; isolation: isolate;
  padding: 15px 24px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg);
  text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; border-radius: var(--radius); transition: color .4s var(--ease), border-color .4s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--acc); transform: translateY(101%); border-radius: 50% 50% 0 0; transition: transform .6s var(--ease), border-radius .6s var(--ease); }
.btn:hover::before { transform: none; border-radius: 0; }
.btn:hover { border-color: var(--acc); color: var(--on-acc); }
.btn.ghost { background: transparent; color: var(--ink); }
html[data-side="tech"] .btn { background: var(--acc); border-color: var(--acc); color: var(--on-acc); font-family: var(--f-mono); font-weight: 500; letter-spacing: .02em; text-transform: none; font-size: 14px; }
html[data-side="tech"] .btn::before { background: var(--ink); }
html[data-side="tech"] .btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
html[data-side="tech"] .btn.ghost::before { background: var(--acc); }

/* ─── Titres de section ─── */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; border-bottom: 1px solid var(--line); padding-bottom: 20px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font-weight: 400; line-height: .95; }
.sec-head p { margin: 0; color: var(--mut); max-width: 42ch; }
html[data-side="design"] .sec-head h2, html[data-side="design"] .hs-head h2 { font-family: var(--f-display); font-size: clamp(44px, 6.4vw, 96px); text-transform: uppercase; }
html[data-side="design"] h2 em, html[data-side="design"] .big em { font-family: var(--f-serif); font-style: italic; text-transform: none; color: var(--acc); font-weight: 400; }
html[data-side="tech"] .sec-head h2 { font-size: clamp(36px, 4.8vw, 68px); font-weight: 500; letter-spacing: -.035em; }
html[data-side="tech"] h2 em, html[data-side="tech"] .big em { font-style: normal; color: var(--acc); }
.acc { color: var(--acc); }

/* ─── HERO DESIGN ─── */
.side-design .hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); align-items: end; padding-top: clamp(32px, 5vw, 64px); min-height: calc(100svh - 56px); }
.kicker { margin: 0 0 20px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--mut); display: flex; align-items: center; gap: 10px; }
.d-title { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: .86; font-size: clamp(64px, 12.5vw, 196px); letter-spacing: -.01em; }
.d-title em { font-family: var(--f-serif); font-style: italic; text-transform: none; color: var(--acc); font-size: .62em; line-height: 1.05; letter-spacing: -.02em; margin-top: .02em; }
.lede { font-size: clamp(17px, 1.5vw, 20px); max-width: 46ch; margin: 28px 0 32px; color: var(--mut); }
html[data-side="design"] .lede { font-family: var(--f-serif); color: var(--ink); line-height: 1.45; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.side-design .hero-media { margin: 0; aspect-ratio: 7 / 9; overflow: hidden; background: var(--bg-2); position: relative; }
.side-design .hero-media img, #gl-design { position: absolute; inset: -6% 0 0; width: 100%; height: 106%; object-fit: cover; }
#gl-design { opacity: 0; transition: opacity .6s; }
#gl-design.on { opacity: 1; }
.hero-media figcaption { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; gap: 6px; padding: 6px 12px; background: var(--bg); font-size: 12px; font-weight: 700; letter-spacing: .12em; }

/* Bandeaux défilants */
.marquee { overflow: hidden; border-top: 1px solid var(--line); padding: 18px 0; white-space: nowrap; }
.mq-track { display: inline-flex; align-items: center; gap: 28px; will-change: transform; }
.mq-track span { font: 400 clamp(36px, 5vw, 72px)/1 var(--f-display); text-transform: uppercase; }
.mq-track span.o { color: transparent; -webkit-text-stroke: 1px var(--ink); font-family: var(--f-serif); font-style: italic; text-transform: none; }
.mq-track i { font-style: normal; color: var(--acc); font-size: 28px; }
.marquee.mono .mq-track span { font: 500 clamp(28px, 4vw, 56px)/1 var(--f-body); letter-spacing: -.03em; text-transform: none; }
.marquee.mono .mq-track span.o { -webkit-text-stroke: 1px var(--mut); font-family: var(--f-body); font-style: normal; }
.marquee.mono .mq-track i { font-family: var(--f-mono); }
.strip { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; background: var(--bg-2); }
.strip-track { display: flex; gap: 10px; width: max-content; will-change: transform; }
.strip-track img { height: 220px; width: auto; aspect-ratio: 768/1376; object-fit: cover; filter: grayscale(.2); transition: filter .4s; }
.strip-track img:hover { filter: none; }

/* Défilement horizontal des projets mode */
.hs-pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 48px); overflow: hidden; padding: 72px 0 32px; }
.hs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 clamp(16px, 5vw, 64px); }
.hs-head h2 { margin: 0; font-weight: 400; line-height: .95; }
.hs-head p { margin: 0; color: var(--mut); text-align: right; }
.hs-hint { display: block; margin-top: 6px; color: var(--acc); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.hs-track { display: flex; gap: clamp(20px, 3vw, 48px); padding: 0 clamp(16px, 5vw, 64px); width: max-content; align-items: stretch; will-change: transform; }
.d-card { width: clamp(300px, 34vw, 520px); flex: none; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; position: relative; display: flex; flex-direction: column; }
.d-num { position: absolute; top: -.55em; right: 8px; z-index: 2; font: 400 clamp(56px, 7vw, 110px)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px var(--ink); pointer-events: none; }
.d-card .ph { height: min(56svh, 620px); overflow: hidden; background: var(--bg-2); position: relative; }
.d-card .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease), filter .6s; }
.d-card:hover .ph img { filter: saturate(1.15); }
.d-card .ph::after { content: ""; position: absolute; inset: 0; background: var(--acc); mix-blend-mode: multiply; opacity: 0; transition: opacity .5s; }
.d-card:hover .ph::after { opacity: .18; }
.d-card .count { position: absolute; right: 12px; bottom: 12px; z-index: 1; background: var(--bg); padding: 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.d-card .meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--ink); margin-top: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.d-card h3 { margin: 8px 0 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; }
.d-card h3 em { font-family: var(--f-serif); text-transform: none; color: var(--acc); font-size: .85em; }
.d-card p { margin: 8px 0 0; color: var(--mut); font-size: 15px; max-width: 44ch; }
.d-more { width: clamp(260px, 26vw, 380px); flex: none; display: grid; align-content: center; gap: 8px; padding: 32px; text-decoration: none; background: #0A0B0D; color: #E9ECEF; position: relative; overflow: hidden; }
.d-more span { font-family: "JetBrains Mono", monospace; font-size: 13px; color: #8C939D; }
.d-more b { font: 500 clamp(36px, 3.6vw, 56px)/1 "Space Grotesk", sans-serif; letter-spacing: -.04em; color: #C8FF2E; }
.d-more::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(200,255,46,.35) 1px, transparent 1.5px); background-size: 18px 18px; opacity: .35; transition: opacity .5s; }
.d-more:hover::before { opacity: .8; }

/* Services */
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.svc li { padding: 28px 20px 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; position: relative; transition: background .4s; }
.svc li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.svc li:hover { background: color-mix(in srgb, var(--acc) 6%, transparent); }
.svc i { font: 400 12px/1 var(--f-mono); color: var(--acc); font-style: normal; letter-spacing: .1em; }
.svc b { font-size: 18px; font-weight: 700; }
html[data-side="design"] .svc b { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1.1; }
.svc span { color: var(--mut); font-size: 14px; }
html[data-side="tech"] .svc span { font-family: var(--f-mono); font-size: 13px; }

/* ─── HERO TECH ─── */
.side-tech .hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(32px, 5vw, 72px); position: relative; min-height: calc(100svh - 56px); }
#gl-tech { position: absolute; top: 0; left: calc(-1 * max(0px, (100vw - 1440px) / 2)); width: calc(100% + 2 * max(0px, (100vw - 1440px) / 2)); height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1s; }
#gl-tech.on { opacity: 1; }
.side-tech .hero > *:not(canvas) { position: relative; z-index: 1; }
.side-tech .kicker { font-family: var(--f-mono); letter-spacing: .04em; text-transform: none; font-weight: 400; font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.t-title { margin: 0; font-weight: 500; font-size: clamp(48px, 7vw, 108px); line-height: .95; letter-spacing: -.045em; }
.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 40px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); justify-content: start; }
.stats div { display: grid; gap: 4px; }
.stats dt { order: 2; font-family: var(--f-mono); font-size: 12px; color: var(--mut); }
.stats dd { margin: 0; font-size: 40px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

.browser { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); box-shadow: 0 40px 90px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(200,255,46,.05); transform-style: preserve-3d; }
.chrome { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #15181C; }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: #2B3036; }
.chrome i:nth-child(1) { background: #3A2F33; } .chrome i:nth-child(3) { background: #2F3A26; }
.chrome span { margin-left: 10px; font-family: "JetBrains Mono", monospace; font-size: 11px; color: #8C939D; background: #0D0F12; padding: 3px 10px; border-radius: 6px; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

.t-grid { display: grid; gap: clamp(72px, 9vw, 140px); }
.t-card { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: end; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; }
.t-card .shots { position: relative; perspective: 1400px; }
.t-card.flip { grid-template-columns: 280px 1fr; }
.t-card.flip .shots { order: 2; }
.t-card.flip .phone { right: auto; left: -18px; }
.t-more-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: -40px; }
.t-more-head h3 { margin: 0; font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -.03em; }
.t-more-head span { font-family: var(--f-mono); font-size: 13px; color: var(--acc); }
.t-more { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 5vw, 72px) clamp(24px, 3vw, 48px); }
.t-card.compact { grid-template-columns: 1fr; gap: 36px; align-items: start; }
.t-card.compact .phone { width: 20%; min-width: 70px; border-radius: 16px; border-width: 4px; right: -10px; bottom: -18px; }
.t-card.compact .t-info h3 { font-size: 26px; }
.t-card.compact .chips { display: none; }
.side-tech .hero-media img { transition: opacity .45s ease, transform .6s var(--ease); }
.side-tech .hero-media.swap img { opacity: 0; transform: scale(1.03); }
.t-card:hover .browser { border-color: color-mix(in srgb, var(--acc) 45%, transparent); box-shadow: 0 40px 90px -30px rgba(0,0,0,.85), 0 0 60px -20px rgba(200,255,46,.35); }
.phone { position: absolute; right: -18px; bottom: -24px; width: 22%; min-width: 92px; border-radius: 22px; overflow: hidden; border: 5px solid #1B1F24; background: #000; box-shadow: 0 24px 50px -16px rgba(0,0,0,.9); }
.phone img { width: 100%; aspect-ratio: 600/1298; object-fit: cover; object-position: top; }
.t-info { display: grid; gap: 12px; padding-bottom: 8px; }
.t-info .n { font-family: var(--f-mono); font-size: 12px; color: var(--acc); }
.t-info h3 { margin: 0; font-size: 32px; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.t-info h3 small { display: block; color: var(--mut); font-size: 18px; font-weight: 400; letter-spacing: -.01em; margin-top: 4px; }
.t-info p { margin: 0; color: var(--mut); font-size: 15px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 12px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--f-mono); }
.open { font-family: var(--f-mono); font-size: 13px; color: var(--acc); display: inline-flex; gap: 6px; transition: gap .4s var(--ease); }
.t-card:hover .open { gap: 14px; }

.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.idx { width: 100%; border-collapse: collapse; font-size: 15px; }
.idx th { text-align: left; font-family: var(--f-mono); font-weight: 400; font-size: 12px; color: var(--mut); padding: 0 16px 12px 0; border-bottom: 1px solid var(--line); }
.idx td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; transition: color .3s, padding .4s var(--ease); }
.idx tbody tr { position: relative; }
.idx tbody tr:hover td { color: var(--acc); }
.idx tbody tr:hover td.nm { padding-left: 14px; }
.idx tbody tr:hover td.wh { color: var(--ink); }
.idx .nm { font-weight: 500; white-space: nowrap; font-size: 18px; }
.idx .wh { color: var(--mut); min-width: 260px; }
.idx .tg, .idx .yr { font-family: var(--f-mono); font-size: 12px; color: var(--mut); white-space: nowrap; }
.idx a { color: var(--acc); text-decoration: none; font-family: var(--f-mono); font-size: 13px; white-space: nowrap; }

/* ─── Studio ─── */
.manifesto { margin: 0 0 clamp(80px, 10vw, 140px); font-size: clamp(30px, 4.4vw, 68px); line-height: 1.08; max-width: 22ch; letter-spacing: -.01em; }
html[data-side="design"] .manifesto { font-family: var(--f-serif); }
html[data-side="design"] .manifesto em { color: var(--acc); }
html[data-side="tech"] .manifesto { font-weight: 500; letter-spacing: -.04em; max-width: 24ch; }
html[data-side="tech"] .manifesto em { font-style: normal; color: var(--acc); }
.method { list-style: none; margin: 0 0 clamp(80px, 10vw, 140px); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.method li { border-top: 2px solid var(--ink); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.m-n { font: 700 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
html[data-side="tech"] .m-n { font-weight: 400; letter-spacing: .02em; text-transform: none; }
.method b { font-size: 24px; font-weight: 500; line-height: 1.1; }
html[data-side="design"] .method b { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 28px; }
.method p { margin: 0; color: var(--mut); font-size: 15px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.founder { border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); background: var(--card); border-radius: var(--radius); display: grid; gap: 10px; align-content: start; transition: border-color .4s, transform .6s var(--ease); }
.founder:hover { border-color: var(--acc); transform: translateY(-4px); }
.founder .mono { width: 72px; height: 72px; display: grid; place-items: center; background: var(--acc); color: var(--on-acc); font-family: var(--f-display); font-size: 36px; border-radius: var(--radius); }
html[data-side="tech"] .founder .mono { font-family: var(--f-mono); font-size: 28px; }
.founder h3 { margin: 10px 0 0; font-size: 28px; font-weight: 500; letter-spacing: -.01em; }
html[data-side="design"] .founder h3 { font-family: var(--f-serif); }
.founder h3 small { font-size: 13px; color: var(--acc); margin-left: 6px; font-family: var(--f-body); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.founder .role { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); font-weight: 700; }
html[data-side="tech"] .founder .role { font-family: var(--f-mono); text-transform: none; letter-spacing: 0; font-weight: 400; }
.founder p { margin: 0; }
.founder a { color: var(--acc); text-decoration: none; font-weight: 700; margin-top: 6px; justify-self: start; }

/* ─── Contact ─── */
.big { margin: 0 0 40px; font-weight: 400; line-height: .9; }
.big .line { display: inline-block; vertical-align: top; }
html[data-side="design"] .big { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(56px, 11vw, 176px); }
html[data-side="tech"] .big { font-size: clamp(46px, 8vw, 124px); font-weight: 500; letter-spacing: -.05em; }
.mail-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 64px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.mail-big { font-size: clamp(22px, 3.6vw, 52px); text-decoration: none; letter-spacing: -.02em; overflow-wrap: anywhere; background: linear-gradient(var(--acc), var(--acc)) 0 100% / 0 2px no-repeat; transition: background-size .7s var(--ease), color .3s; }
html[data-side="design"] .mail-big { font-family: var(--f-serif); font-style: italic; }
.mail-big:hover { background-size: 100% 2px; color: var(--acc); }
.copy { border: 1px solid var(--line); background: none; padding: 10px 16px; border-radius: 999px; font-size: 13px; cursor: pointer; font-family: var(--f-mono); transition: border-color .3s, color .3s; }
.copy:hover { border-color: var(--acc); color: var(--acc); }
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 5vw, 80px); }
.brief { display: grid; gap: 22px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.brief label, .kinds legend { display: grid; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--mut); }
html[data-side="tech"] .brief label, html[data-side="tech"] .kinds legend { font-family: var(--f-mono); text-transform: none; letter-spacing: 0; font-weight: 400; }
.brief input:not([type="radio"]), .brief textarea {
  font: 400 18px/1.4 var(--f-body); color: var(--ink); background: transparent; width: 100%;
  border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; border-radius: 0; text-transform: none; letter-spacing: 0; transition: border-color .3s;
}
html[data-side="tech"] .brief input:not([type="radio"]), html[data-side="tech"] .brief textarea { border: 1px solid var(--line); padding: 12px 14px; border-radius: 8px; background: var(--card); }
.brief textarea { min-height: 130px; resize: vertical; }
.brief input:focus, .brief textarea:focus { outline: none; border-color: var(--acc); }
.kinds { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kinds legend { margin-bottom: 10px; width: 100%; }
.kinds label { display: inline-flex; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink); cursor: pointer; }
.kinds input { position: absolute; opacity: 0; pointer-events: none; }
.kinds span { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; transition: background .3s, color .3s, border-color .3s; }
.kinds label:hover span { border-color: var(--acc); }
.kinds input:checked + span { background: var(--acc); color: var(--on-acc); border-color: var(--acc); }
.kinds input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.brief .btn { justify-self: start; }
.note { margin: 0; font-size: 14px; color: var(--mut); }
.coords { display: grid; align-content: start; }
.coords p { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.coords span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); font-weight: 700; }
html[data-side="tech"] .coords span { font-family: var(--f-mono); letter-spacing: 0; text-transform: none; font-weight: 400; }
.coords a { text-decoration: none; font-size: 17px; overflow-wrap: anywhere; transition: color .3s; }
.coords a:hover { color: var(--acc); }
.coords b { font: 500 22px/1 var(--f-mono); font-variant-numeric: tabular-nums; }
.foot { margin-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.wordmark { font: 400 clamp(64px, 19vw, 300px)/.8 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; text-align: center; }
.wordmark span { color: var(--acc); }
html[data-side="tech"] .wordmark { font-weight: 700; letter-spacing: -.07em; text-transform: none; font-size: clamp(56px, 17vw, 270px); }
.foot-row { display: flex; justify-content: space-between; padding-top: 20px; margin-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mut); }
.foot-row a { text-decoration: none; display: inline-block; }

/* ─── Page projet ─── */
.pp { position: fixed; inset: 0; z-index: 120; }
.pp[hidden] { display: none; }
.pp-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); -webkit-overflow-scrolling: touch; }
.pp-close { position: fixed; top: 16px; right: clamp(16px, 3vw, 32px); z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); cursor: pointer; font-size: 26px; line-height: 1; transition: border-color .3s, color .3s, transform .6s var(--ease); }
.pp-close:hover { border-color: var(--acc); color: var(--acc); transform: rotate(90deg); }
.pp-inner { max-width: 1440px; margin: 0 auto; padding: clamp(72px, 10vw, 120px) clamp(16px, 5vw, 64px) 0; }
.pp-k { margin: 0 0 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); font-weight: 700; }
html[data-side="tech"] .pp-k { font-family: var(--f-mono); text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--acc); }
.pp-title { margin: 0 0 clamp(32px, 5vw, 64px); font-weight: 400; line-height: .88; }
html[data-side="design"] .pp-title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(56px, 11vw, 176px); }
html[data-side="design"] .pp-title em { font-family: var(--f-serif); text-transform: none; color: var(--acc); font-size: .6em; line-height: 1.1; }
html[data-side="tech"] .pp-title { font-weight: 500; letter-spacing: -.05em; font-size: clamp(48px, 9vw, 140px); }
html[data-side="tech"] .pp-title em { font-style: normal; color: var(--mut); font-size: .55em; line-height: 1.1; }
.pp-cover { margin: 0 calc(-1 * clamp(16px, 5vw, 64px)); height: min(80svh, 820px); overflow: hidden; background: var(--bg-2); }
.pp-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pp-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: clamp(40px, 6vw, 72px) 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pp-meta div { display: grid; gap: 6px; align-content: start; }
.pp-meta dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); font-weight: 700; }
html[data-side="tech"] .pp-meta dt { font-family: var(--f-mono); letter-spacing: 0; text-transform: none; font-weight: 400; }
.pp-meta dd { margin: 0; font-size: 16px; }
.pp-sec { display: grid; grid-template-columns: 1fr 2.4fr; gap: 32px; padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.pp-sec h3 { margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); font-weight: 700; }
html[data-side="tech"] .pp-sec h3 { font-family: var(--f-mono); letter-spacing: 0; text-transform: none; font-weight: 400; font-size: 14px; }
.pp-lead { margin: 0; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.3; letter-spacing: -.01em; }
html[data-side="design"] .pp-lead { font-family: var(--f-serif); }
.pp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pp-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 4px 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.pp-steps li:first-child { border-top: 0; padding-top: 0; }
.pp-steps span { grid-row: span 2; font: 400 28px/1 var(--f-display); color: var(--acc); }
html[data-side="tech"] .pp-steps span { font-family: var(--f-mono); font-size: 18px; }
.pp-steps b { font-size: 22px; font-weight: 500; }
html[data-side="design"] .pp-steps b { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 26px; }
.pp-steps p { margin: 0; color: var(--mut); }
.pp-del { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pp-del li { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; }
.pp-gal { display: grid; gap: 16px; padding: clamp(48px, 6vw, 80px) 0; }
.pp-gal.posters { grid-template-columns: repeat(3, 1fr); }
.pp-gal.portraits { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pp-gal.portraits img { aspect-ratio: 768/1376; object-fit: cover; width: 100%; }
.pp-gal figure { margin: 0; background: var(--bg-2); }
.pp-gal .browser img { aspect-ratio: auto; }
.pp-gal.wide { grid-template-columns: 1fr; }
.pp-gal.wide img { width: 100%; height: auto; }
.pp-gal .g-mob { max-width: 340px; margin: 0 auto; border-radius: 26px; overflow: hidden; border: 6px solid #1B1F24; }
.pr-rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.pr-rv.in { opacity: 1; transform: none; }
.pp-next { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; padding: clamp(48px, 6vw, 96px) 0; border-top: 1px solid var(--line); text-decoration: none; position: relative; }
.pp-next span { grid-column: 1 / -1; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); font-weight: 700; }
.pp-next b { font-weight: 400; line-height: .9; transition: color .4s; }
html[data-side="design"] .pp-next b { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(44px, 8vw, 128px); }
html[data-side="design"] .pp-next b em { font-family: var(--f-serif); text-transform: none; color: var(--acc); font-size: .6em; }
html[data-side="tech"] .pp-next b { font-weight: 500; letter-spacing: -.05em; font-size: clamp(40px, 7vw, 110px); }
html[data-side="tech"] .pp-next b em { font-style: normal; color: var(--acc); }
.pp-next img { width: clamp(120px, 14vw, 220px); aspect-ratio: 3/4; object-fit: cover; object-position: top; transform: rotate(4deg) scale(.9); transition: transform .8s var(--ease); }
.pp-next:hover img { transform: rotate(0) scale(1); }
body.locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pr-rv { opacity: 1; transform: none; }
  .loader, .cur { display: none; }
}

/* ─── Responsive ─── */
@media (max-width: 1080px) {
  .t-card, .t-card.flip { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .t-card > *, .t-more > * { min-width: 0; }
  .t-card.flip .shots { order: 0; }
  .t-card.flip .phone { left: auto; right: -18px; }
  .svc, .method { grid-template-columns: 1fr 1fr; }
  .svc li:nth-child(3) { padding-left: 0; border-left: 0; }
  .pp-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .bar { grid-template-columns: auto auto; }
  .links { display: none; }
  .switch { justify-self: end; }
  .side-design .hero, .side-tech .hero { grid-template-columns: 1fr; min-height: 0; }
  .side-design .hero-media { aspect-ratio: 4 / 5; }
  .side-tech .hero-media { display: none; }
  #gl-tech.on { opacity: .45; }
  .hs-pin { height: auto; padding: 72px 0 24px; }
  .hs-head { flex-direction: column; align-items: flex-start; }
  .hs-head p { text-align: left; }
  .hs-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hs-track::-webkit-scrollbar { display: none; }
  .d-card, .d-more { width: 82vw; scroll-snap-align: center; }
  .d-card .ph { height: 62svh; }
  .duo, .contact-grid { grid-template-columns: 1fr; }
  .pp-gal.posters { grid-template-columns: 1fr 1fr; }
  .t-more { grid-template-columns: 1fr; }
  .t-more-head { margin-bottom: 0; }
  .pp-sec { grid-template-columns: 1fr; gap: 16px; }
  .idx thead { display: none; }
  .idx, .idx tbody, .idx tr, .idx td { display: block; }
  .idx tr { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .idx td { padding: 0 !important; border: 0; }
  .idx .nm, .idx .tg { white-space: normal; }
  .idx .wh { grid-column: 1 / -1; min-width: 0; }
  .idx .yr { grid-column: 2; grid-row: 1; }
  .idx td:last-child { grid-column: 2; grid-row: 3; text-align: right; }
  .idx td:last-child:empty { display: none; }
}
@media (max-width: 560px) {
  .brand { font-size: 12px; letter-spacing: .1em; }
  .switch { gap: 7px; font-size: 11px; letter-spacing: .08em; padding: 4px 0; }
  .sw-track { width: 48px; height: 26px; }
  .sw-knob { width: 18px; height: 18px; }
  html[data-side="tech"] .sw-knob, html[data-side="tech"] .switch:hover .sw-knob { transform: translateX(22px); }
  .svc, .method { grid-template-columns: 1fr; }
  .svc li + li { padding-left: 0; border-left: 0; }
  .stats { gap: 22px; }
  .stats dd { font-size: 30px; }
  .row2 { grid-template-columns: 1fr; }
  .strip-track img { height: 160px; }
  .phone { right: 8px; bottom: -20px; width: 28%; border-width: 4px; border-radius: 16px; }
  .pp-meta { grid-template-columns: 1fr; }
  .pp-gal.posters { grid-template-columns: 1fr; }
  .pp-gal.portraits { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pp-cover { height: 60svh; }
  .pp-next { grid-template-columns: 1fr; }
  .pp-next img { display: none; }
  .foot-row { flex-direction: column; gap: 8px; }
}

/* ─── Vidéos motion ─── */
video.lazy-vid { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.pp-cover video.lazy-vid { aspect-ratio: auto; max-height: 82vh; }
.browser { position: relative; }
.vid-tag { position: absolute; right: 14px; top: 52px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px 5px 22px; border-radius: 999px; background: rgba(10,11,13,.72); color: var(--acc); backdrop-filter: blur(6px); }
.vid-tag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--acc); animation: vidpulse 1.4s ease-in-out infinite; }
@keyframes vidpulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .vid-tag::before { animation: none; } }
.g-mob video.lazy-vid { aspect-ratio: 9/16; }

/* ─── FAQ et liens projets (GEO) ─── */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--f-mono); color: var(--acc); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 24px; max-width: 760px; color: var(--mut); line-height: 1.6; }
.foot-links { margin: 40px 0 28px; }
.all-projects-k { font-family: var(--f-mono); font-size: 12px; color: var(--mut); margin: 0 0 10px; }
.all-projects { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.all-projects a { color: var(--mut); text-decoration: none; }
.all-projects a:hover { color: var(--acc); }
