*,*::before,*::after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0}
/* Layout: un site de galerie sobre. Menu hamburger, grande photo de Zouzou à l'accueil, fiches d'œuvres avec galerie à faire glisser, palette ivoire, pierre, sauge et olive, mode édition réservé à l'auteur du site. */
:root {
  --bg: #F4F0E8;
  --fg: #493A30;
  --muted: #5E5046;
  --line: #D8D1C3;
  --card: #E9E4D9;
  --stone: #D8D1C3;
  --sage: #A5AA91;
  --edge: #8C8174;
  --accent: #686B55;
  --accent-ink: #F4F0E8;
  --warn: #9A3327;
  --f-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --f-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--f-body); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 30; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.mono { font: 500 0.74rem/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.display { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.prose p + p { margin-top: 1em; }
.prose { max-width: 60ch; }

/* Bandeau exemple + en-tête */
.demo { background: var(--stone); color: var(--fg); font: 500 0.78rem/1.4 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 0; text-align: center; }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 4px 20px; padding-block: 12px; }
.brand { font: 700 1.5rem/1 var(--f-display); letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.btn { display: inline-flex; align-items: center; gap: 8px; width: fit-content; background: var(--accent); color: var(--accent-ink); border: 2px solid var(--accent); font: 600 0.92rem var(--f-body); padding: 10px 16px; cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn.small { padding: 7px 12px; font-size: 0.85rem; }
.btn.danger { background: transparent; color: var(--warn); border-color: var(--warn); }
.btn input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.btn:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Accueil */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 56px; align-items: stretch; padding-block: 36px 56px; }
.hero-text { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.hero h1 { font-size: clamp(3.8rem, 12vw, 8.6rem); line-height: 0.88; }
.hero .tag { font-size: 1.25rem; line-height: 1.4; max-width: 28ch; }
.portrait { position: relative; min-height: 440px; aspect-ratio: 4 / 5; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait .empty { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--muted); text-align: center; padding: 20px; background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--line) 55%, transparent) 14px 15px); }
.portrait .empty svg { width: min(46%, 220px); height: auto; opacity: .5; }
.portrait .empty b { font: 600 1.2rem var(--f-display); color: var(--fg); }
.band { border-top: 2px solid var(--fg); padding-block: 44px; }
.band-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 24px; }
.band-head h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.05; }
.link { font: 500 0.8rem var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--sage); padding-bottom: 2px; }

/* Œuvres */
.pagehead { padding-block: 40px 20px; display: grid; gap: 10px; }
.pagehead h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1; }
.pagehead p { color: var(--muted); max-width: 56ch; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 36px 24px; padding-bottom: 64px; }
.card { text-decoration: none; display: grid; gap: 12px; align-content: start; }
.thumb { aspect-ratio: 4 / 5; overflow: hidden; background: color-mix(in srgb, var(--tint, #888) 14%, var(--stone)); position: relative; color: var(--fg); }
.thumb > svg, .thumb > img, .thumb > .noimg { width: 100%; height: 100%; display: block; }
.thumb img { object-fit: cover; }
.thumb::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); pointer-events: none; }
.card:hover .thumb { outline: 2px solid var(--accent); outline-offset: 3px; }
.card h3 { font: 600 1.4rem/1.15 var(--f-display); letter-spacing: -0.01em; }
.noimg { display: grid; place-items: center; text-align: center; padding: 16px; color: var(--muted); font: 500 0.78rem var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; }

/* Fiche d'œuvre */
.detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; padding-block: 28px 64px; }
.gal { position: relative; display: grid; gap: 12px; min-width: 0; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; background: var(--card); }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; max-height: 86vh; background: color-mix(in srgb, var(--tint, #888) 14%, var(--stone)); color: var(--fg); position: relative; overflow: hidden; }
.slide svg, .slide img, .slide .noimg { width: 100%; height: 100%; display: block; }
.slide img { object-fit: cover; }
.arrow { position: absolute; top: calc(50% - 40px); width: 44px; height: 44px; border: 2px solid var(--fg); background: var(--bg); cursor: pointer; font-size: 1.2rem; z-index: 2; display: none; }
.arrow.prev { left: 10px; } .arrow.next { right: 10px; }
@media (hover: hover) and (min-width: 700px) { .arrow { display: block; } }
.gal-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dots { display: flex; gap: 8px; }
.dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--fg); background: transparent; padding: 0; cursor: pointer; }
.dots button[aria-current="true"] { background: var(--fg); }
.hint { font: 500 0.72rem var(--f-mono); color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.info { display: grid; gap: 20px; align-content: start; min-width: 0; }
.info h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.02; }
.back { font: 500 0.78rem var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.back:hover { color: var(--fg); }
.swatch { display: inline-block; width: 14px; height: 14px; background: var(--tint); border: 1px solid var(--fg); margin-right: 8px; vertical-align: -1px; }
.spec { border-top: 2px solid var(--fg); }
.spec div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec dt { font: 500 0.74rem var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.spec dd { min-width: 0; overflow-wrap: anywhere; }
.pn { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; }

/* Portrait */
.pt { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px 60px; align-items: start; padding-block: 28px 64px; }
.pt .portrait { position: sticky; top: calc(130px + env(safe-area-inset-top, 0px)); }
.quote { font: italic 500 clamp(1.6rem, 3.6vw, 2.4rem)/1.2 var(--f-display); text-wrap: balance; border-left: 4px solid var(--sage); padding-left: 18px; }
.pt .info { gap: 26px; }
.figcap { font: 500 0.74rem var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* Presse + contact */
.plist { display: grid; border-top: 2px solid var(--fg); padding-bottom: 64px; }
.pitem { display: grid; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; max-width: 800px; }
.pitem h3 { font: 600 clamp(1.5rem, 3.6vw, 2.2rem)/1.15 var(--f-display); letter-spacing: -0.01em; text-wrap: balance; }
a.pitem:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.contact-list { display: grid; border-top: 2px solid var(--fg); max-width: 760px; margin-bottom: 64px; }
.contact-list div { display: grid; grid-template-columns: 9rem 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list dt { font: 500 0.74rem var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { min-width: 0; overflow-wrap: anywhere; }
.copy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.empty-state { border: 1px dashed var(--line); padding: 32px; color: var(--muted); }
footer { border-top: 1px solid var(--fg); padding-block: 22px 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }

@media (max-width: 860px) {
  .hero, .detail, .pt { grid-template-columns: 1fr; }
  .pt .portrait { position: relative; top: auto; }
  .portrait { min-height: 0; }
  .spec div, .contact-list div { grid-template-columns: 7rem 1fr; }
  .band { padding-block: 34px; }
}
@media (prefers-reduced-motion: reduce) { .slides { scroll-behavior: auto; } }

/* Menu hamburger */
.here { font: 500 0.74rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 520px) { .here { display: none; } .brand { margin-right: auto; } }
.burger { width: 46px; height: 46px; border: 2px solid var(--fg); background: var(--bg); cursor: pointer; display: grid; place-content: center; gap: 5px; padding: 0; flex: none; }
.burger i { display: block; width: 22px; height: 2px; background: var(--fg); }
.burger:hover { background: var(--card); }
.burger[aria-expanded="true"] { background: var(--accent); border-color: var(--accent); }
.burger[aria-expanded="true"] i { background: var(--accent-ink); }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu { position: absolute; left: 0; right: 0; background: var(--bg); border-bottom: 2px solid var(--fg); box-shadow: 0 14px 28px -18px rgba(73, 58, 48, .45); max-height: calc(100vh - 80px); overflow-y: auto; z-index: 25; }
.menu[hidden], .lb[hidden], .m-sub[hidden] { display: none; }
.menu-box { max-width: 1240px; margin-inline: auto; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); }
.menu-box ul { list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .menu-box > ul { width: min(100%, 380px); margin-left: auto; } }
.m-row { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.m-item { flex: 1; text-decoration: none; font: 500 0.92rem var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 15px 4px; color: var(--fg); border-left: 3px solid transparent; padding-left: 12px; }
.m-item:hover { background: var(--card); }
.m-item[aria-current] { border-left-color: var(--accent); color: var(--accent); font-weight: 700; }
.m-tog { width: 52px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.m-tog::before { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--fg); border-bottom: 2px solid var(--fg); transform: rotate(45deg); margin-top: -4px; }
.m-tog[aria-expanded="true"]::before { transform: rotate(-135deg); margin-top: 4px; }
.m-tog:hover { background: var(--card); }
.m-sub { background: var(--card); border-left: 3px solid var(--sage); margin: 0 0 0 12px; border-bottom: 1px solid var(--line); }
.m-sub a { display: block; text-decoration: none; font: 500 0.86rem var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 12px 16px; color: var(--fg); }
.m-sub a:hover { background: var(--stone); }
.m-sub a[aria-current] { color: var(--accent); font-weight: 700; box-shadow: inset 3px 0 0 var(--accent); }
.subnav { display: flex; flex-wrap: wrap; gap: 4px 22px; border-bottom: 1px solid var(--line); margin-top: 8px; }
.subnav a { text-decoration: none; font: 500 0.8rem var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 0; border-bottom: 2px solid transparent; color: var(--muted); }
.subnav a:hover { color: var(--fg); }
.subnav a[aria-current] { color: var(--fg); border-bottom-color: var(--accent); }

/* Prix */
.price { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 2px solid var(--fg); border-bottom: 1px solid var(--line); padding: 14px 0; margin-top: -4px; }
.price-v { font: 600 clamp(1.7rem, 4vw, 2.3rem)/1 var(--f-display); letter-spacing: -0.01em; font-variant-numeric: lining-nums; }
.price-v.req { font-size: 1.3rem; font-style: italic; font-weight: 500; }

/* Rencontre */
.qas { border-top: 2px solid var(--fg); display: grid; }
.qa { display: grid; gap: 10px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.qa .q { font: 600 clamp(1.35rem, 3vw, 1.8rem)/1.2 var(--f-display); letter-spacing: -0.01em; text-wrap: balance; }
.qa .a { border-left: 4px solid var(--sage); padding-left: 16px; }
.qa .wait { color: var(--muted); font-style: italic; }
.qa figure img { width: 100%; max-height: 520px; object-fit: cover; border: 1px solid var(--line); }

/* Galerie photo */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 8px 28px; }
.chip { font: 500 0.76rem var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--fg); background: transparent; padding: 7px 12px; cursor: pointer; }
.chip:hover { background: var(--card); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.lib { column-width: 260px; column-gap: 20px; padding-bottom: 64px; }
.tile { display: block; width: 100%; break-inside: avoid; margin: 0 0 22px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.tile .ph-box { display: block; overflow: hidden; background: var(--stone); border: 1px solid var(--line); color: var(--fg); }
.tile .ph-box img { width: 100%; height: auto; }
.tile .ph-box.ex { aspect-ratio: 4 / 5; }
.tile:nth-child(3n+2) .ph-box.ex { aspect-ratio: 1 / 1; }
.tile:nth-child(3n) .ph-box.ex { aspect-ratio: 5 / 4; }
.tile .ph-box svg, .tile .ph-box .noimg { width: 100%; height: 100%; display: block; }
.tile:hover .ph-box { outline: 2px solid var(--accent); outline-offset: 3px; }
.tile .cap { display: block; margin-top: 8px; }
.lb { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); }
.lb-top { display: flex; justify-content: flex-end; padding: 12px 16px; }
.lb-stage { flex: 1; min-height: 0; position: relative; display: grid; place-items: center; padding: 0 16px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-ex { width: min(100%, 620px); aspect-ratio: 4 / 5; max-height: 100%; background: var(--stone); color: var(--fg); }
.lb-ex svg, .lb-ex .noimg { width: 100%; height: 100%; display: block; }
.lb-arrow { position: absolute; top: calc(50% - 22px); width: 46px; height: 46px; border: 2px solid var(--fg); background: var(--bg); cursor: pointer; font-size: 1.2rem; z-index: 2; }
.lb-arrow.prev { left: 12px; } .lb-arrow.next { right: 12px; }
.lb-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); }
.f select { appearance: auto; }
