:root {
  --ink: #2b2420;
  --ink-soft: #6b5f57;
  --cream: #faf6f0;
  --sand: #f1e9de;
  --terracotta: #c8553d;
  --terracotta-dark: #a8432e;
  --teal: #1f4e5f;
  --gold: #e9b44c;
  --line: #e4d9cb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(43, 36, 32, 0.10);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

button { font: inherit; }

.hidden { display: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.center { text-align: center; margin-top: 40px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner { display: flex; align-items: center; gap: 24px; height: 70px; }

.logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }

.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }

.nav a:hover { color: var(--terracotta); }

.nav .nav-cta {
  background: var(--ink);
  color: var(--cream);
  padding: 8px 18px;
  border-radius: 999px;
}

.nav .nav-cta:hover { background: var(--terracotta); color: #fff; }

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
  margin-left: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s, background 0.15s, color 0.15s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
  background: var(--ink);
  color: var(--cream);
  margin-top: 14px;
}
.btn-small:hover { background: var(--terracotta); }

/* Hero */
.hero { padding: 70px 0 80px; overflow: hidden; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-sub { color: var(--ink-soft); font-size: 1.12rem; margin-bottom: 30px; max-width: 34em; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-points {
  list-style: none;
  display: flex;
  gap: 10px 24px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hero-points li::before { content: '✦ '; color: var(--gold); }

.hero-image { position: relative; }

.hero-image::before {
  content: '';
  position: absolute;
  inset: 8% -6% -6% 10%;
  background: var(--gold);
  border-radius: 50% 50% 46% 54% / 60% 44% 56% 40%;
  opacity: 0.35;
  z-index: -1;
}

.hero-image img {
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--teal); color: #f3efe8; }

.section-title {
  font-family: var(--serif);
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 14px;
}

.section-intro {
  text-align: center;
  color: var(--ink-soft);
  max-width: 40em;
  margin: 0 auto 40px;
}

.section-dark .section-intro { color: #cfdde0; }

/* Filters */
.filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }

.filter {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
}

.filter.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Œuvres */
.oeuvres {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.oeuvre {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.oeuvre[data-statut="Vendu"] .oeuvre-img img { filter: grayscale(0.55); opacity: 0.8; }

.oeuvre-img {
  position: relative;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}

.oeuvre-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.4s; }

.oeuvre-img:hover img { transform: scale(1.04); }

.statut {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: #fff;
}

.statut-dispo { color: #2d6a4f; }
.statut-reserve { color: #9c6500; }
.statut-vendu { background: var(--ink); color: #fff; }

.oeuvre-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }

.oeuvre-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }

.oeuvre-head h3 { font-family: var(--serif); font-size: 1.3rem; }

.prix { font-weight: 600; color: var(--terracotta); white-space: nowrap; }

.oeuvre-body p { color: var(--ink-soft); font-size: 0.94rem; }

.oeuvre-body .dimensions { font-size: 0.84rem; margin-top: 8px; }

.oeuvre-body .btn-small { align-self: flex-start; margin-top: auto; }
.oeuvre-body .dimensions + .btn-small { margin-top: 16px; }

/* Étapes sur mesure */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.steps li {
  counter-increment: step;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.steps h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 6px; }

.steps p { color: #cfdde0; font-size: 0.95rem; }

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.gallery figure { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }

.gallery button { border: none; padding: 0; background: none; cursor: zoom-in; display: block; width: 100%; }

.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.gallery figcaption { padding: 14px 18px; font-size: 0.92rem; color: var(--ink-soft); }

/* Artiste */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.about-text h2 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 18px; }

.about-text p { color: var(--ink-soft); margin-bottom: 18px; }

.about-text .about-info { color: var(--ink); margin-bottom: 6px; }

/* Avis */
.avis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.avis-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.avis-stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 3px; }

.avis-card blockquote { font-family: var(--serif); font-style: italic; font-size: 1.08rem; margin-bottom: 16px; }

.avis-card cite { font-weight: 600; color: var(--terracotta); font-style: normal; font-size: 0.92rem; }

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-inner h2 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 14px; }

.contact-intro { color: var(--ink-soft); margin-bottom: 24px; }

.contact-infos p { margin-bottom: 10px; }

.contact-infos a { color: var(--ink); font-weight: 600; text-decoration-color: var(--terracotta); text-underline-offset: 3px; }

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}

.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.92rem; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--cream);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 2px solid var(--terracotta); border-color: transparent; }

.contact-form .btn { align-self: flex-start; }

.form-message { padding: 12px 14px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; }
.form-message.is-ok { background: #e3f2ea; color: #2d6a4f; }
.form-message.is-error { background: #fbe4e1; color: #a8432e; }

/* Footer */
.footer { background: var(--ink); color: #d8cfc4; padding: 28px 0; font-size: 0.9rem; }

.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Lightbox */
.lightbox {
  border: none;
  background: transparent;
  max-width: min(92vw, 720px);
  margin: auto;
  padding: 0;
  overflow: visible;
}

.lightbox::backdrop { background: rgba(20, 16, 14, 0.85); }

.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius); }

.lightbox p { color: #fff; text-align: center; margin-top: 12px; font-family: var(--serif); font-size: 1.15rem; }

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 860px) {
  .hero { padding: 40px 0 60px; }

  .hero-inner,
  .about-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }

  .hero-image { max-width: 420px; margin: 0 auto; }

  .section { padding: 64px 0; }

  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
  }

  .nav.open { display: flex; }

  .burger { display: block; }
}
