/* Designer Fred — feuilles de style
   Couleurs modifiables ici (Kompozer : onglet Source, ou un éditeur de texte). */
:root {
  --bg: #090909;
  --bg-raise: #12110e;
  --bg-card: #16140f;
  --cream: #f3ecdf;
  --cream-dim: #cfc4b2;
  --muted: #9a8f80;
  --gold: #d4b483;
  --gold-deep: #8d7044;
  --line: rgba(212, 180, 131, 0.28);
  --sold: #c4897a;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --header: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, label, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--gold); color: #1a140c; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: #1a140c;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header);
  padding: 0 28px;
  background: rgba(9, 9, 9, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.monogram {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  color: var(--gold);
  letter-spacing: 0.04em;
  font-size: 14px;
}
.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.brand-name small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.menu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.menu-btn {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 0 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--gold); }
.nav a:focus-visible,
.btn:focus-visible,
.card:focus-visible,
.zoom:focus-visible,
.menu-btn:focus-visible,
.filters label:focus-within {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: auto;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 18%, rgba(212, 180, 131, 0.14), transparent 60%),
    var(--bg);
}
.hero-top {
  flex: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 28px;
}
.eyebrow {
  display: flex;
  gap: 18px;
  margin: 0 0 18px;
  color: var(--gold);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 11px;
}
.eyebrow span + span::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-right: 18px;
  vertical-align: middle;
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(56px, 8vw, 108px);
  line-height: 0.88;
  letter-spacing: -0.02em;
}
h1 .em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}
.role {
  margin: 22px 0 0;
  color: var(--cream-dim);
  letter-spacing: 0.08em;
  font-size: 15px;
}
.tagline {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--cream);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
}
.btn.solid { background: var(--gold); color: #1a140c; }
.btn.solid:hover { background: #e4c79a; }
.btn.ghost { color: var(--gold); background: transparent; }
.btn.ghost:hover { background: rgba(212, 180, 131, 0.1); }

.seal {
  justify-self: end;
  width: min(340px, 100%);
  animation: float 7s ease-in-out infinite;
}
.seal img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}
.seal figcaption {
  margin-top: 8px;
  text-align: right;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rise { animation: rise 1s ease both; }
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.32s; }
.d4 { animation-delay: 0.46s; }
.d5 { animation-delay: 0.6s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* filmstrip */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: 22px 0 26px;
  background: linear-gradient(to bottom, rgba(212, 180, 131, 0.04), transparent 70%);
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: reel 70s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a {
  display: block;
  height: 132px;
}
.marquee img {
  height: 132px;
  width: auto;
  max-width: none;
}
@keyframes reel {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */
.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--line); }
.kicker {
  margin: 0 0 10px;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
}
h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.lede {
  max-width: 46rem;
  color: var(--cream-dim);
  font-size: 18px;
}

.atelier {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: center;
}
.brand-stack {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
.portrait { position: relative; flex: 1; }
.portrait img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.88);
  border: 1px solid var(--line);
}
.side-mark {
  width: 78px;
  height: auto;
  flex: none;
  border: 1px solid var(--line);
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}
.mail {
  color: var(--gold);
  border-bottom: 1px solid var(--line);
}

/* filters + grid */
.catalog-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.filters label {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  color: var(--cream-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
}
#show-all:checked ~ .catalog-head label[for="show-all"],
#show-creations:checked ~ .catalog-head label[for="show-creations"],
#show-sold:checked ~ .catalog-head label[for="show-sold"] {
  border-color: var(--gold);
  color: #1a140c;
  background: var(--gold);
}
#show-creations:checked ~ .grid .card.vendu { display: none; }
#show-sold:checked ~ .grid .card.creation { display: none; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 18px;
}
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
}
.frame {
  position: relative;
  background:
    radial-gradient(ellipse at center, #2a261f 0%, #0e0d0b 72%);
  border: 1px solid var(--line);
  min-height: 240px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.frame img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  transition: transform 0.45s ease;
}
.card:hover .frame img { transform: scale(1.04); }
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  background: rgba(9, 9, 9, 0.8);
  color: var(--sold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10px;
  border: 1px solid rgba(196, 137, 122, 0.45);
}
.meta { padding: 12px 2px 0; }
.name {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
}
.hint {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

/* sale page */
.page-hero { padding: 64px 0 10px; }
.page-hero h1 { font-size: clamp(48px, 7vw, 84px); }
.sale-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px 28px;
  padding-bottom: 40px;
}
.sale-card h2 {
  font-size: 34px;
  margin: 14px 0 4px;
}
.sale-card .aka { margin: 0; color: var(--muted); letter-spacing: 0.08em; font-size: 13px; }
.sale-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  background: radial-gradient(ellipse at center, #2a261f 0%, #0e0d0b 72%);
  border: 1px solid var(--line);
}
.sale-photos.two { grid-template-columns: 1fr 1fr; }
.sale-photos.many { grid-template-columns: 1fr 1fr; }
.sale-photos a { display: block; }
.sale-photos img {
  width: 100%;
  height: 260px;
  object-fit: contain;
}
.num {
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.2em;
  font-size: 12px;
}

.contact-band {
  background: var(--bg-raise);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-band .wrap { padding: 72px 0; }
.contact-band a.big {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  line-height: 1.2;
}

.site-footer {
  padding: 36px 28px 48px;
  color: var(--muted);
  font-size: 13px;
}
.site-footer .wrap { width: min(1120px, 100%); margin: 0 auto; }
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0;
}
.foot-links a { color: var(--cream-dim); min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--gold); }
.legal { margin: 0; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 72px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 120px);
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox figcaption {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 28px;
}
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(9, 9, 9, 0.7);
  color: var(--cream);
  font-size: 22px;
  cursor: pointer;
}
.lb-btn.prev { left: 16px; }
.lb-btn.next { right: 16px; }
.lb-btn.close {
  top: 16px;
  right: 16px;
  transform: none;
}
.lb-btn:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 900px) {
  .hero-top, .atelier, .grid, .sale-grid { grid-template-columns: 1fr 1fr; }
  .hero-top, .atelier { grid-template-columns: 1fr; }
  .seal { justify-self: start; width: min(280px, 70%); }
  .brand-stack { max-width: 360px; }
}
@media (max-width: 700px) {
  .site-header { padding: 0 16px; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #0e0d0b;
    border-bottom: 1px solid var(--line);
    padding: 8px 12px 16px;
  }
  .menu-toggle:checked ~ .nav { display: flex; }
  .nav a { padding: 4px 8px; }
  .wrap { width: calc(100% - 32px); }
  .grid, .sale-grid, .hero-top { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  h1 { font-size: 52px; }
  .tagline { font-size: 22px; }
  .marquee a, .marquee img { height: 96px; }
  .lightbox { padding: 64px 12px 80px; }
  .lb-btn.prev { left: 8px; }
  .lb-btn.next { right: 8px; }
  .frame img, .sale-photos img { height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .seal, .marquee-track, .frame img { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
}
