/* ==========================================================================
   Kevin Douillez — feuille de style
   Charte : blanc cassé #F7F6F2 · anthracite #16181A · accent jaune fluo #E2FF00
   Typographie : Jost (géométrique, esprit Futura) + sans-serif système
   ========================================================================== */

@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/jost-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/jost-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/fonts/jost-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/fonts/jost-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #F7F6F2;
  --ink: #16181A;
  --fluo: #E2FF00;
  --mute: #6E6F6C;
  --line: rgba(22, 24, 26, .9);
  --soft: #ECEAE4;
  --display: "Jost", "Futura", "Futura PT", "Century Gothic", sans-serif;
  --text: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 3vw, 48px);
  --gap: clamp(16px, 2.2vw, 36px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--text); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, picture, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--bg); }
::selection { background: var(--fluo); color: var(--ink); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Typographie ---------- */
.display, h1, h2, h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; line-height: .92; letter-spacing: -.005em; }
.micro { font-family: var(--display); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; max-width: 38em; }
.prose { max-width: 40em; font-size: 17px; line-height: 1.7; }
.prose p + p { margin-top: 1.1em; }
.prose a { border-bottom: 1px solid currentColor; }
.prose a:hover { background: var(--fluo); }
.prose em { font-style: italic; }
.prose strong { font-weight: 600; }
.mute { color: var(--mute); }
.link-arrow { font-family: var(--display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; white-space: nowrap; transition: box-shadow .2s; }
.link-arrow:hover { box-shadow: inset 0 -3px 0 var(--fluo); }

/* Nom monumental : ajusté à la largeur par JS (fitText), valeur de secours en CSS */
.bigname { font-family: var(--display); font-weight: 500; text-transform: uppercase; white-space: nowrap; line-height: .8; letter-spacing: -.01em; display: inline-block; font-size: 12.4vw; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad); color: var(--bg);
  transition: background .35s ease, color .35s ease, box-shadow .35s ease;
}
.site-header.solid { background: rgba(247, 246, 242, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(6px); }
.no-band .site-header { background: var(--bg); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.logo { font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav a { font-family: var(--display); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--fluo); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-dd { position: relative; display: flex; align-items: center; }
.nav-dd .dd { position: absolute; top: 100%; left: -16px; padding: 22px 16px 12px; min-width: 260px; color: inherit; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-dd:hover .dd, .nav-dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.nav-dd .dd a { display: block; padding: 5px 0; color: inherit; }
.nav-dd .dd a::after { display: none; }
.nav-dd .dd a span { transition: box-shadow .2s; }
.nav-dd .dd a:hover span { box-shadow: inset 0 -.45em 0 var(--fluo); color: var(--ink); }
.site-header.solid .nav-dd .dd, .no-band .site-header .nav-dd .dd { background: rgba(247, 246, 242, .96); }
.site-header:not(.solid) .nav-dd .dd a { text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.site-header:not(.solid) .nav-dd .dd a:hover span { text-shadow: none; }
.nav-dd .dd .dd-all { opacity: .7; font-size: 11px; margin-top: 4px; }
.nav-dd .dd .dd-all:hover { opacity: 1; }
.overlay .ov-sub { list-style: none; margin: 2px 0 10px 4px; }
.overlay .ov-sub a { font-size: clamp(16px, 4.5vw, 22px); font-weight: 400; padding: 2px 0; opacity: .75; }
.lang { font-family: var(--display); font-size: 12.5px; letter-spacing: .1em; white-space: nowrap; }
.lang a { opacity: .55; } .lang a:hover { opacity: 1; } .lang b { font-weight: 500; }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 34px; height: 34px; position: relative; }
.burger span { position: absolute; left: 4px; right: 4px; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.burger span:nth-child(1) { top: 12px; } .burger span:nth-child(2) { top: 21px; }
.menu-open .burger span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 16px; transform: rotate(-45deg); }

/* Menu plein écran (mobile) */
.overlay { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--bg); padding: calc(var(--header-h) + 20px) var(--pad) var(--pad);
  display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-open .overlay { opacity: 1; visibility: visible; }
.menu-open .site-header { color: var(--bg); background: transparent; box-shadow: none; }
.overlay ul { list-style: none; }
.overlay li a { display: block; font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(30px, 9vw, 54px); line-height: 1.1; padding: 4px 0; }
.overlay li a:hover, .overlay li a[aria-current="page"] { color: var(--fluo); }
.overlay .micro a { margin-right: 18px; }

/* ---------- Bande image en tête de page ---------- */
.band { position: relative; height: 62vh; min-height: 380px; overflow: hidden; background: #222; color: var(--bg); }
.band picture, .band img, .band .img-missing { position: absolute; inset: 0; width: 100%; height: 100%; }
.band img { object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 50%, rgba(0,0,0,.55) 100%); pointer-events: none; }
.band-inner { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 var(--pad) clamp(18px, 2.4vw, 32px); }
.band h1 { font-size: clamp(48px, 9.5vw, 170px); line-height: .82; }
.band-plain { height: auto; min-height: 0; background: var(--bg); color: var(--ink); padding-top: calc(var(--header-h) + clamp(70px, 10vw, 170px)); }
.band-plain::after { display: none; }
.band-plain .band-inner { position: static; }
.band .band-meta { margin-top: 14px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Accueil : héros ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #111; color: var(--bg); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.slide.on { opacity: 1; }
.slide picture, .slide img { width: 100%; height: 100%; }
.slide img { object-fit: cover; transform: scale(1.05); transition: transform 7s ease; }
.slide.on img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 52%, rgba(0,0,0,.6) 100%); pointer-events: none; }
.hero-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 0 var(--pad) clamp(18px, 2.4vw, 30px); }
.hero-meta { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 16px; }
.hero-meta .cap { text-align: center; transition: opacity .5s; }
.dots { display: flex; gap: 10px; justify-content: flex-end; }
.dots button { width: 26px; height: 14px; border: 0; background: none; cursor: pointer; position: relative; }
.dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: rgba(247,246,242,.45); transition: background .3s, height .3s, top .3s; }
.dots button.on::before { background: var(--fluo); height: 3px; top: 5px; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 130px) var(--pad); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: clamp(34px, 4vw, 56px); }
.section-head h2 { font-size: clamp(38px, 6.2vw, 104px); }
.section-head h2 sup { font-size: .2em; letter-spacing: .08em; vertical-align: top; position: relative; top: .45em; margin-left: .35em; font-weight: 400; }
.section-head .link-arrow { margin-bottom: .6em; }

/* Grille d'œuvres */
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
/* Toiles alignées par le bas, légendes toutes sur la même ligne (sous-grille : image / légende) */
.works { align-items: stretch; }
.works .work { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.works .work > a { display: contents; }
.works .work .frame { grid-row: 1; grid-column: 1; align-self: end; }
.works .work .cartel { grid-row: 2; grid-column: 1; align-self: start; }
/* 2e photo (mise en situation) dans la grille : petite flèche en bas à droite de la toile */
.work .frame { position: relative; }
.work .frame .situ { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; background: var(--bg); pointer-events: none; }
.work .frame .situ picture { display: block; width: 100%; height: 100%; }
.work .frame .situ img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 100%; }
.work.alt .frame .situ:not(.s3), .work.alt3 .frame .situ.s3 { opacity: 1; }
.work-next { grid-row: 1; grid-column: 1; justify-self: end; align-self: end; z-index: 2; margin: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(247, 246, 242, .92); color: var(--ink); font-size: 16px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .25s ease, background .2s; }
.work:hover .work-next, .work-next:focus-visible, .work.alt .work-next, .work.alt3 .work-next { opacity: 1; }
.work-next:hover { background: var(--fluo); }
@media (hover: none) { .work-next { opacity: 1; } }
.works.cols-3 { grid-template-columns: repeat(4, 1fr); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(56px, 6vw, 110px); }
.work a { display: block; }
/* Photo toujours entière, en pleine largeur de colonne, à son format naturel (jamais recadrée) */
.work .frame { display: block; }
.work .frame picture { display: block; width: 100%; }
.work .frame img { display: block; width: 100%; height: auto; transition: opacity .3s ease; }
.work a:focus-visible .cartel .t { text-decoration: underline; }
.work a:hover .frame img { opacity: .9; }
.cartel { margin-top: 14px; font-size: 13px; line-height: 1.55; }
.cartel .t { font-family: var(--display); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.cartel i { color: var(--mute); }
.works.cols-3 .cartel { margin-top: 12px; font-size: 12px; color: var(--mute); }
.works.cols-3 .cartel .t { color: var(--ink); font-size: 12px; }
.works.cols-3 .cartel i { display: none; }
.works.cols-3 .cartel i + br { display: none; }
/* « Disponible » : petit texte gris souligné d'un trait fluo (comme le menu) */
.avail { display: inline-block; margin-top: 6px; font-family: var(--text); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--mute); padding-bottom: 1px; background: linear-gradient(var(--fluo), var(--fluo)) 0 100% / 100% 3px no-repeat; }
.work[hidden] { display: none; }

.cats { display: flex; gap: 34px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.cats button { background: none; border: 0; cursor: pointer; font-family: var(--display); font-size: clamp(18px, 2vw, 26px); padding: 0 0 12px; position: relative; color: var(--mute); }
.cats button:hover { color: var(--ink); }
.cats button[aria-selected="true"] { color: var(--ink); }
.cats button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--fluo); }
.filters { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0 0 clamp(36px, 4vw, 60px); }
.filters button { background: none; border: 0; cursor: pointer; font-family: var(--display); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 0; position: relative; color: var(--mute); }
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--ink); }
.filters button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--fluo); }

/* Citation */
.quote { padding: clamp(110px, 15vw, 220px) var(--pad); text-align: center; }
.quote blockquote p { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 3.7vw, 58px); line-height: 1.12; max-width: 15em; margin: 0 auto; letter-spacing: .005em; }
.quote figcaption { margin-top: 28px; }
/* Citations qui tournent : superposées dans la même case (hauteur = la plus longue, rien ne saute) */
.q-stack { display: grid; }
.q-item { grid-area: 1 / 1; align-self: center; opacity: 0; transition: opacity 1.1s ease; pointer-events: none; }
.q-item.on { opacity: 1; pointer-events: auto; }
/* Machine à écrire : chaque lettre apparaît à son tour (--d), avec un léger fondu */
.q-item .tw-w { white-space: nowrap; }
.q-item .tw { opacity: 0; }
.q-item.typed .tw { animation: tw-in .22s ease forwards; animation-delay: var(--d); }
@keyframes tw-in { from { opacity: 0; } to { opacity: 1; } }
.q-dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.q-dots button { width: 26px; height: 14px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.q-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--ink); opacity: .2; transition: opacity .3s, background .3s; }
.q-dots button[aria-current="true"]::after { opacity: 1; }
.q-dots button:hover::after { background: var(--fluo); opacity: 1; }

/* Bloc actualité à la une */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 70px); align-items: end; }
.feature .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.feature .ph img, .feature .ph picture { width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-block; background: var(--fluo); color: var(--ink); padding: 5px 10px 4px; font-family: var(--display); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.tag[hidden] { display: none; }
.feature h3 { font-size: clamp(34px, 4.6vw, 76px); margin: 22px 0 28px; }
.facts { display: grid; grid-template-columns: 120px 1fr; row-gap: 12px; column-gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 15px; }
.facts dt { font-family: var(--display); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding-top: 4px; }
.btn { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; background: var(--ink); color: var(--bg); padding: 16px 24px; border: 0; cursor: pointer;
  font-family: var(--display); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; transition: color .2s; }
.btn:hover { color: var(--fluo); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.ghost:hover { background: var(--fluo); color: var(--ink); }

/* Intro de page */
.intro { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap); padding: clamp(50px, 6vw, 90px) var(--pad) 0; }
.intro .lead { grid-column: 2; }

/* Page œuvre */
.oeuvre { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 90px); padding: calc(var(--header-h) + clamp(30px, 4vw, 60px)) var(--pad) clamp(60px, 7vw, 110px); align-items: start; }
/* Diaporama de la page œuvre (glisser au doigt / trackpad, ou flèches) */
.ov-slider { min-width: 0; outline: none; position: relative; }
.ov-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; align-items: flex-start; }
.ov-track::-webkit-scrollbar { display: none; }
.ov-track { transition: height .3s ease; }
.ov-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.ov-slide img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain; object-position: left top; }
.ov-slide figcaption { margin-top: 10px; }
.ov-ui { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.ov-ui button { background: none; border: 0; padding: 4px 2px; font: inherit; font-size: 18px; cursor: pointer; color: var(--ink); line-height: 1; }
.ov-ui button:disabled { color: var(--mute); opacity: .4; cursor: default; }
.ov-ui button:not(:disabled):hover { box-shadow: inset 0 -3px 0 var(--fluo); }
.ov-count { letter-spacing: .1em; color: var(--mute); }
/* Même bouton rond que dans la grille, en bas à droite de la photo */
.ov-btn { position: absolute; right: auto; bottom: auto; left: 0; top: 0; opacity: 1; margin: 0; transition: background .2s, left .3s ease, top .3s ease; width: 40px; height: 40px; font-size: 18px; }
.oeuvre .info { position: sticky; top: calc(var(--header-h) + 30px); }
.oeuvre h1 { font-size: clamp(38px, 4.6vw, 80px); margin-bottom: 26px; }
.oeuvre .facts { grid-template-columns: 130px 1fr; }
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); padding: 0 var(--pad) clamp(50px, 6vw, 90px); }
.details figcaption { margin-top: 10px; }
.pager { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin: 0 var(--pad); padding: 22px 0 clamp(60px, 7vw, 110px); }

/* Biographie */
.cols { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap); }
.cols > .label { padding-top: 6px; }
.essay { background: var(--soft); }
.essay h2 { font-size: clamp(34px, 4.6vw, 76px); margin-bottom: 10px; }
.portrait-side img { width: 100%; height: auto; }

/* Expositions */
.year-block { display: grid; grid-template-columns: 1fr 3fr; gap: var(--gap); border-top: 1px solid var(--line); padding: 22px 0 36px; }
.year-block .yr { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.4vw, 72px); line-height: .9; }
.expo { display: grid; grid-template-columns: 2.2fr 1.6fr 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(22,24,26,.14); align-items: baseline; }
.expo:last-child { border-bottom: 0; }
.expo .t { font-family: var(--display); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.expo .type { text-align: right; }

/* Presse */
.press-row { display: grid; grid-template-columns: 1fr 3fr auto; gap: var(--gap); align-items: baseline; border-top: 1px solid var(--line); padding: 22px 0; transition: background .2s; }
.press-row:last-child { border-bottom: 1px solid var(--line); }
.press-row .t { font-family: var(--display); font-size: clamp(20px, 2vw, 30px); line-height: 1.15; }
.press-row:hover .t { box-shadow: inset 0 -.35em 0 var(--fluo); }
.press-row .arrow { font-family: var(--display); font-size: 20px; }

/* Livre */
.book-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.offer { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; }
.offer .price { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 4.5vw, 72px); line-height: 1; margin-bottom: 14px; }
.offer .t { font-family: var(--display); letter-spacing: .08em; text-transform: uppercase; font-size: 14px; margin-bottom: 8px; }
.offer p { color: var(--mute); font-size: 15px; flex: 1; }
.offer .btn { align-self: flex-start; margin-top: 24px; }

/* Actualités */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 3vw, 50px) var(--gap); }
.card .ph { aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.card .ph img, .card .ph picture { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.card a:hover .ph img { transform: scale(1.03); }
.card .meta { display: flex; gap: 14px; margin-top: 16px; color: var(--mute); }
.card h3 { font-size: clamp(22px, 1.9vw, 30px); line-height: 1.02; margin: 10px 0 10px; }
.card p { font-size: 15px; color: var(--mute); }
.article { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap); }

/* Formulaires */
.form { display: grid; gap: 22px; max-width: 640px; }
.field label { display: block; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 10px 0; font-size: 17px; border-radius: 0; }
.field textarea { min-height: 150px; resize: vertical; border: 1px solid var(--ink); padding: 12px; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316181A' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 2px 0 var(--fluo); }
.hp { position: absolute; left: -9999px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 5vw, 90px); }
.contact-grid dl { display: grid; gap: 26px; align-content: start; }
.contact-grid dd { font-size: 18px; }
.contact-grid dd a { border-bottom: 1px solid currentColor; }
.contact-grid dd a:hover { background: var(--fluo); }

/* ---------- Pied de page ---------- */
.site-footer { padding: clamp(60px, 7vw, 100px) var(--pad) 24px; }
.footer-top { border-top: 1px solid var(--line); padding-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-bottom: clamp(50px, 7vw, 100px); }
.nl p.big { font-size: 20px; margin: 8px 0 18px; }
.nl-row { display: flex; align-items: center; border-bottom: 1px solid var(--ink); max-width: 460px; }
.nl-row input { flex: 1; border: 0; background: transparent; padding: 12px 0; font-size: 16px; }
.nl-row input:focus { outline: none; }
.nl-row button { background: none; border: 0; cursor: pointer; font-family: var(--display); font-size: 22px; padding: 6px 4px 6px 16px; transition: color .2s; }
.nl-row button:hover { color: var(--ink); text-shadow: 0 0 0 var(--fluo); background: var(--fluo); }
.nl small { display: block; margin-top: 10px; color: var(--mute); font-size: 12px; max-width: 460px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: flex-start; gap: 10px 26px; }
.footer-nav a:hover { box-shadow: inset 0 -3px 0 var(--fluo); }
.footer-name { display: inline-block; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; }
.footer-bottom a:hover { box-shadow: inset 0 -3px 0 var(--fluo); }

/* Image manquante (œuvre sans image) */
.img-missing { display: flex; align-items: center; justify-content: center; background: var(--soft); color: var(--mute); font-family: var(--display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; aspect-ratio: 4/5; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .site-header .lang { display: none; }
  .works { grid-template-columns: repeat(2, 1fr); }
  .works.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .works.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --header-h: 62px; }
  body { font-size: 15.5px; }
  .hero-meta { grid-template-columns: 1fr; gap: 6px; }
  .hero-meta .cap { text-align: left; }
  .dots { display: none; }
  .band { height: 52vh; min-height: 320px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head .link-arrow { margin-bottom: 0; }
  .works.cols-3 { grid-template-columns: 1fr; }
  .feature, .intro, .cols, .oeuvre, .book-top, .contact-grid, .article, .footer-top { grid-template-columns: 1fr; }
  .intro .lead { grid-column: 1; }
  .oeuvre .info { position: static; }
  .details { grid-template-columns: 1fr 1fr; }
  .year-block { grid-template-columns: 1fr; gap: 10px; }
  .expo { grid-template-columns: 1fr; gap: 2px; }
  .expo .type { text-align: left; }
  .press-row { grid-template-columns: 1fr; gap: 6px; }
  .press-row .arrow { display: none; }
  .offers, .news-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; row-gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  .footer-nav { justify-content: flex-start; }
  .quote blockquote p { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.band h1.band-small { font-size: clamp(34px, 5.4vw, 92px); line-height: .9; max-width: 20ch; }
.form-error { color: #B3261E; font-size: 14px; }
.form-error[hidden], .nl small[hidden] { display: none; }
.nl .form-error { color: #B3261E; }

/* Le grand nom passe en jaune fluo au survol (accueil et pied de page) */
.hero .bigname, .footer-name { pointer-events: auto; cursor: default; }
/* Chaque lettre s'allume sous la souris puis s'éteint doucement (traînée) */
.bigname .l { display: inline; transition: color 1.4s ease; }
@media (hover: hover) { .bigname .l:hover { color: var(--fluo); transition: color 0s; } }

/* Pages d'exposition */
a.expo.has-page { color: inherit; text-decoration: none; }
a.expo.has-page .tt { text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .2s; }
a.expo.has-page:hover .tt { text-decoration-color: var(--fluo); text-decoration-thickness: 3px; }
.expo-go { font-family: var(--display); margin-left: 6px; }
.facts.xf { gap: 14px; margin: 0; }
.facts.xf dd { margin: 4px 0 0; }
.eg { padding-top: 0; }
.eg-stage { position: relative; }
.eg-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline: none; }
.eg-track::-webkit-scrollbar { display: none; }
.eg-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; height: min(78vh, 900px); display: flex; align-items: center; justify-content: center; }
.eg-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.eg-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 20px; cursor: pointer; box-shadow: 0 2px 14px rgba(0,0,0,.12); transition: background .2s; }
.eg-arrow:hover { background: var(--fluo); }
.eg-arrow:disabled { opacity: 0; pointer-events: none; }
.eg-prev { left: 16px; } .eg-next { right: 16px; }
.eg-foot { display: flex; gap: 22px; align-items: baseline; margin-top: 16px; }
.eg-count { letter-spacing: .12em; white-space: nowrap; }
.eg-book .eg-slide { height: min(64vh, 640px); }
@media (max-width: 760px) { .eg-book .eg-slide { height: auto; aspect-ratio: 5 / 4; } .eg-book .eg-slide img { max-height: 100%; } .eg-track { align-items: flex-start; transition: height .3s ease; } .eg-slide { height: auto; } .eg-slide img { max-height: 70vh; } .eg-arrow { width: 42px; height: 42px; font-size: 17px; } .eg-prev { left: 8px; } .eg-next { right: 8px; } }
