/**
 * Bandeau au-dessus du header et gabarit « Campagne de recrutement ».
 *
 * Mêmes jetons que la fiche d'offre (assets/front.css), relevés sur le site
 * le 11/09/2026 : Bauhaus Std Medium 300 et bleu #157dbc pour les titres,
 * Roboto pour le corps, marine pour les bandes, rouge du logo pour l'action.
 * La flèche du « o » de partego sert de marqueur, comme sur les offres.
 */

@font-face {
	font-family: "Bauhaus Std Medium";
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url("/wp-content/uploads/2019/07/Bauhaus-Std-Medium-1.otf") format("opentype"),
	     url("/wp-content/uploads/2019/07/Bauhaus-Std-Medium.otf") format("opentype");
}

.partego-bandeau,
.partego-campagne {
	--pt-bleu: #157dbc;
	--pt-marine: #0d3a5c;
	--pt-profond: #0a2c46;
	--pt-rouge: #e32523;
	--pt-encre: #333;
	--pt-filet: rgba(13, 58, 92, .14);
	--pt-titres: "Bauhaus Std Medium", "Century Gothic", sans-serif;
	--pt-corps: "Roboto", -apple-system, "Segoe UI", sans-serif;
	--pt-titres-graisse: 300;
}

/* Bandeau --------------------------------------------------------------
   Une ligne sur ordinateur, tout le bandeau cliquable. Il défile avec la
   page : le header du site, lui, reste collé en haut. */

.partego-bandeau {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 16px;
	padding: 9px 16px;
	font-family: var(--pt-corps);
	font-size: 15px;
	line-height: 1.4;
	text-align: center;
	color: #fff;
	background: var(--pt-marine);
	text-decoration: none;
	transition: background .18s ease;
}

a.partego-bandeau:hover,
a.partego-bandeau:focus-visible {
	color: #fff;
	background: var(--pt-profond);
}

.partego-bandeau__lien {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}

.partego-bandeau__fleche {
	width: 16px;
	height: 16px;
	color: var(--pt-rouge);
	background: #fff;
	border-radius: 50%;
	padding: 2px;
	box-sizing: content-box;
	transition: transform .18s ease;
}

a.partego-bandeau:hover .partego-bandeau__fleche {
	transform: translateX(3px);
}

/* Page ------------------------------------------------------------------ */

/* `body main.site-main.partego-campagne` : le thème Hello pose sa marge sur
   `body:not([class*=elementor-page-]) .site-main` (10 px mesurés sur mobile le
   13/10/2026), plus fort qu'une simple classe. */
body main.site-main.partego-campagne {
	/* Calé sur le logo du header : conteneur Elementor de 1140 px à x=113,
	   logo à x=121 (mesuré à 1366 px le 13/10/2026). 1180 - 2 x 28 = 1124. */
	max-width: 1180px;
	margin: 0 auto;
	padding: 56px 28px 72px;
	box-sizing: border-box;
	font-family: var(--pt-corps);
	font-size: 16px;
	line-height: 1.7;
	color: var(--pt-encre);
}

.partego-campagne p {
	margin: 0 0 14px;
}

.partego-campagne__tete {
	padding-bottom: 40px;
}

.partego-campagne__titre {
	max-width: 24ch;
	margin: 0 0 24px;
	font-family: var(--pt-titres);
	font-weight: var(--pt-titres-graisse);
	font-size: 35px;
	line-height: 1.2;
	color: var(--pt-bleu);
}

.partego-campagne__intro {
	max-width: 70ch;
	font-size: 17px;
}

/* Rubriques : le titre à gauche, le texte à droite, des filets entre. */

.partego-campagne__rubrique {
	display: grid;
	grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
	gap: 8px 48px;
	padding: 30px 0 18px;
	border-top: 1px solid var(--pt-filet);
}

.partego-campagne__rubrique-titre {
	margin: 0;
	font-family: var(--pt-titres);
	font-weight: var(--pt-titres-graisse);
	font-size: 23px;
	line-height: 1.25;
	color: var(--pt-bleu);
}

.partego-campagne__rubrique-corps {
	grid-column: 2;
	max-width: 62ch;
}

.partego-campagne__liste {
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.partego-campagne__liste li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 5px 0;
}

.partego-campagne__fleche {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 5px;
	color: var(--pt-rouge);
}

/* Candidature ------------------------------------------------------------ */

.partego-campagne__candidature {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 32px;
	margin-top: 30px;
	padding: 30px 32px;
	color: #fff;
	background: var(--pt-profond);
	scroll-margin-top: 120px;
}

.partego-campagne__candidature-texte {
	flex: 1 1 320px;
	color: rgba(255, 255, 255, .8);
}

.partego-campagne__candidature-titre {
	margin: 0 0 8px;
	font-family: var(--pt-titres);
	font-weight: var(--pt-titres-graisse);
	font-size: 26px;
	line-height: 1.2;
	color: #fff;
}

.partego-campagne__email {
	flex-basis: 100%;
	margin: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, .6);
}

.partego-campagne__bouton,
.partego-campagne__bouton:visited {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px 12px 22px;
	font-family: var(--pt-titres);
	font-weight: var(--pt-titres-graisse);
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
	color: #fff;
	background: var(--pt-rouge);
	border-radius: 999px;
	transition: background .18s ease;
}

.partego-campagne__bouton:hover,
.partego-campagne__bouton:focus-visible {
	color: #fff;
	background: #c41d1b;
}

.partego-campagne__bouton .partego-pastille {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	color: var(--pt-rouge);
	background: #fff;
	border-radius: 50%;
}

.partego-campagne__bouton .partego-pastille svg {
	width: 16px;
	height: 16px;
}

/* Le bouton du haut renvoie au bloc de candidature : plus discret. */
.partego-campagne__bouton--haut,
.partego-campagne__bouton--haut:visited {
	margin-top: 10px;
	padding: 11px 22px;
	font-size: 18px;
}

@media (max-width: 767px) {
	.partego-bandeau {
		font-size: 14px;
		padding: 8px 14px;
	}

	body main.site-main.partego-campagne {
		padding: 36px 16px 56px;
	}

	.partego-campagne__titre {
		font-size: 28px;
	}

	.partego-campagne__rubrique {
		grid-template-columns: minmax(0, 1fr);
	}

	.partego-campagne__rubrique-corps {
		grid-column: 1;
	}

	.partego-campagne__candidature {
		padding: 26px 20px;
	}
}
