/**
 * 06 - Pied de page
 */

.otb-footer {
	background: var(--otb-surface);
	border-top: 1px solid var(--otb-filet);
	margin-top: var(--otb-e-xxl);
}

.otb-footer__inner {
	max-width: var(--otb-largeur);
	margin-inline: auto;
	padding: var(--otb-e-xxl) var(--otb-marge) var(--otb-e-xl);
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
	gap: var(--otb-e-xl);
}

.otb-footer__logo {
	width: 84px;
	height: 84px;
	object-fit: contain;
	margin-bottom: var(--otb-e-m);
}

.otb-footer__baseline {
	color: var(--otb-gris);
	max-width: 34ch;
	line-height: 1.6;
}

.otb-footer__titre {
	font-family: var(--otb-titre);
	font-weight: 700;
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--otb-or);
	margin-bottom: var(--otb-e-m);
}

.otb-footer__liste {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.otb-footer__liste a {
	color: var(--otb-gris);
	font-size: var(--otb-t-normal);
}

.otb-footer__liste a:hover,
.otb-footer__liste a:focus-visible { color: var(--otb-blanc); }

.otb-footer__adresse {
	font-style: normal;
	color: var(--otb-gris);
	line-height: 1.7;
	margin-bottom: var(--otb-e-m);
}

.otb-footer__stade {
	color: var(--otb-gris);
	font-size: 0.95rem;
	margin-bottom: var(--otb-e-l);
	max-width: 32ch;
}

.otb-footer__bas {
	border-top: 1px solid var(--otb-filet);
}

.otb-footer__bas > * {
	max-width: var(--otb-largeur);
	margin-inline: auto;
	padding-inline: var(--otb-marge);
}

.otb-footer__copyright,
.otb-footer__source {
	font-size: 0.82rem;
	color: var(--otb-gris);
	padding-block: 10px;
}

.otb-footer__copyright { padding-top: var(--otb-e-l); }
.otb-footer__source { padding-bottom: var(--otb-e-l); }

@media (max-width: 900px) {
	.otb-footer__inner {
		grid-template-columns: 1fr;
		gap: var(--otb-e-l);
		padding-top: var(--otb-e-xl);
	}
}
/* Bandeau legal : present sur toutes les pages, comme l exige la
   transparence due au visiteur. Contraste du gris sur le fond du bas de
   page verifie a 4,5:1. */
.otb-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--otb-e-s);
	margin-top: var(--otb-e-s);
}

.otb-footer__legal a {
	color: var(--otb-gris);
	font-size: 0.82rem;
	text-decoration: underline;
	text-underline-offset: 0.22em;
	text-decoration-color: var(--otb-filet-clair);
}

.otb-footer__legal a:hover,
.otb-footer__legal a:focus-visible {
	color: var(--otb-blanc);
	text-decoration-color: var(--otb-or);
}

.otb-footer__legal a + a::before {
	content: "\00b7";
	color: var(--otb-or);
	text-decoration: none;
	display: inline-block;
	margin-right: var(--otb-e-s);
}
/* ---------------------------------------------------------------
   Reseaux sociaux — ajoute le 31.08.2026 (compte Instagram du club)
   --------------------------------------------------------------- */

.otb-footer__reseaux {
	margin-top: var(--otb-e-m);
}

.otb-footer__titre--reseaux {
	margin-bottom: var(--otb-e-xs);
}

.otb-reseau {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 16px 9px 12px;
	min-height: 44px;
	border: 1px solid var(--otb-filet);
	border-radius: var(--otb-r-pill);
	background: var(--otb-surface);
	color: var(--otb-blanc);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: border-color var(--otb-vite) var(--otb-courbe),
		color var(--otb-vite) var(--otb-courbe),
		background-color var(--otb-vite) var(--otb-courbe);
}

.otb-reseau:hover,
.otb-reseau:focus-visible {
	border-color: var(--otb-or);
	color: var(--otb-or-clair);
	background: var(--otb-surface-haute);
}

.otb-reseau__icone {
	flex: none;
	width: 22px;
	height: 22px;
	color: var(--otb-or);
}

.otb-reseau:hover .otb-reseau__icone,
.otb-reseau:focus-visible .otb-reseau__icone {
	color: var(--otb-or-clair);
}

.otb-reseau__texte {
	overflow-wrap: anywhere;
}

@media (max-width: 420px) {
	.otb-reseau {
		font-size: 0.92rem;
		padding-right: 13px;
	}
}

/* Pied de page : soutiens + cibles tactiles — 31.08.2026 */
.otb-footer__soutiens {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	font-size: 0.82rem;
	color: var(--otb-gris);
	padding-block: 6px var(--otb-e-s);
}
.otb-footer__soutiens-libelle {
	font-family: var(--otb-titre);
	font-weight: 700;
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--otb-or);
}
.otb-footer__soutiens a,
.otb-footer__soutiens span:not(.otb-footer__soutiens-libelle) {
	color: var(--otb-gris);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
.otb-footer__soutiens a:hover,
.otb-footer__soutiens a:focus-visible { color: var(--otb-blanc); }

.otb-footer__liste a,
.otb-footer__legal a,
.otb-footer__courriel a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
.otb-footer__liste { gap: 0; }
.otb-footer__legal { gap: 0 var(--otb-e-s); margin-top: 0; }

/* Lien vers la source des donnees sportives (02.09.2026). */
.otb-footer__source a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--otb-filet-clair);
	transition: color var(--otb-vite) var(--otb-courbe), text-decoration-color var(--otb-vite) var(--otb-courbe);
}
.otb-footer__source a:hover,
.otb-footer__source a:focus-visible {
	color: var(--otb-blanc);
	text-decoration-color: var(--otb-or);
}
