/**
 * Elsa Yoga — prochains cours, page des cours collectifs.
 *
 * Une seule question à la fois : d'abord quand (la liste), ensuite comment
 * (les trois voies qui se déplient sous la ligne choisie). Les informations
 * qui aident à décider sans être une décision (lieu, tarifs, préparation)
 * passent dans une colonne à part, à droite en bureau, sous la liste en mobile.
 *
 * Tout sélecteur contient « ecy- » : c'est la liste blanche du Remove Unused
 * CSS de WP Rocket (cache.php). Les états posés par le script (ecy-is-…)
 * survivent donc à l'optimisation, même absents du rendu analysé.
 */

.ecs-hero { padding-bottom: 20px; }
.ecs .ecs-section--calendrier { background: var(--ec-surface-tint, #f5f5fb); padding-top: 8px; padding-bottom: 56px; }

.ecy.ecy-planning {
	--ecp-bleu: #10069f;
	--ecp-bleu-survol: #0b0470;
	--ecp-encre: #22223b;
	--ecp-texte: #3a3f4a;
	/* Seul gris secondaire conforme AA sur blanc comme sur la teinte. */
	--ecp-gris: #646975;
	--ecp-ligne: rgba(16, 6, 159, .10);
	--ecp-ligne-forte: rgba(16, 6, 159, .18);
	--ecp-voile: rgba(16, 6, 159, .035);
	--ecp-pale: #f2f2fb;
	--ecp-ouvert: #f8f8fd;
	--ecp-ok: #1c6b2c;
	--ecp-ok-fond: #edf6ee;
	--ecp-ambre: #96521b;
	--ecp-ambre-fond: #fff4ec;
	--ecp-complet: #a8281f;
	--ecp-orange: #f2782e;
	--ecp-ease: cubic-bezier(.22, 1, .36, 1);
	--ecp-tuile: 56px;
	--ecp-gouttiere: 22px;
	max-width: none;
	margin: 0;
	scroll-margin-top: calc(var(--ec-nav-h, 74px) + 20px);
	color: var(--ecp-texte);
}

.ecy-planning [hidden] { display: none !important; }
.ecy-planning p { padding-bottom: 0; }
.ecy-planning ::selection { background: rgba(16, 6, 159, .14); color: var(--ecp-encre); }

/* En-tête ------------------------------------------------------------------ */

.ecy-planning__entete {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 18px;
	margin: 0 0 26px;
}

.ecy .ecy-planning__titre {
	flex: 1 0 100%;
	margin: 0;
	padding: 0;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.01em;
	color: var(--ecp-bleu);
	text-wrap: balance;
}

.ecy .ecy-planning__rythme {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	color: var(--ecp-texte);
}

/* Une information, pas un lien : l'offre se prend dans la ligne du cours
   choisi. Badge d'état (rayon 6 px), jamais une pilule. */
.ecy .ecy-planning__decouverte {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 5px 12px;
	border-radius: 6px;
	background: var(--ecp-ok-fond);
	color: var(--ecp-ok);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}

.ecy-planning__decouverte::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.ecy-planning .ecy-solde {
	margin: 4px 0 0;
	padding: 8px 14px;
	border-radius: 8px;
	background: var(--ecp-pale);
	color: var(--ecp-bleu);
	font-size: 15px;
}

/* Corps : la liste, puis les informations --------------------------------- */

.ecy-planning__corps {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.ecy-planning__cours {
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--ecp-ligne);
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(16, 6, 159, .04), 0 18px 40px -22px rgba(16, 6, 159, .22);
}

.ecs .ecy-planning ul.ecy-liste,
.ecs .ecy-planning ul.ecy-voies,
.ecs .ecy-planning ul.ecy-prix,
.ecs .ecy-planning ul.ecy-pratique {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Une ligne par cours ------------------------------------------------------ */

.ecy-planning .ecy-seance {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid var(--ecp-ligne);
}

.ecy-planning .ecy-liste > .ecy-seance:first-child { border-top: 0; }

.ecy-planning .ecy-resa__ligne {
	display: block;
	list-style: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .2s ease;
}

.ecy-planning .ecy-resa__ligne::-webkit-details-marker { display: none; }
.ecy-planning .ecy-resa__ligne::marker { content: ""; }

.ecy-planning .ecy-seance__ligne {
	display: grid;
	/* La colonne d'action est plafonnée : une phrase longue (place gardée,
	   liste d'attente) passe à la ligne au lieu d'écraser l'horaire. */
	grid-template-columns: var(--ecp-tuile) minmax(10.5rem, 1fr) fit-content(20rem);
	grid-template-areas: "date infos action";
	align-items: center;
	column-gap: 18px;
	row-gap: 12px;
	padding: 16px var(--ecp-gouttiere);
}

/* Tuile de date : le repère que l'œil balaie de haut en bas. */
.ecy-planning .ecy-seance__date {
	grid-area: date;
	display: grid;
	justify-items: center;
	align-content: center;
	height: 64px;
	border-radius: 12px;
	background: var(--ecp-pale);
	color: var(--ecp-bleu);
	line-height: 1;
	font-variant-numeric: tabular-nums;
	transition: background-color .25s ease, color .25s ease;
}

.ecy-planning .ecy-seance__jour,
.ecy-planning .ecy-seance__moisabr {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.ecy-planning .ecy-seance__moisabr { color: var(--ecp-gris); font-weight: 600; transition: color .25s ease; }

.ecy-planning .ecy-seance__num {
	margin: 4px 0 3px;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.02em;
}

.ecy-planning .ecy-seance__infos {
	grid-area: infos;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	min-width: 0;
}

.ecy-planning .ecy-seance__quand {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ecp-encre);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	/* reservation.css lui donne 240 px de large à partir de 640 px, pour les
	   listes de « Mes cours » : ici l'étiquette relative doit la suivre. */
	min-width: 0;
}

.ecy-planning .ecy-seance__relatif {
	padding: 2px 8px;
	border-radius: 6px;
	background: var(--ecp-ambre-fond);
	color: #b3540d;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.5;
}

/* L'état des places passe toujours à la ligne : c'est la seconde lecture,
   après l'heure. Un point de couleur, pas un badge : le badge reste réservé
   à ce qui demande une action (offre, étiquette relative). */
.ecy-planning .ecy-seance__places,
.ecy-planning .ecy-seance__infos .ecy-etat {
	flex-basis: 100%;
	align-self: auto;
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--ecp-ok);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

.ecy-planning .ecy-seance__places::before,
.ecy-planning .ecy-seance__infos .ecy-etat::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 7px;
	border-radius: 50%;
	background: currentColor;
	vertical-align: 1px;
}

.ecy-planning .ecy-is-dernieres .ecy-seance__places,
.ecy-planning .ecy-seance__infos .ecy-etat--dernieres,
.ecy-planning .ecy-seance__infos .ecy-etat--attente { color: var(--ecp-ambre); }
.ecy-planning .ecy-is-complet .ecy-seance__places,
.ecy-planning .ecy-is-passe .ecy-seance__places,
.ecy-planning .ecy-is-indispo .ecy-seance__places,
.ecy-planning .ecy-seance__infos .ecy-etat--complet { color: var(--ecp-complet); }
.ecy-planning .ecy-seance__infos .ecy-etat--prise { color: var(--ecp-bleu); }

.ecy-planning .ecy-seance__ou {
	flex-basis: 100%;
	font-size: 14px;
	color: var(--ecp-gris);
}

.ecy-planning .ecy-seance__action {
	grid-area: action;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px 14px;
	min-width: 0;
}

/* La pilule n'est pas un bouton à elle seule : toute la ligne est le bouton
   (le summary). Elle en porte la forme, pour dire que la ligne se clique. */
.ecy-planning .ecy-pilule {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 18px 0 20px;
	border: 2px solid var(--ecp-bleu);
	border-radius: 999px;
	background: transparent;
	color: var(--ecp-bleu);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
	transition: transform .25s var(--ecp-ease), background-color .2s ease, color .2s ease, box-shadow .25s ease;
}

.ecy-planning .ecy-pilule::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .3s var(--ecp-ease);
}

.ecy-planning .ecy-pilule--clair { border-color: var(--ecp-ligne-forte); }

.ecy-planning .ecy-resa__ligne:hover { background: var(--ecp-voile); }

.ecy-planning .ecy-resa__ligne:hover .ecy-pilule,
.ecy-planning .ecy-resa[open] > .ecy-resa__ligne .ecy-pilule {
	border-color: var(--ecp-bleu);
	background: var(--ecp-bleu);
	color: #fff;
	box-shadow: 0 8px 22px rgba(16, 6, 159, .26);
}

.ecy-planning .ecy-resa__ligne:hover .ecy-pilule { transform: translateY(-2px); }
.ecy-planning .ecy-resa__ligne:active .ecy-pilule { transform: translateY(0); }
.ecy-planning .ecy-resa[open] > .ecy-resa__ligne .ecy-pilule::after { transform: translateY(2px) rotate(-135deg); }

/* Ligne ouverte : la tuile passe au bleu plein, le cours choisi se repère
   d'un coup d'œil pendant qu'on lit les voies. */
.ecy-planning .ecy-resa[open] > .ecy-resa__ligne { background: var(--ecp-ouvert); }

.ecy-planning .ecy-resa[open] > .ecy-resa__ligne .ecy-seance__date,
.ecy-planning .ecy-is-cible .ecy-seance__date {
	background: var(--ecp-bleu);
	color: #fff;
}

.ecy-planning .ecy-resa[open] > .ecy-resa__ligne .ecy-seance__moisabr,
.ecy-planning .ecy-is-cible .ecy-seance__moisabr { color: rgba(255, 255, 255, .78); }

/* Complet, commencé, indisponible : la ligne se tait sans disparaître. */
.ecy-planning .ecy-is-complet .ecy-seance__date,
.ecy-planning .ecy-is-passe .ecy-seance__date,
.ecy-planning .ecy-is-indispo .ecy-seance__date {
	background: #f1f0f5;
	color: #6f6c85;
}

.ecy-planning .ecy-is-complet .ecy-seance__quand,
.ecy-planning .ecy-is-passe .ecy-seance__quand,
.ecy-planning .ecy-is-indispo .ecy-seance__quand { color: #5a5a70; }

.ecy-planning .ecy-is-passe .ecy-resa__ligne,
.ecy-planning .ecy-is-indispo .ecy-resa__ligne,
.ecy-planning .ecy-resa__ligne[aria-disabled="true"] { cursor: default; }

.ecy-planning .ecy-is-passe .ecy-resa__ligne:hover,
.ecy-planning .ecy-is-indispo .ecy-resa__ligne:hover { background: none; }

.ecy-planning .ecy-is-cible > .ecy-seance__ligne,
.ecy-planning .ecy-is-cible > .ecy-resa > .ecy-resa__ligne { background: var(--ecp-ouvert); }

/* Ligne connectée : coût et bouton côte à côte. */
.ecy-planning .ecy-seance__cout {
	font-size: 13.5px;
	color: var(--ecp-gris);
	text-align: right;
}

.ecy-planning .ecy-seance__action .ecy-bouton {
	min-height: 44px;
	padding: 10px 20px;
	font-size: 15px;
	letter-spacing: 0;
	box-shadow: none;
}

/* Une liste de six lignes portant chacune un bouton plein se lit comme six
   appels concurrents. En contour au repos, plein au survol : la même voix que
   la pilule des lignes déconnectées, et un seul aplat à l'écran à la fois. */
.ecy-planning .ecy-seance__action .ecy-bouton:not(.ecy-bouton--clair) {
	padding: 8px 20px;
	border: 2px solid var(--ecp-bleu);
	background: transparent;
	color: var(--ecp-bleu);
}

.ecy-planning .ecy-seance__action .ecy-bouton:not(.ecy-bouton--clair):hover,
.ecy-planning .ecy-seance__action .ecy-bouton:not(.ecy-bouton--clair):focus-visible {
	background: var(--ecp-bleu);
	color: #fff;
	box-shadow: 0 8px 22px rgba(16, 6, 159, .26);
}

.ecy-planning .ecy-seance__action .ecy-bouton--clair { padding: 8px 18px; border-color: var(--ecp-ligne-forte); }
.ecy-planning .ecy-seance__action .ecy-form-inline { margin: 0; }

.ecy-planning .ecy-seance__action .ecy-lien,
.ecy-planning .ecy-seance__gerer {
	font-size: 15px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ecy-planning .ecy-seance__mention,
.ecy-planning .ecy-seance__annulation {
	flex-basis: 100%;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--ecp-gris);
	text-align: right;
}

/* Le panneau des voies ----------------------------------------------------- */

/* Aligné sur la colonne de l'heure : la tuile reste seule dans sa marge, et
   le regard descend de l'horaire choisi aux trois façons de le réserver. */
.ecy-planning .ecy-resa__panneau {
	padding: 2px var(--ecp-gouttiere) 22px calc(var(--ecp-gouttiere) + var(--ecp-tuile) + 18px);
	background: var(--ecp-ouvert);
}

.ecy-planning .ecy-resa[open] > .ecy-resa__panneau { animation: ecy-deplier .38s var(--ecp-ease) both; }

@keyframes ecy-deplier {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

.ecs .ecy-planning ul.ecy-voies {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--ecp-ligne);
	border-radius: 12px;
}

.ecy-planning .ecy-voie { margin: 0; padding: 0; }
.ecy-planning .ecy-voie + .ecy-voie { border-top: 1px solid var(--ecp-ligne); }

.ecy-planning a.ecy-voie__lien {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto 10px;
	grid-template-areas: "question valeur fleche" "detail detail fleche";
	align-items: center;
	column-gap: 16px;
	row-gap: 1px;
	min-height: 60px;
	padding: 12px 18px;
	color: inherit;
	text-decoration: none;
	transition: background-color .2s ease;
}

.ecy-planning a.ecy-voie__lien::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	color: rgba(16, 6, 159, .32);
	grid-area: fleche;
	transform: rotate(-45deg);
	transition: transform .25s var(--ecp-ease), color .2s ease;
}

.ecy-planning a.ecy-voie__lien:hover { background: var(--ecp-voile); }

.ecy-planning a.ecy-voie__lien:hover::after {
	color: var(--ecp-bleu);
	transform: translateX(2px) rotate(-45deg);
}

/* L'explication passe sous la question et la valeur, sur toute la largeur :
   à côté du montant, elle se tassait sur trois lignes en mobile. */
.ecy-planning .ecy-voie__texte { display: contents; }

.ecy-planning .ecy-voie__question {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ecp-bleu);
	grid-area: question;
	min-width: 0;
}

.ecy-planning .ecy-voie__detail {
	grid-area: detail;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--ecp-gris);
}

.ecy-planning .ecy-voie__valeur {
	grid-area: valeur;
	font-size: 16px;
	font-weight: 800;
	color: var(--ecp-bleu);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.ecy-planning .ecy-voie--offerte .ecy-voie__valeur {
	padding: 4px 10px;
	border-radius: 6px;
	background: var(--ecp-ok-fond);
	color: var(--ecp-ok);
	font-size: 14px;
	font-weight: 700;
}

.ecy-planning .ecy-resa__note {
	margin: 12px 0 0;
	font-size: 13.5px;
	color: var(--ecp-gris);
}

/* Cours complet : le formulaire d'attente prend la place des voies. */
.ecy-planning .ecy-resa__panneau .ecy-attente {
	max-width: 460px;
	margin: 0;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--ecp-ligne);
	border-radius: 12px;
}

.ecy-planning .ecy-attente label {
	display: block;
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 700;
	color: var(--ecp-bleu);
}

.ecy-planning .ecy-attente__ligne { display: flex; flex-wrap: wrap; gap: 10px; }

.ecy-planning .ecy-attente input[type="email"] {
	flex: 1 1 200px;
	width: 100%;
	min-width: 0;
	max-width: none;
	margin: 0;
}

.ecy-planning .ecy-attente .ecy-bouton { box-shadow: none; }

.ecy-planning .ecy-attente__note {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	color: var(--ecp-gris);
}

/* Intercalaire de mois ----------------------------------------------------- */

.ecy-planning .ecy-mois {
	margin: 0;
	padding: 9px var(--ecp-gouttiere);
	border-top: 1px solid var(--ecp-ligne);
	background: var(--ecp-ouvert);
	color: var(--ecp-gris);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.ecy-planning .ecy-liste > .ecy-mois:first-child { border-top: 0; }

/* Dates suivantes ---------------------------------------------------------- */

.ecy-planning .ecy-suite { border-top: 1px solid var(--ecp-ligne); }

.ecy-planning .ecy-suite__bouton {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 14px var(--ecp-gouttiere);
	list-style: none;
	cursor: pointer;
	color: var(--ecp-bleu);
	font-size: 15px;
	font-weight: 700;
	transition: background-color .2s ease;
}

.ecy-planning .ecy-suite__bouton::-webkit-details-marker { display: none; }
.ecy-planning .ecy-suite__bouton::marker { content: ""; }

.ecy-planning .ecy-suite__bouton::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .3s var(--ecp-ease);
}

.ecy-planning .ecy-suite__bouton:hover { background: var(--ecp-voile); }
.ecy-planning .ecy-suite[open] > .ecy-suite__bouton::after { transform: translateY(2px) rotate(-135deg); }
.ecy-planning .ecy-suite__fermer,
.ecy-planning .ecy-suite[open] .ecy-suite__ouvrir { display: none; }
.ecy-planning .ecy-suite[open] .ecy-suite__fermer { display: inline; }
.ecy-planning .ecy-liste--suite { border-top: 1px solid var(--ecp-ligne); }
.ecy-planning .ecy-suite[open] > .ecy-liste--suite { animation: ecy-deplier .38s var(--ecp-ease) both; }

/* Informations pratiques --------------------------------------------------- */

.ecy-planning .ecy-infos {
	display: grid;
	gap: 34px;
	align-content: start;
	min-width: 0;
}

.ecy-planning .ecy-infos__bloc {
	display: grid;
	justify-items: start;
	gap: 4px;
	min-width: 0;
}

/* Titre de colonne de la charte : capitales, trait orange de 26 × 2 px. */
.ecy .ecy-infos h3 {
	position: relative;
	margin: 0 0 10px;
	padding: 0 0 9px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ecp-bleu);
}

.ecy .ecy-infos h3::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 26px;
	height: 2px;
	border-radius: 2px;
	background: var(--ecp-orange);
}

.ecy-planning .ecy-infos__bloc p { margin: 0; font-size: 15px; line-height: 1.55; }
.ecy-planning .ecy-infos__nom { font-weight: 700; color: var(--ecp-encre); }

.ecy-planning .ecy-infos__lieu .ecy-lien {
	margin-top: 4px;
	padding: 6px 0;
	font-size: 15px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ecy-planning .ecy-prix { justify-self: stretch; }

/* Trois colonnes partout, la dernière pour le chevron des cartes : sans
   elle, le prix de la séance seule ne tombait pas sous ceux des cartes. */
.ecy-planning .ecy-prix__ligne {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto 10px;
	column-gap: 12px;
	margin: 0;
	padding: 10px 0;
	border-top: 1px solid var(--ecp-ligne);
}

.ecy-planning .ecy-prix__ligne:first-child { border-top: 0; padding-top: 0; }

.ecy-planning .ecy-prix__ligne:has(> .ecy-prix__lien) { padding: 0; }
.ecy-planning .ecy-prix__ligne:first-child:has(> .ecy-prix__lien) { margin-top: -10px; }

.ecy-planning a.ecy-prix__lien {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto 10px;
	align-items: center;
	column-gap: 12px;
	margin: 0 -12px;
	padding: 10px 12px;
	border-radius: 9px;
	color: inherit;
	text-decoration: none;
	transition: background-color .2s ease;
}

.ecy-planning a.ecy-prix__lien::after {
	content: "";
	grid-column: 3;
	grid-row: 1;
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	color: rgba(16, 6, 159, .32);
	transform: rotate(-45deg);
	transition: transform .25s var(--ecp-ease), color .2s ease;
}

.ecy-planning a.ecy-prix__lien:hover { background: var(--ecp-voile); }
.ecy-planning a.ecy-prix__lien:hover::after { color: var(--ecp-bleu); transform: translateX(2px) rotate(-45deg); }

.ecy-planning .ecy-prix__nom { font-size: 15px; font-weight: 600; color: var(--ecp-encre); }
.ecy-planning .ecy-prix__lien .ecy-prix__nom { color: var(--ecp-bleu); font-weight: 700; }

.ecy-planning .ecy-prix__montant {
	grid-column: 2;
	grid-row: 1;
	font-size: 15px;
	font-weight: 800;
	color: var(--ecp-bleu);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ecy-planning .ecy-prix__unite {
	grid-column: 1;
	font-size: 13px;
	color: var(--ecp-gris);
}

.ecy-planning .ecy-infos .ecy-prix__note,
.ecy-planning .ecy-infos .ecy-prix__offrir {
	font-size: 13.5px;
	color: var(--ecp-gris);
}

.ecy-planning .ecy-infos .ecy-prix__note { margin-top: 6px; }
.ecy-planning .ecy-prix__offrir .ecy-lien { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.ecy-planning .ecy-pratique { display: grid; gap: 14px; }

.ecy-planning .ecy-pratique li {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	column-gap: 12px;
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.5;
}

.ecy-planning .ecy-pratique .ecy-pratique__picto { grid-row: 1 / 3; padding-top: 1px; color: var(--ecp-bleu); }
.ecy-planning .ecy-pratique strong { font-size: 15px; color: var(--ecp-bleu); }
.ecy-planning .ecy-pratique__texte { grid-column: 2; color: var(--ecp-texte); }

/* Mise au point : le contour orange de la charte, rentré dans les lignes
   pleine largeur que la carte rogne. */
.ecy-planning :is(a, button, summary):focus-visible {
	outline: 2px solid var(--ecp-orange);
	outline-offset: 3px;
	border-radius: 8px;
}

.ecy-planning :is(.ecy-resa__ligne, .ecy-suite__bouton, .ecy-voie__lien):focus-visible {
	outline-offset: -3px;
	border-radius: 0;
}

.ecy-planning .ecy-seance__ligne[tabindex]:focus { outline: none; }
.ecy-planning .ecy-seance__ligne[tabindex]:focus-visible { outline: 2px solid var(--ecp-orange); outline-offset: -3px; }

/* Bureau : deux colonnes au seuil de Divi ----------------------------------- */

@media (min-width: 981px) {
	.ecy-planning__corps {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 56px;
	}

	.ecy-planning .ecy-infos {
		position: sticky;
		top: calc(var(--ec-nav-h, 74px) + 28px);
		padding-top: 6px;
	}
}

/* Tablette : les informations sous la liste, sur deux colonnes. */
@media (min-width: 601px) and (max-width: 980px) {
	.ecy-planning .ecy-infos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px 40px; }
	.ecy-planning .ecy-infos__pratique { grid-column: 1 / -1; }
	.ecy-planning .ecy-pratique { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

/* Mobile : la pilule passe sous l'heure, le panneau prend toute la largeur. */
@media (max-width: 600px) {
	.ecy.ecy-planning { --ecp-tuile: 52px; --ecp-gouttiere: 16px; }

	.ecy-planning__entete { margin-bottom: 20px; }
	.ecy .ecy-planning__rythme { font-size: 16px; }

	.ecy-planning__cours { border-radius: 14px; }

	.ecy-planning .ecy-seance__ligne {
		grid-template-areas: "date infos" "date action";
		grid-template-columns: var(--ecp-tuile) minmax(0, 1fr);
		align-items: start;
		column-gap: 14px;
		row-gap: 10px;
		padding: 16px var(--ecp-gouttiere);
	}

	.ecy-planning .ecy-seance__date { height: 60px; }
	.ecy-planning .ecy-seance__action { justify-content: flex-start; }
	.ecy-planning .ecy-seance__cout,
	.ecy-planning .ecy-seance__mention,
	.ecy-planning .ecy-seance__annulation { text-align: left; }

	.ecy-planning .ecy-resa__panneau { padding: 2px var(--ecp-gouttiere) 18px; }
	.ecy-planning a.ecy-voie__lien { column-gap: 12px; padding: 12px 14px; }
	.ecy-planning .ecy-voie__question,
	.ecy-planning .ecy-voie__valeur { font-size: 15px; }
	.ecy-planning .ecy-voie--offerte .ecy-voie__valeur { font-size: 13.5px; }

	.ecy-planning .ecy-infos { gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
	.ecy-planning *,
	.ecy-planning *::before,
	.ecy-planning *::after {
		animation: none !important;
		transition: none !important;
	}

	.ecy-planning .ecy-resa__ligne:hover .ecy-pilule { transform: none; }
}
