/**
 * Gestion d'Activités — front-end styles (archive, fiche, liste, calendrier, compte à rebours).
 *
 * Palette et typographie reprises telles quelles du site en production
 * (pre.jra-ong.org) : navy #002866 / jaune #ffee00 / bleu sourd #4d6995,
 * Poppins pour le contenu éditorial, Inter pour l'interface (nav, cartes,
 * filtres, libellés) — coins carrés partout, aucune ombre portée, à
 * l'image du reste du site.
 */

:root {
	--emp-navy: #002866;
	--emp-navy-deep: #24345c;
	--emp-yellow: #ffee00;
	--emp-navy-tint: #eef3fb;
	--emp-yellow-tint: #fffbe0;
	--emp-blue-muted: #4d6995;
	--emp-ink: #111111;
	--emp-body: #333333;
	--emp-ui-title: #181818;
	--emp-ground: #f7f7f5;
	--emp-surface: #ffffff;
	--emp-line: #e4e4e0;
	--emp-line-strong: #cfcfc9;
	--emp-done: #2e7d4f;
	--emp-done-bg: #e3f0e7;
	--emp-full: #b3401f;
	--emp-full-bg: #fbeae4;
}
/* No prefers-color-scheme variant on purpose: the rest of the site
   (theme, Elementor pages) never adapts to a visitor's dark-mode
   preference either, so these pages stay visually consistent with it —
   always the light palette above, regardless of OS/browser setting. */

/* Scoped border-box reset: several themes leave the default
   content-box in place, which made every width:100% + padding element
   below (buttons, bars, form fields) overflow its rounded container.
   Scoped to our own markup only — never a global *, so nothing on the
   rest of the page is affected. */
.emp-archive, .emp-single, .emp-event-list, .emp-event-calendar,
.emp-event-countdown, .emp-registration-form, .emp-registration-thank-you, .emp-ticket-list {
	box-sizing: border-box;
}
.emp-archive *, .emp-single *, .emp-event-list *, .emp-event-calendar *,
.emp-event-countdown *, .emp-registration-form *, .emp-registration-thank-you *, .emp-ticket-list * {
	box-sizing: inherit;
}

.emp-badge,
.emp-event-single,
.emp-event-list,
.emp-archive,
.emp-single {
	--r: 0px; /* the site never rounds a corner */
}

/* ---------------------------------------------------------------------
   Badges / status pills — shared vocabulary across cards and single page
------------------------------------------------------------------- */
.emp-badge {
	display: inline-block;
	padding: 5px 12px;
	font-family: "Inter", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.emp-badge-free { background: var(--emp-yellow); color: var(--emp-navy); }
.emp-badge-paid { background: var(--emp-navy); color: #fff; }

.emp-status-pill {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 999px;
	font-family: "Inter", sans-serif;
	font-size: 11px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: none;
}

/* Shared inline icon set (replaces emoji: 📅 📍 🎟 🔔 ✓) — sized/colored
   via CSS since svg() renders with stroke="currentColor". */
.emp-icon { width: 1em; height: 1em; flex-shrink: 0; }
.emp-icon-inline { display: inline-block; vertical-align: -0.15em; }
.emp-status-pill.emp-status-upcoming,
.emp-status-pill.emp-status-ongoing { background: var(--emp-yellow); color: var(--emp-navy); }
.emp-status-pill.emp-status-ended { background: var(--emp-done-bg); color: var(--emp-done); }
.emp-status-pill.emp-status-full { background: var(--emp-full-bg); color: var(--emp-full); }

/* legacy inline status text (kept for any theme override still using it) */
.emp-status-full { color: var(--emp-full); }
.emp-status-ended { color: #6b7280; }

/* ---------------------------------------------------------------------
   Archive — hero + filter tabs + card grid
------------------------------------------------------------------- */
.emp-archive-hero {
	background: var(--emp-navy-deep);
	color: #fff;
	padding: 52px 24px;
}
.emp-archive-hero-inner { max-width: 1180px; margin: 0 auto; }
.emp-archive-eyebrow {
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--emp-yellow);
}
.emp-archive-hero h1 {
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.15;
	color: #fff;
	margin: 12px 0 0;
	max-width: 18ch;
	text-wrap: balance;
}
.emp-archive-hero p {
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	color: #cdd8ec;
	max-width: 56ch;
	margin: 14px 0 0;
}
.emp-archive-hero-stats { display: flex; gap: 32px; margin-top: 28px; flex-wrap: wrap; }
.emp-archive-hero-stats div { display: flex; flex-direction: column; }
.emp-archive-hero-stats .n { font-family: "Poppins", sans-serif; font-size: 28px; font-weight: 700; color: var(--emp-yellow); line-height: 1; }
.emp-archive-hero-stats .l { font-family: "Inter", sans-serif; font-size: 12px; color: #a9b8d4; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 6px; }

.emp-archive-filters {
	background: var(--emp-surface);
	border-bottom: 1px solid var(--emp-line);
}
.emp-archive-filters-inner {
	max-width: 1180px; margin: 0 auto; padding: 18px 24px;
	display: flex; gap: 10px; flex-wrap: wrap;
}
.emp-filter-tab {
	display: inline-block;
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	padding: 10px 20px;
	background: var(--emp-navy);
	color: #fff;
	text-decoration: none;
	border: none;
}
.emp-filter-tab.is-active { background: var(--emp-yellow); color: var(--emp-navy); }
.emp-filter-tab:hover:not(.is-active) { background: var(--emp-navy-deep); }

.emp-archive-body { max-width: 1180px; margin: 0 auto; padding: 40px 24px 90px; }

.emp-event-list {
	display: grid;
	gap: 26px;
	grid-template-columns: repeat(3, 1fr);
}
.emp-event-list.emp-columns-1 { grid-template-columns: repeat(1, 1fr); }
.emp-event-list.emp-columns-2 { grid-template-columns: repeat(2, 1fr); }
.emp-event-list.emp-columns-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .emp-event-list { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px) { .emp-event-list { grid-template-columns: 1fr !important; } }

.emp-archive-pagination {
	margin-top: 40px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	font-family: "Inter", sans-serif;
}
.emp-archive-pagination .page-numbers {
	display: inline-block;
	min-width: 40px;
	text-align: center;
	padding: 9px 8px;
	background: var(--emp-surface);
	border: 1px solid var(--emp-line);
	color: var(--emp-navy);
	text-decoration: none;
	font-size: 14px;
}
.emp-archive-pagination .page-numbers.current { background: var(--emp-navy); color: #fff; border-color: var(--emp-navy); }
.emp-archive-pagination .page-numbers:hover:not(.current) { background: var(--emp-ground); }

.emp-no-events {
	grid-column: 1 / -1;
	padding: 48px 24px;
	text-align: center;
	font-family: "Poppins", sans-serif;
	color: var(--emp-blue-muted);
	background: var(--emp-surface);
	border: 1px solid var(--emp-line);
}

.emp-event-card {
	background: var(--emp-surface);
	border: 1px solid var(--emp-line);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0, 40, 102, 0.06), 0 10px 26px -14px rgba(0, 40, 102, 0.22);
	display: flex;
	flex-direction: column;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
@media (prefers-reduced-motion: no-preference) {
	.emp-event-card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(0, 40, 102, 0.1), 0 18px 34px -16px rgba(0, 40, 102, 0.32); }
}
.emp-event-card-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.emp-event-card-photo {
	position: relative;
	aspect-ratio: 4 / 3;
	background: linear-gradient(155deg, var(--emp-navy-deep), var(--emp-navy) 70%, var(--emp-yellow) 220%);
	overflow: hidden;
}
.emp-event-card.is-past .emp-event-card-photo { background: linear-gradient(155deg, #737a86, #4b5261); filter: saturate(0.6); }
.emp-event-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.emp-event-card-stub {
	position: absolute; top: 12px; left: 12px;
	background: var(--emp-navy);
	border-radius: 8px;
	padding: 6px 10px 5px;
	text-align: center;
	line-height: 1.05;
	box-shadow: 0 1px 2px rgba(0, 40, 102, 0.06), 0 10px 26px -14px rgba(0, 40, 102, 0.22);
}
.emp-stub-day { display: block; font-family: "Inter", sans-serif; font-size: 20px; font-weight: 700; color: #fff; }
.emp-stub-month { display: block; font-family: "Inter", sans-serif; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--emp-yellow); }

.emp-event-card-photo .emp-status-pill { position: absolute; top: 12px; right: 12px; }

.emp-event-card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.emp-event-card-cats { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.emp-event-card-cat {
	align-self: flex-start;
	font-family: "Inter", sans-serif;
	font-size: 11px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--emp-navy);
}
.emp-event-card-title {
	font-family: "Inter", sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.25;
	color: var(--emp-ui-title);
	margin: 0;
}
.emp-event-card-meta { display: flex; flex-direction: column; gap: 3px; }
.emp-event-card-location,
.emp-event-card-spots {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: "Inter", sans-serif;
	font-size: 13px;
	color: var(--emp-blue-muted);
	margin: 0;
}
.emp-event-card-info-line {
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: var(--emp-done);
	margin-top: auto;
	padding-top: 10px;
}
.emp-event-card-foot {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--emp-line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: "Inter", sans-serif;
	font-size: 14px;
}
.emp-event-card-price { font-weight: 700; color: var(--emp-navy); }
.emp-event-card-price.is-free { color: var(--emp-done); }
.emp-price-multi { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px; font-size: 13px; }
.emp-price-sep { color: var(--emp-blue-muted); font-weight: 400; }
.emp-price-see-all { font-size: 13px; }
.emp-event-card-cta { font-weight: 700; color: var(--emp-navy); }
.emp-event-card.is-past .emp-event-card-cta { color: var(--emp-blue-muted); }

/* ---------------------------------------------------------------------
   Fiche activité (single)
------------------------------------------------------------------- */
.emp-single-crumb {
	max-width: 1180px; margin: 0 auto; padding: 22px 24px 0;
	font-family: "Inter", sans-serif; font-size: 13px; color: var(--emp-blue-muted);
}
.emp-single-crumb a { color: var(--emp-blue-muted); text-decoration: none; }
.emp-single-crumb a:hover { text-decoration: underline; }

.emp-single-head { max-width: 1180px; margin: 0 auto; padding: 32px 24px 0; }
.emp-single-head-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }

.emp-event-single-title {
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.15;
	color: var(--emp-ink);
	margin: 0 0 16px;
	max-width: 24ch;
	text-wrap: balance;
}

.emp-single-meta-row {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	color: var(--emp-blue-muted);
	padding-bottom: 28px;
}
.emp-single-meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.emp-single-meta-row strong { color: var(--emp-navy); font-weight: 600; }

.emp-single-media {
	max-width: 1180px; margin: 0 auto 40px;
	aspect-ratio: 21 / 8;
	border-radius: 14px;
	background: linear-gradient(150deg, var(--emp-navy-deep), var(--emp-navy));
	overflow: hidden;
}
.emp-single-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.emp-single-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.emp-single-body { max-width: 1180px; margin: 0 auto; padding: 0 24px 90px; }
.emp-single-body.has-panel { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .emp-single-body.has-panel { grid-template-columns: 1fr; } }

.emp-single-content section + section { margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--emp-line); }
.emp-single-content h2 { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 24px; color: var(--emp-ink); margin: 0 0 14px; }

/* Sessions (activity with "sessions multiples" enabled) */
.emp-sessions-list { display: flex; flex-direction: column; gap: 12px; max-width: 62ch; }
.emp-session-card {
	border: 1px solid var(--emp-line-strong); border-radius: 10px; padding: 14px 16px;
}
.emp-session-card.is-full { opacity: 0.6; }
.emp-session-name { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 15px; color: var(--emp-navy); margin-bottom: 4px; }
.emp-session-date, .emp-session-venue {
	display: flex; align-items: center; gap: 8px;
	font-family: "Poppins", sans-serif; font-size: 14px; color: var(--emp-ink);
}
.emp-session-venue { font-family: "Inter", sans-serif; font-size: 13px; color: var(--emp-blue-muted); margin-top: 2px; }
.emp-session-card .emp-spots-caption { margin: 8px 0 0; }
.emp-form-section-hint { font-family: "Inter", sans-serif; font-size: 12px; color: var(--emp-blue-muted); margin: -6px 0 12px; }

.emp-practical-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 62ch; }
@media (max-width: 480px) { .emp-practical-grid { grid-template-columns: 1fr; } }
.emp-practical-grid > div { display: flex; flex-direction: column; gap: 4px; }
.emp-practical-grid .cap { font-family: "Inter", sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--emp-blue-muted); }
.emp-practical-grid .val { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 15px; color: var(--emp-navy); }
.emp-practical-grid .val a { color: inherit; }
.emp-venue-maps-link { display: inline-block; margin-top: 2px; color: var(--emp-blue-muted); font-weight: 600; font-family: "Inter", sans-serif; font-size: 12px; text-decoration: underline; }

.emp-tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.emp-tag {
	font-family: "Inter", sans-serif; font-size: 12px; color: var(--emp-blue-muted);
	border: 1px solid var(--emp-line-strong); border-radius: 999px; padding: 5px 12px;
}

.emp-project-chip-row { margin-top: 18px; }

.emp-event-single-description {
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	line-height: 1.75;
	color: var(--emp-body);
	max-width: 66ch;
}
.emp-event-single-description p { margin: 0 0 16px; }
.emp-event-single-description p:first-child { font-size: 1.1rem; font-weight: 500; color: var(--emp-navy); }

.emp-project-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: var(--emp-navy);
	background: #fff;
	border: 1px solid var(--emp-navy);
	border-radius: 999px;
	padding: 6px 14px 6px 12px;
	text-decoration: none;
}
.emp-project-chip:hover { background: var(--emp-navy); color: #fff; }

/* side panel — only rendered when billetterie is active */
.emp-side-panel {
	background: var(--emp-surface);
	border: 1px solid var(--emp-line);
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(0, 40, 102, 0.06), 0 10px 26px -14px rgba(0, 40, 102, 0.22);
	overflow: hidden;
	position: sticky;
	top: 20px;
}
.emp-panel-pane { padding: 22px; }
.emp-panel-pane .emp-status-pill,
.emp-panel-pane .emp-badge { margin-bottom: 14px; }
.emp-ticket-row {
	display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
	padding: 11px 0; border-top: 1px solid var(--emp-line);
	font-family: "Poppins", sans-serif; font-size: 14px;
}
.emp-ticket-row:first-of-type { border-top: none; padding-top: 0; }
.emp-ticket-row .emp-tr-name { font-weight: 600; color: var(--emp-ink); }
.emp-ticket-row .emp-tr-desc { display: block; font-family: "Inter", sans-serif; font-size: 12px; color: var(--emp-blue-muted); font-weight: 400; margin-top: 2px; }
.emp-ticket-row .emp-tr-price { font-weight: 700; color: var(--emp-navy); white-space: nowrap; }

.emp-spots-bar { height: 6px; background: var(--emp-line); overflow: hidden; margin: 16px 0 7px; }
.emp-spots-bar > i { display: block; height: 100%; background: var(--emp-yellow); }
.emp-spots-caption { font-family: "Inter", sans-serif; font-size: 12px; color: var(--emp-blue-muted); }
.emp-spots-caption strong { color: var(--emp-ink); }

.emp-btn-primary,
.emp-registration-form button[type="submit"] {
	display: block; width: 100%; text-align: center;
	background: var(--emp-yellow); color: var(--emp-navy);
	border: none; border-radius: 9px; padding: 14px; margin-top: 18px;
	font-family: "Poppins", sans-serif; font-weight: 600; font-size: 15px;
	text-decoration: none; cursor: pointer;
}
.emp-btn-primary:hover,
.emp-registration-form button[type="submit"]:hover { filter: brightness(1.05); }
.emp-registration-form button[type="submit"].is-submitting { opacity: 0.6; cursor: not-allowed; }
.emp-btn-secondary {
	display: block; width: 100%; text-align: center;
	background: transparent; color: var(--emp-navy);
	border: 1px solid var(--emp-line-strong); border-radius: 9px; padding: 12px; margin-top: 10px;
	font-family: "Poppins", sans-serif; font-weight: 600; font-size: 14px;
	text-decoration: none;
}
.emp-btn-secondary:hover { background: var(--emp-ground); }

.emp-organizer-row {
	display: flex; align-items: center; gap: 12px;
	padding: 18px 22px; border-top: 1px solid var(--emp-line);
}
.emp-organizer-avatar {
	width: 40px; height: 40px; border-radius: 50%; flex: none;
	background: var(--emp-navy); color: var(--emp-yellow);
	display: flex; align-items: center; justify-content: center;
	font-family: "Poppins", sans-serif; font-weight: 700; font-size: 13px;
}
.emp-organizer-row .l { font-family: "Inter", sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--emp-blue-muted); }
.emp-organizer-row .v { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 14px; color: var(--emp-ink); }

.emp-event-single-registration { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--emp-line); }

/* Hidden until the "S'inscrire" CTA is clicked — gated behind a class
   the JS adds at runtime, so visitors with JS disabled (or the
   toggle script failing to load) still get the form, just always open. */
.emp-js-reg-toggle .emp-event-single-registration { display: none; }
.emp-js-reg-toggle .emp-event-single-registration.is-open { display: block; }

.emp-registration-card {
	background: var(--emp-ground);
	border-radius: 20px;
	padding: 40px 36px;
}
@media (max-width: 560px) { .emp-registration-card { padding: 28px 20px; } }

.emp-event-single-registration h2 {
	font-family: "Poppins", sans-serif; font-weight: 700; font-size: 28px; color: var(--emp-navy);
	text-align: center;
	margin: 0 0 28px;
}

/* White fields on the card's grey ground, no visible stroke — the
   background contrast alone marks the field, matching the site's
   contact-form look. */
.emp-registration-card .emp-field input[type="text"],
.emp-registration-card .emp-field input[type="email"],
.emp-registration-card .emp-field input[type="tel"],
.emp-registration-card .emp-field input[type="number"],
.emp-registration-card .emp-field select {
	border: none;
	border-radius: 12px;
	background: var(--emp-surface);
}
.emp-registration-card .emp-field input[type="text"]:focus,
.emp-registration-card .emp-field input[type="email"]:focus,
.emp-registration-card .emp-field input[type="tel"]:focus,
.emp-registration-card .emp-field input[type="number"]:focus,
.emp-registration-card .emp-field select:focus { outline: 2px solid var(--emp-navy); outline-offset: 0; }
.emp-registration-card .emp-ticket-type-choice,
.emp-registration-card .emp-form-errors,
.emp-registration-card .emp-registration-thank-you { background: var(--emp-surface); }

.emp-registration-card .emp-registration-form button[type="submit"] {
	display: block; width: auto; min-width: 240px;
	margin: 24px auto 0;
	border-radius: 12px;
}

/* Calendar */
.emp-event-calendar { max-width: 900px; font-family: "Inter", sans-serif; }
.emp-calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.emp-calendar-title { font-family: "Poppins", sans-serif; font-size: 18px; font-weight: 600; text-transform: capitalize; color: var(--emp-ink); }
.emp-calendar-nav { text-decoration: none; font-size: 20px; padding: 4px 12px; color: var(--emp-navy); }
.emp-calendar-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.emp-calendar-grid th { padding: 8px; font-size: 12px; text-transform: uppercase; color: var(--emp-blue-muted); }
.emp-calendar-grid td { border: 1px solid var(--emp-line); vertical-align: top; height: 90px; padding: 6px; font-size: 12px; }
.emp-calendar-day-number { display: block; font-weight: 600; margin-bottom: 4px; color: var(--emp-ink); }
.emp-calendar-day.has-events { background: var(--emp-ground); }
.emp-calendar-event {
	display: block; font-size: 11px; background: var(--emp-navy); color: #fff;
	padding: 2px 4px; margin-bottom: 2px; text-decoration: none;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Countdown */
.emp-event-countdown { display: flex; gap: 16px; font-family: "Inter", sans-serif; }
.emp-countdown-segment { text-align: center; min-width: 60px; }
.emp-countdown-value { display: block; font-family: "Poppins", sans-serif; font-size: 28px; font-weight: 700; line-height: 1; color: var(--emp-navy); }
.emp-countdown-label { display: block; font-size: 11px; text-transform: uppercase; color: var(--emp-blue-muted); margin-top: 4px; }
.emp-countdown-elapsed { opacity: 0.5; }

/* ---------------------------------------------------------------------
   Registration form
------------------------------------------------------------------- */
.emp-registration-form { font-family: "Poppins", sans-serif; max-width: 640px; }
.emp-honeypot-field { position: absolute; left: -9999px; top: -9999px; }

.emp-form-section { padding: 26px 0; border-top: 1px solid var(--emp-line); }
.emp-registration-form > .emp-form-section:first-of-type { border-top: none; padding-top: 0; }
.emp-form-section-title {
	font-family: "Inter", sans-serif; font-size: 13px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.06em; color: var(--emp-navy);
	margin: 0 0 18px;
}

.emp-form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .emp-form-grid-2 { grid-template-columns: 1fr; } }

.emp-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.emp-form-grid-2 > .emp-field { margin-bottom: 0; }
.emp-field:last-child { margin-bottom: 0; }
.emp-field-narrow { max-width: 260px; }
.emp-field label {
	font-family: "Inter", sans-serif; font-size: 12px; font-weight: 600;
	color: var(--emp-blue-muted); text-transform: uppercase; letter-spacing: 0.04em;
}
.emp-field input[type="text"],
.emp-field input[type="email"],
.emp-field input[type="tel"],
.emp-field input[type="number"],
.emp-field select {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--emp-line-strong);
	border-radius: 8px;
	font-family: "Poppins", sans-serif; font-size: 14px;
	background: var(--emp-surface); color: var(--emp-ink);
}
.emp-field input:focus,
.emp-field select:focus { outline: 2px solid var(--emp-navy); outline-offset: 1px; }

/* ticket type cards */
.emp-ticket-type-choices { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.emp-ticket-type-choice {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	column-gap: 12px; row-gap: 2px;
	padding: 13px 16px;
	border: 1px solid var(--emp-line-strong);
	border-radius: 10px;
	cursor: pointer;
}
.emp-ticket-type-choice input { grid-row: 1 / 3; margin: 0; accent-color: var(--emp-navy); }
.emp-ticket-type-choice .emp-tt-name { font-weight: 600; font-size: 14px; color: var(--emp-ink); }
.emp-tt-session-name { display: block; font-weight: 700; color: var(--emp-navy); }
.emp-ticket-type-choice .emp-tt-price { font-weight: 700; font-size: 14px; color: var(--emp-navy); }
.emp-ticket-type-choice .emp-tt-spots { grid-column: 2 / 3; font-family: "Inter", sans-serif; font-size: 12px; color: var(--emp-blue-muted); }
.emp-ticket-type-choice:has(input:checked) { border-color: var(--emp-navy); border-width: 2px; padding: 12px 15px; background: rgba(0, 40, 102, 0.04); }
/* Some sites add their own custom CSS drawing a fake radio-button circle
   via `.emp-ticket-type-choice::after` (a leftover skin for the paid
   single-ticket-type radio choice). This class is shared with the free
   multi-session checkbox choice, where that circle is meaningless and
   never toggles — explicitly suppress any such decoration there. */
.emp-ticket-type-choice:has(input[type="checkbox"])::after { display: none !important; content: none !important; }
.emp-ticket-type-choice.is-disabled { opacity: 0.5; cursor: not-allowed; }
.emp-sold-out { color: var(--emp-full); font-weight: 600; }

/* Bénin / Autre pays segmented toggle */
.emp-pill-toggle { display: inline-flex; border: 1px solid var(--emp-line-strong); border-radius: 999px; padding: 3px; margin-bottom: 18px; }
.emp-pill-toggle label {
	position: relative;
	display: inline-flex; align-items: center;
	padding: 7px 18px; border-radius: 999px; cursor: pointer;
	font-family: "Inter", sans-serif; font-size: 13px; font-weight: 600; color: var(--emp-blue-muted);
}
.emp-pill-toggle label input { position: absolute; opacity: 0; pointer-events: none; }
.emp-pill-toggle label:has(input:checked),
.emp-pill-toggle label.is-checked { background: var(--emp-navy); color: #fff; }
.emp-reg-benin-row,
.emp-reg-other-row { margin-top: 2px; }

.emp-consent {
	display: flex; align-items: flex-start; gap: 10px;
	font-family: "Poppins", sans-serif; font-size: 14px; color: var(--emp-body);
	margin: 26px 0 24px;
	cursor: pointer;
}
.emp-consent input { margin-top: 3px; accent-color: var(--emp-navy); flex: none; }

.emp-form-errors {
	background: var(--emp-full-bg); border: 1px solid var(--emp-full); border-radius: 8px;
	padding: 14px 16px; margin-bottom: 20px; color: var(--emp-full);
	font-family: "Poppins", sans-serif; font-size: 14px;
}
.emp-form-errors ul { margin: 0; padding-left: 18px; }
.emp-registration-thank-you {
	padding: 20px 22px; background: var(--emp-done-bg); border: 1px solid var(--emp-done); border-radius: 10px;
	color: var(--emp-done); font-family: "Poppins", sans-serif; font-size: 15px;
}

/* ---------------------------------------------------------------------
   Billets disponibles — [event_tickets] / widget "Billets disponibles"
   Cadre navy dentelé + panneau blanc, dans le même esprit qu'un vrai
   billet déchirable. Les encoches sont deux pseudo-éléments couleur du
   fond de page, à cheval sur le bord du cadre — elles supposent donc
   que le billet repose sur --emp-ground (ou une autre couleur unie
   connue), pas sur une photo ou un dégradé.
------------------------------------------------------------------- */

.emp-ticket-list { display: flex; flex-direction: column; gap: 20px; }
.emp-no-events { font-family: "Inter", sans-serif; color: var(--emp-blue-muted); }

.emp-ticket-card { display: block; }
.emp-ticket-card-link { display: block; text-decoration: none; color: inherit; }

.emp-ticket-card-inner {
	position: relative;
	background: var(--emp-navy);
	border-radius: 20px;
	padding: 9px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 1px 2px rgba(0, 40, 102, 0.10), 0 14px 26px -16px rgba(0, 40, 102, 0.35);
}
.emp-ticket-card-link:hover .emp-ticket-card-inner { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(0, 40, 102, 0.12), 0 18px 32px -16px rgba(0, 40, 102, 0.42); }

.emp-ticket-card-inner::before,
.emp-ticket-card-inner::after {
	content: "";
	position: absolute;
	top: 50%; transform: translateY(-50%);
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--emp-ground);
}
.emp-ticket-card-inner::before { left: -13px; }
.emp-ticket-card-inner::after  { right: -13px; }

.emp-ticket-panel {
	background: var(--emp-surface);
	border-radius: 14px;
	display: grid;
	grid-template-columns: 1.5fr 1.15fr auto 0.95fr;
	align-items: stretch;
}

.emp-ticket-main { padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.emp-ticket-eyebrow { font-family: "Inter", sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--emp-blue-muted); }
.emp-ticket-title { font-family: "Poppins", sans-serif; font-size: 21px; font-weight: 700; color: var(--emp-ink); line-height: 1.25; margin: 0; }
.emp-ticket-date {
	display: inline-flex; align-self: flex-start; background: var(--emp-yellow); color: var(--emp-navy);
	font-family: "Inter", sans-serif; font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: 999px;
}

.emp-ticket-facts { padding: 24px 20px; display: flex; flex-direction: column; justify-content: center; gap: 14px; border-left: 1px solid var(--emp-line); }
.emp-ticket-fact .l { font-family: "Inter", sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--emp-blue-muted); margin-bottom: 3px; }
.emp-ticket-fact .v { font-family: "Poppins", sans-serif; font-size: 14px; font-weight: 600; color: var(--emp-ink); line-height: 1.4; }

.emp-ticket-perf { border-left: 2px dashed var(--emp-line); margin: 16px 0; }

.emp-ticket-stub { padding: 24px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.emp-ticket-price { font-family: "Poppins", sans-serif; font-size: 14px; font-weight: 700; color: var(--emp-navy); line-height: 1.35; }
.emp-ticket-price.is-free { color: var(--emp-done); }
.emp-ticket-price-see-all { font-size: 13px; }
.emp-ticket-price-sep { color: var(--emp-blue-muted); font-weight: 400; }
.emp-ticket-qr { width: 56px; height: 56px; display: block; }
.emp-ticket-cta { font-family: "Inter", sans-serif; font-size: 12px; font-weight: 700; color: var(--emp-navy); }
.emp-ticket-card.is-full .emp-ticket-cta { color: var(--emp-full); }

@media (max-width: 760px) {
	.emp-ticket-panel { grid-template-columns: 1fr; }
	.emp-ticket-facts { border-left: none; border-top: 1px solid var(--emp-line); flex-direction: row; flex-wrap: wrap; column-gap: 24px; }
	.emp-ticket-perf { display: none; }
	.emp-ticket-stub { border-top: 2px dashed var(--emp-line); flex-direction: row; justify-content: space-between; text-align: left; }
	.emp-ticket-card-inner::before, .emp-ticket-card-inner::after { top: 40px; }
}

/* Post-event summary panel (activité terminée): expected vs obtained places, and the avis card. */
.emp-status-pill.emp-status-ended { display: inline-flex; align-items: center; gap: 5px; }
.emp-status-pill .emp-icon-inline { width: 14px; height: 14px; }
.emp-end-notice { display: flex; align-items: flex-start; gap: 8px; font-family: "Inter", sans-serif; font-size: 14px; color: var(--emp-blue-muted); margin: 0 0 16px; }
.emp-end-notice-icon { width: 17px; height: 17px; flex: none; margin-top: 1px; color: var(--emp-navy); }

.emp-end-stats-card { background: var(--emp-navy-tint); border-radius: 12px; padding: 18px 20px; margin: 0 0 14px; }
.emp-end-compare { display: flex; align-items: center; margin: 0; }
.emp-end-compare-single { justify-content: center; }
.emp-end-num { flex: 1; text-align: center; }
.emp-end-num .emp-icon { width: 20px; height: 20px; color: var(--emp-navy); }
.emp-end-num .n { display: block; font-family: "Poppins", sans-serif; font-size: 26px; font-weight: 700; color: var(--emp-navy); margin-top: 4px; }
.emp-end-num .l { display: block; font-family: "Inter", sans-serif; font-size: 12px; color: var(--emp-blue-muted); margin-top: 2px; }
.emp-end-sep { width: 1px; align-self: stretch; min-height: 48px; background: var(--emp-line-strong); margin: 0 6px; }
.emp-end-stats-card .emp-spots-bar { margin-top: 16px; }
.emp-end-reach-caption.emp-spots-caption { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; color: var(--emp-navy); font-weight: 600; }
.emp-end-reach-caption .emp-icon { width: 15px; height: 15px; }

.emp-end-avis-card { background: var(--emp-yellow-tint); border-radius: 12px; padding: 16px 18px; margin: 0 0 16px; }
.emp-end-avis-h { display: flex; align-items: center; gap: 7px; font-family: "Inter", sans-serif; font-size: 14px; font-weight: 600; color: var(--emp-navy); margin: 0 0 12px; }
.emp-end-avis-h .emp-icon { width: 17px; height: 17px; color: var(--emp-navy); }
.emp-end-rating { display: flex; align-items: center; background: var(--emp-surface); border-radius: 10px; padding: 12px 16px; }
.emp-end-rating-main { flex: 1; }
.emp-end-rating-value { font-family: "Poppins", sans-serif; font-size: 24px; font-weight: 700; color: var(--emp-navy); }
.emp-end-rating-out { font-family: "Inter", sans-serif; font-size: 13px; font-weight: 400; color: var(--emp-blue-muted); margin-left: 2px; }
.emp-end-stars { display: block; font-size: 15px; letter-spacing: 2px; margin-top: 2px; }
.emp-end-stars .on { color: var(--emp-yellow); }
.emp-end-stars .off { color: var(--emp-line-strong); }
.emp-end-rating-sep { width: 1px; height: 34px; background: var(--emp-line); margin: 0 16px; }
.emp-end-rating-label { font-family: "Inter", sans-serif; font-size: 12.5px; color: var(--emp-blue-muted); }

.emp-btn-disabled, .emp-btn-disabled:hover { pointer-events: none; opacity: 0.6; cursor: default; }

/* Session already past, inside an activity that is not fully ended yet. */
.emp-session-name .emp-status-pill { margin-left: 8px; vertical-align: middle; }
