/* Helpers console revendeur — shell = base_platform Tickets Place (Bootstrap). */
.org-kpi { border: 1px solid #e9edf3; border-radius: .75rem; box-shadow: none; }
.org-kpi-head { display: flex; align-items: center; gap: .5rem; margin-bottom: .45rem; }
.org-kpi-icon {
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: .95rem;
}
.org-kpi-icon--published { background: #e8f1fe; color: #1877f2; }
.org-kpi-icon--tickets { background: #eef2ff; color: #4f46e5; }
.org-kpi-icon--balance { background: #e8f1fe; color: #1877f2; }
.org-kpi-label { color: #66748b; font-size: .9rem; }
.org-kpi-value { font-size: 2rem; font-weight: 700; line-height: 1.1; color: #111827; }
.badge-event-published { background: #ddf8e8; color: #0d8a4d; }
.badge-event-draft { background: #eef2f8; color: #516176; }

.reseller-guest {
  max-width: 560px;
}

.reseller-guest--wide {
  max-width: 960px;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d8e1ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #2a73d9;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(42, 115, 217, 0.12);
}

.field .errorlist,
.field .errorlist li,
.errorlist {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
  color: #b42318;
  font-size: 0.875rem;
}

.field small {
  display: block;
  margin-top: 0.35rem;
  color: #6b7280;
  font-size: 0.82rem;
}

.member-row,
.transfer-row,
.invitation-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  padding: 1rem;
  border: 1px solid #e8edf5;
  border-radius: 0.75rem;
  background: #fff;
  margin-bottom: 0.7rem;
}

.member-name {
  min-width: 12rem;
  flex: 1 1 12rem;
}

.member-name span {
  display: block;
  color: #66748b;
  font-size: 0.85rem;
}

.member-row .checkbox {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.9rem;
}

.member-row select,
.transfer-row input[type="email"] {
  min-height: 42px;
  min-width: 11rem;
  border: 1px solid #d8e1ee;
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
}

.public-catalogue .venue-photo {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  border-radius: 0.85rem;
  border: 1px solid #e8edf5;
}

.public-events article {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid #e8edf5;
  border-radius: 0.75rem;
  background: #fff;
}

.public-events article + article {
  margin-top: 0.7rem;
}

.public-events .event-date {
  width: 4.2rem;
  text-align: center;
  flex-shrink: 0;
}

.public-events .event-date strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--ph-primary, #1877f2);
}

.public-events .event-date span {
  font-size: 0.78rem;
  color: #66748b;
  text-transform: uppercase;
}

.public-events a {
  color: var(--ph-primary, #0f172a);
}

.reseller-public-shell {
  max-width: none;
  padding: 0;
  margin: 0;
}

.public-home {
  --ph-ink: #10212a;
  --ph-muted: rgba(16, 33, 42, 0.68);
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ph-ink);
  background:
    radial-gradient(1200px 480px at 10% -10%, color-mix(in srgb, var(--ph-primary) 18%, transparent), transparent 70%),
    linear-gradient(180deg, #f7fafb 0%, #eef4f6 100%);
}

.public-hero {
  position: relative;
  min-height: min(100vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.public-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: public-hero-drift 18s ease-in-out infinite alternate;
}

.public-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 18, 24, 0.18) 0%, rgba(8, 18, 24, 0.55) 48%, rgba(8, 18, 24, 0.82) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--ph-primary) 35%, transparent), transparent 55%);
}

.public-hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0 3.5rem;
  animation: public-rise 0.9s ease both;
}

.public-hero__brand {
  display: block;
  max-height: 64px;
  width: auto;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.public-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
}

.public-hero__title {
  margin: 0;
  max-width: 14ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.public-hero__lead {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.public-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.public-hero__cta,
.public-hero__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.public-hero__cta {
  background: var(--ph-accent);
  color: var(--ph-on-accent, #10212a);
}

.public-hero__ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.public-hero__cta:hover,
.public-hero__ghost:hover {
  transform: translateY(-2px);
  color: inherit;
}

.public-section {
  padding: 4rem 0;
}

.public-section__inner {
  width: min(960px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.public-section__inner--narrow {
  width: min(720px, calc(100% - 2.5rem));
}

.public-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.public-section__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ph-primary, #006b83);
}

.public-section__title {
  margin: 0 0 1.25rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.public-section__head .public-section__title {
  margin-bottom: 0;
}

.public-section__link {
  font-weight: 700;
  color: var(--ph-primary, #006b83);
  text-decoration: none;
}

.public-section__link:hover {
  color: var(--ph-accent, #f39200);
}

.ph-events {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.ph-event {
  display: flex;
  flex-direction: column;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(16, 33, 42, 0.07);
  box-shadow: 0 18px 40px rgba(16, 33, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ph-event:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(16, 33, 42, 0.1);
}

.ph-event__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.ph-event__media img,
.ph-event__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.ph-event__fallback {
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.ph-event:hover .ph-event__media img,
.ph-event:hover .ph-event__fallback {
  transform: scale(1.06);
}

.ph-event__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 18, 24, 0.45) 100%);
  pointer-events: none;
}

.ph-event__date {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  min-width: 3.4rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.94);
  color: #10212a;
  text-align: center;
  line-height: 1.05;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.ph-event__date strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
}

.ph-event__date em {
  display: block;
  margin-top: 0.1rem;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ph-primary, #006b83);
}

.ph-event__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.05rem 1.1rem 1.2rem;
  flex: 1;
}

.ph-event__cat {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ph-accent, #f39200);
}

.ph-event__title {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ph-event__title a {
  color: inherit;
  text-decoration: none;
}

.ph-event__title a:hover {
  color: var(--ph-primary, #006b83);
}

.ph-event__meta {
  margin: 0;
  color: var(--ph-muted, #66748b);
  font-size: 0.9rem;
}

.ph-event__cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  background: var(--ph-primary, #006b83);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.ph-event__cta:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  color: #fff !important;
}

@media (max-width: 992px) {
  .ph-events {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ph-events {
    grid-template-columns: 1fr;
  }
}

.public-section--events {
  background: rgba(255, 255, 255, 0.72);
  border-block: 1px solid rgba(16, 33, 42, 0.06);
}

.public-section--events .public-section__inner {
  width: min(1120px, calc(100% - 2.5rem));
}

.public-section--about,
.public-section--contact {
  animation: public-rise 0.8s ease both;
}

.public-prose {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ph-muted);
}

@keyframes public-hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@keyframes public-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .public-hero__media,
  .public-hero__content,
  .public-section--about,
  .public-section--contact {
    animation: none;
  }
}
