.site-footer {
	background: var(--lookly-purple-dark);
	color: var(--lookly-white);
}

.site-footer__inner {
	display: grid;
	grid-template-columns:
		minmax(280px, 1.4fr)
		minmax(240px, 1fr)
		minmax(150px, 0.6fr);
	gap: clamp(48px, 7vw, 100px);
	width: min(100% - 64px, var(--lookly-container));
	padding: 68px 0 56px;
	margin-inline: auto;
}

/* Logo et présentation */

.site-footer__branding {
	max-width: 370px;
}

.site-footer__logo-link {
	display: inline-flex;
	align-items: center;
	margin-bottom: 24px;
}

.site-footer__logo-image {
	display: block;
	width: 165px;
	max-width: 100%;
	height: auto;
}

.site-footer__name {
	display: inline-block;
	margin-bottom: 24px;
	color: var(--lookly-white);
	font-size: 28px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}

.site-footer__description {
	max-width: 360px;
	margin: 0;
	color: rgb(255 255 255 / 82%);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
}

/* Colonnes de navigation */

.site-footer__column {
	min-width: 0;
}

.site-footer__links {
	display: grid;
	gap: 8px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-footer__links li {
	padding: 0;
	margin: 0;
}

/*
 * Premier élément de chaque liste :
 * remplace les anciens H2 "Nos métiers" et "À propos".
 */
.site-footer__links-heading {
	margin-bottom: 16px;
}

.site-footer__links-heading > a {
	color: var(--lookly-white);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.site-footer__links a {
	display: inline-block;
	color: rgb(255 255 255 / 84%);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	text-decoration: none;
	transition:
		color 160ms ease,
		transform 160ms ease;
}

/*
 * On remet la graisse du lien de tête après la règle générale
 * des liens du footer.
 */
.site-footer__links .site-footer__links-heading > a {
	color: var(--lookly-white);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
	color: var(--lookly-white);
	text-decoration: underline;
	text-underline-offset: 4px;
	transform: translateX(3px);
}

/* Partie inférieure */

.site-footer__bottom {
	width: min(100% - 64px, var(--lookly-container));
	padding: 22px 0 26px;
	margin-inline: auto;
	border-top: 1px solid rgb(255 255 255 / 22%);
}

.site-footer__copyright {
	margin: 0;
	color: rgb(255 255 255 / 70%);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
}

/* Tablette */

@media (max-width: 960px) {
	.site-footer__inner {
		grid-template-columns:
			minmax(230px, 1.2fr)
			minmax(210px, 1fr)
			minmax(130px, 0.6fr);
		gap: 40px;
		width: min(100% - 48px, var(--lookly-container));
	}

	.site-footer__bottom {
		width: min(100% - 48px, var(--lookly-container));
	}
}

/* Mobile */

@media (max-width: 768px) {
	.site-footer__inner {
		grid-template-columns: 1fr;
		gap: 0;
		width: min(100% - 40px, var(--lookly-container));
		padding: 48px 0 34px;
	}

	.site-footer__branding {
		max-width: none;
		padding-bottom: 34px;
	}

	.site-footer__logo {
		margin-bottom: 20px;
	}

	.site-footer__logo-image {
		width: 145px;
	}

	.site-footer__description {
		max-width: 420px;
		font-size: 15px;
	}

	.site-footer__column {
		padding: 28px 0;
		border-top: 1px solid rgb(255 255 255 / 20%);
	}

	.site-footer__links {
		gap: 13px;
	}

	.site-footer__links-heading {
		margin-bottom: 5px;
	}

	.site-footer__links .site-footer__links-heading > a {
		font-size: 17px;
	}

	.site-footer__links a {
		font-size: 15px;
	}

	.site-footer__bottom {
		width: min(100% - 40px, var(--lookly-container));
		padding: 22px 0 calc(24px + env(safe-area-inset-bottom));
	}
}

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