/* ============================================================
   LD EVENTS PRODUCTION — Shared styles
   ============================================================ */

html, body { background: #0B1220; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #e2e8f0;
}
.display { font-family: 'Playfair Display', Georgia, serif; }

/* ---------- Concert/stage atmosphere ---------- */
.stage {
  position: relative;
  overflow: hidden;
}
.stage::before, .stage::after {
  content: '';
  position: absolute;
  top: -10%;
  width: 60vw;
  height: 120vh;
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
}
.stage::before {
  left: -20vw;
  background: radial-gradient(closest-side, rgba(168,85,247,0.20), transparent 70%);
}
.stage::after {
  right: -20vw;
  background: radial-gradient(closest-side, rgba(245,158,11,0.15), transparent 70%);
}
.stage > * { position: relative; z-index: 1; }

/* Animated spotlight beams */
.spotlights {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.spotlights::before, .spotlights::after {
  content: '';
  position: absolute;
  top: -20%;
  width: 30vw;
  height: 140vh;
  background: linear-gradient(180deg, rgba(236,72,153,0.18), transparent 70%);
  transform-origin: top center;
  filter: blur(30px);
}
.spotlights::before { left: 20%; transform: rotate(-12deg); animation: sweep1 8s ease-in-out infinite alternate; }
.spotlights::after  { right: 20%; transform: rotate(12deg);  animation: sweep2 9s ease-in-out infinite alternate;
                      background: linear-gradient(180deg, rgba(245,158,11,0.15), transparent 70%); }
@keyframes sweep1 { from { transform: rotate(-18deg); } to { transform: rotate(-6deg); } }
@keyframes sweep2 { from { transform: rotate(6deg);   } to { transform: rotate(18deg); } }

/* ---------- Gradient text ---------- */
.neon-text {
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 60%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 80px rgba(255,255,255,0.05);
  line-height: 0.95;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #ec4899, #a855f7);
  box-shadow: 0 10px 30px -10px rgba(236,72,153,0.6);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(236,72,153,0.8); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.02);
  transition: background .15s ease, border-color .15s ease;
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.35); }

/* ---------- Cards ---------- */
.card-cat {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, #0F1A2E 0%, #0B1220 100%);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  aspect-ratio: 4 / 5;
  display: block;
}
.card-cat:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7), 0 0 40px -10px var(--accent, rgba(236,72,153,0.5));
}
.card-cat-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.6;
  transition: transform .6s ease, opacity .25s ease;
}
.card-cat:hover .card-cat-img { transform: scale(1.06); opacity: 0.85; }
.card-cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,12,24,0.2) 0%, rgba(7,12,24,0.6) 50%, rgba(7,12,24,0.98) 100%);
}
.card-cat-accent {
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--accent, #ec4899);
}
.card-cat-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem;
}

/* ---------- Pill / chips ---------- */
.pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 500;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: all .15s ease;
  cursor: pointer;
}
.pill:hover { color: #fff; border-color: rgba(255,255,255,0.2); }
.pill.active {
  background: linear-gradient(135deg, rgba(236,72,153,0.18), rgba(168,85,247,0.18));
  border-color: rgba(236,72,153,0.4);
  color: #fff;
}

.badge {
  display: inline-flex; align-items: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ---------- Section dividers ---------- */
.eyebrow {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  background: linear-gradient(90deg, #ec4899, #a855f7, #f59e0b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Equalizer accent ---------- */
.eq-bars { display: inline-flex; gap: 3px; align-items: flex-end; height: 18px; }
.eq-bars span {
  display: block; width: 3px; background: linear-gradient(180deg, #f59e0b, #ec4899);
  border-radius: 2px;
  animation: eq 1.1s ease-in-out infinite;
}
.eq-bars span:nth-child(1) { height: 30%; animation-delay: 0s; }
.eq-bars span:nth-child(2) { height: 80%; animation-delay: .15s; }
.eq-bars span:nth-child(3) { height: 50%; animation-delay: .3s; }
.eq-bars span:nth-child(4) { height: 100%; animation-delay: .1s; }
.eq-bars span:nth-child(5) { height: 60%; animation-delay: .25s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.4); transform-origin: bottom; }
  50%      { transform: scaleY(1);   transform-origin: bottom; }
}

/* ---------- Scroll hint ---------- */
.scroll-hint { animation: bob 2.5s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(8px); opacity: 0.9; }
}

/* ---------- Nav dropdown ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: #0F1A2E;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 0.5rem;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.7);
  opacity: 0; visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(2px);
}
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: .75rem;
  padding: 0.6rem 0.9rem; border-radius: 8px;
  font-size: 0.9rem; color: #cbd5e1;
  transition: background .12s, color .12s;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.nav-dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--dot, #ec4899); flex-shrink: 0;
}

/* ---------- Menu mobile ---------- */
.nav-mobile-link {
  display: block;
  padding: 0.7rem 0.25rem;
  font-size: 1rem; font-weight: 600;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color .12s ease;
}
.nav-mobile-link:hover { color: #fff; }
.nav-mobile-sublink {
  display: flex; align-items: center; gap: .75rem;
  padding: 0.55rem 0.25rem;
  font-size: 0.95rem; color: #cbd5e1;
  transition: color .12s ease;
}
.nav-mobile-sublink:hover { color: #fff; }

/* ---------- Formulaire ---------- */
.field-label {
  display: block;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  color: #cbd5e1; margin-bottom: 0.4rem;
}
.field {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: #f1f5f9;
  font-size: 0.95rem;
  transition: border-color .15s ease, background .15s ease;
}
.field::placeholder { color: #64748b; }
.field:focus {
  outline: none;
  border-color: rgba(236,72,153,0.6);
  background: rgba(255,255,255,0.05);
}
select.field { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%2394a3b8'%3E%3Cpath d='M6 8.5L1.5 4h9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.2rem;
}
select.field option { background: #0F1A2E; color: #f1f5f9; }
textarea.field { resize: vertical; min-height: 120px; }
.form-banner {
  border-radius: 14px; padding: 1rem 1.25rem; font-size: 0.95rem; margin-bottom: 1.5rem;
}
.form-banner.ok    { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.4); color: #6ee7b7; }
.form-banner.error { background: rgba(244,63,94,0.12);  border: 1px solid rgba(244,63,94,0.4);  color: #fda4af; }

/* ---------- Utilities ---------- */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   Accessibilité (ajout audit 2026-06-01) — additif, sans impact
   sur le rendu à la souris.
   ============================================================ */

/* Focus clavier visible (WCAG 2.4.7). Ne s'affiche qu'au clavier
   grâce à :focus-visible — la souris ne déclenche pas l'anneau. */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #f0abfc;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Contenu réservé aux lecteurs d'écran */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Lien d'évitement : invisible jusqu'au focus clavier */
.skip-link {
  position: absolute;
  left: 50%;
  top: -64px;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 12px 12px;
  background: #ec4899;
  color: #fff;
  font-weight: 700;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 0;
}

/* ---------- Bannière de consentement (RGPD) ---------- */
.lde-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 1rem;
  background: rgba(11, 18, 32, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, 0.8);
  animation: lde-consent-in .25s ease;
}
@keyframes lde-consent-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.lde-consent-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}
.lde-consent-text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #cbd5e1;
}
.lde-consent-text a { color: #f0abfc; text-decoration: underline; }
.lde-consent-text a:hover { color: #fff; }
.lde-consent-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  width: 100%;
}
.lde-consent-btn {
  flex: 1 1 auto;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #a855f7);
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.lde-consent-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(236, 72, 153, 0.7); }
.lde-consent-btn.ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
}
.lde-consent-btn.ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: none; }

@media (min-width: 768px) {
  .lde-consent-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .lde-consent-text { flex: 1; }
  .lde-consent-actions { width: auto; flex: 0 0 auto; }
  .lde-consent-btn { flex: 0 0 auto; }
}

/* Respect de la préférence « réduire les animations » (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .spotlights::before,
  .spotlights::after,
  .scroll-hint,
  .eq-bars span {
    animation: none !important;
  }
}
