/* =========================================================
   SPHERCRAFT — FOOTER GLOBAL
   ========================================================= */


/* =========================================================
   FOOTER
   ========================================================= */

.sc-footer {
	position: relative;

	width: 100%;

	padding: 72px 0 34px;

	overflow: hidden;

	border-top: 1px solid rgba(255, 255, 255, 0.08);

	background:
		radial-gradient(
			circle at 8% 20%,
			rgba(108, 60, 255, 0.13),
			transparent 28%
		),
		radial-gradient(
			circle at 92% 80%,
			rgba(233, 79, 216, 0.09),
			transparent 30%
		),
		var(--sc-bg);
}


/* Petite ligne lumineuse supérieure */
.sc-footer::before {
	content: "";

	position: absolute;
	top: -1px;
	left: 50%;

	width: min(520px, 60%);
	height: 1px;

	background: var(--sc-gradient);

	opacity: 0.55;

	transform: translateX(-50%);

	box-shadow:
		0 0 28px rgba(108, 60, 255, 0.30),
		0 0 40px rgba(233, 79, 216, 0.16);
}


/* =========================================================
   STRUCTURE
   ========================================================= */

.sc-footer__inner {
	display: grid;

	grid-template-columns:
		minmax(220px, 1fr)
		auto
		auto;

	align-items: center;

	gap: 48px;
}


/* =========================================================
   IDENTITÉ SPHERCRAFT
   ========================================================= */

.sc-footer__brand {
	display: flex;
	align-items: center;

	gap: 18px;
}

.sc-footer__logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	flex-shrink: 0;

	text-decoration: none;
}

.sc-footer__logo {
	display: block;

	width: 58px;
	height: 58px;

	object-fit: contain;

	transition:
		transform 0.3s ease,
		filter 0.3s ease;
}

.sc-footer__logo-link:hover .sc-footer__logo {
	transform: scale(1.05);

	filter:
		drop-shadow(
			0 0 20px rgba(233, 79, 216, 0.22)
		);
}

.sc-footer__tagline {
	margin: 0;

	color: var(--sc-muted);

	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.sc-footer__nav {
	display: flex;
	align-items: center;
}

.sc-footer__menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;

	gap: 8px;

	margin: 0;
	padding: 0;

	list-style: none;
}

.sc-footer__menu li {
	margin: 0;
	padding: 0;

	list-style: none;
}

.sc-footer__menu a {
	position: relative;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 40px;

	padding: 0 14px;

	border-radius: 999px;

	color: var(--sc-muted);

	font-size: 14px;
	font-weight: 500;
	line-height: 1;

	text-decoration: none;

	transition:
		color 0.25s ease,
		background-color 0.25s ease;
}

.sc-footer__menu a:hover {
	color: var(--sc-white);

	background: rgba(255, 255, 255, 0.05);
}

.sc-footer__menu .current-menu-item > a,
.sc-footer__menu .current_page_item > a {
	color: var(--sc-white);
}


/* =========================================================
   COPYRIGHT
   ========================================================= */

.sc-footer__copyright {
	text-align: right;
}

.sc-footer__copyright p {
	margin: 0;

	color: rgba(232, 236, 243, 0.58);

	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
}


/* =========================================================
   ACCESSIBILITÉ
   ========================================================= */

.sc-footer a:focus-visible {
	outline: 2px solid var(--sc-magenta);
	outline-offset: 4px;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1024px) {

	.sc-footer {
		padding-top: 58px;
	}

	.sc-footer__inner {
		grid-template-columns: 1fr auto;

		gap: 34px;
	}

	.sc-footer__copyright {
		grid-column: 1 / -1;

		padding-top: 24px;

		border-top: 1px solid rgba(255, 255, 255, 0.08);

		text-align: left;
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.sc-footer {
		padding:
			48px 0
			28px;
	}

	.sc-footer__inner {
		display: flex;
		flex-direction: column;
		align-items: flex-start;

		gap: 28px;
	}

	.sc-footer__brand {
		align-items: center;
	}

	.sc-footer__logo {
		width: 54px;
		height: 54px;
	}

	.sc-footer__nav {
		width: 100%;
	}

	.sc-footer__menu {
		width: 100%;

		flex-direction: column;
		align-items: stretch;

		gap: 4px;
	}

	.sc-footer__menu li {
		width: 100%;
	}

	.sc-footer__menu a {
		width: 100%;

		min-height: 44px;

		justify-content: flex-start;

		padding: 0 14px;

		border-radius: 12px;
	}

	.sc-footer__copyright {
		width: 100%;

		padding-top: 22px;

		border-top: 1px solid rgba(255, 255, 255, 0.08);

		text-align: left;
	}
}


/* =========================================================
   PETITS MOBILES
   ========================================================= */

@media (max-width: 420px) {

	.sc-footer__brand {
		align-items: flex-start;
		flex-direction: column;

		gap: 12px;
	}

	.sc-footer__tagline {
		font-size: 14px;
	}

	.sc-footer__copyright p {
		font-size: 12px;
	}
}


/* =========================================================
   RÉDUCTION DES ANIMATIONS
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	.sc-footer *,
	.sc-footer *::before,
	.sc-footer *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}