.hero-section {
	position: relative;
	overflow: hidden;
	z-index: 1;
}

/* Bandeau clair : le visuel de la graphiste est une illustration au trait sur
   fond transparent, dessinee pour un fond clair. Elle est donc posee a cote du
   texte (colonne de droite) et non en fond plein cadre — d'ou le passage du
   degrade sombre a une teinte claire, et du texte blanc au texte fonce.
   Teinte plus soutenue que `.section--tinted` (18% -> 4% en diagonale) : la
   section « cabinet » qui suit garde ainsi sa bande biseautee lisible. */
.hero-section--light {
	background-color: color-mix(in srgb, var(--agex-primary) 12%, #ffffff);
}

/* Illustration du bandeau. Livree en 900x564, elle occupe sa colonne sans
   depasser sa taille native pour rester nette a toutes les resolutions. */
.hero-section .hero__figure {
	margin: 0;
	text-align: right;
}

/* Retour client du 13/08 : le bandeau depassait la hauteur d'un ecran
   (1012px pour 900px de fenetre), c'est l'illustration qui la donnait
   (632px de haut a elle seule). Elle est ramenee a 520px de large, soit
   530px de haut, et le dégagement de la section passe de 190 a 110px :
   le bandeau tient desormais dans l'ecran. */
.hero-section .hero__figure img {
	width: 100%;
	max-width: 520px;
	height: auto;
}

.hero-section .outer-box {
	position: relative;
	z-index: 2;
	padding: 110px 0;
}

.hero-section .inner-column .sub-title {
	font-size: 16px;
	line-height: 26px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--agex-secondary);
	display: inline-block;
	margin-bottom: 18px;
}

/* 48px et non 58 : la colonne de texte est passee de 8 a 6 douziemes pour
   laisser sa place a l'illustration, et « associations et fondations » y
   partait sur trois lignes. */
.hero-section .inner-column .title {
	color: var(--agex-secondary);
	font-size: 48px;
	line-height: 60px;
	font-weight: 700;
	text-transform: none;
	margin-bottom: 25px;
}

.hero-section .inner-column .title .line {
	display: block;
}

.hero-section .inner-column .title .line--accent {
	color: var(--agex-primary);
	font-weight: 300;
}

.hero-section .inner-column .text {
	font-size: 18px;
	line-height: 30px;
	color: color-mix(in srgb, var(--agex-secondary) 80%, #ffffff);
	max-width: 640px;
	margin-bottom: 35px;
}

.hero-section .inner-column .btn-wrp {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.splt-txt span {
	display: inline-block;
}

.splt-txt .whitespace {
	width: 8px;
}

.splt-txt.animated .char {
	animation: fadeInRight 0.4s cubic-bezier(0.3, 0, 0.7, 1) both;
	animation-delay: calc(30ms * var(--char-index));
}

@media only screen and (max-width: 991px) {
	/* Colonnes empilees : l'illustration passe sous le texte et se recentre. */
	.hero-section .hero__figure {
		text-align: center;
		margin-top: 30px;
	}
	.hero-section .hero__figure img {
		max-width: 400px;
	}
}

@media only screen and (max-width: 1199px) {
	.hero-section .outer-box {
		padding: 90px 0;
	}
	.hero-section .inner-column .title {
		font-size: 46px;
		line-height: 58px;
	}
}

@media only screen and (max-width: 767px) {
	.hero-section .outer-box {
		padding: 55px 0;
	}
	/* L'illustration faisait a elle seule un tiers du bandeau en mobile. */
	.hero-section .hero__figure {
		margin-top: 26px;
	}
	.hero-section .hero__figure img {
		max-width: 290px;
	}
	.hero-section .inner-column .title {
		font-size: 34px;
		line-height: 44px;
	}
	.hero-section .inner-column .text {
		font-size: 16px;
		line-height: 27px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.splt-txt.animated .char {
		animation: none;
	}
}
