/* ================================================
   STYLES LISTING PROJETS (PAGES CATEGORIES)
   ================================================ */

/* En-tetes des pages listing */
.all-projects-header,
.category-header {
	text-align: center;
	padding: 120px 20px 60px;
	max-width: 1200px;
	margin: 0 auto;
}

.all-projects-header h1,
.category-header h1 {
	font-size: 3.5rem;
	margin: 0 0 1rem;
	font-family: var(--font-display);
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.all-projects-header .lead,
.category-header .lead {
	font-size: 1.25rem;
	color: var(--muted);
	max-width: 600px;
	margin: 0 auto;
}

/* Sections par categorie */
.category-section {
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px 20px;
}

.category-title {
	font-size: 2rem;
	margin: 0 0 2rem;
	font-family: var(--font-display);
	color: var(--text);
	display: flex;
	align-items: center;
	gap: 12px;
}

.category-icon {
	font-size: 2.5rem;
}

/* Liste des projets */
.projects-section {
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px 20px 80px;
}

.projects-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.project-item {
	background: var(--card);
	border: 1px solid var(--stroke);
	border-radius: var(--radius);
	padding: 32px;
	display: flex;
	gap: 24px;
	align-items: flex-start;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.project-item::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(122, 160, 255, 0.05), rgba(155, 123, 255, 0.05));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.project-item:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: var(--accent);
}

.project-item:hover::before {
	opacity: 1;
}

.project-emoji {
	font-size: 3rem;
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(122, 160, 255, 0.1);
	border-radius: 12px;
	position: relative;
	z-index: 1;
}

.project-image {
	width: 250px;
	height: 180px;
	flex-shrink: 0;
	border-radius: 12px;
	overflow: hidden;
	background: rgba(122, 160, 255, 0.05);
	position: relative;
	z-index: 1;
}

.project-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.project-item:hover .project-image img {
	transform: scale(1.05);
}

.project-details {
	flex: 1;
	position: relative;
	z-index: 1;
}

.project-details h3 {
	font-size: 1.5rem;
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	color: var(--text);
}

.project-details p {
	margin: 0 0 1rem;
	color: var(--muted);
	line-height: 1.6;
}

.project-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 1rem;
	font-size: 0.9rem;
}

.project-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--muted);
}

.project-skills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 1rem;
}

.skill-tag {
	background: rgba(122, 160, 255, 0.15);
	color: var(--accent);
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 500;
}

.project-tools {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 0.9rem;
	color: var(--muted);
	margin-bottom: 1rem;
}

.tool-icon {
	width: 18px;
	height: 18px;
	filter: invert(1);
	opacity: 0.8;
}

.tool-icon-aa {
	display: inline-block;
	width: 18px;
	height: 18px;
	background: #00005B;
	border-radius: 3px;
	position: relative;
	vertical-align: middle;
}

.tool-icon-aa::after {
	content: 'An';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 8px;
	font-weight: bold;
	color: #99F;
}

.project-link-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: white;
	padding: 10px 20px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	margin-top: 0.5rem;
}

.project-link-button:hover {
	transform: translateX(4px);
	box-shadow: 0 8px 24px rgba(122, 160, 255, 0.4);
}

/* Ajustement specifique Communication */
.communication-page .project-item:nth-child(2) .project-image img {
	object-fit: contain;
	object-position: center;
}

@media (max-width: 768px) {
	.all-projects-header h1,
	.category-header h1 {
		font-size: 2.5rem;
	}

	.project-item {
		flex-direction: column;
		padding: 24px;
	}

	.project-emoji {
		width: 60px;
		height: 60px;
		font-size: 2rem;
	}

	.category-title {
		font-size: 1.5rem;
	}
}
