/*
 * Spoort, composants de contenu.
 *
 * Porté depuis le Design System (projet Claude Design « Spoort — Design »).
 * Remplace l'ancien assets/css/contenus.css et son préfixe sp-c- : une seule
 * famille de noms pour tout le site.
 *
 * Chargée après main.css, qui garde la base et le chrome, et avant home.css,
 * qui conserve ses propres bannière et bandeau sponsors : l'accueil ne bouge
 * pas, seuls la navigation et le bouton Réserver changent, comme autorisé.
 */

/* Règle transversale : toute surface claire déclare sa propre encre. Posée
   dans une section sombre, elle hériterait sinon du crème de la section et son
   texte disparaîtrait sur le blanc. */

:focus-visible {
	outline: 2px solid var(--sp-focus-ring);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ===== Structure ===== */

.sp-section { padding-block: var(--sp-section-y); }
/* Pas de filet entre deux sections : c'est le fond qui rythme la page
   (.sp-section--alt, .sp-section--nuit) quand deux voisines se confondraient. */

.sp-section--nuit {
	background: var(--sp-surface-inverse);
	color: var(--sp-text-on-inverse-fort);
}

.sp-section--alt { background: var(--sp-surface-alt); }

.sp-section-sous-titre { font-size: var(--sp-fs-sous-titre); margin: 0 0 var(--sp-space-5); }

/* ===== Pastilles, étiquettes, chips ===== */



/* État ouvert ou fermé, aligné sur spoort-horaires */
.sp-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	padding: 0.35em 0.85em;
	border-radius: var(--sp-radius-pill);
	font-size: var(--sp-fs-small);
	font-weight: 600;
}
.sp-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sp-badge-court { display: none; text-transform: capitalize; }
.sp-badge--ouvert { background: var(--sp-status-open-fond); color: var(--sp-status-open-ink); }
.sp-badge--ferme { background: var(--sp-status-closed-fond); color: var(--sp-status-closed-ink); }

/* ===== Boutons ===== */

.sp-btn--bloc { width: 100%; }

/* L'action qui engage : réserver, s'inscrire, envoyer une demande. Une seule
   par bloc de décision, sauf dans une liste d'options parallèles où c'est la
   même action appliquée à plusieurs objets. */

.sp-actions { display: flex; flex-wrap: wrap; gap: var(--sp-space-3); margin: 0; }

/* ===== Bannière ===== */

.sp-hero {
	position: relative;
	min-height: 62vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: var(--sp-nuit-4);
	overflow: hidden;
	padding-bottom: clamp(40px, 6vw, 72px);
}
.sp-hero--petit { min-height: 42vh; }
.sp-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-hero-veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(var(--sp-voile-rgb), 0.92) 0%, rgba(var(--sp-voile-rgb), 0.45) 52%, rgba(var(--sp-voile-rgb), 0.18) 100%);
	pointer-events: none;
}
.sp-hero-inner { position: relative; padding-top: 140px; color: var(--sp-text-on-inverse-fort); }
.sp-hero-titre { margin: 0; max-width: 20ch; font-size: var(--sp-fs-hero); line-height: 0.98; }
/* Ville du titre (« à Reconvilier ») : seconde ligne, plus légère et plus claire. */
.sp-hero-lieu { display: block; margin-top: var(--sp-space-2); font-size: 0.55em; font-weight: 500; letter-spacing: 0; line-height: 1.1; color: var(--sp-ball-lumiere); }
.sp-hero-lead {
	margin: var(--sp-space-6) 0 0;
	max-width: 56ch;
	font-size: var(--sp-fs-lead);
	line-height: 1.55;
	color: rgba(var(--sp-cream-rgb), 0.92);
}
.sp-hero-haut { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-space-3); margin-bottom: var(--sp-space-4); }

/* Appartenance au centre : une vraie entrée, pas une métadonnée de plus. */
.sp-centre-lien {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-space-3);
	padding: 8px 16px 8px 10px;
	border-radius: var(--sp-radius-pill);
	background: var(--sp-glass);
	border: 1px solid var(--sp-border-glass);
	backdrop-filter: blur(14px);
	color: var(--sp-text-on-inverse-fort);
	font-size: var(--sp-fs-small);
	font-weight: 600;
	transition: background-color var(--sp-transition);
}
.sp-centre-lien:hover { background: var(--sp-glass-actif); color: var(--sp-text-on-inverse-fort); }

/* ===== Infos pratiques ===== */

.sp-grid-infos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: var(--sp-gap);
}
.sp-info {
	display: flex;
	flex-direction: column;
	gap: var(--sp-space-2);
	padding: var(--sp-space-6);
	background: var(--sp-surface-primary);
	color: var(--sp-text-primary);
	border: 1px solid var(--sp-border-subtle);
	border-radius: var(--sp-radius-md);
}
.sp-info-titre {
	margin: 0;
	font-size: var(--sp-fs-micro);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sp-text-subtle);
}
.sp-info-texte { margin: 0; color: var(--sp-text-muted); line-height: 1.6; }
.sp-info-liste { display: flex; flex-direction: column; gap: var(--sp-space-2); color: var(--sp-text-muted); }
.sp-info-liste li { display: flex; gap: var(--sp-space-3); }
.sp-info-liste li::before { content: ""; flex: 0 0 auto; width: 5px; height: 5px; margin-top: 0.62em; border-radius: 50%; background: var(--sp-border-strong); }

/* ===== Cartes ===== */

/* auto-fill : une carte seule garde la largeur qu'elle a dans une liste de
   plusieurs, au lieu de s'étirer sur toute la ligne (les pistes vides restent
   vides à droite). Les minimums sont calculés gouttières comprises, sur
   1216 px de contenu : 300 px donne trois colonnes, 275 en donne quatre, 200
   en donne cinq. */
.sp-grid-cartes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
	gap: var(--sp-space-5);
}
.sp-grid-cartes--coachs { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.sp-grid-cartes--large { grid-template-columns: repeat(auto-fill, minmax(min(275px, 100%), 1fr)); }

.sp-carte {
	display: flex;
	flex-direction: column;
	background: var(--sp-surface-primary);
	border: 1px solid var(--sp-border-subtle);
	border-radius: var(--sp-radius-md);
	overflow: hidden;
	color: var(--sp-text-primary);
	transition: transform var(--sp-transition), box-shadow var(--sp-transition), border-color var(--sp-transition);
}

.sp-carte-media { height: 180px; background: var(--sp-surface-alt); }
.sp-carte-media img { width: 100%; height: 100%; object-fit: cover; }
.sp-carte-body { flex: 1; padding: var(--sp-space-5) 22px 22px; display: flex; flex-direction: column; gap: var(--sp-space-2); }
.sp-carte-titre { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
.sp-carte-texte { font-size: var(--sp-fs-small); line-height: 1.5; color: var(--sp-text-muted); }
.sp-carte-date { font-size: var(--sp-fs-xs); font-weight: 700; color: var(--sp-accent-reconvilier-ink); }
.sp-carte-prix { font-size: 0.9375rem; font-weight: 700; }
.sp-carte-meta { display: flex; flex-wrap: wrap; gap: var(--sp-space-2) var(--sp-space-4); font-size: var(--sp-fs-xs); color: var(--sp-text-subtle); }

.sp-carte--coach .sp-carte-media { height: auto; aspect-ratio: 4 / 5; }
.sp-carte--coach .sp-carte-media img { display: block; object-position: 50% 25%; }
.sp-carte--coach .sp-carte-body { padding: var(--sp-space-5) var(--sp-space-5) var(--sp-space-4); gap: var(--sp-space-3); }
.sp-coach-role { font-size: var(--sp-fs-xs); color: var(--sp-text-subtle); margin-top: -6px; }
.sp-coach-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-coach-spec { padding: 4px 10px; border-radius: 999px; background: var(--sp-surface-alt); font-size: var(--sp-fs-xs); font-weight: 500; color: var(--sp-text-muted); white-space: nowrap; }
.sp-coach-pied { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: var(--sp-space-3); border-top: 1px solid var(--sp-border-subtle); font-size: var(--sp-fs-small); font-weight: 700; }

.sp-carte-media--rond { width: 96px; height: 96px; margin: var(--sp-space-6) auto 0; border-radius: 50%; overflow: hidden; }

/* ===== Galerie ===== */

.sp-galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: var(--sp-space-4); }
.sp-galerie-item { border-radius: var(--sp-radius-md); overflow: hidden; }
.sp-galerie-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sp-galerie-lien { display: block; cursor: zoom-in; }
.sp-galerie-lien img { display: block; transition: transform var(--sp-duree-revelation) var(--sp-courbe-sortie); }
.sp-galerie-lien:hover img { transform: scale(1.04); }
.sp-galerie-lien:focus-visible { outline-offset: -3px; }

/* ===== Sponsors, une seule implémentation ===== */

.sp-sponsors {
	overflow: hidden;
	background: var(--sp-surface-alt);
	border-top: 1px solid var(--sp-border-subtle);
	border-bottom: 1px solid var(--sp-border-subtle);
	padding-block: var(--sp-space-10);
}
.sp-sponsors-titre {
	margin: 0 auto var(--sp-space-6);
	font-size: var(--sp-fs-micro);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sp-text-muted);
}
.sp-sponsors-piste { display: flex; width: max-content; animation: sp-marquee 42s linear infinite; }
.sp-sponsors-suite { display: flex; align-items: center; }
.sp-sponsor { flex: 0 0 auto; margin: 0 26px; display: flex; align-items: center; }
.sp-sponsor img { max-height: 40px; width: auto; filter: grayscale(1); opacity: 0.65; transition: filter var(--sp-transition), opacity var(--sp-transition); }
.sp-sponsor:hover img { filter: none; opacity: 1; }
.sp-sponsor-nom {
	padding: 14px 28px;
	border: 1.5px dashed var(--sp-border-strong);
	border-radius: var(--sp-radius-sm);
	font-family: var(--sp-font-mono);
	font-size: var(--sp-fs-small);
	color: var(--sp-text-muted);
	white-space: nowrap;
}
@keyframes sp-marquee {
	from { transform: translateX(0); } to { transform: translateX(-50%); }
}



/* ===== Barre de réservation persistante ===== */

/* Barre d'application : une pilule de verre dépoli, centrée et de la largeur
   de son contenu, une icône sur un libellé court par entrée, l'action en
   jaune au bout. Le centrage passe par left/right + marge automatique et non
   par un transform, réservé à l'apparition. */
.sp-barre {
	position: fixed;
	left: 0; right: 0;
	bottom: calc(var(--sp-space-4) + env(safe-area-inset-bottom, 0px));
	z-index: 40;
	width: fit-content;
	max-width: calc(100% - 2 * var(--sp-gutter));
	margin-inline: auto;
	background: var(--sp-barre-verre-repli);
	color: var(--sp-text-on-inverse-fort);
	border: 1px solid var(--sp-border-glass-fine);
	border-radius: var(--sp-radius-pill);
	box-shadow: var(--sp-barre-reflet), var(--sp-shadow);
}
@supports (backdrop-filter: blur(1px)) {
	.sp-barre {
		background: var(--sp-barre-verre);
		backdrop-filter: blur(var(--sp-barre-flou)) saturate(1.6);
	}
}
.sp-barre-inner {
	/* Le jeton compte la barre entière : on retire ses deux bordures. */
	min-height: calc(var(--sp-barre-h) - 2px);
	padding: calc(var(--sp-space-1) + var(--sp-space-1) / 2);
	display: flex;
	align-items: center;
	gap: var(--sp-space-1);
}
/* Une entrée : icône à gauche, libellé à sa droite, sur une seule ligne.

   Empilées, l'icône au-dessus du mot, les entrées tenaient moins de largeur
   mais imposaient deux lignes à toute la barre — et une flèche de retour
   posée au-dessus de « Retour » ne désigne plus rien. En ligne, chaque
   entrée se lit comme une pastille et la barre reste basse ; la largeur se
   rattrape sur les marges intérieures, resserrées d'autant. */
.sp-barre-lien {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-space-2);
	min-height: var(--sp-cible-tactile);
	padding: var(--sp-space-1) var(--sp-space-3);
	border-radius: var(--sp-radius-pill);
	font-size: var(--sp-fs-xs);
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--sp-text-on-inverse);
	transition: background-color var(--sp-transition), color var(--sp-transition);
}
/* Une entrée qui ouvre une fenêtre (« Livraison ») est un <button> : même
   allure que les liens de la barre. */
button.sp-barre-lien { border: 0; background: none; font-family: inherit; cursor: pointer; }
.sp-barre-lien:hover { background: var(--sp-action-quiet-actif); color: var(--sp-text-on-inverse-fort); }
.sp-barre-lien:focus-visible { outline: 2px solid var(--sp-focus-ring); outline-offset: 2px; }
.sp-barre-icone { width: var(--sp-barre-icone); height: var(--sp-barre-icone); flex: none; }
.sp-barre-icone-boite { position: relative; display: inline-flex; }
/* L'état d'ouverture se lit d'un point sur l'horloge, cerclé de crème pour
   se détacher du verre ; son texte (« ouvert », « fermé ») reste lu par les
   lecteurs d'écran. */
.sp-barre-lien .sp-badge {
	position: absolute;
	top: 0; right: 0;
	transform: translate(35%, -25%);
	padding: 0;
	font-size: 0;
	background: none;
}
.sp-barre-lien .sp-badge::before { box-shadow: 0 0 0 2px var(--sp-text-on-inverse-fort); }
.sp-barre-action { display: flex; min-width: 0; margin-inline-start: var(--sp-space-1); }
.sp-barre-action .sp-btn { min-height: var(--sp-cible-tactile); gap: var(--sp-space-2); }
/* La barre flotte : l'espace réservé compte aussi sa marge basse. */
.sp-barre-espace { height: calc(var(--sp-barre-h) + var(--sp-space-4) + env(safe-area-inset-bottom, 0px)); }

/* Barre de sections (fiche centre) : les entrées défilent à l'horizontale
   quand elles sont trop nombreuses, le bouton de réservation reste fixe. La
   section en cours est marquée par aria-current (assets/js/contenus.js). */
.sp-barre-defile { display: flex; align-items: center; gap: var(--sp-space-1); min-width: 0; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.sp-barre-defile::-webkit-scrollbar { display: none; }
/* Le bouton Réserver ne rétrécit jamais : c'est la piste des sections qui
   défile quand la pilule manque de place. */
.sp-barre--sections .sp-barre-action { flex: none; }
.sp-barre-lien[aria-current="location"] { background: var(--sp-action-secondary-actif); color: var(--sp-text-on-inverse-fort); }
.sp-barre-lien[aria-current="location"] .sp-barre-icone { color: var(--sp-action-booking); }
.sp-section[id] { scroll-margin-top: calc(var(--sp-nav-h) + var(--sp-space-4)); }
/* La réserve prend le fond du bloc qui la précède : sans cela, une bande de
   la couleur de la page séparait le dernier bloc sombre du pied de page. */
:is(.sp-sponsors, .sp-section--nuit, .sp-cta-final) + .sp-barre + .sp-barre-espace { background: var(--sp-surface-inverse); }
.sp-section--alt + .sp-barre + .sp-barre-espace,
.sp-section--alt + .sp-visionneuse + .sp-barre + .sp-barre-espace { background: var(--sp-surface-alt); }

/* Appel à l'action final, repris de la fin de l'accueil : fond de nuit éclairé
   d'or et de bleu, deux balles du logo (squash à deux points, tennis à
   couture) qui flottent sur les bords. */
.sp-cta-final { position: relative; overflow: hidden; isolation: isolate; background:
	radial-gradient(60% 90% at 50% 120%, color-mix(in srgb, var(--sp-bleu-deep) 70%, transparent), transparent 70%),
	radial-gradient(45% 70% at 0% 0%, color-mix(in srgb, var(--sp-or) 26%, transparent), transparent 70%),
	radial-gradient(45% 70% at 100% 100%, color-mix(in srgb, var(--sp-bleu) 40%, transparent), transparent 70%),
	linear-gradient(160deg, var(--sp-nuit-3), var(--sp-nuit) 60%); }
.sp-cta-final-fond { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sp-cta-final-o { position: absolute; top: 50%; width: clamp(220px, 30vw, 420px); height: auto; filter: drop-shadow(0 var(--sp-space-8) var(--sp-space-12) rgba(var(--sp-noir-rgb), 0.45)); }
.sp-cta-final-o--gauche { left: 0; translate: -48% -50%; rotate: -14deg; }
.sp-cta-final-o--droite { right: 0; translate: 48% -50%; rotate: 18deg; animation-delay: -4.5s; }
.sp-cta-final-row { padding-block: calc(var(--sp-space-24) + var(--sp-space-6)); display: flex; flex-direction: column; align-items: center; gap: var(--sp-space-10); text-align: center; }
.sp-cta-final-titre { margin: 0; max-width: 14ch; font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 300; line-height: 1.02; letter-spacing: -0.03em; color: var(--sp-cream); }
.sp-cta-final-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--sp-space-4); margin: 0; }
.sp-cta-final-actions .sp-btn--ghost { padding: var(--sp-space-4) var(--sp-space-8); }

/* Galerie : les points ne servent que sur téléphone, où elle défile. */
.sp-galerie-points { display: none; }

/* ===== Fenêtre modale ===== */

.sp-modale-fond {
	position: fixed;
	inset: 0;
	z-index: 60;
	display: grid;
	place-items: center;
	padding: var(--sp-space-6);
	background: var(--sp-surface-voile);
	backdrop-filter: blur(4px);
}
.sp-modale {
	width: min(480px, 100%);
	padding: var(--sp-space-8);
	background: var(--sp-surface-primary);
	color: var(--sp-text-primary);
	border: 1px solid var(--sp-border-subtle);
	border-radius: var(--sp-radius);
	box-shadow: var(--sp-shadow-dialogue);
}
.sp-modale-eyebrow { margin: 0 0 var(--sp-space-2); font-size: var(--sp-fs-micro); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sp-accent-reconvilier-ink); }
.sp-modale-titre { margin: 0 0 22px; font-size: 1.5rem; }
.sp-modale-texte { margin: 0; color: var(--sp-text-muted); }
.sp-modale-options { display: flex; flex-direction: column; gap: var(--sp-space-3); }
.sp-choix {
	display: flex;
	align-items: center;
	gap: var(--sp-space-4);
	padding: 18px 20px;
	background: var(--sp-surface-alt);
	border: 1px solid var(--sp-border-subtle);
	border-radius: var(--sp-radius-md);
	transition: border-color var(--sp-transition), background-color var(--sp-transition), transform var(--sp-transition);
}
.sp-choix:hover { border-color: var(--sp-text-primary); background: var(--sp-surface-page); transform: translateX(2px); color: var(--sp-text-primary); }
.sp-choix-icone { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sp-action-booking); color: var(--sp-action-booking-ink); transition: transform var(--sp-duree-lente) var(--sp-courbe-sortie); }
.sp-choix-icone .sp-icone { width: var(--sp-space-6); height: var(--sp-space-6); }
.sp-choix-icone--sobre { background: var(--sp-action-primary); color: var(--sp-action-booking); }
/* Au survol ou au clavier, la pastille s'incline légèrement : un clin d'oeil. */
.sp-choix:is(:hover, :focus-visible) .sp-choix-icone { transform: scale(1.08) rotate(-6deg); }
.sp-choix:focus-visible { outline: 2px solid var(--sp-text-primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.sp-choix-icone { transition: none; }
	.sp-choix:is(:hover, :focus-visible) .sp-choix-icone { transform: none; }
}
.sp-choix-texte { display: flex; flex-direction: column; gap: 2px; }
.sp-choix-titre { font-weight: 700; }
.sp-choix-note { font-size: var(--sp-fs-xs); color: var(--sp-text-muted); }
.sp-modale-fermer {
	margin-top: 18px;
	background: none;
	border: none;
	padding: var(--sp-space-2) 0;
	font: inherit;
	font-weight: 500;
	color: var(--sp-text-muted);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ===== Filtres et état vide ===== */

.sp-filtres { display: flex; flex-wrap: wrap; gap: var(--sp-space-3) var(--sp-space-5); margin-bottom: var(--sp-space-8); }
.sp-filtres-groupe { display: flex; flex-wrap: wrap; gap: var(--sp-space-2); }
.sp-filtre {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--sp-border-subtle);
	border-radius: var(--sp-radius-pill);
	background: var(--sp-surface-primary);
	font-size: var(--sp-fs-small);
	font-weight: 500;
	color: var(--sp-text-muted);
	transition: border-color var(--sp-transition), color var(--sp-transition), background-color var(--sp-transition);
}



.sp-vide {
	padding: var(--sp-space-16) var(--sp-space-6);
	text-align: center;
	border: 1.5px dashed var(--sp-border-strong);
	border-radius: var(--sp-radius);
	background: var(--sp-surface-primary);
	color: var(--sp-text-primary);
}
.sp-vide-titre { margin: 0 0 var(--sp-space-3); font-size: 1.375rem; }
.sp-vide-texte { margin: 0 auto var(--sp-space-6); max-width: 46ch; color: var(--sp-text-muted); }

/* ===== Tableaux tarifs et horaires ===== */

/* separate plutôt que collapse : avec collapse, le fond de l'en-tête déborde
   du rayon et les deux coins hauts du tableau redeviennent carrés. */
.sp-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: var(--sp-surface-primary);
	color: var(--sp-text-primary);
	border: 1px solid var(--sp-border-subtle);
	border-radius: var(--sp-radius-md);
	overflow: hidden;
}
.sp-table caption { text-align: left; padding: 18px 20px 0; font-weight: 700; }
.sp-table th, .sp-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--sp-border-subtle); }
.sp-table thead th { font-size: var(--sp-fs-small); font-weight: 600; color: var(--sp-text-subtle); background: var(--sp-surface-alt); }
.sp-table tbody tr:last-child th, .sp-table tbody tr:last-child td { border-bottom: none; }
.sp-table-prix { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sp-table-note { font-size: var(--sp-fs-xs); color: var(--sp-text-subtle); }
.sp-table tr[aria-current="date"] th, .sp-table tr[aria-current="date"] td { background: var(--sp-surface-alt); font-weight: 600; }

/* Un tableau ne se casse pas : sous 640 px il défile dans sa propre boîte. */
/* Un conteneur à défilement horizontal n'a aucune raison de défiler
   verticalement, mais « overflow-x: auto » impose « overflow-y: auto » :
   quelques pixels de débord en bas (le tableau de l'extension des tarifs
   compense son border-spacing par une marge négative) y font apparaître
   une barre verticale. Repris de la maquette, filet de sécurité compris. */
.sp-table-defile { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }

/* ===== Formulaires ===== */

.sp-form { display: grid; gap: var(--sp-space-5); }
.sp-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: var(--sp-space-5); }
.sp-champ { display: flex; flex-direction: column; gap: var(--sp-space-2); }
.sp-label { font-size: var(--sp-fs-small); font-weight: 600; color: var(--sp-text-primary); }
.sp-label span { font-weight: 400; color: var(--sp-text-subtle); }
.sp-input, .sp-select, .sp-textarea {
	width: 100%;
	min-height: 52px;
	padding: 14px 16px;
	font: inherit;
	color: var(--sp-text-primary);
	background: var(--sp-surface-primary);
	border: 1px solid var(--sp-border-strong);
	border-radius: var(--sp-radius-sm);
	transition: border-color var(--sp-transition), box-shadow var(--sp-transition);
}
.sp-textarea { min-height: 132px; resize: vertical; }
.sp-input:focus, .sp-select:focus, .sp-textarea:focus {
	outline: none;
	border-color: var(--sp-text-primary);
	box-shadow: 0 0 0 3px rgba(var(--sp-ink-rgb), 0.08);
}
.sp-aide { font-size: var(--sp-fs-xs); color: var(--sp-text-subtle); }
.sp-erreur { font-size: var(--sp-fs-xs); font-weight: 600; color: var(--sp-status-error-ink); }
.sp-champ--erreur .sp-input { border-color: var(--sp-status-error-ink); }

/* Choix multiple en pastilles : plus rapide au pouce qu'un menu déroulant. */
.sp-options { display: flex; flex-wrap: wrap; gap: var(--sp-space-2); }
.sp-option {
	display: inline-flex;
	align-items: center;
	font-family: inherit; /* un bouton n'hérite pas de la police du site par défaut */
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--sp-border-strong);
	border-radius: var(--sp-radius-pill);
	background: var(--sp-surface-primary);
	color: var(--sp-text-primary);
	font-size: var(--sp-fs-small);
	font-weight: 500;
	cursor: pointer;
	transition: border-color var(--sp-transition), background-color var(--sp-transition), color var(--sp-transition);
}
.sp-option:hover { border-color: var(--sp-text-primary); }
.sp-option[aria-pressed="true"] { background: var(--sp-action-primary); border-color: var(--sp-action-primary); color: var(--sp-action-primary-ink); }

/* ===== Partage ===== */

.sp-partage { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-space-3); }
.sp-partage-titre { font-size: var(--sp-fs-small); font-weight: 600; color: var(--sp-text-subtle); }
.sp-partage-bouton {
	width: 44px; height: 44px;
	display: grid;
	place-items: center;
	border: 1px solid var(--sp-border-subtle);
	border-radius: 50%;
	background: var(--sp-surface-primary);
	color: var(--sp-text-muted);
	cursor: pointer;
	transition: border-color var(--sp-transition), color var(--sp-transition), transform var(--sp-transition);
}
.sp-partage-bouton:hover { border-color: var(--sp-text-primary); color: var(--sp-text-primary); transform: translateY(-2px); }

/* ===== Pied de page ===== */

.sp-fcol-titre { margin: 0 0 var(--sp-space-1); font-size: var(--sp-fs-micro); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sp-accent-tavannes); }





/* Les règles de barre de réservation qui vivaient ici — pile verticale,
   bouton pleine largeur — sont remplacées par le bloc « Téléphone » en fin de
   fichier : empilée, la barre faisait 167 px de haut, un cinquième de l'écran
   pour un seul bouton. La gouttière mobile y est fixée aussi. */

/* ==========================================================================
   Fenêtre à deux choix du padel
   ========================================================================== */

/* Elle s'appuie sur l'élément <dialog> natif : le fond vient de ::backdrop,
   pas d'une surcouche en position fixe. */
.sp-modale-dialogue {
	padding: 0;
	border: none;
	background: none;
	max-width: 100%;
	max-height: 100%;
}
.sp-modale-dialogue::backdrop {
	background: var(--sp-surface-voile);
	backdrop-filter: blur(4px);
}
.sp-modale-dialogue .sp-modale { width: min(480px, calc(100vw - 2 * var(--sp-gutter))); }
.sp-choix[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

/* ==========================================================================
   École : les deux voies d'inscription
   ========================================================================== */

.sp-hero-badge {
	margin-bottom: 14px;
}
.sp-grid-infos--suite {
	margin-top: 32px;
}
/* Bandeau d'avis (ex. événement déjà passé), au-dessus de la première section. */
.sp-notice {
	padding-top: 32px;
}
/* ==========================================================================
   École : deux voies d'inscription
   ========================================================================== */

.sp-voies {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 20px;
}
.sp-voie {
	padding: 28px;
	background: var(--sp-paper);
	border: 1px solid var(--sp-line);
	border-radius: var(--sp-radius-md);
}
.sp-voie-titre {
	margin: 0 0 8px;
	font-size: 1.1875rem;
	font-weight: 700;
}
.sp-voie-texte {
	margin: 0;
	color: var(--sp-ink-soft);
	line-height: 1.6;
}
.sp-voie-cours {
	margin-top: 12px;
}
.sp-voie-lien {
	margin-top: 16px;
}

/* Plan des terrains de padel.

   Une carte par court, pas un plan d'ensemble : c'est ce que fait la référence
   du Raiffeisen Parc, et c'est ce qui tient sur un téléphone. Chaque carte
   porte le numéro du court, son dessin, et la bande de son sponsor.

   Données : le champ « court associé » de chaque sponsor (_sp_court) dit sur
   quel court il apparaît. Un court sans sponsor garde sa carte, sans bande. */

.sp-courts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
	gap: var(--sp-space-5);
}

.sp-court {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--sp-border-glass-fine);
	border-radius: var(--sp-radius);
	color: var(--sp-text-on-inverse-fort);
	/* Le motif de fond : deux séries de courbes de niveau, à peine visibles. */
	background-color: var(--sp-court-carte);
	background-image:
		repeating-radial-gradient(circle at 12% 108%, transparent 0 15px, rgba(var(--sp-cream-rgb), 0.05) 15px 16px),
		repeating-radial-gradient(circle at 96% -8%, transparent 0 19px, rgba(var(--sp-cream-rgb), 0.04) 19px 20px);
	transition: transform var(--sp-duree-lente) var(--sp-courbe-sortie), box-shadow var(--sp-duree-lente) ease
}
.sp-court:hover, .sp-court:focus-within {
	transform: translateY(calc(-1 * var(--sp-space-1)));
	box-shadow: var(--sp-shadow-panneau)
}

.sp-court-haut {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-space-3);
	padding: var(--sp-space-4) var(--sp-space-5) 0;
}
.sp-court-num {
	font-size: var(--sp-fs-xs);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sp-text-on-inverse)
}
.sp-court-type {
	padding: 4px 12px;
	border-radius: var(--sp-radius-pill);
	border: 1px solid var(--sp-border-glass-fine);
	background: var(--sp-glass);
	font-size: var(--sp-fs-micro);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--sp-text-on-inverse-fort)
}

.sp-court-dessin {
	position: relative;
	padding: var(--sp-space-4) var(--sp-space-5)
}
.sp-court-dessin svg {
	width: 100%;
	height: auto;
	display: block;
	transition: transform var(--sp-duree-revelation) var(--sp-courbe-sortie)
}
.sp-court-surface {
	fill: var(--sp-court-surface);
	transition: fill var(--sp-duree-lente) ease
}
.sp-court:hover .sp-court-surface, .sp-court:focus-within .sp-court-surface {
	fill: var(--sp-court-surface-vive)
}
.sp-court-trait {
	stroke: rgba(var(--sp-cream-rgb), 0.92);
	stroke-width: 1.6;
	fill: none
}
.sp-court-cage {
	stroke: rgba(var(--sp-cream-rgb), 0.28);
	stroke-width: 1;
	fill: rgba(var(--sp-cream-rgb), 0.06)
}
.sp-court-filet {
	stroke: rgba(var(--sp-cream-rgb), 0.95);
	stroke-width: 2.5;
	stroke-dasharray: 2 2
}
.sp-court-poteau {
	fill: var(--sp-cream);
	stroke: rgba(var(--sp-nuit-rgb), 0.35);
	stroke-width: 1
}

/* La bande du sponsor. Au repos elle montre le nom du court ; au survol sur
   desktop, ou quand la carte entre dans l'écran sur mobile, elle laisse place
   au logo du sponsor. Les deux états sont empilés, aucun saut de hauteur. */
.sp-court-bande {
	position: relative;
	margin-top: auto;
	display: grid;
	min-height: 72px
}
.sp-court-face {
	grid-area: 1 / 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: var(--sp-space-3);
	text-align: center;
	transition: opacity var(--sp-transition), transform var(--sp-transition);
}
.sp-court-nom { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.sp-court-note { font-size: var(--sp-fs-xs); color: var(--sp-text-on-inverse-muted); }

.sp-court-face--sponsor { opacity: 0; transform: translateY(8px); }
.sp-court-sponsor-nom { font-size: 1rem; font-weight: 700; color: var(--sp-action-booking); }
.sp-court-sponsor-lib {
	font-size: var(--sp-fs-xs);
	color: var(--sp-text-on-inverse-muted)
}

.sp-court:hover .sp-court-face--repos,
.sp-court:focus-within .sp-court-face--repos,
.sp-court.is-vu .sp-court-face--repos { opacity: 0; transform: translateY(-8px); }
.sp-court:hover .sp-court-face--sponsor,
.sp-court:focus-within .sp-court-face--sponsor,
.sp-court.is-vu .sp-court-face--sponsor { opacity: 1; transform: none; }

/* Repère de défilement : téléphone seulement (voir la section « Téléphone »). */
.sp-courts-points, .sp-courts-aide { display: none; }

.sp-courts-legende {
	margin: var(--sp-space-6) 0 0;
	font-size: var(--sp-fs-small);
	color: var(--sp-text-on-inverse-muted);
}

/* Reprises de spoort-courts.css : le survol du dessin et le logo du
   sponsor, qui manquaient. */
.sp-court:hover .sp-court-dessin svg { transform: scale(1.03) }
.sp-court:hover .sp-court-logo { transform: translate(-50%, -50%) scale(1.06) }
/* Le logo, sur fond transparent, se pose sur le filet dans une pastille de verre
   dépoli claire : lisible quelle que soit la couleur du logo. WordPress sert un
   SVG sans dimensions en 1 × 1 : la taille vient du CSS. Le centre du dessin
   est celui du filet, le padding de .sp-court-dessin étant symétrique. */
.sp-court-logo {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	width: 62%;
	aspect-ratio: 2 / 1;
	padding: var(--sp-space-2) var(--sp-space-3);
	border-radius: var(--sp-radius-sm);
	border: 1px solid rgba(var(--sp-cream-rgb), 0.5);
	background: rgba(var(--sp-cream-rgb), 0.86);
	box-shadow: var(--sp-shadow-sm);
	transition: transform var(--sp-duree-lente) var(--sp-courbe-sortie)
}
.sp-court-logo img { display: block; width: 100%; height: 100%; object-fit: contain }
@supports (backdrop-filter: blur(1px)) {
	.sp-court-logo { background: rgba(var(--sp-cream-rgb), 0.7); backdrop-filter: blur(var(--sp-evt-flou)) }
}



/* ==========================================================================
   Page d'activité : la colonne de lecture et ses repères
   ==========================================================================
   Porté de « Page activite.dc.html » (Claude Design). Deux colonnes : la
   description à gauche, les encarts à droite. Sous 820 px elles s'empilent,
   la description d'abord — c'est elle qu'on vient lire. */

.ac-deux {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: var(--sp-space-16);
	align-items: start;
}



/* Trois repères, trois colonnes explicites : une grille automatique en
   donnerait deux dans cette largeur, et le troisième resterait seul. */
.ac-points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-space-6);
	margin-top: var(--sp-space-10);
}

.ac-point {
	display: flex;
	flex-direction: column;
	gap: var(--sp-space-2);
	padding-top: var(--sp-space-4);
	border-top: 2px solid var(--sp-action-booking);
}

.ac-point-val {
	font-size: 1.625rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.ac-point-lib {
	font-size: var(--sp-fs-small);
	color: var(--sp-text-muted);
}

/* ==========================================================================
   Tableaux du plugin tarifs, au vocabulaire du design system
   ==========================================================================
   Le plugin « Spoort, tarifs » rend son propre tableau (.sp-tar-table). On ne
   le modifie pas : on lui applique ici la même grammaire que .sp-table, pour
   que les tarifs d'une page d'activité ne détonnent pas à côté des horaires.
   Les deux sélecteurs cohabitent, aucune règle du plugin n'est écrasée en
   dehors de la présentation. */

.sp-tar-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 6px;
	margin-block: -6px;
	color: var(--sp-text-primary);
}

.sp-tar-table th,
.sp-tar-table td {
	padding: 18px 24px;
	text-align: left;
	background: var(--sp-surface-primary);
}

.sp-tar-table tr > :first-child { border-radius: 14px 0 0 14px; }
.sp-tar-table tr > :last-child { border-radius: 0 14px 14px 0; }
.sp-tar-table tr > :only-child { border-radius: 14px; }
.sp-tar-table tbody th { font-weight: 600; }

.sp-tar-table thead th,
.sp-tar-table thead td {
	padding-block: 10px;
	font-size: var(--sp-fs-small);
	font-weight: 600;
	color: var(--sp-text-subtle);
	background: transparent;
}

.sp-tar-price {
	font-size: 1.125rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.sp-tar-note,
.sp-tar-note-grille {
	font-size: var(--sp-fs-xs);
	font-weight: 400;
	letter-spacing: 0;
	color: var(--sp-text-subtle);
}





/* Une colonne d'encarts, quelle que soit la largeur : la maquette d'activité
   les empile le long de la description. La maquette posait un style en ligne ;
   une variante de classe se relit mieux et se surcharge proprement. */
.sp-grid-infos--colonne { grid-template-columns: 1fr; }

/* Une adresse reste une adresse pour les technologies d'assistance, sans en
   porter l'italique par défaut du navigateur. */
.sp-info-adresse { font-style: normal; }



/* ==========================================================================
   Pages de contenu : les familles propres à chaque gabarit
   ==========================================================================
   Porté de spoort-pages.css (Claude Design). Chaque page a son préfixe et
   aucun ne se chevauche, les blocs peuvent donc vivre côte à côte :

     .ct-  fiche centre          .en-  entreprises et groupes
     .ec-  école de padel        .co-  contact
     .mn-  fiche moniteur        .ev-  événements, liste et fiche
     .lp-  landing de campagne

   Deux familles de la source restent dehors : .ds- et .av-, qui habillent
   les planches de référence du prototype (Fondations, variantes de landing)
   et n'ont pas d'équivalent sur le site. Et .ac-, déjà porté avec la page
   activité.
   ========================================================================== */
/* --- Page centre --- */
.ct-plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--sp-space-10); align-items: stretch; }
.ct-plan-carte { border-radius: var(--sp-radius-md); overflow: hidden; min-height: 300px; }


/* --- Ecole de padel --- */
/* 275 px et non 300 : gouttières comprises, c'est ce qui fait tenir les
quatre formules sur une seule ligne à 1216 px, au lieu de trois plus une. */
.ec-formules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(275px, 100%), 1fr)); gap: var(--sp-space-5); }
.ec-formule { position: relative; display: flex; flex-direction: column; padding: var(--sp-space-6); background: var(--sp-surface-primary); color: var(--sp-text-primary); border: 1px solid var(--sp-border-subtle); border-radius: 16px; transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease; }
.ec-formule:hover { border-color: var(--sp-border-strong); box-shadow: 0 12px 32px -12px rgb(0 0 0 / 0.18); transform: translateY(-2px); }
.ec-formule--vedette { background: var(--sp-surface-inverse); color: var(--sp-text-on-inverse-fort); border-color: transparent; }
.ec-formule-haut { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-space-3); min-height: 26px; margin-bottom: var(--sp-space-5); }
.ec-formule-num { font-size: var(--sp-fs-small); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--sp-text-subtle); }
.ec-formule--vedette .ec-formule-num { color: var(--sp-text-on-inverse-muted); }
.ec-formule-badge { padding: 4px 10px; border-radius: 999px; background: var(--sp-action-booking); color: var(--sp-ink); font-size: var(--sp-fs-xs); font-weight: 700; }
.ec-formule-titre { margin: 0 0 var(--sp-space-2); font-size: 1.375rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.ec-formule-texte { margin: 0; font-size: var(--sp-fs-small); line-height: 1.5; color: var(--sp-text-muted); text-wrap: pretty; min-height: 4.5em; }
.ec-formule--vedette .ec-formule-texte { color: var(--sp-text-on-inverse-muted); }
.ec-formule-prix { display: flex; align-items: baseline; gap: 6px; margin: var(--sp-space-5) 0; padding: var(--sp-space-5) 0; border-block: 1px solid var(--sp-border-subtle); font-variant-numeric: tabular-nums; }
.ec-formule--vedette .ec-formule-prix { border-color: rgb(255 255 255 / 0.12); }
.ec-formule-devise { font-size: var(--sp-fs-small); font-weight: 600; }
.ec-formule-montant { font-size: 2.5rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.ec-formule-unite { font-size: var(--sp-fs-small); color: var(--sp-text-subtle); }
.ec-formule--vedette .ec-formule-unite { color: var(--sp-text-on-inverse-muted); }
.ec-formule-liste { list-style: none; margin: 0 0 var(--sp-space-6); padding: 0; display: grid; gap: var(--sp-space-3); font-size: var(--sp-fs-small); font-weight: 500; }
.ec-formule-liste li { display: flex; align-items: center; gap: var(--sp-space-3); }

/* Cours : rythme sur les formules de l'école, puis liste des prochaines séances. */
.ec-formule-quand { margin: var(--sp-space-3) 0 0; font-size: var(--sp-fs-small); font-weight: 600; }
.ec-formule--vedette .ec-formule-quand { color: var(--sp-text-on-inverse-muted); }
.sp-seances { list-style: none; margin: var(--sp-space-6) 0 0; padding: 0; border-top: 1px solid var(--sp-border-subtle); }
.sp-seance { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; align-items: center; gap: var(--sp-space-2) var(--sp-space-6); padding: var(--sp-space-4) 0; border-bottom: 1px solid var(--sp-border-subtle); }
.sp-seance-date { display: block; font-weight: 700; color: var(--sp-text-primary); }
.sp-seance-date::first-letter { text-transform: uppercase; }
.sp-seance-details { display: flex; flex-wrap: wrap; gap: var(--sp-space-1) var(--sp-space-4); font-size: var(--sp-fs-small); color: var(--sp-text-muted); }
.sp-seance-complet { font-weight: 700; color: var(--sp-text-primary); }
.sp-seance-bouton { min-height: var(--sp-cible-tactile); }
.sp-seances-vide { margin: var(--sp-space-4) 0 0; color: var(--sp-text-muted); }

/* Fiche cours : pastille du coach, puis les faits en puces à icône. */
.sp-cours-coach { display: inline-flex; align-items: center; gap: var(--sp-space-4); max-width: 100%; padding: var(--sp-space-2) var(--sp-space-6) var(--sp-space-2) var(--sp-space-2); background: var(--sp-surface-primary); color: var(--sp-text-primary); border: 1px solid var(--sp-border-subtle); border-radius: var(--sp-radius-pill); transition: box-shadow var(--sp-transition), border-color var(--sp-transition); }
a.sp-cours-coach:hover { color: var(--sp-text-primary); border-color: var(--sp-border-strong); box-shadow: var(--sp-shadow-sm); }
a.sp-cours-coach:focus-visible { outline: 2px solid var(--sp-focus-ring); outline-offset: 2px; }
.sp-cours-coach-photo { display: grid; place-items: center; flex: none; width: var(--sp-space-16); height: var(--sp-space-16); border-radius: 50%; overflow: hidden; background: var(--sp-action-booking); color: var(--sp-ink); }
.sp-cours-coach-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.sp-cours-coach-initiales { font-size: var(--sp-fs-nom); font-weight: 800; letter-spacing: 0.02em; }
.sp-cours-coach-icone { width: var(--sp-space-8); height: var(--sp-space-8); }
.sp-cours-coach-texte { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sp-cours-coach-label { font-size: var(--sp-fs-xs); font-weight: 600; color: var(--sp-text-subtle); }
.sp-cours-coach-nom { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.sp-cours-coach-lien { font-size: var(--sp-fs-small); font-weight: 700; }
.sp-faits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--sp-fait-min), 100%), 1fr)); gap: var(--sp-space-3); margin: var(--sp-space-8) 0 0; padding: 0; list-style: none; }
.sp-fait { display: flex; align-items: center; gap: var(--sp-space-4); min-width: 0; padding: var(--sp-space-4) var(--sp-space-5); background: var(--sp-surface-primary); border: 1px solid var(--sp-border-subtle); border-radius: var(--sp-radius-md); scroll-margin-top: calc(var(--sp-nav-h) + var(--sp-space-6)); }
.sp-fait-icone { display: grid; place-items: center; flex: none; width: var(--sp-space-10); height: var(--sp-space-10); border-radius: 50%; background: var(--sp-surface-alt); color: var(--sp-text-primary); }
.sp-fait-icone .sp-icone { width: var(--sp-space-5); height: var(--sp-space-5); }
.sp-fait-corps { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sp-fait-label { font-size: var(--sp-fs-micro); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sp-text-subtle); }
.sp-fait-valeur { font-weight: 700; line-height: 1.35; color: var(--sp-text-primary); overflow-wrap: anywhere; }
a.sp-fait-valeur { text-decoration: underline; text-underline-offset: 3px; }
a.sp-fait-valeur:focus-visible { outline: 2px solid var(--sp-focus-ring); outline-offset: 2px; }
.sp-fait--tarif { border-color: var(--sp-border-strong); }
.sp-fait--tarif .sp-fait-icone { background: var(--sp-action-booking); color: var(--sp-ink); }
.sp-fait--tarif .sp-fait-valeur { font-size: 1.125rem; }
.sp-cours-texte { margin-top: var(--sp-space-8); }
.ec-formule-liste svg { flex: 0 0 auto; color: var(--sp-accent-reconvilier); }
.ec-formule .sp-btn { margin-top: auto; }
.ec-stage { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: var(--sp-space-5); align-items: center; padding: var(--sp-space-5) 0; border-bottom: 1px solid var(--sp-border-subtle); }
.ec-stage:first-of-type { border-top: 1px solid var(--sp-border-subtle); }
.ec-date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--sp-space-3); border-radius: var(--sp-radius-sm); background: var(--sp-surface-alt); }
.ec-date-jour { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.ec-date-mois { font-size: var(--sp-fs-xs); font-weight: 600; color: var(--sp-text-subtle); margin-top: 3px; }
.ec-stage-titre { font-size: 1.0625rem; font-weight: 700; margin: 0 0 var(--sp-space-1); }
.ec-stage-note { margin: 0; font-size: var(--sp-fs-small); color: var(--sp-text-muted); }


/* --- Fiche moniteur --- */
.mn-hero { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--sp-space-10); align-items: center; }
.mn-portrait { width: 220px; height: 220px; border-radius: 50%; overflow: hidden; border: 3px solid var(--sp-action-booking); background: var(--sp-surface-alt); }
.mn-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.mn-deux { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--sp-space-16); align-items: start; }
.mn-cours { display: flex; flex-direction: column; gap: var(--sp-space-3); }
.mn-cours-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--sp-space-4); padding: var(--sp-space-5) var(--sp-space-5) var(--sp-space-5) var(--sp-space-6); border-radius: 18px; background: var(--sp-surface-primary); color: var(--sp-text-primary); box-shadow: 0 1px 2px rgb(0 0 0 / 0.04); transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms ease; }
.mn-cours-item:hover { color: var(--sp-text-primary); transform: translateY(-2px); box-shadow: 0 16px 36px -16px rgb(0 0 0 / 0.22); }
.mn-cours-corps { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mn-cours-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--sp-space-3); }
.mn-cours-tag { white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: color-mix(in oklch, var(--sp-accent-reconvilier) 20%, transparent); font-size: var(--sp-fs-xs); font-weight: 700; }
.mn-cours-duree { white-space: nowrap; font-size: var(--sp-fs-xs); font-weight: 500; color: var(--sp-text-subtle); font-variant-numeric: tabular-nums; }
.mn-cours-titre { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.mn-cours-note { font-size: var(--sp-fs-small); line-height: 1.5; color: var(--sp-text-muted); text-wrap: pretty; }
.mn-cours-prix { display: grid; grid-template-columns: auto auto; column-gap: 4px; align-items: baseline; justify-items: end; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mn-cours-devise { font-size: var(--sp-fs-xs); font-weight: 600; }
.mn-cours-prix strong { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.mn-cours-unite { grid-column: 1 / -1; font-size: var(--sp-fs-xs); color: var(--sp-text-subtle); }
.mn-cours-go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sp-action-booking); color: var(--sp-ink); transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1); }
.mn-cours-item:hover .mn-cours-go { transform: translateX(3px); }



/* --- Entreprises et groupes --- */
.en-formules { display: grid; grid-template-columns: 1fr; gap: var(--sp-space-4); }
.en-formule { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-space-8); min-height: 240px; padding: var(--sp-space-6); background: var(--sp-surface-primary); color: var(--sp-text-primary); border: 1px solid var(--sp-border-subtle); border-radius: 18px; transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease; }
.en-formule:hover { color: var(--sp-text-primary); border-color: var(--sp-border-strong); box-shadow: 0 16px 40px -16px rgb(0 0 0 / 0.2); transform: translateY(-3px); }
.en-formule-haut { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-space-3); }
.en-formule-num { font-size: var(--sp-fs-small); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--sp-text-subtle); }
.en-formule-fleche { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--sp-border-subtle); transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease, transform 250ms ease; }
.en-formule:hover .en-formule-fleche { background: var(--sp-action-booking); border-color: transparent; color: var(--sp-ink); transform: rotate(45deg); }
.en-formule-bas { display: flex; flex-direction: column; gap: var(--sp-space-2); }
.en-formule h3 { margin: 0; font-size: 1.375rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.en-formule p { margin: 0; font-size: var(--sp-fs-small); line-height: 1.55; color: var(--sp-text-muted); text-wrap: pretty; }
.en-formule--vedette { min-height: 420px; border-color: transparent; color: #fff; }
/* Photo de la formule vedette, sous le voile : fond nuit en repli tant qu'elle charge. */
.en-formule--vedette { background: var(--sp-surface-inverse); }
.en-formule-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform var(--sp-duree-lente) var(--sp-courbe-sortie); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.en-formule--vedette:hover .en-formule-photo { transform: scale(1.04); }
}
.en-formule--vedette:hover { color: #fff; }
.en-formule-fond { position: absolute !important; inset: 0; z-index: -2; }
.en-formule--vedette::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(8 16 32 / 0) 30%, rgb(8 16 32 / 0.75) 100%); }
.en-formule--vedette .en-formule-num, .en-formule--vedette p { color: rgb(255 255 255 / 0.8); }
.en-formule--vedette h3 { font-size: 2rem; }
.en-formule--vedette p { max-width: 46ch; font-size: 1rem; }
.en-formule--vedette .en-formule-fleche { border-color: rgb(255 255 255 / 0.35); background: rgb(255 255 255 / 0.1); backdrop-filter: blur(8px); }
.en-formule-badge { padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.16); backdrop-filter: blur(8px); font-size: var(--sp-fs-xs); font-weight: 600; color: #fff; }


.en-capacites { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: var(--sp-space-8); }
.en-capacite { padding-top: var(--sp-space-4); border-top: 2px solid var(--sp-action-booking); }
.en-capacite-val { display: block; font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.en-capacite-lib { display: block; margin-top: var(--sp-space-2); font-size: var(--sp-fs-small); color: var(--sp-text-muted); }
.en-exemples { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--sp-space-5); }
.en-exemple { overflow: hidden; border-radius: var(--sp-radius-md); border: 1px solid var(--sp-border-glass-fine); background: var(--sp-glass); }
.en-exemple-corps { padding: var(--sp-space-5) var(--sp-space-6) var(--sp-space-6); }
.en-exemple h3 { font-size: 1.0625rem; font-weight: 700; margin: 0 0 var(--sp-space-2); }
.en-exemple p { margin: 0; font-size: var(--sp-fs-small); color: var(--sp-text-on-inverse-muted); }
.en-form-deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--sp-space-16); align-items: start; }
.en-form-deux > div:first-child { position: sticky; top: calc(var(--sp-nav-h) + var(--sp-space-8)); }
.en-form { display: flex; flex-direction: column; gap: 0; padding: 0; background: var(--sp-surface-primary); border: 1px solid var(--sp-border-subtle); border-radius: 20px; overflow: hidden; }
/* Les étapes sont des repères de progression, pas des actions : pastille de
   numéro à fond doux, texte sans bloc, et un fil vertical qui relie les
   pastilles. Rien ne réagit au survol. Le corps est décalé pour laisser le
   fil libre dans la marge ; sous 760px le fil disparaît et le corps reprend
   toute la largeur. */
.en-etape { --en-pad: var(--sp-space-8); position: relative; margin: 0; padding: var(--en-pad); border: none; min-width: 0; }
.en-etape:last-of-type { border-bottom: 1px solid var(--sp-border-subtle); }
.en-etape::before, .en-etape::after { content: ""; position: absolute; left: calc(var(--en-pad) + var(--sp-pastille-etape) / 2 - 1px); width: 2px; background: var(--sp-border-strong); pointer-events: none; }
.en-etape::before { top: calc(var(--en-pad) + var(--sp-pastille-etape) + var(--sp-space-2)); bottom: 0; }
.en-etape:last-of-type::before { display: none; }
.en-etape::after { top: 0; height: calc(var(--en-pad) - var(--sp-space-2)); }
.en-etape:first-of-type::after { display: none; }
.en-etape-tete { display: flex; align-items: center; gap: var(--sp-space-4); padding: 0; margin-bottom: var(--sp-space-6); float: left; width: 100%; cursor: default; }
.en-etape-num { display: grid; place-items: center; width: var(--sp-pastille-etape); height: var(--sp-pastille-etape); flex: 0 0 auto; border-radius: 50%; background: var(--sp-surface-alt); border: 1px solid var(--sp-border-strong); color: var(--sp-text-primary); font-size: var(--sp-fs-small); font-weight: 700; font-variant-numeric: tabular-nums; }
.en-etape-titre { display: block; font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; color: var(--sp-text-primary); }
.en-etape-sous { display: block; font-size: var(--sp-fs-small); color: var(--sp-text-muted); }
.en-etape-corps { clear: both; display: flex; flex-direction: column; gap: var(--sp-space-6); padding-left: calc(var(--sp-pastille-etape) + var(--sp-space-4)); }
.en-form-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-space-4); padding: var(--sp-space-6) var(--sp-space-8); background: var(--sp-surface-alt); }
.en-form-pied .sp-aide { margin: 0; max-width: 34ch; }



/* --- Contact --- */
.co-centres { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: var(--sp-space-6); }
.co-centre { --co-teinte: var(--sp-accent-reconvilier-ink); position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--sp-surface-primary); border: 1px solid var(--sp-border-subtle); border-radius: var(--sp-radius-md); }
.co-centre--tavannes { --co-teinte: var(--sp-accent-tavannes-ink); }
/* Grand pictogramme décoratif, à peine visible, ancré dans le coin de la fiche. */
/* Le repère dessiné est ancré au corps de la carte (voir sp_c_fiche_contact_centre) :
   il ne peut donc ni monter sur l'en-tête coloré, ni descendre sous les boutons
   du pied. Il déborde par la droite, et c'est la carte qui le recadre. */
.co-centre-deco { position: absolute; top: 0; right: calc(-1 * var(--sp-space-6)); width: 150px; height: 150px; stroke-width: 1.25; color: var(--co-teinte); opacity: 0.07; pointer-events: none; }
/* Le contenu du corps passe devant le repère, qui n'est qu'une texture. */
.co-centre-corps > :not(.co-centre-deco) { position: relative; }
.co-centre-tete, .co-centre-corps { position: relative; }
.co-centre-tete { display: flex; align-items: center; gap: var(--sp-space-3); padding: var(--sp-space-5) var(--sp-space-6); border-bottom: 1px solid var(--sp-border-subtle); }
.co-centre-nom { font-size: 1.375rem; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.co-centre-corps { padding: var(--sp-space-6); display: flex; flex-direction: column; gap: var(--sp-space-5); flex: 1; }
.co-lignes { margin: 0; display: flex; flex-direction: column; gap: var(--sp-space-5); }
.co-ligne { position: relative; min-height: 40px; padding-left: 52px; }
.co-ligne dt { font-size: var(--sp-fs-xs); font-weight: 600; color: var(--sp-text-muted); }
.co-ligne dd { margin: 0; color: var(--sp-text-primary); font-weight: 500; overflow-wrap: anywhere; }
.co-ligne dd a { display: inline-block; padding-block: 10px; margin-block: -10px; font-weight: 600; }
/* Pastille d'icône : décorative, le libellé de la ligne porte le sens. */
.co-ico { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--sp-radius-sm); background: var(--sp-surface-alt); color: var(--co-teinte); }
.co-ico .sp-icone { width: 20px; height: 20px; }
.co-etiq { display: block; }
.co-centre-pied .sp-btn .sp-icone { width: 16px; height: 16px; margin-right: var(--sp-space-2); }
/* Un coup de pouce discret au survol ou au focus de la fiche : l'épingle se pose. */
@keyframes co-epingle { 0% { transform: translateY(0); } 40% { transform: translateY(-5px); } 100% { transform: translateY(0); } }
.co-centre:is(:hover, :focus-within) .co-ico--map-pin .sp-icone { animation: co-epingle var(--sp-duree-revelation) ease-out; }
.co-ico .sp-icone, .co-centre-deco { transition: transform var(--sp-duree-lente) ease; }
.co-centre:is(:hover, :focus-within) .co-centre-deco { transform: translateY(-4px) rotate(-4deg); }
@media (prefers-reduced-motion: reduce) {
	.co-centre:is(:hover, :focus-within) .co-ico--map-pin .sp-icone { animation: none; }
	.co-centre:is(:hover, :focus-within) .co-centre-deco { transform: none; }
}
.co-centre-pied { margin-top: auto; padding-top: var(--sp-space-4); border-top: 1px solid var(--sp-border-subtle); }
.co-form-deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--sp-space-16); align-items: start; }


/* --- Tournois et evenements --- */
.ev-hero-haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: var(--sp-space-3); margin-bottom: var(--sp-space-6); }
.ev-hero-haut .sp-pill { margin: 0; }
.ev-compte:empty { display: none; }
.ev-compte { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--sp-ink); font-size: 0.875rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; box-shadow: 0 6px 20px -8px rgb(0 0 0 / 0.45); }

/* Barre de filtres : deux groupes segmentés sur un même plateau. */
.ev-barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-space-4); padding: var(--sp-space-3); margin-bottom: var(--sp-space-8); border-radius: 18px; background: var(--sp-surface-alt); }
.ev-barre .sp-filtres-groupe { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sp-surface-primary); }
.ev-barre .ev-filtres-lib { flex: 0 0 auto; white-space: nowrap; padding: 0 var(--sp-space-3) 0 var(--sp-space-4); margin: 0; }
.ev-barre .sp-filtre { flex: 0 0 auto; white-space: nowrap; border: none; border-radius: 999px; min-height: 38px; padding: 0 16px; background: transparent; }
.ev-barre .sp-filtre:hover { background: var(--sp-surface-alt); }
.ev-barre .sp-filtre[aria-current="true"] { background: var(--sp-surface-inverse); color: var(--sp-text-on-inverse-fort); }

/* Agenda : une ligne par événement, largeur constante quel que soit le nombre. */
.ev-agenda { display: flex; flex-direction: column; gap: var(--sp-space-4); }

/* Calendrier mensuel de l'agenda : en-tête nuit à la marque, grille claire dessous. */
.ag { margin-bottom: var(--sp-space-12); border-radius: var(--sp-radius); overflow: hidden; background: var(--sp-surface-primary); border: 1px solid var(--sp-border-subtle); box-shadow: var(--sp-shadow-sm); }
.ag-tete { position: relative; overflow: hidden; display: flex; align-items: center; gap: var(--sp-space-6); padding: var(--sp-space-8); background: var(--sp-surface-inverse); color: var(--sp-text-on-inverse-fort); }
.ag-titres { position: relative; z-index: 1; order: 1; flex: 1 1 auto; min-width: 0; }
.ag-nav { position: relative; z-index: 1; order: 3; display: flex; gap: var(--sp-space-2); }
.ag-nav[hidden] { display: none; }
.ag-sur { margin: 0 0 var(--sp-space-2); font-size: var(--sp-fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sp-accent-reconvilier); }
.ag-mois { margin: 0; font-family: var(--sp-font-title); font-size: var(--sp-fs-title); font-weight: 600; line-height: var(--sp-lh-tight); text-transform: capitalize; color: var(--sp-text-on-inverse-fort); }
.ag-compte { margin: var(--sp-space-2) 0 0; font-size: var(--sp-fs-small); color: var(--sp-text-on-inverse-muted); }
.ag-nav-btn { display: inline-flex; align-items: center; justify-content: center; width: var(--sp-cible-tactile); height: var(--sp-cible-tactile); padding: 0; border-radius: var(--sp-radius-pill); border: 1px solid var(--sp-border-glass); background: var(--sp-surface-glass); color: var(--sp-text-on-inverse-fort); cursor: pointer; transition: background var(--sp-transition), opacity var(--sp-transition); }
.ag-nav-btn svg { width: var(--sp-agenda-nav-icone); height: var(--sp-agenda-nav-icone); }
.ag-nav-btn:hover { background: var(--sp-glass-actif); }
.ag-nav-btn[aria-disabled="true"] { opacity: 0.4; cursor: default; }
.ag-nav-btn:focus-visible, .ag-evt:focus-visible { outline: 2px solid var(--sp-focus-ring); outline-offset: 2px; }
.ag-grille { width: 100%; table-layout: fixed; border-collapse: collapse; }
.ag-grille th { padding: var(--sp-space-3) var(--sp-space-2); font-size: var(--sp-fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-align: left; color: var(--sp-text-muted); background: var(--sp-surface-alt); }
.ag-grille abbr { text-decoration: none; }
.ag-jour { height: var(--sp-agenda-case-h); padding: var(--sp-space-2); vertical-align: top; border: 1px solid var(--sp-border-subtle); }
.ag-jour--hors { background: var(--sp-surface-alt); }
.ag-jour--evt { position: relative; }
.ag-jour--evt:hover { background: var(--sp-surface-alt); }
.ag-num { display: inline-flex; align-items: center; justify-content: center; min-width: 1.75rem; height: 1.75rem; padding-inline: 4px; border-radius: var(--sp-radius-pill); font-size: var(--sp-fs-small); font-weight: 600; color: var(--sp-text-primary); }
/* Un jour qui porte des événements : le bouton du numéro couvre toute la case. Les liens des événements, posés après, restent au dessus. */
button.ag-num { border: 0; background: none; font-family: inherit; }
.ag-num--btn { cursor: pointer; }
.ag-num--btn::after { content: ""; position: absolute; inset: 0; }
.ag-num--btn:focus-visible { outline: none; }
.ag-num--btn:focus-visible::after { outline: 2px solid var(--sp-text-primary); outline-offset: -3px; }
.ag-jour--auj .ag-num { background: var(--sp-accent-reconvilier); color: var(--sp-action-booking-ink); }
.ag-pastilles, .ag-liste { display: none; }
.ag-evts { display: flex; flex-direction: column; gap: var(--sp-space-1); margin-top: var(--sp-space-1); }
.ag-evt { position: relative; display: flex; align-items: flex-end; min-height: var(--sp-agenda-evt-h); padding: var(--sp-agenda-evt-pad) var(--sp-space-2); border-left: var(--sp-agenda-evt-trait) solid var(--sp-accent-reconvilier); border-radius: var(--sp-radius-xs); overflow: hidden; background: var(--sp-surface-inverse-2); color: var(--sp-text-on-inverse-fort); font-size: var(--sp-fs-xs); font-weight: 600; line-height: 1.25; }
.ag-evt--tavannes { border-left-color: var(--sp-accent-tavannes); }
.ag-evt-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ag-evt::after { content: ""; position: absolute; inset: 0; background: var(--sp-agenda-voile); }
.ag-evt-titre { position: relative; z-index: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
/* Fenêtre du jour : la liste des événements d'une date. */
.ag-fenetre-titre::first-letter { text-transform: uppercase; }
.ag-fenetre-liste { display: flex; flex-direction: column; gap: var(--sp-space-3); max-height: 60vh; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.ag-fenetre-evt { display: flex; align-items: center; gap: var(--sp-space-4); min-height: var(--sp-cible-tactile); padding: var(--sp-space-3); border: 1px solid var(--sp-border-subtle); border-left: var(--sp-agenda-evt-trait) solid var(--sp-accent-reconvilier); border-radius: var(--sp-radius-sm); background: var(--sp-surface-alt); color: var(--sp-text-primary); transition: background var(--sp-transition); }
.ag-fenetre-evt--tavannes { border-left-color: var(--sp-accent-tavannes); }
.ag-fenetre-evt:hover { background: var(--sp-surface-page); color: var(--sp-text-primary); }
.ag-fenetre-evt:focus-visible { outline: 2px solid var(--sp-text-primary); outline-offset: 2px; }
.ag-fenetre-img { flex: 0 0 auto; width: var(--sp-agenda-vignette); height: var(--sp-agenda-vignette); border-radius: var(--sp-radius-xs); object-fit: cover; }
.ag-fenetre-texte { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ag-fenetre-nom { font-weight: 700; overflow-wrap: anywhere; }
.ag-fenetre-meta { font-size: var(--sp-fs-xs); color: var(--sp-text-muted); }
@media (prefers-reduced-motion: no-preference) {
	.sp-cta-final-o { animation: sp-cta-flotte 9s ease-in-out infinite alternate; }
	@keyframes sp-cta-flotte { from { transform: translateY(-14px) rotate(-6deg); } to { transform: translateY(14px) rotate(6deg); } }
}

@media (prefers-reduced-motion: no-preference) {
	.ag-evt-img { transition: transform var(--sp-duree-lente) var(--sp-courbe-sortie); }
	.ag-evt:hover .ag-evt-img { transform: scale(1.06); }
}
.ev-ligne { --ev-accent: var(--sp-accent-reconvilier); display: grid; grid-template-columns: 92px 200px minmax(0, 1fr) auto; align-items: center; gap: var(--sp-space-6); padding: var(--sp-space-4); padding-right: var(--sp-space-6); border-radius: 20px; background: var(--sp-surface-primary); color: var(--sp-text-primary); border: 1px solid var(--sp-border-subtle); transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms ease, border-color 300ms ease; }
.ev-ligne--tavannes { --ev-accent: var(--sp-accent-tavannes); }
.ev-ligne:hover { color: var(--sp-text-primary); transform: translateY(-3px); border-color: transparent; box-shadow: 0 18px 44px -18px rgb(0 0 0 / 0.25); }
.ev-ligne.est-filtre { display: none; }
.ev-date { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: stretch; gap: 2px; border-radius: 14px; background: var(--sp-surface-inverse); color: var(--sp-text-on-inverse-fort); font-variant-numeric: tabular-nums; }
.ev-date-sem, .ev-date-mois { font-size: var(--sp-fs-xs); font-weight: 600; color: var(--sp-text-on-inverse-muted); }
/* La date de fin d'un événement qui dure : même famille que le mois, en
   capitales pour former un bloc avec lui plutôt qu'une ligne rapportée. */
.ev-date-fin { margin-top: 2px; font-size: var(--sp-fs-micro); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; color: var(--sp-text-on-inverse-muted); }
.ev-date-jour { font-size: 2.25rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.ev-visuel { display: block; height: 128px; border-radius: 14px; overflow: hidden; }
.ev-visuel .ph { transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1); }
.ev-ligne:hover .ev-visuel .ph { transform: scale(1.06); }
.ev-corps { display: flex; flex-direction: column; gap: var(--sp-space-2); min-width: 0; }
.ev-tags { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-space-3); }
.ev-tag { padding: 4px 10px; border-radius: 999px; background: color-mix(in oklch, var(--ev-accent) 18%, transparent); color: var(--sp-text-primary); font-size: var(--sp-fs-xs); font-weight: 700; }
.ev-lieu { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-size: var(--sp-fs-xs); font-weight: 500; color: var(--sp-text-subtle); }
.ev-point { width: 7px; height: 7px; border-radius: 50%; background: var(--ev-accent); }
.ev-titre { font-size: 1.375rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.ev-texte { font-size: var(--sp-fs-small); line-height: 1.5; color: var(--sp-text-muted); text-wrap: pretty; max-width: 62ch; }
.ev-action { display: flex; flex-direction: column; align-items: flex-end; gap: var(--sp-space-3); text-align: right; }
.ev-prix { flex: 0 0 auto; }
.ev-prix strong { white-space: nowrap; line-height: 1.15; display: block; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; }
.ev-prix span { white-space: nowrap; font-size: var(--sp-fs-xs); color: var(--sp-text-subtle); }
.ev-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--sp-action-booking); color: var(--sp-ink); font-size: var(--sp-fs-small); font-weight: 700; white-space: nowrap; }
.ev-cta svg { transition: transform 250ms ease; }
.ev-ligne:hover .ev-cta svg { transform: translateX(3px); }

.ev-filtres-lib { align-self: center; font-size: var(--sp-fs-small); font-weight: 500; color: var(--sp-text-subtle); margin-right: var(--sp-space-2); }
.ev-deux { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--sp-space-16); align-items: start; }
.ev-modalites { display: flex; flex-direction: column; gap: 0; }
.ev-modalite { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: var(--sp-space-5); padding: var(--sp-space-4) 0; border-bottom: 1px solid var(--sp-border-subtle); }
.ev-modalite:first-child { border-top: 1px solid var(--sp-border-subtle); }
.ev-modalite dt { font-size: var(--sp-fs-small); font-weight: 700; color: var(--sp-text-subtle); }
.ev-modalite dd { margin: 0; color: var(--sp-text-muted); }
.ev-resume { position: sticky; top: var(--sp-space-6); padding: var(--sp-space-6); background: var(--sp-surface-primary); color: var(--sp-text-primary); border: 1px solid var(--sp-border-subtle); border-radius: var(--sp-radius-md); }
.ev-resume-prix { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 var(--sp-space-1); }
.ev-resume-note { margin: 0 0 var(--sp-space-5); font-size: var(--sp-fs-small); color: var(--sp-text-muted); }
.ev-jauge { height: 6px; border-radius: 3px; background: var(--sp-surface-alt); overflow: hidden; margin-bottom: var(--sp-space-2); }
.ev-jauge span { display: block; height: 100%; border-radius: 3px; background: var(--sp-action-booking); }

/* --- Carte d'événement : badge date « calendrier » et pastille de tarif --- */
.sp-carte--evt .sp-carte-media { position: relative; }
.sp-evt-date { position: absolute; top: var(--sp-space-3); left: var(--sp-space-3); display: flex; flex-direction: column; align-items: center; min-width: 56px; padding: var(--sp-space-2) var(--sp-space-3); border: 1px solid var(--sp-glass-line); border-radius: var(--sp-radius-sm); background: var(--sp-evt-verre); -webkit-backdrop-filter: blur(var(--sp-evt-flou)); backdrop-filter: blur(var(--sp-evt-flou)); color: var(--sp-text-on-inverse-fort); box-shadow: 0 6px 16px rgba(var(--sp-nuit-rgb), 0.22); font-variant-numeric: tabular-nums; text-align: center; line-height: 1; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.sp-evt-date { background: var(--sp-evt-verre-repli); }
}
.sp-evt-date-jour { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; }
.sp-evt-date-mois { margin-top: 3px; font-size: var(--sp-fs-micro); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
/* La ligne de durée suit la typographie du mois — capitales, même interlettre
   — pour que les trois lignes forment un bloc et non un mot ajouté après coup. */
.sp-evt-date-fin { margin-top: var(--sp-space-1); padding-top: var(--sp-space-1); border-top: 1px solid var(--sp-glass-line); font-size: var(--sp-fs-micro); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.sp-evt-prix { position: absolute; right: var(--sp-space-3); bottom: var(--sp-space-3); display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 2 * var(--sp-space-3)); padding: 7px var(--sp-space-3); border-radius: var(--sp-radius-pill); background: var(--sp-action-booking); color: var(--sp-action-booking-ink); box-shadow: 0 6px 16px rgba(var(--sp-nuit-rgb), 0.22); font-size: var(--sp-fs-small); font-weight: 800; line-height: 1.2; }
.sp-evt-prix span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-evt-ico { flex: 0 0 auto; width: 16px; height: 16px; }
.sp-evt-type { display: inline-flex; align-items: center; gap: 6px; }


/* --- Landing campagne --- */
.lp-barre { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-space-5); height: 68px; }
.lp-tel { font-size: var(--sp-fs-small); font-weight: 600; color: var(--sp-text-on-inverse); }
.lp-hero-inner { position: relative; padding-top: var(--sp-space-16); padding-bottom: var(--sp-space-12); }
.lp-offre { display: inline-flex; align-items: center; gap: var(--sp-space-3); padding: 10px 20px; border-radius: var(--sp-radius-pill); background: var(--sp-action-booking); color: var(--sp-ink); font-weight: 700; font-size: var(--sp-fs-small); }
.lp-titre { font-size: clamp(2.5rem, 6vw, 4.5rem); margin: var(--sp-space-5) 0 0; max-width: 18ch; line-height: 0.98; }
.lp-preuves { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: var(--sp-space-6); }
.lp-preuve { display: flex; gap: var(--sp-space-4); align-items: flex-start; }
.lp-coche { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sp-action-booking); color: var(--sp-ink); }
.lp-preuve-titre { font-weight: 700; margin: 0 0 2px; }
.lp-preuve-note { margin: 0; font-size: var(--sp-fs-small); color: var(--sp-text-muted); }
.lp-compris { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: var(--sp-space-5); }
.lp-compris-item { padding: var(--sp-space-5) var(--sp-space-6); background: var(--sp-surface-primary); border: 1px solid var(--sp-border-subtle); border-radius: var(--sp-radius-md); }
.lp-compris-item h3 { font-size: 1rem; font-weight: 700; margin: 0 0 var(--sp-space-2); }
.lp-compris-item p { margin: 0; font-size: var(--sp-fs-small); color: var(--sp-text-muted); }
.lp-form-deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-space-12); align-items: start; }
.lp-encart { padding: var(--sp-space-8); background: var(--sp-surface-primary); border: 1px solid var(--sp-border-subtle); border-radius: var(--sp-radius); box-shadow: var(--sp-shadow-sm); }
.lp-variante { border: 1.5px dashed var(--sp-border-strong); border-radius: var(--sp-radius-md); padding: var(--sp-space-6); }
.lp-variante-lib { display: inline-block; margin-bottom: var(--sp-space-4); font-family: var(--sp-font-mono); font-size: var(--sp-fs-xs); color: var(--sp-text-subtle); }

/* --- Mobile : ce que les gabarits n'avaient pas prévu sous 480 px --- */

/* L'agenda sur téléphone : une ligne de répertoire, pas une carte.

   À 1000 px la ligne perdait déjà sa photo, mais gardait un titre de 22 px, un
   chapeau de deux lignes et un bouton de 40 px de haut : 180 px par événement,
   deux visibles à la fois. Ici la ligne tient en 88 px — date, intitulé, prix,
   action — et on voit l'agenda, ce qui est le but d'un agenda. */










/* ==========================================================================
   Deux ombres recalées, pour les pages de contenu seulement
   ==========================================================================
   spoort-tokens.css les a allégées : --sp-shadow passe de 0 20px 40px à
   0 10px 24px, --sp-shadow-sm de 0 16px 32px à 0 6px 16px. Les cartes se
   soulèvent moins au survol, les encarts flottent moins.

   Ces deux jetons sont lus par home.css, et les corriger dans tokens.css
   changerait la page d'accueil — ce que Marino interdit pour cette
   livraison. Ils sont donc redéfinis ici, où seules les pages de contenu
   les voient. Dette à refermer en rouvrant l'accueil : les valeurs
   remonteront dans tokens.css et ce bloc disparaîtra.

   La valeur reste écrite dans une déclaration de jeton, jamais en clair
   dans une règle de composant : la convention du socle est respectée.
   ========================================================================== */
:root {
	--sp-shadow: 0 10px 24px rgba(var(--sp-nuit-rgb), 0.07);
	--sp-shadow-sm: 0 6px 16px rgba(var(--sp-nuit-rgb), 0.05);
}

/* ==========================================================================
   Design system : l'écart rattrapé avec spoort-ui.css
   ==========================================================================
   Le thème portait une itération antérieure du design system — même histoire
   que l'en-tête. On reprend ici ce qui diverge ou manque, pas la feuille
   entière : la moitié des règles étaient déjà identiques.

   POURQUOI ICI ET PAS DANS main.css. Vingt-sept de ces règles servent au
   corps de la page d'accueil — boutons, étiquettes, surtitres, pastilles. Le
   design a changé de façon visible : les étiquettes quittent les capitales,
   les pastilles passent du verre translucide au blanc plein. Porter cela
   dans main.css changerait l'accueil, ce que Marino interdit. composants.css
   n'est chargé que sur les pages de contenu : l'accueil garde son apparence,
   les pages de contenu deviennent fidèles.

   CE QUE CELA COÛTE, et c'est une décision à trancher, pas un détail : le
   site parle deux langues visuelles tant que l'accueil n'est pas rouverte.
   Les sélecteurs d'élément nus (body, titres, :focus-visible) ne sont pas
   repris du tout, pour ne pas scinder la typographie.

   LES REMISES À ZÉRO EXPLICITES. Une propriété que la source ne déclare pas
   mais que le thème déclarait ne disparaît pas d'elle-même : la cascade la
   laisse en place. Les étiquettes restaient en capitales pour cette raison.
   D'où les « text-transform: none » et consorts, qui n'ont l'air de rien
   mais portent la moitié de la correction.

   Le bouton de l'en-tête n'est pas touché : main.css le gouverne par
   « .sp-nav-cta .sp-btn », plus spécifique que ce qui suit.
   ========================================================================== */
.sp-section { padding-block: var(--sp-section-y) }
.sp-section--nuit .sp-section-lead { color: var(--sp-text-on-inverse-muted) }
.sp-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-space-6); flex-wrap: wrap; margin-bottom: 44px }
.sp-section-lead { margin: 0; max-width: 46ch; color: var(--sp-text-muted) }

/* Les libellés ne sont plus en capitales. Une petite capitale force à écarter
   les lettres pour rester lisible, ce qui ajoute du bruit là où on voulait une
   discrétion. Même rôle en casse normale : un cran plus grand, moins gras, et
   une couleur en retrait. Le surtitre se rapproche aussi de son titre, pour
   qu'on lise les deux comme un seul bloc. */
.sp-eyebrow { display: flex; align-items: center; gap: var(--sp-space-3); margin: 0 0 var(--sp-space-3); font-size: var(--sp-fs-small); font-weight: 500; color: var(--sp-text-subtle); letter-spacing: normal; text-transform: none; }
.sp-eyebrow--or { color: var(--sp-accent-reconvilier-ink) }
.sp-eyebrow--bleu { color: var(--sp-accent-tavannes-ink) }
.sp-prose { max-width: 68ch; color: var(--sp-text-muted) }
.sp-prose h2, .sp-prose h3 { color: var(--sp-text-primary); margin-top: 1.6em }
.sp-prose p:last-child { margin-bottom: 0 }

/* ===== Pastilles, étiquettes, chips ===== */
.sp-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0; width: fit-content; padding: 6px 14px 6px 8px; border: none; border-radius: var(--sp-radius-pill); background: #fff; box-shadow: 0 6px 20px -8px rgb(0 0 0 / 0.45); color: var(--sp-ink); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.005em; line-height: 1.2; white-space: nowrap; backdrop-filter: none; }
.sp-pill:not(.sp-pill--dot) { padding-left: 14px }
.sp-pill--sm { padding: 5px 12px 5px 6px; font-size: var(--sp-fs-xs); gap: 8px }
.sp-pill--sm:not(.sp-pill--dot) { padding-left: 12px }
.sp-pill--dot::before { content: ""; width: 8px; height: 8px; flex: 0 0 auto; margin-left: 6px; border-radius: 50%; background: var(--sp-action-booking) }
.sp-tag { font-size: var(--sp-fs-xs); font-weight: 600; white-space: nowrap; letter-spacing: normal; text-transform: none; }
.sp-tag--or { color: var(--sp-accent-reconvilier-ink) }
.sp-tag--bleu { color: var(--sp-accent-tavannes-ink) }
.sp-chips { display: flex; gap: var(--sp-space-2); flex-wrap: wrap }
.sp-chips--hero { margin-top: var(--sp-space-6) }
.sp-chip { border: 1px solid var(--sp-action-quiet-bord); border-radius: var(--sp-radius-pill); padding: 7px 14px; font-size: var(--sp-fs-xs); font-weight: 600; color: rgba(var(--sp-cream-rgb), 0.9) }
.sp-hero .sp-badge { padding: 8px 14px 8px 12px; font-size: 0.875rem; font-weight: 700; box-shadow: 0 4px 16px -4px rgb(0 0 0 / 0.35) }
.sp-hero .sp-badge--ouvert { background: #1f9d55; color: #fff }
.sp-hero .sp-badge--ouvert::before { background: #fff; box-shadow: 0 0 0 3px rgb(255 255 255 / 0.3); animation: sp-badge-pouls 2s ease-out infinite }
.sp-hero .sp-badge--ferme { background: #c0392b; color: #fff }
.sp-hero .sp-badge--ferme::before { background: #fff }
a:hover .sp-arrow { transform: translateX(3px) }
.sp-lien-souligne { display: inline-flex; align-items: center; gap: var(--sp-space-2); font-weight: 500; border-bottom: 1px solid rgba(var(--sp-ink-rgb), 0.25); padding-bottom: 3px; transition: border-color var(--sp-transition) }
.sp-lien-souligne:hover { border-bottom-color: var(--sp-text-primary) }

/* Dans une colonne flex, un lien en inline-flex est étiré par défaut et son
   filet traverse toute la boîte. Il doit se caler sur son texte. */
.sp-info .sp-lien-souligne,
.sp-champ .sp-lien-souligne { align-self: flex-start }
.sp-section--nuit .sp-lien-souligne { border-bottom-color: var(--sp-border-glass) }

/* ===== Boutons ===== */
.sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-space-3); border: 1px solid transparent; border-radius: var(--sp-radius-pill); padding: 14px 28px; min-height: 48px; font: inherit; font-weight: 600; cursor: pointer; text-align: center; transition: background-color var(--sp-transition), border-color var(--sp-transition), color var(--sp-transition), transform var(--sp-transition) }
.sp-btn:active { transform: translateY(1px) }
.sp-btn--sm { padding: 10px 20px; min-height: 40px; font-size: var(--sp-fs-small) }
.sp-btn--lg { padding: 17px 34px; min-height: 56px; font-size: 1.0625rem }

/* L'action qui engage : réserver, s'inscrire, envoyer une demande. Une seule
   par bloc de décision, sauf dans une liste d'options parallèles où c'est la
   même action appliquée à plusieurs objets. */
.sp-btn--booking { background: var(--sp-action-booking); border-color: var(--sp-action-booking-bord); color: var(--sp-action-booking-ink); font-weight: 700 }
.sp-btn--booking:hover { background: var(--sp-action-booking-actif); border-color: var(--sp-action-booking-actif); color: var(--sp-action-booking-ink) }
/* Réservation sans destination : bouton grisé, non cliquable, sans survol. */
.sp-btn.is-desactive[aria-disabled="true"],
.sp-btn.is-desactive[aria-disabled="true"]:hover { background: var(--sp-surface-alt); border-color: var(--sp-border-subtle); color: var(--sp-text-muted); cursor: default; animation: none; box-shadow: none; transform: none; pointer-events: none }
.sp-btn--glass { background: var(--sp-action-secondary); border-color: var(--sp-action-secondary-bord); backdrop-filter: blur(16px); color: var(--sp-action-secondary-ink) }
.sp-btn--glass:hover { background: var(--sp-action-secondary-actif); color: var(--sp-action-secondary-ink) }
.sp-btn--clair { border-color: var(--sp-border-subtle); color: var(--sp-text-primary); background: var(--sp-surface-primary) }
.sp-btn--clair:hover { background: var(--sp-surface-alt); color: var(--sp-text-primary) }
.sp-btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed }
.sp-btn[aria-disabled="true"]:active { transform: none }
.sp-actions { display: flex; flex-wrap: wrap; gap: var(--sp-space-3); margin: 0 }

/* ===== Bannière ===== */
.sp-hero { position: relative; height: 75vh; height: 75svh; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; background: var(--sp-nuit-4); overflow: hidden; padding-bottom: clamp(40px, 6vw, 72px) }
.sp-hero--petit { min-height: auto; }
.sp-hero--coach { height: auto; min-height: 40vh; min-height: 40svh; justify-content: center; padding-block: var(--sp-space-10) }
.sp-hero--coach .sp-hero-inner { padding-top: 0 }
.sp-hero-inner { position: relative; padding-top: var(--sp-space-8); color: var(--sp-text-on-inverse-fort) }
.sp-hero-titre { margin: 0; max-width: 20ch; font-size: var(--sp-fs-hero); line-height: 0.98 }
.sp-hero-lead { margin: var(--sp-space-6) 0 0; max-width: 56ch; font-size: var(--sp-fs-lead); line-height: 1.55; color: rgba(var(--sp-cream-rgb), 0.92) }
.sp-hero-haut { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-space-3); margin-bottom: var(--sp-space-4) }

/* Appartenance au centre : une vraie entrée, pas une métadonnée de plus. */
.sp-centre-lien { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 6px 14px 6px 8px; border: none; border-radius: var(--sp-radius-pill); background: #fff; box-shadow: 0 6px 20px -8px rgb(0 0 0 / 0.45); color: var(--sp-ink); font-size: 0.8125rem; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: transform 200ms ease; backdrop-filter: none; }
.sp-centre-lien:hover { color: var(--sp-ink); transform: translateY(-1px); background: none; }
.sp-centre-pastille { width: 8px; height: 8px; margin-left: 6px; flex: 0 0 auto; border-radius: 50%; font-size: 0; color: transparent; overflow: hidden; background: var(--sp-accent-reconvilier) }
.sp-breadcrumb { font-size: var(--sp-fs-small); color: var(--sp-text-subtle); margin-bottom: var(--sp-space-5) }
.sp-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-space-2); margin: 0; padding: 0; list-style: none }
/* Chaque maillon aligne son séparateur sur son texte. Sans cela, le lien —
   qui porte une cible tactile de 44 px sur téléphone, donc une boîte plus
   haute que sa ligne — retombait sur la ligne de base de la boîte, et le
   « / » comme la page courante flottaient au-dessus de lui. */
.sp-breadcrumb li { display: inline-flex; align-items: center; gap: var(--sp-space-2) }
.sp-breadcrumb li + li::before { content: "/"; opacity: 0.5 }
.sp-hero .sp-breadcrumb { color: var(--sp-text-on-inverse-muted) }
.sp-hero .sp-breadcrumb a:hover { color: var(--sp-text-on-inverse-fort) }

/* ===== Infos pratiques ===== */
.sp-grid-infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: var(--sp-gap) }

/* Pas de bordure : sur le crème de la page, le blanc se détache seul. Une
   ligne de moins à lire, et les blocs respirent. */
.sp-info { display: flex; flex-direction: column; gap: var(--sp-space-2); padding: var(--sp-space-6); background: var(--sp-surface-primary); color: var(--sp-text-primary); border-radius: var(--sp-radius-md); border: none; }
.sp-info-titre { margin: 0; font-size: var(--sp-fs-small); font-weight: 600; color: var(--sp-text-primary); text-transform: none; letter-spacing: -0.03em; }
.sp-carte { display: flex; flex-direction: column; background: var(--sp-surface-primary); border: 1px solid var(--sp-border-subtle); border-radius: var(--sp-radius-md); overflow: hidden; color: var(--sp-text-primary); transition: transform var(--sp-transition), box-shadow var(--sp-transition), border-color var(--sp-transition) }
.sp-carte:hover { transform: translateY(-2px); box-shadow: var(--sp-shadow); border-color: var(--sp-border-strong); color: var(--sp-text-primary) }
.sp-carte-media { height: 180px; background: var(--sp-surface-alt); min-height: auto; }
.sp-carte-body { flex: 1; padding: var(--sp-space-5) 22px 22px; display: flex; flex-direction: column; gap: var(--sp-space-2) }
.sp-carte-titre { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em }
.sp-carte-texte { font-size: var(--sp-fs-small); line-height: 1.5; color: var(--sp-text-muted) }
.sp-carte .sp-tag { align-self: flex-start }
.sp-carte .sp-lien-souligne { margin-top: auto; align-self: flex-start; border-bottom-color: transparent }
.sp-carte:hover .sp-lien-souligne { border-bottom-color: var(--sp-text-primary) }
.sp-carte--coach .sp-carte-media { height: auto; aspect-ratio: 4 / 5; min-height: auto; }
.sp-carte--coach .sp-carte-body { padding: var(--sp-space-5) var(--sp-space-5) var(--sp-space-4); gap: var(--sp-space-3) }
.sp-coach-pied .sp-arrow { transition: transform var(--sp-transition) }
.sp-carte--coach:hover .sp-coach-pied .sp-arrow { transform: translateX(3px) }
.sp-carte-media--rond { width: 96px; height: 96px; margin: var(--sp-space-6) auto 0; border-radius: 50%; overflow: hidden }

/* ===== Sponsors, une seule implémentation ===== */
/* border-block: none fait partie du portage : la règle plus haut posait un
   filet clair en haut et en bas, qui n'a plus de sens sur un fond de nuit et
   ajoutait 2 px à la bande. La cascade ne le retire pas d'elle-même. */
.sp-sponsors { overflow: hidden; background: var(--sp-surface-inverse); color: var(--sp-text-on-inverse-fort); padding-block: clamp(64px, 9vw, 120px); display: flex; flex-direction: column; gap: var(--sp-space-5); position: relative; border-block: none }

/* Emplacement d'image de la bannière d'activité. Dans la maquette il habille
   un cadre d'attente ; sur le site, la vraie photo est un <img class="sp-hero-bg">.
   La règle est portée quand même : elle ne coûte rien et le banc de
   comparaison cesse de signaler un écart qui n'en est pas un. */
.ac-hero-ph { position: absolute; inset: 0 }
.sp-sponsors::before, .sp-sponsors::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none }
.sp-sponsors::before { left: 0; background: linear-gradient(90deg, var(--sp-surface-inverse), transparent) }
.sp-sponsors::after { right: 0; background: linear-gradient(-90deg, var(--sp-surface-inverse), transparent) }
.sp-sponsors-titre { margin: 0 auto var(--sp-space-8); font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; text-align: center; color: var(--sp-text-on-inverse-fort); text-transform: none; }
.sp-sponsors-piste { display: flex; width: max-content; animation: sp-marquee 48s linear infinite }
.sp-sponsors-piste--inverse { animation-direction: reverse; animation-duration: 56s }
/* Jamais de pause au survol (décision Marino), mais au focus clavier (WCAG 2.2.2). */
.sp-sponsors-piste:focus-within { animation-play-state: paused }
.sp-sponsors-suite { display: flex; align-items: center; gap: var(--sp-space-5); padding-right: var(--sp-space-5); margin: 0; list-style: none }
.sp-sponsor { flex: 0 0 auto; display: grid; place-items: center; width: 240px; height: 120px; overflow: hidden; border-radius: 20px; background: rgb(255 255 255 / 0.06); transition: background-color 300ms ease, transform 400ms cubic-bezier(0.16, 1, 0.3, 1) }
/* Le logo remplit sa carte, bord à bord, sans filtre : c'est une tuile de marque, pas une icône posée au centre. */
.sp-sponsor > a, .sp-sponsor > img { display: block; width: 100%; height: 100%; }
.sp-sponsor:hover { background: #fff; transform: translateY(-4px) }
.sp-sponsor .ph { width: 150px !important; height: 56px !important; border-radius: 10px; background: none; color: rgb(255 255 255 / 0.7); font-size: var(--sp-fs-small) }
.sp-sponsor:hover .ph { color: var(--sp-ink) }
.sp-sponsor img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; border-radius: inherit; }
.sp-sponsor-nom { padding: 0 16px; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; text-align: center; color: rgb(255 255 255 / 0.85); white-space: nowrap; transition: color 300ms ease; border: none; border-radius: 0; }
.sp-sponsor:hover .sp-sponsor-nom { color: var(--sp-ink) }

.sp-modale { width: min(480px, 100%); padding: var(--sp-space-8); background: var(--sp-surface-primary); color: var(--sp-text-primary); border: 1px solid var(--sp-border-subtle); border-radius: var(--sp-radius); box-shadow: var(--sp-shadow-dialogue) }
.sp-modale-eyebrow { margin: 0 0 var(--sp-space-2); font-size: var(--sp-fs-small); font-weight: 500; color: var(--sp-accent-reconvilier-ink); letter-spacing: normal; text-transform: none; }
.sp-filtre { font-family: inherit; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--sp-border-subtle); border-radius: var(--sp-radius-pill); background: var(--sp-surface-primary); font-size: var(--sp-fs-small); font-weight: 500; color: var(--sp-text-muted); transition: border-color var(--sp-transition), color var(--sp-transition), background-color var(--sp-transition) }

/* ===== Tableaux tarifs et horaires ===== */

/* separate plutôt que collapse : avec collapse, le fond de l'en-tête déborde
   du rayon et les deux coins hauts du tableau redeviennent carrés. */
.sp-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; margin-block: -6px; color: var(--sp-text-primary) }
.sp-table caption { text-align: left; padding: 0 0 var(--sp-space-3); font-weight: 700 }
/* Remise à zéro explicite : la règle plus haut dans ce fichier posait un
   border-bottom par cellule, que la source ne déclare pas. Un filet par
   ligne ajoutait 1 px à chaque rangée du tableau, et la cascade ne le retire
   pas d'elle-même. */
.sp-table th, .sp-table td { padding: 18px 24px; text-align: left; background: var(--sp-surface-primary); border-bottom: none; transition: background-color 200ms ease }
.sp-table tr > :first-child { border-radius: 14px 0 0 14px }
.sp-table tr > :last-child { border-radius: 0 14px 14px 0 }
.sp-table tr > :only-child { border-radius: 14px }
.sp-table tbody th { font-weight: 600 }
.sp-table thead th { padding-block: 10px; font-size: var(--sp-fs-small); font-weight: 600; color: var(--sp-text-muted); background: transparent }
/* Survol : on éclaircit seulement les lignes claires. La ligne du jour et la
   ligne mise en avant sont sur fond nuit avec un texte crème, et un survol qui
   leur rendait un fond clair laissait du texte clair sur fond clair. */
.sp-table tbody tr:not([aria-current="date"]):not(.sp-table-ligne--avant):hover th, .sp-table tbody tr:not([aria-current="date"]):not(.sp-table-ligne--avant):hover td { background: color-mix(in oklch, var(--sp-surface-primary) 92%, var(--sp-accent-reconvilier)) }
.sp-table tbody tr.sp-table-ligne--avant:hover th, .sp-table tbody tr.sp-table-ligne--avant:hover td { background: var(--sp-surface-inverse-2) }
.sp-table-prix { font-size: 1.125rem; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap }
.sp-table-note { font-size: var(--sp-fs-xs); font-weight: 400; letter-spacing: 0; color: var(--sp-text-muted) }
.sp-table tr[aria-current="date"] th, .sp-table tr[aria-current="date"] td { background: var(--sp-surface-inverse); color: var(--sp-text-on-inverse-fort); font-weight: 600 }
.sp-table tr[aria-current="date"] .sp-table-note { color: var(--sp-text-on-inverse-muted) }
/* Ligne mise en avant d'une grille de tarifs (« Recommandé » du plugin) : même
   traitement que la ligne du jour d'un horaire. Les sous-libellés (« heures
   creuses ») et la note de grille sont des notes posées en bloc. */
.sp-table tr.sp-table-ligne--avant th, .sp-table tr.sp-table-ligne--avant td { background: var(--sp-surface-inverse); color: var(--sp-text-on-inverse-fort); font-weight: 600 }
.sp-table tr.sp-table-ligne--avant .sp-table-note { color: var(--sp-text-on-inverse-muted) }
.sp-table-note--bloc { display: block; font-weight: 400 }
.sp-table-note--grille { display: block; margin-top: var(--sp-space-4) }

/* Grille en matrice : un en-tête de groupe (« Lundi à vendredi ») qui couvre
   ses plages (« 7h à 17h », « 17h à 23h »), les plages centrées au-dessus de
   leurs prix, les prix centrés sur leur colonne. Le filet transparent à gauche
   de chaque groupe ouvre un espace net entre deux groupes dans l'en-tête ; un
   filet fin le prolonge dans les lignes de prix. */
.sp-table--matrice thead th { text-align: center; border-radius: 0 }
.sp-table--matrice thead th:first-child { text-align: left }
.sp-table--matrice thead th.sp-table-g-debut { border-left: 6px solid transparent; background-clip: padding-box }
.sp-table--matrice thead th.sp-table-groupe { padding: 12px 16px; border-radius: 12px; background-color: var(--sp-surface-inverse); color: var(--sp-text-on-inverse-fort); font-size: var(--sp-fs-body); font-weight: 700 }
.sp-table--matrice thead th.sp-table-groupe .sp-table-note { color: var(--sp-text-on-inverse-muted) }
.sp-table--matrice thead th.sp-table-periode { box-shadow: inset 0 -2px 0 var(--sp-border-strong); color: var(--sp-text-primary) }
.sp-table--matrice tbody td { text-align: center }
.sp-table--matrice tbody td.sp-table-g-debut { box-shadow: inset 1px 0 0 var(--sp-border-strong) }
.sp-table--matrice tr.sp-table-ligne--avant td.sp-table-g-debut { box-shadow: inset 1px 0 0 var(--sp-border-inverse) }
.sp-table-g-titre { display: none }

/* ==========================================================================
   Reliquats du portage : trois héritages que la cascade gardait
   ==========================================================================
   Mesurés au banc de comparaison, écran « centre ». Chacun vient du même
   mécanisme : la source ne déclare pas une propriété, l'ancienne règle du
   thème si, et rien ne l'efface. */

/* Le tableau ne porte ni fond ni cadre : ce sont ses CELLULES qui sont
   blanches, et l'espacement de 6 px entre les rangées laisse voir la page au
   travers. Un fond sur le tableau lui-même bouchait ces interstices et
   supprimait la séparation des lignes. */
.sp-table {
	background: none;
	border: none;
	border-radius: 0;
	overflow: visible;
}

/* Le nom d'un sponsor n'est plus un emplacement en chasse fixe mais un vrai
   logotype typographique. Sans ce retour à la police du corps, les noms
   restaient en monospace et la piste défilante mesurait 600 px de trop. */
.sp-sponsor-nom {
	font-family: inherit;
	border: none;
}

/* Les logotypes de la piste défilante se touchent presque : c'est le défilé
   qui crée l'espacement, pas une marge. Les 26 px de l'ancienne règle
   ajoutaient 624 px à une piste de 3120. */
.sp-sponsor { margin: 0; }

/* ==========================================================================
   Modificateurs restés dans main.css : une question d'ordre, pas de valeur
   ==========================================================================
   Ces neuf règles ont la même valeur des deux côtés. Le problème n'était pas
   ce qu'elles disent mais OÙ elles le disent : la règle de base .sp-btn,
   portée plus haut dans ce fichier, est chargée APRÈS main.css. À
   spécificité égale, elle l'emportait donc sur .sp-btn--md et consorts, et
   tous les boutons moyens perdaient leurs 15 px de rembourrage au profit des
   14 px de la base. Les redéclarer ici, après la base, rétablit l'ordre que
   la maquette suppose.
   ========================================================================== */

.sp-wrap { width: 100%; max-width: var(--sp-wrap); margin-inline: auto; padding-inline: var(--sp-gutter) }
.sp-section-head--inline { margin-bottom: 36px }
.sp-section-title { font-size: var(--sp-fs-title); margin: 0 }
.sp-arrow { flex: 0 0 auto; transition: transform var(--sp-transition) }
.sp-btn--md { padding: 15px 30px; font-size: var(--sp-fs-body) }
.sp-btn--ghost { border-color: var(--sp-action-quiet-bord); color: var(--sp-action-quiet-ink); backdrop-filter: blur(10px) }
.sp-btn--ghost:hover { background: var(--sp-action-quiet-actif); color: var(--sp-text-on-inverse-fort) }
.sp-btn--nuit { background: var(--sp-action-primary); border-color: var(--sp-action-primary); color: var(--sp-action-primary-ink) }
.sp-btn--nuit:hover { background: var(--sp-action-primary-actif); border-color: var(--sp-action-primary-actif); color: var(--sp-action-primary-ink) }

/* ==========================================================================
   Modificateurs que le portage enjambait
   ==========================================================================
   Même mécanique que les tailles de bouton : ces règles précisent une
   propriété (margin-top) dont une règle de base portée plus bas déclare
   le raccourci (margin). À spécificité égale, la dernière gagne — et le
   bouton d'un héros perdait ses 32 px de respiration. Elles reviennent
   donc après.
   ========================================================================== */

.sp-chip--clair { border-color: var(--sp-border-subtle); color: var(--sp-text-muted) }
.sp-carte:hover { transform: translateY(-4px); box-shadow: var(--sp-shadow); border-color: var(--sp-border-strong); color: var(--sp-text-primary) }
.sp-filtre:hover { border-color: var(--sp-text-primary); color: var(--sp-text-primary) }
.sp-filtre[aria-current="true"] { background: var(--sp-action-primary); border-color: var(--sp-action-primary); color: var(--sp-action-primary-ink) }
.sp-hero-actions { margin-top: var(--sp-space-8) }

/* Le modificateur revient après la règle de base portée, sinon les deux
   centres partagent la couleur de Reconvilier. */
.sp-centre-pastille--tavannes { background: var(--sp-accent-tavannes) }

/* ==========================================================================
   Mouvement : barre de réservation et fenêtre à deux choix
   ==========================================================================
   Portées de spoort-motion.css. Elles vivent ici et non dans main.css parce
   que ni la barre ni la fenêtre n'existent sur la page d'accueil. */

/* La barre monte du bas à l'arrivée. C'est le seul élément qui a le droit
   d'attirer l'oeil tout seul, parce que c'est l'action de la page. */
.sp-barre {
	animation: sp-barre-monte var(--sp-duree-lente) var(--sp-courbe-sortie) 240ms both;
}
@keyframes sp-barre-monte {
	from { transform: translateY(calc(100% + var(--sp-space-10))); }
	to   { transform: none; }
}

/* Variante : la barre attend d'être utile. Tant que la bannière (et son
   action) est à l'écran, la barre ne ferait que la répéter. Elle monte dès
   que la bannière est aux deux tiers sortie, et redescend quand on remonte
   (classe .est-visible, posée par assets/js/contenus.js). Le glissement dit
   d'où elle vient. */
.sp-barre--auto {
	animation: none;
	transform: translateY(calc(100% + var(--sp-space-10)));
	/* Hors champ, la barre sort aussi du parcours au clavier. */
	visibility: hidden;
	transition: transform var(--sp-duree-lente) var(--sp-courbe-sortie), visibility 0s linear var(--sp-duree-lente);
}
.sp-barre--auto.est-visible { transform: none; visibility: visible; transition-delay: 0s; }
.sp-barre--auto .sp-btn--booking { animation: none; }

/* Cartes qui arrivent une à une (courts du Padel, formules Entreprises) :
   une montée courte et nette, en CSS pur, posée par assets/js/contenus.js
   (classe .est-vu, décalage d'une carte à l'autre) — pas de flou ni de zoom,
   et surtout aucune dépendance au tick d'une bibliothèque : une transition
   CSS finit toujours. Caché seulement sous .sp-js (voir spoort_marque_js()) :
   sans script, tout est visible. Une fois vue, la carte ne garde aucun
   transform à elle, pour que son survol reste celui de son composant. */
.sp-js .sp-reveal--carte:not(.est-vu) { opacity: 0; transform: translateY(28px); }
.sp-court.sp-reveal--carte { transition: opacity 600ms ease, transform 700ms var(--sp-courbe-sortie), background-color 300ms ease, box-shadow 400ms ease; }
.en-formule.sp-reveal--carte { transition: opacity 600ms ease, transform 700ms var(--sp-courbe-sortie), border-color 250ms ease, box-shadow 250ms ease; }

/* États de départ des révélations GSAP (contenus.js). Posés en CSS, sous .sp-js
   (marque posée dans le <head>), pour être actifs dès le premier rendu : sinon
   l'élément se montre à son état final, disparaît quand le script différé
   prend la main, puis s'anime. Le script ajoute .sp-pret au moment où il pose
   lui-même l'état de départ en ligne, ce qui retire la règle sans à-coup.
   Sans GSAP, .sp-js est retiré (contenus.js, ou filet du <head>) : rien ne
   reste caché. Les neutralisations de mouvement réduit sont en fin de feuille. */
.sp-js :is( .sp-reveal:not(.sp-reveal--carte, .sp-section-title), [data-sp-reveal]:not(.ac-ligne, .sp-section-title) ):not(.sp-pret) { opacity: 0; transform: translateY(var(--sp-reveal-decalage)) scale(var(--sp-reveal-echelle)); filter: blur(var(--sp-reveal-flou)); }
.sp-js :is( .sp-hero-titre, .sp-section-title ):not(.sp-pret) { opacity: 0; }
.sp-js [data-sp-compteur]:not(.sp-pret) { visibility: hidden; }
.sp-js .sp-hero-bg:not(.sp-pret) { transform: scale(var(--sp-hero-zoom-depart)); opacity: var(--sp-hero-opacite-depart); }
.sp-js .sp-hero-objet-dessin:not(.sp-pret) { opacity: 0; transform: translateY(var(--sp-objet-decalage)) rotateY(var(--sp-objet-rotation)) scale(var(--sp-objet-echelle)); }
.sp-js [data-sp-horloge]:not(.sp-pret) { opacity: 0; transform: translateY(calc(-1 * var(--sp-horloge-chute))); }

/* Le bouton respire une fois à l'arrivée, puis plus jamais : une pulsation
   qui se répète devient du bruit au bout de dix secondes. */
.sp-barre .sp-btn--booking {
	animation: sp-booking-arrive var(--sp-duree-lente) var(--sp-courbe-sortie) 560ms both;
}
@keyframes sp-booking-arrive {
	from { transform: scale(0.94); opacity: 0; }
	to   { transform: none; opacity: 1; }
}

.sp-modale-fond { animation: sp-fond-entre var(--sp-duree-base) ease both; }
@keyframes sp-fond-entre { from { opacity: 0; } to { opacity: 1; } }

.sp-modale-fond .sp-modale {
	animation: sp-modale-entre var(--sp-duree-lente) var(--sp-courbe-sortie) both;
}
@keyframes sp-modale-entre {
	from { opacity: 0; transform: translateY(12px) scale(0.985); }
	to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   Page générique : sommaire et 404
   ==========================================================================
   Portées de spoort-proto.css, où elles vivaient classées comme échafaudage
   du prototype — à tort, deux vraies pages s'appuient sur elles : la page
   générique (page.php, « Informations légales » dans la maquette) et la
   page introuvable (404.php).
   ========================================================================== */
.lg-sommaire { display: flex; flex-wrap: wrap; gap: var(--sp-space-3) }
.lg-corps { max-width: 72ch }
.lg-corps .sp-prose p { margin-bottom: var(--sp-space-5) }

.er-section { min-height: 70vh; display: flex; align-items: center }
.er-corps { max-width: 62ch }
.er-titre { max-width: 16ch; margin: 0 0 var(--sp-space-5) }
.er-lead { margin: 0 0 var(--sp-space-8) }
.er-actions { margin: 0 0 var(--sp-space-16) }
.er-pistes { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)) }

/* ==========================================================================
   Vue d'ensemble des tarifs et des horaires
   ==========================================================================
   Portées de spoort-proto.css, même histoire que .lg-/.er- plus bas : de
   vrais composants, mal classés comme échafaudage. .sp-centre-lien--clair
   est le seul modificateur neuf — la pastille de centre existait déjà sur
   fond de bannière, il lui fallait une version lisible sur fond de page.
   ========================================================================== */
.sp-centre-lien--clair { background: var(--sp-surface-alt); color: var(--sp-text-muted) }

/* Parcours « choisir puis voir » (sp_c_parcours() : horaires, tarifs). Sans
   JavaScript, la zone de choix reste cachée et les panneaux se suivent ; avec,
   contenus.js pose .is-armed et n'affiche qu'une vue à la fois. */
.sp-parcours { scroll-margin-top: calc(var(--sp-nav-h) + var(--sp-space-4)) }
.sp-parcours [hidden] { display: none }
html.sp-js .sp-parcours:not(.is-armed) .sp-parcours-panneau, html.sp-js [data-sp-parcours-suite]:not(.is-armed) { display: none }
.sp-parcours-choix .sp-section-title:focus, .sp-parcours-panneau:focus { outline: none }
.sp-parcours-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(var(--sp-parcours-carte-min), 100%), 1fr)); gap: var(--sp-space-4); margin: var(--sp-space-8) 0 0; padding: 0; list-style: none }
.sp-parcours-carte { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-space-2); height: 100%; min-height: 9rem; padding: var(--sp-space-6); padding-right: var(--sp-space-16); background: var(--sp-surface-primary); color: var(--sp-text-primary); border: 1px solid var(--sp-border-subtle); border-radius: var(--sp-radius-md); transition: border-color var(--sp-transition) }
.sp-parcours-carte:hover { border-color: var(--sp-text-primary); color: var(--sp-text-primary) }
.sp-parcours-carte:focus-visible { outline: 2px solid var(--sp-text-primary); outline-offset: 2px }
.sp-parcours-sur, .sp-parcours-lieu { display: inline-flex; align-items: center; gap: var(--sp-space-2); font-size: var(--sp-fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sp-text-muted) }
.sp-parcours-sur .sp-centre-pastille, .sp-parcours-lieu .sp-centre-pastille { margin-left: 0 }
.sp-parcours-nom { font-size: var(--sp-fs-nom); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2 }
.sp-parcours-note { font-size: var(--sp-fs-small); color: var(--sp-text-muted) }
.sp-parcours-note .sp-badge { text-transform: capitalize }
.sp-parcours-fleche { position: absolute; right: var(--sp-space-6); bottom: var(--sp-space-6); display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--sp-border-subtle); border-radius: 50%; transition: background var(--sp-transition), border-color var(--sp-transition), color var(--sp-transition) }
.sp-parcours-carte:hover .sp-parcours-fleche { background: var(--sp-action-booking); border-color: transparent; color: var(--sp-action-booking-ink) }
.sp-parcours-haut { margin: 0 0 var(--sp-space-6) }
.sp-parcours-haut .sp-btn { gap: var(--sp-space-2) }
.sp-parcours-haut .sp-icone { width: var(--sp-space-5); height: var(--sp-space-5) }
.sp-parcours:not(.is-armed) .sp-parcours-panneau + .sp-parcours-panneau { margin-top: var(--sp-space-12) }
.sp-parcours-tete { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-space-3) var(--sp-space-4); margin-bottom: var(--sp-space-5) }
.sp-parcours-titre { margin: 0; font-size: var(--sp-fs-sous-titre); font-weight: 700; letter-spacing: -0.015em }
.sp-parcours-voir { margin-left: auto }

.ho-exceptions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--sp-space-5) }
.ho-exception { display: flex; flex-direction: column; gap: 4px; padding: var(--sp-space-4) 0; border-top: 2px solid var(--sp-action-booking) }
.ho-date { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; color: var(--sp-text-primary) }
.ho-quoi { font-size: var(--sp-fs-small); color: var(--sp-text-muted) }
.sp-section--nuit .ho-date { color: var(--sp-text-on-inverse-fort) }
.sp-section--nuit .ho-quoi { color: var(--sp-text-on-inverse-muted) }

/* ==========================================================================
   Vue d'ensemble des activités : la ligne de liste
   ==========================================================================
   Portée de spoort-proto.css, où elle vit sous les classes d'échafaudage du
   prototype (.pr-*) — à tort : ce n'est pas l'échafaudage qui dessine un
   index d'écrans, c'est un vrai composant de page, la ligne de la vue
   d'ensemble des activités. .ac-pastille porte son propre nom : .ac-point
   existe déjà pour les chiffres clés d'une fiche activité, et les deux ne
   peuvent pas partager un sélecteur.
   ========================================================================== */
.ac-liste { display: flex; flex-direction: column; gap: var(--sp-space-4) }
.ac-ligne {
	--ac-accent: var(--sp-accent-reconvilier);
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--sp-space-6);
	padding: var(--sp-space-4);
	padding-right: var(--sp-space-6);
	border-radius: 20px;
	background: var(--sp-surface-primary);
	color: var(--sp-text-primary);
	border: 1px solid var(--sp-border-subtle);
	transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms ease, border-color 300ms ease;
}
.ac-ligne--tavannes { --ac-accent: var(--sp-accent-tavannes) }
.ac-ligne.est-filtre { display: none }
.ac-ligne:hover { color: var(--sp-text-primary); transform: translateY(-3px); border-color: transparent; box-shadow: 0 18px 44px -18px rgb(0 0 0 / 0.25) }
.ac-visuel { display: block; height: 180px; border-radius: 14px; overflow: hidden }
.ac-visuel .ph, .ac-visuel img { transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1) }
.ac-ligne:hover .ac-visuel img { transform: scale(1.06) }
.ac-corps { display: flex; flex-direction: column; gap: var(--sp-space-2); min-width: 0 }
.ac-tags { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-space-3) }
.ac-tag { padding: 4px 10px; border-radius: 999px; background: color-mix(in oklch, var(--ac-accent) 18%, transparent); color: var(--sp-text-primary); font-size: var(--sp-fs-xs); font-weight: 700 }
.ac-lieu { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-size: var(--sp-fs-xs); font-weight: 500; color: var(--sp-text-subtle) }
.ac-pastille { width: 7px; height: 7px; border-radius: 50%; background: var(--ac-accent) }
.ac-titre { font-size: 1.5rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em }
.ac-texte { font-size: var(--sp-fs-small); line-height: 1.5; color: var(--sp-text-muted); text-wrap: pretty; max-width: 62ch }
.ac-action { display: flex; flex-direction: column; align-items: flex-end; gap: var(--sp-space-3); text-align: right }
.ac-chiffre { flex: 0 0 auto }
.ac-chiffre strong { display: block; white-space: nowrap; line-height: 1.15; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em }
.ac-chiffre span { white-space: nowrap; font-size: var(--sp-fs-xs); color: var(--sp-text-subtle) }
.ac-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--sp-action-booking); color: var(--sp-ink); font-size: var(--sp-fs-small); font-weight: 700; white-space: nowrap }
.ac-cta svg { transition: transform 250ms ease }
.ac-ligne:hover .ac-cta svg { transform: translateX(3px) }

/* Le compte de résultats affiché à côté des filtres. Sans lui, filtrer sur
   un centre qui n'a pas l'activité ressemble à une page cassée plutôt qu'à
   une réponse. Nom de classe « pr- » gardé tel quel : c'est celui du
   prototype (spoort-proto.css), et il n'existe nulle part ailleurs sur le
   site — le garder évite une divergence sans rien gagner. */
.pr-compte { margin: 0 0 0 auto; align-self: center; font-size: var(--sp-fs-small); color: var(--sp-text-muted); font-variant-numeric: tabular-nums }
.sp-hero .pr-compte { margin: 0 }

/* Barre de filtres flottante (vues d'ensemble des activités et des
   événements). Portée de la maquette.

   Une barre de filtres placée en tête disparaît dès qu'on commence à
   parcourir la liste : il faut remonter pour changer d'avis. Ancrée en bas,
   elle reste sous la main pendant qu'on lit. « position: sticky » avec un
   décalage par le bas ne convient pas (il retient un élément qui serait trop
   bas, pas un élément qui s'en va vers le haut) : c'est donc un ancrage fixe,
   et c'est assets/js/contenus.js qui la fait remonter quand le pied de page
   arrive. Le centrage se fait par les marges, pas par un transform : la
   logique n'a plus qu'un décalage vertical à poser. Un cran plus large que
   la colonne de contenu : alignée au pixel sur les cartes, elle passerait
   pour une rangée de plus. Fond plein et ombre franche : translucide, elle
   se confondait avec la page, crème elle aussi. */
.sp-filtres.sp-filtres--flottante {
	position: fixed;
	left: 0;
	right: 0;
	bottom: var(--sp-space-5);
	z-index: 30;
	width: min(calc(100vw - var(--sp-space-6) * 2), calc(var(--sp-wrap) - var(--sp-gutter) * 2 + var(--sp-space-12)));
	margin: 0 auto;
	padding: var(--sp-space-4) var(--sp-space-6);
	gap: var(--sp-space-3) var(--sp-space-6);
	border: 1px solid var(--sp-border-subtle);
	border-radius: var(--sp-radius-md);
	background: var(--sp-surface-primary);
	box-shadow: 0 18px 40px rgba(var(--sp-nuit-rgb), 0.16), 0 2px 6px rgba(var(--sp-nuit-rgb), 0.06);
	transition: transform var(--sp-duree-base) var(--sp-courbe-sortie);
}
/* La barre flotte au-dessus du contenu : la liste se réserve la place en bas
   (mesurée par le script dans --sp-filtres-h) pour que ses dernières cartes
   ne passent jamais dessous, et garde une hauteur minimale quel que soit le
   nombre de résultats — sinon filtrer raccourcit la page, le pied remonte et
   la barre avec lui. Sans résultat, la liste rend sa place à l'état vide. */
.sp-liste-filtree {
	min-height: calc(100svh - 420px);
	padding-bottom: calc(var(--sp-filtres-h, 100px) + var(--sp-space-8));
}
.sp-liste-filtree.est-sans-resultat { min-height: 0; padding-bottom: 0; }
.sp-section.est-sans-resultat { padding-bottom: 0; }
/* L'état vide reste une petite boîte : la hauteur qui manque à la page se
   prend en marge extérieure, jamais en marge intérieure. */
.sp-vide--filtre:not([hidden]) {
	max-width: 640px;
	margin-inline: auto;
	padding-bottom: var(--sp-space-10);
	margin-bottom: calc(var(--sp-filtres-h, 100px) + 160px);
}

/* ===== Fiche centre : icônes et services (lot vivant) ===== */
/* L'accent suit le centre : l'or pour Reconvilier, le bleu pour Tavannes. */
.sp-centre-infos,
.sp-services { --sp-centre-accent: var(--sp-accent-reconvilier); --sp-centre-accent-ink: var(--sp-ink); }
.sp-centre-infos--tavannes { --sp-centre-accent: var(--sp-accent-tavannes); }

/* Pastille d'icône : disque d'accent, pictogramme à l'encre. */
.sp-info-pastille { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: var(--sp-space-12); height: var(--sp-space-12); margin-bottom: var(--sp-space-2); border-radius: 50%; background: var(--sp-centre-accent); color: var(--sp-centre-accent-ink); }
.sp-info-pastille .sp-icone { width: var(--sp-space-6); height: var(--sp-space-6); }
/* Halo : un anneau d'accent qui s'élargit en s'effaçant (transform et opacité). */
.sp-info-pastille::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sp-centre-accent); opacity: 0; pointer-events: none; }

/* Grand pictogramme décoratif en fond de carte. */
.sp-info { position: relative; overflow: hidden; transition: box-shadow var(--sp-transition); }
.sp-info > :not(.sp-info-fond) { position: relative; }
.sp-info-fond { position: absolute; right: calc(var(--sp-space-6) * -1); bottom: calc(var(--sp-space-6) * -1); width: calc(var(--sp-space-24) + var(--sp-space-8)); height: calc(var(--sp-space-24) + var(--sp-space-8)); color: var(--sp-ink); opacity: 0.05; transform: rotate(-12deg); pointer-events: none; }
.sp-info-fond .sp-icone { width: 100%; height: 100%; stroke-width: 1.25; }
.sp-info:hover { box-shadow: var(--sp-shadow-sm); }

.sp-info-plan { align-self: flex-start; min-height: 44px; margin-top: var(--sp-space-2); }
.sp-info-plan .sp-icone { width: 1.1em; height: 1.1em; }
.sp-info-texte a { display: inline-flex; align-items: center; min-height: 44px; }

/* Équipements : l'icône de chaque élément remplace la puce. */
.sp-info-liste li::before { content: none; }
.sp-info-liste li { align-items: center; }
.sp-info-liste-icone { flex: 0 0 auto; width: var(--sp-space-5); height: var(--sp-space-5); color: var(--sp-text-primary); }

/* Bande « Sur place » : un service par tuile, vestiaires et douches en tête. */
/* Grille plutôt que flex : en flex, le dernier élément d'une rangée incomplète
   s'étirait sur toute la largeur. Trois colonnes sur grand écran, vestiaires et
   douches sur deux : Reconvilier tient en deux rangées pleines, Tavannes en une. */
.sp-services-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--sp-service-min), 100%), 1fr)); gap: var(--sp-gap); margin: 0; padding: 0; list-style: none; }
.sp-service { display: flex; align-items: center; gap: var(--sp-space-4); padding: var(--sp-space-5) var(--sp-space-6); background: var(--sp-surface-primary); color: var(--sp-text-primary); border-radius: var(--sp-radius-md); transition: box-shadow var(--sp-transition); }
.sp-service-icone { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: var(--sp-space-12); height: var(--sp-space-12); border-radius: 50%; background: var(--sp-surface-alt); color: var(--sp-text-primary); }
.sp-service-icone .sp-icone { width: var(--sp-space-6); height: var(--sp-space-6); }
.sp-service-libelle { font-weight: 600; line-height: 1.3; }
.sp-service--cle { grid-column: span 2; background: var(--sp-surface-inverse); color: var(--sp-text-on-inverse-fort); }
.sp-service--cle .sp-service-icone { background: var(--sp-centre-accent); color: var(--sp-centre-accent-ink); }
.sp-service:hover { box-shadow: var(--sp-shadow-sm); }

/* Titre d'une section avec pastille d'icône (Horaires). */
.sp-titre-icone { display: flex; align-items: center; gap: var(--sp-space-4); }
.sp-titre-icone .sp-info-pastille { margin-bottom: 0; }
.sp-section-head--horaires { align-items: center; }

/* Horaires d'un centre : le tableau garde une largeur de lecture à gauche,
   l'horloge décorative occupe la colonne de droite. */
.sp-centre-hor { display: grid; grid-template-columns: minmax(0, var(--sp-largeur-horaires)) minmax(0, 1fr); gap: var(--sp-space-16); align-items: center; }
.sp-centre-hor-corps { min-width: 0; }
.sp-centre-hor-horloge { justify-self: center; width: 100%; max-width: var(--sp-largeur-horloge); }

/* Activités sur place : une rangée par activité, vignette à gauche (photo, ou
   disque d'accent à l'icône), titre et accroche, flèche à droite. Toute la
   rangée est le lien. */
.sp-act-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(var(--sp-act-min), 100%), 1fr)); gap: var(--sp-space-4); margin: 0; padding: 0; list-style: none; }
.sp-act-liste > li { display: flex; }
.sp-act { flex: 1; display: flex; align-items: center; gap: var(--sp-space-5); min-width: 0; padding: var(--sp-space-3) var(--sp-space-5) var(--sp-space-3) var(--sp-space-3); background: var(--sp-surface-primary); color: var(--sp-text-primary); border: 1px solid var(--sp-border-subtle); border-radius: var(--sp-radius-md); transition: box-shadow var(--sp-transition), border-color var(--sp-transition), transform var(--sp-transition); }
.sp-act:hover { border-color: var(--sp-centre-accent); box-shadow: var(--sp-shadow-sm); transform: translateY(calc(-1 * var(--sp-space-1))); }
.sp-act:focus-visible { outline: 2px solid var(--sp-text-primary); outline-offset: 3px; }
.sp-act-vignette { position: relative; display: grid; place-items: center; flex: none; width: var(--sp-act-vignette); height: var(--sp-act-vignette); overflow: hidden; border-radius: var(--sp-radius-ms); background: var(--sp-centre-accent); color: var(--sp-centre-accent-ink); }
.sp-act-vignette > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--sp-duree-revelation) var(--sp-courbe-sortie); }
.sp-act:hover .sp-act-vignette > img { transform: scale(1.06); }
.sp-act-icone { width: var(--sp-space-8); height: var(--sp-space-8); }
.sp-act-pastille { position: absolute; right: var(--sp-space-1); bottom: var(--sp-space-1); display: grid; place-items: center; width: var(--sp-act-pastille); height: var(--sp-act-pastille); border-radius: 50%; background: var(--sp-centre-accent); color: var(--sp-centre-accent-ink); }
.sp-act-pastille .sp-act-icone { width: var(--sp-space-4); height: var(--sp-space-4); }
.sp-act-corps { display: flex; flex-direction: column; flex: 1; gap: var(--sp-space-1); min-width: 0; }
.sp-act-titre { font-size: var(--sp-fs-nom); font-weight: 700; line-height: 1.2; }
.sp-act-texte { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--sp-fs-small); line-height: 1.45; color: var(--sp-text-muted); }
.sp-act-fleche { display: grid; place-items: center; flex: none; width: var(--sp-cible-tactile); height: var(--sp-cible-tactile); border-radius: 50%; border: 1px solid var(--sp-border-strong); transition: background-color var(--sp-transition), border-color var(--sp-transition), transform var(--sp-transition); }
.sp-act:hover .sp-act-fleche { background: var(--sp-centre-accent); border-color: var(--sp-centre-accent); transform: translateX(var(--sp-space-1)); }
@media (prefers-reduced-motion: reduce) {
	.sp-act, .sp-act-vignette > img, .sp-act-fleche { transition: none; }
	.sp-act:hover, .sp-act:hover .sp-act-fleche { transform: none; }
	.sp-act:hover .sp-act-vignette > img { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
	@keyframes sp-pin-rebond { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
	@keyframes sp-halo { 0% { transform: scale(1); opacity: 0.6; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
	@keyframes sp-sonnerie { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } }
	@keyframes sp-roule { 0% { transform: translateX(0); } 50% { transform: translateX(4px); } 100% { transform: translateX(0); } }

	/* Adresse : l’épingle rebondit doucement et le halo pulse, en continu. */
	.sp-info-pastille--map-pin .sp-icone { animation: sp-pin-rebond calc(var(--sp-duree-revelation) * 4) var(--sp-courbe-standard) infinite; }
	.sp-info-pastille--map-pin::after { animation: sp-halo calc(var(--sp-duree-revelation) * 4) ease-out infinite; }

	/* Les autres cartes réagissent au survol. */
	.sp-info--acces:hover .sp-info-pastille .sp-icone { animation: sp-roule var(--sp-duree-revelation) var(--sp-courbe-standard); }
	.sp-info:hover .sp-info-pastille--phone .sp-icone { animation: sp-sonnerie var(--sp-duree-revelation) var(--sp-courbe-standard); }
	.sp-info:hover .sp-info-pastille--circle-parking::after,
	.sp-info:hover .sp-info-pastille--circle-check::after { animation: sp-halo var(--sp-duree-revelation) ease-out; }
	.sp-info-fond { transition: transform var(--sp-duree-lente) var(--sp-courbe-sortie); }
	.sp-info:hover .sp-info-fond { transform: rotate(-6deg) scale(1.06); }
	.sp-service:hover .sp-service-icone { animation: sp-halo-icone var(--sp-duree-lente) var(--sp-courbe-sortie); }
	@keyframes sp-halo-icone { 0% { transform: scale(1); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }
}

/* ==========================================================================
   Fiche activité : introduction, accès, horaires, visionneuse
   ==========================================================================
   Les règles de média de ces composants vivent dans les blocs de fin de
   feuille (820 px pour la mise en colonne, 760 px pour le téléphone). */

/* Introduction : prose lisible, premier paragraphe en chapeau. */
.ac-intro { min-width: 0; }
.ac-deux--seul { grid-template-columns: minmax(0, 1fr); }
.ac-intro .sp-prose { max-width: 62ch; }
.ac-intro .sp-prose p { margin: 0 0 var(--sp-space-5); line-height: 1.7; }
.ac-intro .sp-prose > p:first-child { font-size: var(--sp-fs-lead); line-height: 1.55; color: var(--sp-text-primary); }
.ac-intro .sp-prose ul,
.ac-intro .sp-prose ol { margin: 0 0 var(--sp-space-5); padding-left: 1.25em; line-height: 1.7; }
.ac-intro .sp-prose ul { list-style: disc; }
.ac-intro .sp-prose ol { list-style: decimal; }
.ac-intro .sp-prose li + li { margin-top: var(--sp-space-2); }
/* « Pourquoi jouer au … à … » : un vrai titre, et une liste d'atouts dont
   chaque ligne porte une pastille aux couleurs du centre, cochée (coche de
   l'icône Lucide circle-check), séparées par un filet. */
.ac-intro .sp-prose > h2:first-child { margin-top: 0; }
.ac-intro .sp-prose h2 { margin-bottom: var(--sp-space-6); font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.ac-intro .sp-prose ul { margin-bottom: 0; padding-left: 0; list-style: none; }
.ac-intro .sp-prose ul li { position: relative; padding: var(--sp-space-3) 0 var(--sp-space-3) calc(var(--sp-space-8) + var(--sp-space-3)); border-bottom: 1px solid var(--sp-border-subtle); color: var(--sp-text-primary); font-size: var(--sp-fs-lead); line-height: 1.45; }
.ac-intro .sp-prose ul li + li { margin-top: 0; }
.ac-intro .sp-prose ul li::before,
.ac-intro .sp-prose ul li::after { content: ""; position: absolute; left: 0; top: calc(var(--sp-space-3) + (1.45em - var(--sp-space-8)) / 2); width: var(--sp-space-8); height: var(--sp-space-8); }
.ac-intro .sp-prose ul li::before { border-radius: 50%; background: var(--ac-pastille, var(--sp-accent-reconvilier)); }
.ac-intro .sp-prose ul li::after { background: var(--sp-nuit); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='7.5 8.5 9 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / 50% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='7.5 8.5 9 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / 50% no-repeat; }
.ac-deux--tavannes { --ac-pastille: var(--sp-accent-tavannes); }
.ac-intro-actions { margin: var(--sp-space-8) 0 0; }

/* Où nous trouver : la carte d'informations, puis une petite carte stylisée
   (SVG) sur laquelle tombe une épingle. Le ratio de la carte est celui de son
   dessin (520 x 390) : l'épingle, placée en pourcentages, reste sur la route. */
.ac-acces { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--sp-gap); align-items: center; }
/* Colonne de droite de la description : « Bon à savoir » puis « Où nous trouver ».
   Dans cette colonne étroite, la carte passe au-dessus des infos. */
.ac-lateral { display: flex; flex-direction: column; gap: var(--sp-space-10); min-width: 0; }
.ac-lateral-acces { display: flex; flex-direction: column; gap: var(--sp-space-5); }
.ac-lateral-acces .sp-section-sous-titre { margin: 0; }
.ac-deux:not(.ac-deux--seul) .ac-acces { grid-template-columns: minmax(0, 1fr); }
.ac-deux:not(.ac-deux--seul) .ac-plan { order: -1; }
.ac-acces-infos { justify-content: center; gap: var(--sp-space-3); padding: var(--sp-space-8); }
.ac-acces-adresse { font-size: var(--sp-fs-lead); line-height: 1.5; color: var(--sp-text-primary); }
.ac-acces-plan { align-self: flex-start; margin-top: var(--sp-space-3); }
.ac-plan { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--sp-radius-md); border: 1px solid var(--sp-border-subtle); background: var(--sp-plan-fond); container-type: size; }
.ac-plan-dessin { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.ac-plan-fond { fill: var(--sp-plan-fond); }
.ac-plan-ilots rect { fill: var(--sp-plan-ilot); }
.ac-plan-parc { fill: var(--sp-plan-parc); }
.ac-plan-eau { fill: none; stroke: var(--sp-plan-eau); stroke-width: 26; stroke-linecap: round; }
.ac-plan-route { fill: none; stroke: var(--sp-plan-route); stroke-width: 10; stroke-linecap: round; }
.ac-plan-route--grande { stroke-width: 18; }
/* Le point d'ancrage de l'épingle, sur la grande route (57,7 % ; 49,7 % du
   dessin 520 x 390). Le dessin couvre son cadre (« slice ») : quand le cadre
   n'est pas en 4/3 (carte étirée à la hauteur du texte), il est agrandi et
   rogné au centre. L'écart au centre se mesure donc sur la taille réelle du
   dessin, max(largeur, hauteur x 4/3), en unités du cadre (container-type). */
.ac-plan-pin { position: absolute; left: calc(50% + 0.077 * max(100cqw, 133.33cqh)); top: calc(50% - 0.003 * max(100cqh, 75cqw)); width: 0; height: 0; }
.ac-plan-ombre { position: absolute; left: calc(var(--sp-space-4) * -1); top: calc(var(--sp-space-1) * -1); width: var(--sp-space-8); height: var(--sp-space-2); border-radius: 50%; background: rgba(var(--sp-ink-rgb), 0.22); }
.ac-plan-halo { position: absolute; left: calc(var(--sp-space-8) * -1); top: calc(var(--sp-space-3) * -1); width: var(--sp-space-16); height: var(--sp-space-6); border-radius: 50%; border: 2px solid var(--sp-or-ink); opacity: 0.35; }
.ac-plan-icone { position: absolute; bottom: 0; left: calc((var(--sp-space-12) + var(--sp-space-2)) / -2); width: calc(var(--sp-space-12) + var(--sp-space-2)); height: calc(var(--sp-space-12) + var(--sp-space-2)); transform-origin: 50% 100%; }
.ac-plan-icone .sp-icone { display: block; width: 100%; height: 100%; color: var(--sp-nuit); fill: var(--sp-action-booking); stroke-width: 1.75; }
.ac-plan-icone .sp-icone circle { fill: var(--sp-nuit); stroke: none; }
/* Dans la colonne de la présentation, l'adresse flotte sur la carte, en bas.
   La carte est carrée : l'épingle (à mi-hauteur) reste au dessus de l'encart. */
.ac-acces--sur-carte { position: relative; display: block; }
.ac-acces--sur-carte .ac-plan { aspect-ratio: 1 / 1; }
.ac-acces--sur-carte .ac-acces-infos { position: absolute; z-index: 1; left: var(--sp-space-3); right: var(--sp-space-3); bottom: var(--sp-space-3); padding: var(--sp-space-4); background: var(--sp-surface-primary); box-shadow: var(--sp-shadow-sm); }
.ac-acces--sur-carte .ac-acces-adresse { font-size: var(--sp-fs-small); line-height: 1.45; }

/* Horaires : le tableau à gauche, à largeur limitée, l'horloge balle de padel
   à droite. Le dessin est en unités de son viewBox, pas en pixels : l'horloge
   change de taille sans rien recalculer. */
.ac-horaires { display: grid; grid-template-columns: minmax(0, calc(var(--sp-space-16) * 8)) minmax(0, 1fr); gap: var(--sp-space-12); align-items: center; }
.ac-horaires-corps { min-width: 0; }
.ac-horaires > .hr { justify-self: center; }
/* Titre et introduction centrés au-dessus du tableau et de l'horloge. */
.ac-horaires-tete { grid-column: 1 / -1; justify-content: center; margin-bottom: 0; text-align: center; }
.ac-horaires-tete .sp-section-lead { margin-inline: auto; }

/* ===== Horloge balle de padel (sp_c_horloge) ===== */
.hr {
	--hr-lunette: var(--sp-nuit);
	--hr-c1: var(--sp-nuit-3);
	--hr-c2: var(--sp-nuit-2);
	--hr-encre: var(--sp-cream);
	--hr-accent: var(--sp-or);
	--hr-lume: var(--sp-or-lumiere);
	width: 100%;
}
.hr--claire { --hr-c1: var(--sp-paper); --hr-c2: var(--sp-paper-alt); --hr-encre: var(--sp-ink); --hr-accent: var(--sp-or-ink); --hr-lume: var(--sp-or); }
.hr--sm { max-width: calc(var(--sp-space-16) * 3); }
.hr--md { max-width: calc(var(--sp-space-8) * 9); }
.hr--lg { max-width: calc(var(--sp-space-16) * 6.5); }
.hr--xl { width: 100%; max-width: var(--sp-largeur-horloge); }
.hr-dessin { display: block; width: 100%; height: auto; overflow: visible; }
.hr-cad1 { stop-color: var(--hr-c1); }
.hr-cad2 { stop-color: var(--hr-c2); }
.hr-lunette { fill: var(--hr-lunette); stroke: rgba(var(--sp-cream-rgb), 0.22); stroke-width: 1.2; }
.hr-creux { stroke: rgba(var(--sp-nuit-rgb), 0.45); }
.hr-index { fill: var(--hr-encre); }
.hr-index--accent { fill: var(--hr-accent); }
.hr-minute { fill: var(--hr-encre); opacity: 0.45; }
.hr-marque { fill: var(--hr-encre); font-family: var(--sp-font-title); font-weight: 800; }
.hr-filet { stroke: var(--hr-accent); }
.hr-aig { fill: var(--hr-encre); }
.hr-lume { fill: var(--hr-lume); }
.hr-sec { fill: var(--hr-accent); }
.hr-pivot { fill: var(--hr-c2); }
.hr-ombre { fill: rgba(var(--sp-nuit-rgb), 0.38); }
.hr-couture { stroke: var(--sp-paper); }
.hr-couture-ombre { stroke: rgba(var(--sp-nuit-rgb), 0.22); }
.hr-contour { stroke: rgba(var(--sp-nuit-rgb), 0.28); }

/* ===== Objet de bannière d'une fiche activité (sp_c_objet_activite_html) =====
   Décoratif, posé derrière le texte de la bannière, animé par contenus.js
   (entrée, flottement, inclinaison en perspective). Une famille de dessins :
   pièce principale en or sur face nuit, épaisseur en or sombre, accessoire. */
.sp-hero-objet { position: absolute; top: 14%; right: clamp(var(--sp-space-4), 5vw, var(--sp-space-24)); width: min(34vw, calc(var(--sp-space-16) * 6.5)); aspect-ratio: 400 / 440; pointer-events: none; }
.sp-hero-objet-flot { width: 100%; height: 100%; perspective: calc(var(--sp-space-16) * 16); }
.sp-hero-objet-scene { width: 100%; height: 100%; transform-style: preserve-3d; }
.sp-hero-objet-dessin { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 var(--sp-space-6) var(--sp-space-8) rgba(var(--sp-nuit-rgb), 0.4)); }
.ob-or { fill: url(#ob-or); }
.ob-or-t { fill: none; stroke: url(#ob-or); stroke-linejoin: round; stroke-linecap: round; }
.ob-ext, .ob-ext * { fill: var(--sp-or-ombre); stroke: var(--sp-or-ombre); stroke-linejoin: round; stroke-linecap: round; }
.ob-face { fill: url(#ob-face); }
.ob-creme { fill: url(#ob-creme); }
.ob-acier { fill: url(#ob-acier); }
.ob-noire { fill: url(#ob-noire); }
.ob-cochonnet { fill: url(#ob-bille); }
.ob-sol { fill: url(#ob-solg); }
.ob-poignee { fill: var(--sp-nuit-3); }
.ob-pt { fill: var(--sp-or); }
.ob-trou { fill: var(--sp-nuit); }
.ob-trous circle { fill: var(--sp-nuit); stroke: rgba(var(--sp-cream-rgb), 0.16); stroke-width: 1; }
.ob-fil { fill: none; stroke: rgba(var(--sp-cream-rgb), 0.42); }
.ob-fil-nuit { fill: none; stroke: rgba(var(--sp-nuit-rgb), 0.28); }
.ob-lumiere { fill: none; stroke: rgba(var(--sp-cream-rgb), 0.5); stroke-linecap: round; }
.ob-lumiere-nuit { fill: none; stroke: rgba(var(--sp-nuit-rgb), 0.12); }
.ob-filet-or { fill: none; stroke: var(--sp-or); }
.ob-marque { fill: var(--sp-cream); font-family: var(--sp-font-title); font-weight: 800; }
.ob-marque-nuit { fill: var(--sp-nuit); font-family: var(--sp-font-title); font-weight: 800; }
.ob-grave { fill: rgba(var(--sp-nuit-rgb), 0.6); font-family: var(--sp-font-title); font-weight: 800; }
.ob-rainure { fill: none; stroke: rgba(var(--sp-nuit-rgb), 0.3); }
.ob-reflet { fill: var(--sp-paper); opacity: 0.55; }
.ob-puits { fill: var(--sp-paper-alt); stroke: var(--sp-line); stroke-width: 2; }

/* Visionneuse plein écran de la galerie : un <dialog> natif. */
.sp-visionneuse { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: var(--sp-visionneuse-fond); color: var(--sp-text-on-inverse-fort); }
.sp-visionneuse:not([open]) { display: none; }
.sp-visionneuse::backdrop { background: var(--sp-surface-voile); }
html:has(dialog.sp-visionneuse[open]) { overflow: hidden; }
.sp-visionneuse-scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: var(--sp-space-16); touch-action: pan-y pinch-zoom; }
.sp-visionneuse-image { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--sp-radius-xs); opacity: 0; transition: opacity var(--sp-duree-lente) var(--sp-courbe-sortie); user-select: none; -webkit-user-drag: none; }
.sp-visionneuse-image.est-pret { opacity: 1; }
.sp-visionneuse-btn { position: absolute; display: grid; place-items: center; width: var(--sp-cible-tactile); height: var(--sp-cible-tactile); padding: 0; border: 1px solid var(--sp-border-glass); border-radius: 50%; background: var(--sp-surface-glass-fort); color: var(--sp-text-on-inverse-fort); cursor: pointer; transition: background-color var(--sp-transition); }
.sp-visionneuse-btn:hover { background: var(--sp-glass-actif); }
.sp-visionneuse-btn[hidden] { display: none; }
.sp-visionneuse-btn .sp-icone { width: var(--sp-space-6); height: var(--sp-space-6); }
.sp-visionneuse-fermer { top: var(--sp-space-4); right: var(--sp-space-4); }
.sp-visionneuse-prec,
.sp-visionneuse-suiv { top: 50%; margin-top: calc(var(--sp-cible-tactile) / -2); }
.sp-visionneuse-prec { left: var(--sp-space-4); }
.sp-visionneuse-suiv { right: var(--sp-space-4); }
.sp-visionneuse-compteur { position: absolute; left: 0; right: 0; bottom: var(--sp-space-4); margin: 0; font-size: var(--sp-fs-small); font-weight: 600; line-height: var(--sp-cible-tactile); text-align: center; color: var(--sp-text-on-inverse); font-variant-numeric: tabular-nums; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
	.sp-galerie-lien img { transition: none; }
	.sp-galerie-lien:hover img { transform: none; }
	.sp-visionneuse-image { transition: none; }
}

@media (prefers-reduced-motion: no-preference) {
	/* Épingle : elle tombe à l'entrée dans l'écran (.est-vu, posé par
	   contenus.js), rebondit deux fois en s'éteignant, puis son halo pulse. */
	.sp-js .ac-plan:not(.est-vu) .ac-plan-icone,
	.sp-js .ac-plan:not(.est-vu) .ac-plan-ombre { opacity: 0; }
	.ac-plan.est-vu .ac-plan-icone { animation: sp-pin-chute calc(var(--sp-duree-revelation) * 1.8) linear both; }
	.ac-plan.est-vu .ac-plan-ombre { animation: sp-pin-ombre calc(var(--sp-duree-revelation) * 1.8) linear both; }
	.ac-plan.est-vu .ac-plan-halo { opacity: 0; animation: sp-plan-pulse calc(var(--sp-duree-revelation) * 3) ease-out calc(var(--sp-duree-revelation) * 1.6) infinite; }
	@keyframes sp-pin-chute {
		0%   { transform: translateY(calc(var(--sp-pin-chute) * -1)); opacity: 0; animation-timing-function: var(--sp-courbe-chute); }
		6%   { opacity: 1; }
		40%  { transform: translateY(0) scale(1.1, 0.88); animation-timing-function: var(--sp-courbe-rebond); }
		58%  { transform: translateY(-22px) scale(1); animation-timing-function: var(--sp-courbe-chute); }
		74%  { transform: translateY(0) scale(1.05, 0.95); animation-timing-function: var(--sp-courbe-rebond); }
		86%  { transform: translateY(-7px) scale(1); animation-timing-function: var(--sp-courbe-chute); }
		100% { transform: translateY(0) scale(1); opacity: 1; }
	}
	@keyframes sp-pin-ombre {
		0%   { transform: scale(0.2); opacity: 0; }
		40%  { transform: scale(1); opacity: 1; }
		58%  { transform: scale(0.7); }
		74%  { transform: scale(1); }
		86%  { transform: scale(0.85); }
		100% { transform: scale(1); opacity: 1; }
	}
	@keyframes sp-plan-pulse {
		0%   { transform: scale(0.35); opacity: 0; }
		15%  { opacity: 0.7; }
		100% { transform: scale(1.5); opacity: 0; }
	}

	/* Ouverture de la visionneuse. */
	.sp-visionneuse[open] { animation: sp-visionneuse-entree var(--sp-duree-lente) var(--sp-courbe-sortie); }
	@keyframes sp-visionneuse-entree { from { opacity: 0; } }
}

.en-capacite-val { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Fiche activité : responsable et contact dédié (rp-), carte du restaurant (cr-)
   ========================================================================== */

/* Bulle du responsable : photo ronde en cover, rôle, nom, présentation. Même
   vocabulaire que la pastille du coach d'un cours (.sp-cours-coach). */
.rp { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--sp-gap); align-items: stretch; }
.rp--seul { grid-template-columns: minmax(0, var(--sp-largeur-resp)); }
/* Seul le contact est un encart : le responsable vit à même la section, pour
   que la photo et le nom portent l'introduction au lieu d'être une vignette
   dans une boîte. */
.rp-contact { padding: var(--sp-space-8); background: var(--sp-surface-primary); color: var(--sp-text-primary); border: 1px solid var(--sp-border-subtle); border-radius: var(--sp-radius-md); }
.rp-resp { display: flex; align-items: center; gap: var(--sp-space-8); }
.rp-photo { display: grid; place-items: center; flex: none; width: var(--sp-resp-photo); height: var(--sp-resp-photo); border-radius: 50%; overflow: hidden; background: var(--sp-action-booking); color: var(--sp-ink); }
.rp-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.rp-initiales { font-size: var(--sp-resp-initiales); font-weight: 800; letter-spacing: 0.02em; }
.rp-resp-texte { min-width: 0; }
.rp-role { margin: 0 0 var(--sp-space-2); font-size: var(--sp-resp-role); font-weight: 600; color: var(--sp-text-muted); }
.rp-nom { margin: 0 0 var(--sp-space-3); font-size: var(--sp-resp-nom); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.rp-presentation { margin: 0; max-width: 52ch; color: var(--sp-text-muted); }
.rp-contact { display: flex; flex-direction: column; justify-content: center; gap: var(--sp-space-3); }
.rp-contact-titre { margin: 0; font-size: var(--sp-fs-sous-titre); font-weight: 700; letter-spacing: -0.01em; }
.rp-contact-texte { margin: 0 0 var(--sp-space-3); color: var(--sp-text-muted); }
.rp-contact .sp-btn { min-height: var(--sp-cible-tactile); }
.rp-contact .sp-icone { width: var(--sp-space-5); height: var(--sp-space-5); flex: none; }
.rp-valeur { font-weight: 400; opacity: 0.85; }
.rp-contact a:focus-visible { outline: 2px solid var(--sp-focus-ring); outline-offset: 2px; }

/* Carte du restaurant : rubriques en colonnes, nom et description à gauche,
   prix à droite relié par des points de conduite. */
.cr-colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--sp-carte-col-min)), 1fr)); gap: var(--sp-space-12) var(--sp-space-16); }
.cr .sp-eyebrow { color: var(--sp-text-muted); }
.cr.sp-section--nuit .sp-eyebrow { color: var(--sp-text-on-inverse-muted); }
.cr-rubrique-titre { margin: 0 0 var(--sp-space-6); padding-bottom: var(--sp-space-3); border-bottom: 1px solid var(--sp-border-strong); font-size: var(--sp-fs-sous-titre); font-weight: 700; letter-spacing: -0.02em; }
.cr-liste { display: grid; gap: var(--sp-space-5); margin: 0; padding: 0; list-style: none; }
.cr-ligne { display: flex; align-items: baseline; gap: var(--sp-space-2); }
.cr-nom { font-size: var(--sp-fs-lead); font-weight: 600; line-height: 1.3; }
.cr-points { flex: 1; min-width: var(--sp-space-4); align-self: flex-end; margin-bottom: 0.3em; border-bottom: var(--sp-carte-points) dotted var(--sp-border-strong); }
.cr-prix { flex: none; font-size: var(--sp-fs-lead); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cr-desc { display: block; max-width: 40ch; margin-top: var(--sp-space-1); font-size: var(--sp-fs-small); line-height: 1.5; color: var(--sp-text-muted); }
.cr-note { margin: var(--sp-space-12) 0 0; font-size: var(--sp-fs-small); color: var(--sp-text-muted); }
.cr.sp-section--nuit .cr-rubrique-titre { border-bottom-color: var(--sp-border-glass); }
.cr.sp-section--nuit .cr-points { border-bottom-color: var(--sp-border-glass); }
.cr.sp-section--nuit .cr-nom, .cr.sp-section--nuit .cr-prix, .cr.sp-section--nuit .cr-rubrique-titre { color: var(--sp-text-on-inverse-fort); }
.cr.sp-section--nuit .cr-desc, .cr.sp-section--nuit .cr-note { color: var(--sp-text-on-inverse-muted); }

/* Filtre des rubriques d'une carte. La barre n'apparaît qu'avec JavaScript :
   sans lui elle ne filtrerait rien, et une rangée de boutons inertes vaut
   moins que pas de barre du tout. Les rubriques masquées le sont par
   [hidden] ; la règle explicite évite de dépendre de la feuille du
   navigateur. */
.cr-filtres { display: none; margin: calc(-1 * var(--sp-space-4)) 0 var(--sp-space-10); }
.sp-js .cr-filtres { display: flex; }
.cr-rubrique[hidden] { display: none; }
.cr.sp-section--nuit .sp-option { background: var(--sp-surface-glass); border-color: var(--sp-border-glass); color: var(--sp-text-on-inverse-fort); }
.cr.sp-section--nuit .sp-option:hover { background: var(--sp-surface-glass-fort); border-color: var(--sp-border-glass); }
/* Sur fond nuit l'état pressé s'inverse : la pastille sombre du fond clair y
   serait noire sur noir. */
.cr.sp-section--nuit .sp-option[aria-pressed="true"] { background: var(--sp-surface-primary); border-color: var(--sp-surface-primary); color: var(--sp-text-primary); }

/* ===== Réserver un terrain : une carte par centre =====
   Chaque ligne d'activité est un lien direct vers sa plateforme de
   réservation : toute la ligne est cliquable, cible confortable au doigt. */
.re-centres { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: var(--sp-space-8); }
.re-centre { display: flex; flex-direction: column; gap: var(--sp-space-3); padding: var(--sp-space-8); border: 1px solid var(--sp-border-subtle); border-radius: var(--sp-radius); background: var(--sp-surface-primary); box-shadow: var(--sp-shadow-sm); }
.re-centre-eyebrow { display: flex; align-items: center; gap: var(--sp-space-2); margin: 0; font-size: var(--sp-fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sp-text-muted); }
.re-centre-eyebrow .sp-icone { width: var(--sp-space-4); height: var(--sp-space-4); color: var(--sp-action-booking); }
.re-centre-nom { margin: 0 0 var(--sp-space-3); font-size: var(--sp-fs-title); line-height: var(--sp-lh-tight); letter-spacing: -0.02em; }
.re-liste { display: grid; gap: var(--sp-space-2); margin: 0; padding: 0; list-style: none; }
.re-activite { display: flex; align-items: center; gap: var(--sp-space-4); min-height: var(--sp-space-16); padding: var(--sp-space-3) var(--sp-space-4); border-radius: var(--sp-radius-md); background: var(--sp-surface-alt); color: var(--sp-text-primary); font-weight: 600; text-decoration: none; transition: background var(--sp-duree-rapide) ease, transform var(--sp-duree-rapide) ease; }
.re-activite:hover { background: var(--sp-action-booking); color: var(--sp-action-booking-ink); transform: translateY(-1px); }
.re-activite:focus-visible { outline: 2px solid var(--sp-focus-ring); outline-offset: 2px; }
.re-activite-icone { display: grid; flex: none; place-items: center; width: var(--sp-space-10); height: var(--sp-space-10); border-radius: 50%; background: var(--sp-surface-primary); color: var(--sp-text-primary); }
.re-activite-icone .sp-icone { width: var(--sp-space-5); height: var(--sp-space-5); }
.re-activite-nom { flex: 1; min-width: 0; font-size: var(--sp-fs-lead); }
.re-activite-action { display: inline-flex; flex: none; align-items: center; gap: var(--sp-space-1); font-size: var(--sp-fs-small); }
@media (prefers-reduced-motion: reduce) {
	.re-activite { transition: none; }
	.re-activite:hover { transform: none; }
}
.re-aide { margin: var(--sp-space-5) 0 0; text-align: center; }
.re-ecole { margin-top: var(--sp-space-16); }

/* ==========================================================================
   Bande à objet : un objet par activité traverse l'écran au défilement
   ==========================================================================
   Déclinaison de la balle de l'accueil sur fond nuit. Sans JavaScript ou avec
   moins de mouvement, l'objet reste posé au milieu de la bande ; le script
   ajoute .est-arme et pilote alors son transform. */
.sp-bande-objet {
	position: relative;
	height: var(--sp-bande-h);
	overflow: hidden;
	background: var(--sp-surface-inverse);
}
.sp-bande-ligne {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: repeating-linear-gradient(to right, var(--sp-bande-trait) 0 var(--sp-space-2), transparent var(--sp-space-2) var(--sp-space-4));
}
.sp-bande-pion {
	position: absolute;
	left: 0;
	top: 0;
	will-change: transform;
}
.sp-bande-objet:not(.est-arme) .sp-bande-pion {
	left: 50%;
	top: 50%;
	translate: -50% -50%;
	will-change: auto;
}
/* Haltères du fitness : chacun pivote et monte autour de son propre centre. */
.sp-halt,
.sp-halt-ombre {
	transform-box: fill-box;
	transform-origin: center;
}
/* Mur frontal du squash : un pan clair à droite, posé sur la ligne du sol. */
.sp-bande-mur {
	position: absolute;
	right: 0;
	top: 0;
	width: var(--sp-space-16);
	height: 50%;
}
.sp-bande-eclat {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
	transform-origin: 100% 50%;
}
/* Sans mouvement, la balle de squash reste immobile près du mur, posée sur la ligne. */
.sp-bande-objet[data-sp-bande-objet="squash"]:not(.est-arme) .sp-bande-pion {
	left: calc(100% - var(--sp-space-16) - var(--sp-space-8));
	top: calc(50% - var(--sp-space-3));
}
/* Sans mouvement, le volant reste immobile, en l'air au milieu de la bande. */
.sp-bande-objet[data-sp-bande-objet="badminton"]:not(.est-arme) .sp-bande-pion {
	top: 22%;
}
/* Cochonnet de la pétanque : posé sur la ligne, vers les trois quarts. */
.sp-bande-cible {
	position: absolute;
	left: 75%;
	top: 50%;
	margin: calc(var(--sp-space-3) * -1) 0 0 calc(var(--sp-space-2) * -1);
}

/* ==========================================================================
   Toutes les règles de média, regroupées en fin de feuille
   ==========================================================================
   Elles vivaient chacune près du composant qu'elle corrige, ce qui se lit
   mieux. Le portage du design system a rendu cette disposition intenable :
   ses règles de base arrivent, dans le fichier, après une partie d'entre
   elles, et à spécificité égale la dernière gagne. Résultat sur téléphone :
   les sections reprenaient le rythme vertical du bureau, la grille
   tarifaire ne s'empilait plus en cartes, le portrait des moniteurs gardait
   sa taille de bureau.

   Elles sont donc toutes ici, dans leur ordre d'origine : leur préséance
   entre elles est inchangée, et aucune base ne peut plus les enjamber.
   C'est la seule disposition qui tienne quoi qu'on ajoute ensuite.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.sp-sponsors-piste { animation: none; }
}

/* ===== Mobile ===== */
@media (max-width: 820px) {

	/* Trois règles de bannière ont disparu d'ici : min-height 52vh, un
	   padding haut de 96 px et une taille de titre à part. Elles dégageaient
	   la barre fixe, du temps où la base posait 140 px de retrait en haut.
	   La bannière du prototype ne fonctionne plus comme cela : elle fait
	   75 vh et aligne son contenu en BAS, si bien qu'il n'y a plus rien à
	   dégager, et son titre suit la même échelle partout. Les garder
	   rallongeait la bannière de 64 px sur téléphone et changeait le corps
	   du titre sur tablette. */
	.sp-section { padding-block: clamp(40px, 10vw, 64px); }
	
	/* La gouttière des grilles ne se resserre plus ici. Le prototype n'a pas
	   de palier tablette : entre 761 et 820 px il garde la mise en page du
	   bureau, et sur téléphone la gouttière vient du jeton --sp-gap, que
	   spoort-tokens.css ramène à 16 px sous 760. Les 14 px posés ici
	   passaient devant les deux. */
	.sp-modale { padding: var(--sp-space-6); }
}

@media (max-width: 640px) {
	.sp-modale { padding: var(--sp-space-5); }
}

@media (prefers-reduced-motion: reduce) {
	.sp-court, .sp-court-face, .sp-court-surface, .sp-court-logo, .sp-court-dessin svg, .sp-courts-point, .sp-galerie-point { transition: none; }
	.sp-court:hover, .sp-court:focus-within { transform: none; }
	.sp-court:hover .sp-court-dessin svg { transform: none; }
	.sp-court:hover .sp-court-logo { transform: translate(-50%, -50%); }
}

/* La maquette casse les deux colonnes ici, pas à 760 : à 768 px la colonne de
   description tomberait à 334 px, trop étroit pour une ligne de texte. La
   règle vit à côté de sa définition de base — posée dans le bloc « Mobile »
   plus haut dans le fichier, elle serait écrasée par celle-ci, déclarée
   après. */
/* Bannière avec objet dessiné, entre téléphone et grand écran : l'objet
   rétrécit et le texte lui laisse sa colonne, il ne passe jamais dessous. */
@media (min-width: 761px) and (max-width: 1100px) {
	.sp-hero-objet { width: 22vw; right: var(--sp-space-4); }
	.sp-hero:has(.sp-hero-objet) :is(.sp-hero-titre, .sp-hero-lead, .sp-hero-actions) { max-width: calc(100% - 26vw); }
}

@media (max-width: 820px) {
	.ac-deux { grid-template-columns: 1fr; gap: var(--sp-space-10); }
	.ac-acces,
	.ac-horaires { grid-template-columns: 1fr; }
	/* La balle-horloge centrée en tête, à une taille où on lit l'heure, puis
	   le titre, le texte et le tableau, sans rien entre le titre et ses
	   horaires (retour client du 29.10.2026). */
	.ac-horaires { position: static; gap: var(--sp-space-6); }
	.ac-horaires > .hr {
		order: -2;
		width: min(58vw, calc(var(--sp-space-16) * 3.5));
		max-width: none;
		margin: 0 auto;
	}
	.ac-horaires-tete { order: -1; margin-bottom: 0; }
	#horaires .sp-hor-semaine { margin-top: 0; }
}

/* ==========================================================================
   Téléphone : des composants mobiles, pas des composants rétrécis
   ==========================================================================
   Porté du prototype Claude Design (spoort-ui.css, spoort-pages.css,
   spoort-proto.css), validé à 390 px. Le principe tient en une phrase : sur un
   téléphone on parcourt, on ne contemple pas. Une carte verticale de 320 px ne
   montre qu'un élément à la fois ; en ligne, on en voit quatre.

   Le point de rupture est 760 px, celui du prototype. Il vient après les
   blocs 820 et 640 ci-dessus, et les corrige là où ils se contredisent. */
@media (max-width: 760px) {

	/* La gouttière se resserre : à 390 px de large, 32 px de marge de chaque
	   côté ne laissent pas la place aux composants. */
	:root { --sp-gutter: 16px; --sp-gap: 16px; }

	/* Bande à objet : plus basse sur téléphone. */
	.sp-bande-objet { height: var(--sp-bande-h-tel); }

	/* ----- Le héros se dégarnit -------------------------------------------
	   Fil d'Ariane, pastille de centre, badge, chapeau et étiquettes empilés,
	   il mangeait les deux tiers de l'écran avant le premier contenu utile.
	   Le fil d'Ariane s'en va : sur un téléphone on revient par le menu ou par
	   le navigateur, jamais par une suite de liens de douze pixels. Les
	   étiquettes aussi : elles répètent ce que la page dit plus bas. */
	.sp-hero { height: auto; min-height: 72svh; overflow: hidden; }
	.sp-hero--petit { height: auto; min-height: 72svh; }

	/* L'objet dessiné de la bannière d'activité, en haut à droite sous
	   l'en-tête ; la bannière s'allonge pour que le titre, calé en bas, ne le
	   chevauche pas. */
	/* Bannière d'activité presque plein écran. En bas, une colonne (état,
	   nom, lieu) et l'objet dessiné à sa droite, centré sur elle par
	   contenus.js (« top » posé en ligne) ; avant le script, il attend à la
	   même place, à peu près. L'état n'y garde que sa forme courte. */
	.sp-hero:has(.sp-hero-objet) { min-height: 92svh; }
	.sp-hero-objet { top: auto; bottom: 28%; right: var(--sp-space-4); width: 36vw; }
	.sp-hero:has(.sp-hero-objet) :is(.sp-hero-haut, .sp-hero-titre) { max-width: calc(100% - 36vw - var(--sp-space-3)); }
	.sp-hero .sp-badge-long { display: none; }
	.sp-hero .sp-badge-court { display: inline; }

	/* La bannière d'un moniteur est plus basse : son portrait tient la
	   hauteur, pas une photo de fond. Sans cette règle elle héritait des
	   72 svh de la bannière ordinaire, soit un tiers d'écran de trop. */
	.sp-hero--coach { min-height: 48svh; }

	/* Sur une page de liste, le héros n'est pas le sujet : la liste l'est. À
	   72 svh il occupe tout le premier écran et on ne sait pas ce qu'on est
	   venu chercher. C'est la règle du prototype, où les écrans de liste
	   portent « .pr-ecran--liste » ; ici le gabarit d'archive porte
	   « .sp-hero--liste ». Sans cela, l'agenda des événements héritait du
	   héros pleine hauteur et les deux premières lignes tombaient sous le
	   pli. */
	.sp-hero--liste { min-height: 34svh; }
	.sp-hero .sp-breadcrumb { display: none; }
	.sp-hero-haut { gap: var(--sp-space-2); margin-bottom: var(--sp-space-3); }
	.sp-hero-inner { padding-bottom: var(--sp-space-4); }
	.sp-chips--hero { display: none; }

	/* Les pastilles du héros se serrent. Dessinées pour un écran large, elles
	   gardaient 9 px d'air au-dessus et au-dessous de 13 px de texte : sur un
	   téléphone, l'étiquette pesait plus que ce qu'elle annonce. Le texte ne
	   bouge pas, c'est le vide autour qui se réduit. */
	.sp-hero .sp-pill,
	.sp-hero .sp-badge {
		gap: var(--sp-space-2);
		padding: 6px 12px;
		font-size: var(--sp-fs-xs);
	}
	.sp-hero .sp-pill--sm { padding: 5px 10px; }
	.sp-hero-lead {
		font-size: var(--sp-fs-body);
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	/* ----- La barre de réservation reste une pilule ------------------------
	   Même barre d'application qu'au bureau, un peu plus près du bord bas et
	   plus serrée : jusqu'à trois entrées et l'action tiennent sur un écran de
	   360 px. Le jeton de hauteur ne change pas : les éléments ancrés
	   au-dessus de la barre (feuille de filtres, bas du pied de page) le
	   lisent tel quel, jamais mesuré par JS. */
	.sp-barre {
		bottom: calc(var(--sp-space-3) + env(safe-area-inset-bottom, 0px));
		max-width: calc(100% - 2 * var(--sp-space-3));
	}
	.sp-barre-lien { min-width: 0; padding-inline: var(--sp-space-2); }
	/* Un libellé personnalisé trop long se coupe d'une ellipse au lieu de
	   passer sur deux lignes : la barre garderait sinon une hauteur que
	   son espace réservé ne prévoit pas. */
	.sp-barre-action .sp-btn {
		max-width: 100%;
		padding-inline: var(--sp-space-4);
		font-size: var(--sp-fs-small);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	/* ----- Les cartes deviennent des lignes -------------------------------- */
	.sp-carte {
		display: grid;
		grid-template-columns: 104px minmax(0, 1fr);
		align-items: stretch;
	}
	.sp-carte-media { height: auto; min-height: 104px; }
	.sp-carte-body { padding: var(--sp-space-4); gap: 4px; }
	.sp-carte-titre { font-size: 1rem; }
	.sp-carte-texte {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.sp-carte--coach .sp-carte-media { aspect-ratio: 1 / 1; min-height: 0; }
	.sp-carte--coach .sp-carte-body { padding: var(--sp-space-4); gap: var(--sp-space-2); }
	.sp-carte-media--rond { width: 76px; height: 76px; margin: var(--sp-space-4) auto; }

	/* Une seule colonne : à deux, chaque carte tombe sous la largeur lisible.
	   Les gabarits posent parfois leur grille en style en ligne, qui gagne sur
	   une feuille : c'est le seul endroit du système où « !important » se
	   justifie. */
	.sp-grid-cartes,
	.sp-grid-cartes--large,
	.sp-grid-cartes--coachs { grid-template-columns: 1fr; }
	.sp-grid-infos { grid-template-columns: 1fr !important; }

	/* ----- La colonne de lecture d'une activité ----------------------------
	   Les deux colonnes sont déjà empilées depuis 820 px, plus haut. */

	/* Les chiffres clés deviennent un relevé, pas trois panneaux : empilés,
	   les trois blocs à filet jaune faisaient trois cents pixels pour trois
	   nombres. En lignes, l'ensemble tient en cent trente. */
	.ac-points {
		display: flex;
		flex-direction: column;
		gap: 0;
		margin-top: var(--sp-space-6);
		border-top: 2px solid var(--sp-action-booking);
	}
	.ac-point {
		flex-direction: row;
		align-items: baseline;
		justify-content: space-between;
		gap: var(--sp-space-4);
		padding: var(--sp-space-3) 0;
		border-top: none;
		border-bottom: 1px solid var(--sp-border-subtle);
	}
	.ac-point-val { font-size: 1.25rem; }
	.ac-point-lib { text-align: right; }

	/* ----- Les tableaux ---------------------------------------------------- */

	/* Les horaires tiennent en deux colonnes : on les resserre, sans plus. */
	.sp-table { font-size: 0.8125rem; }
	.sp-table th, .sp-table td { padding: 12px 10px; }
	.sp-table thead th { padding-block: 8px; font-size: 0.6875rem; }
	.sp-table-prix { font-size: 0.9375rem; }
	.sp-table tr > :first-child { border-radius: 10px 0 0 10px; }
	.sp-table tr > :last-child { border-radius: 0 10px 10px 0; }
	.sp-table th[scope="row"] {
		position: sticky;
		left: 0;
		z-index: 1;
		background: var(--sp-surface-primary);
	}
	.sp-section--nuit .sp-table th[scope="row"] { background: var(--sp-surface-inverse-2); }
	.sp-hor-semaine th, .sp-hor-semaine td { padding: 12px 10px; }

	/* La grille tarifaire, elle, ne tient pas : trois ou quatre colonnes de
	   prix dans 358 px, on lit le lundi et on devine le week-end. Chaque ligne
	   devient une carte — l'intitulé en titre, un prix par ligne, précédé de
	   son libellé de colonne.

	   Le libellé vient de l'attribut « data-label » que le plugin « Spoort,
	   tarifs » pose déjà sur chaque cellule de prix : aucune modification du
	   plugin n'est nécessaire. Ses rôles ARIA explicites (role="table",
	   "row", "cell") survivent au display:block, c'est précisément pourquoi
	   il les pose. */
	.sp-tar-table,
	.sp-tar-table tbody,
	.sp-tar-table tr,
	.sp-tar-table th,
	.sp-tar-table td { display: block; }

	.sp-tar-table { margin: 0; border-spacing: 0; }

	/* L'en-tête sort de l'écran, pas de l'arbre d'accessibilité.
	   « display: none » l'aurait retiré des deux, et le tableau aurait perdu
	   ses en-têtes de colonne pour un lecteur d'écran — alors que le plugin
	   conserve justement ses rôles ARIA pour que la lecture survive au passage
	   en blocs. Les libellés « ::before » ci-dessous sont, eux, purement
	   visuels : du contenu généré n'est pas une information fiable. */
	.sp-tar-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
	.sp-tar-table tbody { display: flex; flex-direction: column; gap: 10px; }

	.sp-tar-table tbody tr {
		padding: 16px 18px;
		border-radius: 18px;
		background: var(--sp-surface-primary);
		box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 10px 28px -16px rgb(0 0 0 / 0.3);
	}
	.sp-tar-table tbody tr > * {
		padding: 0;
		background: none;
		border-radius: 0;
	}
	.sp-tar-table tbody th {
		margin-bottom: 10px;
		font-size: 1.0625rem;
		font-weight: 700;
	}
	.sp-tar-table tbody td {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 12px;
		margin-top: 10px;
		padding-top: 10px;
		border-top: 1px solid var(--sp-border-subtle);
		text-align: right;
	}
	.sp-tar-table tbody td::before {
		content: attr(data-label);
		flex: 0 1 auto;
		font-size: var(--sp-fs-small);
		font-weight: 500;
		color: var(--sp-text-muted);
		text-align: left;
	}
	.sp-tar-table tbody td[data-label=""]::before { content: none; }
	.sp-tar-table .sp-tar-corner { display: none; }

	/* La note d'une ligne (« heures creuses ») vit dans la cellule de prix, qui
	   interdit les retours à la ligne pour que « CHF 18.00 » ne se coupe pas.
	   En carte, la cellule est une ligne de flex : sans retour autorisé, la
	   note débordait de 33 px à droite de l'écran. Elle prend donc sa propre
	   ligne, sous le prix. */
	.sp-tar-table tbody td { flex-wrap: wrap; }
	.sp-tar-table tbody td .sp-tar-note {
		flex-basis: 100%;
		margin-top: -2px;
		text-align: right;
		white-space: normal;
	}

	/* ----- Cibles tactiles ------------------------------------------------- */
	.sp-filtre,
	.sp-option,
	.sp-chip,
	.sp-lien-souligne { min-height: 44px; }
	.sp-lien-souligne { display: inline-flex; align-items: center; }
	.sp-fcol a,
	.sp-footer-legal a,
	.sp-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
	.sp-fcol { gap: 0; }

	/* Les actions en ligne passent en pile, pleine largeur. */
	.sp-actions { flex-direction: column; align-items: stretch; }
	.sp-actions .sp-btn { width: 100%; justify-content: center; min-height: 48px; }

	/* Sauf dans une bannière. Deux boutons pleine largeur y pesaient autant
	   que le titre, et la bannière d'accueil — qui ne passe pas par
	   .sp-actions — montre bien ce qu'on attend : des boutons à la largeur
	   de leur texte, sur une ligne qui passe à la ligne si besoin. */
	.sp-hero-actions {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: var(--sp-space-2);
	}
	.sp-hero-actions .sp-btn {
		width: auto;
		min-height: 44px;
		padding: 11px var(--sp-space-5);
		font-size: var(--sp-fs-small);
	}
}

@media (max-width: 430px) {
	/* Sur les plus petits écrans, le titre de héros descend d'un cran et les
	   marges verticales se resserrent, sinon il ne reste plus de place pour le
	   texte. */
	.sp-hero-titre { font-size: clamp(2rem, 11vw, 2.75rem); }
	.sp-section { padding-block: var(--sp-space-10); }
}

/* Sous 345 px, « Retour » rend son mot et garde sa flèche. Deux entrées et
   l'action tiennent tout juste sur une ligne à 360 px ; en dessous, il faut
   céder quelque chose, et c'est le libellé qui apprend le moins — une flèche
   vers la gauche se comprend seule. Son texte reste lu par les lecteurs
   d'écran, et le bouton de réservation garde son ellipse pour lui. */
@media (max-width: 345px) {
	.sp-barre-lien[data-sp-retour] .sp-barre-lien-texte {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

/* Le conteneur à défilement ne doit pas rogner les ombres des cartes de prix
   sur téléphone : en pile de cartes, plus rien ne déborde horizontalement. */
@media (max-width: 760px) {
	.sp-table-defile:has(.sp-tar-table) { overflow: visible; }
}

@media (max-width: 820px) {
	.ct-plan { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.ec-stage { grid-template-columns: 72px minmax(0, 1fr); }
	.ec-stage .sp-btn { grid-column: 1 / -1; }
}

@media (max-width: 1100px) and (min-width: 821px) {
	.mn-cours-item { grid-template-columns: minmax(0, 1fr) auto; }
	.mn-cours-go { display: none; }
}

@media (max-width: 820px) {
	.mn-hero { grid-template-columns: 1fr; gap: var(--sp-space-6); }
	.mn-portrait { width: 140px; height: 140px; }
	.mn-deux { grid-template-columns: 1fr; gap: var(--sp-space-10); }
	.mn-cours-item { grid-template-columns: minmax(0, 1fr) auto; }
	.mn-cours-go { display: none; }
}

@media (min-width: 640px) {
	.en-formules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.en-formule--vedette { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
	.en-formules { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); }
	.en-formule--vedette { grid-column: span 2; grid-row: span 2; min-height: 0; }
}

@media (max-width: 820px) {
	.en-form-deux > div:first-child { position: static; }
	.en-etape { --en-pad: var(--sp-space-6); }
	.en-form-pied { padding: var(--sp-space-5) var(--sp-space-6); }
}

@media (max-width: 820px) {
	.en-form-deux { grid-template-columns: 1fr; gap: var(--sp-space-10); }
}

@media (max-width: 820px) {
	.co-form-deux { grid-template-columns: 1fr; gap: var(--sp-space-10); }
}

@media (max-width: 1000px) {
	.ev-ligne { grid-template-columns: 80px minmax(0, 1fr); padding-right: var(--sp-space-4); }
	.ev-visuel { display: none; }
	.ev-action { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; text-align: left; }
}

@media (max-width: 820px) {
	.ev-deux { grid-template-columns: 1fr; gap: var(--sp-space-10); }
	.ev-modalite { grid-template-columns: 1fr; gap: var(--sp-space-1); }
	.ev-resume { position: static; }
}

@media (max-width: 820px) {
	.lp-form-deux { grid-template-columns: 1fr; gap: var(--sp-space-8); }
}

/* Mobile : une carte par événement, photo en tête avec la date posée dessus,
   puis lieu, titre, et un pied prix + flèche ronde. Peu d'événements à la
   fois : la carte peut se permettre l'image. */
@media (max-width: 760px) {
	.ev-agenda { gap: 14px; }
	.ev-ligne { position: relative; display: flex; flex-direction: column; gap: 0; align-items: stretch; padding: 6px; border: none; border-radius: 20px; box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 10px 28px -16px rgb(0 0 0 / 0.3); }
	.ev-ligne:hover { transform: none; }
	.ev-visuel { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 15px; }
	/* La vignette s'élargit au besoin : à 56 px fixes, « → 1 NOV » s'y
	   serait coupé. Sans date de fin, son contenu reste plus étroit que le
	   minimum et elle ne bouge pas. */
	.ev-date { position: absolute; top: 16px; left: 16px; z-index: 1; flex-direction: column; gap: 0; min-width: 56px; width: auto; padding: 8px var(--sp-space-2) 7px; border-radius: 12px; background: #fff; color: var(--sp-ink); box-shadow: 0 6px 16px -6px rgb(0 0 0 / 0.4); }
	.ev-date-sem { display: none; }
	.ev-date-jour { font-size: 1.5rem; }
	.ev-date-mois { color: var(--sp-text-subtle); }
	.ev-date-fin { margin-top: 3px; padding-top: 3px; border-top: 1px solid var(--sp-border-subtle); color: var(--sp-text-subtle); }
	.ev-corps { gap: 6px; padding: 14px 10px 0; }
	.ev-texte { display: none; }
	.ev-tags { gap: 8px; }
	.ev-tag { position: absolute; top: 16px; right: 16px; z-index: 1; padding: 5px 10px; background: #fff; color: var(--sp-ink); font-size: 0.6875rem; box-shadow: 0 4px 12px -4px rgb(0 0 0 / 0.35); }
	.ev-titre { font-size: 1.125rem; line-height: 1.25; letter-spacing: -0.01em; }
	.ev-action { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 12px; padding: 12px 4px 4px 10px; border-top: 1px solid var(--sp-border-subtle); text-align: left; }
	.ev-prix strong { display: inline; margin-right: 6px; font-size: 1.0625rem; }
	.ev-prix span { display: inline; }
	.ev-cta { min-height: 40px; padding: 0 14px; font-size: var(--sp-fs-xs); }
	.ev-cta svg { width: 14px; height: 14px; }
}

@media (max-width: 480px) {

	/* Fiche de contact : pictogramme décoratif réduit, corps plus serré. */
	.co-centre-deco { width: 110px; height: 110px; right: calc(-1 * var(--sp-space-4)); }
	.co-centre-corps { padding: var(--sp-space-5); }

	/* La pastille d'ouverture passe sous le nom du centre. Sur une ligne, il
	   restait 156 px à « Ouvert maintenant, jusqu'à 19h00 » : elle s'y pliait
	   en deux et serrait le nom contre elle. En dessous, elle a toute la
	   largeur de la carte et tient sur une ligne. */
	.co-centre-tete { flex-wrap: wrap; }
	.co-centre-nom { flex: 1 1 auto; }
	.co-centre-tete .sp-badge { flex: 0 0 auto; }

	/* Le prix d'un cours tenait dans 61 px, à droite d'un corps de 204 : les
	chiffres se chevauchaient. Il passe sous le titre, aligné à gauche comme
	le reste. */
	.mn-cours-item { grid-template-columns: 1fr; }
	.mn-cours-prix { justify-items: start; text-align: left; }

	/* La date d'un stage dans 72 px coupe le mois. Elle passe au-dessus. */
	.ec-stage { grid-template-columns: 1fr; }
	.ec-date { flex-direction: row; align-items: baseline; gap: var(--sp-space-2); }

	/* Les chiffres clés d'une activité : une colonne, pas trois. Propriété
	   distincte du display:flex posé sous 760px plus haut (.ac-points
	   « devient un relevé ») : les deux cohabitent, celle-ci ne fixait
	   simplement jamais la bonne valeur faute d'avoir été portée ici. */
	.ac-points { grid-template-columns: 1fr; }

	/* Les capacités et formules entreprises, même logique. */
	.en-capacites, .en-formules, .en-exemples { grid-template-columns: 1fr; }
}

/* Mobile : étapes de la demande d'offre, sans fil ni décalage (la largeur des
   champs prime), séparées par un filet. */
@media (max-width: 760px) {
	.en-etape::before, .en-etape::after { display: none; }
	.en-etape { border-bottom: 1px solid var(--sp-border-subtle); }
	.en-etape-corps { padding-left: 0; }
}

/* Mobile : formules de l'école en carrousel horizontal, calé carte par carte. */
@media (max-width: 760px) {
	.ec-formules { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: calc(-1 * var(--sp-gutter)); padding: 4px var(--sp-gutter) 16px; scroll-padding-inline: var(--sp-gutter); }
	.ec-formules::-webkit-scrollbar { display: none; }
	.ec-formules > .ec-formule { flex: 0 0 84%; scroll-snap-align: start; }
	.ec-formule:hover { transform: none; }
}

/* Mobile : formules du moniteur. Corps (type, durée, titre, note) puis un
   pied teinté pleine largeur : prix en grand à gauche, bouton rond à droite. */
@media (max-width: 760px) {
	.mn-cours { gap: 14px; }
	.mn-cours-item { position: relative; display: flex !important; flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; border-radius: 20px; box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 10px 28px -16px rgb(0 0 0 / 0.3); }
	.mn-cours-item:hover { transform: none; }
	.mn-cours-corps { gap: 8px; padding: 20px 20px 18px; }
	.mn-cours-tags { gap: 8px; }
	.mn-cours-tag { padding: 4px 10px; }
	.mn-cours-duree { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--sp-surface-alt); color: var(--sp-text-primary); font-weight: 600; }
	.mn-cours-titre { margin-top: 4px; font-size: 1.25rem; line-height: 1.2; }
	.mn-cours-note { font-size: var(--sp-fs-small); }
	.mn-cours-prix { display: flex !important; align-items: baseline; gap: 4px; flex-wrap: nowrap; min-height: 72px; margin: 0; padding: 16px 84px 16px 20px; background: var(--sp-surface-alt); text-align: left; }
	.mn-cours-devise { font-size: var(--sp-fs-small); font-weight: 700; }
	.mn-cours-prix strong { font-size: 2rem; line-height: 1; }
	.mn-cours-unite { margin-left: 6px; font-size: var(--sp-fs-small); }
	.mn-cours-go { display: grid !important; position: absolute; right: 16px; bottom: 14px; width: 44px; height: 44px; box-shadow: 0 6px 16px -6px color-mix(in oklch, var(--sp-action-booking) 80%, transparent); }
	.mn-cours-go svg { width: 18px; height: 18px; }
}

/* Mobile : moniteurs en carrousel horizontal de portraits. Ce bloc vient
   APRÈS la section « Téléphone » du thème, qui mettait le portrait au carré :
   l'ordre fait la décision, et c'est le prototype qui tranche. */
@media (max-width: 760px) {
	.sp-grid-cartes--coachs { display: flex !important; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: calc(-1 * var(--sp-gutter)); padding: 4px var(--sp-gutter) 16px; scroll-padding-inline: var(--sp-gutter); }
	.sp-grid-cartes--coachs::-webkit-scrollbar { display: none; }
	.sp-grid-cartes--coachs > .sp-carte--coach { flex: 0 0 64%; scroll-snap-align: start; display: flex; flex-direction: column; align-items: stretch; padding: 6px; border: none; border-radius: 20px; box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 10px 28px -16px rgb(0 0 0 / 0.3); }
	.sp-carte--coach .sp-carte-media { width: 100%; height: auto !important; aspect-ratio: 4 / 5; border-radius: 15px; overflow: hidden; }
	.sp-carte--coach .sp-carte-body { padding: 12px 8px 6px; gap: 8px; }
	.sp-carte--coach .sp-carte-titre { font-size: 1.0625rem; }
	.sp-carte--coach .sp-coach-pied { padding-top: 10px; font-size: var(--sp-fs-xs); }
}

/* Mobile : un tableau à en-tête devient une pile de cartes. L'intitulé de
   ligne sert de titre, chaque prix est une ligne libellé / montant, le
   libellé venant de l'attribut data-lib de la cellule. C'est le pendant
   générique des règles .sp-tar-table, qui font la même chose pour les
   tableaux produits par l'extension des tarifs. */
@media (max-width: 760px) {
	.sp-table-defile:has(.sp-table--cartes) { overflow: visible; }
	.sp-table--cartes, .sp-table--cartes tbody, .sp-table--cartes tr, .sp-table--cartes th, .sp-table--cartes td { display: block; }
	.sp-table--cartes { margin: 0; border-spacing: 0; }
	/* Les en-têtes sortent de l'écran sans quitter l'arbre d'accessibilité
	   (display: none les aurait retirés pour un lecteur d'écran). */
	.sp-table--cartes thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.sp-table--cartes tbody { display: flex; flex-direction: column; gap: 10px; }
	.sp-table--cartes tr { padding: 16px 18px; border-radius: 18px; background: var(--sp-surface-primary); box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 10px 28px -16px rgb(0 0 0 / 0.3); }
	.sp-table--cartes tr > * { padding: 0; background: none !important; border-radius: 0 !important; }
	.sp-table--cartes tbody th { margin-bottom: 10px; font-size: 1.0625rem; font-weight: 700; }
	.sp-table--cartes tbody th .sp-table-note { display: inline !important; margin-left: 6px; }
	.sp-table--cartes td { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0 0; margin-top: 10px; border-top: 1px solid var(--sp-border-subtle); }
	.sp-table--cartes td::before { content: attr(data-lib); font-size: var(--sp-fs-small); font-weight: 500; color: var(--sp-text-muted); }
	.sp-table--cartes td[data-lib=""]::before { content: none; }
	.sp-table--cartes td.sp-table-prix { flex-wrap: wrap; text-align: right; }
	.sp-table--cartes td .sp-table-note { flex-basis: 100%; text-align: right; margin-top: -2px; }
	.sp-table--cartes tbody tr:not([aria-current="date"]):hover th,
	.sp-table--cartes tbody tr:not([aria-current="date"]):hover td { background: none; }
	/* Carte mise en avant : le fond nuit passe sur la carte entière (les
	   cellules sont transparentes en pile), sinon son texte crème tomberait sur
	   la carte blanche. */
	.sp-table--cartes tr.sp-table-ligne--avant { background: var(--sp-surface-inverse); color: var(--sp-text-on-inverse-fort); }
	.sp-table--cartes tr.sp-table-ligne--avant td { border-top-color: var(--sp-border-inverse); }
	.sp-table--cartes tr.sp-table-ligne--avant td::before { color: var(--sp-text-on-inverse-muted); }
	/* Matrice : une carte par ligne, les prix rangés par groupe sous le titre
	   du groupe (« Lundi à vendredi »), chaque prix précédé de sa plage. */
	.sp-table--matrice tbody td { text-align: right; box-shadow: none !important; }
	.sp-table--matrice tbody td.sp-table-g-debut { flex-wrap: wrap; margin-top: 16px; padding-top: 14px; }
	.sp-table--matrice .sp-table-g-titre { display: block; order: -1; flex-basis: 100%; margin-bottom: 2px; font-size: var(--sp-fs-small); font-weight: 700; text-align: left; letter-spacing: 0.01em; }
}

/* ===== Padel : carte École (lot vivant) =====
   Grande carte à image de fond de la fiche Padel. Le voile dégradé part du
   bas (et de la gauche sur grand écran), où vit le texte : crème sur nuit
   à plus de 0,8 d'opacité, contraste AA quelle que soit la photo. */
.sp-padel-ecole {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: 400px;
	overflow: hidden;
	border-radius: var(--sp-radius);
	background: var(--sp-surface-inverse);
	color: var(--sp-text-on-inverse-fort);
}
.sp-padel-ecole-fond {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--sp-duree-revelation) var(--sp-courbe-sortie);
}
.sp-padel-ecole::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to top, rgba(var(--sp-voile-rgb), 0.92) 0%, rgba(var(--sp-voile-rgb), 0.55) 55%, rgba(var(--sp-voile-rgb), 0.15) 100%),
		linear-gradient(to right, rgba(var(--sp-voile-rgb), 0.7) 0%, transparent 70%);
}
.sp-padel-ecole:hover .sp-padel-ecole-fond { transform: scale(1.04); }
.sp-padel-ecole-contenu {
	width: min(100%, 600px);
	padding: var(--sp-space-12);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--sp-space-4);
}
.sp-padel-ecole-eyebrow {
	display: flex;
	align-items: center;
	gap: var(--sp-space-3);
	margin: 0;
	font-size: var(--sp-fs-small);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sp-action-booking);
}
.sp-padel-ecole-icone {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--sp-action-booking);
	color: var(--sp-action-booking-ink);
}
.sp-padel-ecole-icone .sp-icone { width: var(--sp-space-6); height: var(--sp-space-6); }
.sp-padel-ecole-titre { margin: 0; font-size: var(--sp-fs-title); line-height: var(--sp-lh-tight); color: var(--sp-text-on-inverse-fort); }
.sp-padel-ecole-texte { margin: 0; max-width: 46ch; font-size: var(--sp-fs-lead); color: var(--sp-text-on-inverse); }
.sp-padel-ecole .sp-btn { margin-top: var(--sp-space-2); }
.sp-padel-ecole-note { margin: 0; font-size: var(--sp-fs-small); color: var(--sp-text-on-inverse); }
.sp-padel-ecole .sp-btn:focus-visible { outline: 2px solid var(--sp-focus-ring); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	.sp-padel-ecole-fond { transition: none; }
	.sp-padel-ecole:hover .sp-padel-ecole-fond { transform: none; }
}
@media (max-width: 760px) {
	.sp-padel-ecole { min-height: 380px; border-radius: var(--sp-radius-md); }
	.sp-padel-ecole-contenu { padding: var(--sp-space-6) var(--sp-space-5); }
	.sp-padel-ecole-texte { font-size: var(--sp-fs-body); }
	.sp-padel-ecole .sp-btn { width: 100%; }
}

/* ===== Titres animés (GSAP) =====
   Posées par contenus.js le temps de l'animation seulement, puis retirées.
   Le masque coupe le mot qui monte ; la marge évite de rogner jambages et
   accents (interligne serré), compensée pour ne pas bouger la mise en page. */
.sp-mot-masque { display: inline-block; vertical-align: top; overflow: hidden; padding-block: var(--sp-mot-marge); margin-block: calc(-1 * var(--sp-mot-marge)); }
.sp-mot { display: inline-block; vertical-align: top; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
	.sp-barre,
	.sp-barre .sp-btn--booking,
	.sp-modale-fond,
	.sp-modale-fond .sp-modale { animation: none; }
	.sp-barre--auto,
	.sp-filtres.sp-filtres--flottante { transition: none; }
	.sp-js .sp-reveal--carte:not(.est-vu) { opacity: 1; transform: none; }
	.sp-js :is( .sp-reveal:not(.sp-reveal--carte, .sp-section-title), [data-sp-reveal]:not(.ac-ligne, .sp-section-title) ):not(.sp-pret),
	.sp-js :is( .sp-hero-titre, .sp-section-title, .sp-hero-bg, .sp-hero-objet-dessin, [data-sp-horloge] ):not(.sp-pret) { opacity: 1; transform: none; filter: none; }
	.sp-js [data-sp-compteur]:not(.sp-pret) { visibility: visible; }
}

/* Fiche activité sur téléphone : carte d'accès pleine largeur, visionneuse
   avec ses commandes en bas de l'écran, sous le pouce. */
@media (max-width: 760px) {
	.ac-acces-infos { padding: var(--sp-space-6); }
	.ac-acces-plan { align-self: stretch; }
	/* Carte d'accès : la zone d'information, posée par-dessus, se resserre
	   pour laisser voir l'épingle, restée sur la route au centre. */
	.ac-acces--sur-carte .ac-acces-infos { gap: var(--sp-space-2); padding: var(--sp-space-3) var(--sp-space-4); }
	.ac-acces--sur-carte .ac-acces-plan { margin-top: var(--sp-space-1); }
	.sp-visionneuse-scene { padding: var(--sp-space-16) var(--sp-space-2) var(--sp-space-24); }
	.sp-visionneuse-prec,
	.sp-visionneuse-suiv { top: auto; bottom: var(--sp-space-4); margin-top: 0; }
}

/* Sur téléphone, le plan des terrains défile à l'horizontale, un court à la
   fois. Porté de spoort-courts.css : à une colonne pleine largeur, une carte
   de court fait 300 px de haut, et il faut défiler cinq écrans pour voir cinq
   terrains — alors qu'on vient justement les comparer. */
@media (max-width: 760px) {
	.sp-courts { display: flex; gap: var(--sp-space-3); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: calc(-1 * var(--sp-gutter)); padding-inline: var(--sp-gutter); scroll-padding-inline: var(--sp-gutter); padding-block: var(--sp-space-4); margin-block: calc(-1 * var(--sp-space-4)); }
	.sp-courts::-webkit-scrollbar { display: none; }
	.sp-courts > .sp-court { flex: 0 0 86%; scroll-snap-align: start; }
	/* Pas de soulèvement au toucher : il serait rogné par la piste. */
	.sp-court:hover, .sp-court:focus-within { transform: none; }
	.sp-court { border-radius: var(--sp-radius-ms); }
	.sp-court-haut { padding: var(--sp-space-3) var(--sp-space-4) 0; }
	.sp-court-dessin { padding: var(--sp-space-3) var(--sp-space-4); }

	/* Le dessin garde ses proportions mais cesse de dicter la hauteur : il
	   occupe presque toute la largeur de l'écran. */
	.sp-court-dessin svg { width: auto; height: var(--sp-court-hauteur-mobile); margin: 0 auto; }
	.sp-court-face { padding: var(--sp-space-3); }
	.sp-court-bande { padding: var(--sp-space-3); }
	.sp-court-nom { font-size: 0.9375rem; }
	/* Le logo est posé sur le filet. */
	.sp-court-logo { width: calc(var(--sp-court-hauteur-mobile) * 0.354); padding: var(--sp-space-1) var(--sp-space-2); }

	/* Un point par court, l'actif en pastille allongée : on voit qu'il y en a
	   d'autres et où l'on en est. */
	.sp-courts-points { display: flex; justify-content: center; align-items: center; gap: var(--sp-space-3); margin-top: var(--sp-space-6); }
	.sp-courts-point { width: var(--sp-space-3); height: var(--sp-space-3); border-radius: var(--sp-radius-pill); background: rgba(var(--sp-cream-rgb), 0.45); transition: width var(--sp-duree-lente) var(--sp-courbe-sortie), background-color var(--sp-duree-lente) ease; }
	.sp-courts-point.is-actif { width: var(--sp-space-8); background: var(--sp-ball); }
	.sp-courts-aide { display: block; margin: var(--sp-space-3) 0 0; text-align: center; font-size: var(--sp-fs-small); color: var(--sp-text-on-inverse-muted); }
}

/* Sur téléphone, la galerie défile à l'horizontale : chaque image prend 85 %
   de la largeur pour laisser voir le bord de la suivante. Le toucher ouvre
   toujours la visionneuse. */
@media (max-width: 760px) {
	.sp-galerie { display: flex; gap: var(--sp-space-3); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: calc(-1 * var(--sp-gutter)); padding-inline: var(--sp-gutter); scroll-padding-inline: var(--sp-gutter); }
	.sp-galerie::-webkit-scrollbar { display: none; }
	.sp-galerie-item { flex: 0 0 85%; scroll-snap-align: start; }
	.sp-galerie-points { display: flex; justify-content: center; align-items: center; gap: var(--sp-space-3); margin-top: var(--sp-space-6); }
	.sp-galerie-point { width: var(--sp-space-3); height: var(--sp-space-3); border-radius: var(--sp-radius-pill); background: color-mix(in srgb, var(--sp-text-primary) 25%, transparent); transition: width var(--sp-duree-lente) var(--sp-courbe-sortie), background-color var(--sp-duree-lente) ease; }
	.sp-galerie-point.is-actif { width: var(--sp-space-8); background: var(--sp-surface-inverse); }

	/* Appel final : les balles passent en haut à gauche et en bas à droite, au
	   milieu des bords elles mangeraient le titre. */
	.sp-cta-final-row { padding-block: var(--sp-space-24); }
	.sp-cta-final-o { width: 200px; }
	.sp-cta-final-o--gauche { top: 0; translate: -40% -40%; }
	.sp-cta-final-o--droite { top: auto; bottom: 0; translate: 40% 40%; }
}


/* Ligne de la vue d'ensemble des activités : une seule colonne sous 1000 px,
   le pied d'action repasse en ligne pour ne pas gaspiller la largeur. */
@media (max-width: 720px) {
	.pr-compte { margin-left: 0; }
}

@media (max-width: 1000px) {
	.ac-ligne { grid-template-columns: minmax(0, 1fr); padding-right: var(--sp-space-4); }
	.ac-visuel { height: 160px; }
	.ac-action { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; text-align: left; }
}

/* Sur téléphone, même modèle que les cartes événements : une carte pleine
   largeur, photo 16:9 en tête avec l'étiquette posée dessus, lieu, titre,
   pied chiffre clé + bouton. Le texte d'accroche disparaît : la carte
   événement fait déjà ce choix, pour la même raison de place. */
@media (max-width: 760px) {
	.ac-liste { display: flex; flex-direction: column; gap: 14px; }
	.ac-ligne { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 6px; border: none; border-radius: 20px; box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 10px 28px -16px rgb(0 0 0 / 0.3); }
	.ac-ligne:hover { transform: none; }
	.ac-visuel { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 15px; }
	.ac-corps { gap: 6px; padding: 14px 10px 0; }
	.ac-texte { display: none; }
	.ac-tags { gap: 8px; }
	.ac-tag { position: absolute; top: 16px; right: 16px; z-index: 1; padding: 5px 10px; background: #fff; color: var(--sp-ink); font-size: 0.6875rem; box-shadow: 0 4px 12px -4px rgb(0 0 0 / 0.35); }
	.ac-titre { font-size: 1.125rem; line-height: 1.25; letter-spacing: -0.01em; }
	.ac-action { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 12px; padding: 12px 4px 4px 10px; border-top: 1px solid var(--sp-border-subtle); text-align: left; }
	.ac-chiffre strong { display: inline; margin-right: 6px; font-size: 1.0625rem; }
	.ac-chiffre span { display: inline; font-size: var(--sp-fs-xs); }
	.ac-cta { min-height: 40px; padding: 0 14px; font-size: var(--sp-fs-xs); }
	.ac-cta svg { width: 14px; height: 14px; }
}

/* ==========================================================================
   Feuille de filtres sur téléphone (vues d'ensemble)
   ==========================================================================
   Sur téléphone, les filtres ne sont pas une barre mais une feuille : une
   barre qui défile horizontalement cache ses propres options. Un bouton
   ancré en bas dit l'état courant, la feuille monte avec tout le choix à
   plat, un bouton la ferme en annonçant le résultat. Le balisage est posé
   par assets/js/contenus.js (c'est un comportement, pas du contenu) ; hors
   téléphone, ces éléments n'existent pas à l'écran. */
.sp-fsheet-ouvre,
.sp-fsheet-tete,
.sp-fsheet-voir,
.sp-fsheet-fond { display: none; }
html.sp-fige, html.sp-fige body { overflow: hidden; }

@media (max-width: 760px) {
	/* Le déclencheur prend la place de la barre : ancré en bas, pleine
	   largeur, et il dit l'état courant plutôt qu'un « Filtrer » muet. */
	.sp-fsheet-ouvre {
		position: fixed;
		left: var(--sp-space-3);
		right: var(--sp-space-3);
		bottom: var(--sp-space-3);
		z-index: 30;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--sp-space-4);
		min-height: 52px;
		padding: 0 var(--sp-space-5);
		border: 1px solid var(--sp-border-subtle);
		border-radius: var(--sp-radius-pill);
		background: var(--sp-surface-primary);
		box-shadow: 0 14px 32px rgba(var(--sp-nuit-rgb), 0.18);
		font: inherit;
		cursor: pointer;
	}
	.sp-fsheet-ouvre-lib { font-size: var(--sp-fs-small); font-weight: 700; color: var(--sp-text-primary); }
	.sp-fsheet-ouvre-etat {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-size: var(--sp-fs-small);
		color: var(--sp-text-muted);
	}
	/* Un filtre actif se voit sans ouvrir la feuille : le déclencheur prend le
	   trait et la pastille de l'accent, et son état passe en gras. Fermé et
	   sans filtre, il annonce le nombre de résultats — « Tout » ne disait ni
	   ce qui était montré, ni combien. */
	.sp-fsheet-ouvre.est-filtre {
		border-color: var(--sp-accent-reconvilier);
		box-shadow: 0 14px 32px rgba(var(--sp-nuit-rgb), 0.18), inset 0 0 0 1px var(--sp-accent-reconvilier);
	}
	.sp-fsheet-ouvre.est-filtre .sp-fsheet-ouvre-etat {
		font-weight: 700;
		color: var(--sp-text-primary);
	}
	.sp-fsheet-ouvre.est-filtre .sp-fsheet-ouvre-lib::after {
		content: "";
		display: inline-block;
		width: 6px;
		height: 6px;
		margin-left: var(--sp-space-2);
		vertical-align: 2px;
		border-radius: 50%;
		background: var(--sp-accent-reconvilier);
	}

	/* La feuille : tout le choix à plat, rien à faire défiler sur le côté.

	   Elle monte du bas au lieu d'apparaître d'un coup, et c'est une
	   ANIMATION qui la fait monter, pas une transition sur « visibility ».
	   La nuance compte : une transition différée peut rester en route si le
	   navigateur gèle les animations de l'onglet (on l'a vu sur ce site avec
	   le tick de GSAP), et la feuille resterait alors visible, par-dessus la
	   page, en travers des clics. Avec « display », l'état fermé est acquis
	   dès que la classe tombe, animation jouée ou non ; l'animation n'ajoute
	   que le glissement, et seulement à l'ouverture.

	   Le « transform » n'est plus marqué !important : l'animation le porte,
	   et une animation passe devant un style en ligne. */
	.sp-filtres.sp-filtres--flottante {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		top: auto;
		z-index: 70;
		display: none;
		width: auto;
		max-height: 86svh;
		overflow-y: auto;
		margin: 0;
		padding: 0 var(--sp-space-5) calc(var(--sp-space-5) + env(safe-area-inset-bottom, 0px));
		border: none;
		border-radius: var(--sp-radius-md) var(--sp-radius-md) 0 0;
		background: var(--sp-surface-primary);
		box-shadow: 0 -20px 50px rgba(var(--sp-nuit-rgb), 0.3);
	}
	.sp-filtres.sp-filtres--flottante.est-deploye {
		display: block;
		animation: sp-fsheet-monte var(--sp-duree-lente) var(--sp-courbe-sortie) both;
	}
	.sp-fsheet-fond.est-deploye {
		position: fixed;
		inset: 0;
		z-index: 65;
		display: block;
		background: rgba(var(--sp-nuit-rgb), 0.5);
		animation: sp-fsheet-fond var(--sp-duree-base) ease both;
	}
	.sp-fsheet-tete {
		position: sticky;
		top: 0;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: var(--sp-space-5) 0 var(--sp-space-4);
		background: var(--sp-surface-primary);
	}
	.sp-fsheet-titre { font-size: 1.125rem; font-weight: 700; }
	.sp-fsheet-fermer {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		margin-right: calc(var(--sp-space-3) * -1);
		border: none;
		background: none;
		font-size: 1.75rem;
		line-height: 1;
		color: var(--sp-text-muted);
		cursor: pointer;
	}

	/* Les groupes s'empilent, leurs pastilles passent à la ligne : on voit
	   tout le choix d'un coup. Le plateau « bureau » de .ev-barre (pilule,
	   ligne unique qui défile) est annulé. */
	.sp-filtres--flottante .sp-filtres-groupe,
	.sp-filtres--flottante.ev-barre .sp-filtres-groupe {
		display: flex;
		flex-wrap: wrap;
		overflow: visible;
		max-width: none;
		width: 100%;
		align-items: flex-start;
		gap: 8px;
		padding: 0 0 var(--sp-space-6);
		border-radius: 0;
		background: none;
	}
	.sp-filtres--flottante .ev-filtres-lib,
	.sp-filtres--flottante.ev-barre .ev-filtres-lib {
		width: 100%;
		margin: 0 0 var(--sp-space-2);
		padding: 0;
		font-size: var(--sp-fs-small);
		font-weight: 600;
		color: var(--sp-text-primary);
	}
	/* Le compte vit sur le déclencheur et dans le bouton de sortie : dans la
	   feuille il ferait doublon. */
	.sp-filtres--flottante .pr-compte { display: none; }
	.sp-filtres--flottante .sp-filtre,
	.sp-filtres--flottante.ev-barre .sp-filtre {
		flex: 0 0 auto;
		max-width: 100%;
		min-height: 44px;
		padding: 0 18px;
		white-space: nowrap;
		border: none;
		border-radius: 999px;
		background: var(--sp-surface-alt);
		color: var(--sp-text-primary);
		font-size: var(--sp-fs-small);
		font-weight: 500;
	}
	.sp-filtres--flottante .sp-filtre[aria-current="true"],
	.sp-filtres--flottante.ev-barre .sp-filtre[aria-current="true"] {
		background: var(--sp-surface-inverse);
		color: var(--sp-text-on-inverse-fort);
		font-weight: 600;
	}
	.sp-fsheet-voir {
		position: sticky;
		bottom: 0;
		display: block;
		width: 100%;
		min-height: 52px;
		margin-top: var(--sp-space-2);
		border: none;
		border-radius: var(--sp-radius-pill);
		background: var(--sp-action-booking);
		color: var(--sp-ink);
		font: inherit;
		font-size: var(--sp-fs-small);
		font-weight: 700;
		cursor: pointer;
	}

	/* Sous le déclencheur, la liste ne réserve que sa hauteur à lui. */
	.sp-liste-filtree { min-height: 0; padding-bottom: calc(var(--sp-filtres-h, 64px) + var(--sp-space-6)); }
	.sp-vide--filtre:not([hidden]) { margin-bottom: calc(var(--sp-filtres-h, 64px) + var(--sp-space-8)); padding-bottom: 0; }
}

/* Le glissement de la feuille de filtres et le fondu de son fond. Déclarés
   hors média : une règle @keyframes n'a pas de portée, seule son utilisation
   en a une. */
@keyframes sp-fsheet-monte {
	from { transform: translateY(100%); }
	to   { transform: none; }
}
@keyframes sp-fsheet-fond {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* À qui demande moins de mouvement, la feuille se pose au lieu de monter. Ce
   bloc vient après celui qui l'anime, sinon il serait enjambé. */
@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
	.sp-filtres.sp-filtres--flottante.est-deploye,
	.sp-fsheet-fond.est-deploye { animation: none; }
}

/* Calendrier de l'agenda, téléphone : grille à pastilles, liste du mois dessous. */
@media (max-width: 760px) {
	.ag { margin-bottom: var(--sp-space-8); }
	/* L'en-tête ne dépend plus de la longueur du nom du mois. En flex qui
	   passe à la ligne, « Octobre 2026 » laissait les deux flèches à côté du
	   titre quand « Novembre 2026 » les repoussait sous lui : la disposition
	   changeait d'un mois à l'autre, et sautait pendant la transition. En
	   grille, chacun garde sa place : le mois à gauche, les flèches toujours
	   à droite. Le logo, en filigrane, ne prend plus de ligne. */
	.ag-tete {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: var(--sp-space-3);
		padding: var(--sp-space-5);
	}
	.ag-titres, .ag-nav { order: 0; }
	/* D'un cran plus petit, le plus long des mois français tient sur une
	   ligne dans la colonne qui reste à gauche des flèches. « Novembre 2026 »
	   se coupait en deux, et l'en-tête changeait de hauteur de mois en mois. */
	.ag-mois { font-size: 1.75rem; }
	.ag-grille th { padding: var(--sp-space-2) 0; text-align: center; letter-spacing: 0; }
	.ag-jour { height: var(--sp-agenda-case-h-mobile); padding: var(--sp-space-1); text-align: center; }
	.ag-num { min-width: 1.5rem; height: 1.5rem; font-size: var(--sp-fs-xs); }
	.ag-evts { display: none; }
	.ag-pastilles { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; margin-top: 2px; }
	.ag-pastille { width: var(--sp-agenda-pastille); height: var(--sp-agenda-pastille); border-radius: var(--sp-radius-pill); background: var(--sp-accent-reconvilier-ink); }
	.ag-pastille--tavannes { background: var(--sp-accent-tavannes-ink); }
	.ag-liste { display: block; margin: 0; padding: var(--sp-space-2) var(--sp-space-5) var(--sp-space-4); list-style: none; }
	.ag-liste-item { border-bottom: 1px solid var(--sp-border-subtle); }
	.ag-liste-item:last-child { border-bottom: 0; }
	.ag-liste-item a { display: block; min-height: var(--sp-cible-tactile); padding: var(--sp-space-3) 0 var(--sp-space-3) var(--sp-space-3); border-left: 3px solid var(--sp-accent-reconvilier); color: var(--sp-text-primary); }
	.ag-liste-item--tavannes a { border-left-color: var(--sp-accent-tavannes); }
	.ag-liste-titre { display: block; font-weight: 600; }
	.ag-liste-meta { display: block; margin-top: 2px; font-size: var(--sp-fs-small); color: var(--sp-text-muted); }
}

/* Cartes d'événement, téléphone : badge et pastille plus compacts. */
@media (max-width: 760px) {
	/* La tuile « clé » tenait sa mise en avant d'un fond sombre dessiné pour
	   une tuile double, au bureau. Seule dans une pile d'une colonne, ce noir
	   ne disait plus rien : il désignait une carte au hasard. Les tuiles
	   redeviennent égales, la mise en avant ne garde que son icône accentuée.
	   Elles se resserrent au passage : cinq services ne doivent pas coûter un
	   écran et demi de défilement. */
	.sp-service--cle {
		grid-column: auto;
		background: var(--sp-surface-primary);
		color: var(--sp-text-primary);
	}
	.sp-service { gap: var(--sp-space-3); padding: var(--sp-space-3) var(--sp-space-4); }
	.sp-service-icone { width: var(--sp-space-10); height: var(--sp-space-10); }
	.sp-service-libelle { font-size: var(--sp-fs-small); }
	.sp-carte--evt .sp-carte-media { min-height: 120px; }
	.sp-evt-date { top: var(--sp-space-2); left: var(--sp-space-2); min-width: 48px; padding: 6px var(--sp-space-2); }
	.sp-evt-date-jour { font-size: 1.375rem; }
	/* La pastille de prix est posée sur une vignette d'une centaine de pixels :
	   son icône de billet lui prenait le tiers de la place, et le montant s'y
	   coupait d'une ellipse. L'icône s'en va, le montant reste entier — c'est
	   lui qu'on vient lire. */
	.sp-evt-prix { right: var(--sp-space-2); bottom: var(--sp-space-2); gap: 0; padding: 4px var(--sp-space-2); font-size: var(--sp-fs-micro); max-width: calc(100% - 12px); }
	.sp-evt-prix .sp-evt-ico { display: none; }
}

/* Fiche centre, téléphone : horaires et restaurant en une colonne. L'horloge
   reste, c'est la signature de la page : centrée en tête de section, à la
   taille où on lit l'heure, puis le titre, le badge et le tableau, serrés. */
@media (max-width: 760px) {
	.sp-centre-hor { grid-template-columns: minmax(0, 1fr); gap: var(--sp-space-6); }
	.sp-centre-hor .sp-section-head--horaires { margin-bottom: var(--sp-space-4); }
	.sp-centre-hor .sp-hor-semaine { margin-top: 0; }
	.sp-centre-hor-horloge {
		order: -1;
		width: min(58vw, calc(var(--sp-space-16) * 3.5));
		margin-inline: auto;
	}
}

/* Activités sur place, téléphone : une rangée par activité, vignette plus
   petite, flèche resserrée, cibles de 48 px conservées. */
@media (max-width: 760px) {
	.sp-act-liste { gap: var(--sp-space-3); }
	.sp-act { gap: var(--sp-space-4); padding-right: var(--sp-space-3); }
	.sp-act-vignette { width: var(--sp-act-vignette-tel); height: var(--sp-act-vignette-tel); border-radius: var(--sp-radius-sm); }
	.sp-act-icone { width: var(--sp-space-6); height: var(--sp-space-6); }
	.sp-act-titre { font-size: var(--sp-fs-lead); }
	.sp-act-pastille { width: var(--sp-space-5); height: var(--sp-space-5); }
	.sp-act-pastille .sp-act-icone { width: var(--sp-space-3); height: var(--sp-space-3); }
	.sp-barre--sections .sp-barre-lien { flex: none; }
}

/* Séances d'un cours, téléphone : la date,les détails, puis le bouton pleine largeur. */
@media (max-width: 760px) {
	.sp-seance { grid-template-columns: minmax(0, 1fr); }
	.sp-seance-bouton { width: 100%; margin-top: var(--sp-space-2); }
	.sp-cours-coach { display: flex; padding-right: var(--sp-space-4); }
	.sp-faits { grid-template-columns: 1fr; margin-top: var(--sp-space-6); }
	.sp-cours-texte { margin-top: var(--sp-space-6); }
}

/* Mouvement des cartes : la photo respire dans son cadre au survol, sans
   que le cadre bouge. Réservé aux pointeurs qui survolent et à qui n'a pas
   demandé moins de mouvement. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.sp-carte-media img { transition: transform var(--sp-duree-revelation) var(--sp-courbe-sortie); }
	.sp-carte:hover .sp-carte-media img { transform: scale(1.05); }
}

/* Responsable et carte, téléphone. */
@media (max-width: 760px) {
	.rp { grid-template-columns: minmax(0, 1fr); }
	.rp-resp { flex-direction: column; align-items: flex-start; gap: var(--sp-space-5); }
	.rp-photo { width: var(--sp-resp-photo-mobile); height: var(--sp-resp-photo-mobile); }
	.rp-contact { padding: var(--sp-space-6); }
	.rp-contact .sp-actions { flex-direction: column; align-items: stretch; }
	.rp-contact .sp-btn { justify-content: center; }
	.cr-colonnes { gap: var(--sp-space-10); }
	.cr-nom, .cr-prix { font-size: var(--sp-fs-body); }
	.cr-desc { max-width: none; }
	.cr-note { margin-top: var(--sp-space-10); }
}

/* Départs des révélations GSAP adaptés aux petits écrans (valeurs reprises par contenus.js). */
@media (max-width: 820px) {
	:root { --sp-horloge-chute: 24px; }
}
@media (max-width: 760px) {
	:root { --sp-hero-zoom-depart: 1.18; }
}

/* Parcours « choisir puis voir », téléphone : des cases, deux par rangée,
   pour que le choix tienne en peu de hauteur ; lien « Voir la page » à la ligne. */
@media (max-width: 760px) {
	.sp-parcours-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-space-3); margin-top: var(--sp-space-6); }
	.sp-parcours-carte { min-height: 0; gap: var(--sp-space-1); padding: var(--sp-space-4); padding-bottom: calc(var(--sp-space-4) + var(--sp-space-8) + var(--sp-space-2)); }
	.sp-parcours-nom { font-size: var(--sp-fs-body); }
	.sp-parcours-sur { font-size: var(--sp-fs-micro); letter-spacing: 0.06em; }
	.sp-parcours-fleche { right: var(--sp-space-4); bottom: var(--sp-space-4); width: var(--sp-space-8); height: var(--sp-space-8); }
	.sp-parcours-voir { margin-left: 0; }
}

/* Fiche activité, ordinateur : « Où nous trouver » démarre à la hauteur du
   titre « Pourquoi … », et la carte s'étire jusqu'au bas du texte de gauche.
   Sur téléphone les colonnes s'empilent, rien à aligner. */
@media (min-width: 821px) {
	.ac-deux:not(.ac-deux--seul) { align-items: stretch; }
	.ac-deux:not(.ac-deux--seul) .ac-lateral-acces { flex: 1 1 auto; }
	.ac-deux:not(.ac-deux--seul) .ac-acces--sur-carte { display: flex; flex: 1 1 auto; flex-direction: column; align-items: stretch; }
	.ac-deux:not(.ac-deux--seul) .ac-acces--sur-carte .ac-plan { flex: 1 1 auto; aspect-ratio: auto; min-height: calc(var(--sp-space-16) * 5); }
}
