/* ==========================================================================
   Multivers Kizomba Event — feuille de style commune
   Thème sombre « cosmique ». Chaque événement surcharge --accent / --accent-2.
   ========================================================================== */
:root {
  --bg: #07060f;
  --bg-2: #0e0c1d;
  --bg-3: #161331;
  --ink: #f4f1ff;
  --ink-2: #bdb6d9;
  --ink-3: #7f7899;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #c026d3;
  --accent-2: #7c3aed;
  --accent-soft: rgba(192, 38, 211, 0.16);
  --gold: #f5c04a;
  --ok: #34d399;
  --radius: 18px;
  --radius-s: 10px;
  --font-display: "Unbounded", "Syne", "Arial Black", Impact, sans-serif;
  --font-body: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}
[data-event="mkc"] { --accent: #d946ef; --accent-2: #7c3aed; --accent-soft: rgba(217, 70, 239, 0.16); }
[data-event="mkm"] { --accent: #22d3ee; --accent-2: #f5a524; --accent-soft: rgba(34, 211, 238, 0.16); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* --- Fond étoilé ------------------------------------------------------- */
.stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 20% -10%, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    var(--bg);
}
.stars::before, .stars::after { content: ""; position: absolute; inset: -50%; background-repeat: repeat;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 120px 90px, rgba(255,255,255,.8) 60%, transparent 61%),
    radial-gradient(1.5px 1.5px at 200px 40px, rgba(255,255,255,.9) 60%, transparent 61%),
    radial-gradient(1px 1px at 260px 160px, rgba(255,255,255,.6) 60%, transparent 61%),
    radial-gradient(1px 1px at 60px 200px, rgba(255,255,255,.7) 60%, transparent 61%),
    radial-gradient(1.2px 1.2px at 330px 240px, #fff 60%, transparent 61%);
  background-size: 380px 280px; opacity: .35; animation: drift 120s linear infinite; }
.stars::after { background-size: 560px 420px; opacity: .2; animation-duration: 200s; animation-direction: reverse; }
@keyframes drift { to { transform: translate3d(-380px, -280px, 0); } }
@media (prefers-reduced-motion: reduce) { .stars::before, .stars::after { animation: none; } html { scroll-behavior: auto; } }

/* --- Boutons ----------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .95rem 1.6rem;
  border-radius: 999px; font-weight: 700; font-size: 1rem; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #fff;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 40px color-mix(in srgb, var(--accent) 50%, transparent); }
.btn-ghost { background: rgba(255,255,255,.06); border-color: var(--line); color: var(--ink); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* --- Badges / pills ---------------------------------------------------- */
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.pill-gold { background: rgba(245,192,74,.14); color: var(--gold); border-color: rgba(245,192,74,.4); }
.pill-muted { background: rgba(255,255,255,.06); color: var(--ink-2); border-color: var(--line); }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: .8rem; }

/* --- Header ------------------------------------------------------------ */
.header { position: sticky; top: 0; z-index: 50; background: rgba(7,6,15,.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 800; font-size: .9rem; letter-spacing: .02em; white-space: nowrap; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: .75rem; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 40%, transparent); }
.brand small { display: block; white-space: nowrap; font-family: var(--font-body); font-weight: 600; color: var(--ink-3); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.nav { display: flex; gap: .2rem; margin-left: auto; }
.nav a { padding: .5rem .6rem; border-radius: 8px; font-weight: 600; font-size: .88rem; color: var(--ink-2); white-space: nowrap; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,.07); }
.header .btn { margin-left: .5rem; }
.switch { font-size: .78rem; font-weight: 700; color: var(--ink-3); padding: .45rem .7rem; border: 1px dashed var(--line); border-radius: 999px; white-space: nowrap; }
@media (max-width: 1240px) { .header .brand > span > small { display: none; } .nav a { padding: .5rem .45rem; font-size: .82rem; } }
.switch:hover { color: var(--accent); border-color: var(--accent); }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: #fff; width: 44px; height: 44px; border-radius: 10px; font-size: 1.3rem; cursor: pointer; }
@media (max-width: 1100px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; padding: 1rem;
    background: rgba(7,6,15,.97); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 1rem; font-size: 1.05rem; }
  .burger { display: block; }
  .header .switch, .header .btn-primary { display: none; }
}

/* --- Hero événement ---------------------------------------------------- */
.hero { position: relative; isolation: isolate; padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 400px at 50% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.hero h1 { margin-top: .6rem; }
.hero h1 span { background: linear-gradient(120deg, var(--accent), var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.2rem; color: var(--ink-2); max-width: 52ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin: 1.6rem 0; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--font-display); font-size: 1.05rem; }
.hero-meta span { color: var(--ink-3); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-card { background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid var(--line);
  border-radius: 24px; padding: 1.6rem; box-shadow: var(--shadow); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: 1rem; }
.countdown div { background: rgba(0,0,0,.35); border-radius: 12px; padding: .8rem .4rem; text-align: center; border: 1px solid var(--line); }
.countdown b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--accent); }
.countdown span { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.hero-card .btn { margin-top: 1.2rem; }
.hero-card ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .45rem; font-size: .95rem; color: var(--ink-2); }
.hero-card li::before { content: "✦ "; color: var(--accent); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* --- Bandeau stats ----------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 0 0 1rem; }
.stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--accent); }
.stat span { color: var(--ink-3); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }

/* --- Sections ---------------------------------------------------------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; scroll-margin-top: 70px; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 2.4rem; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.025), transparent); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

/* --- Cartes artistes --------------------------------------------------- */
.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.artist { padding: 0; overflow: hidden; transition: transform .2s, border-color .2s; }
.artist:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.artist-photo { aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--bg-3), color-mix(in srgb, var(--accent-2) 35%, var(--bg-3))); position: relative; display: grid; place-items: center; }
.artist-photo img { width: 100%; height: 100%; object-fit: cover; }
.artist-photo .initials { font-family: var(--font-display); font-size: 2.6rem; color: rgba(255,255,255,.35); }
.artist-body { padding: 1rem 1.1rem 1.2rem; }
.artist-body h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.artist-body p { margin: 0; color: var(--ink-2); font-size: .9rem; }
.artist-tag { position: absolute; top: .8rem; left: .8rem; }
.dj { display: flex; align-items: center; gap: 1rem; }
.dj-avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-size: .9rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.dj h3 { margin: 0; font-size: 1rem; }
.dj p { margin: 0; color: var(--ink-2); font-size: .88rem; }

/* --- Programme (onglets) ----------------------------------------------- */
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.tab { padding: .7rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--ink-2); font-weight: 700; cursor: pointer; font-family: inherit; font-size: .95rem; }
.tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.tab small { display: block; font-weight: 500; font-size: .75rem; opacity: .8; }
.panel[hidden] { display: none; }
.schedule { display: grid; gap: .6rem; }
.slot { display: grid; grid-template-columns: 110px 1fr auto; gap: 1rem; align-items: center; padding: .9rem 1.1rem;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-s); }
.slot time { font-family: var(--font-display); font-size: .95rem; color: var(--accent); }
.slot b { display: block; }
.slot small { color: var(--ink-3); }
.slot .pill { justify-self: end; }
.slot-party { background: linear-gradient(90deg, var(--accent-soft), var(--bg-2)); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
@media (max-width: 600px) { .slot { grid-template-columns: 1fr; gap: .3rem; } .slot .pill { justify-self: start; } }
.legend { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }

/* --- Pass & tarifs ----------------------------------------------------- */
.passes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
@media (max-width: 960px) { .passes { grid-template-columns: 1fr; } }
.pass { position: relative; display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 1.6rem; }
.pass-popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px color-mix(in srgb, var(--accent) 25%, transparent); }
.pass-popular::before { content: "Le plus choisi"; position: absolute; top: -13px; left: 1.4rem; padding: .25rem .8rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: #fff; }
.pass h3 { font-size: 1.35rem; }
.pass .price { font-family: var(--font-display); font-size: 2.4rem; color: #fff; line-height: 1; margin: .6rem 0 .2rem; }
.pass .price small { font-size: 1rem; color: var(--ink-3); font-family: var(--font-body); }
.pass .tier-note { color: var(--accent); font-weight: 700; font-size: .85rem; }
.pass ul { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .5rem; color: var(--ink-2); font-size: .95rem; }
.pass li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: .5rem; }
.pass li.no { color: var(--ink-3); } .pass li.no::before { content: "–"; color: var(--ink-3); }
.pass .btn { margin-top: auto; }
.tiers { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .95rem; }
.tiers th, .tiers td { padding: .8rem .6rem; border-bottom: 1px solid var(--line); text-align: left; }
.tiers th { color: var(--ink-3); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.tiers tr.now td { color: #fff; font-weight: 700; } .tiers tr.past td { color: var(--ink-3); text-decoration: line-through; }
.table-wrap { overflow-x: auto; }
.note { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: var(--radius-s); padding: 1rem 1.2rem; font-size: .95rem; }

/* --- Inclus / listes ---------------------------------------------------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 900; background: rgba(52,211,153,.15); color: var(--ok); }
.checklist.neg li::before { content: "✕"; background: rgba(255,255,255,.06); color: var(--ink-3); }

/* --- Lieu & hébergement ------------------------------------------------ */
.map { border: 0; width: 100%; height: 340px; border-radius: var(--radius); filter: grayscale(.3) contrast(1.05); background: var(--bg-3); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.info-list li { display: flex; gap: .9rem; }
.info-list .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.1rem; }
.info-list b { display: block; }
.info-list span { color: var(--ink-2); font-size: .95rem; }
.hotel { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 800px) { .hotel { grid-template-columns: 1fr; } }
.promo { font-family: var(--font-display); background: rgba(245,192,74,.12); color: var(--gold); border: 1px dashed rgba(245,192,74,.5); padding: .3rem .7rem; border-radius: 8px; }

/* --- FAQ --------------------------------------------------------------- */
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0 1.2rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--font-display); font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 1rem; margin: 0; }

/* --- Galerie ----------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.gallery div { aspect-ratio: 1; border-radius: 12px; background: linear-gradient(160deg, var(--bg-3), color-mix(in srgb, var(--accent) 25%, var(--bg-3))); display: grid; place-items: center; color: var(--ink-3); font-size: .8rem; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery div:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.video { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.video iframe { width: 100%; height: 100%; border: 0; }

/* --- Partenaires ------------------------------------------------------- */
.partners { display: flex; flex-wrap: wrap; gap: .8rem; }
.partners span { padding: .8rem 1.3rem; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-2); font-weight: 700; background: var(--bg-2); }

/* --- Newsletter / contact --------------------------------------------- */
.cta-band { background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 35%, var(--bg-2)), color-mix(in srgb, var(--accent-2) 35%, var(--bg-2))); border: 1px solid var(--line); border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }
.form { display: grid; gap: .7rem; }
.form input, .form select, .form textarea { width: 100%; padding: .9rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.35); color: #fff; font: inherit; }
.form textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.socials { display: flex; flex-wrap: wrap; gap: .6rem; }
.socials a { padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: .9rem; background: rgba(255,255,255,.04); }
.socials a:hover { border-color: var(--accent); }

/* --- Footer ------------------------------------------------------------ */
.footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; color: var(--ink-3); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-size: .85rem; color: var(--ink); text-transform: uppercase; letter-spacing: .1em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }

/* --- Barre d'action mobile --------------------------------------------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(7,6,15,.9); backdrop-filter: blur(12px); border-top: 1px solid var(--line); display: none; align-items: center; gap: 1rem; }
.sticky-cta b { font-family: var(--font-display); font-size: .85rem; }
.sticky-cta small { display: block; color: var(--ink-3); }
.sticky-cta .btn { margin-left: auto; }
@media (max-width: 960px) { .sticky-cta { display: flex; } body { padding-bottom: 76px; } }

/* --- Page d'accueil (choix MKC / MKM) --------------------------------- */
.landing { min-height: 100svh; display: flex; flex-direction: column; }
.landing-top { text-align: center; padding: clamp(2.5rem, 7vw, 5rem) 1rem 1.5rem; }
.landing-top .brand { justify-content: center; font-size: 1.2rem; }
.landing-top h1 { font-size: clamp(1.9rem, 5vw, 3.6rem); margin: 1.2rem auto .4rem; max-width: 16ch; }
.landing-top p { color: var(--ink-2); max-width: 46ch; margin: 0 auto; font-size: 1.1rem; }
.portals { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; width: min(1240px, 100% - 2rem); margin: 1rem auto 2rem; }
@media (max-width: 800px) { .portals { grid-template-columns: 1fr; } }
.portal { --accent: #d946ef; --accent-2: #7c3aed; --accent-soft: rgba(217,70,239,.16);
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 480px; padding: 2.2rem; border-radius: 30px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); isolation: isolate; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.portal-mkm { --accent: #22d3ee; --accent-2: #f5a524; --accent-soft: rgba(34,211,238,.16); }
.portal::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9; transition: opacity .3s, transform .6s ease;
  background: radial-gradient(600px 400px at 50% 10%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%),
              radial-gradient(500px 300px at 80% 90%, color-mix(in srgb, var(--accent-2) 35%, transparent), transparent 70%); }
.portal::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; top: -120px; right: -120px; z-index: -1; filter: blur(2px); opacity: .55;
  background: conic-gradient(from 180deg, transparent, var(--accent), var(--accent-2), transparent 70%); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .portal::after { animation: none; } }
.portal:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 30px 80px color-mix(in srgb, var(--accent) 25%, transparent); color: var(--ink); }
.portal:hover::before { opacity: 1; transform: scale(1.04); }
.portal .code { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 5.4rem); font-weight: 800; line-height: .9; letter-spacing: -.03em;
  background: linear-gradient(120deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.portal h2 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin: .6rem 0 .4rem; }
.portal p { color: var(--ink-2); max-width: 40ch; margin-bottom: 1.2rem; }
.portal .meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.portal .go { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; color: #fff; }
.portal .go span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); transition: transform .2s; }
.portal:hover .go span { transform: translateX(6px); }
.landing-foot { text-align: center; color: var(--ink-3); font-size: .88rem; padding: 0 1rem 2rem; }
.landing-foot a { color: var(--ink-2); margin: 0 .5rem; }

/* --- Pages légales ------------------------------------------------------ */
.legal { max-width: 78ch; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }

/* --- Animations d'apparition ------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Compléments : hero image, concept, salles, soirées, services, merch
   ========================================================================== */
.hero-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(7,6,15,.97) 0%, rgba(7,6,15,.86) 45%, rgba(7,6,15,.5) 100%),
    linear-gradient(180deg, rgba(7,6,15,.25), rgba(7,6,15,.97)); }
.hero-bg + .wrap { position: relative; }
.hero-logo { width: 110px; height: 110px; object-fit: contain; margin: .4rem 0 -.2rem; filter: drop-shadow(0 8px 24px color-mix(in srgb, var(--accent) 60%, transparent)); }
.hero-tagline { font-family: var(--font-display); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: -.2rem 0 1rem; }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: var(--accent-soft); margin-bottom: 1rem; }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.rooms { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
@media (max-width: 960px) { .rooms { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .rooms { grid-template-columns: repeat(2, 1fr); } }
.room { aspect-ratio: 4 / 5; border-radius: 16px; padding: 1rem; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-3), color-mix(in srgb, var(--accent-2) 40%, var(--bg-3))) center / cover; position: relative; overflow: hidden; }
.room::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(7,6,15,.9)); }
.room b, .room span { position: relative; }
.room b { font-family: var(--font-display); font-size: .95rem; }
.room span { font-size: .78rem; color: var(--ink-2); }
.grid-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }
.rounded { border-radius: var(--radius); border: 1px solid var(--line); }
.prev { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.prev h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 1rem 0 .3rem; }
.djs .card { padding: 1rem; }
.dj-avatar { width: 46px; height: 46px; font-size: .8rem; }
.slot-battle { background: linear-gradient(90deg, rgba(245,192,74,.14), var(--bg-2)); border-color: rgba(245,192,74,.4); }
.nights { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .nights { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .nights { grid-template-columns: 1fr 1fr; } }
.night h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.night .hours { font-family: var(--font-display); color: var(--accent); font-size: .95rem; margin: 0 0 .5rem; }
.night .door { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: .8rem; margin-top: auto; }
.night .door span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.night .door b { font-family: var(--font-display); font-size: 1.2rem; }
.night { display: flex; flex-direction: column; }
.rules { margin-top: 2.5rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.rules h3 { margin-bottom: 1rem; }
.notes li { margin-bottom: .6rem; }
.merch { padding: 0; overflow: hidden; }
.merch img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.merch-body { display: flex; justify-content: space-between; padding: 1rem 1.2rem; }
.merch-body span { color: var(--accent); font-weight: 800; }
.edition img { margin-bottom: 1rem; }
.edition h3 { font-size: 1.1rem; }
.gallery div:first-child img { object-fit: contain; background: #000; }

/* Salles : dégradés par élément quand il n'y a pas d'image */
.room:nth-child(1) { --rc: #f97316; } .room:nth-child(2) { --rc: #22c55e; } .room:nth-child(3) { --rc: #38bdf8; }
.room:nth-child(4) { --rc: #e2e8f0; } .room:nth-child(5) { --rc: #a78bfa; } .room:nth-child(6) { --rc: #facc15; }
.room:not([style]) { background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--rc) 45%, transparent), transparent 60%), linear-gradient(160deg, var(--bg-3), color-mix(in srgb, var(--accent-2) 30%, var(--bg-3))); }
.room:not([style])::after { content: ""; position: absolute; top: 18%; left: 50%; width: 64px; height: 64px; transform: translateX(-50%) rotate(45deg); border-radius: 14px; border: 2px solid color-mix(in srgb, var(--rc) 80%, transparent); box-shadow: 0 0 30px color-mix(in srgb, var(--rc) 50%, transparent), inset 0 0 20px color-mix(in srgb, var(--rc) 30%, transparent); }


/* ==========================================================================
   Marque « M » du logo en néon (forme exacte mesurée sur le logo) — couleur par événement
   ========================================================================== */
:root { --neon: #d946ef; --neon-glow: #a21caf; }
[data-event="mkc"] { --neon: #f43fe6; --neon-glow: #b21fd0; }
[data-event="mkm"] { --neon: #ff8a1f; --neon-glow: #ff4d00; }
.neon { position: absolute; pointer-events: none; z-index: 0; line-height: 0; }
.neon svg { width: 100%; height: auto; overflow: visible; }
.neon .neon-glow { fill: var(--neon); opacity: .95; filter: blur(22px); }
.neon .neon-body { fill: var(--neon); filter: drop-shadow(0 0 6px var(--neon)) drop-shadow(0 0 22px var(--neon)) drop-shadow(0 0 60px var(--neon-glow)); }
.neon .neon-hot { fill: #fff; filter: blur(7px); opacity: .95; }
.hero { overflow: hidden; }
.hero .neon-left { width: clamp(160px, 17vw, 260px); left: -6%; top: -22%; transform: rotate(-12deg); opacity: .95; filter: blur(.6px); }
.hero .neon-right { width: clamp(140px, 15vw, 240px); right: -6%; top: -26%; transform: rotate(14deg) scaleX(-1); opacity: .8; filter: blur(2.5px); }
.hero .neon-small { width: clamp(56px, 5.5vw, 84px); left: 46%; bottom: -9%; transform: rotate(8deg); opacity: .9; }
.hero .wrap { position: relative; z-index: 1; }
.stars .neon-bg-left { width: 34vw; left: -19vw; top: 30vh; transform: rotate(-22deg); opacity: .22; filter: blur(28px); }
.stars .neon-bg-right { width: 38vw; right: -22vw; bottom: -8vh; transform: rotate(16deg) scaleX(-1); opacity: .2; filter: blur(32px); }
@media (max-width: 800px) {
  .hero .neon-left { width: 38vw; left: -16%; top: -6%; }
  .hero .neon-right { width: 30vw; right: -14%; top: -4%; }
  .hero .neon-small { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .neon-left .neon-hot { animation: flicker 7s infinite; }
  @keyframes flicker { 0%, 92%, 94%, 98%, 100% { opacity: .95; } 93% { opacity: .4; } 97% { opacity: .6; } }
}
.portal .neon { width: 38%; right: -14%; top: -14%; transform: rotate(18deg) scaleX(-1); opacity: .55; filter: blur(2.5px); z-index: 0; }
.portal-mkc .neon { --neon: #f43fe6; --neon-glow: #b21fd0; }
.portal-mkm .neon { --neon: #ff8a1f; --neon-glow: #ff4d00; }
.portal > *:not(.neon) { position: relative; z-index: 1; }
.portal::after { display: none; }

/* ==========================================================================
   Langues : sélecteur, page racine
   ========================================================================== */
.langs { display: inline-flex; gap: .15rem; border: 1px solid var(--line); border-radius: 999px; padding: .2rem; background: rgba(255,255,255,.04); }
.langs a { font-size: .72rem; font-weight: 800; letter-spacing: .06em; padding: .3rem .5rem; border-radius: 999px; color: var(--ink-3); }
.langs a:hover { color: #fff; }
.langs a.on { background: var(--accent); color: #fff; }
.header .langs { margin-left: .4rem; }
.nav .langs, .nav .switch { display: none; }
@media (max-width: 1100px) { .header > .wrap > .langs { display: none; } .nav .langs { display: inline-flex; margin: .6rem 1rem; } .nav .switch { display: inline-block; margin: .4rem 1rem; } }
.footer .langs { margin-top: 1rem; }
.landing-bar { display: flex; justify-content: center; margin-bottom: 1.6rem; }
.landing-root .root { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3rem 1rem 2rem; position: relative; }
.root .brand { font-size: 1.1rem; margin-bottom: 1.5rem; }
.root h1 { font-size: clamp(2rem, 5vw, 3.6rem); margin: .4rem 0 .6rem; }
.root h1 span { background: linear-gradient(120deg, #f43fe6, #7c3aed, #22d3ee, #ff8a1f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.root-mark { width: 120px; margin: 0 auto -.4rem; --neon: #d946ef; --neon-glow: #7c3aed; line-height: 0; }
.root-mark svg { width: 100%; height: auto; overflow: visible; }
.root-mark .neon-glow { fill: var(--neon); opacity: .9; filter: blur(18px); }
.root-mark .neon-body { fill: var(--neon); filter: drop-shadow(0 0 8px var(--neon)) drop-shadow(0 0 30px var(--neon-glow)); }
.root-mark .neon-hot { fill: #fff; filter: blur(6px); opacity: .9; }
.lang-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; width: min(980px, 100%); margin: 2rem auto 1.6rem; }
@media (max-width: 900px) { .lang-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .lang-grid { grid-template-columns: 1fr 1fr; } }
.lang-card { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 1.4rem 1rem; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); transition: transform .2s, border-color .2s, box-shadow .2s; }
.lang-card .flag { font-size: 2.2rem; line-height: 1; }
.lang-card b { font-family: var(--font-display); font-size: 1rem; }
.lang-card small { color: var(--ink-3); font-size: .78rem; }
.lang-card:hover { transform: translateY(-4px); border-color: var(--accent); color: var(--ink); box-shadow: 0 16px 40px color-mix(in srgb, var(--accent) 25%, transparent); }
.lang-card.suggested { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.lang-card.suggested small::after { content: " ✓"; color: var(--accent); }

/* Accueil (hub) : compte à rebours des portails */
.landing-cd { display: inline-flex; gap: .45rem; align-items: baseline; font-family: var(--font-display); font-size: .85rem; color: var(--accent); margin-bottom: .8rem; }
.landing-cd b { font-size: 1.15rem; }
.portal-mkm .landing-cd { color: #22d3ee; } .portal-mkc .landing-cd { color: #d946ef; }
.header .langs a { padding: .28rem .42rem; font-size: .68rem; }

/* Racine et hub : tout doit tenir dans 390 px */
.landing .brand { white-space: normal; text-align: left; }
.landing-root .root { width: 100%; max-width: 100%; overflow: hidden; }
.root h1 { overflow-wrap: anywhere; max-width: 100%; }
.root .small { white-space: normal; padding: 0 1rem; }
.lang-grid { padding: 0 1rem; box-sizing: border-box; }
@media (max-width: 560px) { .root .brand { font-size: .85rem; } .root-mark { width: 90px; } .root h1 { font-size: 1.9rem; } }
