.flj,
.flj * {
	box-sizing: border-box;
}

.flj[hidden],
.flj [hidden] {
	display: none !important;
}

.flj {
	--flj-navy-950: #06172d;
	--flj-navy-900: #071f3c;
	--flj-navy-800: #0b3156;
	--flj-panel: rgba(12, 43, 75, 0.9);
	--flj-panel-strong: rgba(10, 35, 63, 0.98);
	--flj-line: rgba(35, 137, 216, 0.55);
	--flj-line-soft: rgba(96, 166, 218, 0.2);
	--flj-green: #91e500;
	--flj-green-strong: #79ca00;
	--flj-cyan: #21a6f3;
	--flj-white: #ffffff;
	--flj-muted: #b9c8d8;
	position: relative;
	isolation: isolate;
	display: flow-root;
	clear: both;
	width: 100%;
	height: auto !important;
	min-height: 0;
	margin: 0;
	color: var(--flj-white);
	background:
		radial-gradient(circle at 65% 70%, rgba(0, 119, 203, 0.22), transparent 34%),
		linear-gradient(135deg, var(--flj-navy-950), var(--flj-navy-800));
	font-family: inherit;
	overflow: hidden;
	-webkit-font-smoothing: antialiased;
}

/*
 * Financity définit plusieurs couleurs globales pour h2/h3/h4. Journey doit
 * conserver ses titres blancs, y compris lorsque le thème emploie !important.
 */
.flj h2,
.flj h3,
.flj h4,
.flj .flj__header h2,
.flj .flj__intro-card h3,
.flj .flj__suggestions h3,
.flj .flj__panel-heading h3,
.flj .flj__result h4 {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

.flj::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(42, 123, 185, 0.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(42, 123, 185, 0.09) 1px, transparent 1px);
	background-size: 40px 40px;
	mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.5));
}

.flj__shell {
	width: min(100%, 1216px);
	min-height: 684px;
	height: auto;
	margin-inline: auto;
	padding: 26px 36px 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	overflow: visible;
}

.flj__sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.flj__header {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	min-height: 78px;
	text-align: center;
}

.flj__heading {
	max-width: 820px;
}

.flj__eyebrow {
	margin: 0 0 3px;
	color: var(--flj-green);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.22em;
	line-height: 1.3;
}

.flj__header h2 {
	margin: 0;
	color: var(--flj-white);
	font-size: clamp(34px, 4vw, 56px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.flj__subtitle {
	margin: 5px 0 0;
	color: var(--flj-muted);
	font-size: clamp(15px, 1.6vw, 21px);
	line-height: 1.3;
}

.flj__language-slot {
	position: absolute;
	top: 0;
	right: 0;
	min-height: 42px;
	max-width: 230px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 13px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	background: rgba(4, 22, 43, 0.8);
	color: #fff;
	font-size: 12px;
}

.flj__language-slot > .flj__icon {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}

.flj__language-slot.is-ready {
	padding: 6px 10px;
}

.flj__language-slot.is-ready > .flj__icon {
	display: none;
}

.flj__language-slot select.notranslate,
.flj__language-slot select {
	min-width: 142px;
	height: 30px;
	margin: 0 !important;
	padding: 3px 28px 3px 8px;
	border: 0;
	outline: 0;
	background-color: transparent;
	color: #fff;
	font: inherit;
	cursor: pointer;
}

.flj__language-slot select option {
	color: #081f3a;
	background: #fff;
}

.flj__steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.flj__step {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 0 10px 10px 0;
	border: 0;
	border-bottom: 2px solid rgba(135, 174, 207, 0.2);
	background: transparent;
	color: var(--flj-muted);
	font: inherit;
	font-size: 13px;
	font-weight: 650;
	text-align: left;
	cursor: pointer;
}

.flj__step:disabled {
	cursor: default;
}

.flj__step.is-active {
	border-color: var(--flj-green);
	color: #fff;
}

.flj__step.is-complete {
	border-color: rgba(33, 166, 243, 0.65);
	color: #e9f5ff;
}

.flj__step-number {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border: 1px solid var(--flj-cyan);
	border-radius: 50%;
	font-size: 16px;
}

.flj__step.is-active .flj__step-number {
	border-color: var(--flj-green);
	box-shadow: 0 0 18px rgba(145, 229, 0, 0.25);
}

.flj__panels {
	flex: 0 0 auto;
	min-height: auto;
	display: flow-root;
}

.flj__panel {
	position: relative;
	display: flow-root;
	animation: flj-panel-in 240ms ease-out both;
}

.flj + * {
	clear: both;
}

.flj__choices {
	display: grid;
	gap: 12px;
}

.flj__choices--services {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.flj__choices--services .flj__choice {
	min-height: 88px;
	padding: 10px 7px;
	gap: 6px;
	font-size: 12px;
}

.flj__choices--services .flj__choice .flj__icon {
	width: 34px;
	height: 34px;
}

.flj__choices--profiles,
.flj__choices--regions {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 920px;
	margin: 18px auto;
}

.flj__choice {
	position: relative;
	min-width: 0;
	min-height: 132px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 15px 10px;
	border: 1px solid var(--flj-line);
	border-radius: 8px;
	background: linear-gradient(145deg, rgba(13, 49, 84, 0.96), rgba(6, 30, 57, 0.96));
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.flj__choice:hover,
.flj__choice:focus-visible {
	transform: translateY(-2px);
	border-color: var(--flj-cyan);
	outline: none;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.flj__choice.is-selected {
	border: 2px solid var(--flj-green);
	background: linear-gradient(145deg, rgba(21, 63, 87, 0.98), rgba(8, 36, 58, 0.98));
	box-shadow: 0 0 0 1px rgba(145, 229, 0, 0.18), 0 0 26px rgba(145, 229, 0, 0.22);
}

.flj__choice .flj__icon {
	width: 48px;
	height: 48px;
	stroke: currentColor;
	stroke-width: 1.7;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.flj__choice.is-selected .flj__icon {
	color: var(--flj-green);
}

.flj__choice-check {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 22px;
	height: 22px;
	display: none;
	place-items: center;
	border-radius: 50%;
	background: var(--flj-green);
	color: #071a33;
	font-size: 14px;
	font-weight: 900;
}

.flj__choice.is-selected .flj__choice-check {
	display: grid;
}

.flj__choice--compact {
	min-height: 100px;
	flex-direction: row;
	justify-content: flex-start;
	gap: 14px;
	padding: 16px 18px;
	font-size: 15px;
	text-align: left;
}

.flj__choice--compact .flj__icon {
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
}

.flj__intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 2.15fr) minmax(260px, 1fr);
	gap: 12px;
	margin-top: 10px;
}

.flj__intro-card,
.flj__suggestions,
.flj__result {
	border: 1px solid var(--flj-line);
	border-radius: 8px;
	background: linear-gradient(135deg, rgba(11, 47, 80, 0.96), rgba(6, 29, 54, 0.96));
}

.flj__intro-card {
	position: relative;
	min-height: 138px;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 20px 24px;
	overflow: hidden;
}

.flj__intro-card::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -100px;
	width: 280px;
	height: 280px;
	border: 1px solid rgba(33, 166, 243, 0.24);
	border-radius: 50%;
	box-shadow: inset 0 0 0 38px rgba(33, 166, 243, 0.025), inset 0 0 0 76px rgba(33, 166, 243, 0.025);
}

.flj__intro-icon {
	position: relative;
	z-index: 1;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	display: grid;
	place-items: center;
	border: 1px solid var(--flj-green);
	border-radius: 50%;
	color: var(--flj-green);
}

.flj__intro-icon .flj__icon {
	width: 25px;
	height: 25px;
	stroke: currentColor;
	stroke-width: 1.8;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.flj__intro-card > div:last-child {
	position: relative;
	z-index: 1;
}

.flj__intro-card h3,
.flj__suggestions h3,
.flj__panel-heading h3 {
	margin: 0;
	color: #fff;
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 800;
	line-height: 1.1;
}

.flj__intro-card p,
.flj__panel-heading p,
.flj__result p {
	margin: 7px 0 0;
	color: var(--flj-muted);
	font-size: 13px;
	line-height: 1.45;
}

.flj__actions,
.flj__panel-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
}

.flj__button {
	min-height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 9px 18px;
	border: 1px solid transparent;
	border-radius: 7px;
	font: inherit;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.flj__button:hover,
.flj__button:focus-visible {
	transform: translateY(-1px);
	filter: brightness(1.06);
	outline: 2px solid rgba(255, 255, 255, 0.8);
	outline-offset: 2px;
}

.flj__button:disabled {
	opacity: 0.42;
	cursor: not-allowed;
	transform: none;
}

.flj__button--primary {
	background: linear-gradient(135deg, var(--flj-green), var(--flj-green-strong));
	color: #071a33 !important;
	box-shadow: 0 8px 24px rgba(121, 202, 0, 0.17);
}

.flj__button--secondary {
	border-color: var(--flj-cyan);
	background: rgba(6, 29, 54, 0.72);
	color: #fff !important;
}

.flj__button--ghost {
	border-color: rgba(255, 255, 255, 0.22);
	background: transparent;
	color: #fff !important;
}

.flj__suggestions {
	min-height: 138px;
	padding: 14px 18px 11px;
}

.flj__suggestions h3 {
	font-size: 20px;
}

.flj__result ul {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.flj__region-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 8px;
	margin-top: 8px;
}

.flj__region-links button {
	min-width: 0;
	min-height: 28px;
	display: grid;
	grid-template-columns: 22px 1fr auto;
	align-items: center;
	gap: 7px;
	padding: 3px 8px;
	border: 1px solid var(--flj-line-soft);
	border-radius: 6px;
	background: rgba(12, 47, 79, 0.76);
	color: #fff;
	font: inherit;
	font-size: 11px;
	text-align: left;
	cursor: pointer;
	transition: border-color 160ms ease, background 160ms ease;
}

.flj__region-links button:hover,
.flj__region-links button:focus-visible {
	border-color: var(--flj-green);
	background: rgba(21, 63, 87, 0.96);
	outline: none;
}

.flj__region-links .flj__icon {
	width: 21px;
	height: 21px;
	padding: 3px;
	border: 1px solid var(--flj-cyan);
	border-radius: 50%;
	stroke: currentColor;
	stroke-width: 1.8;
	fill: none;
}

.flj__all-jurisdictions {
	display: flex;
	justify-content: center;
	gap: 7px;
	margin-top: 7px;
	color: #fff !important;
	font-size: 11px;
	font-weight: 700;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.flj__panel-heading {
	max-width: 820px;
	margin: 10px auto 0;
	text-align: center;
}

.flj__panel-heading .flj__eyebrow {
	margin-bottom: 5px;
}

.flj__panel-heading--result {
	margin-top: 4px;
}

.flj__panel-actions {
	justify-content: center;
	margin-top: 18px;
}

.flj__results {
	max-width: 880px;
	margin: 16px auto 0;
}

.flj__result {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 20px;
	min-height: 175px;
	align-items: center;
	padding: 22px 26px;
}

.flj__result-copy {
	display: flex;
	align-items: center;
	gap: 16px;
}

.flj__result h4 {
	margin: 0;
	color: #fff;
	font-size: 22px;
	line-height: 1.15;
}

.flj__result li {
	position: relative;
	margin: 6px 0;
	padding: 7px 12px 7px 28px;
	border: 1px solid var(--flj-line-soft);
	border-radius: 6px;
	background: rgba(12, 47, 79, 0.78);
	font-size: 13px;
}

.flj__result li::before {
	content: "✓";
	position: absolute;
	left: 10px;
	color: var(--flj-green);
	font-weight: 900;
}

.flj__panel-actions--result {
	margin-top: 12px;
}

.flj__trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	min-height: 58px;
	margin-top: auto;
	border: 1px solid var(--flj-line);
	border-radius: 8px;
	background: rgba(7, 31, 59, 0.86);
}

.flj__trust > div {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 0;
	padding: 9px 12px;
	border-right: 1px solid var(--flj-line-soft);
	font-size: 12px;
	font-weight: 650;
	text-align: center;
}

.flj__trust > div:last-child {
	border-right: 0;
}

.flj__trust .flj__icon {
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	padding: 6px;
	border: 1px solid var(--flj-cyan);
	border-radius: 50%;
	stroke: currentColor;
	stroke-width: 1.8;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.flj__noscript {
	margin: 10px 0 0;
	padding: 10px;
	border: 1px solid #f4c469;
	background: #fff5d8;
	color: #4b3600;
	font-size: 13px;
}

@keyframes flj-panel-in {
	from { opacity: 0; transform: translateY(7px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
	.flj__shell { min-height: 0; padding-inline: 24px; }
	.flj__header { justify-content: flex-start; text-align: left; }
	.flj__heading { max-width: 70%; }
	.flj__choices--services { grid-template-columns: repeat(3, 1fr); }
	.flj__choice { min-height: 115px; }
	.flj__intro-grid { grid-template-columns: 1fr; }
	.flj__suggestions { min-height: 0; }
	.flj__region-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
	.flj__shell { padding: 22px 16px 16px; gap: 12px; }
	.flj__header { display: block; min-height: 0; padding-top: 48px; text-align: center; }
	.flj__heading { max-width: none; }
	.flj__header h2 { font-size: clamp(31px, 10vw, 44px); }
	.flj__subtitle { font-size: 15px; }
	.flj__language-slot { top: 0; left: 50%; right: auto; transform: translateX(-50%); max-width: min(100%, 260px); }
	.flj__steps { gap: 5px; }
	.flj__step { justify-content: center; padding-right: 0; }
	.flj__step-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.flj__step-number { width: 32px; height: 32px; flex-basis: 32px; }
	.flj__choices--services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.flj__choice { min-height: 104px; padding: 12px 7px; font-size: 13px; }
	.flj__choice .flj__icon { width: 38px; height: 38px; }
	.flj__intro-card { align-items: flex-start; padding: 18px; }
	.flj__intro-icon { width: 42px; height: 42px; flex-basis: 42px; }
	.flj__actions, .flj__panel-actions { flex-direction: column; align-items: stretch; }
	.flj__button { width: 100%; }
	.flj__region-links { grid-template-columns: 1fr 1fr; }
	.flj__choices--profiles, .flj__choices--regions { grid-template-columns: 1fr; margin-top: 14px; }
	.flj__choice--compact { min-height: 76px; }
	.flj__result { grid-template-columns: 1fr; padding: 18px; }
	.flj__result-copy { align-items: flex-start; }
	.flj__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.flj__trust > div:nth-child(2) { border-right: 0; }
	.flj__trust > div:nth-child(-n+2) { border-bottom: 1px solid var(--flj-line-soft); }
}

@media (max-width: 390px) {
	.flj__choices--services { grid-template-columns: 1fr; }
	.flj__choice { min-height: 86px; flex-direction: row; justify-content: flex-start; gap: 14px; padding-inline: 16px; text-align: left; }
	.flj__choice .flj__icon { flex: 0 0 38px; }
	.flj__trust { grid-template-columns: 1fr; }
	.flj__trust > div { border-right: 0; border-bottom: 1px solid var(--flj-line-soft); }
	.flj__trust > div:last-child { border-bottom: 0; }
}

[dir="rtl"] .flj__language-slot {
	right: auto;
	left: 0;
}

[dir="rtl"] .flj__step,
[dir="rtl"] .flj__choice--compact {
	text-align: right;
}

[dir="rtl"] .flj__choice-check {
	right: auto;
	left: 8px;
}

[dir="rtl"] .flj__result li {
	padding-right: 28px;
	padding-left: 12px;
}

[dir="rtl"] .flj__result li::before {
	right: 10px;
	left: auto;
}

@media (prefers-reduced-motion: reduce) {
	.flj *,
	.flj *::before,
	.flj *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
