.grille-quatre a,
.decale a,
.bandes a,
.grille-quatre a:hover,
.decale a:hover,
.bandes a:hover {
	text-decoration: none;
}

.legende {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--trait);
	position: relative;
}

.legende::after {
	content: '';
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: 1px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .6s cubic-bezier(.19,1,.22,1);
}

article:hover .legende::after { transform: scaleX(1); }

.legende h3 {
	font-size: clamp(1.15rem, 1.8vw, 1.5rem);
	transition: transform .5s cubic-bezier(.19,1,.22,1), color .4s ease;
}

article:hover .legende h3 { transform: translateX(7px); color: var(--accent); }

.legende span {
	font-size: .68rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gris);
	white-space: nowrap;
}

.visuel {
	overflow: hidden;
	background: #e6e4e0;
	border-radius: var(--rayon-serie, 0);
}

.visuel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 1.1s cubic-bezier(.19,1,.22,1);
}

article:hover .visuel img { transform: scale(1.04); }

.grille-quatre {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(26px, 3.4vw, 54px);
	padding-bottom: clamp(40px, 5vw, 70px);
}

.grille-quatre .visuel { aspect-ratio: 3 / 4; }

.decale {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(30px, 4vw, 64px) clamp(34px, 5vw, 88px);
	padding-bottom: clamp(40px, 5vw, 70px);
}

.decale article:nth-child(even) { margin-top: clamp(30px, 6vw, 96px); }
.decale .visuel { aspect-ratio: 5 / 4; }
.decale article:nth-child(4n+1) .visuel,
.decale article:nth-child(4n+4) .visuel { aspect-ratio: 4 / 5; }

.bandes { padding-bottom: clamp(40px, 5vw, 70px); }

.bande {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.6fr);
	gap: clamp(20px, 3vw, 50px);
	align-items: center;
	padding: clamp(18px, 2.4vw, 30px) 0;
	border-bottom: 1px solid var(--trait);
}

.bande:first-child { border-top: 1px solid var(--trait); }

.bande .rang {
	font-family: var(--titre);
	font-size: 1.12rem;
	color: var(--gris);
	transition: color .4s ease;
}

.bande:hover .rang { color: var(--accent); }

.bande h3 {
	font-size: clamp(1.2rem, 2.08vw, 1.76rem);
	transition: transform .5s cubic-bezier(.19,1,.22,1);
}

.bande:hover h3 { transform: translateX(9px); }

.bande .texte small {
	display: block;
	font-size: .68rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gris);
	margin-top: 8px;
}

.bande .visuel {
	aspect-ratio: 16 / 7;
	opacity: .82;
	transition: opacity .5s ease;
}

.bande:hover .visuel { opacity: 1; }

@media (max-width: 1099px) {
	.grille-quatre { grid-template-columns: repeat(2, 1fr); }
	.bande { grid-template-columns: 50px minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 599px) {
	.bande {
		grid-template-columns: minmax(0, 1fr) 96px;
		gap: 18px;
		align-items: center;
	}

	.bande .rang { display: none; }
	.bande .visuel { aspect-ratio: 1 / 1; }
	.bande:hover h3 { transform: none; }
}

@media (max-width: 599px) {
	.grille-quatre, .decale { grid-template-columns: 1fr; }
	.decale article:nth-child(even) { margin-top: 0; }
}


.site-main > .section-courte:first-child { padding-bottom: clamp(30px, 3.6vw, 50px); }


@media (max-width: 767px) {
	.grille-quatre article a,
	.decale article a {
		display: flex;
		flex-direction: column;
	}

	.grille-quatre .legende,
	.decale .legende {
		order: -1;
		margin-top: 0;
		margin-bottom: 14px;
		padding-top: 0;
		padding-bottom: 12px;
		border-top: 0;
		border-bottom: 1px solid var(--trait);
	}

	.grille-quatre .legende::after,
	.decale .legende::after {
		top: auto;
		bottom: -1px;
	}
}


.grille-quatre a:focus-visible,
.decale a:focus-visible,
.bande:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}


.grille-quatre[data-nombre="1"] { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin: 0 auto; }
.grille-quatre[data-nombre="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin: 0 auto; }
.grille-quatre[data-nombre="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille-quatre[data-nombre="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grille-quatre[data-nombre="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.decale[data-nombre="1"] { max-width: 620px; margin: 0 auto; }
.decale[data-nombre="1"] article { margin-top: 0; }

@media (max-width: 1099px) {
	.grille-quatre[data-nombre="5"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
	.grille-quatre[data-nombre="3"],
	.grille-quatre[data-nombre="5"],
	.grille-quatre[data-nombre="6"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 599px) {
	.grille-quatre[data-nombre="1"],
	.grille-quatre[data-nombre="2"],
	.grille-quatre[data-nombre="3"],
	.grille-quatre[data-nombre="5"],
	.grille-quatre[data-nombre="6"] { grid-template-columns: minmax(0, 1fr); max-width: none; }
}
