/* José García Tella — feuille de style du site (maquette) */
:root {
  --paper: #ffffff;
  --paper-2: #f2f1ee;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: #e5e3df;
  --accent: #d42a20;
  --accent-dark: #a81d15;
  --night: #121212;
  --serif: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* height:auto : sinon la hauteur écrite dans la balise <img> reste fixe quand la largeur rétrécit (image écrasée) */
img { max-width: 100%; height: auto; display: block; }
/* Pas de menu « Enregistrer l'image » par appui long sur téléphone, ni de sélection des images */
main img, .lightbox img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin: 0 0 14px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -.025em; margin: 0; }
em, i, .year, .dates, blockquote, .signature { font-style: normal !important; }
.brand b, .facts b, .theme b, .timeline b, .pager a b, .book .cover b, .foot h4 { font-weight: 700 !important; letter-spacing: -.02em; }
.hero h1 { font-weight: 700; letter-spacing: -.04em; }
.quote blockquote { font-weight: 500; letter-spacing: -.01em; }
.brand b { font-size: 22px !important; }
h2 { font-size: clamp(34px, 4vw, 52px); }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(245,241,232,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand b { font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: .01em; }
.brand b span { letter-spacing: .12em; }
.brand small { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; letter-spacing: .04em; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.on { border-color: var(--accent); color: var(--accent); }
.langs { display: flex; gap: 2px; border-left: 1px solid var(--line); padding-left: 22px; }
.langs a { text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 5px 7px; color: var(--muted); }
.langs a.on { color: var(--ink); background: var(--paper-2); }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); padding: 9px 12px; font: inherit; font-size: 13px; cursor: pointer; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-size: 14px; letter-spacing: .06em; font-weight: 700; text-transform: uppercase;
  padding: 15px 26px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Accueil ---------- */
.hero { padding: 72px 0 90px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.hero h1 { font-size: clamp(52px, 7.4vw, 104px); letter-spacing: -.01em; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .dates { font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--muted); margin: 18px 0 26px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.frame { background: #fff; padding: 22px; box-shadow: 0 30px 60px -30px rgba(40,25,10,.45), 0 0 0 1px var(--line); }
.frame img { width: 100%; }
.hero .frame { justify-self: center; max-width: 472px; transform: rotate(.6deg); }
.caption { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }
.caption i { font-family: var(--serif); font-size: 17px; color: var(--ink); }

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts div { padding: 30px 26px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-family: var(--serif); font-size: 46px; font-weight: 500; line-height: 1; }
.facts span { font-size: 14px; color: var(--muted); }

.section { padding: 100px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 46px; }
.techs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.tech { text-decoration: none; display: block; }
.tech .img { aspect-ratio: 4/5; overflow: hidden; background: var(--paper-2); }
.tech img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tech:hover img { transform: scale(1.04); }
.tech h3 { font-size: 30px; margin-top: 16px; }
.tech span { font-size: 14px; color: var(--muted); }

.quote { background: var(--night); color: #efe7d8; padding: 120px 0; }
.quote .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 70px; align-items: center; }
.quote img { filter: grayscale(1) contrast(1.05); max-width: 340px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.3; font-style: italic; }
.quote blockquote::before { content: "“"; display: block; font-size: 110px; line-height: .5; color: var(--accent); margin-bottom: 26px; font-style: normal; }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #a99f8f; }

.themes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.theme { position: relative; aspect-ratio: 3/4; overflow: hidden; text-decoration: none; color: #fff; }
.theme img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.theme:hover img { transform: scale(1.05); }
.theme::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.75)); }
.theme b { position: absolute; left: 18px; bottom: 16px; z-index: 1; font-family: var(--serif); font-size: 27px; font-weight: 500; }
.theme small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .1em; opacity: .8; }

.news { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.news article { background: #fff; padding: 36px; border: 1px solid var(--line); }
.news .when { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.news h3 { font-size: 29px; margin: 12px 0 10px; }
.news p { margin: 0; color: var(--muted); font-size: 16px; }
.news .tag { display: inline-block; margin-top: 18px; font-size: 12px; border: 1px solid var(--line); padding: 4px 10px; letter-spacing: .08em; }

.book { background: var(--paper-2); }
.book .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; align-items: center; }
.book .cover { aspect-ratio: 18/25; max-width: 330px; background: var(--ink); color: var(--paper); padding: 40px 34px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 18px 18px 0 var(--accent); }
.book .cover b { font-family: var(--serif); font-size: 46px; font-weight: 500; line-height: 1; }
.book .cover i { font-family: var(--serif); font-size: 22px; }

/* ---------- Pied de page ---------- */
.foot { background: var(--night); color: #cfc6b6; padding: 80px 0 34px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
.foot h4 { color: #fff; font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 0 0 16px; }
.foot a { color: #efe7d8; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 6px; }
.foot .legal { border-top: 1px solid #2f2a24; margin-top: 60px; padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; color: #8a8173; }

/* ---------- Galerie ---------- */
.page-head { padding: 70px 0 40px; }
.page-head h1 { font-size: clamp(48px, 6vw, 84px); }
.filters { position: sticky; top: 76px; z-index: 10; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters .wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.chip { font: inherit; font-size: 14px; background: none; border: 1px solid var(--line); padding: 7px 15px; cursor: pointer; border-radius: 40px; color: var(--ink); }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip em { font-style: normal; opacity: .55; margin-left: 4px; font-size: 12px; }
.filters .sep { width: 1px; height: 26px; background: var(--line); margin: 0 8px; }
.filters select { font: inherit; font-size: 14px; padding: 7px 12px; border: 1px solid var(--line); background: var(--paper); margin-left: auto; }
.count { font-size: 14px; color: var(--muted); padding: 26px 0 0; }
.grid { columns: 4 260px; column-gap: 30px; padding: 26px 0 100px; }
.work { break-inside: avoid; margin-bottom: 38px; text-decoration: none; display: block; }
.work .img { background: #fff; padding: 12px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .25s, transform .25s; }
.work:hover .img { box-shadow: 0 18px 40px -22px rgba(40,25,10,.5), 0 0 0 1px var(--line); transform: translateY(-3px); }
.work h3 { font-size: 22px; margin: 14px 0 2px; }
.work p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.work[hidden] { display: none; }

/* ---------- Fiche œuvre ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 30px 0 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.artwork { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; padding: 40px 0 100px; align-items: start; }
.artwork .stage { background: var(--paper-2); padding: 60px; display: grid; place-items: center; position: sticky; top: 110px; }
.artwork .stage .frame { max-width: 472px; }
.artwork h1 { font-size: clamp(44px, 5vw, 70px); }
.artwork .year { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--muted); margin: 8px 0 32px; }
.specs { border-top: 1px solid var(--line); margin: 0; }
.specs div { display: grid; grid-template-columns: 150px 1fr; padding: 15px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.specs dd { margin: 0; }
.notes { margin-top: 40px; }
.notes h2 { font-size: 26px; margin: 30px 0 12px; }
.notes ul { margin: 0; padding-left: 20px; }
.notes li { margin-bottom: 8px; }
.ask { margin-top: 40px; padding: 28px; border: 1px solid var(--line); background: #fff; }
.ask p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.pager { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 26px 0; margin-top: 50px; }
.pager a { text-decoration: none; font-size: 14px; }
.pager a b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.pager a:last-child { text-align: right; }
.more h2 { margin-bottom: 30px; }
.more .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

/* ---------- L'artiste ---------- */
.bio { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; padding: 30px 0 100px; }
.bio aside { position: sticky; top: 110px; align-self: start; }
.bio aside .frame { max-width: 380px; transform: rotate(-.8deg); }
.bio .text p { margin: 0 0 1.2em; }
.bio .text p:first-of-type::first-letter { font-family: var(--serif); float: left; font-size: 92px; line-height: .8; padding: 8px 12px 0 0; color: var(--accent); }
.bio .text h2 { font-size: 38px; margin: 60px 0 24px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 30px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.timeline b { font-family: var(--serif); font-size: 26px; font-weight: 600; display: block; line-height: 1.2; }
.timeline span { color: var(--muted); font-size: 16px; }
.biblio { list-style: none; padding: 0; margin: 0; }
.biblio li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.biblio li b { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.signature { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); }

/* ---------- Habillage moderne ---------- */
.top { background: rgba(255,255,255,.9); border-bottom-color: transparent; box-shadow: 0 1px 0 var(--line); }
.brand small { letter-spacing: .14em; }
.nav a { font-weight: 500; border: 0; }
.nav a.on, .nav a:hover { color: var(--accent); }
.langs { border: 0; background: var(--paper-2); border-radius: 40px; padding: 3px; }
.langs a { border-radius: 40px; padding: 5px 10px; }
.langs a.on { background: var(--ink); color: #fff; }
.btn { border-radius: 40px; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; padding: 14px 26px; }
.eyebrow { letter-spacing: .14em; font-weight: 600; }

.hero { background: var(--night); color: #fff; padding: 0; }
.hero .wrap { min-height: calc(100vh - 76px); padding-top: 60px; padding-bottom: 60px; }
.hero .lead, .hero .dates { color: #b5b5b5; }
.hero .eyebrow, .hero h1 em { color: #ee3124; }
.hero .btn { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hero .caption, .hero .caption i { color: #8d8d8d; }

.frame, .hero .frame, .bio aside .frame { background: none; padding: 0; box-shadow: none; transform: none; }
.hero .frame img { max-height: 72vh; width: auto; margin: 0 auto; border-radius: 4px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }

.facts { border: 0; background: var(--paper-2); }
.facts div { border-color: #dcdad5; }

.tech .img, .theme, .news article, .book .cover, .artwork .stage, .ask { border-radius: 8px; overflow: hidden; }
.news article { border: 0; background: var(--paper-2); transition: background .2s; }
.news article:hover { background: #eae8e3; }
.news .tag { border-radius: 40px; background: #fff; border: 0; }
.book .cover { box-shadow: 14px 14px 0 var(--accent); overflow: visible; }

.filters { background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-top: 0; }
.chip { background: var(--paper-2); border-color: transparent; font-weight: 500; }
.chip:hover { border-color: transparent; background: #e6e4df; }
.filters select { border-radius: 40px; padding: 8px 14px; background: var(--paper-2); border: 0; }
.work .img { background: none; padding: 0; box-shadow: none; overflow: hidden; border-radius: 8px; }
.work .img img { transition: transform .5s; }
.work:hover .img { box-shadow: none; transform: none; }
.work:hover .img img { transform: scale(1.04); }
.work h3 { font-size: 18px; margin-top: 12px; }

.ask { border: 0; background: var(--paper-2); }
.timeline li::before { box-shadow: 0 0 0 4px #fff; }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .nav, .langs { display: none; }
  .burger { display: block; }
  .hero .wrap, .quote .wrap, .book .wrap, .artwork, .bio { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 40px; }
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .techs { grid-template-columns: 1fr 1fr; }
  .themes { grid-template-columns: repeat(2, 1fr); }
  .news, .foot .cols { grid-template-columns: 1fr; }
  .more .row { grid-template-columns: 1fr 1fr; }
  .artwork .stage, .bio aside { position: static; padding: 26px; }
  .section { padding: 70px 0; }
  .section-head { flex-direction: column; align-items: start; }
  .filters { top: 76px; }
  .filters select { margin-left: 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .facts b { font-size: 36px; }
  .grid { columns: 2 150px; column-gap: 16px; }
  .work h3 { font-size: 18px; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Pages du site (au-delà des maquettes) ---------- */
a.chip { text-decoration: none; display: inline-block; }

/* ---------- Barre du haut (noire) ---------- */
.top { background: rgba(17,17,17,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: none;
  border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; transition: box-shadow .3s; }
.top .wrap { height: 80px; transition: height .3s; }
.scrolled .top { box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.filters { top: 64px; }
.scrolled .top .wrap { height: 64px; }
.brand { flex-direction: row; align-items: center; gap: 12px; color: #fff; }
.brand .mark { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1; flex: none; transition: transform .3s, width .3s, height .3s; }
.brand:hover .mark { transform: rotate(-6deg) scale(1.05); }
.scrolled .brand .mark { width: 34px; height: 34px; font-size: 19px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand b { color: #fff; }
.brand b span { color: #fff; }
.brand small { color: #9a9a9a; }
.nav { gap: 6px; align-items: center; }
.nav a { position: relative; color: #d9d9d9; padding: 9px 12px; border-radius: 40px; transition: color .2s, background .2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover, .nav a.on { color: #fff; border-color: transparent; }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.nav a.cta { background: var(--accent); color: #fff; padding: 9px 18px; margin-left: 8px; font-weight: 600; }
.nav a.cta::after { display: none; }
/* « Boutique officielle » : encadré rouge pour la faire ressortir */
.nav a.shop-link { border: 1.5px solid var(--accent); color: #fff; padding: 8px 16px; margin-left: 6px; font-weight: 600; }
.nav a.shop-link::after { display: none; }
.nav a.shop-link:hover, .nav a.shop-link.on { background: rgba(212, 42, 32, .18); }
.nav a.cta:hover, .nav a.cta.on { background: #fff; color: var(--ink); }
.langs { background: rgba(255,255,255,.08); }
.langs a { color: #a8a8a8; }
.langs a:hover { color: #fff; }
.langs a.on { background: #fff; color: var(--ink); }
.burger { background: rgba(255,255,255,.1); }
.burger span { background: #fff; }
@media (max-width: 960px) {
  .top .wrap, .scrolled .top .wrap { height: 68px; }
  .menu-open .top { background: #111; }
  .menu-open .nav { top: 68px; background: #111; }
  .menu-open .nav a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; padding: 16px 0; }
  .menu-open .nav a::after { display: none; }
  .menu-open .nav a.cta { margin: 24px 0 0; text-align: center; border-radius: 40px; border: 0; }
  .menu-open .nav a.shop-link { margin: 16px 0 0; text-align: center; border-radius: 40px; border: 1.5px solid var(--accent); }
  .filters { top: 68px; }
}
@media (max-width: 560px) { .brand .mark { width: 34px; height: 34px; font-size: 19px; } .brand { gap: 9px; } }

/* Sous-menus de la barre du haut */
.nav-group { position: relative; }
.nav a.has-sub { display: inline-flex; align-items: center; gap: 4px; }
.nav a.has-sub svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-group:hover a.has-sub svg, .nav-group:focus-within a.has-sub svg { transform: rotate(180deg); }
.sub { position: absolute; top: 100%; left: 0; min-width: 210px; padding: 8px; margin-top: 6px; background: #1b1b1b; border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-group:hover .sub, .nav-group:focus-within .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; white-space: nowrap; }
.sub a::after { display: none; }
.sub a:hover, .sub a.on { background: rgba(255,255,255,.08); color: #fff; }
.sub a.on { box-shadow: inset 3px 0 0 var(--accent); }

/* Recherche et décennies (galerie) */
.search { display: flex; align-items: center; gap: 10px; margin-top: 30px; max-width: 720px; background: var(--paper-2); border-radius: 40px; padding: 6px 6px 6px 18px; }
.search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search input[type=search] { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 10px 0; outline: none; color: var(--ink); }
.search .clear { text-decoration: none; font-size: 22px; color: var(--muted); padding: 0 6px; }
.search .btn { padding: 11px 22px; cursor: pointer; }
.decades { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.decades a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 13px; border-radius: 40px; color: var(--muted); border: 1px solid var(--line); }
.decades a em { font-style: normal; font-weight: 400; opacity: .6; font-size: 12px; }
.decades a:hover { color: var(--ink); border-color: var(--ink); }
.decades a.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Boutique */
.shop { padding-bottom: 80px; }
.shop-book { display: grid; grid-template-columns: minmax(0, 330px) 1fr; gap: 60px; align-items: center; padding: 40px 0 70px; border-bottom: 1px solid var(--line); }
.shop-book h2 { margin: 6px 0 14px; }
.shop .price { font-size: 26px; font-weight: 700; margin: 22px 0 16px; letter-spacing: -.02em; }
.shop .price small, .sale .price small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.shop .buy { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; }
.shop .buy label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.shop .buy select { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; min-width: 80px; background: #fff; }
.shop .soldout { color: var(--muted); }
.shop-works { padding-top: 50px; }
.shop-works-head { margin-bottom: 34px; }
.shop-works-head h2 { margin: 0 0 18px; line-height: 1.15; }
.shop-promises { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); max-width: 820px; font-size: 15px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 34px 28px; }
.shop-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.shop-card:hover { box-shadow: 0 18px 40px -24px rgba(40, 25, 10, .45); transform: translateY(-2px); }
/* Cadre carré identique pour toutes les œuvres, photo entière centrée dedans */
.shop-card .frame { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--paper-2); }
.shop-card .frame img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .28)); }
.shop-card .frame .noimg { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.shop-card .body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.shop-card h3 { font-size: 21px; margin: 0 0 6px; }
.shop-card h3 span { font-size: 15px; font-weight: 500; color: var(--muted); }
.shop-card .meta { margin: 0 0 2px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
/* Description sur 3 lignes au plus : toutes les cartes gardent la même allure */
.shop-card .desc { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.shop-card .certif, .shop-order .certif { margin: 10px 0 0; font-size: 13px; font-weight: 600; color: #2a7a46; }
.shop-card .buy-row { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shop-card .price { font-size: 24px; font-weight: 700; margin: 0; color: var(--ink); letter-spacing: -.02em; }
.shop-card .btn { padding: 11px 22px; font-size: 14px; }
.shop-card .more-link { margin-top: 10px; font-size: 13px; color: var(--muted); }
.flash-error { border-left: 4px solid var(--accent); }
.sale { margin-top: 30px; padding: 24px 26px; border-radius: 8px; background: var(--paper-2); }
.sale .eyebrow { margin: 0 0 6px; }
.sale .price { font-size: 26px; font-weight: 700; margin: 0 0 14px; letter-spacing: -.02em; }
.sale form { margin: 0; }
.thanks p { color: var(--ink); }
.shop-order .price { font-size: 26px; font-weight: 700; margin: 22px 0 10px; letter-spacing: -.02em; }
.shop-order .price small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.shop-order .pickup { margin: 16px 0; padding: 16px 18px; border-radius: 8px; background: var(--paper-2); }
.shop-order .pickup p { margin: 6px 0 0; }
.shop-order select { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; width: 100%; }
@media (max-width: 800px) { .shop-book { grid-template-columns: 1fr; gap: 30px; } .shop-book .book-cover { max-width: 240px; } }

/* Œuvre sans photo */
.noimg { display: grid; place-items: center; aspect-ratio: 4 / 5; width: 100%; background: repeating-linear-gradient(135deg, #f2f1ee 0 12px, #ebe9e4 12px 24px);
  color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; padding: 10px; border-radius: 8px; }
.noimg-big { aspect-ratio: auto; min-height: 320px; font-size: 16px; }

/* Pages de la galerie */
.pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 10px 0 110px; }
.pages a, .pages span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 40px; text-decoration: none; font-weight: 600; font-size: 15px; }
.pages a { background: var(--paper-2); }
.pages a:hover { background: var(--ink); color: #fff; }
.pages a.on { background: var(--accent); color: #fff; }
.pages span { color: var(--muted); }
.grid + .pages { margin-top: -60px; }

/* Frise chronologique */
.tl-nav { position: sticky; top: 64px; z-index: 9; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.tl-nav .wrap { display: flex; gap: 4px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.tl-nav a { flex: none; text-decoration: none; font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 40px; color: var(--muted); transition: background .2s, color .2s; }
.tl-nav a:hover { color: var(--ink); }
.tl-nav a.on { background: var(--ink); color: #fff; }
.timeline { padding: 30px 28px 110px; }
.tl-decade { scroll-margin-top: 130px; }
.tl-decade-title { font-size: clamp(34px, 4vw, 52px); margin: 50px 0 10px; color: var(--accent); }
.tl-year { display: grid; grid-template-columns: 120px 1fr; opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.tl-year.in { opacity: 1; transform: none; }
.tl-y { font-family: var(--serif); font-weight: 700; font-size: 30px; letter-spacing: -.02em; text-align: right; padding: 22px 30px 0 0; }
.tl-body { position: relative; border-left: 2px solid var(--line); padding: 26px 0 30px 34px; }
.tl-body::before { content: ""; position: absolute; left: -10px; top: 32px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.tl-event { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.35; margin: 0 0 8px; max-width: 760px; letter-spacing: -.01em; }
.tl-text { color: var(--muted); margin: 0 0 8px; max-width: 760px; }
.tl-works { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tl-works a { width: 92px; height: 92px; border-radius: 8px; overflow: hidden; background: var(--paper-2); display: grid; place-items: center; text-decoration: none; }
.tl-works img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tl-works a:hover img { transform: scale(1.08); }
.tl-works .tl-more { font-weight: 700; color: var(--accent); font-size: 18px; }
.tl-count { font-size: 13px; color: var(--muted); margin: 8px 0 0; }

/* Dans les musées */
.museums { padding-bottom: 100px; display: grid; gap: 30px; }
.museum { background: var(--paper-2); border-radius: 12px; padding: 36px; }
.museum-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.museum h2 { font-size: clamp(26px, 3vw, 36px); max-width: 760px; }
.museum-text { font-size: 17px; max-width: 820px; margin: 16px 0 0; }
.museum-img { margin-top: 20px; border-radius: 8px; max-height: 380px; width: auto; }
.museum h3 { font-size: 20px; margin: 30px 0 16px; }
.museum .more .row { grid-template-columns: repeat(4, 1fr); }

/* Fiche œuvre : PDF et partage */
.share { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 34px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share .btn { gap: 8px; }
.share .btn svg { width: 18px; height: 18px; }
.share-links { display: flex; align-items: center; gap: 8px; }
.share-links span { font-size: 13px; color: var(--muted); margin-right: 4px; }
.share-links a, .share-links button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s; padding: 0; }
.share-links svg { width: 18px; height: 18px; }
.share-links a:hover, .share-links button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.share-links button.done { background: #1f9d55; border-color: #1f9d55; color: #fff; }

@media (max-width: 960px) {
  .nav-group { display: contents; }
  .menu-open .nav a.has-sub svg { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 0 18px; margin: 0; display: none; }
  .menu-open .sub { display: block; }
  .menu-open .sub a { font-size: 20px !important; padding: 12px 0 !important; color: #bdbdbd !important; }
  .tl-nav { top: 68px; }
  .tl-year { grid-template-columns: 64px 1fr; }
  .tl-y { font-size: 20px; padding: 24px 14px 0 0; }
  .tl-body { padding-left: 24px; }
  .tl-event { font-size: 18px; }
  .tl-works a { width: 70px; height: 70px; }
  .museum { padding: 24px; }
  .museum .more .row { grid-template-columns: 1fr 1fr; }
  .search .btn { display: none; }
}

/* Diaporama de l'accueil */
.slideshow { margin: 0; width: 100%; }
.slides { position: relative; height: min(68vh, 620px); }
.slides a { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden;
  transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.slides a.on { opacity: 1; visibility: visible; transition: opacity 1.2s ease; }
.slides img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 4px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9);
  transform: scale(.97); transition: transform 6s ease-out; }
.slides a.on img { transform: scale(1); }
.slideshow .caption { min-height: 2.6em; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.25); cursor: pointer; transition: background .3s, width .3s; }
.dots button.on { background: #ee3124; width: 22px; border-radius: 4px; }
@media (max-width: 960px) { .slides { height: 56vh; } }

/* Couverture du livre */
.book-cover { max-width: 330px; width: 100%; justify-self: center; }
.book-cover img { width: 100%; border-radius: 4px; box-shadow: 14px 14px 0 var(--accent), 0 30px 60px -30px rgba(0,0,0,.5); transition: transform .3s; }
.book-cover:hover img { transform: translate(-3px, -3px); }

/* Image agrandie (fiche œuvre, photos, presse) */
.zoomable { cursor: zoom-in; position: relative; display: block; }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(17,17,17,.75); color: #fff;
  display: grid; place-items: center; font-size: 20px; opacity: .85; transition: opacity .2s, transform .2s; }
.zoomable:hover .zoom-hint { opacity: 1; transform: scale(1.08); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.94); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
/* Les photos de l'ancien site sont petites : on les montre au moins sur 80 % de la hauteur de l'écran */
@media (min-width: 700px) { .lightbox img { min-height: min(80vh, 1100px); } }
.lightbox figcaption { color: #cfcfcf; font-size: 15px; text-align: center; max-width: 900px; }
.lb-close { position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12);
  color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-open { overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero figure { margin: 0; }
.hero a.frame { display: block; }
.news .ex-title { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.35; color: var(--ink); margin: 12px 0 0; letter-spacing: -.01em; }
.page-head .lead { margin-top: 18px; }
.empty { padding: 40px 0; color: var(--muted); }

.prose { font-size: 17.5px; line-height: 1.75; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { font-size: 34px; margin: 56px 0 22px; }
.prose h3 { font-size: 24px; margin: 36px 0 14px; }
.prose a { color: var(--accent); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.narrow { max-width: 760px; }
.bio .text.prose > p:first-of-type::first-letter { font-family: var(--serif); float: left; font-size: 84px; line-height: .8; padding: 8px 12px 0 0; color: var(--accent); font-weight: 700; }
.aside-title { font-size: 26px; margin: 50px 0 24px; }
.biblio ul { list-style: none; padding: 0; margin: 0; }
.biblio li, .biblio p { padding: 14px 0; margin: 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.55; }

.album-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.album-nav .chip { text-decoration: none; }
.album { padding-top: 40px; scroll-margin-top: 100px; }
.album h2 { font-size: 32px; margin-bottom: 26px; }
.photo-grid { columns: 4 230px; column-gap: 24px; }
.photo { break-inside: avoid; margin: 0 0 30px; }
.photo img { border-radius: 8px; filter: grayscale(.15); }
.photo figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

.expo-page { padding-bottom: 100px; }
.expo-page section { scroll-margin-top: 100px; padding-top: 30px; }
.expo-page h2 { font-size: 34px; margin-bottom: 18px; }
.expo-list { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--line); }
.expo-list li { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.expo-list .y { font-family: var(--serif); font-weight: 700; font-size: 20px; }
.expo-list li.current .y { color: var(--accent); }
.badge { display: inline-block; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 40px; padding: 2px 10px; margin-left: 8px; vertical-align: 2px; }

.press-grid { columns: 3 260px; }
.press-grid .work h3 { font-size: 20px; }

.link-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .2s, color .2s; }
.link-list a:hover { color: var(--accent); padding-left: 10px; }
.link-list b { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.link-list span { color: var(--muted); font-size: 14px; white-space: nowrap; }

.contact { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; padding-bottom: 110px; }
.contact aside h2 { font-size: 30px; }
.contact aside .role { color: var(--accent); font-weight: 500; }
.contact aside a { color: var(--ink); font-weight: 600; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .small { font-size: 13px; color: var(--muted); margin: 0; }
.form .btn { justify-self: start; cursor: pointer; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; }
.errors { margin: 0; padding: 14px 18px 14px 34px; background: #fde9e7; color: var(--accent-dark); border-radius: 8px; }
.flash { background: var(--paper-2); border-left: 4px solid var(--accent); padding: 26px 30px; border-radius: 8px; font-size: 17px; }
.flash b { display: block; font-size: 20px; margin-bottom: 6px; }
.about-work { display: flex; gap: 16px; align-items: center; background: var(--paper-2); border-radius: 8px; padding: 12px; }
.about-work img { width: 70px; height: 70px; object-fit: cover; border-radius: 6px; }
.about-work small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.about-work b { display: block; }
.about-work span { font-size: 14px; color: var(--muted); }

/* Bouton menu (téléphone) */
.burger { width: 46px; height: 42px; padding: 0; border: 0; background: var(--paper-2); border-radius: 40px; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .top .wrap { gap: 14px; }
  .langs { display: flex; margin-left: auto; }
  .burger { margin-left: 0; }
  .menu-open .nav {
    display: flex; flex-direction: column; gap: 0; position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: #fff; padding: 20px 16px; overflow-y: auto; z-index: 30;
  }
  .menu-open .nav a { font-family: var(--serif); font-size: 28px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu-open { overflow: hidden; }
  /* Le flou de l'en-tête enfermerait le menu plein écran dans ses 76 px de haut */
  .menu-open .top { backdrop-filter: none; background: #fff; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .expo-list li { grid-template-columns: 1fr; gap: 4px; }
  /* Filtres de la galerie : une ligne qui défile, pas collée en haut de l'écran */
  .filters { position: static; }
  .filters .wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filters .wrap::-webkit-scrollbar { display: none; }
  .chip, .filters select { flex: none; }
}
@media (max-width: 560px) {
  .brand b { font-size: 18px !important; }
  .brand small { font-size: 10px; }
  .langs a { padding: 5px 7px; font-size: 11px; }
  .form .row2 { grid-template-columns: 1fr; }
  .photo-grid { columns: 2 140px; column-gap: 14px; }
  .link-list a { flex-direction: column; gap: 4px; }
}
