/**
 * Formulaire d'inscription Artzak — feuille de styles publique.
 *
 * Conçue pour rester lisible quel que soit le thème WordPress : tout est
 * cadré sous « .az », les tailles sont en rem et l'affichage est pensé pour
 * le téléphone d'abord, puisque la plupart des parents remplissent le
 * dossier depuis les gradins.
 */

.az {
	/* Couleurs relevées sur le logo et les documents du club :
	   vert sapin, rouge vif et gris neutre. */
	--az-vert: #144b36;
	--az-vert-vif: #14803d;
	--az-vert-clair: #dbfbe6;
	--az-vert-pale: #f0faf4;
	--az-rouge: #db2626;
	--az-rouge-fonce: #b81c1c;
	--az-rouge-clair: #fde2e2;

	/* Alias conservés pour ne pas dupliquer les règles historiques. */
	--az-bleu: var(--az-vert);
	--az-bleu-clair: var(--az-vert-clair);

	--az-texte: #23302b;
	--az-doux: #6b7a72;
	--az-bord: #dfe5e1;
	--az-fond: #ffffff;
	--az-ok: #14803d;
	--az-alerte: #db2626;
	--az-attention: #b5651d;
	--az-rayon: 12px;

	max-width: 860px;
	margin: 0 auto;
	padding: 0 0 7rem;
	color: var(--az-texte);
	font-size: 1rem;
	line-height: 1.55;
	-webkit-text-size-adjust: 100%;

	/* Chaque étape masque la précédente. Sur téléphone, la page du planning
	   fait près de 3 000 pixels : en la retirant, l'ancrage automatique du
	   défilement de Chrome tente de « garder la place » et repositionne la
	   page au milieu de l'étape suivante. La famille croit alors que le
	   bouton Continuer n'a rien fait. */
	overflow-anchor: none;
}

.az *,
.az *::before,
.az *::after {
	box-sizing: border-box;
}

/*
 * L'attribut « hidden » doit toujours l'emporter.
 * Sans cette règle, la moindre déclaration « display » de cette feuille
 * (.az-check, .az-field, .az-btn…) prend le dessus sur le display:none du
 * navigateur, et les blocs conditionnels restent affichés — visibles mais
 * inertes, puisque leurs champs sont désactivés en parallèle.
 */
.az [hidden],
.az[hidden] {
	display: none !important;
}

/* ----------------------- Modèle de page épurée ------------------------- */

/*
 * Habillage minimal du site dédié aux inscriptions : un bandeau au nom du
 * club, le formulaire, un pied de page avec le contact. Le reste du thème
 * n'est pas chargé, donc ces règles ne rentrent en conflit avec rien.
 */
body.az-page {
	margin: 0;
	padding: 0;
	background: #f4f7f5;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #23302b;
}

.az-page-entete {
	background: #144b36;
	border-bottom: 4px solid #db2626;
}

.az-page-bande {
	max-width: 860px;
	margin: 0 auto;
	padding: 0.9rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.az-page-club {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.az-page-nom {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.az-page-raison {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.az-page-retour {
	color: #fff;
	font-size: 0.87rem;
	text-decoration: none;
	padding: 0.35rem 0.8rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	white-space: nowrap;
}

.az-page-retour:hover {
	background: rgba(255, 255, 255, 0.12);
}

.az-page-corps {
	padding: 1.5rem 1rem 0;
}

.az-page-corps .az {
	background: transparent;
}

.az-page-pied {
	max-width: 860px;
	margin: 0 auto;
	padding: 1.5rem 1rem 8rem;
	color: #6b7a72;
	font-size: 0.82rem;
	line-height: 1.55;
	text-align: center;
	border-top: 1px solid #dfe5e1;
	margin-top: 2rem;
}

.az-page-pied p {
	margin: 0 0 0.5rem;
}

.az-page-pied a {
	color: #144b36;
}

@media (max-width: 520px) {
	.az-page-bande {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.6rem;
	}
}

/* --------------------- Catégories par année de naissance --------------- */

.az-categories {
	margin-top: 1.2rem;
	padding: 1rem 1.1rem;
	background: var(--az-vert-pale);
	border-radius: var(--az-rayon);
	border: 1px solid var(--az-bord);
}

.az-categories .az-h3 {
	margin-top: 0;
}

.az-categories-liste {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 0.5rem;
	list-style: none;
	margin: 0.9rem 0 0;
	padding: 0;
}

.az-categorie {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.6rem;
	padding: 0.5rem 0.7rem;
	background: #fff;
	border-radius: 8px;
	border-left: 4px solid var(--az-vert-vif);
}

.az-categorie-nom {
	font-weight: 700;
	color: var(--az-vert);
}

.az-categorie-annees {
	color: var(--az-doux);
	font-size: 0.85rem;
	text-align: right;
}

/* ------------------ Informations fédérales ----------------------------- */

.az-head-lien {
	margin: 0.8rem 0 0;
	padding-top: 0.7rem;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.az-head-lien a {
	color: #fff;
	font-weight: 700;
}

.az-head-lien small {
	display: block;
	opacity: 0.8;
	font-size: 0.82rem;
}

.az-infos-ffrs {
	max-width: 860px;
	margin: 0 auto;
	padding: 1.5rem 1rem;
}

.az-info-bloc {
	margin-top: 1.6rem;
	padding-top: 1.2rem;
	border-top: 2px solid var(--az-bord);
}

.az-info-bloc:first-of-type {
	border-top: 0;
}

.az-info-bloc p {
	margin: 0.6rem 0 0;
}

.az-docs {
	list-style: none;
	margin: 0.8rem 0;
	padding: 0.7rem 0.9rem;
	background: var(--az-vert-pale);
	border-radius: var(--az-rayon);
}

.az-docs li {
	padding: 0.22rem 0 0.22rem 1.4rem;
	position: relative;
}

.az-docs li::before {
	content: "\25B6";
	position: absolute;
	left: 0;
	color: var(--az-vert-vif);
	font-size: 0.7rem;
	top: 0.42rem;
}

.az-doc-absent {
	color: var(--az-doux);
}

.az-encadre-club {
	margin-top: 0.9rem !important;
	padding: 0.8rem 1rem;
	background: var(--az-vert-clair);
	border-left: 4px solid var(--az-vert-vif);
	border-radius: 0 9px 9px 0;
	font-weight: 600;
}

/* --------------------------- Espace bureau ----------------------------- */

.az-bureau {
	max-width: 1180px;
	margin: 0 auto;
	padding: 1.5rem 1rem;
}

.az-onglets {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	margin: 1rem 0 1.2rem;
	border-bottom: 2px solid var(--az-bord);
}

.az-onglet {
	padding: 0.6rem 1rem;
	border-radius: 9px 9px 0 0;
	text-decoration: none;
	color: var(--az-doux);
	font-weight: 600;
	border: 1px solid transparent;
	border-bottom: 0;
	margin-bottom: -2px;
}

.az-onglet:hover {
	color: var(--az-vert);
	background: var(--az-vert-pale);
}

.az-onglet-actif,
.az-onglet-actif:hover {
	background: #fff;
	color: var(--az-vert);
	border-color: var(--az-bord);
	border-bottom: 2px solid #fff;
}

.az-bureau-resume {
	padding: 0.7rem 1rem;
	background: var(--az-vert-pale);
	border-radius: var(--az-rayon);
	margin: 0 0 1rem;
	font-size: 0.95rem;
}

/* Un tableau de suivi est plus large qu'un formulaire : il défile seul plutôt
   que de faire déborder la page entière. */
.az-tableau-large {
	overflow-x: auto;
	margin-bottom: 1.4rem;
}

.az-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	font-size: 0.92rem;
}

.az-table th {
	text-align: left;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--az-doux);
	padding: 0.55rem 0.7rem;
	border-bottom: 2px solid var(--az-vert);
	white-space: nowrap;
}

.az-table td {
	padding: 0.55rem 0.7rem;
	border-bottom: 1px solid var(--az-bord);
	vertical-align: top;
}

.az-table tbody tr:hover {
	background: var(--az-vert-pale);
}

.az-table .az-num {
	text-align: right;
	white-space: nowrap;
}

.az-ligne-ok td {
	background: #f4fbf7;
}

.az-rouge {
	color: var(--az-rouge);
}

.az-neutre {
	color: var(--az-doux);
}

.az-lien-fiche {
	margin-left: 0.5rem;
	font-size: 0.85rem;
}

.az-etiquette-ok {
	background: #e9f7ef;
	color: #146c3a;
	border: 1px solid var(--az-ok);
}

.az-etiquette-partiel {
	background: #fdf4e9;
	color: #7a4611;
	border: 1px solid var(--az-attention);
}

.az-etiquette-attente {
	background: #f1f3f5;
	color: #5b6470;
	border: 1px solid var(--az-bord);
}

/* Actions du bureau
   -----------------
   Un encaissement et une licence se pointent en série, une ligne après
   l'autre. Le formulaire ne doit donc rien occuper : ni retour à la ligne,
   ni marge. D'où un formulaire réduit à l'espace de son bouton. */
.az-form-inline {
	display: inline;
	margin: 0;
	padding: 0;
}

/* Bouton d'état, pensé pour être cliqué vite et lu d'un coup d'œil : la
   colonne entière se parcourt du regard pour repérer ce qui reste à faire. */
.az-jeton {
	min-width: 4.5rem;
	padding: 0.25rem 0.6rem;
	border: 1px solid var(--az-bord);
	border-radius: 999px;
	background: #f1f3f5;
	color: #5b6470;
	font-size: 0.85rem;
	font-family: inherit;
	line-height: 1.4;
	cursor: pointer;
}

.az-jeton:hover {
	border-color: var(--az-vert);
	background: #fff;
}

.az-jeton-ok {
	background: #e9f7ef;
	border-color: var(--az-ok);
	color: #146c3a;
	font-weight: 600;
}

.az-reglement {
	margin-top: 1.2rem;
}

/* Montant d'un licencié : le chiffre d'abord, les gestes ensuite. */
.az-montant {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* Un tarif accordé par le bureau se voit : c'est une décision, pas un calcul. */
.az-montant-faveur {
	font-weight: 600;
	color: #7a4611;
}

/* Avertissement du bureau : une conséquence que le site ne peut pas assumer
   seul, et sur laquelle quelqu'un doit agir ailleurs. */
.az-alerte {
	margin: 0.8rem 0 0;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--az-attention);
	border-left-width: 4px;
	border-radius: var(--az-rayon);
	background: #fdf4e9;
	color: #7a4611;
}

/* Accusé de réception après redirection : visible sans être une alerte, le
   geste ayant réussi. */
.az-avis {
	margin: 0 0 1rem;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--az-ok);
	border-left-width: 4px;
	border-radius: var(--az-rayon);
	background: #e9f7ef;
	color: #146c3a;
}

/* Sur téléphone, chaque ligne devient une fiche : les en-têtes de colonnes
   sont repris devant chaque valeur. */
@media (max-width: 780px) {
	.az-table,
	.az-table tbody,
	.az-table tr,
	.az-table td {
		display: block;
		width: 100%;
	}

	.az-table thead {
		display: none;
	}

	.az-table tr {
		border: 1px solid var(--az-bord);
		border-radius: var(--az-rayon);
		margin-bottom: 0.8rem;
		padding: 0.3rem 0.5rem;
		background: #fff;
	}

	.az-table td {
		border-bottom: 0;
		padding: 0.35rem 0.2rem;
		display: flex;
		justify-content: space-between;
		gap: 0.8rem;
		text-align: right;
	}

	.az-table td::before {
		content: attr(data-libelle);
		flex: 0 0 auto;
		font-size: 0.72rem;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		color: var(--az-doux);
		text-align: left;
	}

	.az-table .az-num {
		text-align: right;
	}
}

/* ------------------ Page d'édition du planning ------------------------- */

.az-acces,
.az-secretariat,
.az-planning-edit {
	max-width: 860px;
	margin: 0 auto;
	padding: 1.5rem 1rem;
}

.az-planning-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
	background: #fff;
}

.az-planning-table th {
	text-align: left;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--az-doux);
	padding: 0.5rem 0.6rem;
	border-bottom: 2px solid var(--az-vert);
}

.az-planning-table td {
	padding: 0.4rem 0.6rem;
	border-bottom: 1px solid var(--az-bord);
	vertical-align: middle;
}

.az-planning-table input[type="text"],
.az-planning-table select {
	width: 100%;
	padding: 0.5rem 0.6rem;
	border: 1px solid var(--az-bord);
	border-radius: 8px;
	font: inherit;
	background: #fff;
}

.az-planning-suppr {
	white-space: nowrap;
	text-align: center;
}

.az-retour {
	margin: 0 0 0.6rem;
	font-size: 0.9rem;
}

.az-etiquette {
	display: inline-block;
	padding: 0.1rem 0.45rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	vertical-align: middle;
}

.az-etiquette-test {
	background: #fdf4e9;
	color: #7a4611;
	border: 1px solid var(--az-attention);
}

.az-manquant {
	color: var(--az-rouge);
	font-weight: 600;
}

.az-alert-ok {
	background: #e9f7ef;
	border-left: 4px solid var(--az-ok);
}

.az-alert-ko {
	background: #fdecea;
	border-left: 4px solid var(--az-rouge);
}

.az-alert-info {
	background: #fdf4e9;
	border-left: 4px solid var(--az-attention);
}

/* Sur téléphone, un tableau à quatre colonnes devient illisible : chaque
   créneau se présente alors comme un petit bloc étiqueté. */
@media (max-width: 620px) {
	.az-planning-table,
	.az-planning-table tbody,
	.az-planning-table tr,
	.az-planning-table td {
		display: block;
		width: 100%;
	}

	.az-planning-table thead {
		display: none;
	}

	.az-planning-table tr {
		border: 1px solid var(--az-bord);
		border-radius: var(--az-rayon);
		margin-bottom: 0.8rem;
		padding: 0.4rem;
	}

	.az-planning-table td {
		border-bottom: 0;
	}

	.az-planning-table td::before {
		content: attr(data-libelle);
		display: block;
		font-size: 0.75rem;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		color: var(--az-doux);
		margin-bottom: 0.2rem;
	}

	.az-planning-suppr {
		text-align: left;
	}
}

/* --------------- Panne de démarrage / navigateur intégré --------------- */

.az-panne,
.az-avert {
	border-radius: var(--az-rayon);
	padding: 0.9rem 1.1rem;
	margin-bottom: 1rem;
	font-size: 0.92rem;
	line-height: 1.5;
}

.az-panne {
	background: #fdecea;
	border: 2px solid var(--az-rouge);
	color: #7a1c12;
}

.az-panne p {
	margin: 0.5rem 0 0;
}

.az-avert {
	background: #fdf4e9;
	border: 1px solid var(--az-attention);
	color: #7a4611;
}

/* ---------------------------- Bandeau de test -------------------------- */

.az-bandeau-test {
	background: repeating-linear-gradient(135deg, #fdf4e9, #fdf4e9 12px, #fbeddc 12px, #fbeddc 24px);
	border: 2px solid var(--az-attention);
	border-radius: var(--az-rayon);
	padding: 0.85rem 1.1rem;
	margin-bottom: 1rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #7a4611;
}

.az-bandeau-test strong {
	color: var(--az-attention);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

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

.az-head {
	background: var(--az-vert);
	color: #fff;
	border-radius: var(--az-rayon);
	padding: 1.4rem 1.5rem;
	margin-bottom: 1.25rem;
	border-top: 5px solid var(--az-rouge);
}

.az-head-titre {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
}

.az-head-texte {
	margin: 0.5rem 0 0;
	opacity: 0.88;
	font-size: 0.95rem;
}

/* ------------------------------- Étapes -------------------------------- */

.az-steps {
	display: flex;
	gap: 0.35rem;
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0 0 0.4rem;
	overflow-x: auto;
	scrollbar-width: thin;
}

.az-steps-item {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex: 0 0 auto;
	padding: 0.4rem 0.7rem;
	border-radius: 999px;
	background: var(--az-bleu-clair);
	color: var(--az-doux);
	font-size: 0.83rem;
	white-space: nowrap;
	cursor: default;
}

.az-steps-item.az-fait {
	cursor: pointer;
	color: var(--az-bleu);
}

.az-steps-item.az-fait:hover {
	background: #e2e9f5;
}

.az-steps-item.az-actif {
	background: var(--az-bleu);
	color: #fff;
	font-weight: 600;
}

.az-steps-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	font-size: 0.75rem;
	font-weight: 700;
}

.az-steps-item:not(.az-actif) .az-steps-num {
	background: #fff;
}

.az-steps-item.az-fait .az-steps-num::before {
	content: "✔";
	font-size: 0.7rem;
}

.az-steps-item.az-fait .az-steps-num {
	color: transparent;
	position: relative;
}

.az-steps-item.az-fait .az-steps-num::before {
	position: absolute;
	color: var(--az-ok);
}

/* ------------------------------- Titres -------------------------------- */

.az-h2 {
	font-size: 1.35rem;
	font-weight: 700;
	margin: 0 0 0.4rem;
	line-height: 1.25;
}

.az-h3 {
	font-size: 1.08rem;
	font-weight: 700;
	margin: 0 0 0.6rem;
}

.az-h4 {
	font-size: 0.95rem;
	font-weight: 700;
	margin: 1.1rem 0 0.5rem;
	color: var(--az-bleu);
}

.az-aide {
	color: var(--az-doux);
	font-size: 0.9rem;
	margin: 0 0 1rem;
}

.az-hint {
	display: block;
	color: var(--az-doux);
	font-size: 0.82rem;
	margin-top: 0.3rem;
	line-height: 1.4;
}

/* ------------------------------- Cartes -------------------------------- */

.az-card {
	background: var(--az-fond);
	border: 1px solid var(--az-bord);
	border-radius: var(--az-rayon);
	padding: 1.15rem;
	margin-bottom: 1rem;
}

.az-adherent-tete {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.6rem;
}

.az-adherent-tete .az-h3 {
	margin: 0;
}

.az-sub {
	border-top: 1px solid var(--az-bord);
	margin-top: 1.1rem;
	padding-top: 0.5rem;
}

.az-mt {
	margin-top: 0.8rem;
}

/* ------------------------------- Champs -------------------------------- */

.az-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
}

@media (min-width: 620px) {
	.az-grid {
		grid-template-columns: 1fr 1fr;
	}

	.az-col-2 {
		grid-column: 1 / -1;
	}
}

.az-field {
	display: block;
	min-width: 0;
}

.az-field > span {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 0.3rem;
}

.az-field em,
.az-check em {
	color: var(--az-alerte);
	font-style: normal;
}

.az input[type="text"],
.az input[type="email"],
.az input[type="tel"],
.az input[type="date"],
.az input[type="number"],
.az select,
.az textarea {
	width: 100%;
	padding: 0.68rem 0.75rem;
	border: 1px solid var(--az-bord);
	border-radius: 9px;
	background: #fff;
	font: inherit;
	font-size: 1rem;
	color: var(--az-texte);
	appearance: none;
}

.az select {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%236a7486' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.8rem center;
	background-size: 12px;
	padding-right: 2.2rem;
}

.az input:focus,
.az select:focus,
.az textarea:focus {
	outline: 3px solid rgba(21, 47, 94, 0.18);
	border-color: var(--az-bleu);
}

.az-field output {
	display: block;
	padding: 0.68rem 0.75rem;
	border: 1px dashed var(--az-bord);
	border-radius: 9px;
	background: var(--az-bleu-clair);
	font-size: 0.92rem;
	color: var(--az-doux);
	min-height: 2.9rem;
}

.az-euro {
	position: relative;
}

.az-euro span {
	position: absolute;
	right: 0.85rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--az-doux);
	font-weight: 600;
}

/*
 * Le symbole € est posé par-dessus le champ. Deux choses le gênaient :
 *
 * 1. La règle générique « .az input[type="number"] » est plus spécifique que
 *    « .az-euro input » : son padding de 0,75 rem l'emportait, et le montant
 *    saisi venait s'écrire sous le symbole.
 * 2. Les flèches haut/bas du champ numérique occupent précisément cet angle
 *    et se superposaient au €. Elles n'apportent rien pour un don, qui se
 *    tape au clavier.
 */
.az .az-euro input[type="number"] {
	padding-right: 2.4rem;
	-moz-appearance: textfield;
}

.az .az-euro input[type="number"]::-webkit-outer-spin-button,
.az .az-euro input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}

/* ------------------------ Cases et boutons radio ----------------------- */

.az-choices {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.az-choices-inline {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.az-check {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	padding: 0.55rem 0.6rem;
	border-radius: 9px;
	cursor: pointer;
	font-size: 0.93rem;
	line-height: 1.45;
}

.az-check:hover {
	background: var(--az-bleu-clair);
}

.az-check input {
	flex: 0 0 auto;
	width: 1.15rem;
	height: 1.15rem;
	margin: 0.15rem 0 0;
	accent-color: var(--az-bleu);
}

.az-choices-inline .az-check {
	border: 1px solid var(--az-bord);
	background: #fff;
}

.az-choices-inline .az-check:has(input:checked) {
	border-color: var(--az-bleu);
	background: var(--az-bleu-clair);
	font-weight: 600;
}

.az-check-fort {
	background: #f7f9fc;
	border: 1px solid var(--az-bord);
	margin-bottom: 0.4rem;
}

.az-copy {
	margin-top: 0.6rem;
	font-size: 0.88rem;
}

.az-desactive {
	opacity: 0.45;
	pointer-events: none;
}

/* ------------------------------- Boutons ------------------------------- */

.az-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.75rem 1.4rem;
	border: 0;
	border-radius: 10px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	min-height: 46px;
}

.az-btn-pri {
	background: var(--az-bleu);
	color: #fff;
}

.az-btn-pri:hover {
	background: #1d3f7a;
}

.az-btn-pri:disabled {
	opacity: 0.6;
	cursor: progress;
}

.az-btn-sec {
	background: #fff;
	color: var(--az-bleu);
	border: 1px solid var(--az-bord);
}

.az-btn-lien {
	background: none;
	border: 0;
	padding: 0.2rem 0;
	color: var(--az-bleu);
	font: inherit;
	font-size: 0.88rem;
	text-decoration: underline;
	cursor: pointer;
}

.az-add {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.9rem;
	border: 2px dashed var(--az-bord);
	border-radius: var(--az-rayon);
	background: #fff;
	color: var(--az-bleu);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.az-add:hover {
	border-color: var(--az-bleu);
	background: var(--az-bleu-clair);
}

.az-chip {
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--az-bord);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 0.9rem;
	cursor: pointer;
}

.az-chip:hover {
	border-color: var(--az-bleu);
	background: var(--az-bleu-clair);
}

.az-don-rapide {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-top: 0.7rem;
}

/* ------------------------------ Tarifs --------------------------------- */

.az-details {
	margin-top: 1rem;
	border: 1px solid var(--az-bord);
	border-radius: var(--az-rayon);
	padding: 0.8rem 1rem;
	background: #fff;
}

.az-details summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 0.93rem;
}

.az-tarifs {
	width: 100%;
	border-collapse: collapse;
	margin: 0.8rem 0;
	font-size: 0.92rem;
}

.az-tarifs th,
.az-tarifs td {
	text-align: left;
	padding: 0.45rem 0.3rem;
	border-bottom: 1px solid var(--az-bord);
}

.az-tarifs th {
	color: var(--az-doux);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.az-tarifs s {
	color: var(--az-doux);
	font-size: 0.85em;
}

/* ------------------------------ Fichiers ------------------------------- */

.az-upload {
	margin-top: 0.4rem;
}

.az-upload-zone {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 1rem;
	border: 2px dashed var(--az-bord);
	border-radius: var(--az-rayon);
	background: #fbfcfe;
	cursor: pointer;
}

.az-upload-zone:hover,
.az-upload.az-drag .az-upload-zone {
	border-color: var(--az-bleu);
	background: var(--az-bleu-clair);
}

.az-upload-icone {
	font-size: 1.5rem;
}

.az-upload-texte {
	font-size: 0.93rem;
	font-weight: 600;
	color: var(--az-bleu);
}

.az-upload-etat {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 0.9rem;
	border-radius: 9px;
	font-size: 0.9rem;
}

.az-upload-encours {
	background: var(--az-bleu-clair);
	color: var(--az-bleu);
}

.az-upload-ok {
	background: #e9f7ef;
	color: #14713f;
}

.az-upload-ko {
	background: #fdecec;
	color: var(--az-alerte);
}

/* ---------------------------- Questionnaire ---------------------------- */

.az-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.6rem 0.2rem;
	border-bottom: 1px solid var(--az-bord);
	font-size: 0.93rem;
}

.az-question-texte {
	flex: 1 1 auto;
}

.az-question-rep {
	display: flex;
	gap: 0.35rem;
	flex: 0 0 auto;
}

.az-question-rep label {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.35rem 0.7rem;
	border: 1px solid var(--az-bord);
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	font-size: 0.85rem;
}

.az-question-rep label:has(input:checked) {
	border-color: var(--az-bleu);
	background: var(--az-bleu-clair);
	font-weight: 600;
}

.az-question-rep input {
	width: 0.95rem;
	height: 0.95rem;
	accent-color: var(--az-bleu);
}

.az-question-oui {
	background: #fff8f1;
}

.az-tout-non {
	margin-bottom: 0.6rem;
}

.az-verdict {
	margin-top: 1rem;
	padding: 1rem 1.1rem;
	border-radius: var(--az-rayon);
	border-left: 4px solid;
	font-size: 0.93rem;
}

.az-verdict p {
	margin: 0.4rem 0 0;
}

.az-verdict-ok {
	background: #e9f7ef;
	border-color: var(--az-ok);
}

.az-verdict-warn {
	background: #fdf4e9;
	border-color: var(--az-attention);
}

.az-verdict-motif {
	font-weight: 600;
}

.az-verdict .az-field {
	margin-top: 0.8rem;
}

/* Ce que le médecin doit écrire : détaché du reste, pour être montré tel quel
   au cabinet plutôt que lu en diagonale. */
.az-mentions {
	margin-top: 0.9rem;
	padding: 0.8rem 1rem;
	background: #fff;
	border: 1px solid var(--az-bord);
	border-radius: var(--az-rayon);
}

.az-mentions-titre {
	margin: 0 0 0.5rem;
	font-weight: 700;
}

.az-verdict-mentions {
	margin: 0;
	padding-left: 1.2rem;
}

.az-verdict-mentions li {
	margin-bottom: 0.3rem;
}

.az-liste-note {
	margin: 0.5rem 0 0;
	padding-left: 1.2rem;
}

.az-liste-note li {
	margin-bottom: 0.3rem;
}

.az-mentions .az-mentions-note {
	margin-top: 0.6rem;
	color: var(--az-doux);
	font-size: 0.85rem;
}

.az-verdict .az-mentions-note {
	margin-top: 0.6rem;
	color: var(--az-doux);
	font-size: 0.85rem;
}

/* ----------------------------- Récapitulatif --------------------------- */

.az-recap-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1rem;
	background: #fff;
	border: 1px solid var(--az-bord);
	border-radius: var(--az-rayon);
	overflow: hidden;
}

.az-recap-table td {
	padding: 0.75rem 0.9rem;
	border-bottom: 1px solid var(--az-bord);
	vertical-align: top;
}

.az-recap-table small {
	display: block;
	color: var(--az-doux);
	font-size: 0.82rem;
	font-weight: 400;
}

.az-recap-table .az-num {
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.az-recap-table s {
	color: var(--az-doux);
	margin-right: 0.3rem;
}

.az-recap-remise td {
	color: var(--az-ok);
}

.az-recap-table tfoot td {
	background: var(--az-bleu-clair);
	font-weight: 700;
	font-size: 1.08rem;
	border-bottom: 0;
}

.az-charte {
	max-height: 230px;
	overflow-y: auto;
	padding: 0.9rem 1rem;
	border: 1px solid var(--az-bord);
	border-radius: 9px;
	background: #fbfcfe;
	font-size: 0.9rem;
	margin-bottom: 0.9rem;
}

.az-charte p {
	margin: 0 0 0.7rem;
}

/* ------------------------------ Signature ------------------------------ */

.az-sign {
	margin-top: 0.8rem;
}

.az-sign canvas {
	display: block;
	width: 100%;
	height: 180px;
	border: 2px dashed var(--az-bord);
	border-radius: var(--az-rayon);
	background: #fff;
	touch-action: none;
	cursor: crosshair;
}

.az-sign-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 0.45rem;
}

.az-sign-aide {
	color: var(--az-doux);
	font-size: 0.85rem;
}

/* ------------------------------ Règlement ------------------------------ */

.az-total-final {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.1rem 1.25rem;
	background: var(--az-bleu);
	color: #fff;
	border-radius: var(--az-rayon);
	margin-bottom: 1rem;
}

.az-total-final strong {
	font-size: 1.7rem;
	font-weight: 700;
}

.az-modes {
	display: grid;
	gap: 0.7rem;
	margin-bottom: 1rem;
}

.az-mode {
	display: flex;
	align-items: flex-start;
	gap: 0.8rem;
	padding: 1rem 1.1rem;
	border: 2px solid var(--az-bord);
	border-radius: var(--az-rayon);
	background: #fff;
	cursor: pointer;
}

.az-mode:hover {
	border-color: #b9c5d8;
}

.az-mode-actif {
	border-color: var(--az-bleu);
	background: var(--az-bleu-clair);
}

.az-mode input {
	margin-top: 0.25rem;
	width: 1.15rem;
	height: 1.15rem;
	accent-color: var(--az-bleu);
}

.az-mode-corps {
	display: block;
}

.az-mode-corps strong {
	display: block;
	font-size: 1rem;
}

.az-mode-corps small {
	display: block;
	color: var(--az-doux);
	font-size: 0.87rem;
	margin-top: 0.15rem;
}

.az-ech-liste {
	list-style: none;
	margin: 0.6rem 0 0;
	padding: 0;
}

.az-ech-liste li {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0.2rem;
	border-bottom: 1px solid var(--az-bord);
	font-size: 0.93rem;
}

.az-ech-liste span {
	color: var(--az-doux);
}

.az-rib {
	background: #fff;
	border: 1px solid var(--az-bord);
	border-radius: var(--az-rayon);
	padding: 1.15rem;
}

.az-rib dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.35rem 1rem;
	margin: 0 0 0.8rem;
	font-size: 0.95rem;
}

.az-rib dt {
	color: var(--az-doux);
	font-size: 0.85rem;
}

.az-rib dd {
	margin: 0;
	font-weight: 600;
	word-break: break-all;
}

/* ---------------------------- Barre flottante -------------------------- */

.az-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	padding: 0.7rem max(1rem, env(safe-area-inset-left)) max(0.7rem, env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, 0.97);
	border-top: 3px solid var(--az-vert);
	box-shadow: 0 -6px 18px rgba(20, 60, 45, 0.09);
	backdrop-filter: blur(6px);
}

/*
 * Le contenu de la barre suit la largeur du formulaire : sur un écran large,
 * le total et le bouton restaient collés aux deux bords opposés et se
 * remarquaient à peine.
 */
.az-bar-inner {
	max-width: 860px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

@media (min-width: 900px) {
	.az-bar-inner {
		justify-content: center;
		gap: 2.5rem;
	}

	.az-bar-total {
		text-align: right;
	}
}

.az-bar-total {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	min-width: 0;
}

.az-bar-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--az-doux);
}

.az-bar-total strong {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--az-bleu);
}

.az-bar-total small {
	font-size: 0.75rem;
	color: var(--az-doux);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 46vw;
}

.az-bar-nav {
	display: flex;
	gap: 0.5rem;
	flex: 0 0 auto;
}

/* ------------------------------- Divers -------------------------------- */

.az-alert {
	background: #fdecec;
	border-left: 4px solid var(--az-alerte);
	border-radius: 9px;
	padding: 0.9rem 1.1rem;
	margin-bottom: 1rem;
	font-size: 0.93rem;
}

.az-alert ul {
	margin: 0.4rem 0 0;
	padding-left: 1.1rem;
}

.az-invalide input,
.az-invalide select,
.az-invalide textarea,
.az-invalide canvas {
	border-color: var(--az-alerte) !important;
	background: #fffafa;
}

.az-invalide.az-check,
.az-invalide.az-bloc {
	outline: 2px solid var(--az-alerte);
	outline-offset: 2px;
	border-radius: 9px;
}

.az-save {
	text-align: center;
	color: var(--az-doux);
	font-size: 0.83rem;
	margin: 0.8rem 0 0;
	min-height: 1.2em;
}

/* Envoi du lien de reprise par e-mail : seule façon de reprendre le dossier
   depuis un autre appareil que celui qui l'a commencé. */
.az-reprise {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0.8rem;
	margin: 0.6rem 0 0;
	text-align: center;
}

.az-btn-petit {
	padding: 0.45rem 0.9rem;
	font-size: 0.85rem;
}

.az-reprise-etat {
	color: var(--az-doux);
	font-size: 0.83rem;
}

.az-rgpd {
	color: var(--az-doux);
	font-size: 0.78rem;
	line-height: 1.5;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--az-bord);
}

.az-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.az-fin {
	text-align: center;
	padding: 2.5rem 1.5rem;
	background: #fff;
	border: 1px solid var(--az-bord);
	border-radius: var(--az-rayon);
}

.az-fin-icone-attente {
	background: #fdf4e9 !important;
	color: var(--az-attention) !important;
}

.az-fin-expire .az-btn {
	margin-top: 0.6rem;
	text-decoration: none;
}

.az-fin-icone {
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: #e9f7ef;
	color: var(--az-ok);
	font-size: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.az-fin h2 {
	margin: 0 0 0.6rem;
	font-size: 1.4rem;
}

.az-fin .az-rib {
	text-align: left;
	margin-top: 1.4rem;
}

.az-fin code {
	background: var(--az-bleu-clair);
	padding: 0.15rem 0.45rem;
	border-radius: 5px;
	font-size: 0.9em;
}

.az-ferme {
	max-width: 640px;
	margin: 0 auto;
	padding: 2rem;
	text-align: center;
	background: #fff;
	border: 1px solid #dde3ec;
	border-radius: 12px;
}

.az-card-don {
	background: linear-gradient(180deg, #fbfefc, var(--az-vert-pale));
	border-color: #c6e3d2;
}

/* ------------------------- Planning d'entraînement ---------------------- */

.az-planning {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.8rem;
	margin-bottom: 1rem;
}

@media (min-width: 620px) {
	.az-planning {
		grid-template-columns: 1fr 1fr;
	}
}

.az-jour {
	background: var(--az-fond);
	border: 1px solid var(--az-bord);
	border-radius: var(--az-rayon);
	overflow: hidden;
}

.az-jour-titre {
	margin: 0;
	padding: 0.55rem 0.9rem;
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/*
 * Les jours alternent rouge et vert, comme sur le planning papier : cela
 * découpe la semaine d'un coup d'œil, sans rien signifier de plus.
 */
.az-jour-a .az-jour-titre {
	background: var(--az-rouge-clair);
	color: var(--az-rouge-fonce);
}

.az-jour-b .az-jour-titre {
	background: var(--az-vert-clair);
	color: var(--az-vert);
}

/*
 * La couleur du créneau, elle, porte du sens : elle indique la famille de
 * séance. Reprise du code du planning papier.
 */
.az-type-competition {
	color: var(--az-rouge);
}

.az-type-jeunes {
	color: #23302b;
}

.az-type-loisirs {
	color: var(--az-vert-vif);
}

.az-type-specifique {
	color: #1d4ed8;
}

.az-legende {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1rem;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0.7rem 0.9rem;
	background: var(--az-fond);
	border: 1px solid var(--az-bord);
	border-radius: 9px;
	font-size: 0.82rem;
	font-weight: 600;
}

.az-legende-item {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.az-legende-item::before {
	content: "";
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 3px;
	background: currentColor;
	flex: 0 0 auto;
}

.az-planning-debut {
	margin: 0.9rem 0 1rem;
	padding: 0.7rem 1rem;
	background: var(--az-vert-clair);
	border-left: 4px solid var(--az-vert-vif);
	border-radius: 0 9px 9px 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--az-vert);
}

.az-creneaux {
	list-style: none;
	margin: 0;
	padding: 0.35rem 0.9rem 0.6rem;
}

.az-creneaux li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.8rem;
	padding: 0.42rem 0;
	border-bottom: 1px solid #eef2ef;
	font-size: 0.92rem;
}

.az-creneaux li:last-child {
	border-bottom: 0;
}

.az-heure {
	color: var(--az-doux);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/*
 * Pas de couleur ici : elle est portée par la classe az-type-… posée sur le
 * même élément. La définir aussi à cet endroit la ferait gagner par ordre
 * d'écriture et tous les créneaux ressortiraient de la même teinte.
 */
.az-groupe {
	font-weight: 700;
	text-align: right;
}

.az-planning-note {
	font-size: 0.85rem;
	color: var(--az-doux);
	font-style: italic;
	margin: 0 0 1.4rem;
	padding-left: 0.7rem;
	border-left: 3px solid var(--az-bord);
}

/* ------------------------------ Partenaire ----------------------------- */

.az-partenaire {
	border: 2px solid var(--az-vert);
	border-radius: var(--az-rayon);
	overflow: hidden;
	background: #fff;
}

.az-partenaire-bandeau {
	background: var(--az-vert);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 0.4rem 1rem;
	text-align: center;
}

.az-partenaire-corps {
	padding: 1.3rem 1.2rem 1.1rem;
	text-align: center;
}

.az-partenaire-logo {
	display: block;
	width: 100%;
	max-width: 340px;
	height: auto;
	margin: 0 auto 0.9rem;
}

.az-partenaire-texte {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--az-texte);
}

.az-partenaire-lien {
	display: inline-block;
	margin-top: 0.7rem;
	padding: 0.5rem 1.2rem;
	border: 1px solid var(--az-vert);
	border-radius: 999px;
	color: var(--az-vert);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

.az-partenaire-lien:hover {
	background: var(--az-vert);
	color: #fff;
}

/* ------------------------------ La charte ------------------------------ */

.az-charte-bloc {
	border-left: 4px solid var(--az-vert);
}

.az-charte-tete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 0.6rem;
}

.az-charte-tete .az-h3 {
	margin: 0;
}

.az-badge-nom {
	display: inline-block;
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	background: var(--az-vert-clair);
	color: var(--az-vert);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.az-charte-corps .az-h4 {
	margin-top: 1.2rem;
	color: var(--az-vert);
}

.az-charte-liste {
	margin: 0.3rem 0 0;
	padding-left: 1.15rem;
	font-size: 0.93rem;
}

.az-charte-liste li {
	margin-bottom: 0.35rem;
	line-height: 1.5;
}

.az-charte-benevolat {
	margin-top: 1.3rem;
	padding: 1rem 1.1rem;
	border-radius: 9px;
	background: var(--az-vert-pale);
	border-left: 3px solid var(--az-vert-vif);
	font-size: 0.92rem;
}

.az-charte-benevolat strong {
	display: block;
	color: var(--az-vert);
	margin-bottom: 0.4rem;
}

.az-charte-benevolat p {
	margin: 0 0 0.5rem;
}

.az-charte-conclusion {
	font-weight: 700;
	color: var(--az-vert);
	margin-bottom: 0 !important;
}

.az-charte-accords {
	margin-top: 1.2rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--az-bord);
}

@media (max-width: 520px) {
	.az-question {
		flex-direction: column;
		align-items: stretch;
		gap: 0.5rem;
	}

	.az-question-rep {
		justify-content: flex-end;
	}

	.az-head-titre {
		font-size: 1.3rem;
	}

	.az-btn {
		padding: 0.75rem 1rem;
	}
}

@media print {
	.az-bar,
	.az-steps,
	.az-add {
		display: none !important;
	}
}

/* Mention discrète remplaçant les boutons de réduction sur un dossier prélevé
   en ligne : elle explique une absence, elle ne réclame pas l'attention. */
.az-note-tarif {
	font-size: 0.85rem;
}
