/* WS Footer - styles du footer public. Les couleurs arrivent en variables (--wsf-bg, --wsf-text, --wsf-accent). */

.wsf-footer {
	--wsf-gap: clamp(24px, 4vw, 48px);
	background: var(--wsf-bg);
	color: var(--wsf-text);
	font-size: 15px;
	line-height: 1.6;
	clear: both;
}

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

.wsf-footer p,
.wsf-footer ul,
.wsf-footer address {
	margin: 0;
	padding: 0;
}

.wsf-footer address {
	font-style: normal;
}

.wsf-footer a {
	color: inherit;
	text-decoration: none;
	transition: color .15s ease;
}

.wsf-footer a:hover,
.wsf-footer a:focus-visible {
	color: var(--wsf-accent);
}

.wsf-footer a:focus-visible {
	outline: 2px solid var(--wsf-accent);
	outline-offset: 2px;
}

.wsf-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: var(--wsf-gap) 20px;
}

/* Identite */
.wsf-brand__logo img {
	display: block;
	max-height: 64px;
	width: auto;
	height: auto;
}

.wsf-brand__name {
	font-size: 1.25em;
	font-weight: 700;
}

.wsf-brand__baseline {
	margin-top: 8px;
	opacity: .8;
}

.wsf-title {
	margin-bottom: 12px;
	font-size: .8em;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wsf-accent);
}

/* Menus */
.wsf-menu,
.wsf-legal-menu {
	list-style: none;
}

.wsf-menu li + li {
	margin-top: 6px;
}

/* Contact */
.wsf-contact {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* Reseaux */
.wsf-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
	list-style: none;
}

.wsf-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid currentColor;
	border-radius: 50%;
}

.wsf-icon {
	display: block;
}

/* Barre du bas */
.wsf-bottom {
	border-top: 1px solid color-mix(in srgb, var(--wsf-text) 20%, transparent);
	font-size: .85em;
}

.wsf-bottom__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding-top: 18px;
	padding-bottom: 18px;
}

.wsf-legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
}

/* Modele Colonnes */
.wsf-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--wsf-gap);
}

/* Modele Centre */
.wsf-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}

.wsf-stack .wsf-brand__logo img {
	margin: 0 auto;
}

.wsf-stack .wsf-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
}

.wsf-stack .wsf-menu li + li,
.wsf-band .wsf-menu li + li {
	margin-top: 0;
}

.wsf-stack .wsf-socials {
	justify-content: center;
	margin-top: 0;
}

.wsf-footer--centre .wsf-bottom__inner {
	justify-content: center;
	text-align: center;
}

/* Modele Bandeau */
.wsf-band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
	padding-top: 28px;
	padding-bottom: 28px;
}

.wsf-band .wsf-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.wsf-band .wsf-socials {
	margin-top: 0;
}

@media (max-width: 700px) {
	.wsf-band,
	.wsf-bottom__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wsf-footer a {
		transition: none;
	}
}
