/* =========================================================
   L'UNIVERS DE MIMI — v3
   Fond blanc · carrés précis · couleur issue des œuvres
   ========================================================= */
:root {
  --white: #ffffff;
  --ink: #141414;
  --ink-2: #555555;
  --line: #e9e9e9;
  --soft: #f6f6f4;

  /* couleurs relevées dans les œuvres */
  --fuchsia: #e5007e;
  --red: #e3322a;
  --orange: #f07e13;
  --yellow: #fbc10e;
  --green: #23a24c;
  --cyan: #16a6c4;
  --cobalt: #1436b0;
  --purple: #6e2b8b;

  --maxw: 1360px;
  --gutter: clamp(20px, 5vw, 64px);
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }   /* jamais d'étirement */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
::selection { background: var(--fuchsia); color: #fff; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 500; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 1.1rem; color: var(--ink-2); }
.eyebrow--accent { color: var(--fuchsia); }
.section-title { font-size: clamp(2.3rem, 5vw, 4rem); }
.section-intro { color: var(--ink-2); max-width: 52ch; margin: 1rem 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 1.7em; border-radius: 999px;
  font-size: .92rem; font-weight: 600; letter-spacing: .01em;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s;
}
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--fuchsia); transform: translateY(-2px); }
.btn--line { border: 1.5px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--full { width: 100%; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- curseur ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 900; pointer-events: none;
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--fuchsia);
  opacity: 0; transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s, opacity .25s;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover { width: 56px; height: 56px; background: rgba(229, 0, 126, .12); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 0 var(--gutter); background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; width: fit-content; }
.brand__sub { display: block; width: 0; min-width: 100%; white-space: nowrap; font-size: .66rem; line-height: 1; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }  /* largeur calée sur le logo (voir fitBrand) */
.brand__logo { height: 36px; width: auto; flex: none; object-fit: contain; }  /* proportions d'origine, jamais étiré */
/* en anglais : « MIMI Universe », le mot passe sous le logo */
html[lang="en"] .brand__sub { order: 2; }
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.6rem); margin-left: auto; }
.nav a { font-size: .86rem; font-weight: 500; position: relative; padding: 6px 0; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--fuchsia); transition: right .3s var(--ease); }
.nav a:not(.nav__cta):hover::after { right: 0; }
.nav__cta { padding: 9px 18px !important; border-radius: 999px; background: var(--ink); color: #fff; transition: background .25s; }
.nav__cta:hover { background: var(--fuchsia); }
.header-right { display: flex; align-items: center; gap: 1rem; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { display: inline-flex; align-items: center; justify-content: center; font-size: .74rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; color: var(--ink-2); min-width: 38px; min-height: 30px; }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.lang a:not([aria-current="true"]):hover { color: var(--fuchsia); }
.burger { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  min-height: min(calc(100svh - var(--header-h) - 14px), 860px);
}
.hero__eyebrow { white-space: nowrap; margin-bottom: 1.2rem; width: 0; min-width: 100%; }  /* ne fixe jamais la largeur : c'est le logo qui la fixe */  /* largeur calée sur le logo (voir fitText) */
.hero__logo { margin: 0 0 2rem; line-height: 0; }
.hero__logo img { width: min(100%, 640px); }
.hero__style { font-family: var(--display); font-style: italic; font-size: clamp(1.45rem, 2.4vw, 2.05rem); line-height: 1.25; margin: -.6rem 0 1rem; max-width: 24ch; text-wrap: balance; }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; max-width: 34ch; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero__art { display: flex; flex-direction: column; align-items: center; justify-self: center; text-align: center; }
.hero__art img {
  width: auto; height: min(68vh, 640px); max-width: 100%;   /* hauteur pilotée, largeur proportionnelle */
  transition: transform .8s var(--ease);
}
.hero__art:hover img { transform: translateY(-8px) rotate(-1deg); }
.hero__caption { display: flex; flex-direction: column; margin-top: 1rem; font-size: .8rem; color: var(--ink-2); }
.hero__caption em { font-family: var(--display); font-size: 1.05rem; color: var(--ink); }

/* bande palette */
.palette { display: grid; grid-template-columns: repeat(8, 1fr); height: 14px; }
.palette span { background: var(--c); transform-origin: bottom; transition: transform .35s var(--ease); }
.palette span:hover { transform: scaleY(1.9); }

/* ---------- manifeste ---------- */
.manifesto { background: var(--fuchsia); color: #fff; padding: clamp(4.5rem, 10vw, 8.5rem) var(--gutter); }
.manifesto__inner { max-width: 980px; margin: 0 auto; text-align: center; }
.manifesto .eyebrow { color: rgba(255, 255, 255, .8); }
.manifesto__quote { font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 4vw, 3.2rem); line-height: 1.2; text-wrap: balance; }
.manifesto__by { margin: 1.8rem 0 0; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }

/* ---------- à la une ---------- */
.spotlight {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter);
}
.spotlight__media { display: block; width: 100%; }
.spotlight__media img { width: 100%; transition: transform .7s var(--ease); }
.spotlight__media:hover img { transform: scale(1.015); }
.spotlight__title { font-size: clamp(2.2rem, 4vw, 3.4rem); font-style: italic; margin-bottom: .6rem; }
.spotlight__meta { font-size: .85rem; color: var(--ink-2); margin-bottom: 1.4rem; }
.spotlight__text p:not(.eyebrow):not(.spotlight__meta) { color: var(--ink-2); margin-bottom: 2rem; }

/* ---------- collections ---------- */
.collection { padding: clamp(4.5rem, 9vw, 8rem) var(--gutter); border-top: 1px solid var(--line); }
.collection__head {
  max-width: var(--maxw); margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: clamp(1rem, 3vw, 3rem);
}
.collection__num { font-family: var(--display); font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.05; color: var(--fuchsia); }
.collection__count { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-bottom: .6rem; white-space: nowrap; }


.grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 3.5vw, 3.5rem) clamp(1.2rem, 2.5vw, 2.5rem);
}

/* --- carte : carré précis, image réduite pour tenir dedans (object-fit: contain) --- */
.card { display: block; width: 100%; text-align: left; }
.card__square {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card__square img {
  position: absolute; inset: 9%; width: 82%; height: 82%;
  object-fit: contain; object-position: center;   /* proportions respectées */
  transition: transform .6s var(--ease);
}
.card__view {
  position: absolute; right: 12px; bottom: 12px;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  background: var(--ink); color: #fff; border-radius: 999px; padding: .45em .9em;
  opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.card:hover .card__square, .card:focus-visible .card__square { border-color: var(--accent, var(--fuchsia)); box-shadow: inset 0 0 0 2px var(--accent, var(--fuchsia)); }
.card:hover .card__square img { transform: scale(1.04); }
.card:hover .card__view, .card:focus-visible .card__view { opacity: 1; transform: none; }

.card__body { display: block; margin-top: 1.05rem; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.card__title { font-family: var(--display); font-style: italic; font-size: 1.28rem; line-height: 1.25; }
.card__year { font-size: .8rem; opacity: .6; }
.card__meta { display: block; margin-top: .25rem; font-size: .84rem; color: var(--ink-2); }

.grid .card:nth-child(6n+1) { --accent: var(--fuchsia); }
.grid .card:nth-child(6n+2) { --accent: var(--cobalt); }
.grid .card:nth-child(6n+3) { --accent: var(--orange); }
.grid .card:nth-child(6n+4) { --accent: var(--green); }
.grid .card:nth-child(6n+5) { --accent: var(--purple); }
.grid .card:nth-child(6n+6) { --accent: var(--red); }

/* ---------- à propos (sans photo) ---------- */
.about {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter); border-top: 1px solid var(--line);
}
.about__head .section-title { margin-bottom: 2.2rem; }
.about__lead { font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.45; color: var(--ink); margin-bottom: 1.6rem; }
.about__text p:not(.about__lead) { color: var(--ink-2); }
.about__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.about__facts li { display: flex; flex-direction: column; padding-left: 1rem; border-left: 3px solid var(--fuchsia); }
.about__facts li:nth-child(2) { border-color: var(--orange); }
.about__facts li:nth-child(3) { border-color: var(--green); }
.about__facts strong { font-family: var(--display); font-weight: 500; font-size: 2rem; line-height: 1.1; }
.about__facts span { font-size: .8rem; color: var(--ink-2); margin-top: .3rem; }

/* ---------- vitrine objets d'art ---------- */
.showcase { max-width: var(--maxw); margin: 0 auto; display: grid; gap: clamp(4rem, 9vw, 8rem); }
.piece { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.piece:nth-child(even) .piece__media { order: 2; }
.piece__media { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: clamp(340px, 60vh, 600px); }
.piece__media::before {           /* pastille de couleur posée derrière, jamais sur l'objet */
  content: ""; position: absolute; left: 50%; bottom: 0; width: 62%; height: 10px; border-radius: 999px;
  transform: translateX(-50%) scaleX(.2); background: var(--accent); opacity: .9; transition: transform .6s var(--ease);
}
.piece.in .piece__media::before { transform: translateX(-50%) scaleX(1); }
.piece__media picture { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: calc(100% - 34px); margin-bottom: 34px; }
.piece__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.piece__media:hover img { transform: translateY(-8px); }
.piece__title { font-size: clamp(2rem, 3.6vw, 3rem); font-style: italic; margin: 0 0 1rem; }
.piece__desc { color: var(--ink-2); max-width: 46ch; }
.piece__specs { margin: 1.6rem 0 2rem; border-top: 1px solid var(--line); }
.piece__specs div { display: grid; grid-template-columns: 38% 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.piece__specs dt { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-top: .2rem; }
.piece__specs dd { margin: 0; font-size: .92rem; }
.piece__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.showcase .piece:nth-child(5n+1) { --accent: var(--fuchsia); }
.showcase .piece:nth-child(5n+2) { --accent: var(--orange); }
.showcase .piece:nth-child(5n+3) { --accent: var(--green); }
.showcase .piece:nth-child(5n+4) { --accent: var(--purple); }
.showcase .piece:nth-child(5n+5) { --accent: var(--red); }

/* ---------- newsletter ---------- */
.newsletter { background: var(--purple); color: #fff; padding: clamp(4rem, 8vw, 6.5rem) var(--gutter); }
.newsletter__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.newsletter .eyebrow { color: rgba(255, 255, 255, .8); }
.newsletter__title { font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin-bottom: 1rem; }
.newsletter__text p:not(.eyebrow) { color: rgba(255, 255, 255, .88); max-width: 44ch; margin: 0; }
.newsletter__row { display: flex; gap: .6rem; background: #fff; border-radius: 999px; padding: 6px; }
.newsletter__row input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); padding: 0 1.1rem; min-height: 48px; border-radius: 999px; }
.newsletter__row input:focus { outline: none; }
.newsletter__row:focus-within { box-shadow: 0 0 0 3px var(--yellow); }
.btn--light { background: var(--ink); color: #fff; }
.btn--light:hover { background: var(--fuchsia); }
.newsletter__consent { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1rem; font-size: .84rem; color: rgba(255, 255, 255, .9); cursor: pointer; }
.newsletter__consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--yellow); flex: none; }
.newsletter__status { min-height: 1.4em; margin: .9rem 0 0; font-size: .9rem; font-weight: 600; }
.newsletter__status.is-error { color: #ffd1e6; }
.newsletter__status.is-ok { color: var(--yellow); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- contact ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem);
  background: var(--yellow); padding: clamp(4.5rem, 9vw, 8rem) max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
}
.contact .eyebrow { color: var(--ink); opacity: .7; }
.contact__title { font-size: clamp(2.5rem, 5.5vw, 4.4rem); margin-bottom: 1.4rem; }
.contact__intro > p { max-width: 42ch; }
.contact__mail { display: flex; flex-direction: column; margin: 2.2rem 0 1.6rem; }
.contact__mail span { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .65; }
.contact__mail a { font-family: var(--display); font-size: 1.45rem; width: fit-content; border-bottom: 1.5px solid transparent; transition: border-color .25s; }
.contact__mail a:hover { border-color: var(--ink); }
.contact__quick { display: flex; flex-wrap: wrap; gap: .7rem; }
.ico { width: 19px; height: 19px; fill: currentColor; flex: none; }
.ico--line { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

.contact__form { background: #fff; border-radius: 16px; padding: clamp(1.6rem, 3.5vw, 2.6rem); align-self: start; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .45); }
.field { display: flex; flex-direction: column; margin-bottom: 1.15rem; min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; max-width: 100%; }
.field label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #dcdcdc; border-radius: 10px; padding: .85em 1em; min-height: 50px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fuchsia); box-shadow: 0 0 0 3px rgba(229, 0, 126, .15); }
.field__error { display: none; margin: .4rem 0 0; font-size: .8rem; color: #b3001b; }
.field.invalid input, .field.invalid textarea { border-color: #b3001b; }
.field.invalid .field__error { display: block; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-status { margin: .9rem 0 0; font-size: .92rem; font-weight: 600; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-error { color: #b3001b; }
.form-status.is-error a { text-decoration: underline; }
.form-success { text-align: center; padding: 2.5rem 1rem; }
.form-success__icon { width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.form-success__icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: 1.9rem; margin-bottom: .8rem; }
.form-success p { color: var(--ink-2); }
.form-note { font-size: .78rem; color: var(--ink-2); text-align: center; margin: .9rem 0 0; }

/* ---------- footer ---------- */
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem;
  background: var(--ink); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) var(--gutter);
}
.footer__brand { display: flex; flex-direction: column; }
.footer__mark { font-family: var(--display); font-size: 1.6rem; }
.footer__tag { font-size: .78rem; opacity: .6; }
.footer__contact { display: flex; flex-direction: column; gap: .3rem; }
.footer__contact a:hover { color: var(--yellow); }
.footer__legal { width: 100%; margin: 0; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .76rem; opacity: .55; }

/* ---------- fiche œuvre (lightbox) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 600; background: rgba(12, 12, 12, .72); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: clamp(0px, 3vw, 2.5rem); opacity: 0; transition: opacity .3s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__panel {
  position: relative; width: min(1240px, 100%); height: min(820px, 100%);
  display: grid; grid-template-columns: 1fr 400px; background: #fff; border-radius: 14px; overflow: hidden;
  transform: translateY(16px); transition: transform .35s var(--ease);
}
.lightbox.is-open .lightbox__panel { transform: none; }
.lightbox__stage { display: flex; flex-direction: column; min-height: 0; background: #fff; border-right: 1px solid var(--line); }
.lightbox__media { flex: 1; min-height: 0; position: relative; }
.lightbox__media img { position: absolute; inset: clamp(1.2rem, 4vw, 3rem); width: calc(100% - 2 * clamp(1.2rem, 4vw, 3rem)); height: calc(100% - 2 * clamp(1.2rem, 4vw, 3rem)); object-fit: contain; }
.lightbox__thumbs { display: flex; gap: .6rem; justify-content: center; padding: 0 1rem 1.2rem; flex-wrap: wrap; }
.lightbox__thumbs:empty { display: none; }
.thumb { width: 64px; height: 64px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; padding: 5px; transition: border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb[aria-current="true"] { border-color: var(--ink); }
.thumb:hover { border-color: var(--fuchsia); }

.lightbox__info { padding: clamp(1.8rem, 3vw, 2.6rem); overflow-y: auto; display: flex; flex-direction: column; }
.lightbox__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; padding-right: 3rem; }
.lightbox__n { font-size: .74rem; font-weight: 600; letter-spacing: .2em; color: var(--ink-2); }
.chip { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .4em .85em; border-radius: 999px; background: #fde6f2; color: #a3005a; }
.chip.is-objet { background: #e3e9fb; color: var(--cobalt); }
.lightbox__title { font-size: clamp(1.9rem, 3vw, 2.5rem); font-style: italic; margin-bottom: 1rem; }
.lightbox__desc { color: var(--ink-2); margin-bottom: 1.6rem; }
.specs { margin: 0 0 1.8rem; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 42% 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-top: .2rem; }
.specs dd { margin: 0; font-size: .94rem; }
.lightbox__info .btn { margin-top: auto; position: sticky; bottom: 0; box-shadow: 0 -14px 20px 6px #fff; }

.lb-btn { position: absolute; z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .4); transition: background .2s, transform .2s; }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-btn:hover { background: var(--ink); transform: scale(1.06); }
.lb-btn:hover svg { stroke: #fff; }
.lb-close { top: clamp(.8rem, 3vw, 2rem); right: clamp(.8rem, 3vw, 2rem); }
.lb-prev, .lb-next { top: 50%; margin-top: -24px; }
.lb-prev { left: clamp(.5rem, 2vw, 1.5rem); }
.lb-next { right: clamp(.5rem, 2vw, 1.5rem); }

/* ---------- écrans tactiles et tablettes : zones cliquables confortables ---------- */
@media (pointer: coarse), (max-width: 1080px) {
  .nav a { padding: 12px 0; }
  .nav__cta { padding: 12px 18px !important; }
  .lang a { min-width: 44px; min-height: 40px; }
  .footer__contact a, .contact__mail a { display: inline-block; padding: .55rem 0; }
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox__panel { grid-template-columns: 1fr 340px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; text-align: center; }
  .hero__text > * { max-width: 100%; }
  .hero__logo { width: 100%; }
  .hero__text { display: flex; flex-direction: column; align-items: center; }
  .hero__logo img { margin-inline: auto; }
  .hero__lead, .hero__style { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__art img { height: min(56vh, 480px); }
  .spotlight, .about, .contact, .newsletter__inner { grid-template-columns: minmax(0, 1fr); }
  .about__facts { grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.6rem; }
  .piece { grid-template-columns: 1fr; gap: 1.6rem; }
  .piece:nth-child(even) .piece__media { order: 0; }
  .piece__media { height: clamp(300px, 52vh, 460px); }
  .collection__head { grid-template-columns: auto 1fr; }
  .collection__count { grid-column: 2; padding: 0; }
  .lightbox { padding: 0; }
  .lightbox__panel { grid-template-columns: 1fr; height: 100%; border-radius: 0; overflow-y: auto; display: block; }
  .lightbox__stage { border-right: 0; border-bottom: 1px solid var(--line); }
  .lightbox__media { height: 58vh; flex: none; }
  .lightbox__info { overflow: visible; }
  .lb-prev, .lb-next { top: 29vh; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .nav { display: none; }
  .burger { display: flex; }
  .brand__logo { height: 30px; }
  .mobile-nav {
    position: sticky; top: var(--header-h); z-index: 99; display: flex; flex-direction: column;
    background: #fff; padding: .6rem var(--gutter) 1.4rem; border-bottom: 1px solid var(--line);
  }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { font-family: var(--display); font-size: 1.6rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
  .grid { gap: 1.8rem 1rem; }
  .card__title { font-size: 1.05rem; }
  .card__meta { font-size: .78rem; }
  .card__view { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .about__facts { grid-template-columns: 1fr; }
  .newsletter__row { flex-direction: column; border-radius: 18px; }
  .newsletter__row input { min-height: 52px; }
  .contact__quick .btn, .piece__actions .btn { flex: 1 1 100%; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 340px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
}
