@charset "UTF-8";
/* Elsa Clemente — encart crédit d'impôt « services à la personne ».
   Préfixe .ec-credit (BEM). Valeurs du système graphique
   (private/design-system/tokens.css) : l'encart sert dans une page Divi comme
   dans une page service, il ne dépend donc d'aucune autre feuille. Le lien est
   un lien de texte (pas une pilule : la pilule est réservée aux boutons). */

.ec-credit {
	--ec-credit-brand: #10069f;
	--ec-credit-ink: #3a3f4a;
	--ec-credit-link: #b8490a;
	--ec-credit-link-hover: #8f3a08;
	--ec-credit-line: rgba(16, 6, 159, .10);
	--ec-credit-ease: cubic-bezier(.22, 1, .36, 1);
	position: relative;
	box-sizing: border-box;
	max-width: 820px;
	margin: 0 auto;
	padding: 28px 26px 26px 30px;
	border: 1px solid var(--ec-credit-line);
	border-radius: 16px;
	background: #f5f5fb;
	color: var(--ec-credit-ink);
	font-family: "Open Sans", Arial, sans-serif;
	overflow: hidden;
	text-align: left;
}

.ec-credit *,
.ec-credit *::before,
.ec-credit *::after {
	box-sizing: border-box;
}

/* Filet de marque sur le bord gauche : bleu vers orange, comme le filet du header. */
.ec-credit::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 4px;
	background: linear-gradient(180deg, #10069f, #f2782e);
}

/* Spécificité renforcée : Divi et .ecs posent leurs propres styles de titres. */
.ec-credit .ec-credit__title {
	margin: 0 0 14px;
	padding: 0;
	color: var(--ec-credit-brand);
	font-family: inherit;
	font-size: clamp(20px, 2.4vw, 24px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.012em;
}

.ec-credit .ec-credit__text {
	margin: 0 0 12px;
	padding: 0;
	color: var(--ec-credit-ink);
	font-size: 16px;
	line-height: 1.7;
}

.ec-credit .ec-credit__text--advance {
	font-weight: 600;
}

.ec-credit .ec-credit__more {
	margin: 16px 0 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.5;
}

.ec-credit .ec-credit__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ec-credit-link);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color .22s var(--ec-credit-ease);
}

.ec-credit .ec-credit__link:hover {
	color: var(--ec-credit-link-hover);
}

.ec-credit .ec-credit__link:focus-visible {
	outline: 3px solid var(--ec-credit-brand);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Flèche dessinée en CSS (aucune image). Le transform seul bouge au survol. */
.ec-credit__arrow {
	flex: none;
	width: 7px;
	height: 7px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform .35s var(--ec-credit-ease);
}

.ec-credit .ec-credit__link:hover .ec-credit__arrow {
	transform: translateX(3px) rotate(45deg);
}

.ec-credit__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

@media only screen and (max-width: 520px) {
	.ec-credit {
		padding: 24px 20px 22px 24px;
	}

	.ec-credit .ec-credit__text {
		font-size: 15.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ec-credit .ec-credit__link,
	.ec-credit__arrow {
		transition: none;
	}

	.ec-credit .ec-credit__link:hover .ec-credit__arrow {
		transform: rotate(45deg);
	}
}
