:root {
  --bg: #0f0f0f;
  --bg-soft: #161616;
  --card: #1c1c1c;
  --text: #f4f1ea;
  --muted: #9a958b;
  --accent: #e8d5a0;
  --accent-2: #c98a5e;
  --line: #2a2a2a;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.brand { font-family: "Syne", sans-serif; letter-spacing: -0.02em; }
h1, h2, h3, .series-title { font-family: "Cormorant Garamond", Georgia, serif; letter-spacing: 0; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 6vw;
  background: rgba(15,15,15,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 1.25rem; font-weight: 800; color: var(--text); text-decoration: none; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }

/* HERO */
.hero {
  position: relative; overflow: hidden;
  min-height: 86vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 8vh 6vw;
  background: var(--bg);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.32;
  filter: saturate(1.05);
  transform: scale(1.05);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(15,15,15,0.25), rgba(15,15,15,0.85) 75%),
    linear-gradient(to bottom, rgba(15,15,15,0.4), var(--bg));
}
.hero-inner { position: relative; z-index: 2; max-width: 800px; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.72rem;
  font-weight: 600; color: var(--accent); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(3.2rem, 11vw, 7rem); font-weight: 600; line-height: 0.98; }
.hero p { color: var(--text); font-size: clamp(1.05rem, 2.5vw, 1.4rem); margin: 16px 0 34px; font-style: italic; opacity: 0.92; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, background .2s, color .2s;
}
.btn-primary { background: var(--accent); color: #1a1a1a; }
.btn-primary:hover { transform: translateY(-2px); background: #f0e2bc; }
.btn-ghost { background: transparent; border-color: rgba(244,241,234,0.4); color: var(--text); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.btn-full { width: 100%; text-align: center; margin-top: 8px; }

/* SECTIONS */
.section { padding: 7vh 6vw; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 10px; font-weight: 600; }
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 620px; margin-bottom: 38px; }
.section-about { background: var(--bg-soft); max-width: none; }
.about-text { max-width: 680px; color: var(--muted); font-size: 1.12rem; }

/* GALERIE — SÉRIES */
.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.series-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
  min-height: 340px; display: flex; align-items: flex-end;
}
.series-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s ease;
}
.series-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,12,12,0.92) 8%, rgba(12,12,12,0.35) 55%, transparent 100%);
}
.series-card:hover .series-img { transform: scale(1.06); }
.series-cap {
  position: relative; z-index: 2; padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.series-title { font-size: 1.7rem; font-weight: 600; line-height: 1.05; }
.series-sub { color: var(--accent); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.series-desc { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-2); }
.card-img {
  aspect-ratio: 4/5; background-size: cover; background-position: center;
  position: relative;
  background-color: #242424;
  display: flex; align-items: center; justify-content: center;
}
.card-img .ph { color: var(--muted); font-family: "Syne"; font-size: 1.1rem; padding: 0 14px; text-align: center; }
.card-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #1a1a1a; font-size: 0.72rem; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
}
.card-sold {
  position: absolute; inset: 0; background: rgba(15,15,15,0.55);
  display: flex; align-items: center; justify-content: center;
  font-family: "Syne"; font-weight: 800; letter-spacing: .1em; font-size: 1.1rem;
}
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-name { font-family: "Syne"; font-weight: 600; font-size: 1.1rem; }
.card-price { color: var(--accent); font-weight: 600; }
.card-desc { color: var(--muted); font-size: 0.9rem; flex: 1; }
.card .btn { margin-top: 10px; }
.btn-outline { background: transparent; border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-disabled { background: #2a2a2a; color: var(--muted); cursor: not-allowed; }

/* CONTACT */
.contact-links { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.contact-line { color: var(--text); font-size: 1.05rem; }
.contact-line::before { content: ""; }

/* FOOTER */
.footer {
  padding: 32px 6vw; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: var(--muted); font-size: 0.88rem;
}
.footer #footerBrand { font-family: "Syne"; font-weight: 700; color: var(--text); }
.muted { color: var(--muted); }

/* MODAL */
.modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal[hidden] { display: none; }
.modal-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; max-width: 420px; width: 100%; position: relative;
}
.modal-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  color: var(--muted); font-size: 1.8rem; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal h3 { font-size: 1.4rem; margin-bottom: 4px; }
.modal-price { color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.modal-desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.modal-label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
.modal-select {
  width: 100%; padding: 11px 14px; border-radius: 10px; margin-bottom: 16px;
  background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); font-size: 1rem;
}

@media (max-width: 600px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.82rem; }
}
