/* Tableau sur commande - design éditorial (clair / typographique), distinct du site « copie » */

:root {
  --paper: #faf9f6;
  --paper-2: #f0eeea;
  --ink: #0f1114;
  --muted: #3d4249;
  --line: #d9d4cd;
  --accent: #6e0f2e;
  --accent-hover: #5a0c25;
  --accent-soft: rgba(110, 15, 46, 0.09);
  --ok: #166534;
  --err: #991b1b;
  --shadow: 0 18px 50px rgba(18, 20, 23, 0.08);
  --radius: 0;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --max: 1120px;
  --max-comparison: 780px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

/* --- Layout --- */
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--line);
}

.hero + .section,
.page-hero + .section {
  border-top: none;
}

.section--gallery-top {
  background: #fff;
}

.section__label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.72;
  margin-bottom: 0.75rem;
}

.section__lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(18, 20, 23, 0.06);
}

.site-header__bar {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-logo__mark {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, var(--accent), #c2410c);
  border: 1px solid var(--ink);
}

.site-logo__text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a.btn--nav,
.site-nav a.btn--nav:hover {
  color: #fff;
}

.site-nav a.is-active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-nav__close {
  display: none;
}

.site-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.site-burger span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  display: block;
}

@media (max-width: 900px) {
  .site-burger {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 58px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

  .site-header.is-menu-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav__close {
    display: block;
    align-self: flex-end;
    border: 0;
    background: transparent;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease), color 0.15s var(--ease);
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn--nav {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.btn--nav:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn--sticky {
  min-width: 160px;
}

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  height: min(100vh, 1000px);
  box-sizing: border-box;
}

.hero__visual {
  position: relative;
  min-height: 0;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Cadrage vers le haut (point d’ancrage remonté) */
  object-position: 50% 14%;
  filter: contrast(1.02) saturate(0.95);
}

.hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  border-left: 1px solid var(--line);
  min-height: 0;
  overflow-y: auto;
}

.hero__kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero__title {
  margin: 0 0 1rem;
}

.hero__subtitle {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 52ch;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.35rem;
}

.hero__chips span {
  border: 1px solid var(--line);
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
  background: #fff;
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }

  .hero__panel {
    border-left: 0;
    border-top: 1px solid var(--line);
    flex-shrink: 0;
  }
}

/* --- Guide (accueil) --- */
.section--guide {
  background: var(--paper-2);
}

.guide-intro {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}

.guide-intro .section__label {
  margin-bottom: 0.85rem;
}

.guide-intro h2 {
  margin-bottom: 1rem;
  padding-bottom: 0;
}

.guide-intro__lead {
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 52ch;
}

.guide-intro__lead a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.guide-intro__lead a:hover {
  color: var(--accent-hover);
}

.guide-footer-cta {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.guide-footer-cta__up {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 40%, transparent);
}

.guide-footer-cta__up:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.guide-body {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  border: none;
  box-shadow: none;
}

.section--guide .guide-body .article-prose {
  max-width: 100%;
  margin-inline: auto;
}

/* --- Prose long --- */
.prose {
  max-width: 68ch;
}

.prose--wide {
  max-width: 72ch;
}

.article-prose h2 {
  margin-top: 2.25rem;
}

.section .article-prose > h2:first-child {
  margin-top: 0;
}

.article-prose--rich .guide-section:first-of-type h2 {
  margin-top: 0;
}

.article-prose p {
  color: var(--ink);
}

.article-prose strong {
  font-weight: 600;
}

/* --- Guide pages artistes --- */
.artist-guide__lead {
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
  color: var(--ink);
}

.artist-guide__pillars {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .artist-guide__pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.artist-guide__pillars li {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper-2) 88%, #fff);
  font-size: 0.95rem;
  line-height: 1.45;
}

.artist-guide__pillars strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.artist-guide__cta {
  margin: 1.75rem 0 0;
}

.artist-guide__cta a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.artist-guide__cta a:hover {
  color: var(--accent-hover);
}

.artist-guide__legal {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.artist-guide__legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.artist-guide__legal a:hover {
  color: var(--accent-hover);
}

/* --- Œuvres phares + mini-galerie (pages artistes) --- */
.artist-guide .guide-section.artist-guide__highlight {
  margin-top: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.artist-guide .artist-guide__highlight h2 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: clamp(1.28rem, 2.1vw, 1.58rem);
}
.artist-guide .artist-guide__h3 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.artist-guide .artist-guide__highlight > p:first-of-type {
  margin-top: 0;
  color: var(--muted);
}
.artist-guide .artist-guide__works-list {
  margin: 0.65rem 0 0;
  padding-left: 1.35rem;
}
.artist-guide .artist-guide__works-list li {
  margin-bottom: 0.5rem;
  line-height: 1.55;
}
.artist-guide .artist-guide__works-list--themes li {
  margin-bottom: 0.45rem;
}
.artist-guide .artist-guide__work-title {
  font-weight: 600;
}
.artist-guide .artist-guide__work-date {
  font-size: 0.88em;
  color: var(--muted);
  font-weight: 500;
}
.artist-guide__media-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.85rem 0 0;
}
@media (max-width: 720px) {
  .artist-guide__media-strip {
    grid-template-columns: 1fr;
  }
}
.artist-guide__spotlight {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-2);
}
.artist-guide__spotlight img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
}
.artist-guide__spotlight figcaption {
  font-size: 0.82rem;
  padding: 0.55rem 0.65rem;
  color: var(--muted);
  line-height: 1.4;
}

/* --- Guide riche (listes, tableaux, médias) --- */
.article-prose--rich .guide-callout--top {
  margin: 0 0 1.75rem;
}

.article-prose--rich .guide-toc {
  margin: 0 0 2rem;
  padding: 1.25rem 1.35rem;
  background: color-mix(in srgb, var(--paper-2) 85%, #fff);
  border: 1px solid var(--line);
}

.article-prose--rich .guide-toc__title {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  opacity: 0.75;
}

.article-prose--rich .guide-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

@media (min-width: 560px) {
  .article-prose--rich .guide-toc__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1.25rem;
  }
}

.article-prose--rich .guide-toc__list a {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}

.article-prose--rich .guide-toc__list a:hover {
  color: var(--accent);
}

.article-prose--rich .guide-section {
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line);
}

.article-prose--rich .guide-section--last {
  border-bottom: 0;
  padding-bottom: 0;
}

.article-prose--rich .guide-section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
}

.article-prose--rich .guide-section > p:last-child {
  margin-bottom: 0;
}

.article-prose--rich .guide-section > * + p,
.article-prose--rich .guide-section > * + ul,
.article-prose--rich .guide-section > * + ol,
.article-prose--rich .guide-section > * + .guide-table-wrap,
.article-prose--rich .guide-section > * + .guide-figure,
.article-prose--rich .guide-section > * + .guide-callout,
.article-prose--rich .guide-section > * + .guide-quote,
.article-prose--rich .guide-section > * + .guide-cards-mini {
  margin-top: 1rem;
}

.article-prose--rich .guide-list {
  margin: 1rem 0 0;
  padding-left: 1.35rem;
  color: var(--ink);
}

.article-prose--rich .guide-list li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.article-prose--rich .guide-list--check {
  list-style: none;
  padding-left: 0;
}

.article-prose--rich .guide-list--check li {
  position: relative;
  padding-left: 1.5rem;
}

.article-prose--rich .guide-list--check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent);
  border-radius: 1px;
}

.article-prose--rich .guide-list--numbered {
  padding-left: 1.5rem;
}

.article-prose--rich .guide-list--cols {
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 520px) {
  .article-prose--rich .guide-list--cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.article-prose--rich .guide-callout {
  margin: 1.25rem 0 0;
  padding: 1.1rem 1.2rem;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}

.article-prose--rich .guide-callout--muted {
  border-left-color: var(--muted);
  background: color-mix(in srgb, var(--paper-2) 70%, #fff);
}

.article-prose--rich .guide-callout__label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.8;
}

.article-prose--rich .guide-callout p:last-child {
  margin-bottom: 0;
}

.article-prose--rich .guide-table-wrap {
  margin: 1.25rem 0 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  background: #fff;
}

.article-prose--rich .guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}

.article-prose--rich .guide-table caption {
  caption-side: top;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.article-prose--rich .guide-table th,
.article-prose--rich .guide-table td {
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.article-prose--rich .guide-table th {
  font-weight: 600;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper-2) 50%, #fff);
}

.article-prose--rich .guide-table tbody tr:last-child th,
.article-prose--rich .guide-table tbody tr:last-child td {
  border-bottom: 0;
}

.article-prose--rich .guide-table td:first-child {
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

@media (max-width: 520px) {
  .article-prose--rich .guide-table td:first-child {
    white-space: normal;
  }
}

.article-prose--rich .guide-figure {
  display: block;
  margin: 1.25rem auto 0;
  padding: 0;
  width: 100%;
  max-width: 500px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.article-prose--rich .guide-figure > img {
  display: block;
  width: 100%;
  height: auto;
}

.article-prose--rich .guide-figure figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
  border-top: 1px solid var(--line);
  background: #fff;
  box-sizing: border-box;
  min-width: 0;
}

.article-prose--rich .guide-quote {
  margin: 1.25rem 0 0;
  padding: 1.15rem 1.25rem;
  border-left: 3px solid var(--line);
  background: linear-gradient(90deg, var(--paper-2) 0%, #fff 100%);
}

.article-prose--rich .guide-quote p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
}

.article-prose--rich .guide-cards-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.article-prose--rich .guide-cards-mini li {
  margin: 0;
  padding: 0;
  min-width: 0;
}

@media (min-width: 640px) {
  .article-prose--rich .guide-cards-mini {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.article-prose--rich .guide-cards-mini__item {
  display: block;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.article-prose--rich .guide-cards-mini__item:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 6px 20px rgba(15, 17, 20, 0.06);
}

.article-prose--rich .guide-cards-mini__item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.article-prose--rich .guide-cards-mini__label {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.article-prose--rich .guide-cards-mini__hint {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}

/* --- Comparison --- */
.comparison {
  background: var(--paper-2);
}

.comparison .wrap {
  max-width: min(100% - 2.5rem, var(--max-comparison));
}

.comparison__head {
  margin-bottom: 1.5rem;
}

.comparison__intro {
  color: var(--muted);
  max-width: 62ch;
}

.comparison__frame {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.75rem;
  box-shadow: var(--shadow);
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.comparison__slider {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  line-height: 0;
  box-sizing: border-box;
}

.comparison__frame img-comparison-slider {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  box-sizing: border-box;
  --default-handle-width: 40px;
}

.comparison__frame figure {
  margin: 0;
  width: 100%;
  position: relative;
}

.comparison__frame figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.comparison__frame figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 17, 20, 0.9);
  color: #fff;
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comparison__frame .after-caption {
  left: auto;
  right: 12px;
}

/* --- Artist grid --- */
.section--artistes {
  background: #fff;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  align-items: start;
}

.artist-card {
  grid-column: span 4;
  border: 0;
  background: transparent;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s var(--ease);
}

.artist-card:hover {
  transform: translateY(-3px);
}

.artist-card__name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0 0 0.65rem;
  padding: 0;
}

.artist-card__figure {
  margin: 0;
  width: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.artist-card__figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.artist-card--compact .artist-card__figure img {
  max-width: 88%;
  width: auto;
  margin-inline: auto;
}

.artist-card__cta {
  margin-top: auto;
  padding: 0.85rem 0 0;
}

@media (max-width: 1024px) {
  .artist-card {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .artist-card {
    grid-column: span 12;
  }
}

/* --- Portfolio strip --- */
.portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.portfolio a {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 9 / 16;
  text-decoration: none;
  color: #fff;
}

.portfolio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.portfolio a:hover img {
  transform: scale(1.04);
}

.portfolio span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.88));
  font-weight: 600;
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

@media (max-width: 900px) {
  .portfolio {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.1rem;
}

.step__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

@media (max-width: 1000px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* --- Avis --- */
.avis {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--paper-2) 45%, #faf8f4 100%);
}

.avis::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 60%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 42%);
  pointer-events: none;
}

.avis__wrap {
  position: relative;
  z-index: 1;
}

.avis__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.avis__intro h2 {
  margin-bottom: 0.5rem;
}

.avis__tagline {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.avis__badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--paper-2) 70%, #fff));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  box-shadow:
    0 4px 24px rgba(15, 17, 20, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.avis__stars {
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  color: #b45309;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .avis__stars {
    background: linear-gradient(135deg, #c2410c, #ea580c, #fbbf24);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
  }
}

.avis__score {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}

.avis__count {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.avis__stage {
  max-width: 52rem;
  margin-inline: auto;
}

.avis__viewport {
  position: relative;
  overflow: hidden;
  border-radius: clamp(1rem, 2.5vw, 1.35rem);
  background: linear-gradient(165deg, #fff 0%, #faf9f8 100%);
  border: 1px solid color-mix(in srgb, var(--ink) 6%, var(--line));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 28px 60px -20px rgba(15, 17, 20, 0.12),
    0 12px 32px -8px rgba(110, 15, 46, 0.08);
}

.avis__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: clamp(1rem, 2.5vw, 1.35rem) clamp(1rem, 2.5vw, 1.35rem) 0 0;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 35%, #c2410c), var(--accent));
  pointer-events: none;
  z-index: 2;
}

.avis__mark {
  position: absolute;
  left: clamp(0.75rem, 3vw, 1.5rem);
  top: clamp(-0.25rem, 1vw, 0.25rem);
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 14vw, 7rem);
  line-height: 0.85;
  color: color-mix(in srgb, var(--accent) 35%, transparent);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.avis__track {
  position: relative;
  z-index: 1;
  display: flex;
  transition: transform 0.55s var(--ease);
}

.avis__slide {
  min-width: 100%;
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.5rem, 4vw, 2.75rem) clamp(1.75rem, 4vw, 2.25rem);
  padding-left: clamp(2rem, 5vw, 3rem);
}

.avis__slide blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
  text-wrap: balance;
}

.avis__author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.avis__author-line {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 20%, transparent));
}

.avis__dots {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.35rem;
  flex-wrap: wrap;
}

.avis-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: color-mix(in srgb, var(--ink) 15%, var(--line));
  cursor: pointer;
  padding: 0;
  transition:
    width 0.35s var(--ease),
    background 0.25s ease,
    transform 0.25s ease;
}

.avis-dot:hover {
  opacity: 0.85;
  transform: scale(1.08);
}

.avis-dot.is-active {
  width: 2rem;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 65%, #991b1b));
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 35%, transparent);
}

.avis-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.avis__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 6%, var(--line));
}

.avis__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 42ch;
}

.avis__link-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  background: rgba(255, 255, 255, 0.8);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.avis__link-all::after {
  content: "→";
  font-size: 0.95em;
  transition: transform 0.2s var(--ease);
}

.avis__link-all:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 28%, transparent);
}

.avis__link-all:hover::after {
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .avis__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .avis__badge {
    width: 100%;
    justify-content: center;
  }
}

/* --- Form --- */
.form-section {
  background: var(--paper-2);
}

.form-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0.65rem 1rem;
  align-items: center;
  max-width: 760px;
}

.form-grid label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form-grid input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
}

.form-grid input:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 1px;
}

.form-upload {
  grid-column: 2 / 3;
  border: 1px dashed var(--line);
  padding: 0.75rem 0.85rem;
  background: #fff;
}

.form-feedback {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
}

.form-feedback--ok {
  border-color: color-mix(in srgb, var(--ok) 35%, var(--line));
  color: var(--ok);
}

.form-feedback--err {
  border-color: color-mix(in srgb, var(--err) 35%, var(--line));
  color: var(--err);
}

.form-grid__submit {
  grid-column: 1 / -1;
}

@media (min-width: 721px) {
  .form-grid__submit {
    grid-column: 2 / 3;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-upload {
    grid-column: 1 / -1;
  }
}

/* --- FAQ --- */
.faq {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  background: #fff;
  padding: 1rem 1.1rem;
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.faq-category {
  margin: 2rem 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.faq > .faq-category:first-child {
  margin-top: 0;
}

.faq-item ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.faq-item ul li {
  margin: 0.35rem 0;
}

/* --- Sticky bar --- */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.sticky-bar.is-visible {
  transform: translateY(0);
}

.sticky-bar__phone {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 5.5rem;
  background: #fff;
}

.site-footer__grid {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
}

.site-footer__brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.site-footer__muted {
  margin: 0;
  color: var(--muted);
  max-width: 46ch;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
}

.site-footer__links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.site-footer__links a:hover {
  color: var(--accent);
}

.site-footer__copy {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Legal --- */
.legal-hero {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.legal-hero__inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 2.5rem 0 2rem;
}

.breadcrumb {
  color: var(--muted);
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.legal-main {
  width: min(100% - 2.5rem, 760px);
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.legal-main h2 {
  margin-top: 2rem;
}

.legal-version {
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* --- Artist page --- */
.page-hero {
  position: relative;
}

.page-hero--text {
  padding-top: clamp(1.25rem, 4vw, 2rem);
  background: var(--paper);
}

.page-hero--text .page-hero__overlay {
  margin-top: 0;
}

.page-hero__bg {
  min-height: 220px;
  max-height: min(42vh, 400px);
  overflow: hidden;
  background: var(--ink);
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: min(42vh, 400px);
  object-fit: cover;
  opacity: 0.97;
}

.page-hero__overlay {
  width: min(100% - 2.5rem, var(--max));
  margin: -4rem auto 0;
  position: relative;
  z-index: 2;

  padding: 1.75rem 1.75rem 1.5rem;
}

.page-hero__overlay .section__lead {
  color: var(--muted);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.gallery-section {
  padding: 1rem 0 0;
}

.page-hero + .section--gallery-top .gallery-section {
  padding-top: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.gallery-item {
  border: 0;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.gallery-item__price {
  margin: 0;
  padding: 0.45rem 0.5rem 0.35rem;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
  background: #fff;
}

.gallery-item__price-now {
  font-weight: 600;
  color: var(--ink);
}

.gallery-item__price-was {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 400;
}

.gallery-item__price-promo {
  color: var(--ok);
  font-weight: 600;
  font-size: 0.78em;
}

.gallery-item:hover {
  box-shadow: none;
  transform: none;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cta-panel {
  margin: 2.5rem 0 0;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fff, var(--paper-2));
  padding: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-panel h2 {
  margin: 0;
}

.cta-panel p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 56ch;
}

/* --- Utilities --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* === Galerie artiste : titres + montant/devise (multisite) === */
.gallery-item__title {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
  margin: 0 0 0.4rem;
  padding: 0 0.35rem;
  color: var(--ink);
}
.gallery-item__price-now {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.gallery-item__price-was {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}
.gallery-item__currency {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.gallery-item__price-was .gallery-item__currency {
  font-weight: 500;
}

/* === Prix galerie (parité copie-tableau-de-maitre.ch) === */
.gallery-section { background: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.gallery-item { aspect-ratio: 4/5; margin-bottom:5em; border-radius: var(--radius, 12px); overflow: hidden; transition: transform 0.3s; background: #fff; display: flex; align-items: flex-start; justify-content: center; }
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; object-position: top center; display: block; }
.gallery-item:has(.gallery-item__title),
.gallery-item:has(.gallery-item__price) { flex-direction: column; align-items: stretch; justify-content: flex-start; aspect-ratio: auto; overflow: visible; }
.gallery-item:has(.gallery-item__title) img,
.gallery-item:has(.gallery-item__price) img { flex: 0 0 auto; aspect-ratio: 4/5; height: auto; max-height: min(320px, 55vh); width: 100%; object-fit: contain; object-position: top center; }
.gallery-item:has(.gallery-item__price) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem 0;
  align-items: stretch;
  justify-items: stretch;
}
.gallery-item:has(.gallery-item__price) .gallery-item__title {
  order: 1;
  margin: 0;
  padding: 0 0.35rem;
  text-align: center;
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.gallery-item:has(.gallery-item__price) .gallery-item__price {
  order: 2;
  margin: 0;
  padding: 0.35rem 0.35rem 0.25rem;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
  align-items: center;
  align-content: center;
}
.gallery-item:has(.gallery-item__price) > img { order: 3; width: 100%; margin-top: 0.45rem; }
.gallery-item__title { font-size: 0.9rem; font-weight: 600; text-align: center; line-height: 1.35; margin: 0 0 0.4rem; padding: 0 0.35rem; color: var(--color-charcoal, var(--ink, #292524)); }
.gallery-item__price { text-align: center; font-size: 0.9rem; font-weight: 600; padding: 0.65rem 0.35rem 0.25rem; margin: 0; color: var(--color-charcoal, var(--ink, #292524)); line-height: 1.35; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.2rem 0.35rem; }
.gallery-item__price-now { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; flex-wrap: wrap; }
.gallery-item__price-was { text-decoration: line-through; opacity: 0.65; font-weight: 500; display: inline-flex; align-items: center; gap: 0.35rem; }
.gallery-item__price-was .gallery-item__currency { font-weight: 500; }
.gallery-item__currency { font-weight: 700; letter-spacing: 0.02em; }
.gallery-item__price-promo { font-size: 0.85em; font-weight: 600; color: #b45309; }
