/* =====================================================================
   Night Square — Page partenaires (RP / promoteurs / conciergeries)
   Refonte oct 2026 · même DA que l'espace partenaire (noir, blanc chaud, champagne)
   ===================================================================== */

.rpl {
  --rpl-bg: #050505;
  --rpl-surface: #0d0d0f;
  --rpl-elevated: #161619;
  --rpl-border: rgba(245, 244, 241, 0.09);
  --rpl-border-strong: rgba(245, 244, 241, 0.16);
  --rpl-text: #f5f4f1;
  --rpl-silver: #b5b5b8;
  --rpl-faint: #8e8e93;
  --rpl-gold: #c6a66a;
  --rpl-gold-hover: #d4b984;
  --rpl-gold-soft: rgba(198, 166, 106, 0.12);
  --rpl-ok: #5fb98a;
  --rpl-wait: #e58a4e;
  --rpl-font: "Montserrat", system-ui, -apple-system, sans-serif;
  display: block;
  background: var(--rpl-bg);
  color: var(--rpl-text);
  font-family: var(--rpl-font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.organizers-page .rpl section {
  min-height: 0;
  height: auto;
}

.rpl *,
.rpl *::before,
.rpl *::after {
  box-sizing: border-box;
}

.rpl-wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.rpl-wrap--narrow {
  max-width: 780px;
}

/* ——— Typo ——— */
.rpl-h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--rpl-text);
}
.rpl-h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--rpl-text);
}
.rpl-p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--rpl-silver);
}
.rpl-lead {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  color: var(--rpl-silver);
  max-width: 34rem;
}
.rpl-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rpl-gold);
}
.rpl-head {
  margin: 0 0 2.25rem;
  text-align: center;
}

/* ——— Boutons ——— */
.rpl-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}
.rpl-ctas--center {
  justify-content: center;
}
.rpl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0 1.5rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font: 800 0.98rem/1 var(--rpl-font);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}
.rpl-btn:active {
  transform: scale(0.98);
}
.rpl-btn:focus-visible {
  outline: 2px solid var(--rpl-text);
  outline-offset: 3px;
}
.rpl-btn--gold {
  background: var(--rpl-gold);
  color: #0a0a0b;
  box-shadow: 0 10px 30px -12px rgba(198, 166, 106, 0.65);
}
.rpl-btn--gold:hover {
  background: var(--rpl-gold-hover);
}
.rpl-btn--ghost {
  border-color: var(--rpl-border-strong);
  color: var(--rpl-text);
  background: rgba(245, 244, 241, 0.02);
}
.rpl-btn--ghost:hover {
  background: rgba(245, 244, 241, 0.07);
}
.rpl-btn-ic {
  width: 18px;
  height: 18px;
  transition: transform 0.18s ease;
}
.rpl-btn--gold:hover .rpl-btn-ic {
  transform: translateX(3px);
}

/* ——— Héros ——— */
.rpl-hero {
  position: relative;
  padding: clamp(7.5rem, 14vw, 10rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}
.rpl-hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  max-width: 900px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(198, 166, 106, 0.16), transparent 70%);
  pointer-events: none;
}
.rpl-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.rpl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(198, 166, 106, 0.35);
  border-radius: 999px;
  background: var(--rpl-gold-soft);
  color: var(--rpl-gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.rpl-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rpl-gold);
  box-shadow: 0 0 0 4px rgba(198, 166, 106, 0.18);
}
.rpl-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--rpl-text);
}
.rpl-title-line {
  display: block;
}
.rpl-gold {
  background: linear-gradient(100deg, #e7cf9f 0%, #c6a66a 45%, #a8864b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rpl-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.rpl-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--rpl-silver);
}
.rpl-trust .rpl-ic {
  width: 16px;
  height: 16px;
  color: var(--rpl-gold);
}

/* Aperçu de l'espace partenaire (HTML, pas une capture) */
.rpl-mock {
  margin: 0;
  position: relative;
}
.rpl-mock-card {
  position: relative;
  padding: 1.25rem;
  border: 1px solid var(--rpl-border-strong);
  border-radius: 22px;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(198, 166, 106, 0.12) 0%, transparent 60%),
    linear-gradient(170deg, #151518 0%, #0b0b0d 100%);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transform-origin: left center;
}
.rpl-mock-greet {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.rpl-mock-link {
  padding: 0.85rem;
  border: 1px solid var(--rpl-border);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.3);
}
.rpl-mock-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rpl-faint);
}
.rpl-mock-link-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rpl-mock-url {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: #09090a;
  border: 1px solid var(--rpl-border);
  color: var(--rpl-gold);
  font: 600 0.82rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rpl-mock-copy {
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  background: var(--rpl-gold);
  color: #0a0a0b;
  font-size: 0.82rem;
  font-weight: 800;
}
.rpl-mock-event {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  border: 1px solid rgba(198, 166, 106, 0.38);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
}
.rpl-mock-date,
.rpl-mini-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 56px;
  border-radius: 11px;
  border: 1px solid rgba(198, 166, 106, 0.45);
  background: rgba(198, 166, 106, 0.08);
  line-height: 1;
}
.rpl-mock-date b,
.rpl-mini-date b {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rpl-faint);
}
.rpl-mock-date strong,
.rpl-mini-date strong {
  margin: 0.15rem 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--rpl-gold);
}
.rpl-mock-ev-main {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.rpl-mock-chip {
  align-self: flex-start;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(198, 166, 106, 0.16);
  color: var(--rpl-gold);
  font-size: 0.75rem;
  font-weight: 800;
}
.rpl-mock-ev-name {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rpl-mock-ev-stats {
  text-align: right;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--rpl-faint);
}
.rpl-mock-ev-stats strong {
  font-size: 0.95rem;
  color: var(--rpl-text);
  font-variant-numeric: tabular-nums;
}
.rpl-mock-rows {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--rpl-border);
  border-radius: 14px;
  overflow: hidden;
}
.rpl-mock-rows li,
.rpl-mini-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
}
.rpl-mock-rows li + li {
  border-top: 1px solid var(--rpl-border);
}
.rpl-mock-av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--rpl-border-strong);
  background: var(--rpl-elevated);
  font-size: 0.8rem;
  font-weight: 800;
}
.rpl-mock-who,
.rpl-mini-name {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rpl-mock-pill {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}
.rpl-mock-pill--ok {
  background: rgba(95, 185, 138, 0.14);
  color: var(--rpl-ok);
}
.rpl-mock-pill--wait {
  background: rgba(229, 138, 78, 0.14);
  color: var(--rpl-wait);
}
.rpl-mock-amt {
  font-size: 0.9rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.rpl-mock-caption {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--rpl-faint);
}

/* ——— Villes ——— */
.rpl-cities {
  padding: 1.5rem 0 1rem;
  border-top: 1px solid var(--rpl-border);
  border-bottom: 1px solid var(--rpl-border);
  background: rgba(255, 255, 255, 0.012);
}
.rpl-cities .rpl-wrap {
  display: flex;
  align-items: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.rpl-cities-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rpl-faint);
}
.rpl-cities-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rpl-cities-list li {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rpl-silver);
  letter-spacing: -0.01em;
}

/* ——— Sections ——— */
.rpl-section {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}
.rpl-section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0) 100%);
  border-top: 1px solid var(--rpl-border);
}

/* Étapes */
.rpl-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.rpl-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem;
  border: 1px solid var(--rpl-border);
  border-radius: 20px;
  background: var(--rpl-surface);
}
.rpl-step-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  min-height: 132px;
  margin-bottom: 0.6rem;
  padding: 0.9rem;
  border: 1px solid var(--rpl-border);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
}
.rpl-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(198, 166, 106, 0.45);
  color: var(--rpl-gold);
  font-size: 0.85rem;
  font-weight: 800;
}
.rpl-mini-ev {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
}
.rpl-mini-date {
  height: 42px;
  border-color: var(--rpl-border-strong);
  background: var(--rpl-elevated);
}
.rpl-mini-date strong {
  font-size: 1rem;
  color: var(--rpl-text);
}
.rpl-mini-btn {
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
}
.rpl-mini-btn--gold {
  background: var(--rpl-gold);
  color: #0a0a0b;
}
.rpl-mini-btn--added {
  border: 1px solid rgba(198, 166, 106, 0.45);
  background: rgba(198, 166, 106, 0.14);
  color: var(--rpl-gold);
}
.rpl-mini-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--rpl-border);
  background: #09090a;
  font: 600 0.75rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--rpl-silver);
  min-width: 0;
}
.rpl-mini-link span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rpl-mini-link b {
  color: var(--rpl-gold);
}
.rpl-mini-link .rpl-ic {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--rpl-gold);
}
.rpl-mini-share {
  display: flex;
  gap: 0.35rem;
}
.rpl-mini-share span {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--rpl-border-strong);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rpl-text);
}
.rpl-mini-row {
  padding: 0.25rem 0;
}

/* Fonctionnalités */
.rpl-feats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rpl-feat,
.rpl-aud {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.4rem;
  border: 1px solid var(--rpl-border);
  border-radius: 18px;
  background: var(--rpl-surface);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.rpl-feat:hover,
.rpl-aud:hover {
  border-color: var(--rpl-border-strong);
  transform: translateY(-2px);
}
.rpl-feat-ic,
.rpl-aud-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.35rem;
  border-radius: 12px;
  background: var(--rpl-gold-soft);
  border: 1px solid rgba(198, 166, 106, 0.3);
  color: var(--rpl-gold);
}
.rpl-feat-ic .rpl-ic,
.rpl-aud-ic .rpl-ic {
  width: 20px;
  height: 20px;
}

/* Pour qui */
.rpl-auds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rpl-aud {
  padding: 1.6rem;
}

/* FAQ */
.rpl-faq {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rpl-faq-item {
  border: 1px solid var(--rpl-border);
  border-radius: 14px;
  background: var(--rpl-surface);
  overflow: hidden;
}
.rpl-faq-item[open] {
  border-color: var(--rpl-border-strong);
}
.rpl-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--rpl-text);
  cursor: pointer;
  list-style: none;
}
.rpl-faq-item summary::-webkit-details-marker {
  display: none;
}
.rpl-faq-item summary:focus-visible {
  outline: 2px solid var(--rpl-text);
  outline-offset: -2px;
}
.rpl-faq-ic {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}
.rpl-faq-ic::before,
.rpl-faq-ic::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--rpl-gold);
  transition: transform 0.2s ease;
}
.rpl-faq-ic::after {
  transform: rotate(90deg);
}
.rpl-faq-item[open] .rpl-faq-ic::after {
  transform: rotate(0deg);
}
.rpl-faq-item .rpl-p {
  padding: 0 1.2rem 1.15rem;
}

/* Appel final */
.rpl-final {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7rem) 0;
  border-top: 1px solid var(--rpl-border);
  background: radial-gradient(60% 120% at 50% 0%, rgba(198, 166, 106, 0.14) 0%, transparent 65%);
  text-align: center;
}
.rpl-final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.rpl-final .rpl-lead {
  max-width: 32rem;
}

/* ——— Responsive ——— */
@media (max-width: 1000px) {
  .rpl-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .rpl-mock {
    max-width: 520px;
  }
  .rpl-mock-card {
    transform: none;
  }
  .rpl-steps,
  .rpl-feats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rpl-steps .rpl-step:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 680px) {
  .rpl-wrap {
    padding: 0 16px;
  }
  .rpl-hero {
    padding-top: 6.5rem;
  }
  .rpl-ctas {
    flex-direction: column;
  }
  .rpl-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .rpl-steps,
  .rpl-feats,
  .rpl-auds {
    grid-template-columns: minmax(0, 1fr);
  }
  .rpl-steps .rpl-step:last-child {
    grid-column: auto;
  }
  .rpl-cities .rpl-wrap {
    flex-direction: column;
    gap: 0.6rem;
  }
  .rpl-head {
    margin-bottom: 1.6rem;
    text-align: left;
  }
  .rpl-mock-card {
    padding: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rpl-btn,
  .rpl-feat,
  .rpl-aud,
  .rpl-btn-ic {
    transition: none;
  }
}

/* Neutralise les styles globaux des titres/sections de la page Organisateurs */
.rpl .rpl-head,
.rpl .rpl-h2,
.rpl .rpl-cities-title {
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  position: static;
}
.rpl .rpl-head {
  margin: 0 0 2.25rem;
}
@media (max-width: 680px) {
  .rpl .rpl-head {
    margin-bottom: 1.6rem;
  }
  .rpl-title-line {
    white-space: normal;
  }
}

/* Pas d'apparition au scroll (main.js) : le contenu est visible tout de suite, aucune zone noire */
.rpl > section.reveal-section,
.rpl > section.reveal-section.in-view {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Une seule typo sur la page : Montserrat (rp.css applique Syne aux titres) */
.rpl h1,
.rpl h2,
.rpl h3,
.rpl .rpl-title,
.rpl .rpl-h2,
.rpl .rpl-h3 {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif !important;
}
