
/* === bloc === */
.lan01-bonus {
  --fdp-magenta: #E91E92;
  --fdp-magenta-rgb: 233, 30, 146;
  --fdp-magenta-soft: #FDF2F8;
  --fdp-cursive: "Great Vibes";
  --fdp-marker: "Permanent Marker";
  --fdp-section-title-size: 2.5rem;
  --fdp-section-title-size-mobile: 1.8rem;
  --fdp-thumb-aspect: 1 / 1;
  --fdp-grid-min: 180px;
  --fdp-black: #1a1a1a;
  --fdp-grey: #666;
  --fdp-grey-light: #f5f5f5;
  --fdp-border: #ececec;

  max-width: 1200px; margin: 0 auto; padding: 1rem 0;
  background: #ffffff; color: var(--fdp-black);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.lan01-bonus .lan01-loading,
.lan01-bonus .lan01-error { text-align: center; padding: 2rem 1rem; opacity: 0.7; }
.lan01-bonus .lan01-error { color: #c0392b; }

/* ============ GATE 18+ ============ */

.lan01-bonus .lan01-gate {
  max-width: 560px; margin: 2rem auto;
  padding: 2.5rem 2rem; text-align: center;
  background: #fafafa; border: 1px solid var(--fdp-border); border-radius: 8px;
}
.lan01-bonus .lan01-gate-warn {
  font-family: var(--fdp-marker), cursive;
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--fdp-magenta); margin-bottom: 0.5rem;
}
.lan01-bonus .lan01-gate-title {
  font-family: var(--fdp-cursive), cursive;
  font-size: 3rem; color: var(--fdp-magenta);
  text-shadow: 0 0 8px rgba(var(--fdp-magenta-rgb), 0.22);
  margin: 0 0 1.25rem 0; line-height: 1;
}
.lan01-bonus .lan01-gate-body {
  font-size: 0.95rem; line-height: 1.55; color: var(--fdp-black);
  margin: 0 auto 1.75rem auto; max-width: 440px;
  white-space: pre-line;
}
.lan01-bonus .lan01-gate-form {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
}
.lan01-bonus .lan01-gate-label {
  font-family: var(--fdp-marker), cursive;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--fdp-grey);
}
.lan01-bonus .lan01-gate-input {
  font-size: 1rem; padding: 0.55rem 0.8rem;
  border: 1px solid var(--fdp-border); border-radius: 4px;
  background: #ffffff; font-family: inherit; color: var(--fdp-black);
}
.lan01-bonus .lan01-gate-input:focus {
  outline: none; border-color: var(--fdp-magenta);
  box-shadow: 0 0 0 3px rgba(var(--fdp-magenta-rgb), 0.15);
}
.lan01-bonus .lan01-gate-error {
  font-size: 0.85rem; color: #c0392b;
  min-height: 1.25rem; margin-top: 0.25rem;
}
.lan01-bonus .lan01-gate-actions {
  display: flex; gap: 1rem; margin-top: 1rem;
  align-items: center; justify-content: center; flex-wrap: wrap;
}
.lan01-bonus .lan01-gate-enter {
  background: var(--fdp-magenta); color: #ffffff; border: none;
  padding: 0.75rem 1.75rem; border-radius: 4px;
  font-family: var(--fdp-marker), cursive;
  text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(var(--fdp-magenta-rgb), 0.32);
  transition: transform 0.15s, box-shadow 0.2s;
}
.lan01-bonus .lan01-gate-enter:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(var(--fdp-magenta-rgb), 0.4);
}
.lan01-bonus .lan01-gate-quit {
  background: transparent; border: none;
  color: var(--fdp-grey); font-size: 0.9rem; cursor: pointer;
  text-decoration: underline; font-family: inherit; padding: 0.75rem 1rem;
}
.lan01-bonus .lan01-gate-quit:hover { color: var(--fdp-black); }

/* ============ RUBRIQUES (cards cliquables) ============ */

.lan01-bonus .lan01-rubriques {
  display: flex; flex-direction: column;
  margin: 1rem 0;
}

.lan01-bonus .lan01-rubrique-card {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 1.5rem 1.25rem;
  background: transparent;
  border: none;
  border-top: 1px solid var(--fdp-border);
  cursor: pointer;
  text-align: left;
  color: inherit; font: inherit;
  transition: background 0.18s ease;
}

.lan01-bonus .lan01-rubrique-card:last-child {
  border-bottom: 1px solid var(--fdp-border);
}

.lan01-bonus .lan01-rubrique-card:hover {
  background: var(--fdp-magenta-soft);
}

.lan01-bonus .lan01-rubrique-card:focus-visible {
  outline: 2px solid var(--fdp-magenta);
  outline-offset: -2px;
}

.lan01-bonus .lan01-rubrique-info {
  flex: 1; min-width: 0;
}

.lan01-bonus .lan01-rubrique-title {
  font-family: var(--fdp-cursive), cursive;
  font-size: var(--fdp-section-title-size);
  font-weight: 400;
  color: var(--fdp-magenta);
  text-shadow: 0 0 8px rgba(var(--fdp-magenta-rgb), 0.22);
  line-height: 1;
  margin: 0 0 0.4rem 0;
}

.lan01-bonus .lan01-rubrique-subtitle {
  font-family: var(--fdp-marker), cursive;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fdp-grey);
  line-height: 1.3;
}

.lan01-bonus .lan01-rubrique-count {
  font-size: 0.72rem;
  color: var(--fdp-grey);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.lan01-bonus .lan01-rubrique-arrow {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fdp-magenta);
  margin-left: 1.5rem;
  transition: transform 0.2s ease;
}

.lan01-bonus .lan01-rubrique-card:hover .lan01-rubrique-arrow {
  transform: translateX(4px);
}

.lan01-bonus .lan01-rubrique-arrow svg {
  width: 100%; height: 100%;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ============ LIGHTBOX ============ */

.lan01-lightbox {
  position: fixed; inset: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 99999; display: none;
  align-items: center; justify-content: center; padding: 2rem;
}
.lan01-lightbox.open { display: flex; }
.lan01-lightbox-img-wrap {
  max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
}
.lan01-lightbox img {
  max-width: 90vw; max-height: 80vh;
  object-fit: contain; display: block; user-select: none;
}
.lan01-lightbox-caption {
  color: #1a1a1a;
  font-family: var(--fdp-marker), cursive;
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em;
  text-align: center; max-width: 90vw; opacity: 0.85;
}
.lan01-lightbox-btn {
  position: absolute;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #1a1a1a; width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.lan01-lightbox-btn:hover {
  background: rgba(var(--fdp-magenta-rgb), 0.25);
  border-color: var(--fdp-magenta);
}
.lan01-lightbox-btn svg {
  width: 24px; height: 24px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.lan01-lightbox-close { top: 1rem; right: 1rem; }
.lan01-lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lan01-lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
  .lan01-bonus .lan01-rubrique-title { font-size: var(--fdp-section-title-size-mobile); }
  .lan01-bonus .lan01-gate-title { font-size: 2.4rem; }
  .lan01-bonus .lan01-gate { padding: 1.75rem 1.25rem; }
  .lan01-bonus .lan01-rubrique-card { padding: 1.2rem 0.75rem; }
  .lan01-bonus .lan01-rubrique-arrow { margin-left: 0.75rem; width: 24px; height: 24px; }
  .lan01-lightbox-prev { left: 0.5rem; }
  .lan01-lightbox-next { right: 0.5rem; }
}

/* === bloc === */
.lan01-bonus {
  --fdp-magenta: #E91E92;
  --fdp-magenta-rgb: 233, 30, 146;
  --fdp-magenta-soft: #FDF2F8;
  --fdp-cursive: "Great Vibes";
  --fdp-marker: "Permanent Marker";
  --fdp-section-title-size: 2.5rem;
  --fdp-section-title-size-mobile: 1.8rem;
  --fdp-player-max-width: 700px;
  --fdp-black: #1a1a1a;
  --fdp-grey: #666;
  --fdp-grey-light: #f5f5f5;
  --fdp-grey-track: #e5e5e5;
  --fdp-border: #ececec;

  max-width: 1200px; margin: 0 auto; padding: 1rem 0;
  background: #ffffff; color: var(--fdp-black);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.lan01-bonus:empty { padding: 0; margin: 0; }

.lan01-bonus .lan01-loading,
.lan01-bonus .lan01-error { text-align: center; padding: 2rem 1rem; opacity: 0.7; }
.lan01-bonus .lan01-error { color: #c0392b; }
.lan01-bonus .lan01-section { margin-bottom: 3rem; }
.lan01-bonus .lan01-section-title {
  font-family: var(--fdp-cursive), cursive;
  font-size: var(--fdp-section-title-size); font-weight: 400;
  color: var(--fdp-magenta);
  text-shadow: 0 0 8px rgba(var(--fdp-magenta-rgb), 0.22);
  margin: 0 0 1rem 0; line-height: 1; padding-bottom: 0.2rem;
}
.lan01-bonus .lan01-player {
  max-width: var(--fdp-player-max-width);
  background: #ffffff; border: 1px solid var(--fdp-border);
  border-radius: 8px; padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* === Zone "En cours" - align-items flex-start pour wrap propre === */
.lan01-bonus .lan01-current {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--fdp-magenta-soft);
  padding: 0.85rem; border-radius: 6px; margin-bottom: 1.25rem;
}
.lan01-bonus .lan01-cover {
  width: 72px; height: 72px; border-radius: 4px; overflow: hidden;
  flex-shrink: 0; background: var(--fdp-grey-light);
  display: flex; align-items: center; justify-content: center; color: var(--fdp-grey);
}
.lan01-bonus .lan01-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lan01-bonus .lan01-cover svg { width: 28px; height: 28px; }
.lan01-bonus .lan01-current-info { flex: 1; min-width: 0; }
.lan01-bonus .lan01-current-label {
  font-size: 0.7rem; color: var(--fdp-grey);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.25rem;
}
/* === Titre actif : pas d'ellipsis, wrap autorise === */
.lan01-bonus .lan01-current-title {
  font-family: var(--fdp-marker), cursive;
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--fdp-black); margin-bottom: 0.2rem;
  word-break: break-word; line-height: 1.3;
}
.lan01-bonus .lan01-current-rubrique {
  font-size: 0.85rem; color: var(--fdp-grey);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lan01-bonus .lan01-progress {
  height: 4px; background: var(--fdp-grey-track);
  border-radius: 2px; cursor: pointer; position: relative; margin-bottom: 0.4rem;
}
.lan01-bonus .lan01-progress-fill {
  height: 100%; background: var(--fdp-magenta);
  border-radius: 2px; width: 0%; pointer-events: none;
  transition: width 0.05s linear;
}
.lan01-bonus .lan01-times {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; color: var(--fdp-grey); font-variant-numeric: tabular-nums;
}
.lan01-bonus .lan01-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin: 1.25rem 0 0.75rem 0; position: relative;
}
.lan01-bonus .lan01-btn {
  background: transparent; border: none; color: var(--fdp-black);
  cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.15s; border-radius: 50%;
}
.lan01-bonus .lan01-btn:hover { color: var(--fdp-magenta); }
.lan01-bonus .lan01-btn svg { width: 22px; height: 22px; fill: currentColor; }
.lan01-bonus .lan01-btn-play {
  width: 52px; height: 52px;
  background: var(--fdp-magenta); color: #ffffff;
  border-radius: 50%; padding: 0;
  box-shadow: 0 4px 12px rgba(var(--fdp-magenta-rgb), 0.32);
  transition: transform 0.15s, box-shadow 0.2s;
}
.lan01-bonus .lan01-btn-play:hover {
  color: #ffffff; transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(var(--fdp-magenta-rgb), 0.45);
}
.lan01-bonus .lan01-btn-play svg { width: 22px; height: 22px; }
.lan01-bonus .lan01-volume {
  display: flex; align-items: center; gap: 0.4rem;
  position: absolute; right: 0;
}
.lan01-bonus .lan01-volume input[type="range"] {
  width: 70px; accent-color: var(--fdp-magenta); height: 4px; cursor: pointer;
}
.lan01-bonus .lan01-tracklist-header {
  font-size: 0.7rem; color: var(--fdp-grey);
  letter-spacing: 0.12em; text-transform: uppercase; margin: 1.5rem 0 0.5rem 0;
}
.lan01-bonus .lan01-tracks { list-style: none; padding: 0; margin: 0; }
.lan01-bonus .lan01-group-header {
  font-size: 0.72rem; color: var(--fdp-grey);
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.6rem 0.75rem 0.3rem 0.75rem;
  border-top: 1px dashed var(--fdp-border); margin-top: 0.25rem;
}
.lan01-bonus .lan01-group-header:first-child {
  border-top: none; margin-top: 0; padding-top: 0;
}
.lan01-bonus .lan01-track {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.55rem 0.75rem; border-radius: 4px; cursor: pointer;
  transition: background 0.12s;
}
.lan01-bonus .lan01-track:hover { background: var(--fdp-grey-light); }
.lan01-bonus .lan01-track.is-active { background: var(--fdp-magenta-soft); }
.lan01-bonus .lan01-track-icon {
  width: 32px; height: 32px; border-radius: 3px;
  background: var(--fdp-grey-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--fdp-grey);
  transition: background 0.15s, color 0.15s;
}
.lan01-bonus .lan01-track-icon svg { width: 12px; height: 12px; fill: currentColor; }
.lan01-bonus .lan01-track.is-active .lan01-track-icon {
  background: var(--fdp-magenta); color: #ffffff;
}
.lan01-bonus .lan01-track-info { flex: 1; min-width: 0; }
.lan01-bonus .lan01-track-title {
  font-family: var(--fdp-marker), cursive;
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--fdp-black);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lan01-bonus .lan01-track.is-active .lan01-track-title { color: var(--fdp-magenta); }
.lan01-bonus .lan01-track-duration {
  font-size: 0.78rem; color: var(--fdp-grey);
  font-variant-numeric: tabular-nums; flex-shrink: 0;
}

/* === TRIGGER WARNING BADGE === */
.lan01-bonus .lan01-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  color: var(--fdp-magenta);
  flex-shrink: 0;
  cursor: help;
  vertical-align: middle;
  margin-left: 0.45rem;
  outline: none;
}
.lan01-bonus .lan01-trigger svg { width: 100%; height: 100%; fill: currentColor; display: block; }

.lan01-bonus .lan01-trigger::after {
  content: attr(data-trigger);
  position: absolute;
  bottom: calc(100% + 8px);
  right: -4px;
  background: var(--fdp-black);
  color: #ffffff;
  font-family: var(--fdp-marker), cursive;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.7rem;
  border-radius: 4px;
  white-space: normal;
  max-width: 220px;
  width: max-content;
  line-height: 1.35;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.lan01-bonus .lan01-trigger::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 3px);
  right: 4px;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--fdp-black);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.lan01-bonus .lan01-trigger:hover::after,
.lan01-bonus .lan01-trigger:focus::after,
.lan01-bonus .lan01-trigger:hover::before,
.lan01-bonus .lan01-trigger:focus::before {
  opacity: 1;
}
.lan01-bonus .lan01-trigger:hover::after,
.lan01-bonus .lan01-trigger:focus::after {
  transform: translateY(0);
}
.lan01-bonus .lan01-trigger:focus-visible {
  box-shadow: 0 0 0 2px rgba(var(--fdp-magenta-rgb), 0.4);
  border-radius: 2px;
}

@media (max-width: 600px) {
  .lan01-bonus .lan01-section-title { font-size: var(--fdp-section-title-size-mobile); }
  .lan01-bonus .lan01-player { padding: 1rem; }
  .lan01-bonus .lan01-volume { position: static; }
  .lan01-bonus .lan01-controls { flex-wrap: wrap; gap: 0.6rem; }
  .lan01-bonus .lan01-current { padding: 0.7rem; gap: 0.75rem; }
  .lan01-bonus .lan01-cover { width: 56px; height: 56px; }
  .lan01-bonus .lan01-trigger::after { max-width: 180px; }
}
