/*
 * parcours.css — mise en page du CV de Sonia façon « document » à deux colonnes
 * (page-parcours.php), retranscrit en HTML sémantique pour le SEO et l'accessibilité
 * (cahier des charges §5). La colonne « Contact » de la maquette est volontairement
 * omise du gabarit PHP : aucune règle ici ne la concerne.
 */

.cv {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 5vw, 3rem);
	align-items: start;
}

@media (min-width: 900px) {
	.cv {
		grid-template-columns: 300px 1fr;
	}
}

/* -------------------------------------------------------------------------
 * Colonne gauche : identité, projets, singularité.
 * ---------------------------------------------------------------------- */

.cv__identite {
	background: var(--stb-gray-light);
	border-radius: var(--stb-radius-lg);
	padding: 1.75rem;
}

.cv__photo-cadre {
	position: relative;
	width: 100%;
	max-width: 220px;
	aspect-ratio: 1;
	margin: 0 auto 1.25rem;
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid var(--stb-white);
	box-shadow: 0 0 0 2px var(--stb-navy);
}

.cv__photo-cadre img,
.cv__photo-cadre .cv__photo--vide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cv__photo--vide {
	/* TODO: remplacer par la photo définitive de Sonia une fois livrée. */
	background: linear-gradient(140deg, #c7cbe0 0%, #e7e9f2 100%);
}

.cv__nom {
	text-align: center;
	color: var(--stb-navy);
	font-size: 1.4rem;
	margin-bottom: 0.2em;
}

.cv__titre-pro {
	text-align: center;
	font-weight: 600;
	color: var(--stb-navy-text);
	margin-bottom: 1rem;
}

.cv__mentions-legales {
	text-align: center;
	font-size: 0.85rem;
	color: var(--stb-navy-text);
	margin-bottom: 1.5rem;
}

.cv__mentions-legales p {
	margin: 0;
}

.cv__telecharger {
	display: flex;
	justify-content: center;
	margin-bottom: 1.75rem;
}

.cv__bloc {
	margin-bottom: 1.75rem;
}

.cv__bloc:last-child {
	margin-bottom: 0;
}

.cv__bloc-titre {
	display: flex;
	align-items: center;
	gap: 0.6em;
	color: var(--stb-navy-text);
	font-size: 1.1rem;
	margin-bottom: 0.6em;
	padding-bottom: 0.5em;
	border-bottom: 2px solid rgba(var(--stb-navy-rgb), 0.25);
}

.cv__bloc-icone {
	flex: none;
	width: 1.3em;
	height: 1.3em;
	color: var(--stb-navy-text);
}

.cv__bloc p {
	margin: 0 0 0.75em;
}

.cv__bloc ul {
	list-style: disc;
	padding-left: 1.2em;
}

.cv__bloc li {
	margin-bottom: 0.4em;
}

/* -------------------------------------------------------------------------
 * Colonne droite : formations (timeline), expériences, compétences, valeurs.
 * ---------------------------------------------------------------------- */

.cv__timeline {
	list-style: none;
	position: relative;
	padding-left: 1.6em;
	margin-bottom: 1.25rem;
}

.cv__timeline::before {
	content: '';
	position: absolute;
	left: 0.28em;
	top: 0.4em;
	bottom: 0.4em;
	width: 2px;
	background: rgba(var(--stb-navy-rgb), 0.35);
}

.cv__timeline-item {
	position: relative;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1.1em;
}

.cv__timeline-item::before {
	content: '';
	position: absolute;
	left: -1.6em;
	top: 0.35em;
	width: 0.6em;
	height: 0.6em;
	border-radius: 50%;
	background: var(--stb-navy);
}

.cv__timeline-intitule {
	font-weight: 600;
	color: var(--stb-navy-text);
}

.cv__timeline-annee {
	flex: none;
	color: var(--stb-navy-text);
	opacity: 0.75;
}

.cv__autres-formations {
	color: var(--stb-navy-text);
}

.cv__autres-formations p {
	margin-bottom: 0.4em;
}

.cv__experience {
	margin-bottom: 1.5rem;
}

.cv__experience:last-child {
	margin-bottom: 0;
}

.cv__experience-titre {
	display: flex;
	align-items: baseline;
	gap: 0.5em;
	font-weight: 700;
	color: var(--stb-navy);
	margin-bottom: 0.3em;
}

.cv__experience-titre::before {
	content: '';
	width: 0.6em;
	height: 0.6em;
	border-radius: 50%;
	background: var(--stb-navy);
	flex: none;
}

.cv__experience-contexte {
	color: var(--stb-navy-text);
	font-style: italic;
	margin-bottom: 0.5em;
}

.cv__valeurs-grille {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 560px) {
	.cv__valeurs-grille {
		grid-template-columns: 1fr 1fr;
	}
}

.cv__valeurs-grille h4 {
	color: var(--stb-navy);
	margin-bottom: 0.4em;
}

.cv__valeurs-grille p {
	color: var(--stb-navy-text);
	margin-bottom: 0.6em;
}
