/* ==========================================================================
   Prev'Concept — pages : en-tête des pages intérieures, fiche formation.
   Feuille séparée pendant la recette, à fusionner dans main.css avant la passation.
   ========================================================================== */

/* ==========================================================================
   En-tête des pages intérieures (partial hero-page, réutilisé par le bloc)
   ========================================================================== */
.pc-hero {
	background: var(--pc-dark);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.pc-hero__fond {
	position: absolute;
	inset: 0;
	background: url("images/bandeau-fond.webp") center / cover no-repeat;
	opacity: 0.16;
	pointer-events: none;
}
.pc-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 55% 80% at 85% 20%, rgba(215, 20, 26, 0.22), transparent 70%);
	pointer-events: none;
}
.pc-hero__in {
	position: relative;
	z-index: 1;
	max-width: var(--pc-max);
	margin: 0 auto;
	padding: clamp(40px, 6vw, 80px) var(--pc-pad);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}
.pc-hero__texte { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.pc-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.pc-crumbs li::after { content: " /"; color: var(--pc-on-dark-muted); }
.pc-crumbs a { color: var(--pc-on-dark-muted); }
.pc-crumbs a:hover { color: #fff; }
.pc-eyebrow--trait { color: var(--pc-red-soft); letter-spacing: 0.18em; gap: 12px; }
.pc-eyebrow--trait::before { content: ""; width: 28px; height: 1px; background: var(--pc-gold); }
.pc-site .pc-hero__titre {
	font-family: var(--pc-serif);
	font-weight: 500;
	font-size: clamp(34px, 4.4vw, 56px);
	line-height: 1.06;
	letter-spacing: -0.02em;
	color: #fff;
	margin: 0;
}
.pc-hero .pc-accent { color: var(--pc-red-light); }
.pc-hero__intro { font-size: 18px; line-height: 1.6; color: var(--pc-on-dark); max-width: 600px; margin: 0; }
.pc-hero .pc-actions { padding-top: 6px; }
.pc-hero .pc-btn--lg { padding: 15px 24px; }
.pc-hero__media { position: relative; aspect-ratio: 4 / 3; width: 100%; }
.pc-hero__img,
.pc-hero__media .pc-photo-ph {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--pc-radius-lg);
}
.pc-hero__coin {
	position: absolute;
	right: -10px;
	top: -10px;
	width: 90px;
	height: 90px;
	border-top: 1px solid var(--pc-gold);
	border-right: 1px solid var(--pc-gold);
	border-top-right-radius: 22px;
	pointer-events: none;
}

/* Emplacement photo à fournir (repris de la maquette) */
.pc-photo-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 16px;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.04);
	border: 1px dashed rgba(255, 255, 255, 0.28);
	color: var(--pc-on-dark-muted);
	font-size: 14px;
}

/* Contenu à fournir par le client, visible tel quel */
.pc-a-fournir {
	border: 1px dashed #C9C1B4;
	border-radius: 12px;
	padding: 16px 18px;
	font-size: 14px;
	color: var(--pc-muted);
	background: #FBF9F6;
}

/* ==========================================================================
   Fiche formation
   ========================================================================== */
.pc-fiche {
	max-width: var(--pc-max);
	margin: 0 auto;
	padding: clamp(40px, 5vw, 72px) var(--pc-pad);
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
	gap: clamp(32px, 4vw, 56px);
	align-items: start;
}
.pc-fiche__main { min-width: 0; display: flex; flex-direction: column; }
.pc-fiche__section {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px 0;
	border-bottom: 1px solid var(--pc-line);
}
.pc-fiche__section:first-child { padding-top: 0; }
.pc-fiche__section--faq { border-bottom: 0; }
.pc-site .pc-fiche__h2 {
	font-family: var(--pc-serif);
	font-weight: 500;
	font-size: clamp(24px, 2.3vw, 30px);
	line-height: 1.2;
	color: var(--pc-ink);
	margin: 0;
}
.pc-fiche__section p,
.pc-fiche__wysiwyg { font-size: 16px; line-height: 1.7; color: var(--pc-body); margin: 0; }
.pc-fiche__wysiwyg > * + * { margin-top: 12px; }

.pc-puces { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pc-puces li {
	display: grid;
	grid-template-columns: 14px 1fr;
	gap: 14px;
	align-items: baseline;
	font-size: 16px;
	line-height: 1.6;
	color: var(--pc-grey);
}
.pc-puces li::before {
	content: "";
	width: 7px;
	height: 7px;
	background: var(--pc-red);
	transform: rotate(45deg);
	position: relative;
	top: -2px;
}
.pc-puces strong { font-weight: 650; color: var(--pc-ink); }

/* FAQ (details natif : ouvrable sans JavaScript) */
.pc-faq { display: flex; flex-direction: column; border-top: 1px solid var(--pc-line); }
.pc-faq__item { border-bottom: 1px solid var(--pc-line); }
.pc-faq__q {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	font-size: 17px;
	font-weight: 600;
	color: var(--pc-ink);
}
.pc-faq__q::-webkit-details-marker { display: none; }
.pc-faq__signe { position: relative; flex: none; width: 16px; height: 16px; margin-top: 4px; }
.pc-faq__signe::before,
.pc-faq__signe::after {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 16px;
	height: 2px;
	background: var(--pc-red);
	transition: transform 0.15s ease;
}
.pc-faq__signe::after { transform: rotate(90deg); }
.pc-faq__item[open] .pc-faq__signe::after { transform: rotate(0deg); }
.pc-faq__r { font-size: 16px; line-height: 1.7; color: var(--pc-grey); padding: 0 0 20px; margin: 0; }

/* Formations liées */
.pc-fiche__liees { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; }
.pc-liees { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.pc-liees__item {
	background: #fff;
	border: 1px solid var(--pc-line);
	border-radius: 12px;
	padding: 20px;
	font-size: 16px;
	font-weight: 600;
	color: var(--pc-ink);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.pc-liees__item .pc-arrow { color: var(--pc-red); flex: none; }
.pc-liees__item:hover { border-color: var(--pc-red); color: var(--pc-red); }

.pc-fiche__note { padding-top: 16px; font-size: 13px; line-height: 1.6; color: var(--pc-muted); display: flex; flex-direction: column; gap: 6px; }
.pc-fiche__note p { margin: 0; }

/* Colonne « En pratique » */
.pc-fiche__aside {
	position: sticky;
	top: calc(var(--pc-header-h) + 22px);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.admin-bar .pc-fiche__aside { top: calc(var(--pc-header-h) + 54px); }
.pc-encart {
	background: var(--pc-dark);
	color: #fff;
	border-radius: 16px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	border-top: 2px solid var(--pc-gold);
}
.pc-encart__titre {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--pc-red-soft);
	padding-bottom: 12px;
}
.pc-encart__ligne {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.pc-encart__k { font-size: 12px; color: var(--pc-on-dark-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.pc-encart__v { font-size: 15px; line-height: 1.5; }
body.pc-site .pc-encart__btn { margin-top: 18px; white-space: normal; }

.pc-interlocuteur {
	background: #fff;
	border: 1px solid var(--pc-line);
	border-radius: 16px;
	padding: 20px;
	display: flex;
	gap: 16px;
	align-items: center;
}
.pc-interlocuteur__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.pc-interlocuteur__txt { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.45; }
.pc-interlocuteur__txt a { color: var(--pc-red); font-weight: 600; }
.pc-interlocuteur__txt span { color: #5E5E5E; }

@media (max-width: 960px) {
	.pc-fiche { grid-template-columns: 1fr; }
	.pc-fiche__aside { position: static; }
}

/* Bouton sombre (partagé par plusieurs blocs : témoignages, formations, carte du contact) */
body.pc-site .pc-btn--noir,
body.pc-site .pc-btn--noir:visited { background: var(--pc-ink); color: #fff; }
body.pc-site .pc-btn--noir:hover,
body.pc-site .pc-btn--noir:focus-visible { background: var(--pc-red); color: #fff; }
