/* Ateliers de La Gauthière (ESAT) : composants des pages esat/*.php, qui utilisent le bandeau, le menu et le pied de page du site.
   Charte ARAIMC (violet) avec les couleurs de La Gauthière (rouge #CD0C45). */

.ateliers { max-width: 1000px; margin: 0 auto; padding-bottom: 10px; }
.ateliers .intro { text-align: center; max-width: 760px; margin: 0 auto 28px; line-height: 1.6; color: #4a3a58; }

/* index : cartes des ateliers */
.ateliers .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.ateliers .card {
	background: #fff; border: 1px solid #ecdff5; border-top: 6px solid #CD0C45; border-radius: 12px;
	padding: 26px 22px; text-align: center; box-shadow: 0 1px 6px rgba(83, 19, 120, .12);
	transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; align-items: center;
}
.ateliers .card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(83, 19, 120, .22); }
.ateliers .card h2 { color: #531378; margin: 0 0 14px 0; font-size: 1.3rem; }
.ateliers .card p { line-height: 1.6; margin: 0 0 22px 0; flex: 1; text-align: center; }

/* page d'un atelier */
.ateliers .presentation { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-top: 8px; }
.ateliers .presentation img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 4px 14px rgba(83, 19, 120, .2); }
.ateliers .presentation h2 { color: #531378; margin: 0 0 16px 0; padding-bottom: 8px; border-bottom: 3px solid #CD0C45; display: inline-block; }
.ateliers .presentation p { line-height: 1.7; text-align: left; }
.ateliers h3 { text-align: center; color: #531378; margin: 40px 0 24px; font-size: 1.35rem; }
.ateliers h3::after { content: ""; display: block; width: 60px; height: 4px; background: #CD0C45; border-radius: 2px; margin: 10px auto 0; }
.ateliers .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.ateliers .gallery img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 3px 10px rgba(83, 19, 120, .18); }

/* boutons */
.ateliers .btn, .ateliers .footer a {
	display: inline-block; background: #CD0C45; color: #fff !important; padding: 11px 28px; border-radius: 24px;
	text-decoration: none; font-weight: bold; transition: background .2s;
}
.ateliers .btn:hover, .ateliers .footer a:hover { background: #8f082f; }
.ateliers .footer { text-align: center; margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ateliers .footer a.secondaire { background: #7A4CA3; }
.ateliers .footer a.secondaire:hover { background: #531378; }

@media (max-width: 800px) {
	.ateliers .presentation { grid-template-columns: 1fr; gap: 22px; }
	.ateliers .grid { grid-template-columns: 1fr; }
}