:root {
  --bg: #f6efe8;
  --bg-soft: rgba(252, 247, 241, 0.82);
  --bg-strong: rgba(252, 247, 241, 0.92);
  --text: #47413b;
  --text-soft: #67605a;
  --line: rgba(71, 65, 59, 0.12);
  --accent: #c59a62;
  --accent-2: #8197a2;
  --shadow: 0 18px 50px rgba(71, 65, 59, 0.08);
  --shadow-xl: 0 32px 100px rgba(71, 65, 59, 0.12);
  --radius: 28px;
  --container: 1240px;
  --transition: .28s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
  background:
    linear-gradient(180deg, rgba(250,246,241,.88), rgba(243,236,228,.94)),
    url("../img/background-atelier.jpg") center top / cover no-repeat fixed,
    linear-gradient(180deg, #fbf7f2 0%, #f3ece4 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(var(--container), calc(100% - 36px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 244, 237, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(71, 65, 59, 0.08);
}
.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}
.brand__mark { display: none; }
.brand span:last-child {
  font-size: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}
.nav a {
  position: relative;
  color: var(--text);
}
.nav a:hover::after,
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 2px;
  background: rgba(71,65,59,.7);
}

h1, h2, h3 {
  margin: 0 0 16px;
  color: var(--text);
  line-height: 1.08;
  font-weight: 500;
}
h1 { font-size: clamp(42px, 5vw, 78px); letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -.02em; }
h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; }

p, .lead, .section__text, .editorial, .small { color: var(--text-soft); }
.lead { font-size: 19px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: #876f55;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section { position: relative; padding: 42px 0 82px; }
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(252,247,241,.16), rgba(252,247,241,.42));
  pointer-events: none;
}
.section > .container { position: relative; z-index: 2; }

.page-intro {
  position: relative;
  padding: 82px 0 20px;
}
.page-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(252,247,241,.84), rgba(252,247,241,.56));
  pointer-events: none;
}
.page-intro .container { position: relative; z-index: 2; }

.panel, .card, .feature, .admin-card, .timeline-item, .award-item, .form-card, .contact-box, .kpi, .table-wrap,
.home-poetry, .home-exhibition-card, .contact-helper {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}
.card { overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.card__body, .feature, .form-card, .contact-box, .timeline-item, .award-item, .contact-helper { padding: 26px; }

.card__media, .art-card__image, .hero-art, .home-exhibition-card__poster, .event-card__poster {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background:
    linear-gradient(180deg, rgba(252,247,241,.04), rgba(252,247,241,.02)),
    url("../img/background-atelier.jpg") center center / cover no-repeat;
}

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-selected-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

.meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  color: #5b554e;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: var(--transition);
}
.btn--primary {
  background: linear-gradient(180deg, rgba(248,242,235,.76), rgba(240,229,214,.90));
  border-color: rgba(197,154,98,.74);
  color: #564e47;
}
.btn--secondary {
  background: rgba(255,255,255,.56);
  border-color: var(--line);
  color: var(--text);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(71,65,59,.08); }

.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 20px; }
.prose blockquote {
  margin: 1em 0;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  color: var(--text-soft);
  font-style: italic;
}
.prose a { color: #8a6b44; text-decoration: underline; }

/* HERO slider */
.home-hero {
  padding: 0 0 34px;
}
.home-hero .container {
  width: 100%;
  max-width: none;
}
.hero-slider {
  position: relative;
  min-height: calc(100vh - 20px);
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroFade 18s infinite;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-slide--1 { background-image: url("../img/background-atelier.jpg"); animation-delay: 0s; }
.hero-slide--2 { background-image: url("../img/hero-atelier-banner.jpg"); animation-delay: 9s; }

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(248,242,235,.84) 0%,
    rgba(248,242,235,.88) 24%,
    rgba(248,242,235,.50) 50%,
    rgba(248,242,235,.16) 72%,
    rgba(248,242,235,.04) 100%);
}
.hero-slide::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 190px;
  background: linear-gradient(180deg,
    rgba(243,236,228,0) 0%,
    rgba(243,236,228,.18) 18%,
    rgba(243,236,228,.46) 42%,
    rgba(243,236,228,.76) 68%,
    rgba(243,236,228,.94) 86%,
    #f3ece4 100%);
}
@keyframes heroFade {
  0% { opacity: 0; }
  6% { opacity: 1; }
  44% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
  padding: 176px 68px 110px;
}
.hero-title {
  max-width: 680px;
  font-size: clamp(58px, 6vw, 98px);
  line-height: .99;
  letter-spacing: -.045em;
  color: #46545b;
  text-wrap: balance;
}
.hero-sub {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
  font-size: clamp(19px, 1.9vw, 25px);
  color: #5f5852;
}
.hero-sub::before {
  content: "";
  width: 86px;
  height: 2px;
  background: #d8a14a;
}
.hero-cta { margin-top: 42px; }
.hero-quote {
  position: absolute;
  left: 68px; right: 68px; bottom: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(90,84,79,.82);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-quote::before,
.hero-quote::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(120,112,105,.30);
}

.hero-mini-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 4;
  padding: 28px 52px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
}
.hero-brand {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(52px, 5vw, 82px);
  color: rgba(70,64,58,.92);
  line-height: .92;
}
.hero-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}
.hero-nav a {
  position: relative;
  color: #4c4743;
}
.hero-nav a.is-active::after,
.hero-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 2px;
  background: rgba(76,71,67,.55);
}

.home-intro { max-width: 900px; margin: 0 auto; text-align: center; }
.home-poetry {
  position: relative;
  overflow: hidden;
  padding: 50px 40px;
  text-align: center;
}
.home-poetry::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(232, 208, 190, .18), transparent 24%),
    radial-gradient(circle at 80% 24%, rgba(173, 195, 175, .14), transparent 20%),
    radial-gradient(circle at 56% 80%, rgba(191, 206, 216, .12), transparent 18%);
}
.home-poetry p {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(26px, 2.8vw, 38px);
  color: #4b4540;
  font-style: italic;
  line-height: 1.32;
}

.home-exhibition-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
}
.home-exhibition-card__poster, .event-card__poster {
  min-height: 280px;
  border-radius: 24px;
}
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
.section__text { max-width: 720px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.filter-btn {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.65);
  color: var(--text);
  cursor: pointer;
}
.filter-btn.is-active {
  background: linear-gradient(180deg, rgba(248,242,235,.76), rgba(240,229,214,.90));
  border-color: rgba(197,154,98,.74);
}

/* contact simple */
.contact-simple-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
}
.contact-copy-box {
  min-height: 240px;
  white-space: pre-wrap;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}
.contact-note {
  font-size: 14px;
  color: var(--text-soft);
  font-family: Arial, Helvetica, sans-serif;
}
.contact-helper .actions {
  margin-top: 18px;
}

/* forms/admin */
.field { margin-bottom: 16px; }
label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}
.input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  color: var(--text);
  font: inherit;
  font-family: Arial, Helvetica, sans-serif;
}
textarea { min-height: 160px; resize: vertical; }
.input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: rgba(197,154,98,.62);
  box-shadow: 0 0 0 4px rgba(197,154,98,.10);
}

.notice, .flash {
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.68);
}
.flash--success { color: #2d7b57; }
.flash--error { color: #b44a4a; }

.table-wrap { overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(255,255,255,.42);
  color: var(--text-soft);
}
td img {
  width: 94px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 24px;
  padding: 30px 0 72px;
}
.admin-sidebar {
  position: sticky;
  top: 106px;
  align-self: start;
}
.admin-menu {
  display: grid;
  gap: 8px;
}
.admin-menu a {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--text-soft);
  font-family: Arial, Helvetica, sans-serif;
}
.admin-menu a:hover,
.admin-menu a.is-active {
  background: rgba(255,255,255,.7);
  color: var(--text);
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.kpi { padding: 18px; }
.kpi strong {
  display: block;
  font-size: 34px;
  margin-top: 8px;
}



@media (max-width: 1180px) {
  .grid--2, .grid--3, .home-selected-grid, .home-exhibition-card, .contact-simple-grid, .admin-shell, .kpis {
    grid-template-columns: 1fr;
  }
  .admin-sidebar { position: static; }
  .hero-mini-header {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
  }
  .hero-nav { flex-wrap: wrap; gap: 18px; }
  .hero-content { padding: 230px 30px 100px; width: min(100%, 660px); }
  .hero-quote { left: 30px; right: 30px; }
}

@media (max-width: 760px) {
  .container { width: min(var(--container), calc(100% - 22px)); }
  .site-header__inner {
    min-height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: start;
    gap: 12px;
  }
  .nav { gap: 18px; }
  .hero-slider { min-height: 92vh; }
  .hero-mini-header { padding: 22px 22px 0; }
  .hero-brand { font-size: 58px; }
  .hero-content { padding: 220px 22px 96px; }
  .hero-title { font-size: clamp(42px, 11vw, 64px); }
  .hero-sub { gap: 14px; font-size: 18px; }
  .hero-sub::before { width: 56px; }
  .hero-quote { left: 16px; right: 16px; gap: 12px; font-size: 11px; letter-spacing: .12em; }
  .home-exhibition-card__poster, .event-card__poster { min-height: 220px; }
}


/* ===== Idée A uniquement : atelier seul ===== */
.hero-slide--2 {
  display: none !important;
}
.hero-slide--1 {
  animation: none !important;
  opacity: 1 !important;
}
.hero-slider {
  min-height: calc(100vh - 10px);
}

.hero-mini-header {
  padding: 22px 42px 0;
  background: linear-gradient(180deg, rgba(248,242,235,0.20), rgba(248,242,235,0.00));
}
.hero-nav {
  background: rgba(252,247,241,0.22);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 999px;
}
.hero-nav a {
  padding: 4px 2px;
}
.hero-brand {
  text-shadow: 0 2px 12px rgba(255,255,255,0.18);
}

.card,
.artwork-panel,
.panel,
.form-card {
  overflow: hidden;
}

.card__media,
.art-card__image {
  transition: transform .45s ease, filter .45s ease;
}

.card:hover .card__media,
.card:hover .art-card__image {
  transform: scale(1.04);
  filter: saturate(1.03);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.18), transparent 34%);
}
.card:hover::after {
  opacity: 1;
}

.artwork-full {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.artwork-full .panel {
  padding: 0;
}
.artwork-full .art-card__image,
.artwork-full .hero-art {
  min-height: 760px;
  aspect-ratio: auto;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  background: none;
  display: block;
  margin: 0 auto;
}
.artwork-panel {
  position: sticky;
  top: 92px;
}
.artwork-panel .form-card {
  min-height: 100%;
}
.hero-sub {
  max-width: 620px;
}
.hero-content {
  width: min(840px, 100%);
}
.hero-title {
  max-width: 760px;
}

@media (max-width: 1180px) {
  .hero-mini-header {
    padding: 20px 24px 0;
  }
  .hero-nav {
    padding: 8px 14px;
  }
  .artwork-full {
    grid-template-columns: 1fr;
  }
  .artwork-panel {
    position: static;
  }
  .artwork-full .art-card__image,
  .artwork-full .hero-art {
    min-height: 420px;
  }
}


/* ===== Header unifié premium 15k ===== */
body.is-home .site-header {
  position: fixed;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(250, 244, 237, 0.74);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(71, 65, 59, 0.07);
  transition: background .28s ease, box-shadow .28s ease, border-color .28s ease, transform .28s ease;
}
.site-header--overlay {
  background: rgba(250, 244, 237, 0.12);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(255,255,255,0.14);
}
.site-header.is-scrolled,
.site-header--overlay.is-scrolled {
  background: rgba(250, 244, 237, 0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(71, 65, 59, 0.09);
  box-shadow: 0 8px 24px rgba(71, 65, 59, 0.05);
}
.site-header__inner {
  min-height: 58px;
  gap: 20px;
}
.brand {
  gap: 10px;
  min-width: 190px;
}
.brand span:last-child {
  font-size: 15px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #4b453f;
}
.site-header--overlay .brand span:last-child,
.site-header--overlay .nav a {
  color: rgba(71, 65, 59, 0.94);
}
.nav {
  gap: 22px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.nav a {
  padding: 4px 0;
}
.nav a:hover::after,
.nav a.is-active::after {
  bottom: -6px;
  height: 1.5px;
}
.is-home .hero-slider {
  min-height: 100vh;
}
.is-home .hero-content {
  padding-top: 160px;
}
.hero-title {
  max-width: 820px;
}
.hero-sub {
  max-width: 700px;
}

@media (max-width: 980px) {
  .site-header__inner {
    min-height: 56px;
    gap: 12px;
  }
  .brand span:last-child {
    font-size: 14px;
  }
  .nav {
    gap: 16px;
    font-size: 12px;
  }
  .is-home .hero-content {
    padding-top: 146px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: sticky !important;
  }
  .site-header__inner {
    padding: 8px 0;
    min-height: auto;
    align-items: flex-start;
  }
  .brand span:last-child {
    font-size: 13px;
  }
  .nav {
    gap: 14px;
    font-size: 12px;
  }
  .is-home .hero-content {
    padding-top: 126px;
  }
}


/* ===== Menu galerie pro identique sur toutes les pages ===== */
.site-header {
  position: sticky !important;
  top: 0;
  z-index: 120;
  background: rgba(250, 244, 237, 0.86) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(71, 65, 59, 0.08);
  box-shadow: 0 8px 24px rgba(71, 65, 59, 0.04);
}

.site-header__inner {
  min-height: 60px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  gap: 10px;
  min-width: 190px;
}

.brand__mark {
  display: none !important;
}

.brand span:last-child {
  font-size: 15px !important;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #4b453f;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px !important;
  flex-wrap: wrap;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px !important;
  letter-spacing: 0.04em;
}

.nav a {
  position: relative;
  padding: 4px 0;
  color: #4b453f;
}

.nav a:hover::after,
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1.5px;
  background: rgba(71, 65, 59, 0.68);
}

.is-home .hero-slider {
  min-height: calc(100vh - 60px);
}

.is-home .hero-content {
  padding-top: 148px !important;
}

.hero-title {
  max-width: 820px;
}

.hero-sub {
  max-width: 680px;
}

@media (max-width: 980px) {
  .site-header__inner {
    min-height: 58px !important;
    gap: 14px;
  }

  .brand span:last-child {
    font-size: 14px !important;
  }

  .nav {
    gap: 16px !important;
    font-size: 12px !important;
  }

  .is-home .hero-content {
    padding-top: 138px !important;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    min-height: auto !important;
    padding: 10px 0;
    align-items: flex-start;
    gap: 10px;
  }

  .brand span:last-child {
    font-size: 13px !important;
  }

  .nav {
    gap: 14px !important;
    font-size: 12px !important;
  }

  .is-home .hero-content {
    padding-top: 122px !important;
  }
}


/* ===== Fond atelier global discret ===== */
body::before{
  content:"";
  position:fixed;
  inset:0;
  background-image:url("../img/background-atelier.jpg");
  background-size:cover;
  background-position:center;
  opacity:0.10;
  z-index:-2;
  pointer-events:none;
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.55) 0 1px, transparent 2px),
    radial-gradient(circle at 38% 30%, rgba(255,255,255,0.38) 0 1px, transparent 2px),
    radial-gradient(circle at 66% 42%, rgba(255,255,255,0.32) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 68%, rgba(255,255,255,0.24) 0 1px, transparent 2px);
  background-size: 180px 140px, 220px 160px, 260px 180px, 300px 220px;
  opacity:0.14;
  mix-blend-mode:multiply;
  z-index:-1;
  pointer-events:none;
}

/* ===== Galerie mode exposition d'art ===== */
.gallery-exhibition {
  display: grid;
  gap: 42px;
}
.expo-artwork {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 22px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(252,247,241,0.88));
  border: 1px solid rgba(71, 65, 59, 0.10);
  box-shadow: 0 20px 60px rgba(71, 65, 59, 0.08);
}
.expo-artwork:nth-child(even) {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}
.expo-artwork:nth-child(even) .expo-artwork__visual {
  order: 2;
}
.expo-artwork:nth-child(even) .expo-artwork__content {
  order: 1;
}
.expo-artwork__visual {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  min-height: 520px;
  background: rgba(255,255,255,0.46);
}
.expo-artwork__visual img,
.expo-artwork__visual .art-card__image,
.expo-artwork__visual .card__media {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform .6s ease;
}
.expo-artwork:hover .expo-artwork__visual img,
.expo-artwork:hover .expo-artwork__visual .art-card__image,
.expo-artwork:hover .expo-artwork__visual .card__media {
  transform: scale(1.03);
}
.expo-artwork__content {
  padding: 8px 4px;
}
.expo-artwork__index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #8a745c;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
}
.expo-artwork__index::before {
  content: "";
  width: 56px;
  height: 1px;
  background: rgba(197,154,98,.72);
}
.expo-artwork__title {
  margin-bottom: 18px;
  font-size: clamp(30px, 3vw, 46px);
}
.expo-artwork__text {
  max-width: 520px;
}
.expo-artwork__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}
.expo-meta-box {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.54);
  border: 1px solid rgba(71,65,59,0.08);
}
.expo-meta-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #8a745c;
  font-family: Arial, Helvetica, sans-serif;
}
.expo-artwork__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.gallery-intro-note {
  max-width: 820px;
}
.filters--exhibition {
  margin-bottom: 34px;
}
@media (max-width: 1100px) {
  .expo-artwork,
  .expo-artwork:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .expo-artwork:nth-child(even) .expo-artwork__visual,
  .expo-artwork:nth-child(even) .expo-artwork__content {
    order: initial;
  }
  .expo-artwork__visual,
  .expo-artwork__visual img,
  .expo-artwork__visual .art-card__image,
  .expo-artwork__visual .card__media {
    min-height: 340px;
  }
  .expo-artwork__meta {
    grid-template-columns: 1fr;
  }
}


/* ===== Ajustements header accueil plus fins ===== */
.site-header__inner {
  min-height: 54px !important;
}
.brand span:last-child {
  font-size: 14px !important;
  letter-spacing: 0.11em;
}
.nav {
  font-size: 12px !important;
  gap: 18px !important;
}
.nav a {
  padding: 2px 0;
}
.is-home .hero-content {
  padding-top: 126px !important;
}
.is-home .hero-title {
  font-size: clamp(50px, 5.2vw, 82px);
}
.is-home .hero-sub {
  font-size: clamp(17px, 1.6vw, 22px);
  margin-top: 28px;
}

/* ===== Home section ordering emphasis ===== */
.home-priority-note {
  max-width: 780px;
}

/* ===== Musée immersif ===== */
.museum-page {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(245,240,234,0.88), rgba(236,229,220,0.94)),
    url("../img/background-atelier.jpg") center center / cover no-repeat fixed;
}
.museum-shell {
  width: min(1500px, calc(100% - 34px));
  margin: 0 auto;
  padding: 92px 0 42px;
}
.museum-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.museum-topbar .eyebrow {
  margin-bottom: 0;
}
.museum-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.museum-stage {
  position: relative;
  min-height: calc(100vh - 190px);
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(252,247,241,0.94), rgba(248,242,235,0.90));
  border: 1px solid rgba(71, 65, 59, 0.10);
  box-shadow: 0 28px 90px rgba(71, 65, 59, 0.10);
}
.museum-room {
  display: grid;
  grid-template-columns: 110px 1fr 360px 110px;
  min-height: calc(100vh - 190px);
}
.museum-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.museum-arrow {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(71,65,59,0.10);
  box-shadow: 0 10px 24px rgba(71,65,59,0.08);
  font-size: 26px;
}
.museum-wall {
  position: relative;
  display: grid;
  place-items: center;
  padding: 70px 44px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255,255,255,0.72), transparent 24%),
    linear-gradient(180deg, rgba(246,241,235,0.98), rgba(235,228,220,0.98));
}
.museum-wall::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 14px;
  background: radial-gradient(ellipse at center, rgba(60,48,38,0.22), transparent 68%);
  filter: blur(8px);
}
.museum-art {
  position: relative;
  width: min(100%, 900px);
  background: rgba(255,255,255,0.86);
  border-radius: 8px;
  padding: 18px;
  box-shadow:
    0 30px 70px rgba(50,38,30,0.18),
    0 4px 14px rgba(255,255,255,0.70) inset;
}
.museum-art img,
.museum-art .museum-placeholder {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #f7f2eb;
  border-radius: 2px;
}
.museum-placeholder {
  min-height: 68vh;
  background:
    radial-gradient(circle at 18% 24%, rgba(232, 208, 190, .40), transparent 24%),
    radial-gradient(circle at 80% 24%, rgba(173, 195, 175, .32), transparent 20%),
    radial-gradient(circle at 56% 80%, rgba(191, 206, 216, .30), transparent 18%),
    linear-gradient(145deg, #dcb9a6 0%, #f2e8de 45%, #b5c7d1 100%);
}
.museum-caption {
  display: flex;
  justify-content: center;
  padding: 18px 20px 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a745c;
}
.museum-sidepanel {
  padding: 36px 30px;
  border-left: 1px solid rgba(71,65,59,0.08);
  background:
    linear-gradient(180deg, rgba(252,247,241,0.70), rgba(252,247,241,0.82));
}
.museum-sidepanel h1 {
  font-size: clamp(28px, 2.2vw, 40px);
  margin-bottom: 16px;
}
.museum-meta {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}
.museum-meta-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(71,65,59,0.08);
}
.museum-meta-item strong {
  display: block;
  margin-bottom: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #8a745c;
}
.museum-sidepanel .prose {
  margin-top: 18px;
}
.museum-counter {
  margin-top: 16px;
  font-family: Arial, Helvetica, sans-serif;
  color: #8a745c;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gallery-museum-link {
  margin-top: 12px;
}
@media (max-width: 1180px) {
  .museum-room {
    grid-template-columns: 1fr;
  }
  .museum-nav {
    display: none;
  }
  .museum-sidepanel {
    border-left: 0;
    border-top: 1px solid rgba(71,65,59,0.08);
  }
  .museum-wall {
    padding: 36px 18px;
  }
  .museum-art img,
  .museum-art .museum-placeholder {
    max-height: 56vh;
  }
}


/* ===== Expositions agenda public + archives SEO ===== */
.expo-agenda {
  display: grid;
  gap: 24px;
}
.expo-public-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.80), rgba(252,247,241,.90));
  border: 1px solid rgba(71,65,59,.10);
  box-shadow: 0 20px 60px rgba(71,65,59,.08);
}
.expo-public-card__photo {
  min-height: 220px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(252,247,241,.04), rgba(252,247,241,.02)),
    url("../img/background-atelier.jpg") center center / cover no-repeat;
}
.expo-public-card__photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}
.expo-public-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
}
.expo-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(71,65,59,.08);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #5b554e;
}
.expo-public-card h2,
.expo-public-card h3 {
  margin-bottom: 10px;
}
.expo-archive {
  margin-top: 22px;
}
.expo-archive h2 {
  margin-bottom: 18px;
}
.expo-archive-list {
  display: grid;
  gap: 12px;
}
.expo-archive-item {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  gap: 18px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(71,65,59,.08);
}
.expo-archive-item strong {
  display: block;
}
.expo-archive-item .small {
  margin: 0;
}
.expo-seo-text {
  max-width: 900px;
}
@media (max-width: 980px) {
  .expo-public-card,
  .expo-archive-item {
    grid-template-columns: 1fr;
  }
  .expo-public-card__photo,
  .expo-public-card__photo img {
    min-height: 180px;
  }
}

/* ===== Distinctions page ===== */
.distinction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}
.distinction-card {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(252,247,241,.88));
  border: 1px solid rgba(71,65,59,.10);
  box-shadow: 0 16px 40px rgba(71,65,59,.06);
}
@media (max-width: 900px) {
  .distinction-grid { grid-template-columns: 1fr; }
}


/* ===== Admin harmonisé avec le site ===== */
.admin-page {
  background:
    linear-gradient(180deg, rgba(250,246,241,.92), rgba(243,236,228,.96)),
    url("../img/background-atelier.jpg") center top / cover no-repeat fixed;
}
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 110;
  background: rgba(250, 244, 237, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(71,65,59,0.08);
}
.admin-topbar__inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.admin-brand {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #4b453f;
}
.admin-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}
.admin-links a {
  position: relative;
  color: #4b453f;
}
.admin-links a:hover::after,
.admin-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: rgba(71,65,59,0.68);
}
.admin-shell {
  grid-template-columns: 240px 1fr;
  gap: 24px;
}
.admin-sidebar {
  top: 82px;
}
.admin-card,
.table-wrap,
.kpi,
.form-card {
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(252,247,241,.90));
  border: 1px solid rgba(71,65,59,.10);
  box-shadow: 0 20px 60px rgba(71,65,59,.08);
  border-radius: 24px;
}
.admin-menu a {
  background: rgba(255,255,255,.38);
  border: 1px solid transparent;
}
.admin-menu a:hover,
.admin-menu a.is-active {
  background: rgba(255,255,255,.72);
  border-color: rgba(71,65,59,.08);
}
.kpi strong {
  color: #433d38;
}
@media (max-width: 900px) {
  .admin-topbar__inner {
    min-height: auto;
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-links {
    gap: 12px;
  }
}


/* ===== Ajustement header plus fin + ordre navigation ===== */
.site-header__inner {
  min-height: 48px !important;
  gap: 16px;
}
.brand span:last-child {
  font-size: 13px !important;
  letter-spacing: 0.12em;
}
.nav {
  font-size: 12px !important;
  gap: 16px !important;
}
.nav a {
  padding: 1px 0;
}
.nav a:hover::after,
.nav a.is-active::after {
  bottom: -5px;
}

.is-home .hero-content {
  padding-top: 110px !important;
}

@media (max-width: 980px) {
  .site-header__inner {
    min-height: 46px !important;
  }
  .brand span:last-child {
    font-size: 12px !important;
  }
  .nav {
    font-size: 11px !important;
    gap: 12px !important;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    padding: 8px 0;
  }
  .nav {
    gap: 10px !important;
    font-size: 11px !important;
  }
}


/* ===== Nettoyage des notes / footer ===== */
.footer-simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  font-family: Arial, Helvetica, sans-serif;
}
.footer-brand {
  font-size: 14px;
  line-height: 1.5;
}
.footer-contact {
  font-size: 13px;
  opacity: .78;
}

/* ===== Menu haut plus lisible ===== */
.site-header__inner {
  min-height: 50px !important;
}
.brand span:last-child {
  font-size: 13px !important;
}
.nav {
  font-size: 13px !important;
  gap: 20px !important;
}
.nav a {
  padding: 2px 0;
}

/* ===== Respect des couleurs riches ===== */
/* override the two rules above with inline style support */
/* ===== Admin plus cohérent ===== */
.admin-page {
  background:
    linear-gradient(180deg, rgba(250,246,241,.94), rgba(243,236,228,.98)),
    url("../img/background-atelier.jpg") center top / cover no-repeat fixed;
}
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 110;
  background: rgba(250,244,237,.90);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(71,65,59,.08);
}
.admin-topbar__inner {
  min-height: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.admin-brand {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #4b453f;
}
.admin-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}
.admin-links a {
  position: relative;
}
.admin-links a:hover::after,
.admin-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -5px;
  height: 1.5px;
  background: rgba(71,65,59,.68);
}
.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 26px 0 72px;
}
.admin-sidebar {
  position: sticky;
  top: 76px;
  align-self: start;
}
.admin-card, .table-wrap, .kpi, .form-card {
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(252,247,241,.90));
  border: 1px solid rgba(71,65,59,.10);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(71,65,59,.08);
}
.admin-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.42);
  border: 1px solid transparent;
  font-family: Arial, Helvetica, sans-serif;
}
.admin-menu a:hover,
.admin-menu a.is-active {
  background: rgba(255,255,255,.72);
  border-color: rgba(71,65,59,.08);
}
.kpi { padding: 18px; }
.kpi strong { display:block; margin-top:6px; font-size:32px; color:#433d38; }

.btn--small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 12px;
}
.btn--danger {
  background: rgba(180,74,74,.10);
  border-color: rgba(180,74,74,.22);
  color: #8c3b3b;
}

/* ===== Musée plus immersif ===== */
.museum-stage {
  background:
    linear-gradient(180deg, rgba(244,239,233,.96), rgba(234,227,219,.98));
}
.museum-wall {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.85), transparent 26%),
    linear-gradient(180deg, #f3ede6, #e7ddd2);
}
.museum-art {
  width: min(100%, 980px);
  padding: 26px;
}
.museum-art img,
.museum-art .museum-placeholder {
  max-height: 76vh;
}
.museum-sidepanel {
  background: linear-gradient(180deg, rgba(252,247,241,.74), rgba(252,247,241,.88));
}
.museum-arrow {
  width: 64px;
  height: 64px;
  font-size: 30px;
}
.museum-meta-item {
  background: rgba(255,255,255,.70);
}
@media (max-width: 1100px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }
}
@media (max-width: 760px) {
  .footer-simple {
    flex-direction: column;
    align-items: center;
  }
  .nav {
    gap: 14px !important;
    font-size: 12px !important;
  }
}


/* ===== Ajustements distinctions + citation accueil ===== */
.distinction-card img {
  max-height: 140px !important;
  object-fit: cover;
}

.is-home .hero-content {
  padding-bottom: 34px !important;
}

.is-home .hero-quote {
  bottom: 88px !important;
}

@media (max-width: 980px) {
  .is-home .hero-quote {
    bottom: 68px !important;
  }
}

@media (max-width: 760px) {
  .distinction-card img {
    max-height: 110px !important;
  }

  .is-home .hero-quote {
    display: flex !important;
    bottom: 46px !important;
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}


/* ===== Correction image exposition accueil ===== */
.home-exhibition-card__poster {
  width: 100%;
  min-height: 280px;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}


/* ===== Upgrade galerie / musée premium ===== */
.hero-slide--1 {
  background-image: url("../img/hero-atelier-banner.jpg") !important;
  background-position: right center !important;
}
.is-home .hero-slider {
  min-height: 56vh !important;
  display: flex;
  align-items: center;
}
.is-home .hero-content {
  padding-top: 72px !important;
  padding-bottom: 26px !important;
  max-width: 680px;
}
.is-home .hero-title {
  font-size: clamp(46px, 4.9vw, 74px) !important;
  line-height: 1.02;
}
.is-home .hero-sub {
  font-size: clamp(17px, 1.5vw, 21px) !important;
  margin-top: 20px !important;
}
.is-home .hero-quote {
  bottom: 64px !important;
  font-size: 12px;
  letter-spacing: .12em;
}
.hero-slide::before {
  background: linear-gradient(
    90deg,
    rgba(250,246,241,0.93) 0%,
    rgba(250,246,241,0.82) 34%,
    rgba(250,246,241,0.38) 56%,
    rgba(250,246,241,0.08) 76%,
    rgba(250,246,241,0.02) 100%
  ) !important;
}
.hero-slide::after {
  height: 110px !important;
}

/* scroll artistique */
.card,
.expo-artwork,
.home-exhibition-card,
.distinction-card,
.home-poetry,
.form-card,
.feature,
.panel {
  transition: transform .45s ease, box-shadow .45s ease, opacity .45s ease;
}
.card:hover,
.expo-artwork:hover,
.home-exhibition-card:hover,
.distinction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(71,65,59,.10);
}

/* page œuvre plus catalogue */
.artwork-full {
  grid-template-columns: 1.18fr .82fr !important;
  gap: 34px !important;
}
.artwork-full .art-card__image,
.artwork-full .hero-art {
  min-height: 82vh !important;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  background: none;
  display: block;
  margin: 0 auto;
}
.form-card h2 {
  margin-bottom: 18px;
}

/* musée plus immersif */
.museum-page {
  background:
    radial-gradient(circle at 50% 8%, rgba(255,255,255,.18), transparent 26%),
    linear-gradient(180deg, rgba(239,232,223,.96), rgba(225,216,206,.98)) !important;
}
.museum-shell {
  width: min(1580px, calc(100% - 28px)) !important;
}
.museum-stage {
  min-height: calc(100vh - 150px) !important;
  border-radius: 36px !important;
  overflow: hidden;
}
.museum-room {
  grid-template-columns: 96px 1fr 380px 96px !important;
}
.museum-wall {
  position: relative;
  padding: 60px 38px !important;
  background:
    radial-gradient(circle at 50% 16%, rgba(255,255,255,.82), transparent 24%),
    linear-gradient(180deg, #f4eee7 0%, #e7ddd2 100%) !important;
}
.museum-wall::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 7%;
  bottom: 11%;
  border: 1px solid rgba(120,104,90,.06);
  pointer-events: none;
}
.museum-art {
  width: min(100%, 1020px) !important;
  padding: 24px !important;
  border-radius: 10px;
  background: rgba(255,255,255,.88);
  box-shadow:
    0 34px 90px rgba(50,38,30,.20),
    0 0 0 1px rgba(255,255,255,.65) inset !important;
}
.museum-art img,
.museum-art .museum-placeholder {
  max-height: 78vh !important;
}
.museum-caption {
  padding-top: 16px !important;
}
.museum-sidepanel {
  padding: 42px 30px !important;
}
.museum-sidepanel h1 {
  font-size: clamp(30px, 2.4vw, 42px) !important;
}
.museum-arrow {
  width: 62px !important;
  height: 62px !important;
  font-size: 28px !important;
  background: rgba(255,255,255,.80) !important;
}
.museum-counter {
  margin-top: 22px !important;
}
.museum-enter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 1100px) {
  .artwork-full {
    grid-template-columns: 1fr !important;
  }
  .artwork-full .art-card__image,
  .artwork-full .hero-art {
    min-height: 420px !important;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    background: none;
    display: block;
    margin: 0 auto;
  }
  .museum-room {
    grid-template-columns: 1fr !important;
  }
  .museum-art img,
  .museum-art .museum-placeholder {
    max-height: 56vh !important;
  }
}

@media (max-width: 760px) {
  .is-home .hero-slider {
    min-height: 50vh !important;
  }
  .is-home .hero-content {
    padding-top: 60px !important;
    padding-bottom: 18px !important;
  }
  .is-home .hero-title {
    font-size: clamp(38px, 10vw, 56px) !important;
  }
  .is-home .hero-quote {
    bottom: 32px !important;
    font-size: 10px;
  }
}


/* ===== Fond global grande image sans répétition ===== */
body{
  background:
    linear-gradient(180deg, rgba(250,246,241,0.92) 0%, rgba(243,236,228,0.94) 100%),
    url("../img/background-atelier.jpg") center center / cover no-repeat fixed !important;
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.30), transparent 58%);
  pointer-events:none;
  z-index:-1;
}

/* ===== Optimisations mobile ===== */
@media (max-width: 900px){
  body{
    background-attachment: scroll !important;
    background-position: 60% top !important;
  }

  .container{
    width:min(var(--container), calc(100% - 20px)) !important;
  }

  .section{
    padding:34px 0 60px !important;
  }

  .page-intro{
    padding:64px 0 14px !important;
  }

  .home-selected-grid,
  .grid--3,
  .grid--2,
  .contact-simple-grid,
  .distinction-grid{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }

  .home-exhibition-card,
  .expo-public-card,
  .expo-artwork{
    grid-template-columns:1fr !important;
    gap:18px !important;
    padding:18px !important;
  }

  .home-exhibition-card__poster,
  .expo-public-card__photo,
  .expo-public-card__photo img,
  .event-card__poster{
    min-height:180px !important;
  }

  .card__body,
  .feature,
  .form-card,
  .contact-box,
  .timeline-item,
  .award-item,
  .contact-helper{
    padding:18px !important;
  }

  .actions{
    gap:10px !important;
  }

  .btn{
    min-height:48px !important;
    padding:12px 18px !important;
  }

  .museum-shell{
    width:min(100%, calc(100% - 16px)) !important;
    padding:70px 0 24px !important;
  }

  .museum-stage{
    min-height:auto !important;
    border-radius:24px !important;
  }

  .museum-wall{
    padding:20px 12px !important;
  }

  .museum-art{
    padding:14px !important;
    width:min(100%, 100%) !important;
  }

  .museum-art img,
  .museum-art .museum-placeholder{
    max-height:48vh !important;
  }

  .museum-sidepanel{
    padding:20px 16px !important;
  }

  .museum-topbar{
    margin-bottom:14px !important;
  }

  .museum-actions .btn{
    width:100%;
  }
}

/* ===== Musée : garder la vue stable au changement d'œuvre ===== */
html{
  scroll-behavior:smooth;
}


/* ===== Correction couleurs / styles riches mobile ===== */
/* Laisser les styles inline TinyMCE s'afficher correctement */
.prose span[style],
.prose strong[style],
.prose b[style],
.prose em[style],
.prose i[style],
.prose u[style],
.prose p[style] {
  font-size: inherit;
  line-height: inherit;
}

/* Sur mobile, ne pas écraser les couleurs/tailles inline des textes stylés */
@media (max-width: 900px) {
  .prose [style],
  .prose span[style],
  .prose strong[style],
  .prose b[style],
  .prose em[style],
  .prose i[style],
  .prose u[style],
  .prose p[style] {
    font-size: inherit !important;
    line-height: inherit !important;
  }

  .prose p:not([style]),
  .section__text,
  .editorial,
  .lead {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }
}


/* ===== Vidéo YouTube sur la page œuvre ===== */
.artwork-video-block {
  margin-top: 24px;
  padding-top: 10px;
}
.artwork-video-block h3 {
  margin-bottom: 12px;
  font-size: clamp(18px, 1.8vw, 24px);
}
.artwork-video-frame {
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(71,65,59,.08);
  box-shadow: 0 16px 40px rgba(71,65,59,.08);
}
.artwork-video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
@media (max-width: 900px) {
  .artwork-video-frame {
    max-width: 100%;
  }
}


/* ===== Version définitive : finition globale ===== */
.museum-mobile-nav {
  display: none;
}

@media (max-width: 900px) {
  .museum-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }

  .museum-mobile-nav .btn {
    width: 100%;
    justify-content: center;
  }
}

.site-header {
  box-shadow: 0 6px 18px rgba(71,65,59,0.04);
}

.footer-contact a,
.footer-contact {
  word-break: break-word;
}

.about-portrait {
  background-position: center top;
}

.artwork-video-frame {
  max-width: 460px;
}


/* ===== Correction citation accueil ===== */
.is-home .hero-quote {
  bottom: 18px !important;
}

@media (max-width: 980px) {
  .is-home .hero-quote {
    bottom: 14px !important;
  }
}

@media (max-width: 760px) {
  .is-home .hero-quote {
    bottom: 12px !important;
  }
}


/* ===== Mentions légales footer ===== */
.footer-contact a {
  display: inline-block;
  margin-top: 6px;
  text-decoration: underline;
}

/* ===== Hero mobile : cadrage moins centré sur la main ===== */
@media (max-width: 900px) {
  .hero-slide--1 {
    background-position: 42% 18% !important;
  }
}

@media (max-width: 430px) {
  .hero-slide--1 {
    background-position: 38% 16% !important;
  }
}


/* ===== Suppression forcée des titres sur images ===== */
.home-exhibition-card__poster::before,
.home-exhibition-card__poster::after,
.event-card__poster::before,
.event-card__poster::after,
.expo-public-card__photo::before,
.expo-public-card__photo::after,
.card__media::before,
.card__media::after {
  content: none !important;
}


/* ===== Correction définitive des cards : aucun titre sur les images ===== */
[class*="overlay"],
[class*="title-overlay"],
[class*="overlay-title"],
[class*="image-title"],
[class*="media-title"] {
  display: none !important;
}

.card__media .card__title,
.art-card__image .card__title,
.expo-public-card__photo .card__title,
.expo-artwork__visual .card__title,
.home-exhibition-card__poster .card__title,
.card__media h1,
.card__media h2,
.card__media h3,
.card__media h4,
.card__media h5,
.card__media h6,
.card__media p,
.card__media span,
.expo-public-card__photo h1,
.expo-public-card__photo h2,
.expo-public-card__photo h3,
.expo-public-card__photo h4,
.expo-public-card__photo h5,
.expo-public-card__photo h6,
.expo-public-card__photo p,
.expo-public-card__photo span,
.expo-artwork__visual h1,
.expo-artwork__visual h2,
.expo-artwork__visual h3,
.expo-artwork__visual h4,
.expo-artwork__visual h5,
.expo-artwork__visual h6,
.expo-artwork__visual p,
.expo-artwork__visual span,
.home-exhibition-card__poster h1,
.home-exhibition-card__poster h2,
.home-exhibition-card__poster h3,
.home-exhibition-card__poster h4,
.home-exhibition-card__poster h5,
.home-exhibition-card__poster h6,
.home-exhibition-card__poster p,
.home-exhibition-card__poster span {
  display: none !important;
}

.card::before,
.card::after,
.expo-artwork::before,
.expo-artwork::after,
.expo-public-card__photo::before,
.expo-public-card__photo::after,
.expo-artwork__visual::before,
.expo-artwork__visual::after,
.home-exhibition-card__poster::before,
.home-exhibition-card__poster::after,
.card__media::before,
.card__media::after {
  content: none !important;
}

/* garder les titres uniquement hors image */
.card__body h3,
.expo-artwork__content h2,
.home-exhibition-card h3 {
  display: block !important;
}


/* ===== Suppression définitive des ronds / boutons vides accueil ===== */
a:empty,
button:empty,
.actions a:empty,
.actions button:empty,
.gallery-museum-link a:empty,
.gallery-museum-link button:empty {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: hidden !important;
}

.gallery-museum-link:empty,
.actions:has(> a:only-child:empty),
.actions:has(> button:only-child:empty) {
  display: none !important;
}


/* ===== À propos portrait ===== */
.about-portrait-frame {
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(252,247,241,.92));
  border: 1px solid rgba(71,65,59,.10);
  box-shadow: 0 22px 60px rgba(71,65,59,.10), 0 4px 14px rgba(255,255,255,.70) inset;
}
.about-portrait {
  min-height: 520px;
  border-radius: 12px;
  overflow: hidden;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 28px 70px rgba(50,38,30,.16), 0 0 0 1px rgba(255,255,255,.58) inset;
}
.about-portrait-note {
  margin-top: 14px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8a745c;
}

/* ===== Footer signature finale ===== */

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 70%, rgba(220,180,160,0.28), transparent 30%),
    radial-gradient(circle at 75% 25%, rgba(180,160,200,0.22), transparent 25%),
    radial-gradient(circle at 50% 90%, rgba(214,194,164,0.18), transparent 28%);
  filter: blur(20px);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 74%, rgba(255,255,255,0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 20%, rgba(255,255,255,0.20) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 82%, rgba(255,255,255,0.14) 0 2px, transparent 3px);
  background-size: 220px 180px, 260px 200px, 320px 240px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.footer-signature { position: relative; z-index: 2; }

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px !important;
}
.footer-name {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6b6158;
  font-family: Arial, Helvetica, sans-serif;
}
.footer-signature-img {
  height: 34px;
  opacity: 0.96;
  filter: contrast(1.15);
}
.footer-mail,
.footer-legal {
  font-size: 12px;
  color: #7a6a58;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
}
.footer-legal { display: inline-block; margin-top: 4px; text-decoration: underline; }

/* ===== Video creation page and museum ===== */
.artwork-video-block,
.museum-video-block { margin-top: 22px; }
.artwork-video-frame,
.museum-video-frame {
  width: 100%;
  max-width: 460px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(71,65,59,.08);
  box-shadow: 0 14px 34px rgba(71,65,59,.08);
}
.museum-video-frame { max-width: 100%; }
.artwork-video-frame iframe,
.museum-video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* ===== Suppression definitive des titres sur images et boutons vides ===== */
[class*="overlay"],
[class*="title-overlay"],
[class*="overlay-title"],
[class*="image-title"],
[class*="media-title"] { display:none !important; }
.card__media h1, .card__media h2, .card__media h3, .card__media h4, .card__media h5, .card__media h6,
.card__media p, .card__media span,
.expo-public-card__photo h1, .expo-public-card__photo h2, .expo-public-card__photo h3,
.expo-public-card__photo p, .expo-public-card__photo span,
.expo-artwork__visual h1, .expo-artwork__visual h2, .expo-artwork__visual h3,
.expo-artwork__visual p, .expo-artwork__visual span,
.home-exhibition-card__poster h1, .home-exhibition-card__poster h2, .home-exhibition-card__poster h3,
.home-exhibition-card__poster p, .home-exhibition-card__poster span { display:none !important; }
a:empty, button:empty, .actions a:empty, .gallery-museum-link a:empty {
  display:none !important; width:0 !important; height:0 !important; min-width:0 !important; min-height:0 !important;
  margin:0 !important; padding:0 !important; border:0 !important; box-shadow:none !important; background:transparent !important;
}

/* ===== Mobile ===== */
@media (max-width: 900px) {
  
  .footer-content { grid-template-columns: 1fr; gap: 8px !important; }
  .footer-signature-img { height: 30px; }
  .about-portrait { min-height: 360px; }
}


/* ===== Footer compact premium ===== */




.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-left {
  font-size: 13px;
  color: #5a524a;
}

.footer-center {
  font-size: 12px;
  color: #7a6a58;
  text-align: center;
  flex: 1;
}

.footer-right {
  font-size: 12px;
  color: #7a6a58;
}

@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}


/* ===== Footer lisibilité améliorée ===== */


.footer-left {
  font-size: 14px;
  font-weight: 500;
  color: #3e3731;
}

.footer-center {
  font-size: 13px;
  color: #5a524a;
}

.footer-right {
  font-size: 13px;
  color: #5a524a;
}


/* ===== Ligne footer plus visible ===== */



/* ===== FIX DEFINITIF FOOTER (pas de zoom) ===== */




/* =========================================================
   FINAL RESPONSIVE CLEANUP
   - Consolidates footer sizing/visibility
   - Uses responsive breakpoints instead of phone detection
   - Normalizes key public-page spacing on mobile
   ========================================================= */

/* ---- Public footer: single source of truth ---- */




.footer-compact,
.footer-simple,
.footer-signature {
  position: relative;
  z-index: 2;
}

.footer-row,
.footer-simple,
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-left,
.footer-brand {
  font-size: 14px !important;
  font-weight: 500;
  color: #3e3731 !important;
}

.footer-center {
  flex: 1 1 auto;
  min-width: 260px;
  text-align: center;
  font-size: 13px !important;
  color: #5a524a !important;
}

.footer-right,
.footer-contact {
  font-size: 13px !important;
  color: #5a524a !important;
}

.footer-right a,
.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-right a:hover,
.footer-contact a:hover {
  text-decoration: underline;
}

/* ---- Global responsive behavior (preferred over device detection) ---- */
html {
  -webkit-text-size-adjust: 100%;
}

img,
iframe {
  max-width: 100%;
}

/* tablets / small laptops */
@media (max-width: 980px) {
  .container {
    width: min(var(--container), calc(100% - 22px)) !important;
  }

  .section {
    padding: 34px 0 58px !important;
  }

  .page-intro {
    padding: 62px 0 16px !important;
  }

  .section__head {
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
  }

  .grid--2,
  .grid--3,
  .home-selected-grid,
  .distinction-grid,
  .contact-simple-grid,
  .artwork-full,
  .home-exhibition-card,
  .expo-public-card,
  .expo-artwork {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .home-exhibition-card,
  .expo-public-card,
  .expo-artwork,
  .card,
  .feature,
  .form-card,
  .panel,
  .contact-box,
  .contact-helper {
    border-radius: 20px !important;
  }

  .home-exhibition-card__poster,
  .expo-public-card__photo,
  .expo-public-card__photo img,
  .art-card__image,
  .card__media,
  .event-card__poster {
    min-height: 180px !important;
    border-radius: 16px !important;
  }

  .museum-shell {
    width: calc(100% - 14px) !important;
  }

  .museum-room {
    grid-template-columns: 1fr !important;
  }

  .museum-nav {
    display: none !important;
  }

  .museum-sidepanel {
    border-left: 0 !important;
    border-top: 1px solid rgba(71,65,59,0.08) !important;
  }

  .museum-art img,
  .museum-art .museum-placeholder {
    max-height: 48vh !important;
  }

  .footer-row,
  .footer-simple,
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 6px !important;
  }

  .footer-center {
    min-width: 0;
  }
}

/* phones */
@media (max-width: 760px) {
  .site-header__inner {
    padding: 8px 0 !important;
    min-height: auto !important;
    gap: 8px !important;
  }

  .nav {
    width: 100%;
    gap: 10px !important;
    row-gap: 6px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
  }

  .hero-slider {
    min-height: auto !important;
  }

  .hero-content,
  .is-home .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 78px 12px 42px !important;
  }

  .hero-title,
  .is-home .hero-title {
    font-size: clamp(30px, 9vw, 40px) !important;
    line-height: 1.05 !important;
  }

  .hero-sub,
  .is-home .hero-sub {
    font-size: 14px !important;
    line-height: 1.45 !important;
    margin-top: 12px !important;
  }

  .hero-quote,
  .is-home .hero-quote {
    position: static !important;
    margin: 6px 12px 10px !important;
    display: block !important;
    text-align: left !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.08em !important;
  }

  .hero-cta .btn,
  .actions .btn,
  .museum-mobile-nav .btn {
    width: 100%;
    justify-content: center;
  }

  .card__body,
  .feature,
  .form-card,
  .contact-helper,
  .museum-sidepanel {
    padding: 14px !important;
  }

  .about-portrait {
    min-height: 300px !important;
  }

  .footer-left,
  .footer-brand {
    font-size: 13px !important;
  }

  .footer-center,
  .footer-right,
  .footer-contact {
    font-size: 12px !important;
  }
}

/* very small phones */
@media (max-width: 430px) {
  .container {
    width: calc(100% - 14px) !important;
  }

  .hero-title,
  .is-home .hero-title {
    font-size: clamp(28px, 9vw, 36px) !important;
  }

  .btn {
    min-height: 46px !important;
    padding: 11px 14px !important;
    font-size: 13px !important;
  }

  .museum-art img,
  .museum-art .museum-placeholder {
    max-height: 40vh !important;
  }

  
}

/* ===== Footer corrigé pleine largeur ===== */
.site-footer {
  padding: 12px 0;
  background-image: url("../img/pastel-texture-footer.png");
  background-size: 100% auto;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.footer-compact {
  width: 100%;
}

.footer-line {
  width: 120px;
  height: 2px;
  margin: 0 auto 10px;
  background: #b89a6a;
  opacity: 0.9;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-left {
  font-size: 14px;
  font-weight: 500;
  color: #3e3731;
}

.footer-center {
  flex: 1;
  min-width: 260px;
  text-align: center;
  font-size: 13px;
  color: #5a524a;
}

.footer-right {
  font-size: 13px;
  color: #5a524a;
}

@media (max-width: 980px) {
  .footer-row {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .footer-center {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .footer-left {
    font-size: 13px;
  }

  .footer-center,
  .footer-right {
    font-size: 12px;
  }
}



/* ===== HERO MOBILE FINAL CLEAN OVERRIDE ===== */
@media (max-width: 760px) {
  body .hero-slide--1 {
    background-position: 85% 20% !important;
    background-size: cover !important;
  }
}
/* ===== FIX FINAL POSITION TEXTE MOBILE ===== */
@media (max-width: 760px) {
  .hero-quote,
  .is-home .hero-quote {
    position: absolute !important;

    bottom: 6px !important; /* descend encore */
    left: 16px !important;

    max-width: 200px !important;

    font-size: 10px !important;
    line-height: 1.35 !important;
    letter-spacing: 0.08em !important;

    opacity: 0.7 !important;
  }
}

/* ===== Oeuvre page : image complète sans coupe ===== */
.artwork-full .panel,
.artwork-full .artwork-panel,
.artwork-full .card {
  background: #f8f5f2;
}
.footer-right a {
  display: inline-block;
  margin-top: 6px;
}
.footer-separator {
  display: inline-block;
  width: 15px;
  height: 2px;
  background: #e0b84c; /* jaune */
  margin: 6px auto;
}