/**
 * ===================================================================
 * Projets tiers - section ajoutée (n'altère pas main.css)
 * Reprend la charte du template : fond blanc (#about), gris #ebebeb
 * (.grey-section), texte #313131 / #888888, accent #FF0077.
 * ===================================================================
 */
#projects {
	background: #FFFFFF;
	padding-top: 12rem;
	padding-bottom: 12rem;
}
#projects .section-intro {
	margin-bottom: 4.8rem;
}

.projects-list {
	max-width: 1200px;
	display: flex;
	flex-wrap: wrap;
}
.projects-list .project {
	display: flex;
	margin-bottom: 3rem;
}
.project-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 3.6rem 3rem 3rem;
	background: #FFFFFF;
	border: 1px solid #ebebeb;
	text-align: left;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.project-card:hover {
	border-color: #d8d8d8;
	box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.06);
	transform: translateY(-4px);
}

/* pastille d'icône identique à celles de la timeline (#resume .timeline-ico) */
.project-card .project-icon {
	height: 4.8rem;
	width: 4.8rem;
	line-height: 4.8rem;
	background: #313131;
	border-radius: 50%;
	text-align: center;
	color: #FFFFFF;
	margin-bottom: 2.4rem;
	-moz-transition: background 0.3s ease-in-out;
	-o-transition: background 0.3s ease-in-out;
	-webkit-transition: background 0.3s ease-in-out;
	-ms-transition: background 0.3s ease-in-out;
	transition: background 0.3s ease-in-out;
}
.project-card:hover .project-icon {
	background: #FF0077;
}

/* titre souligné comme les h4 de la timeline */
.project-card h3 {
	margin-top: 0;
	margin-bottom: .6rem;
}
.project-card .project-tagline {
	font-family: "poppins-regular", sans-serif;
	font-size: 1.5rem;
	color: #888888;
	position: relative;
	padding-bottom: 1.8rem;
	margin-bottom: 2.4rem;
}
.project-card .project-tagline::after {
	content: "";
	display: block;
	height: 3px;
	width: 50px;
	background: rgba(0, 0, 0, 0.2);
	position: absolute;
	left: 0;
	bottom: 0;
}
.project-card .project-desc {
	flex-grow: 1;
}

.project-card .project-tags {
	list-style: none;
	margin: 0 0 2.4rem;
	padding: 0;
}
.project-card .project-tags li {
	display: inline-block;
	margin: 0 .6rem .6rem 0;
	padding: 0 1.2rem;
	font-family: "poppins-regular", sans-serif;
	font-size: 1.3rem;
	line-height: 2.8rem;
	color: #313131;
	background: #ebebeb;
}
.project-card .project-link {
	align-self: flex-start;
	margin: 0;
}

@media only screen and (max-width: 1024px) {
	.project-card {
		padding: 3rem 2.4rem 2.4rem;
	}
}
@media only screen and (max-width: 768px) {
	#projects {
		padding-top: 9rem;
		padding-bottom: 9rem;
	}
}


/**
 * ===================================================================
 * Parcours - sous-titres Expériences / Formations et postes successifs
 * au sein d'une même entreprise (bloc Prorexem).
 * ===================================================================
 */
#resume .resume-header h3 {
	color: #FF0077;
	font-size: 2.4rem;
	line-height: 1.25;
	margin-bottom: 2.1rem;
}
#resume .timeline-role + .timeline-role {
	margin-top: 1.2rem;
}
#resume .timeline-content .timeline-role-date {
	font-family: "poppins-regular", sans-serif;
	font-size: 1.5rem;
	color: #888888;
	margin-bottom: 1.2rem;
}

@media only screen and (max-width:480px) {
	#resume .resume-header h3 {
		font-size: 2.2rem;
	}
}


/**
 * ===================================================================
 * À propos - photo centrée verticalement sur le paragraphe d'intro
 * (au-delà de 600px ; en dessous, le template empile déjà photo et texte).
 * ===================================================================
 */
@media only screen and (min-width:601px) {
	.intro-info {
		display: flex;
		align-items: center;
		margin-bottom: 3rem;
	}
	.intro-info img {
		float: none;
		flex-shrink: 0;
		margin: 0;
	}
	.intro-info .lead {
		padding-left: 2.4rem;
		margin-bottom: 0;
	}
}
