/* ============================================================
   THEATRO — "Velvet & Gilt"
   Near-black velvet, champagne gold, ivory. Fraunces + Manrope.
   ============================================================ */

:root {
  --bg: #140e10;
  --bg-deep: #0d0809;
  --surface: #1e1418;          /* aubergine charcoal */
  --surface-2: #281a1f;
  --text: #f3ecdd;             /* ivory */
  --text-dim: #b1a28d;         /* muted ivory */
  --gold: #d4a853;             /* champagne gold */
  --gold-bright: #e8c87d;
  --gold-line: rgba(212, 168, 83, 0.28);
  --gold-faint: rgba(212, 168, 83, 0.12);
  --crimson: #8e2c3a;          /* deep velvet red */
  --accent: var(--gold);       /* legacy alias */
  --accent-hover: var(--gold-bright);
  --trust: #8fae8b;            /* sage green */
  --warning: #d9a441;
  --radius: 10px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 620px at 50% -180px, rgba(212, 168, 83, 0.10), transparent 62%),
    radial-gradient(900px 720px at 108% 104%, rgba(142, 44, 58, 0.14), transparent 58%),
    radial-gradient(700px 500px at -8% 38%, rgba(142, 44, 58, 0.06), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Grain — tiny SVG turbulence, barely there */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

::selection { background: rgba(212, 168, 83, 0.30); color: var(--text); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 560; letter-spacing: 0; }

/* ---- Shared ornaments ------------------------------------- */

/* Small-caps gold eyebrow */
.eyebrow {
  display: block;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 12px;
}

/* Gold rule + diamond, sits under section titles */
.orn {
  position: relative;
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(212, 168, 83, 0.25));
  margin: 14px 0 0;
}
.orn::after {
  content: "";
  position: absolute;
  left: 24px;
  top: -3.5px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}
.orn.center { margin-left: auto; margin-right: auto; }
.orn.center::after { left: calc(50% - 3.5px); }

.section-head { margin-bottom: 30px; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); font-weight: 540; }

/* Ticket-stub perforated divider */
.tear {
  position: relative;
  max-width: 1140px;
  margin: 10px auto;
  padding: 0 22px;
  height: 20px;
}
.tear::before {
  content: "";
  position: absolute;
  left: 40px; right: 40px; top: 50%;
  border-top: 1px dashed rgba(212, 168, 83, 0.30);
}
.tear i {
  position: absolute;
  top: 1px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid var(--gold-line);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}
.tear i:first-child { left: 14px; }
.tear i:last-child { right: 14px; }

/* ---- Page-load orchestration ------------------------------ */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
main > section, main > .tear, main > .page {
  animation: rise 0.65s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}
main > *:nth-child(1) { animation-delay: 0.04s; }
main > *:nth-child(2) { animation-delay: 0.12s; }
main > *:nth-child(3) { animation-delay: 0.18s; }
main > *:nth-child(4) { animation-delay: 0.24s; }
main > *:nth-child(5) { animation-delay: 0.30s; }
main > *:nth-child(6) { animation-delay: 0.36s; }
main > *:nth-child(7) { animation-delay: 0.42s; }
main > *:nth-child(8) { animation-delay: 0.48s; }
main > *:nth-child(n+9) { animation-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- Header ------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 10, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-faint);
}
.header-inner { display: flex; align-items: center; gap: 30px; height: 58px; }
.logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}
.logo::first-letter { color: var(--gold); font-style: italic; }
.site-header .logo::after {
  content: "✦";
  font-size: 0.55em;
  color: var(--gold);
  vertical-align: super;
  margin-left: 3px;
}
.site-header nav { display: flex; gap: 26px; flex: 1; }
.site-header nav a {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-header nav a:hover { color: var(--gold-bright); border-bottom-color: var(--gold-line); }
.lang-switch { display: flex; gap: 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; }
.lang-switch a {
  color: var(--text-dim);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.active { color: var(--gold); border-color: var(--gold-line); background: var(--gold-faint); }
.site-footer .lang-switch { margin-top: 16px; }

/* ---- Buttons ----------------------------------------------- */

.btn-gold {
  position: relative;
  display: inline-block;
  overflow: hidden;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 55%, #b88c3e);
  color: #221504;
  border: none;
  border-radius: 8px;
  padding: 13px 28px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
  box-shadow: 0 2px 14px rgba(212, 168, 83, 0.18);
}
.btn-gold::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.45s ease;
}
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(212, 168, 83, 0.30); }
.btn-gold:hover::after { left: 130%; }

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--gold-line);
  color: var(--gold);
  border-radius: 8px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { background: var(--gold-faint); border-color: var(--gold); color: var(--gold-bright); }

/* ---- Hero --------------------------------------------------- */

.hero { padding: 96px 0 72px; text-align: center; position: relative; }
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
  font-weight: 480;
  font-variation-settings: "opsz" 144;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 820px;
  margin: 0 auto 20px;
}
.hero p {
  color: var(--text-dim);
  font-size: 1.12rem;
  max-width: 560px;
  margin: 0 auto 38px;
}
.search-box {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  gap: 6px;
  background: rgba(30, 20, 24, 0.85);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 6px 6px 6px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(243, 236, 221, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box:focus-within { border-color: var(--gold); box-shadow: 0 10px 40px rgba(0,0,0,.35), 0 0 0 3px var(--gold-faint); }
.search-box input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
}
.search-box input::placeholder { color: rgba(177, 162, 141, 0.7); }
.search-box .btn-gold { border-radius: 999px; padding: 12px 26px; }

.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-chips span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid rgba(243, 236, 221, 0.10);
  border-radius: 999px;
  padding: 7px 16px;
  background: rgba(30, 20, 24, 0.5);
}
.hero-chips b { color: var(--trust); font-weight: 800; margin-right: 6px; }

/* ---- Sections ----------------------------------------------- */

.section { padding: 56px 0; }
.section h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); }

/* ---- Featured card ------------------------------------------ */

.featured {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 0;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.featured .info { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.featured .info .cat { margin-bottom: 10px; }
.featured h3 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 520;
  font-variation-settings: "opsz" 110;
  line-height: 1.12;
  margin-bottom: 12px;
}
.featured .meta { color: var(--text-dim); font-size: 0.97rem; margin-bottom: 26px; }
.featured .price-line { display: flex; align-items: baseline; gap: 10px; margin-bottom: 26px; }
.featured .price-line .from { color: var(--text-dim); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; }
.featured .price-line .amount {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}
.availability-chip {
  align-self: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--warning);
  border: 1px solid rgba(217, 164, 65, 0.35);
  border-radius: 999px;
  padding: 5px 13px;
  background: rgba(217, 164, 65, 0.08);
}

/* ---- Poster (CSS-generated show art) ------------------------ */

.poster {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px 20px;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
/* inner gilt frame, like a playbill */
.poster::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212, 168, 83, 0.30);
  pointer-events: none;
  z-index: 2;
}
/* stage-light vignette */
.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(243, 236, 221, 0.10), transparent 55%),
    radial-gradient(140% 110% at 50% 115%, rgba(0, 0, 0, 0.55), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.poster > * { position: relative; z-index: 3; }
.poster-orn { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.5em; margin-bottom: 14px; opacity: 0.9; }
.poster-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 540;
  font-variation-settings: "opsz" 90;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.18;
  color: var(--text);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.poster-city {
  margin-top: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(243, 236, 221, 0.62);
}
.featured .poster { aspect-ratio: auto; min-height: 380px; height: 100%; }
.featured .poster .poster-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

/* category velvets — dark & rich */
.poster--musical { background-image: linear-gradient(160deg, #561624 0%, #38101b 48%, #1d070d 100%); }
.poster--play    { background-image: linear-gradient(160deg, #3d2238 0%, #2a1527 48%, #150a14 100%); }
.poster--opera   { background-image: linear-gradient(160deg, #1b2a4a 0%, #121d36 48%, #090e1c 100%); }
.poster--dance   { background-image: linear-gradient(160deg, #1c3a2d 0%, #122619 48%, #08130c 100%); }
.poster--comedy  { background-image: linear-gradient(160deg, #5c3c12 0%, #3c270c 48%, #1d1204 100%); }
.poster--img .poster-orn, .poster--img .poster-title, .poster--img .poster-city { display: none; }

/* ---- Event card grid ---------------------------------------- */

.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 22px;
}
.event-card {
  display: block;
  background: var(--surface);
  border: 1px solid rgba(212, 168, 83, 0.10);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.3, 1), border-color 0.25s, box-shadow 0.25s;
}
.event-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--gold-faint), 0 6px 30px rgba(212, 168, 83, 0.10);
}
.event-card:hover .poster-title { transform: scale(1.045); }
.event-card .body { padding: 16px 18px 18px; }
.cat {
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}
.event-card h3 { font-size: 1.06rem; font-weight: 560; margin: 6px 0 3px; line-height: 1.25; }
.event-card .meta { color: var(--text-dim); font-size: 0.83rem; }
.event-card .price {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(212, 168, 83, 0.10);
  font-size: 0.9rem;
  color: var(--text-dim);
}
.event-card .price b {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 560;
  font-size: 1.18rem;
  color: var(--gold);
  margin-left: 5px;
}

/* ---- City cards ---------------------------------------------- */

.city-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.city-card {
  position: relative;
  background: linear-gradient(165deg, var(--surface-2), var(--surface) 70%);
  border: 1px solid rgba(212, 168, 83, 0.12);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.3, 1), border-color 0.25s, box-shadow 0.25s;
}
.city-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-line);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 4px 24px rgba(212, 168, 83, 0.08);
}
.city-card .initial {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 480;
  font-variation-settings: "opsz" 144;
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.city-card .name { font-weight: 700; font-size: 1.02rem; letter-spacing: 0.02em; }
.city-card .count { display: block; color: var(--text-dim); font-size: 0.78rem; margin-top: 4px; }

/* ---- Pills / chips -------------------------------------------- */

.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  border: 1px solid var(--gold-line);
  color: var(--gold);
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pill:hover { background: var(--gold-faint); border-color: var(--gold); color: var(--gold-bright); }
.pill.active { background: var(--gold); border-color: var(--gold); color: #221504; }

/* ---- How it works ---------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--surface);
  border: 1px solid rgba(212, 168, 83, 0.12);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.step .num {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 144;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.14rem; font-weight: 580; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 0.92rem; }

/* ---- Reviews ----------------------------------------------------- */

.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review {
  background: var(--surface);
  border: 1px solid rgba(212, 168, 83, 0.12);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
}
.review .stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.85rem; margin-bottom: 14px; }
.review p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 420;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text);
  flex: 1;
}
.review .stars .dim { color: rgba(212, 168, 83, 0.22); }
.review .who { margin-top: 18px; font-size: 0.82rem; color: var(--text-dim); font-weight: 600; }
.review .who b { color: var(--text); font-weight: 700; }
.review .who .date { display: block; margin-top: 3px; font-weight: 500; font-size: 0.76rem; color: rgba(177, 162, 141, 0.75); }

/* ---- Trust banner -------------------------------------------------- */

.trust-banner {
  position: relative;
  background: linear-gradient(135deg, var(--surface-2), var(--surface) 65%);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 36px 42px;
  display: flex;
  gap: 26px;
  align-items: center;
  overflow: hidden;
}
.trust-banner::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold-faint);
  border-radius: 6px;
  pointer-events: none;
}
.trust-banner .icon {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
}
.trust-banner h3 { font-size: 1.3rem; font-weight: 560; color: var(--text); margin-bottom: 6px; }
.trust-banner p { color: var(--text-dim); font-size: 0.95rem; max-width: 640px; }

/* ---- Listing -------------------------------------------------------- */

.listing-head { padding-top: 64px; }
.listing-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 520; }
.result-count {
  color: var(--text-dim);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 18px 0 16px;
}
.empty-state {
  text-align: center;
  padding: 80px 20px;
  border: 1px dashed var(--gold-line);
  border-radius: var(--radius);
}
.empty-state .fleuron { color: var(--gold); font-size: 1.4rem; letter-spacing: 0.5em; display: block; margin-bottom: 16px; }
.empty-state p { color: var(--text-dim); max-width: 460px; margin: 0 auto; }

/* ---- Show page (reused by the show-page agent) ----------------------- */

.show-hero { padding-top: 64px; padding-bottom: 34px; display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: 44px; align-items: center; }
.show-hero .img {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #3d2238, #150a14);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--gold-line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.show-hero .cat { font-size: 0.72rem; }
.show-hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 500;
  font-variation-settings: "opsz" 132;
  line-height: 1.1;
  margin: 8px 0 12px;
}
.show-hero .meta { color: var(--text-dim); margin-bottom: 20px; }
.urgency-bar { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; }
.urgency-bar span {
  background: var(--surface);
  border: 1px solid rgba(217, 164, 65, 0.25);
  border-radius: 8px;
  padding: 7px 14px;
  color: var(--warning);
}
.urgency-bar .viewers { color: var(--text-dim); border-color: rgba(243, 236, 221, 0.10); }

/* ---- Date selector (séries multi-dates) ------------------------ */

.dates-section { padding-top: 40px; }
.dates-sub {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin: -16px 0 24px;
  max-width: 560px;
}

/* Onglets de mois — small-caps or, soulignement animé */
.month-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(212, 168, 83, 0.14);
  margin-bottom: 20px;
}
.month-tabs::-webkit-scrollbar { display: none; }
.month-tab {
  position: relative;
  flex: 0 0 auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 16px 12px;
  font-family: var(--font);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.2s;
}
.month-tab:hover { color: var(--gold-bright); }
.month-tab::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.month-tab.active { color: var(--gold); }
.month-tab.active::after { transform: scaleX(1); }
.mt-count { margin-left: 8px; font-weight: 600; letter-spacing: 0.08em; color: rgba(177, 162, 141, 0.8); }
.month-tab.active .mt-count { color: rgba(212, 168, 83, 0.75); }

/* Rail de cartes-dates — scroll horizontal + snap */
.date-row {
  display: none;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding: 4px 2px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 168, 83, 0.35) transparent;
}
.date-row.active { display: flex; }
.date-row::-webkit-scrollbar { height: 6px; }
.date-row::-webkit-scrollbar-thumb { background: rgba(212, 168, 83, 0.25); border-radius: 3px; }
.date-row::-webkit-scrollbar-track { background: transparent; }

.date-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1px;
  background: var(--surface);
  border: 1px solid rgba(212, 168, 83, 0.14);
  border-radius: var(--radius);
  padding: 12px 8px 10px;
  transition: transform 0.22s cubic-bezier(0.22, 0.8, 0.3, 1), border-color 0.22s, box-shadow 0.22s;
}
a.date-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 4px 18px rgba(212, 168, 83, 0.14);
}
.dc-wd {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.dc-day {
  font-family: var(--font-display);
  font-weight: 560;
  font-variation-settings: "opsz" 110;
  font-size: 1.65rem;
  line-height: 1.15;
  color: var(--text);
}
.dc-time { font-size: 0.7rem; font-weight: 600; color: var(--text-dim); letter-spacing: 0.04em; }
.dc-price {
  margin-top: 7px;
  padding-top: 6px;
  width: 100%;
  border-top: 1px solid rgba(212, 168, 83, 0.12);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

/* Date courante — remplissage or, texte sombre */
.date-card.is-current {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 60%, #b88c3e);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(212, 168, 83, 0.28);
}
.date-card.is-current .dc-wd { color: rgba(34, 21, 4, 0.65); }
.date-card.is-current .dc-day { color: #221504; }
.date-card.is-current .dc-time { color: rgba(34, 21, 4, 0.78); }
.date-card.is-current .dc-price { color: #221504; border-top-color: rgba(34, 21, 4, 0.22); }
a.date-card.is-current:hover { transform: none; box-shadow: 0 10px 30px rgba(212, 168, 83, 0.28); }

/* Complet — éteint, non cliquable */
.date-card.is-soldout { opacity: 0.42; filter: saturate(0.35); cursor: not-allowed; }
.date-card.is-soldout .dc-day { text-decoration: line-through; text-decoration-color: rgba(243, 236, 221, 0.5); text-decoration-thickness: 1px; }
.date-card.is-soldout .dc-price { color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.6rem; }

/* Chip "{n} dates" sur les cartes de listing */
.dates-chip {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 2px 9px;
  background: var(--gold-faint);
}

/* ---- Key info (durée, âge, avertissements) -------------------- */

.key-info {
  margin: 0 0 18px;
  padding: 16px 18px;
  background: rgba(30, 20, 24, 0.55);
  border: 1px solid var(--gold-faint);
  border-radius: var(--radius);
}
.key-info-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 5px 0;
  font-size: 0.88rem;
}
.key-info-row + .key-info-row { border-top: 1px solid rgba(212, 168, 83, 0.08); }
.ki-label {
  flex: 0 0 130px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.ki-value { color: var(--text); font-weight: 600; }
.ki-chips { display: flex; flex-wrap: wrap; gap: 6px; font-weight: 500; }
.warning-chip {
  font-size: 0.74rem;
  color: var(--text-dim);
  border: 1px solid rgba(217, 164, 65, 0.30);
  border-radius: 999px;
  padding: 3px 11px;
  background: rgba(217, 164, 65, 0.07);
}
.key-info-note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(212, 168, 83, 0.18);
  color: var(--text-dim);
  font-size: 0.78rem;
  font-style: italic;
}

/* ---- Tickets : tarifs + réassurance --------------------------- */

.tickets-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: start;
}
.reassurance {
  background: linear-gradient(165deg, var(--surface-2), var(--surface) 70%);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 22px 24px;
  position: sticky;
  top: 78px;
}
.reassurance h3 {
  font-size: 1.05rem;
  font-weight: 580;
  color: var(--gold-bright);
  margin-bottom: 14px;
}
.reassurance ul { list-style: none; }
.reassurance li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 600;
}
.reassurance li + li { border-top: 1px solid rgba(212, 168, 83, 0.10); }
.reassurance li span { color: var(--trust); font-weight: 800; }

.resale-note {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--gold-line);
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.55;
}

.tiers { display: flex; flex-direction: column; gap: 14px; }
.tier {
  background: var(--surface);
  border: 1px solid rgba(212, 168, 83, 0.14);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tier:hover { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold-faint), 0 8px 28px rgba(0, 0, 0, 0.35); }
.tier .name { font-weight: 700; flex: 1; }
.tier .left { color: var(--warning); font-size: 0.78rem; font-weight: 600; }
.tier .price {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 560;
  font-size: 1.35rem;
  color: var(--gold);
}
.tier form { display: flex; gap: 12px; align-items: center; }
.tier select {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: var(--font);
}
.btn-buy {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 55%, #b88c3e);
  color: #221504;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: filter 0.18s, transform 0.18s, box-shadow 0.18s;
}
.btn-buy::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.45s ease;
}
.btn-buy:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212, 168, 83, 0.28); }
.btn-buy:hover::after { left: 130%; }

.guarantee {
  background: var(--surface);
  border: 1px solid rgba(143, 174, 139, 0.28);
  border-left: 3px solid var(--trust);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 32px 0;
}
.guarantee h3 { color: var(--trust); font-size: 1.1rem; margin-bottom: 6px; }
.guarantee p { color: var(--text-dim); font-size: 0.94rem; }

/* ---- Venue access ------------------------------------------------------ */

.venue-card {
  background: linear-gradient(165deg, var(--surface-2), var(--surface) 70%);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 30px 34px;
  max-width: 560px;
}
.venue-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--text);
  line-height: 1.2;
}
.venue-city {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.venue-rows { margin-top: 18px; border-top: 1px solid rgba(212, 168, 83, 0.12); }
.venue-row { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; font-size: 0.9rem; }
.venue-row + .venue-row { border-top: 1px solid rgba(212, 168, 83, 0.08); }
.vr-label {
  flex: 0 0 130px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.vr-value { color: var(--text-dim); }

/* ---- Creative team ------------------------------------------------------ */

.creative-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
  max-width: 760px;
}
.creative-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(212, 168, 83, 0.10);
}
.creative-item .role {
  flex: 0 0 44%;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.creative-item .name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
}

.faq-item { border-bottom: 1px solid rgba(212, 168, 83, 0.12); padding: 18px 0; }
.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--gold-bright); }
.faq-item p { color: var(--text-dim); padding-top: 12px; max-width: 760px; }

/* ---- Static pages ----------------------------------------------------- */

.page { max-width: 760px; padding: 72px 22px; margin: 0 auto; }
.page h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 520;
  font-variation-settings: "opsz" 132;
  margin-bottom: 10px;
}
.page h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(212, 168, 83, 0.25));
  margin-top: 16px;
  margin-bottom: 8px;
}
.page p { color: var(--text-dim); margin-bottom: 16px; }

.notfound { padding: 120px 0; text-align: center; }
.notfound h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-style: italic;
  font-variation-settings: "opsz" 144;
  color: var(--gold);
  margin-bottom: 12px;
}
.notfound p { color: var(--text-dim); }

/* ---- Footer ------------------------------------------------------------ */

.site-footer {
  margin-top: 72px;
  background: var(--bg-deep);
  border-top: 1px solid var(--gold-line);
  padding: 0 0 34px;
}
.site-footer .tear { margin-top: 10px; margin-bottom: 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 30px;
}
.footer-grid .logo { font-size: 1.3rem; }
.footer-grid p { color: var(--text-dim); font-size: 0.88rem; margin-top: 10px; max-width: 300px; }
.footer-grid h4 {
  margin-bottom: 14px;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--gold);
}
.footer-grid a { display: block; color: var(--text-dim); padding: 5px 0; font-size: 0.9rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--gold-bright); }
.trust-row {
  border-top: 1px solid rgba(212, 168, 83, 0.12);
  padding-top: 22px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--trust);
  font-size: 0.85rem;
  font-weight: 600;
}
.trust-row .payments { color: var(--text-dim); font-weight: 500; margin-left: auto; }
.legal-row {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 168, 83, 0.08);
}
.legal-row p {
  color: rgba(177, 162, 141, 0.7);
  font-size: 0.76rem;
  line-height: 1.6;
  max-width: 720px;
}
.legal-row p + p { margin-top: 4px; }

/* ---- Responsive ---------------------------------------------------------- */

@media (max-width: 980px) {
  .city-row { grid-template-columns: repeat(3, 1fr); }
  .steps, .reviews { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .featured .poster { min-height: 300px; aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tickets-grid { grid-template-columns: 1fr; }
  .reassurance { position: static; }
  .creative-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header nav { display: none; }
  .header-inner { gap: 14px; justify-content: space-between; }
  .hero { padding: 64px 0 52px; }
  .search-box { flex-direction: row; }
  .city-row { grid-template-columns: repeat(2, 1fr); }
  .card-row { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 14px; }
  .poster-title { font-size: 1.05rem; }
  .poster { padding: 20px 14px; }
  .featured .info { padding: 28px 24px; }
  .show-hero { grid-template-columns: 1fr; gap: 26px; padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .tier { flex-wrap: wrap; }
  .tier form { width: 100%; justify-content: flex-end; }
  .trust-row .payments { margin-left: 0; width: 100%; }
  .dates-section { padding-top: 28px; }
  .date-card { width: 66px; padding: 10px 5px 8px; }
  .dc-day { font-size: 1.4rem; }
  .dc-price { font-size: 0.6rem; }
  .month-tab { padding: 9px 12px 11px; }
  .month-tab::after { left: 12px; right: 12px; }
  .key-info-row { flex-direction: column; gap: 2px; }
  .ki-label, .vr-label { flex-basis: auto; }
  .venue-row { flex-direction: column; gap: 2px; }
  .venue-card { padding: 24px 22px; }
  .creative-item { flex-direction: column; gap: 1px; }
  .creative-item .role { flex-basis: auto; }
}
