/* ==========================================================================
   Site d'artiste aquarelliste — feuille de style
   Palette : ivoire, blanc papier, terre rosée, sauge, bleu grisé, encre
   ========================================================================== */

/* ---------- Polices (hébergées localement, aucun appel à un service tiers) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/inter-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }

:root {
  --ivory: #F7F4EE;
  --paper: #FCFBF8;
  --rose: #C9A59B;
  --sage: #A8B2A0;
  --blue: #879DA4;
  --ink: #292C2B;

  --ink-soft: #55595a;           /* texte secondaire (contraste AA sur ivoire) */
  --rose-deep: #8a5a4e;          /* accent lisible issu de la terre rosée */
  --line: rgba(41, 44, 43, .14);
  --line-strong: rgba(41, 44, 43, .32);
  --error: #9b3b2f;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Inter", "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --max: 1320px;
  --space-s: clamp(1rem, 2vw, 1.5rem);
  --space-m: clamp(2rem, 4vw, 3.5rem);
  --space-l: clamp(4rem, 9vw, 8.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* grain de papier très léger */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .17 0 0 0 0 .17 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
strong { font-weight: 500; }
::selection { background: rgba(201, 165, 155, .4); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 1px; }
main { display: block; outline: none; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: var(--paper); padding: .6rem 1rem; transition: top .2s; }
.skip:focus { top: 1rem; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }

/* ---------- Typographie ---------- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 1.6rem + 4.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -.012em;
}
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 1.5rem + 2.2vw, 3.4rem); line-height: 1.08; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 1.3rem + 1vw, 2.1rem); line-height: 1.15; }
.eyebrow {
  font-size: .75rem; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.eyebrow a { text-decoration: none; }
.lead, .prose--lead p { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.65; }
.prose { max-width: 38rem; }
.prose p { margin-bottom: 1.2em; }

/* Marqueur d'information à compléter : visible et identifiable */
.ph {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: max(.72em, .8rem);
  letter-spacing: .04em;
  color: var(--rose-deep);
  background: rgba(201, 165, 155, .16);
  border: 1px dashed rgba(138, 90, 78, .45);
  padding: .1em .45em;
  border-radius: 2px;
  vertical-align: middle;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  line-height: 1.9;
}
.display .ph, .h2 .ph { font-size: max(.32em, .85rem); }

/* ---------- Liens et boutons (sobres) ---------- */
.link-arrow {
  display: inline-flex; align-items: baseline; gap: .55em;
  font-size: .8125rem; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: .3em;
  transition: background-size .5s var(--ease);
}
.link-arrow::after { content: "→"; letter-spacing: 0; transition: transform .5s var(--ease); }
.link-arrow:hover, .link-arrow:focus-visible { background-size: 100% 1px; }
.link-arrow:hover::after { transform: translateX(.25em); }

.btn {
  display: inline-block;
  font: 400 .8125rem/1 var(--sans);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  padding: 1.05em 1.7em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--paper); }

/* ---------- Traces de pigment ---------- */
.wash { position: absolute; pointer-events: none; z-index: 0; width: clamp(220px, 32vw, 460px); height: auto; aspect-ratio: 4/3; opacity: .55; }
.wash--rose { color: var(--rose); }
.wash--sage { color: var(--sage); }
.wash--blue { color: var(--blue); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
  max-width: var(--max); margin-inline: auto;
  padding: 1.15rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; letter-spacing: .02em; text-decoration: none; line-height: 1.1; }
.nav__list { display: flex; gap: clamp(1.1rem, 2.2vw, 2.2rem); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__list > li > a, .nav__sub a {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; font-weight: 400;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding: .35em 0; transition: background-size .5s var(--ease), color .3s;
}
.nav__list > li > a:hover, .nav__list > li > a:focus-visible, .nav__list > li > a[aria-current="page"] { background-size: 100% 1px; }
.nav__has-sub { position: relative; display: flex; align-items: center; gap: .2rem; }
.nav__sub-toggle { border: 0; background: none; padding: .4rem .2rem; cursor: pointer; color: inherit; }
.nav__sub-toggle span { display: block; width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg) translateY(-2px); transition: transform .3s; }
.nav__sub-toggle[aria-expanded="true"] span { transform: rotate(-135deg) translateY(-1px); }
.nav__sub {
  position: absolute; top: calc(100% + .7rem); left: -1.4rem;
  list-style: none; margin: 0; padding: 1.1rem 1.4rem;
  background: var(--paper); border: 1px solid var(--line);
  min-width: 18rem;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.nav__sub li + li { margin-top: .55rem; }
.nav__sub a { text-transform: none; letter-spacing: .01em; font-size: .9rem; font-weight: 300; }
.nav__sub a:hover, .nav__sub a:focus-visible { background-size: 100% 1px; }
.nav__has-sub:hover .nav__sub, .nav__has-sub:focus-within .nav__sub, .nav__sub.is-open {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.menu-toggle { display: none; }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ivory);
  padding: 6.5rem var(--gutter) 3rem;
  overflow-y: auto;
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-menu > nav > ul > li > a { display: block; padding: .75rem 0; font-family: var(--serif); font-size: 2rem; font-weight: 300; text-decoration: none; }
.mobile-menu__sub { padding: 0 0 1rem 1rem !important; }
.mobile-menu__sub a { display: block; padding: .35rem 0; font-size: 1rem; text-decoration: none; color: var(--ink-soft); }
body.menu-open { overflow: hidden; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: .6rem;
    border: 0; background: none; padding: .5rem 0; cursor: pointer; color: var(--ink);
    font: 400 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase;
    position: relative; z-index: 60;
  }
  .menu-toggle::after { content: ""; width: 22px; height: 7px; border-top: 1px solid; border-bottom: 1px solid; transition: transform .3s, height .3s; }
  .menu-toggle[aria-expanded="true"]::after { height: 0; border-bottom: 0; transform: rotate(-8deg); }
  .site-header.menu-on { background: var(--ivory); z-index: 55; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--space-l); isolation: isolate; }
.section--tight { padding-block: var(--space-m) var(--space-l); }
.section-head { position: relative; margin-bottom: var(--space-m); }
.section-head__stroke { position: absolute; width: clamp(160px, 22vw, 300px); aspect-ratio: 400/60; left: -1rem; top: 62%; opacity: .5; z-index: -1; }
.section-foot { margin-top: var(--space-m); text-align: right; }

/* ---------- Héro ---------- */
.hero { position: relative; isolation: isolate; }
.hero__media { height: min(88vh, 960px); min-height: 420px; overflow: hidden; background: var(--paper); }
.hero__media picture, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media img { animation: hero-in 2.4s var(--ease) both; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: none; } }
.hero__media .img-ph { height: 100%; aspect-ratio: auto !important; border: 0; }
.hero__text {
  position: relative; z-index: 2;
  width: min(100% - 2 * var(--gutter), 56rem);
  margin: -9rem 0 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  background: var(--ivory);
  padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3.5rem) 0;
}
.hero__quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.45; margin: 1.6rem 0 2.2rem; max-width: 34rem; color: var(--ink-soft); }
.hero__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.2rem; }
@media (max-width: 700px) {
  .hero__media { height: 68vh; min-height: 340px; }
  .hero__text { margin: -3.5rem auto 0; width: calc(100% - 1.25rem); padding-inline: 1.25rem; }
}

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: start;
}
.gallery > .tile:nth-child(3n+2) { margin-top: clamp(2rem, 6vw, 6rem); }
.gallery > .tile:nth-child(3n+3) { margin-top: clamp(1rem, 2.5vw, 2.5rem); }
.gallery--teaser > .tile:nth-child(6n+1) { grid-column: span 1; }
@media (max-width: 1024px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery > .tile:nth-child(n) { margin-top: 0; }
  .gallery > .tile:nth-child(2n) { margin-top: clamp(2rem, 6vw, 4rem); }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; gap: 3rem; }
  .gallery > .tile:nth-child(n) { margin-top: 0; }
  .gallery .tile__img { margin-inline: calc(var(--gutter) * -0.6); }
}
.tile { margin: 0; }
.tile__link { display: block; text-decoration: none; }
.tile__img { overflow: hidden; background: var(--paper); }
.tile__img img { width: 100%; transition: transform 1.6s var(--ease), opacity .8s; }
.tile__link:hover .tile__img img, .tile__link:focus-visible .tile__img img { transform: scale(1.018); }
.tile__cap { display: flex; flex-direction: column; gap: .15rem; margin-top: 1rem; }
.tile__title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; font-weight: 400; }
.tile__meta { font-size: .82rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: baseline; }
.sold { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-deep); }
.sold::before { content: ""; display: inline-block; width: .45em; height: .45em; border-radius: 50%; background: var(--rose); margin-right: .45em; vertical-align: .1em; }

.filters { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; margin-bottom: var(--space-m); border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; }
.filters a { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); padding: .2em 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.filters a:hover, .filters a[aria-current="page"] { color: var(--ink); background-size: 100% 1px; }

/* Emplacements d'images à compléter */
.img-ph {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  width: 100%;
}
.img-ph__wash { position: absolute; inset: 8%; width: 84%; height: 84%; opacity: .45; }
.img-ph--rose .img-ph__wash { color: var(--rose); }
.img-ph--sage .img-ph__wash { color: var(--sage); }
.img-ph--blue .img-ph__wash { color: var(--blue); }
.img-ph__label { position: relative; font-size: .78rem; letter-spacing: .1em; color: var(--rose-deep); background: rgba(252, 251, 248, .85); padding: .35em .7em; text-align: center; }

/* États vides */
.empty { position: relative; text-align: center; padding: var(--space-l) 0; isolation: isolate; }
.empty p:first-of-type { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); }
.empty__wash { left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .35; z-index: -1; }

/* ---------- Accueil : artiste ---------- */
.artist-teaser__grid { display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: center; }
.artist-teaser__portrait { grid-column: 1; }
.artist-teaser__text { grid-column: 3; }
.pull { margin: 1.8rem 0; padding: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); line-height: 1.42; }
.pull p::before { content: "« "; } .pull p::after { content: " »"; }
.artist-teaser__text .prose { margin-bottom: 2rem; }
@media (max-width: 860px) {
  .artist-teaser__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .artist-teaser__portrait, .artist-teaser__text { grid-column: 1; }
  .artist-teaser__portrait { width: 82%; }
}

/* ---------- Accueil : expériences ---------- */
.experiences { background: var(--paper); }
.offers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.offer {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 4rem minmax(0, 4fr) minmax(0, 5fr) auto;
  gap: 1.2rem 2.5rem; align-items: baseline;
  padding: clamp(2rem, 4vw, 3.2rem) 0;
  border-bottom: 1px solid var(--line);
}
.offer__num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink-soft); }
.offer__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1.1; }
.offer__title a { text-decoration: none; }
.offer__text { color: var(--ink-soft); max-width: 32rem; }
.offer__wash { right: 6%; top: 50%; transform: translateY(-50%); width: clamp(140px, 18vw, 240px); opacity: 0; z-index: -1; transition: opacity 1.2s var(--ease); }
.offer:hover .offer__wash { opacity: .4; }
@media (max-width: 860px) {
  .offer { grid-template-columns: 2.6rem 1fr; }
  .offer__text, .offer__more { grid-column: 2; }
}

/* ---------- Fin de page ---------- */
.closing { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--space-l); text-align: center; }
.closing__inner { position: relative; z-index: 1; }
.closing__text { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1.15; margin-bottom: 2.4rem; }
.closing__wash { left: 50%; top: 50%; transform: translate(-80%, -55%); width: clamp(260px, 34vw, 520px); opacity: .38; }
.closing__wash--2 { transform: translate(-10%, -40%); opacity: .3; }

/* ---------- Introductions de page ---------- */
.page-intro { position: relative; isolation: isolate; padding: clamp(3.5rem, 8vw, 7rem) 0 var(--space-m); overflow: hidden; }
.page-intro__wash { right: -4%; top: -10%; opacity: .32; z-index: -1; }
.page-intro__split { display: grid; grid-template-columns: 7fr 5fr; gap: 2rem 4rem; align-items: end; }
.page-intro__lead { max-width: 34rem; color: var(--ink-soft); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
.page-intro__lead p { margin-bottom: 1em; }
@media (max-width: 860px) { .page-intro__split { grid-template-columns: 1fr; } }

/* ---------- Page L'artiste ---------- */
.page-intro--artist { padding-bottom: 0; }
.page-intro__grid { display: grid; grid-template-columns: 6fr 1fr 5fr; align-items: end; }
.page-intro__grid .page-intro__text { padding-bottom: clamp(1rem, 6vw, 6rem); }
.artist-page__portrait { grid-column: 3; }
@media (max-width: 860px) {
  .page-intro__grid { grid-template-columns: 1fr; gap: 2rem; }
  .artist-page__portrait { grid-column: 1; width: 86%; margin-left: auto; }
}
.editorial__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 1.5rem 4rem; }
.editorial__label { font-family: var(--sans); font-size: .78rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); padding-top: .55rem; }
.editorial + .editorial { padding-top: 0; }
.editorial__grid--media .editorial__media { grid-column: 2; margin-top: 2rem; max-width: 40rem; }
@media (max-width: 760px) {
  .editorial__grid { grid-template-columns: 1fr; }
  .editorial__grid--media .editorial__media { grid-column: 1; }
}
.matter { position: relative; isolation: isolate; overflow: hidden; background: var(--paper); padding-block: var(--space-l); text-align: center; }
.matter__inner { position: relative; max-width: 54rem; }
.matter__inner .h2 { margin-bottom: 2.2rem; }
.matter__text p { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.1rem + .9vw, 1.85rem); line-height: 1.5; }
.matter__wash { left: -6%; top: 8%; opacity: .32; }
.matter__wash--2 { left: auto; right: -5%; top: auto; bottom: 0; opacity: .3; }
.next-links__inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: center; }

/* ---------- Prestations ---------- */
.service-row { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.service-row__grid { display: grid; grid-template-columns: 6fr 1fr 5fr; align-items: center; }
.service-row__media { grid-column: 1; }
.service-row__text { grid-column: 3; }
.service-row--flip .service-row__media { grid-column: 3; grid-row: 1; }
.service-row--flip .service-row__text { grid-column: 1; grid-row: 1; }
.service-row__text .h2 { margin: .5rem 0 1.5rem; }
.service-row__links { margin-top: 1.8rem; }
@media (max-width: 860px) {
  .service-row__grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-row__media, .service-row__text, .service-row--flip .service-row__media, .service-row--flip .service-row__text { grid-column: 1; grid-row: auto; }
}
.service__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 3rem clamp(2rem, 6vw, 6rem); align-items: start; padding-bottom: var(--space-l); }
.service__main .prose { margin-bottom: var(--space-m); }
.service__aside { position: sticky; top: 7rem; }
.service__aside-title { font-family: var(--sans); font-size: .78rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1rem; }
.facts { margin: 0 0 2rem; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .85rem; color: var(--ink-soft); }
.facts dd { margin: 0; }
@media (max-width: 860px) {
  .service__grid { grid-template-columns: 1fr; }
  .service__aside { position: static; }
}
.other-services__inner { display: flex; flex-wrap: wrap; gap: 1.2rem 3rem; border-top: 1px solid var(--line); padding-top: 2rem; }

/* ---------- Entreprises ---------- */
.formats { list-style: none; margin: 1.2rem 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 0; font-family: var(--serif); font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2.2rem); line-height: 1.35; font-weight: 300; }
.formats li:not(:last-child)::after { content: "·"; margin: 0 .7em; color: var(--rose); }
.formats__links { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; }
.bespoke { background: var(--paper); }
.bespoke__grid { display: grid; grid-template-columns: 4fr 7fr; gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: start; }
.bespoke__intro .h2 { margin-bottom: 1.5rem; }
.bespoke__intro { position: sticky; top: 7rem; }
@media (max-width: 900px) {
  .bespoke__grid { grid-template-columns: 1fr; }
  .bespoke__intro { position: static; }
}

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field label { font-size: .85rem; font-weight: 400; }
.req { color: var(--rose-deep); }
.opt { color: var(--ink-soft); font-weight: 300; font-size: .8rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; font-weight: 300; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: .8rem .9rem;
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.bespoke .field input, .bespoke .field select, .bespoke .field textarea { background: var(--ivory); }
.field select {
  background-image: 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='%23292C2B'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem;
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(135, 157, 164, .25); }
.field__hint { font-size: .8rem; color: var(--ink-soft); margin: 0; }
.field__error { font-size: .85rem; color: var(--error); margin: 0; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); }
.field--check { flex-direction: row; align-items: flex-start; gap: .75rem; flex-wrap: wrap; }
.field--check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--ink); flex: none; -webkit-appearance: auto; appearance: auto; }
.field--check label { flex: 1; font-weight: 300; font-size: .88rem; color: var(--ink-soft); }
.field--check .field__error { flex-basis: 100%; }
.form__submit { margin-top: .5rem; }
.form__artwork { display: flex; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--line); background: var(--paper); }
.form__artwork picture { width: 72px; flex: none; }
.form__artwork p { margin: 0; line-height: 1.45; }
.contact__grid { display: grid; grid-template-columns: 7fr 4fr; gap: 3rem clamp(2rem, 6vw, 6rem); align-items: start; }
.contact__aside { position: sticky; top: 7rem; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .contact__aside { position: static; } }

.flashes { padding-top: 1.5rem; }
.flash { padding: .9rem 1.1rem; border-left: 2px solid var(--blue); background: var(--paper); font-size: .92rem; margin: 0 0 .5rem; }
.flash--error { border-color: var(--error); color: var(--error); }
.flash--success { border-color: var(--sage); }

/* ---------- Remerciements / 404 ---------- */
.thanks { position: relative; isolation: isolate; overflow: hidden; min-height: 62vh; display: grid; align-items: center; padding-block: var(--space-l); }
.thanks__inner { max-width: 50rem; }
.thanks .lead { margin: 1.8rem 0 2.4rem; color: var(--ink-soft); }
.thanks__links { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; }
.thanks__wash { right: 4%; top: 18%; opacity: .4; }

/* ---------- Fiche œuvre ---------- */
.work { padding: clamp(2rem, 5vw, 4.5rem) 0 var(--space-l); }
.work__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2.5rem clamp(2rem, 5vw, 5.5rem); align-items: start; }
.work__stage { position: relative; }
.js .work__view:not(.is-active) { display: none; }
.work__view { margin: 0; animation: fade .7s var(--ease); }
.work__view + .work__view { margin-top: 1.5rem; }
.js .work__view + .work__view { margin-top: 0; }
.work__zoom { display: block; cursor: zoom-in; background: var(--paper); }
.work__zoom img { width: 100%; max-height: 84vh; object-fit: contain; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.work__thumbs { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.work__thumb { width: 76px; height: 76px; padding: 0; border: 1px solid transparent; background: var(--paper); cursor: pointer; overflow: hidden; opacity: .6; transition: opacity .4s, border-color .4s; }
.work__thumb img { width: 100%; height: 100%; object-fit: cover; }
.work__thumb[aria-pressed="true"], .work__thumb:hover { opacity: 1; border-color: var(--line-strong); }
.work__info { position: sticky; top: 7rem; }
.work__back { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2rem; }
.work__back a { text-decoration: none; color: var(--ink-soft); }
.work__back a:hover { color: var(--ink); }
.work__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 1.7rem + 2vw, 3.6rem); line-height: 1.05; margin-bottom: 2rem; }
.work__facts { margin: 0 0 2rem; border-top: 1px solid var(--line); }
.work__facts > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.work__facts dt { color: var(--ink-soft); font-size: .85rem; }
.work__facts dd { margin: 0; }
.work__desc { margin-bottom: 2.2rem; }
@media (max-width: 900px) {
  .work__grid { grid-template-columns: 1fr; }
  .work__info { position: static; }
  .work__media { margin-inline: calc(var(--gutter) * -0.6); }
  .work__thumbs { padding-inline: calc(var(--gutter) * .6); }
}
.more-works .h3 { margin-bottom: var(--space-m); }

.lightbox { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: var(--ivory); }
.lightbox::backdrop { background: rgba(247, 244, 238, .96); }
.lightbox[open] { display: grid; place-items: center; animation: fade .5s var(--ease); }
.lightbox img { max-width: 94vw; max-height: 90vh; width: auto; height: auto; object-fit: contain; }
.lightbox__close { position: fixed; top: 1.2rem; right: 1.4rem; border: 0; background: none; font: 400 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; padding: .6rem; color: var(--ink); }

/* ---------- Mentions ---------- */
.legal { max-width: 46rem; }
.legal .h3 { margin: 2.4rem 0 1rem; }
.legal .h3:first-child { margin-top: 0; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding: var(--space-m) 0 2rem; font-size: .88rem; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 2fr 1fr; gap: 2rem; align-items: start; }
.site-footer__name { font-family: var(--serif); font-size: 1.45rem; margin: 0; line-height: 1.2; }
.site-footer__tagline { color: var(--ink-soft); margin: .2rem 0 0; }
.site-footer__nav, .site-footer__social { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__legal { grid-column: 1 / -1; color: var(--ink-soft); font-size: .8rem; border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: 1rem; }
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ---------- Apparitions au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

@media print {
  .site-header, .site-footer, .wash, .closing, body::before { display: none !important; }
}
.page-intro .wrap > .page-intro__lead { margin-top: 1.6rem; }

/* Achat en ligne */
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover, .btn--solid:focus-visible { background: #000; color: var(--paper); }
.work__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; }
.work__buy-note { font-size: .82rem; color: var(--ink-soft); margin-top: 1rem; }
.work__buy-note a { color: inherit; }
