.projet-page { padding-top: 40px; padding-bottom: 90px; }

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-bottom: 22px;
}
.back-link:hover { color: var(--accent); }

.projet-header .card-type-row {
	display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px;
}
.projet-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.projet-resume { color: var(--accent); font-family: var(--font-mono); font-size: 0.95rem; margin-bottom: 30px; }

.projet-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
	margin-bottom: 40px;
}

.fact {
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	padding: 16px 18px;
	background: var(--surface);
}
.fact-label {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	color: var(--text-faint);
	text-transform: none;
	margin-bottom: 6px;
}
.fact-value { font-size: 0.98rem; }

.projet-descr {
	max-width: 74ch;
	color: var(--text-muted);
	margin-bottom: 48px;
}
.projet-descr p { max-width: none; }

.projet-tech-list {
	display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 50px;
}
.projet-tech-list span {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	border: 1px solid var(--line);
	padding: 5px 11px;
	border-radius: 999px;
	color: var(--text-muted);
}

.media-section h2 { font-size: 1.3rem; margin-bottom: 18px; }

.media-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 18px;
}

.media-item {
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	overflow: hidden;
	background: var(--surface);
}

.media-item img, .media-item video {
	width: 100%;
	height: 170px;
	object-fit: cover;
	background: var(--bg-alt);
}

.media-item .media-doc {
	height: 170px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-mono);
	font-size: 2rem;
	color: var(--text-faint);
	background: var(--bg-alt);
}

.media-caption {
	padding: 10px 14px;
	font-size: 0.82rem;
	color: var(--text-muted);
}
.media-caption a { color: var(--accent); }
