/****************************/
/* TELECHARGEMENT */
/****************************/

.telechargement_cc17 {
	margin: 0;
	padding: 50px 8%;
	background: linear-gradient(to bottom right, #ffffff, #eff4fb);
}

.telechargement_cc17 h1 {
	color: var(--cc17-blue);
	font-size: 3rem;
	margin-bottom: 12px;
	font-weight: 800;
	text-align: center;
}


.titre_telechargement_cc17 {
	font-size: 1rem;
	color: #555;
	max-width: 860px;
	margin: 0 auto 24px auto;
	text-align: center;
}

.grille_telechargements_cc17 {
	display: block;
	max-width: 980px;
	margin: 0 auto;
}

.section_telechargement {
	background: white;
	padding: 18px 18px;
	border-radius: 22px;
	box-shadow: 0 18px 30px rgba(0,0,0,0.07);
}

.section_telechargement h2 {
	color: var(--cc17-blue);
	font-size: 2rem;
	margin-bottom: 20px;
}

.liste_telechargements {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.liste_telechargements li {
	border: 1px solid #e3e9f4;
	border-radius: 18px;
	background: #f8fbff;
	min-height: 60px;
}

.liste_telechargements a {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 10px 16px;
	text-decoration: none;
	color: var(--text-main);
}

.liste_telechargements a:hover {
	background: #eef4ff;
}

.section_telechargement.liste_compacte {
	padding: 24px 24px;
}

.liste_telechargements.liste_compacte {
	gap: 10px;
}

.liste_telechargements.liste_compacte li {
	border-radius: 18px;
}

.fichier_indisponible div {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 10px 16px;
	min-height: 60px;
	background: #fbfcff;
}

.fichier_meta.absent {
	color: #8d97aa;
}

.icone_liste {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	background: white;
	border-radius: 14px;
	box-shadow: inset 0 0 0 1px rgba(0, 61, 133, 0.08);
}

.icone_liste img {
	width: 22px;
	height: 22px;
}

.liste_telechargements a,
.fichier_indisponible div {
	font-size: 0.95rem;
}

.fichier_titre {
	font-size: 1rem;
	font-weight: 700;
}

.fichier_meta {
	font-size: 0.9rem;
	color: #6a7790;
}

.fichier_vide {
	padding: 18px 20px;
	color: #666;
	font-style: italic;
}
.card_telechargement {
	background: white;
	padding: 40px 30px;
	border-radius: 24px;
	box-shadow: 0 20px 45px rgba(0,0,0,0.08);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card_telechargement:hover {
	transform: translateY(-6px);
	box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.icone_telechargement {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 120px;
	margin: 0 auto 25px auto;
	border-radius: 30px;
	background: #f2f7ff;
}

.icone_telechargement img {
	max-width: 70px;
	max-height: 70px;
}

.card_telechargement h3 {
	color: var(--cc17-blue);
	font-size: 1.8rem;
	margin-bottom: 15px;
}

.card_telechargement p {
	color: #555;
	font-size: 1rem;
	line-height: 1.8;
	margin-bottom: 25px;
}

.actions_telechargement {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.btn_download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	border-radius: 999px;
	background: var(--cc17-blue);
	color: white;
	text-decoration: none;
	font-weight: 700;
	transition: transform 0.2s ease, background 0.2s ease;
}

.btn_download:hover {
	transform: translateY(-2px);
	background: #002f6d;
}

.btn_download.secondary {
	background: #f3f5fa;
	color: var(--cc17-blue);
}

.btn_download.secondary:hover {
	background: #e1e7f5;
}

@media all and (max-width: 860px) {
	.telechargement_cc17 {
		padding: 40px 6%;
	}
	.grille_telechargements_cc17 {
		grid-template-columns: 1fr;
	}
}
