/* =========================================================================
 * Bannières (CACC) — affichage front
 * Grille responsive : 3 colonnes (PC) / 2 (tablette) / 1 (mobile)
 * ========================================================================= */

.bcacc-grid{
	display:grid;
	grid-template-columns:repeat(3, 1fr);
	gap:26px;
	width:100%;
	box-sizing:border-box;
}

/* Tablette */
@media (max-width:1024px){
	.bcacc-grid{
		grid-template-columns:repeat(2, 1fr);
		gap:20px;
	}
}

/* Mobile */
@media (max-width:600px){
	.bcacc-grid{
		grid-template-columns:1fr;
		gap:22px;
	}
}

/* ---- Carte ---- */
.bcacc-card{
	display:flex;
	flex-direction:column;
	background:#ffffff;
	border-radius:16px;
	overflow:hidden;
	box-shadow:0 6px 22px rgba(0,0,0,.08);
	border:1px solid rgba(0,0,0,.05);
	text-decoration:none;
	color:inherit;
	transition:transform .25s ease, box-shadow .25s ease;
	height:100%;
}

.bcacc-card--link{cursor:pointer;}

.bcacc-card--link:hover{
	transform:translateY(-6px);
	box-shadow:0 14px 32px rgba(0,0,0,.16);
}

/* ---- Affiche ---- */
.bcacc-card__media{
	width:100%;
	aspect-ratio:3 / 4;          /* format affiche portrait */
	background:#f3f3f6;
	overflow:hidden;
}

.bcacc-card__img{
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
}

.bcacc-card__img--empty{
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:54px;
	background:linear-gradient(135deg,#fde4f0,#f6e9ff);
}

/* ---- Texte ---- */
.bcacc-card__body{
	padding:16px 18px 20px;
	display:flex;
	flex-direction:column;
	gap:8px;
	flex:1;
}

.bcacc-card__title{
	margin:0;
	font-size:17px;
	line-height:1.3;
	font-weight:700;
	color:#1f1f1f;
}

.bcacc-card__desc{
	margin:0;
	font-size:14px;
	line-height:1.5;
	color:#555;
}

.bcacc-card__cta{
	margin-top:auto;
	padding-top:6px;
	font-size:14px;
	font-weight:600;
	color:#e8458b;
}

.bcacc-card--link:hover .bcacc-card__cta{
	text-decoration:underline;
}

/* ---- État vide ---- */
.bcacc-empty{
	text-align:center;
	color:#888;
	font-style:italic;
	padding:30px 0;
}
