@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --font-display: 'Outfit', Inter, system-ui, sans-serif;
  --ring: 0 0 0 3px rgba(100, 62, 235, 0.25);
  --bg: #f4f4f8;
  --bg-gradient: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(100, 62, 235, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(14, 165, 233, 0.06), transparent 50%);
  --card: #fff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #643eeb;
  --accent2: #0ea5e9;
  --danger: #b91c1c;
  --ok: #15803d;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(100, 62, 235, 0.08);
  --shadow-hover: 0 12px 40px rgba(100, 62, 235, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.eventapp-body {
  font-family: Inter, system-ui, sans-serif;
  background-color: var(--bg);
  background-image: var(--bg-gradient);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Barre portail + vitrine (sticky, toutes les pages Event App) */
.mbr-portal-bar {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(100, 62, 235, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}
.mbr-portal-bar__row {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
}
.mbr-portal-bar__link,
.mbr-portal-bar__events,
.mbr-portal-bar__map,
.mbr-portal-bar__moob {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.mbr-portal-bar__link:hover,
.mbr-portal-bar__events:hover,
.mbr-portal-bar__map:hover,
.mbr-portal-bar__moob:hover {
  background: rgba(100, 62, 235, 0.09);
}
.mbr-portal-bar__cluster {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.mbr-portal-bar__events,
.mbr-portal-bar__map,
.mbr-portal-bar__moob {
  color: #5b21b6;
}
.mbr-portal-bar__sep {
  width: 1px;
  height: 1rem;
  background: rgba(100, 62, 235, 0.2);
  flex-shrink: 0;
}
@media (max-width: 420px) {
  .mbr-portal-bar__cluster {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem max(1rem, env(safe-area-inset-left, 0px)) 3rem max(1rem, env(safe-area-inset-right, 0px));
}
.wrap--wide {
  max-width: 1080px;
}
.wrap--article {
  max-width: 640px;
}

.logo {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
  display: inline-block;
}

h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.75rem;
}

p.sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(100, 62, 235, 0.1);
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #532ed9);
  color: #fff;
  box-shadow: 0 4px 14px rgba(100, 62, 235, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(100, 62, 235, 0.45);
}
.btn-secondary {
  background: #fff;
  color: var(--accent);
  border: 1px solid rgba(100, 62, 235, 0.25);
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(100, 62, 235, 0.04);
}
.btn-danger {
  background: #fef2f2;
  color: var(--danger);
  border: 1px solid rgba(185, 28, 28, 0.25);
}
.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
  align-items: center;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.msg {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.msg-error {
  background: #fef2f2;
  color: var(--danger);
  border: 1px solid rgba(185, 28, 28, 0.2);
}
.msg-ok {
  background: #f0fdf4;
  color: var(--ok);
  border: 1px solid rgba(21, 128, 61, 0.2);
}

/* Parcours Event App (organisateur / tableau de bord) */
.workflow-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: stretch;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(100, 62, 235, 0.06);
  border: 1px solid rgba(100, 62, 235, 0.14);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--muted);
}
.workflow-steps--compact {
  font-size: 0.8rem;
}
.workflow-steps__item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 auto;
  min-width: 0;
}
.workflow-steps__item a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.workflow-steps__item a:hover {
  text-decoration: underline;
}
.workflow-steps__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(100, 62, 235, 0.35);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.workflow-steps__item--done .workflow-steps__n {
  background: linear-gradient(135deg, var(--accent), #532ed9);
  color: #fff;
  border-color: transparent;
}

.dash-workflow {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}
@media (min-width: 520px) {
  .dash-workflow {
    grid-template-columns: repeat(3, 1fr);
  }
}
.dash-workflow__step {
  background: rgba(100, 62, 235, 0.05);
  border: 1px solid rgba(100, 62, 235, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}
.dash-workflow__step strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.dash-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
@media (min-width: 480px) {
  .dash-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}
.dash-cta-row .btn-primary {
  flex: 1 1 auto;
  min-width: 10rem;
  justify-content: center;
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
input[type="text"],
input[type="datetime-local"],
input[type="file"],
textarea,
select {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(100, 62, 235, 0.2);
  font-family: inherit;
  font-size: 0.95rem;
}
@media (max-width: 520px) {
  input[type="text"],
  input[type="datetime-local"],
  select {
    font-size: 1rem;
    min-height: 44px;
  }
  textarea {
    font-size: 1rem;
    min-height: max(7rem, 120px);
  }
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input[type="text"]:focus-visible,
input[type="datetime-local"]:focus-visible,
input[type="file"]:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--ring);
}
.field {
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.tag-brouillon {
  background: #f3f4f6;
  color: #4b5563;
}
.tag-publie {
  background: #ecfdf5;
  color: #047857;
}
.tag-passe {
  background: #f3f4f6;
  color: #6b7280;
}

.meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.nav-top {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.nav-top a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}
.nav-top a:hover {
  text-decoration: underline;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(100, 62, 235, 0.15);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.nav-back:hover {
  background: #fff;
  border-color: rgba(100, 62, 235, 0.3);
  text-decoration: none;
}

/* ——— Vitrine publique ——— */
.public-hero {
  text-align: center;
  padding: 0.5rem 0 2rem;
  margin-bottom: 0.5rem;
}
.public-hero__nav {
  justify-content: center;
  margin-bottom: 1rem;
}
.public-hero__dot {
  color: var(--muted);
}
.public-hero__brand {
  display: inline-block;
}
.public-hero__eyebrow {
  margin-top: 0.25rem;
}
.public-hero__title {
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.75rem 0 0.5rem;
  background: linear-gradient(120deg, #532ed9 0%, #643eeb 40%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.public-hero__lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.55;
}
.public-stats {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.public-stats strong {
  color: var(--text);
  font-weight: 700;
}
.public-stats__sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 2rem 0 1rem;
}
.section-title:first-of-type {
  margin-top: 0.5rem;
}
.section-title--muted {
  color: var(--muted);
}
.section-title__line {
  flex: 1;
  max-width: 2rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(14, 165, 233, 0.5));
}
.section-title--muted .section-title__line {
  background: linear-gradient(90deg, #9ca3af, #d1d5db);
}

.event-section--past {
  margin-top: 2.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(100, 62, 235, 0.08);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.event-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(100, 62, 235, 0.1);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.event-card--past {
  opacity: 0.92;
}
.event-card--past .event-card__media img {
  filter: saturate(0.92);
}

.event-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.event-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #e8e4fc 0%, #dbeafe 100%);
  overflow: hidden;
}
.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(100, 62, 235, 0.35);
  background: linear-gradient(145deg, #f0edff 0%, #e0f2fe 100%);
}

.event-card__body {
  padding: 1rem 1.15rem 1.2rem;
}

.event-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.event-card__meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.event-card__sep {
  margin: 0 0.2rem;
  opacity: 0.5;
}
.event-card__lieu {
  display: inline;
}

.event-card__org {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.empty-state {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.empty-state__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.empty-state__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.empty-state__text {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 22rem;
  margin: 0 auto;
  line-height: 1.55;
}
.empty-state .actions {
  align-items: center;
}

/* ——— Vitrine publique (page dédiée) ——— */
.eventapp-body--vitrine {
  background-color: #0f0d1a;
  background-image:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(100, 62, 235, 0.45), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 10%, rgba(14, 165, 233, 0.18), transparent 45%),
    radial-gradient(ellipse 50% 40% at 0% 30%, rgba(139, 92, 246, 0.15), transparent 50%),
    linear-gradient(180deg, #12101c 0%, #1a1628 35%, #f4f4f8 35%, #f4f4f8 100%);
  background-attachment: scroll;
}

.eventapp-body--vitrine .mbr-portal-bar {
  background: rgba(15, 13, 26, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}
.eventapp-body--vitrine .mbr-portal-bar__link,
.eventapp-body--vitrine .mbr-portal-bar__events,
.eventapp-body--vitrine .mbr-portal-bar__map,
.eventapp-body--vitrine .mbr-portal-bar__moob {
  color: #c4b5fd;
}
.eventapp-body--vitrine .mbr-portal-bar__events,
.eventapp-body--vitrine .mbr-portal-bar__map,
.eventapp-body--vitrine .mbr-portal-bar__moob {
  color: #a5b4fc;
}
.eventapp-body--vitrine .mbr-portal-bar__link:hover,
.eventapp-body--vitrine .mbr-portal-bar__events:hover,
.eventapp-body--vitrine .mbr-portal-bar__map:hover,
.eventapp-body--vitrine .mbr-portal-bar__moob:hover {
  background: rgba(255, 255, 255, 0.08);
}
.eventapp-body--vitrine .mbr-portal-bar__sep {
  background: rgba(255, 255, 255, 0.18);
}

.vitrine-page {
  position: relative;
  padding-bottom: 2rem;
}
.vitrine-page__inner {
  position: relative;
  z-index: 1;
  padding-top: 1rem;
  padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
}

/* Bandeau organisateur (reconnaissance automatique) */
.org-vitrine-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 42%, #4c1d95 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #e0e7ff;
}
.org-vitrine-bar__identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  min-width: 0;
}
.org-vitrine-bar__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1c1917;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.35);
}
.org-vitrine-bar__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.org-vitrine-bar__text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.org-vitrine-bar__text span {
  font-size: 0.82rem;
  color: rgba(224, 231, 255, 0.85);
  line-height: 1.4;
}
.org-vitrine-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.btn-vitrine-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-vitrine-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-vitrine-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: #1e1b4b;
  background: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-vitrine-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.member-vitrine-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(100, 62, 235, 0.15);
  box-shadow: var(--shadow);
}
.member-vitrine-bar__label {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.member-vitrine-bar__meta {
  font-size: 0.8rem;
  color: var(--muted);
  flex: 1 1 auto;
}
.member-vitrine-bar__link {
  margin-left: auto;
}

/* Hero vitrine */
.vitrine-hero {
  position: relative;
  text-align: center;
  padding: 1.5rem 1.25rem 2.25rem;
  margin-bottom: 1.75rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 4px 40px rgba(100, 62, 235, 0.12),
    0 0 0 1px rgba(100, 62, 235, 0.06) inset;
  overflow: hidden;
}
.vitrine-hero__glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse closest-side, rgba(100, 62, 235, 0.2), transparent);
  pointer-events: none;
}
.vitrine-hero__content {
  position: relative;
  z-index: 1;
}
.vitrine-hero__nav {
  justify-content: center;
  margin-bottom: 1rem;
}
.vitrine-hero__nav a {
  color: var(--accent);
}
.vitrine-hero__brand {
  display: inline-block;
  margin-bottom: 0.75rem;
}
.vitrine-hero__brand .logo {
  filter: drop-shadow(0 2px 8px rgba(100, 62, 235, 0.15));
}
.vitrine-hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7c3aed;
  margin-bottom: 0.5rem;
}
.vitrine-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 0.65rem;
  background: linear-gradient(120deg, #4c1d95 0%, #643eeb 45%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vitrine-hero__lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 38rem;
  margin: 0 auto;
  line-height: 1.6;
}
.vitrine-hero__lead strong {
  color: var(--text);
  font-weight: 600;
}
.vitrine-hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.vitrine-stat-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.65rem 1rem;
  border-radius: 16px;
  background: #f8f7ff;
  border: 1px solid rgba(100, 62, 235, 0.12);
}
.vitrine-stat-pill--accent {
  background: linear-gradient(145deg, #f5f3ff 0%, #ede9fe 100%);
  border-color: rgba(100, 62, 235, 0.22);
  box-shadow: 0 4px 16px rgba(100, 62, 235, 0.1);
}
.vitrine-stat-pill--muted {
  opacity: 0.92;
  background: #f4f4f8;
}
.vitrine-stat-pill__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}
.vitrine-stat-pill--accent .vitrine-stat-pill__value {
  color: #5b21b6;
}
.vitrine-stat-pill__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Sections liste */
.vitrine-section {
  margin-top: 0.5rem;
}
.vitrine-section__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.35rem;
}
.vitrine-section__title--muted {
  color: #6b7280;
}
.vitrine-section__subtitle {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  line-height: 1.45;
}
.vitrine-section__subtitle--muted {
  color: #9ca3af;
}
.vitrine-section__icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  flex-shrink: 0;
}
.vitrine-section__icon--past {
  background: #9ca3af;
  box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.25);
}
.vitrine-section--past {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(100, 62, 235, 0.1);
}

.event-grid--vitrine {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.event-grid--vitrine .event-card {
  border-radius: 20px;
  border: 1px solid rgba(100, 62, 235, 0.12);
  box-shadow: 0 8px 32px rgba(15, 13, 26, 0.06);
}
.event-grid--vitrine .event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(100, 62, 235, 0.14);
  border-color: rgba(100, 62, 235, 0.22);
}
.event-grid--vitrine .event-card__media {
  border-radius: 20px 20px 0 0;
}
.event-grid--vitrine .event-card__title {
  font-family: var(--font-display);
  font-size: 1.08rem;
}

/* État vide */
.vitrine-empty {
  text-align: center;
  padding: 2.75rem 1.5rem 3rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(100, 62, 235, 0.12);
  box-shadow: var(--shadow);
}
.vitrine-empty__visual {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vitrine-empty__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.65;
}
.vitrine-empty__orb--a {
  width: 4rem;
  height: 4rem;
  background: #a78bfa;
  top: 0;
  left: 0;
}
.vitrine-empty__orb--b {
  width: 3.5rem;
  height: 3.5rem;
  background: #38bdf8;
  bottom: 0;
  right: 0;
}
.vitrine-empty__emoji {
  position: relative;
  font-size: 2.75rem;
  z-index: 1;
}
.vitrine-empty__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.vitrine-empty__text {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 24rem;
  margin: 0 auto 1.25rem;
  line-height: 1.55;
}
.vitrine-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.vitrine-msg {
  border-radius: 14px;
}

/* Session strip sur fond sombre : lisibilité */
.eventapp-body--vitrine .session-strip--guest {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
}
.eventapp-body--vitrine .session-strip__guest-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #e9d5ff;
}
.eventapp-body--vitrine .session-strip--guest .session-strip__guest-text span {
  color: rgba(229, 231, 235, 0.85);
}
.eventapp-body--vitrine .session-strip--guest strong {
  color: #fff;
}
.eventapp-body--vitrine .session-strip--guest .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.eventapp-body--vitrine .session-strip--guest .btn-primary {
  background: #fff;
  color: #4c1d95;
  border: none;
}
.eventapp-body--vitrine .session-strip--user {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(100, 62, 235, 0.12);
}

/* ——— Espace organisateur (liste) ——— */
.eventapp-body--org-list {
  background-image: var(--bg-gradient);
}

.org-back-vitrine {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(100, 62, 235, 0.1) 0%, rgba(14, 165, 233, 0.08) 100%);
  border: 1px solid rgba(100, 62, 235, 0.2);
  box-shadow: 0 4px 20px rgba(100, 62, 235, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.org-back-vitrine:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(100, 62, 235, 0.15);
  border-color: rgba(100, 62, 235, 0.35);
}
.org-back-vitrine__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.org-back-vitrine__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
  flex: 1;
  min-width: 0;
}
.org-back-vitrine__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.org-back-vitrine__hint {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}
.org-back-vitrine__chev {
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.org-list-heading {
  margin-bottom: 0.75rem;
}
.org-list-heading__logo {
  display: inline-block;
}
.org-list-heading__badge {
  display: block;
  margin-top: 0.5rem;
}
.org-list-heading__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 0.35rem;
}

@media (max-width: 560px) {
  .org-vitrine-bar__actions {
    width: 100%;
  }
  .org-vitrine-bar__actions .btn-vitrine-ghost,
  .org-vitrine-bar__actions .btn-vitrine-solid {
    flex: 1 1 auto;
    justify-content: center;
  }
  .member-vitrine-bar__link {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }
}

/* ——— Fiche événement ——— */
.event-article__header {
  margin-bottom: 1rem;
}
.event-article__logo {
  display: inline-block;
  margin-bottom: 0.75rem;
}
.event-article__title {
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0.75rem 0 1rem;
}

.event-hero,
.event-hero--large {
  margin: 0 0 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e5e7eb;
}
.event-hero--large {
  max-height: min(42vh, 320px);
}
.event-hero img,
.event-hero--large img {
  width: 100%;
  height: 100%;
  max-height: min(42vh, 320px);
  object-fit: cover;
  display: block;
}

.event-facts {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(100, 62, 235, 0.1);
  margin-top: 0.5rem;
}
.event-facts__row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  font-size: 0.9rem;
  align-items: baseline;
}
.event-facts__row dt {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.event-facts__row dd {
  color: var(--text);
  font-weight: 500;
}

.event-article__body {
  margin-top: 1rem;
}
.event-prose {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #374151;
}
.event-article__footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
}

/* ——— Listes admin / mes événements ——— */
.event-list {
  list-style: none;
}
.event-list li {
  border-bottom: 1px solid rgba(100, 62, 235, 0.08);
  padding: 1rem 0;
}
.event-list li:last-child {
  border-bottom: none;
}
.event-list h3 {
  font-size: 1.05rem;
  font-weight: 600;
}
.event-list h3 a {
  color: inherit;
  text-decoration: none;
}
.event-list h3 a:hover {
  color: var(--accent);
}

.event-thumb {
  flex-shrink: 0;
  width: 88px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #e5e7eb;
  display: block;
}
.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
a.event-thumb {
  text-decoration: none;
}

.event-thumb-preview img {
  border-radius: var(--radius-sm);
  object-fit: cover;
  width: 200px;
  height: 120px;
  display: block;
}

/* ——— Bandeau session (visiteur / connecté) ——— */
.session-strip {
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.session-strip--guest {
  background: linear-gradient(135deg, rgba(100, 62, 235, 0.08) 0%, rgba(14, 165, 233, 0.06) 100%);
  border: 1px solid rgba(100, 62, 235, 0.18);
}
.session-strip--user {
  background: #fff;
  border: 1px solid rgba(100, 62, 235, 0.14);
  box-shadow: var(--shadow);
}
.session-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
}
.session-strip__inner--user {
  align-items: flex-start;
}
.session-strip__guest-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  background: rgba(100, 62, 235, 0.12);
  color: var(--accent);
}
.session-strip__guest-text {
  flex: 1;
  min-width: 200px;
}
.session-strip__guest-text strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.session-strip__guest-text span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}
.session-strip__guest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}
.session-strip__avatar-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, #e8e4fc, #dbeafe);
  border: 2px solid rgba(100, 62, 235, 0.2);
}
.session-strip__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.session-strip__avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
}
.session-strip__info {
  flex: 1;
  min-width: 0;
}
.session-strip__name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.session-strip__email {
  font-size: 0.8rem;
  color: var(--muted);
  word-break: break-all;
}
.session-strip__type {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: capitalize;
  margin-top: 0.2rem;
}
.session-strip__path-block {
  margin-top: 0.5rem;
}
.session-strip__path-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.session-strip__path-code {
  display: block;
  font-size: 0.72rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #4338ca;
  background: rgba(100, 62, 235, 0.06);
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  word-break: break-all;
  line-height: 1.35;
}
.session-strip__hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.4rem;
  line-height: 1.4;
}
.session-strip__user-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex-shrink: 0;
}

/* ——— Hub Event App (index.php ?hub=1) ——— */
.eventapp-body--hub {
  background-color: #f0eef9;
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -15%, rgba(100, 62, 235, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(14, 165, 233, 0.1), transparent 45%),
    var(--bg-gradient);
  min-height: 100vh;
}
.hub-main {
  padding-bottom: 2rem;
}
.hub-main .wrap {
  padding-top: 1.5rem;
}
.hub-app-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.hub-app-header__logo {
  margin-left: auto;
}
.hub-app-header__logo .logo {
  margin-bottom: 0;
  display: block;
  height: 36px;
  width: auto;
}
.hub-footer-link a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.hub-footer-link a:hover {
  text-decoration: underline;
}
.hub-footer-link--tight {
  margin-bottom: 0;
}
.hub-app-header__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 6px 20px rgba(100, 62, 235, 0.35);
}
.hub-app-header__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.hub-app-header__kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c3aed;
}
.hub-app-header__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hub-main h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hub-main .badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  background: rgba(100, 62, 235, 0.08);
  border: 1px solid rgba(100, 62, 235, 0.15);
}
.hub-main .choice {
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
  border-width: 2px;
  box-shadow: 0 2px 12px rgba(100, 62, 235, 0.06);
}
.hub-main .choice strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
}
.hub-main .card {
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(100, 62, 235, 0.08);
}
.hub-main #msg {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--danger);
}

/* ——— Fiche événement (page détail premium) ——— */
.eventapp-body--event-detail {
  background: linear-gradient(180deg, #0f0d1a 0%, #1a1628 28%, #f4f4f8 28%, #f4f4f8 100%);
}
.eventapp-body--event-detail .mbr-portal-bar {
  background: rgba(15, 13, 26, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.eventapp-body--event-detail .mbr-portal-bar__link,
.eventapp-body--event-detail .mbr-portal-bar__events,
.eventapp-body--event-detail .mbr-portal-bar__map,
.eventapp-body--event-detail .mbr-portal-bar__moob {
  color: #c4b5fd;
}
.eventapp-body--event-detail .mbr-portal-bar__events,
.eventapp-body--event-detail .mbr-portal-bar__map,
.eventapp-body--event-detail .mbr-portal-bar__moob {
  color: #a5b4fc;
}
.eventapp-body--event-detail .mbr-portal-bar__sep {
  background: rgba(255, 255, 255, 0.18);
}
.event-detail {
  padding-top: 0.5rem;
}
.event-detail .session-strip {
  margin-bottom: 1.25rem;
}
.eventapp-body--event-detail .session-strip--guest {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #e5e7eb;
}
.eventapp-body--event-detail .session-strip--guest .session-strip__guest-text span {
  color: rgba(229, 231, 235, 0.88);
}
.eventapp-body--event-detail .session-strip--guest strong {
  color: #fff;
}
.eventapp-body--event-detail .session-strip--guest .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.eventapp-body--event-detail .session-strip--guest .btn-primary {
  background: #fff;
  color: #4c1d95;
  border: none;
}
.eventapp-body--event-detail .session-strip--user {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(100, 62, 235, 0.12);
}
.event-detail__empty {
  margin-top: 0.75rem;
}
.event-detail__toolbar {
  margin-bottom: 1.25rem;
}

/* Organisateur : accès rapide depuis la fiche publique (sticky sous la barre portail) */
.event-org-bar {
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(100, 62, 235, 0.1) 0%, rgba(14, 165, 233, 0.08) 100%);
  border: 1px solid rgba(100, 62, 235, 0.22);
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 52px);
  z-index: 40;
  box-shadow: 0 4px 24px rgba(100, 62, 235, 0.1);
}
.event-org-bar__text {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
  line-height: 1.45;
}
.event-org-bar__text strong {
  color: var(--text);
  font-weight: 600;
}
.event-org-bar__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.btn--org-bar {
  min-height: 44px;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
  font-size: 0.88rem;
}
@media (max-width: 480px) {
  .event-org-bar__btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .btn--org-bar {
    width: 100%;
    justify-content: center;
  }
}
.event-article--detail {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  padding: 1.5rem 1.25rem 1.75rem;
  border: 1px solid rgba(100, 62, 235, 0.1);
  box-shadow: 0 12px 48px rgba(15, 13, 26, 0.08);
}
.event-article--detail .event-article__header {
  margin-bottom: 0;
}
.event-article--detail .event-article__title {
  font-family: var(--font-display);
  color: var(--text);
}
.event-article--detail .event-facts {
  margin-top: 1.25rem;
  padding: 1.15rem 1rem;
  background: linear-gradient(135deg, rgba(100, 62, 235, 0.05) 0%, rgba(14, 165, 233, 0.04) 100%);
  border: 1px solid rgba(100, 62, 235, 0.1);
  border-radius: 16px;
}
.event-article--detail .event-facts__row dt {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.event-article--detail .event-article__body {
  margin-top: 1.35rem;
  border-radius: 16px;
  background: #faf9ff;
  border: 1px solid rgba(100, 62, 235, 0.1);
  box-shadow: none;
}
.event-article--detail .event-article__footer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(100, 62, 235, 0.1);
}
.event-article--detail .event-hero--large {
  border-radius: 18px;
  max-height: min(48vh, 380px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Cartes vitrine : pied de carte */
.event-card__body {
  position: relative;
}
.event-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.85;
  transition: gap 0.2s ease, opacity 0.2s ease;
}
.event-card:hover .event-card__cta {
  gap: 0.5rem;
  opacity: 1;
}
.event-grid--vitrine .event-card__cta {
  font-size: 0.8rem;
}

/* Liste organisateur : cartes empilées */
.event-list--deck {
  padding: 0;
  margin: 0;
}
.event-list--deck .event-list__item {
  list-style: none;
  border: none;
  padding: 0;
  margin-bottom: 0.85rem;
}
.event-list--deck .event-list-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1.1rem 1.15rem;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(100, 62, 235, 0.12);
  box-shadow: 0 4px 20px rgba(100, 62, 235, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.event-list--deck .event-list-row:hover {
  border-color: rgba(100, 62, 235, 0.22);
  box-shadow: 0 8px 28px rgba(100, 62, 235, 0.1);
}
.event-list--deck h3 {
  font-family: var(--font-display);
  font-weight: 700;
}

.event-list__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  align-items: center;
}
.event-list__actions-delete {
  margin: 0;
  display: block;
}
.event-list__actions-delete .btn {
  min-height: 40px;
  justify-content: center;
}
.event-list--deck .meta {
  word-break: break-word;
  overflow-wrap: anywhere;
}
@media (max-width: 560px) {
  .event-list--deck .event-list-row {
    flex-direction: column;
    align-items: stretch;
  }
  .event-list--deck .event-thumb {
    width: 100%;
    height: 140px;
    max-height: 40vw;
  }
  .event-list__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .event-list__actions > .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
  .event-list__actions-delete {
    width: 100%;
  }
  .event-list__actions-delete .btn {
    width: 100%;
    min-height: 44px;
  }
}

.org-edit-hint {
  margin-top: -0.25rem;
}
.card--form {
  border-radius: 20px;
  box-shadow: 0 8px 36px rgba(100, 62, 235, 0.08);
}

.org-list-page {
  padding-top: 0.25rem;
}

@media (max-width: 520px) {
  .event-facts__row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .event-grid {
    grid-template-columns: 1fr;
  }
  .session-strip__inner--user {
    flex-direction: column;
  }
  .session-strip__user-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  .session-strip__guest-actions {
    width: 100%;
    justify-content: stretch;
  }
  .session-strip__guest-actions .btn {
    flex: 1;
    justify-content: center;
  }
  .workflow-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .workflow-steps__item {
    width: 100%;
  }
  .org-back-vitrine {
    flex-wrap: wrap;
    padding: 0.85rem 1rem;
  }
  .org-back-vitrine__hint {
    display: none;
  }
  .vitrine-hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .actions .btn {
    min-height: 44px;
    justify-content: center;
  }
}

/* Billetterie organisateur */
.billetterie-event-title {
  margin-bottom: 1rem;
}
.billetterie-form-card__h,
.billetterie-list__h {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
}
.billetterie-form-card {
  margin-bottom: 1.5rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
.billetterie-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.billetterie-list__item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(100, 62, 235, 0.12);
}
.billetterie-list__item:last-child {
  border-bottom: none;
}
.billetterie-list__main {
  flex: 1;
  min-width: 12rem;
}
.billetterie-list__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  justify-content: space-between;
}
.billetterie-list__price {
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--accent);
  white-space: nowrap;
}
.billetterie-list__desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
}
.billetterie-list__meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}
.billetterie-list__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

/* Fiche publique — tarifs */
.event-tarifs {
  margin-top: 1rem;
}
.event-tarifs__title {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
}
.event-tarifs__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.event-tarifs__item {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(100, 62, 235, 0.1);
}
.event-tarifs__item:last-child {
  border-bottom: none;
}
.event-tarifs__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}
.event-tarifs__label {
  font-weight: 600;
}
.event-tarifs__price {
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-display);
}
.event-tarifs__desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.4rem 0 0;
}
.event-tarifs__quota {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
}
.event-tarifs__note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
}

.event-detail__flash {
  margin: 0.75rem 0 0;
  max-width: 40rem;
}

.event-reserve {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(100, 62, 235, 0.12);
}
.event-reserve__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
}
.event-reserve__lead {
  margin: 0 0 0.75rem;
}
.event-reserve__form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
  max-width: 22rem;
}
.event-reserve__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
}
.event-reserve__field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.event-reserve__field select,
.event-reserve__field input[type="number"] {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(100, 62, 235, 0.2);
  font: inherit;
  background: #fff;
}
.event-reserve__field--qty input {
  max-width: 6rem;
}
.event-reserve__hint {
  margin: 0;
  max-width: 28rem;
}
.event-reserve__mes {
  align-self: stretch;
  text-align: center;
}
.event-reserve__soldout {
  margin: 0;
}

.page-head-simple {
  margin-bottom: 1.25rem;
}
.page-head-simple__title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
}
.page-head-simple__sub {
  margin: 0.25rem 0 0;
}

.reservation-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.reservation-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.reservation-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.reservation-card__title a {
  color: inherit;
  text-decoration: none;
}
.reservation-card__title a:hover {
  text-decoration: underline;
}
.reservation-card__qty {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.reservation-card__facts {
  margin: 0;
  display: grid;
  gap: 0.4rem 1rem;
  font-size: 0.9rem;
}
.reservation-card__facts > div {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 0.5rem;
}
.reservation-card__facts dt {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
}
.reservation-card__facts dd {
  margin: 0;
}

/* ——— Carte des événements (Leaflet) ——— */
.vitrine-hero--compact .vitrine-hero__title {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
}
.carte-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.carte-meta__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(100, 62, 235, 0.12);
  color: var(--accent);
}
.carte-meta__pill--muted {
  background: rgba(110, 110, 115, 0.12);
  color: var(--muted);
  font-weight: 500;
}
.carte-map-card {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.eventapp-map {
  height: min(58vh, 520px);
  min-height: 280px;
  width: 100%;
  z-index: 1;
}
.carte-attribution {
  margin: 0;
  padding: 0.5rem 0.85rem;
  font-size: 0.7rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(100, 62, 235, 0.08);
}
.carte-attribution a {
  color: var(--accent);
}
.carte-no-geo {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}
.carte-no-geo-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.carte-no-geo-list li {
  padding: 0.65rem 0.85rem;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(100, 62, 235, 0.1);
  font-size: 0.9rem;
}
.carte-no-geo-list a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.carte-no-geo-list a:hover {
  text-decoration: underline;
}
.carte-no-geo-meta {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}
.field--geo .field-hint {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 0.65rem;
  line-height: 1.45;
}
.field--geo .field-hint a {
  color: var(--accent);
  font-weight: 600;
}
.field-row-geo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}
@media (max-width: 520px) {
  .field-row-geo {
    grid-template-columns: 1fr;
  }
}
.field-sublabel {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .event-card,
  .btn {
    transition: none;
  }
  .event-card:hover {
    transform: none;
  }
}
