/* Muse Audio — feuille de style principale */
:root {
  --bg: #111110;
  --bg-2: #191917;
  --fg: #f2eee5;
  --fg-dim: rgba(242, 238, 229, .58);
  --line: rgba(242, 238, 229, .14);
  --accent: #ef5d39;
  --display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 3.2vw, 48px);
  --hdr: 76px;
  --ease: cubic-bezier(.7, 0, .2, 1);
}
:root[data-theme="light"] {
  --bg: #f2eee5;
  --bg-2: #e8e3d8;
  --fg: #111110;
  --fg-dim: rgba(17, 17, 16, .6);
  --line: rgba(17, 17, 16, .16);
  --accent: #e04a25;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background .5s ease, color .5s ease;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #111110; }

.label {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--fg-dim); font-weight: 500;
}
.display {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  line-height: .9; letter-spacing: -.005em;
}
.accent { color: var(--accent); }

/* ---------- En-tête ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  transition: background .4s ease, transform .4s ease;
}
.hdr.up { transform: translateY(-100%); }
.hdr.solid { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 29px; width: auto; object-fit: contain; }
.logo .l-black { display: none; }
:root[data-theme="light"] body:not(.is-home) .logo .l-white { display: none; }
:root[data-theme="light"] body:not(.is-home) .logo .l-black { display: block; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav a, .tools a, .tools button {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  position: relative; padding: 6px 0; opacity: .82; transition: opacity .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover, .nav a.on, .tools a:hover, .tools button:hover { opacity: 1; }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.tools { display: flex; align-items: center; gap: 18px; margin-left: clamp(18px, 2.6vw, 40px); padding-left: clamp(18px, 2.6vw, 40px); border-left: 1px solid var(--line); }
.theme-btn { width: 30px; height: 30px; display: grid; place-items: center; }
.theme-btn svg { width: 17px; height: 17px; }
.theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: block; }
:root[data-theme="light"] .theme-btn .moon { display: none; }
.right { display: flex; align-items: center; }
.burger { display: none; width: 36px; height: 36px; position: relative; }
.burger i { position: absolute; left: 7px; right: 7px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:first-child { top: 14px; } .burger i:last-child { top: 21px; }
.menu-open .burger i:first-child { top: 17.5px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 17.5px; transform: rotate(-45deg); }
body.is-home .hdr:not(.solid) { color: #f2eee5; }

/* ---------- Accueil : diaporama ---------- */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #000; color: #f2eee5; }
.track { display: flex; flex-direction: column; height: 100%; transition: transform 1.05s var(--ease); will-change: transform; }
.slide { position: relative; flex: 0 0 100%; width: 100%; overflow: hidden; }
.slide video, .slide .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide .media { position: absolute; inset: 0; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.slide.on .media { transform: scale(1); }
.slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 48%, rgba(0,0,0,.72) 100%);
}
.slide-info {
  position: absolute; z-index: 2; left: var(--pad); bottom: clamp(84px, 13vh, 130px); right: 120px;
  display: flex; flex-direction: column; gap: 14px;
}
.slide-info > * { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .9s var(--ease); }
.slide.on .slide-info > * { opacity: 1; transform: none; }
.slide.on .slide-info > :nth-child(1) { transition-delay: .45s; }
.slide.on .slide-info > :nth-child(2) { transition-delay: .55s; }
.slide.on .slide-info > :nth-child(3) { transition-delay: .68s; }
.slide-info .label { color: rgba(242,238,229,.8); display: flex; gap: 14px; align-items: center; }
.slide-info .label::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.slide-title { font-size: clamp(52px, 10.5vw, 176px); }
.slide-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 8px 0; }
.slide-link .arr { display: inline-block; transition: transform .35s var(--ease); color: var(--accent); }
.slide-link:hover .arr { transform: translateX(8px); }

.dots { position: absolute; z-index: 3; right: var(--pad); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.dots button {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(242,238,229,.3);
  font-size: 11px; letter-spacing: .08em; color: rgba(242,238,229,.75);
  transition: border-color .3s, color .3s, background .3s, transform .3s;
}
.dots button:hover { border-color: #f2eee5; color: #f2eee5; }
.dots button.on { border-color: var(--accent); color: #111110; background: var(--accent); }

.hero-bar {
  position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 26px;
  display: flex; align-items: center; gap: 22px;
}
.sound {
  display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 18px;
  border: 1px solid rgba(242,238,229,.35); border-radius: 40px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  transition: border-color .3s, background .3s, color .3s;
}
.sound:hover { border-color: var(--accent); }
.sound.on { background: var(--accent); border-color: var(--accent); color: #111110; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.bars i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; }
.sound.on .bars i { animation: eq .9s ease-in-out infinite; }
.sound.on .bars i:nth-child(2) { animation-delay: .15s; } .sound.on .bars i:nth-child(3) { animation-delay: .3s; } .sound.on .bars i:nth-child(4) { animation-delay: .45s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.progress { flex: 1; height: 1px; background: rgba(242,238,229,.25); position: relative; }
.progress i { position: absolute; left: 0; top: -.5px; height: 2px; width: 0; background: var(--accent); }
.count { font-size: 12px; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.skip { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; border: 1px solid rgba(242,238,229,.35); border-radius: 40px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; transition: border-color .3s, background .3s, color .3s; }
.skip:hover { background: var(--accent); border-color: var(--accent); color: #111110; }
.skip span { display: inline-block; animation: bob 1.6s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* ---------- Mise en page générale ---------- */
main { display: block; }
.page { padding-top: calc(var(--hdr) + clamp(40px, 9vh, 110px)); }
.wrap { padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: clamp(64px, 11vh, 140px); padding-bottom: clamp(64px, 11vh, 140px); }
.section + .section { border-top: 1px solid var(--line); }
.page-title { font-size: clamp(64px, 14vw, 240px); }
.lead { font-size: clamp(20px, 2.3vw, 34px); line-height: 1.25; max-width: 24ch; font-weight: 400; }
.lead.wide { max-width: 34ch; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; padding-bottom: clamp(36px, 6vh, 72px); }
.head .lead { justify-self: end; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: clamp(28px, 5vh, 56px); }
.sec-title { font-size: clamp(40px, 6.4vw, 104px); }
.btn {
  display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 26px;
  border: 1px solid var(--line); border-radius: 52px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  transition: background .3s, border-color .3s, color .3s;
}
.btn:hover, .btn.fill { background: var(--accent); border-color: var(--accent); color: #111110; }
.btn.fill:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }

/* Apparition au défilement */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Accueil : sections ---------- */
.intro { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.intro h2 { font-size: clamp(40px, 6.6vw, 112px); }
.intro p { color: var(--fg-dim); max-width: 52ch; margin-top: 26px; font-size: 17px; }
.stats { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; margin-top: clamp(40px, 7vh, 80px); }
.stat { display: flex; align-items: baseline; gap: 14px; }
.stat b { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 4.2vw, 64px); line-height: 1; font-variant-numeric: tabular-nums; display: inline-flex; }
.stat b i { font-style: normal; color: var(--accent); margin-right: 2px; }

.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 9%; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee-f { filter: brightness(0) invert(1); opacity: .82; }
:root[data-theme="light"] .marquee-f { filter: brightness(0); }
.marquee-in { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee-in.js { animation: none; }
.marquee-in { align-items: center; }
.marquee img { height: clamp(26px, 2.6vw, 40px); width: auto; max-width: clamp(110px, 12vw, 180px); object-fit: contain; }
.marquee a { display: flex; align-items: center; padding: 14px clamp(22px, 3.2vw, 54px); }
@keyframes slide { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 70px 1fr 1.1fr; gap: 24px; align-items: center;
  padding: clamp(18px, 3vh, 34px) 0; border-bottom: 1px solid var(--line); position: relative;
}
.svc .n { font-size: 12px; letter-spacing: .18em; color: var(--accent); }
.svc h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 5vw, 80px); line-height: .92; transition: transform .5s var(--ease), color .3s; }
.svc p { color: var(--fg-dim); max-width: 46ch; }
.svc:hover h3 { transform: translateX(14px); color: var(--accent); }

.cta { text-align: left; }
.cta .big { font-size: clamp(56px, 12vw, 210px); display: block; }
.cta .big a { transition: color .3s; }
.cta .big a:hover { color: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Catalogue ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: sticky; top: var(--hdr); z-index: 20; background: var(--bg); transition: background .5s ease, top .4s ease; }
.hdr-up .filters { top: 0; }
.filters button.f {
  height: 38px; padding: 0 18px; border-radius: 38px; border: 1px solid transparent;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim);
  transition: color .25s, border-color .25s, background .25s;
}
.filters button.f sup { font-size: 9px; margin-left: 5px; letter-spacing: 0; }
.filters button.f:hover { color: var(--fg); border-color: var(--line); }
.filters button.f.on { color: #111110; background: var(--accent); border-color: var(--accent); }
.filters .sp { flex: 1; }
.filters .sound { border-color: var(--line); height: 38px; }
.filters .sound.on { border-color: var(--accent); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 26px); padding-top: clamp(22px, 3vh, 40px); padding-bottom: clamp(64px, 10vh, 120px); }
.card { position: relative; display: block; transition: opacity .45s ease, transform .6s var(--ease); }
.card.hide { display: none; }
.card.pop { animation: pop .6s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(22px); } }
.thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); border-radius: 3px; }
.thumb img, .thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .45s ease; }
.thumb video { opacity: 0; }
.card.playing .thumb video { opacity: 1; }
.card:hover .thumb img { transform: scale(1.05); }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover .thumb::after { opacity: 1; }
.card .num { position: absolute; top: 12px; left: 14px; z-index: 2; font-size: 11px; letter-spacing: .16em; color: #f2eee5; mix-blend-mode: difference; }
.card .tag-video { position: absolute; top: 10px; right: 10px; z-index: 2; height: 24px; padding: 0 10px; border-radius: 24px; background: rgba(17,17,16,.6); color: #f2eee5; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; backdrop-filter: blur(6px); }
.card .tag-video::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.card .see { position: absolute; left: 14px; bottom: 12px; z-index: 2; color: #f2eee5; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--ease); }
.card:hover .see { opacity: 1; transform: none; }
.meta { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 2px 22px; }
.meta h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2.3vw, 36px); line-height: 1; transition: color .3s; }
.card:hover .meta h3 { color: var(--accent); }
.meta .sub { color: var(--fg-dim); font-size: 13px; margin-top: 6px; }
.meta .label { white-space: nowrap; }
.empty { padding: 60px 0; color: var(--fg-dim); display: none; }

/* ---------- Fiche projet ---------- */
.proj-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-bottom: clamp(24px, 4vh, 44px); }
.proj-title { font-size: clamp(52px, 10vw, 180px); }
.proj-sub { font-size: clamp(18px, 1.8vw, 26px); color: var(--fg-dim); margin-top: 14px; }
.back { display: inline-flex; gap: 10px; align-items: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 26px; transition: color .25s; }
.back:hover { color: var(--accent); }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 3px; }
.player img, .player video, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player .play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; width: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.45)); color: #f2eee5;
}
.player .play span {
  width: clamp(84px, 9vw, 132px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(242,238,229,.6); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  transition: background .35s, border-color .35s, color .35s, transform .5s var(--ease);
}
.player .play:hover span { background: var(--accent); border-color: var(--accent); color: #111110; transform: scale(1.08); }
.player .soon { position: absolute; left: 24px; bottom: 20px; z-index: 2; color: #f2eee5; font-size: clamp(28px, 4vw, 64px); text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.proj-body { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(30px, 6vw, 110px); padding: clamp(44px, 8vh, 96px) 0; }
.facts { display: grid; gap: 22px; align-content: start; }
.fact .label { display: block; margin-bottom: 6px; }
.fact b { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; }
.role-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { height: 32px; padding: 0 14px; border: 1px solid var(--line); border-radius: 32px; display: inline-flex; align-items: center; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.chip.hot { border-color: var(--accent); color: var(--accent); }
.credits { border-top: 1px solid var(--line); }
.credits div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.credits dt { color: var(--fg-dim); font-size: 13px; letter-spacing: .04em; }
.credits dd { font-weight: 500; }
.credits .us dd { color: var(--accent); }
.nextprev { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.nextprev a { padding: clamp(30px, 6vh, 70px) var(--pad); display: block; transition: background .4s; }
.nextprev a + a { border-left: 1px solid var(--line); text-align: right; }
.nextprev a:hover { background: var(--bg-2); }
.nextprev b { display: block; margin-top: 10px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4.6vw, 76px); line-height: .95; transition: color .3s; }
.nextprev a:hover b { color: var(--accent); }

/* ---------- Services ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 28px 24px 10px 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--display); font-weight: 800; font-size: clamp(54px, 6vw, 96px); line-height: .9; color: var(--accent); }
.step h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2vw, 30px); line-height: 1; margin: 18px 0 12px; }
.step p { color: var(--fg-dim); font-size: 15px; }
.plus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.plus > div { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.plus h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2vw, 30px); line-height: 1; margin-bottom: 10px; }
.plus p { color: var(--fg-dim); font-size: 15px; max-width: 34ch; }

/* ---------- À propos ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.member { padding: 30px 0; display: grid; grid-template-columns: clamp(200px, 25vw, 380px) 1fr; gap: clamp(20px, 2.6vw, 44px); align-items: end; }
.member + .member { padding-left: 30px; border-left: 1px solid var(--line); }
.member .who { padding-bottom: 6px; }
.member .who p { margin-top: 18px; max-width: 30ch; }
.member .who small { display: none; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.portrait { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: var(--bg-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.05); transition: filter .6s ease, transform 1.2s var(--ease); }
.member:hover .portrait img { filter: none; transform: scale(1.04); }
.member b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 4.2vw, 68px); line-height: .92; margin-top: 14px; }
.member span { display: block; }
.member small { color: var(--fg-dim); font-size: 14px; display: block; margin-top: 4px; }
.two { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(30px, 6vw, 110px); }
.two p { font-size: clamp(17px, 1.5vw, 21px); max-width: 60ch; }
.two p + p { margin-top: 18px; }
.gear { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.gear > div { padding: 26px 20px 0 0; }
.gear > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.gear h3 { margin-bottom: 14px; }
.gear li { list-style: none; padding: 7px 0; font-size: 15px; }

/* ---------- Contact ---------- */
.contact-big { font-size: clamp(34px, 7.4vw, 136px); word-break: break-word; }
.contact-big a { transition: color .3s; }
.contact-big a:hover { color: var(--accent); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: clamp(40px, 7vh, 80px); }
.contact-grid > div { padding: 26px 20px 26px 0; }
.contact-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.contact-grid a { display: block; font-size: clamp(18px, 1.7vw, 24px); padding: 3px 0; transition: color .25s; }
.contact-grid a:hover { color: var(--accent); }
.contact-grid .label { display: block; margin-bottom: 12px; }

/* ---------- Pied de page ---------- */
.ftr { border-top: 1px solid var(--line); padding: 34px var(--pad); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-dim); }
.ftr a:hover { color: var(--accent); }
.ftr nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }

/* ---------- Adaptation mobile ---------- */
@media (max-width: 900px) {
  :root { --hdr: 64px; }
  .burger { display: block; z-index: 61; }
  .right {
    position: fixed; inset: 0; z-index: 60; background: var(--bg); color: var(--fg);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 34px; padding: 0 var(--pad);
    opacity: 0; pointer-events: none; transition: opacity .35s ease;
  }
  .menu-open .right { opacity: 1; pointer-events: auto; }
  .menu-open .hdr { color: var(--fg) !important; }
  .nav { flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav a { font-family: var(--display); font-weight: 800; font-size: 52px; letter-spacing: 0; line-height: 1; opacity: 1; }
  .tools { margin: 0; padding: 0; border: 0; }
  .logo { position: relative; z-index: 61; }
  .hero-bar { flex-wrap: wrap; gap: 14px; bottom: 18px; }
  .hero-bar .progress { order: -1; flex: 0 0 100%; }
  .dots { top: auto; transform: none; bottom: 20px; flex-direction: row; gap: 6px; }
  .hero-bar .count { display: none; }
  .hero-bar .sound { margin-right: 0; }
  .skip { height: 34px; padding: 0 14px; margin-right: auto; }
  .hero-bar .progress { display: block; }
  .dots button { width: 30px; height: 30px; font-size: 10px; }
  .sound { height: 34px; padding: 0 14px; }
  .slide-info { right: var(--pad); bottom: 112px; }
  .member { grid-template-columns: 130px 1fr; align-items: center; }
  .acc-h { grid-template-columns: 34px 1fr 30px !important; }
  .acc-h .s { display: none; }
  .acc-in { grid-template-columns: 1fr !important; padding-left: 34px !important; }
  .fields { grid-template-columns: 1fr !important; }
  .stats { flex-direction: column; align-items: flex-start; }
  .head, .intro, .proj-body, .two { grid-template-columns: 1fr; }
  .head .lead { justify-self: start; }
  .grid { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 40px 1fr; }
  .svc p { grid-column: 2; }
  .steps, .gear { grid-template-columns: 1fr 1fr; }
  .step, .gear > div { padding: 24px 16px 24px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line); }
  .plus, .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .team { grid-template-columns: 1fr; }
  .member + .member { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .proj-head { flex-direction: column; align-items: flex-start; }
  .filters .sp { display: none; }
}
@media (max-width: 560px) {
  .hero .sound .txt { display: none; }
  .hero .sound { padding: 0 12px; }
  .slide-info { bottom: 96px; }
  .grid { grid-template-columns: 1fr; }
  .nextprev { grid-template-columns: 1fr; }
  .nextprev a + a { border-left: 0; border-top: 1px solid var(--line); text-align: left; }
  .credits div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- Curseur rond ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 999; width: 32px; height: 32px; margin: -16px 0 0 -16px; border: 1.5px solid #fff; border-radius: 50%; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: width .28s var(--ease), height .28s var(--ease), margin .28s var(--ease), background .28s, opacity .25s; will-change: transform; }
.cursor.on { opacity: 1; }
.cursor.big { width: 22px; height: 22px; margin: -11px 0 0 -11px; background: #fff; }
.cursor.down { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
.cursor.big.down { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
@media (hover: hover) and (pointer: fine) { .has-cursor, .has-cursor * { cursor: none !important; } }

/* ---------- Catalogue : « Voir le projet » animé ---------- */
.card .see, .card:hover .see { opacity: 1; transform: none; display: inline-flex; gap: 10px; overflow: hidden; padding: 0 12px 5px 0; }
.card .see > span { display: inline-block; transform: translateY(130%); transition: transform .5s var(--ease); }
.card .see > .arr { color: var(--accent); transition-delay: .07s; }
.card:hover .see > span { transform: none; }
.card:hover .see > .arr { animation: nudge 1s var(--ease) .55s infinite; }
.card .see::after { content: ""; position: absolute; left: 0; right: 12px; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .1s; }
.card:hover .see::after { transform: scaleX(1); }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(7px); } }

/* ---------- Services : menu déroulant ---------- */
.acc-hint { margin: -8px 0 16px; }
.acc { border-bottom: 1px solid var(--line); }
.acc h2 { font: inherit; }
.acc-h { width: 100%; text-align: left; display: grid; grid-template-columns: 70px 1fr 1.1fr 44px; gap: 24px; align-items: center; padding: clamp(18px, 3vh, 34px) 0; }
.acc-h .n { font-size: 12px; letter-spacing: .18em; color: var(--accent); }
.acc-h .h { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 5vw, 80px); line-height: .92; transition: transform .5s var(--ease), color .3s; }
.acc-h .s { color: var(--fg-dim); max-width: 46ch; }
.acc-h:hover .h, .acc.open .h { transform: translateX(14px); color: var(--accent); }
.pm { position: relative; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; justify-self: end; transition: background .3s, border-color .3s, transform .5s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .45s var(--ease); }
.pm::after { transform: rotate(90deg); }
.acc.open .pm { background: var(--accent); border-color: var(--accent); color: #111110; transform: rotate(180deg); }
.acc.open .pm::after { transform: rotate(0); }
.acc-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc.open .acc-p { grid-template-rows: 1fr; }
.acc-p > div { overflow: hidden; }
.acc-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 70px); padding: 6px 0 clamp(28px, 5vh, 54px) 94px; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s var(--ease); }
.acc.open .acc-in { opacity: 1; transform: none; transition-delay: .15s; }
.acc-in p { font-size: clamp(17px, 1.5vw, 21px); max-width: 44ch; }
.acc-in ul { list-style: none; margin-top: 12px; }
.acc-in li { padding: 11px 0 11px 22px; border-top: 1px solid var(--line); position: relative; font-size: 15px; }
.acc-in li::before { content: ""; position: absolute; left: 0; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Chiffres ---------- */
.stat b { overflow: hidden; }
.stat b span, .stat b i { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); }
.stat.in b span, .stat.in b i { transform: none; }
.stat.in b span { transition-delay: .12s; }
.stat .label { opacity: 0; transition: opacity .8s ease .5s; }
.stat.in .label { opacity: 1; }
.stat:nth-child(2) b span, .stat:nth-child(2) b i { transition-delay: .15s; }
.stat:nth-child(3) b span, .stat:nth-child(3) b i { transition-delay: .3s; }

/* ---------- Formulaire de contact ---------- */
.form { border-top: 1px solid var(--line); margin-top: clamp(40px, 7vh, 80px); padding-top: clamp(30px, 5vh, 56px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 26px clamp(20px, 3vw, 48px); margin-top: clamp(26px, 4vh, 44px); }
.fields label { display: block; }
.fields label.full { grid-column: 1 / -1; }
.fields label span { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 4px; transition: color .25s; }
.fields label:focus-within span { color: var(--accent); }
.fields input, .fields select, .fields textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--fg); font: inherit; font-size: 19px; padding: 10px 0 12px; border-radius: 0; outline: 0; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.fields textarea { resize: vertical; min-height: 130px; }
.fields select option { color: #111110; }
.fields input:focus, .fields select:focus, .fields textarea:focus { border-color: var(--accent); }
.fields .bad { border-color: #ff5a4f; }
.hp { position: absolute !important; left: -9999px; width: 1px !important; }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }
.form-msg { color: var(--fg-dim); }
.form-msg.ok { color: var(--accent); }
.contact-grid { margin-top: clamp(50px, 8vh, 96px); }

/* ---------- Contact : icônes des réseaux ---------- */
.socials { display: flex; gap: 14px; }
.contact-grid .socials a { width: 54px; height: 54px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: background .3s, border-color .3s, color .3s, transform .4s var(--ease); }
.contact-grid .socials a:hover { background: var(--accent); border-color: var(--accent); color: #111110; transform: translateY(-3px); }
.socials svg { width: 22px; height: 22px; }

/* ---------- À propos : les portraits descendent jusqu'au trait ---------- */
.team-sec { padding-bottom: 0; }
.member .who { padding-bottom: 0; }

/* ---------- Fiche projet : images du film ---------- */
.stills { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1vw, 16px); padding-bottom: clamp(48px, 8vh, 96px); }
.still { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: var(--bg-2); position: relative; }
.still img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .4s; }
.still:hover img { transform: scale(1.06); opacity: .82; }
.still::after { content: "+"; position: absolute; right: 12px; bottom: 8px; color: #f2eee5; font-size: 22px; font-weight: 300; opacity: 0; transition: opacity .3s; }
.still:hover::after { opacity: 1; }
@media (max-width: 560px) { .stills { grid-template-columns: 1fr 1fr; } }

/* ---------- Visionneuse d'images ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8, 8, 7, .94); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .35s ease; color: #f2eee5; }
.lb.open { opacity: 1; pointer-events: auto; }
.lb img { max-width: 88vw; max-height: 82vh; border-radius: 3px; transform: scale(.97); transition: transform .5s var(--ease); }
.lb.open img { transform: none; }
.lb button { position: absolute; width: 52px; height: 52px; border: 1px solid rgba(242,238,229,.3); border-radius: 50%; font-size: 18px; display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s; }
.lb button:hover { background: var(--accent); border-color: var(--accent); color: #111110; }
.lb .lb-x { top: 24px; right: var(--pad); }
.lb .lb-p { left: var(--pad); top: 50%; margin-top: -26px; }
.lb .lb-n { right: var(--pad); top: 50%; margin-top: -26px; }
.lb .lb-c { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: .2em; }

/* ---------- Lecteur vidéo ---------- */
.player video { cursor: pointer; }
.pc { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3; display: flex; align-items: center; gap: 14px; height: 54px; padding: 0 10px 0 8px; border-radius: 54px; color: #f2eee5; background: rgba(17, 17, 16, .38); border: 1px solid rgba(242, 238, 229, .16); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); transition: opacity .4s ease, transform .5s var(--ease); }
.player.idle .pc { opacity: 0; transform: translateY(10px); pointer-events: none; }
.player.idle video { cursor: none; }
.pc button { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; transition: background .25s, color .25s; }
.pc button:hover { background: var(--accent); color: #111110; }
.pc svg { width: 18px; height: 18px; }
.pc .i-pause, .pc .i-off { display: none; }
.player.playing .pc .i-play { display: none; } .player.playing .pc .i-pause { display: block; }
.player.muted .pc .i-on { display: none; } .player.muted .pc .i-off { display: block; }
.pc-time { font-size: 12px; letter-spacing: .08em; font-variant-numeric: tabular-nums; min-width: 38px; text-align: center; }
.pc-bar { flex: 1; height: 26px; position: relative; cursor: pointer; touch-action: none; }
.pc-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: rgba(242, 238, 229, .28); border-radius: 2px; }
.pc-bar i { position: absolute; left: 0; top: 12px; height: 2px; width: 0; background: var(--accent); border-radius: 2px; }
.pc-bar i::after { content: ""; position: absolute; right: -6px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: #f2eee5; transform: scale(0); transition: transform .25s var(--ease); }
.pc-bar:hover i::after, .pc-bar.drag i::after { transform: scale(1); }
.pc-vol { width: 0; opacity: 0; height: 26px; position: relative; cursor: pointer; touch-action: none; transition: width .35s var(--ease), opacity .3s; margin-left: -8px; }
.pc-volwrap { display: flex; align-items: center; gap: 8px; }
.pc-volwrap:hover .pc-vol, .pc-vol.drag { width: 70px; opacity: 1; margin-left: 0; }
.pc-vol::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: rgba(242, 238, 229, .28); }
.pc-vol i { position: absolute; left: 0; top: 12px; height: 2px; background: #f2eee5; }
.player:fullscreen { aspect-ratio: auto !important; border-radius: 0; }
.player:fullscreen video { object-fit: contain; }
.player:-webkit-full-screen { aspect-ratio: auto !important; }
.player:-webkit-full-screen video { object-fit: contain; }
.player:fullscreen, .player:fullscreen * { cursor: auto !important; }
.player:fullscreen.idle, .player:fullscreen.idle * { cursor: none !important; }
@media (max-width: 560px) { .pc { gap: 8px; height: 46px; left: 8px; right: 8px; bottom: 8px; } .pc-volwrap .pc-vol { display: none; } .pc-time.dur { display: none; } }

@media (max-width: 900px) { .logo img { height: 25px; width: auto; } }

/* Thème clair : logo noir dès que l'en-tête est sur fond clair (accueil défilé, menu mobile ouvert) */
:root[data-theme="light"] .hdr.solid .logo .l-white, :root[data-theme="light"] .menu-open .logo .l-white { display: none; }
:root[data-theme="light"] .hdr.solid .logo .l-black, :root[data-theme="light"] .menu-open .logo .l-black { display: block; }

/* Bandeau de logos : au survol, le logo se soulève et les autres s'estompent */
.marquee a { transition: opacity .35s ease; }
.marquee a img { transition: transform .5s var(--ease); }
.marquee-in:hover a { opacity: .4; }
.marquee-in:hover a:hover { opacity: 1; }
.marquee a:hover img { transform: translateY(-5px) scale(1.12); }

/* ---------- Accueil : ligne de présentation et bouton « Passer » ---------- */
.hero-tag { position: absolute; z-index: 3; left: var(--pad); top: calc(var(--hdr) + 18px); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: min(520px, 70vw); }
.hero-tag h1 { font-family: var(--body); font-weight: 600; font-size: clamp(12px, 1.05vw, 15px); letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; }
.hero-tag h1 span { color: var(--accent); margin: 0 .3em; }
.hero-tag p { font-size: clamp(11px, .9vw, 13px); letter-spacing: .16em; text-transform: uppercase; color: rgba(242, 238, 229, .72); }
.hero-cta { margin-top: 10px; display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 18px; border-radius: 38px; background: var(--accent); color: #111110; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; transition: background .3s, transform .4s var(--ease); }
.hero-cta:hover { background: #f2eee5; transform: translateY(-2px); }
.hero-cta span { transition: transform .35s var(--ease); display: inline-block; }
.hero-cta:hover span { transform: translateX(5px); }
.skip { background: #f2eee5; border-color: #f2eee5; color: #111110; font-weight: 600; height: 44px; padding: 0 22px; }
.skip:hover { background: var(--accent); border-color: var(--accent); }
@media (max-width: 900px) { .hero-tag { top: calc(var(--hdr) + 6px); } .skip { height: 36px; padding: 0 14px; } }
@media (max-width: 560px) { .hero-cta { height: 34px; padding: 0 14px; } }
.skip i { font-style: normal; white-space: pre; }
@media (max-width: 560px) { .skip i { display: none; } }
.skip i { margin-left: -4px; }

/* Fiche documentaire : extrait + lien vers le film complet */
.more { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; }
@media (min-width: 561px) { .stills.four { grid-template-columns: repeat(4, 1fr); } }

/* Accueil : présentation du studio à côté du logo */
.brand { margin: 0 auto 0 28px; display: flex; flex-direction: column; gap: 3px; min-width: 0; position: relative; z-index: 61; }
.brand h1 { font-family: var(--body); font-weight: 600; font-size: clamp(10px, .95vw, 13px); letter-spacing: .18em; text-transform: uppercase; line-height: 1.35; }
.brand h1 span { color: var(--accent); margin: 0 .25em; }
.brand p { font-size: clamp(9px, .8vw, 11px); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
@media (max-width: 900px) { .brand { margin-left: 16px; margin-right: 10px; } .brand p { display: none; } }
@media (max-width: 420px) { .brand h1 { font-size: 9px; letter-spacing: .12em; } }

/* ---------- Accueil : présentation ---------- */
.intro { grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 6vw, 110px); align-items: end; }
.intro h2 { margin-top: 20px; font-size: clamp(40px, 6vw, 104px); }
.intro .intro-txt p { max-width: none; margin-top: 0; }
.intro .intro-txt .lead2 { font-size: clamp(19px, 1.75vw, 27px); line-height: 1.38; color: var(--fg); text-wrap: pretty; }
.intro .intro-txt p + p { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.6; color: var(--fg-dim); text-wrap: pretty; }
/* chiffres : une seule ligne au-dessus, bloc centré entre la présentation et « Ils nous font confiance » */
.stats.mid { border-bottom: 0; margin-top: clamp(64px, 11vh, 140px); padding: clamp(64px, 11vh, 140px) 0 0; justify-content: space-around; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Accueil : services animés ---------- */
.svc.anim { align-items: start; }
.svc.anim h3 { overflow: hidden; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.svc.anim h3 span { display: inline-block; transform: translateY(112%) rotate(4deg); transform-origin: left bottom; transition: transform 1s var(--ease); }
.svc.anim.in h3 span { transform: none; }
.svc.anim p { opacity: 0; transform: translateY(14px); transition: opacity .8s ease .35s, transform .9s var(--ease) .35s; max-width: 52ch; font-size: 16px; line-height: 1.6; padding-top: .5em; }
.svc.anim.in p { opacity: 1; transform: none; }
.svc.anim .n { padding-top: 1.2em; transition: transform .5s var(--ease); }
.svc.anim::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.svc.anim:hover::after { transform: scaleX(1); }
.svc.anim:hover p { color: var(--fg); transition: color .3s; }
.svc.anim:hover .n { transform: translateX(6px); }

/* ---------- Appel à contact ---------- */
.cta > .label { display: block; font-size: clamp(15px, 1.5vw, 22px); letter-spacing: .14em; color: var(--fg); margin-bottom: 12px; }

/* Accueil : chiffres en grand */
.stats.mid .stat { flex-direction: column; align-items: center; gap: 12px; text-align: center; flex: 1; }
.stats.mid .stat b { font-size: clamp(48px, 5.6vw, 92px); font-weight: 800; line-height: .9; justify-content: center; }
.stats.mid .stat .label { display: block; width: 100%; text-align: center; font-size: clamp(11px, .95vw, 13px); letter-spacing: .24em; padding-left: .24em; }
@media (max-width: 900px) { .stats.mid { align-items: center; gap: 44px; } }

/* ---------- Services : méthode en quatre étapes cliquables ---------- */
.proc-tabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.proc-t { text-align: left; padding: 28px 20px 30px 0; opacity: .38; transition: opacity .4s ease; }
.proc-t + .proc-t { padding-left: 24px; border-left: 1px solid var(--line); }
.proc-t:hover { opacity: .75; }
.proc-t.on { opacity: 1; }
.proc-t .n { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(60px, 7vw, 112px); line-height: .9; transition: color .4s ease, transform .6s var(--ease); transform-origin: left bottom; }
.proc-t.on .n { color: var(--accent); transform: scale(1.08); }
.proc-t .h { display: block; margin-top: 18px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.3vw, 36px); line-height: 1; }
.proc-line { position: absolute; left: 0; top: -1px; width: 25%; height: 2px; background: var(--accent); transition: transform .7s var(--ease); }
.proc-panels { display: grid; border-top: 1px solid var(--line); }
.proc-p { grid-area: 1 / 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 90px); align-items: start; padding: clamp(28px, 5vh, 54px) 0 0; opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .35s ease, transform .6s var(--ease); }
.proc-p.on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
.proc-p .p1 { font-size: clamp(22px, 2.3vw, 36px); line-height: 1.25; text-wrap: pretty; }
.proc-p .p1 .accent { font-size: .5em; letter-spacing: .14em; vertical-align: .55em; margin-right: .5em; }
.proc-p .p2 { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--fg-dim); padding-top: .5em; text-wrap: pretty; }
@media (max-width: 900px) {
  .proc-t { padding: 20px 8px 20px 0; } .proc-t + .proc-t { padding-left: 12px; }
  .proc-t .h { font-size: 13px; margin-top: 10px; hyphens: auto; }
  .proc-p { grid-template-columns: 1fr; }
}

/* ---------- À propos : bandeau de mots-clés qui défile ---------- */
.marquee.words { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(18px, 3vh, 34px) 0; }
.marquee.words .marquee-in { align-items: center; }
.marquee.words span { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(54px, 9vw, 150px); line-height: 1; white-space: nowrap; padding: 0 clamp(18px, 2.4vw, 40px); }
.marquee.words span.o { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.marquee.words i { font-style: normal; color: var(--accent); font-size: clamp(20px, 2.6vw, 42px); }
.team-sec { border-top: 0; }

/* À propos : retouches */
.marquee.words { padding: clamp(12px, 2vh, 22px) 0; }
.marquee.words span { font-size: clamp(26px, 3.4vw, 56px); padding: 0 clamp(14px, 1.8vw, 30px); }
.marquee.words span.o { -webkit-text-stroke-width: 1px; }
.marquee.words i { font-size: clamp(12px, 1.2vw, 20px); }
.two p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; text-wrap: pretty; }
/* matériel : même principe que « Notre méthode » */
.proc-p.gear-p { display: block; }
.gear-p ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 5vw, 90px); }
.gear-p li { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 42px); line-height: 1.05; opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .6s var(--ease); }
.gear-p li span { font-family: var(--body); font-weight: 500; font-size: 11px; letter-spacing: .18em; color: var(--accent); }
.gear-p.on li { opacity: 1; transform: none; }
.gear-p.on li:nth-child(1) { transition-delay: .12s; } .gear-p.on li:nth-child(2) { transition-delay: .18s; }
.gear-p.on li:nth-child(3) { transition-delay: .24s; } .gear-p.on li:nth-child(4) { transition-delay: .3s; }
@media (max-width: 900px) { .gear-p ul { grid-template-columns: 1fr; } }

/* ---------- À propos : matériel en tableau, une colonne mise en avant ---------- */
.gtab { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gcol { position: relative; padding: 26px 22px 34px; outline: 0; transition: background .5s ease; }
.gcol:first-child { padding-left: 0; }
.gcol + .gcol { border-left: 1px solid var(--line); }
.gcol::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.gcol.on::before { transform: scaleX(1); }
.gh { display: flex; align-items: baseline; gap: 12px; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.gh .n { font-size: 11px; letter-spacing: .18em; color: var(--accent); }
.gh h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.3vw, 36px); line-height: 1; transition: color .4s ease; }
.gcol ul { list-style: none; }
.gcol li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: clamp(15px, 1.25vw, 19px); line-height: 1.3; opacity: .26; transform: translateX(0); transition: opacity .45s ease, transform .6s var(--ease); }
.gcol li:last-child { border-bottom: 0; }
.gcol .gh h3 { opacity: .45; transition: opacity .4s ease, color .4s ease; }
.gcol.on .gh h3 { opacity: 1; color: var(--accent); }
.gcol.on li { opacity: 1; transform: translateX(8px); }
.gcol.on li:nth-child(2) { transition-delay: .05s; } .gcol.on li:nth-child(3) { transition-delay: .1s; } .gcol.on li:nth-child(4) { transition-delay: .15s; }
@media (max-width: 900px) { .gtab { grid-template-columns: 1fr 1fr; } .gcol { padding: 22px 14px 26px; } .gcol:nth-child(odd) { padding-left: 0; border-left: 0; } .gcol:nth-child(n + 3) { border-top: 1px solid var(--line); } }

/* ==========================================================================
   Téléphones et tablettes — rien dans ce bloc ne s'applique aux ordinateurs
   ========================================================================== */
@media (max-width: 900px) {
  /* Menu : plein écran fiable même après défilement, page figée derrière */
  body.menu-open { overflow: hidden; }
  .menu-open .hdr, .menu-open .hdr.solid, .menu-open .hdr.up { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; transform: none; }
  .right { gap: 40px; padding-top: var(--hdr); overflow-y: auto; }
  .nav { gap: 6px; width: 100%; }
  .nav a { font-size: clamp(44px, 13vw, 64px); padding: 8px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a.on { color: var(--accent); }
  .tools { gap: 22px; }
  .tools a, .tools button { font-size: 14px; padding: 10px 0; }
  .theme-btn { width: 44px; height: 44px; }
  .burger { width: 44px; height: 44px; margin-right: -8px; }
  .burger i { left: 11px; right: 11px; } .burger i:first-child { top: 18px; } .burger i:last-child { top: 25px; }
  .menu-open .burger i:first-child, .menu-open .burger i:last-child { top: 21.5px; }

  /* Rythme général */
  .section { padding-top: 56px; padding-bottom: 56px; }
  .page { padding-top: calc(var(--hdr) + 28px); }
  .head { gap: 18px; padding-bottom: 30px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
  .lead { max-width: none; }
  .btn { height: 50px; }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .two p { text-align: left; hyphens: manual; -webkit-hyphens: manual; }

  /* Accueil */
  .hero-bar { bottom: calc(18px + env(safe-area-inset-bottom)); }
  .dots { bottom: calc(19px + env(safe-area-inset-bottom)); }
  .dots button { width: 32px; height: 32px; }
  .stats.mid { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 8px; margin-top: 44px; padding-top: 44px; }
  .stats.mid .stat { gap: 8px; min-width: 0; }
  .stats.mid .stat b { font-size: clamp(34px, 11vw, 56px); }
  .stats.mid .stat .label { font-size: 9px; letter-spacing: .14em; padding-left: 0; }
  .svc.anim { grid-template-columns: 30px 1fr; gap: 6px 10px; padding: 22px 0; }
  .svc.anim .n { padding-top: .9em; }
  .svc.anim p { grid-column: 2; padding-top: 4px; }

  /* Catalogue : filtres sur une ligne qui défile au doigt */
  .filters { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 12px var(--pad); gap: 6px; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button.f, .filters .sound { flex: none; height: 40px; }
  .filters .sound { margin-left: 6px; }
  .grid { gap: 22px 14px; padding-top: 22px; padding-bottom: 56px; }
  .meta { padding: 12px 0 6px; }
  .card .see { display: none; }

  /* Fiche projet */
  .proj-head { gap: 14px; padding-bottom: 22px; }
  .proj-body { padding: 34px 0 40px; gap: 34px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .fact b { font-size: 22px; }
  .fact:last-child { grid-column: 1 / -1; }
  .player[style] { max-width: none !important; }
  .more { flex-direction: column; align-items: flex-start; gap: 12px; }
  .more .btn { width: 100%; justify-content: center; }
  .nextprev a { padding: 30px var(--pad); }

  /* Services */
  .acc-h { padding: 20px 0; min-height: 64px; }
  .acc-h .h { font-size: clamp(30px, 9vw, 44px); }
  .acc-in p { font-size: 17px; }
  .proc-t .n { font-size: clamp(44px, 13vw, 72px); }
  .proc-p { padding-top: 26px; gap: 16px; }
  .proc-p .p1 { font-size: 21px; }
  .plus > div { padding: 22px 0; }

  /* À propos */
  .team-sec { padding-bottom: 0; }
  .member { padding: 22px 0; }
  .member b { font-size: clamp(30px, 9vw, 44px); }
  .gh h3 { font-size: 21px; }
  .gcol li { font-size: 14px; padding: 11px 0; }

  /* Contact */
  .contact-big { font-size: clamp(27px, 8.2vw, 60px); }
  .fields { gap: 22px; }
  .fields input, .fields select, .fields textarea { font-size: 17px; padding: 12px 0 14px; }
  .form-end .btn { width: 100%; justify-content: center; }
  .contact-grid a { padding: 8px 0; }
  .socials a { width: 56px; height: 56px; }

  /* Visionneuse d'images : commandes en bas, à portée de pouce */
  .lb img { max-width: 94vw; max-height: 70vh; }
  .lb .lb-p, .lb .lb-n { top: auto; margin: 0; bottom: calc(22px + env(safe-area-inset-bottom)); }
  .lb .lb-p { left: calc(50% - 96px); } .lb .lb-n { right: calc(50% - 96px); }
  .lb .lb-c { bottom: calc(40px + env(safe-area-inset-bottom)); }
  .lb .lb-x { top: 16px; }

  /* Pied de page */
  .ftr { flex-direction: column; gap: 18px; padding: 30px var(--pad) calc(30px + env(safe-area-inset-bottom)); }
  .ftr nav { gap: 6px 22px; }
  .ftr a { padding: 6px 0; display: inline-block; }
}
@media (max-width: 560px) {
  .page-title { font-size: clamp(56px, 17vw, 88px); }
  .proj-title { font-size: clamp(42px, 12.5vw, 70px); }
  .sec-title { font-size: clamp(36px, 10.5vw, 56px); }
  .intro h2 { font-size: clamp(36px, 10.5vw, 56px); }
  .slide-title { font-size: clamp(44px, 13vw, 72px); }
  .cta .big { font-size: clamp(54px, 16vw, 90px); }
  .proc-t .h { font-size: 11px; letter-spacing: .02em; }
  .gtab { grid-template-columns: 1fr; }
  .gcol, .gcol:nth-child(odd) { padding: 20px 0 22px; border-left: 0; }
  .gcol + .gcol { border-top: 1px solid var(--line); border-left: 0; padding-left: 0; }
  .gcol li { opacity: .7; }
  .gcol.on li { transform: none; }
  .pc-time.cur { min-width: 32px; }
}
/* Écrans tactiles : pas de survol, donc pas d'effets qui en dépendent */
@media (hover: none) {
  .card:hover .thumb img { transform: none; }
  .svc:hover h3, .svc.anim:hover .n { transform: none; }
  .marquee-in:hover a { opacity: 1; }
  .marquee a:hover img { transform: none; }
  .member .portrait img { filter: none; }
  .gcol li { opacity: .75; }
}

/* Bandeau de logos : images déjà colorées, sans filtre */
.marquee .lk { display: none; }
:root[data-theme="light"] .marquee .lw { display: none; }
:root[data-theme="light"] .marquee .lk { display: block; }
.marquee a { opacity: .85; }
@media (max-width: 900px) {
  .marquee img { height: 30px; max-width: 150px; }
  .marquee a { padding: 12px 20px; }
}

/* Bandeaux défilants : conteneur de défilement (utilisé sur écrans tactiles) */
.marquee-s { overflow: hidden; }

/* La section « Ils nous font confiance » est masquée sur téléphones et tablettes (défilement mal rendu par Safari mobile) */
@media (max-width: 900px), (hover: none) { .trust { display: none; } }
