/* Palette reprise de l'affiche : bordeaux de nuit, braise, lumière de réverbère */
:root {
  --night: #2a0907;
  --wine: #4a110c;
  --ember: #a8321a;
  --flame: #e8702a;
  --gold: #f4b860;
  --cream: #fbf1e3;
  --paper: #f6ead8;
  --ink: #2b120e;
  --muted: #7a5a50;
  --line: #e2cdb4;
  --metro: #c5a3cd; --tram: #f28e42; --bus: #2f8f6a; --park: #2f5fa8; --venue: #d6281b;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; margin: 0 0 1rem; }
h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ember); margin: 0 0 .6rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Barre de navigation */
.topbar { position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 20px 10px; background: rgba(42, 9, 7, .92); backdrop-filter: blur(8px); color: var(--cream); }
.brand { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; text-decoration: none; color: var(--gold); white-space: nowrap; }
.topbar nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.topbar nav a { text-decoration: none; font-size: .85rem; font-weight: 500; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.topbar nav a:hover { background: rgba(255,255,255,.1); }
.topbar .nav-cta { background: var(--gold); color: var(--night); font-weight: 600; }
.topbar .nav-cta:hover { background: #ffd08a; }
@media (max-width: 640px) { .topbar nav a:not(.nav-cta) { display: none; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 12px 20px; border-radius: 999px; border: 2px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, #ffcf7f, var(--gold)); color: var(--night); box-shadow: 0 6px 24px rgba(244,184,96,.35); }
.btn-ghost { border-color: rgba(251,241,227,.5); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--wine); color: var(--cream); font-size: .88rem; padding: 10px 16px; }
.btn-dark:hover { background: var(--ember); }
.btn-lg { font-size: 1.1rem; padding: 16px 32px; }

/* Ouverture */
.hero { position: relative; overflow: hidden; color: var(--cream);
  background: radial-gradient(ellipse at 75% 30%, rgba(232,112,42,.55), transparent 55%), radial-gradient(ellipse at 15% 90%, rgba(168,50,26,.6), transparent 60%), var(--night);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center;
  padding: 56px max(20px, calc((100vw - 1120px) / 2)) 64px; }
.hero .kicker { color: var(--gold); }
.hero h1 { margin: 0; line-height: .9; }
.hero .script { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(3rem, 9vw, 5.8rem); }
.hero .big { display: block; font-family: var(--sans); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; font-size: clamp(3.4rem, 11vw, 7rem);
  background: linear-gradient(180deg, #ffd38a 10%, var(--flame) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-family: var(--serif); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--gold); margin: 18px 0 4px; text-transform: uppercase; letter-spacing: .03em; }
.hero .lead { max-width: 34em; margin: 0 0 22px; opacity: .92; }
.when { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 10px 28px; margin: 0 0 18px; justify-content: start; }
.when div { min-width: 0; }
.when dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.when dd { margin: 2px 0 0; font-weight: 600; }
.when small { font-weight: 400; opacity: .8; }
.countdown { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 22px; color: #ffd9a0; min-height: 1.6em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-poster { margin: 0; justify-self: center; max-width: 420px; transform: rotate(1.5deg); }
.hero-poster img { border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(244,184,96,.3); }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .hero-poster { max-width: 320px; transform: none; order: -1; }
  .when { grid-template-columns: 1fr; }
}

/* Bandeaux */
.band { padding-block: 72px; }
.band-night { background: linear-gradient(180deg, var(--night), var(--wine)); color: var(--cream); }
.band-night .kicker { color: var(--gold); }
.band-paper { background: var(--paper); }

/* Thème */
.theme { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 40px; align-items: start; max-width: 900px; }
.theme p { max-width: 40em; }
blockquote { margin: 0 0 24px; padding: 0; }
blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.2; color: #ffd9a0; margin: 0 0 6px; }
blockquote footer { font-size: .85rem; opacity: .75; }
.lamp { position: relative; width: 120px; height: 300px; }
.lamp::before { content: ""; position: absolute; left: 56px; top: 70px; width: 8px; height: 230px; background: linear-gradient(90deg, #1a0503, #4a2a20, #1a0503); border-radius: 3px; }
.lamp::after { content: ""; position: absolute; left: 36px; top: 20px; width: 48px; height: 58px; border-radius: 8px 8px 14px 14px;
  background: radial-gradient(circle at 50% 55%, #fff4c9 0%, #ffcb6b 45%, #e8702a 100%); border: 4px solid #1a0503; }
.lamp .glow { position: absolute; left: -40px; top: -50px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,203,107,.55), rgba(232,112,42,.15) 45%, transparent 70%); animation: flicker 4s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { opacity: .9; } 45% { opacity: 1; } 50% { opacity: .78; } 55% { opacity: 1; } }
@media (max-width: 640px) { .theme { grid-template-columns: 1fr; } .lamp { display: none; } }

/* Programme */
.prog { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.prog-main { background: var(--night); color: var(--cream); border-radius: 18px; padding: 32px;
  background-image: radial-gradient(circle at 90% 10%, rgba(232,112,42,.5), transparent 60%); }
.prog-main .tag { margin: 0; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.prog-main h3 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 4px 0 6px; color: var(--gold); }
.prog-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.prog-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.prog-list strong { display: inline-block; min-width: 4.2em; color: var(--ember); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .prog { grid-template-columns: 1fr; } }

/* Accès */
.address { font-size: 1.05rem; margin: 0 0 20px; }
.map-block { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
#map { height: 480px; min-width: 0; }
.map-legend { padding: 16px; display: grid; gap: 6px; align-content: start; overflow-y: auto; max-height: 480px; }
.leg { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; font: inherit; font-size: .88rem; background: none; border: 0; border-radius: 10px; padding: 8px; cursor: pointer; color: var(--ink); }
.leg:hover, .leg.active { background: var(--paper); }
.leg small { display: block; color: var(--muted); font-size: .78rem; }
.dot { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .75rem; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.dot.venue { background: var(--venue); width: 34px; height: 34px; font-size: .9rem; }
.dot.metro { background: var(--metro); color: #3b2140; }
.dot.tram { background: var(--tram); }
.dot.bus { background: var(--bus); }
.dot.park { background: var(--park); }
.marker-wrap { background: none; border: 0; }
.leaflet-popup-content { font-family: var(--sans); font-size: .9rem; }
@media (max-width: 760px) { .map-block { grid-template-columns: 1fr; } #map { height: 380px; } .map-legend { max-height: none; grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .map-legend { grid-template-columns: 1fr; } }
.go-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 32px; }

.transports { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.tr { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.tr h3 { display: flex; align-items: center; gap: 10px; }
.tr ul { list-style: none; margin: 0; padding: 0; }
.tr li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 6px 0; border-top: 1px solid var(--line); }
.tr li span, .parkings li span { color: var(--muted); font-size: .9rem; }
.pict { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; color: #fff; font-size: .85rem; }
.pict-metro { background: var(--metro); color: #3b2140; }
.pict-tram { background: var(--tram); border-radius: 6px; }
.pict-bus { background: var(--bus); border-radius: 6px; }
@media (max-width: 760px) { .transports { grid-template-columns: 1fr; } }

.car { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.warning { background: #fff3e6; border: 2px solid var(--flame); border-radius: 16px; padding: 22px; }
.warning h3 { color: var(--ember); }
.warning p { margin: 0 0 10px; }
.gps { font-size: .9rem; color: var(--muted); margin-bottom: 0 !important; }
.parkings { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.parkings ul { list-style: none; margin: 0 0 12px; padding: 0; }
.parkings li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .car { grid-template-columns: 1fr; } }

/* Infos pratiques */
.infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.info { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; min-width: 0; }
.info ul { margin: 0; padding-left: 1.1em; }
.info li + li { margin-top: 6px; }
.info p { margin: 0; }
.info-alert { grid-column: span 2; background: #fff3e6; border: 2px solid var(--flame); }
.info-alert h3 { color: var(--ember); }
@media (max-width: 560px) { .info-alert { grid-column: auto; } }

/* Tombola */
.lead-light { max-width: 40em; font-size: 1.1rem; opacity: .92; margin: 0 0 28px; }
.tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.tier { border: 1px solid rgba(244,184,96,.35); border-radius: 16px; padding: 18px; background: rgba(255,255,255,.04); display: grid; gap: 4px; align-content: start; }
.tier .n { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--gold); line-height: 1; }
.tier .price { font-weight: 600; font-variant-numeric: tabular-nums; }
.tier .perk { font-size: .88rem; opacity: .85; }
.tier.top { border-color: var(--gold); background: rgba(244,184,96,.12); }
.tombola-cta { margin-top: 32px; display: grid; justify-items: start; gap: 10px; }
.fine { font-size: .85rem; opacity: .75; margin: 0; }

/* Pied de page */
.site-footer { background: var(--night); color: var(--cream); padding: 40px 0 calc(env(safe-area-inset-bottom, 0px) + 40px); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.foot p { margin: 0 0 4px; }
.foot-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .lamp .glow { animation: none; } .btn:hover { transform: none; } }
