/* Cyril Caron : sombre et plein cadre. Menu plein écran, curseur qui parle, galerie à glisser, liste web à la Dennis Snellenberg. */
@font-face { font-family: "Bricolage Grotesque"; src: url(../fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #0e0e0d;
  --bg-2: #171715;
  --fg: #f1efe9;
  --muted: #9a978f;
  --line: #2a2a27;
  --sand: #d9c7a7;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.7, 0, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.gut { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1440px; margin: 0 auto; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h2.big, h1.big { font-family: var(--display); font-weight: 500; font-size: clamp(39.6px, 7.2vw, 115.2px); line-height: .9; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
[hidden] { display: none !important; }


/* préchargement */
.loader { position: fixed; inset: 0; z-index: 80; background: #0b0b0a; display: grid; place-items: center; transition: transform .9s var(--ease); }
.loader.out { transform: translateY(-100%); }
.loader .n { font-family: var(--display); font-size: clamp(54px, 12.6vw, 180px); font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.loader .who { position: absolute; bottom: max(28px, env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }

/* en-tête */
header.top { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding-block: 18px; mix-blend-mode: difference; pointer-events: none; }
header.top > * { pointer-events: auto; }
.brand { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.brand small { font-family: var(--body); font-weight: 400; font-size: 13px; color: #bbb; margin-left: 10px; letter-spacing: 0; }
.menu-btn { width: 68px; height: 68px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.magnet { transition: transform .35s cubic-bezier(.2,.8,.2,1); will-change: transform; }

/* menu plein écran */
.menu { position: fixed; inset: 0; z-index: 70; background: #0b0b0a; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
.menu.open { clip-path: inset(0 0 0 0); }
.menu nav { padding: 110px max(20px, env(safe-area-inset-left, 0px)) 40px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.menu nav a { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 5.76vw, 86.4px); line-height: 1.02; letter-spacing: -.035em; display: flex; align-items: baseline; gap: 18px; color: #6f6c66; transition: color .3s, transform .5s var(--ease); transform: translateY(40px); opacity: 0; }
.menu.open nav a { transform: none; opacity: 1; }
.menu nav a small { font-family: var(--body); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.menu nav a:hover, .menu nav a:focus-visible { color: var(--fg); }
.menu .pv { position: relative; overflow: hidden; margin: 18px; border-radius: 6px; }
.menu .pv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .6s, transform 1.2s var(--ease); }
.menu .pv img.on { opacity: 1; transform: scale(1); }
.menu .foot { position: absolute; left: max(20px, env(safe-area-inset-left, 0px)); bottom: max(22px, env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 13px; display: flex; gap: 22px; }
.menu-close { position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); right: max(20px, env(safe-area-inset-right, 0px)); z-index: 2; width: 68px; height: 68px; border-radius: 50%; border: 1px solid #555; background: #0b0b0a; cursor: pointer; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 820px) { .menu { grid-template-columns: 1fr; } .menu .pv { display: none; } }

/* héro sobre : texte à gauche, une photo qui change doucement à droite */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(21.6px, 3.6vw, 63px); align-items: end; padding-block: clamp(108px, 12.6vw, 153px) clamp(45px, 5.4vw, 81px); }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(39.6px, 5.58vw, 86.4px); line-height: .95; letter-spacing: -.04em; margin: 0; }
.hero .sub { color: var(--muted); font-size: 15px; max-width: 32ch; margin: 22px 0 0; }
.hero .links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; font-size: 15px; }
.hero .links a { border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .3s; }
.hero .links a:hover { border-color: var(--fg); }
.hero figure { margin: 0; }
.hero .ph { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 3px; background: var(--bg-2); }
.hero .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.hero .ph img.on { opacity: 1; }
.hero figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: 13px; color: var(--muted); }
.hero figcaption b { color: var(--fg); font-weight: 500; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; padding-top: 110px; } }

/* présentation */
.pres { padding-block: clamp(54px, 7.2vw, 99px); border-top: 1px solid var(--line); }
.vA { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(25.2px, 4.5vw, 72px); align-items: center; }
.vA img { width: 100%; max-width: 420px; aspect-ratio: 4/5; object-fit: cover; object-position: center 25%; border-radius: 3px; filter: grayscale(1); transition: filter .8s; }
.vA img:hover { filter: none; }
.vA p { font-size: clamp(17.1px, 1.53vw, 20.7px); line-height: 1.5; margin: 0 0 18px; max-width: 46ch; }
.vA p.m { color: var(--muted); font-size: 16px; }
.vA .sig { font-family: var(--display); font-size: 23px; letter-spacing: -.02em; margin-top: 26px; }
@media (max-width: 820px) { .vA { grid-template-columns: 1fr; } }

/* sections */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 34px; }
.sec-head p { color: var(--muted); max-width: 38ch; margin: 0; }
section { position: relative; }
.reveal { transform: translateY(0); }
.reveal.pre { transform: translateY(50px); opacity: .001; }
.reveal.go { transition: transform 1s var(--ease), opacity 1s var(--ease); transform: none; opacity: 1; }

/* photo : galerie à glisser */
.photo { padding-block: 36px 108px; }
.slider { position: relative; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.slider.drag { cursor: grabbing; }
.strip { display: flex; gap: 22px; padding-left: max(20px, env(safe-area-inset-left, 0px)); will-change: transform; }
.slide { flex: 0 0 clamp(234px, 30.6vw, 468px); }
.slide .frame { overflow: hidden; border-radius: 4px; aspect-ratio: 4/5; position: relative; }
.slide .frame img { position: absolute; top: 0; left: -12%; width: 124%; height: 100%; object-fit: cover; pointer-events: none; will-change: transform; transition: scale .8s var(--ease); }
.slide:hover .frame img { scale: 1.04; }
.slide .cap { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; }
.slide .cap b { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -.02em; }
.slide .cap span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.slider-ui { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 26px; }
.progress { flex: 1; height: 1px; background: var(--line); position: relative; }
.progress i { position: absolute; left: 0; top: -1px; height: 3px; background: var(--fg); width: 20%; }
.arrows { display: flex; gap: 10px; }
.arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 16px; }

/* vidéo */
.video { padding-block: 36px 108px; }
.vgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.vcard { grid-column: span 6; }
.vcard.w4 { grid-column: span 4; }
.vcard .screen { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 16/10; background: #000; }
.vcard .screen img, .vcard .screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform 1.4s var(--ease); }
.vcard .screen video { opacity: 0; }
.vcard.playing .screen video { opacity: 1; }
.vcard:hover .screen img { transform: scale(1.06); }
.vcard .badge { position: absolute; left: 14px; bottom: 14px; background: rgba(14,14,13,.7); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 30px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.vcard .cap { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; }
.vcard .cap b { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -.02em; }
.vcard .cap span { color: var(--muted); font-size: 13px; }
@media (max-width: 820px) { .vcard, .vcard.w4 { grid-column: span 12; } }

/* édition & web : liste à la Dennis */
.work { padding-block: 36px 108px; }
.toggles { display: flex; gap: 8px; flex-wrap: wrap; }
.toggles button { border: 1px solid var(--line); background: transparent; border-radius: 40px; padding: 12px 22px; cursor: pointer; font-size: 14px; transition: background .3s, color .3s; }
.toggles button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.list-head { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) 80px; gap: 16px; padding: 22px 0 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) 80px; gap: 16px; align-items: center; padding: clamp(23.4px, 3.06vw, 41.4px) 0; border-bottom: 1px solid var(--line); transition: opacity .35s, padding .5s var(--ease); cursor: pointer; }
.row h3 { font-family: var(--display); font-weight: 500; font-size: clamp(27px, 3.96vw, 61.2px); letter-spacing: -.035em; line-height: 1; margin: 0; transition: transform .5s var(--ease); }
.row span { color: var(--muted); font-size: 15px; }
.row .yr { text-align: right; }
.row .mob { display: none; }
.rows:hover .row { opacity: .32; }
.rows .row:hover { opacity: 1; }
.rows .row:hover h3 { transform: translateX(14px); }
.floater { position: fixed; left: 0; top: 0; z-index: 40; width: 324px; height: 234px; pointer-events: none; overflow: hidden; border-radius: 4px; transform: translate(-50%, -50%) scale(0); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.floater.on { transform: translate(-50%, -50%) scale(1); }
.floater .rail { position: absolute; left: 0; width: 100%; transition: top .55s var(--ease); }
.floater .rail div { height: 234px; display: grid; place-items: center; }
.floater .rail img { width: 100%; height: 100%; object-fit: cover; }
.floater .rail img.contain { object-fit: contain; width: 74%; height: 88%; }
.wgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 22px; padding-top: 30px; }
.wgrid a .pic { background: var(--bg-2); border-radius: 4px; aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden; }
.wgrid a .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wgrid a .pic img.contain { object-fit: contain; width: 70%; height: 86%; }
.wgrid a:hover .pic img { transform: scale(1.05); }
.wgrid a h3 { font-family: var(--display); font-weight: 500; font-size: 27px; letter-spacing: -.03em; margin: 16px 0 4px; }
.wgrid a p { color: var(--muted); margin: 0; font-size: 14px; }
@media (max-width: 820px) {
  .list-head { display: none; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .row .col, .row .yr { display: none; }
  .row .mob { display: block; }
  .wgrid { grid-template-columns: 1fr; }
}

/* regards */
.regards { padding-block: 54px 126px; background: var(--bg-2); }
.regards .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
.regards p.txt { color: var(--muted); max-width: 40ch; margin: 22px 0 30px; font-size: 15px; }
.fan { position: relative; height: clamp(324px, 36vw, 504px); perspective: 1200px; }
.fan figure { position: absolute; top: 50%; left: 50%; width: clamp(162px, 18vw, 261px); margin: 0; transform-origin: 50% 120%; transition: transform .8s var(--ease), box-shadow .8s; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.fan figure img { width: 100%; aspect-ratio: 695/900; object-fit: cover; border-radius: 2px; }
.fan figure:nth-child(1) { transform: translate(-50%, -50%) rotate(-8deg) translateX(-60px); }
.fan figure:nth-child(2) { transform: translate(-50%, -50%) rotate(0deg); z-index: 2; }
.fan figure:nth-child(3) { transform: translate(-50%, -50%) rotate(8deg) translateX(60px); }
.fan:hover figure:nth-child(1) { transform: translate(-50%, -50%) rotate(-14deg) translateX(-150px) translateY(10px); }
.fan:hover figure:nth-child(2) { transform: translate(-50%, -54%) rotate(0deg); }
.fan:hover figure:nth-child(3) { transform: translate(-50%, -50%) rotate(14deg) translateX(150px) translateY(10px); }
.fan figure:hover { z-index: 5; }
.pill { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--fg); border-radius: 40px; padding: 13px 22px; font-weight: 500; }
@media (max-width: 820px) { .regards .inner { grid-template-columns: 1fr; } .fan:hover figure:nth-child(1) { transform: translate(-50%, -50%) rotate(-12deg) translateX(-90px); } .fan:hover figure:nth-child(3) { transform: translate(-50%, -50%) rotate(12deg) translateX(90px); } }

/* contact */
footer.contact { padding-block: clamp(81px, 10.8vw, 153px) 40px; }
footer .hello { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
footer .hello img { flex: none; width: clamp(63px, 7.2vw, 99px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: center 20%; }
footer .line { position: relative; height: 1px; background: var(--line); margin: clamp(45px, 5.4vw, 72px) 0; }
footer .line .round { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); background: var(--sand); color: #1b1a17; }
footer .cta { display: flex; gap: 12px; flex-wrap: wrap; }
footer .meta { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13px; padding-top: 80px; }
footer .meta b { display: block; color: var(--fg); font-weight: 500; margin-top: 4px; }

/* curseur */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 12px; height: 12px; border-radius: 50%; background: var(--fg); pointer-events: none; transform: translate(-50%, -50%); transition: width .3s, height .3s, background .3s; display: grid; place-items: center; mix-blend-mode: normal; }
.cursor span { font-size: 13px; color: var(--bg); font-weight: 600; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.big { width: 84px; height: 84px; }
.cursor.big span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .floater { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01s !important; animation: none !important; }
  .reveal.pre { transform: none; opacity: 1; }
}

/* --- ajouts site réel --- */
body { margin: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 16px; }
.skip:focus { left: 12px; top: 12px; }
.hero h1 { margin-top: 18px; }
.hero .ph { display: block; }
.pres > .eyebrow { margin: 0 0 40px; }
.regards h2.big { margin-top: 14px; }
.list-head .yr { text-align: right; }
.menu .foot a:hover { color: var(--fg); }
.loader { display: none; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(27px, 4.5vw, 72px); margin-top: clamp(36px, 5.4vw, 72px); padding-top: clamp(36px, 5.4vw, 63px); border-top: 1px solid var(--line); }
.contact-intro p { color: var(--muted); font-size: 16px; max-width: 32ch; margin: 0 0 26px; }
.cform { display: grid; gap: 16px; }
.cform .f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform label { display: grid; gap: 8px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.cform input[type=text], .cform input[type=email], .cform select, .cform textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; color: var(--fg); font: inherit; font-size: 16px; padding: 13px 14px; transition: border-color .2s; }
.cform input:focus, .cform select:focus, .cform textarea:focus { border-color: var(--sand); outline: none; }
.cform textarea { resize: vertical; min-height: 130px; }
.cform .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; letter-spacing: 0; }
.cform .consent input { margin-top: 3px; accent-color: var(--sand); }
.cform button { justify-self: start; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pill.solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.notice { margin: 0; padding: 14px 16px; border-radius: 4px; font-size: 15px; }
.notice.ok { background: #1f2a1e; color: #cfe5c6; }
.notice.err { background: #2e1c1a; color: #f0c9c2; }
footer .meta a { color: var(--muted); border-bottom: 1px solid var(--line); }
footer .meta a:hover { color: var(--fg); }
@media (max-width: 820px) { .contact-grid, .cform .f2 { grid-template-columns: 1fr; } }

/* page projet */
.pj-head { padding-top: clamp(97.2px, 11.34vw, 145.8px); padding-bottom: clamp(24.3px, 3.24vw, 40.5px); }
.pj-head .eyebrow a:hover { color: var(--fg); }
.pj-head h1 { font-family: var(--display); font-weight: 500; font-size: clamp(35.64px, 6.08vw, 97.2px); line-height: .92; letter-spacing: -.04em; margin: 18px 0 0; max-width: 16ch; text-wrap: balance; }
.pj-head .lead { font-size: clamp(16px, 1.3vw, 18px); max-width: 52ch; margin: 28px 0 0; color: #d6d3cb; }
.fiche { display: flex; flex-wrap: wrap; gap: 14px 46px; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.fiche div { min-width: 120px; }
.fiche dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fiche dd { margin: 6px 0 0; }
.fiche a { border-bottom: 1px solid var(--line); }
.pj-cover { margin: 0 auto; }
.pj-cover img { display: block; width: auto; max-width: 100%; height: auto; max-height: 80vh; margin: 0 auto; border-radius: 4px; }
.pj-body { display: grid; gap: clamp(11.34px, 1.3vw, 17.82px); padding-top: clamp(11.34px, 1.3vw, 17.82px); padding-bottom: 40px; }
.pj-body .lb { display: block; overflow: hidden; border-radius: 3px; background: var(--bg-2); }
.pj-body .lb img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.pj-body .lb:hover img { transform: scale(1.03); }
.b-title { font-family: var(--display); font-weight: 500; font-size: clamp(22.68px, 2.75vw, 38.88px); letter-spacing: -.03em; line-height: 1; margin: clamp(32.4px, 4.86vw, 64.8px) 0 0; max-width: 24ch; }
.b-text { max-width: 64ch; font-size: 15px; color: #d6d3cb; }
.b-text p { margin: 0 0 1em; }
.b-pt { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.b-pt p { color: #d6d3cb; font-size: 15px; max-width: 42ch; }
.b-imgs { display: flex; align-items: flex-start; gap: clamp(11.34px, 1.3vw, 17.82px); }
.b-imgs > .lb { flex: 1 1 0; min-width: 0; }


.b-photo_moyenne { max-width: 860px; width: 100%; margin: 0 auto; }
.b-photo_pleine_largeur .lb { margin: 0 auto; } .b-photo_pleine_largeur .lb img { width: auto; max-width: 100%; max-height: 88vh; margin: 0 auto; display: block; }
.b-video video, .b-video iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 4px; background: #000; }
.b-link { margin: 10px 0; }
.b-sep { border: 0; border-top: 1px solid var(--line); margin: clamp(24.3px, 4.05vw, 48.6px) 0 0; width: 100%; }
@media (max-width: 820px) { .b-pt { grid-template-columns: 1fr; } .b-imgs.n3 { flex-direction: column; } .b-imgs.n3 > .lb { flex: none !important; width: 100%; } }
.pj-cta { padding-block: clamp(48.6px, 6.48vw, 89.1px); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 30px; }
.pj-cta h2.big { font-size: clamp(29.16px, 4.37vw, 68.04px); max-width: 15ch; }
.pj-next { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding-block: 40px 60px; border-top: 1px solid var(--line); }
.pj-next b { grid-column: 1; font-family: var(--display); font-weight: 500; font-size: clamp(25.92px, 4.05vw, 58.32px); letter-spacing: -.035em; line-height: 1; transition: transform .5s var(--ease); }
.pj-next .eyebrow { grid-column: 1; }
.pj-next img { grid-column: 2; grid-row: 1 / span 2; width: clamp(97.2px, 14.58vw, 210.6px); aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }
.pj-next:hover b { transform: translateX(14px); }

/* visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 85; background: rgba(8,8,7,.96); display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; }
.lightbox img { max-width: 100%; max-height: 90vh; margin: auto; object-fit: contain; }
.lightbox button { background: none; border: 0; color: var(--fg); font-size: 25px; cursor: pointer; height: 70px; }
.lightbox .lb-close { position: absolute; top: 12px; right: 12px; width: 60px; font-size: 34px; }
.lightbox .lb-prev { grid-column: 1; } .lightbox img { grid-column: 2; } .lightbox .lb-next { grid-column: 3; }

/* pages texte */
.legal-page { max-width: 760px; padding-top: clamp(117px, 12.6vw, 162px); padding-bottom: 40px; }
.legal-page h1 { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 5.4vw, 72px); letter-spacing: -.04em; margin: 0 0 30px; }
.legal-page h2 { font-family: var(--display); font-weight: 500; font-size: 20px; margin: 34px 0 8px; }
.legal-page p { color: #d6d3cb; }

/* « voir plus » et pages de liste */
.more { margin-top: 34px; margin-bottom: 0; }
.listing-page { padding-top: clamp(117px, 12.6vw, 162px); padding-bottom: 60px; }
.listing-page .eyebrow a:hover { color: var(--fg); }
.listing-page h1.big { margin-top: 14px; }
.listing-page .intro { color: var(--muted); font-size: 15px; margin: 18px 0 0; }
.all-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; margin-top: clamp(36px, 4.5vw, 63px); }
.card-p .pic { overflow: hidden; border-radius: 4px; aspect-ratio: 4/3; background: var(--bg-2); }
.card-p .pic.wide { aspect-ratio: 16/10; }
.card-p .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-p:hover .pic img { transform: scale(1.05); }
.card-p .cap { display: grid; gap: 2px; padding-top: 10px; }
.card-p .cap b { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -.02em; }
.card-p .cap span { color: var(--muted); font-size: 13px; white-space: nowrap; }
@media (max-width: 1100px) { .all-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .all-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; } .card-p .cap b { font-size: 16px; } }
@media (max-width: 460px) { .all-grid { grid-template-columns: 1fr; } }

/* Regards : les trois revues côte à côte */
.reg-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 60px; align-items: end; padding-bottom: clamp(36px, 4.5vw, 60px); }
.reg-head h2.big { margin-top: 12px; }
.reg-head .txt { margin: 0 0 24px; max-width: 46ch; }
.revues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 40px); }
.revue .cov { aspect-ratio: 695/900; overflow: hidden; border-radius: 3px; box-shadow: 0 18px 50px rgba(0,0,0,.45); transition: transform .7s var(--ease), box-shadow .7s; }
.revue .cov img { width: 100%; height: 100%; object-fit: cover; }
.revue:hover .cov { transform: translateY(-10px) rotate(-1deg); box-shadow: 0 30px 70px rgba(0,0,0,.6); }
.revue p { margin: 16px 0 0; font-family: var(--display); font-size: clamp(15px, 1.4vw, 19px); letter-spacing: -.01em; line-height: 1.25; }
.revue p span { display: block; font-family: var(--body); font-size: 12px; letter-spacing: .14em; color: var(--muted); margin-bottom: 4px; }
@media (max-width: 820px) {
  .reg-head { grid-template-columns: 1fr; }
  .revues { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-right: -20px; padding-right: 20px; }
  .revue { scroll-snap-align: start; }
}

.project .wrap { max-width: 1180px; }
.b-photo_moyenne .lb { background: none; } .b-photo_moyenne .lb img { width: auto; max-width: 100%; max-height: 88vh; margin: 0 auto; display: block; border-radius: 3px; }

/* Textes des projets : titre à gauche, texte à droite, sur toute la largeur */
.pj-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(30px, 5vw, 90px); align-items: end; }
.pj-head .pj-intro h1 { max-width: 12ch; }
.pj-head .pj-intro .lead { margin: 0; max-width: 60ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; }
.b-chap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(30px, 5vw, 90px); align-items: start; margin: clamp(40px, 6vw, 90px) 0 clamp(10px, 1.5vw, 24px); }
.b-chap .b-title { margin: 0; max-width: 14ch; position: sticky; top: 110px; }
.b-chap .b-text { max-width: 62ch; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.7; }
.b-chap .b-text p:last-child { margin-bottom: 0; }
@media (max-width: 820px) {
  .pj-intro, .b-chap { grid-template-columns: 1fr; }
  .b-chap > span:empty { display: none; }
  .b-chap .b-title { position: static; }
}

/* Logo (piste A) */
.brand { display: inline-flex; align-items: center; }
.brand-mark { width: 30px; height: 30px; margin-right: 10px; flex: none; }
