/* Accueil vivant (inc/accueil.php). Charte : DA-Oxydz/DA-OXYDZ.md (Poppins, encre
   #23272b, gris #6b7177, rouge #e01b1b pour guider l'oeil). */

.oxz-acc {
	max-width: 1140px;
	margin: 0 auto;
	padding: 50px 15px 60px;
	color: #23272b;
	font-family: Poppins, sans-serif;
	text-align: center;
}

.oxz-acc h2 {
	margin: 0 0 26px;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 700;
	line-height: 1.2;
	color: #23272b;
}

.oxz-acc-surtitre,
.oxz-acc-etiquette {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #e01b1b;
}

.oxz-acc-grille {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.oxz-acc-grille a {
	display: block;
	color: #23272b !important;
	text-decoration: none;
}

.oxz-acc-image {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	border-radius: 4px;
	background: #23272b;
}

.oxz-acc-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s;
}

.oxz-acc-grille a:hover img,
.oxz-acc-grille a:focus img {
	transform: scale(1.04);
}

.oxz-acc-new {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 3px 8px;
	border-radius: 3px;
	background: #e01b1b;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.oxz-acc-titre {
	display: block;
	margin-top: 10px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.oxz-acc-bpm {
	display: block;
	font-size: 14px;
	color: #6b7177;
}

.oxz-acc-tout {
	margin: 28px 0 0;
}

.oxz-acc .oxz-acc-bouton,
.oxz-acc .oxz-acc-bouton:visited {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 4px;
	background: #e01b1b !important;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
}

.oxz-acc .oxz-acc-bouton:hover,
.oxz-acc .oxz-acc-bouton:focus,
.oxz-acc .oxz-acc-bouton:active {
	background: #23272b !important;
	color: #fff !important;
}

.oxz-acc-cartes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 50px;
	text-align: left;
}

.oxz-acc-carte,
.oxz-acc-carte:visited {
	display: block;
	padding: 22px 24px;
	border: 1px solid #e3e5e7;
	border-left: 4px solid #e01b1b;
	border-radius: 4px;
	background: #fff;
	color: #23272b !important;
	text-decoration: none;
}

.oxz-acc-carte:hover,
.oxz-acc-carte:focus {
	border-color: #23272b;
	border-left-color: #e01b1b;
	color: #23272b !important;
}

.oxz-acc-carte-titre {
	display: block;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
}

.oxz-acc-carte-info {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	color: #6b7177;
}

@media (max-width: 767px) {
	.oxz-acc-grille {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}

	.oxz-acc-cartes {
		grid-template-columns: 1fr;
		margin-top: 36px;
	}
}
