/*
 * The interactive parts of the site: the round figure and the journey picker (Emilie, 5 Nov 2026).
 * :is(#bc-lp, .bc-section) gives every rule the weight it needs: lp.css reverts everything inside #bc-lp.
 */

/* The round figure ------------------------------------------------------------ */

:is(#bc-lp, .bc-section) .bc-ifig__stage {
	position: relative;
	width: min(620px, 100%);
	margin-inline: auto;
}

:is(#bc-lp, .bc-section) .bc-ifig__stage > img {
	display: block;
	width: 100%;
	height: auto;
}

/* The buttons lie over the figure and show only under the pointer, on focus and when chosen. */
:is(#bc-lp, .bc-section) .bc-hot {
	display: none;
}

:is(#bc-lp, .bc-section) .is-live .bc-hot {
	display: block;
	position: absolute;
	z-index: 3;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: box-shadow .2s ease;
}

:is(#bc-lp, .bc-section) .is-live .bc-hot--rect {
	border-radius: 16%;
}

:is(#bc-lp, .bc-section) .is-live .bc-hot:hover,
:is(#bc-lp, .bc-section) .is-live .bc-hot:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 3px rgba(93, 240, 244, .9), 0 0 24px rgba(93, 240, 244, .5);
}

:is(#bc-lp, .bc-section) .is-live .bc-hot[aria-pressed="true"] {
	box-shadow: 0 0 0 3px #29A8E0, 0 0 26px rgba(41, 168, 224, .6);
}

:is(#bc-lp, .bc-section) .bc-ifig__hint {
	max-width: none;
	margin: 18px 0 12px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	text-align: center;
	color: var(--bc-ink);
}

:is(#bc-lp, .bc-section) .bc-ifig:not(.is-live) .bc-ifig__hint {
	display: none;
}

:is(#bc-lp, .bc-section) .bc-ifig__panels {
	display: grid;
	gap: 14px;
}

:is(#bc-lp, .bc-section) .bc-ifig:not(.is-live) .bc-ifig__panels {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	margin-top: 28px;
}

:is(#bc-lp, .bc-section) .bc-ifig__panel {
	display: flex;
	gap: 24px;
	align-items: center;
	padding: 24px 28px;
	border-radius: 18px;
	background: #F2F5F7;
}

:is(#bc-lp, .bc-section) .bc-ifig__panel[hidden] {
	display: none;
}

:is(#bc-lp, .bc-section) .bc-ifig__icon {
	flex: none;
	width: 104px;
	height: 104px;
	object-fit: contain;
}

:is(#bc-lp, .bc-section) .bc-ifig__body {
	min-width: 0;
}

:is(#bc-lp, .bc-section) .bc-ifig__eye {
	display: block;
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--bc-ink);
}

:is(#bc-lp, .bc-section) .bc-ifig__name {
	margin: 0 0 6px;
	font-size: clamp(18px, 1.5vw, 20px);
	font-weight: 800;
	line-height: 1.2;
	color: var(--bc-ink);
}

:is(#bc-lp, .bc-section) .bc-ifig__text {
	max-width: none;
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.45;
	color: var(--bc-ink);
}

:is(#bc-lp, .bc-section) a.bc-ifig__more {
	display: inline-block;
	padding-bottom: 3px;
	border-bottom: 2px solid #29A8E0;
	font-size: 15px;
	font-weight: 800;
	color: var(--bc-ink);
	text-decoration: none !important;
}

:is(#bc-lp, .bc-section) a.bc-ifig__more::after {
	content: " \2192";
}

/* The journey picker ----------------------------------------------------------- */

:is(#bc-lp, .bc-section) .bc-journey {
	padding: clamp(20px, 3vw, 36px);
	border-radius: 22px;
	background: #F2F5F7;
}

:is(#bc-lp, .bc-section) .bc-journey__tabs {
	display: none;
}

:is(#bc-lp, .bc-section) .bc-journey.is-live .bc-journey__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

:is(#bc-lp, .bc-section) .bc-journey__tab {
	padding: 11px 20px;
	border: 0;
	border-radius: 99px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--bc-ink);
	background: #E3E7EA;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

:is(#bc-lp, .bc-section) .bc-journey__tab[aria-pressed="true"] {
	color: #FFFFFF;
	background: #284557;
}

:is(#bc-lp, .bc-section) .bc-journey__board[hidden],
:is(#bc-lp, .bc-section) .bc-journey__path[hidden] {
	display: none;
}

:is(#bc-lp, .bc-section) .bc-journey__chips {
	display: none;
}

:is(#bc-lp, .bc-section) .bc-journey.is-live .bc-journey__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin-bottom: 22px;
}

:is(#bc-lp, .bc-section) .bc-journey__chip {
	padding: 7px 14px;
	border: 1.5px solid #C9D6DF;
	border-radius: 99px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--bc-ink);
	background: transparent;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease;
}

:is(#bc-lp, .bc-section) .bc-journey__chip:hover {
	border-color: #29A8E0;
}

:is(#bc-lp, .bc-section) .bc-journey__chip[aria-pressed="true"] {
	border-color: #29A8E0;
	background: #DCEFFC;
}

:is(#bc-lp, .bc-section) .bc-journey__tab:focus-visible,
:is(#bc-lp, .bc-section) .bc-journey__chip:focus-visible {
	outline: 2px solid #284557;
	outline-offset: 2px;
}

:is(#bc-lp, .bc-section) .bc-journey__name {
	margin: 0 0 18px;
	font-size: clamp(18px, 1.5vw, 20px);
	font-weight: 800;
	line-height: 1.2;
	color: var(--bc-ink);
}

/* The path: three steps on a dotted line, the same line as in the round figure. */
:is(#bc-lp, .bc-section) .bc-journey__line {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
	padding: 18px 0 0;
	list-style: none !important;
}

:is(#bc-lp, .bc-section) .bc-journey__line::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 6px;
	right: 6px;
	border-top: 3px dotted #29A8E0;
}

:is(#bc-lp, .bc-section) .bc-journey__line > li {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none !important;
}

:is(#bc-lp, .bc-section) .bc-journey__line > li::before {
	content: "";
	position: absolute;
	top: -18px;
	left: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #29A8E0;
}

:is(#bc-lp, .bc-section) .bc-journey__step {
	display: block;
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--bc-ink);
}

:is(#bc-lp, .bc-section) .bc-journey__line p {
	max-width: none;
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.45;
	color: var(--bc-ink);
}

:is(#bc-lp, .bc-section) .bc-journey__line a:not(.bc-journey__type) {
	font-weight: 800;
	color: var(--bc-ink);
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

:is(#bc-lp, .bc-section) a.bc-journey__next::after {
	content: " \2192";
}

:is(#bc-lp, .bc-section) .bc-journey__fits {
	margin: 0 0 14px;
	padding: 0;
	list-style: none !important;
}

:is(#bc-lp, .bc-section) .bc-journey__fits li {
	margin: 0 0 8px;
	padding: 0;
	font-size: 15px;
	line-height: 1.45;
	color: var(--bc-ink);
	list-style: none !important;
}

:is(#bc-lp, .bc-section) .bc-journey__types {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

:is(#bc-lp, .bc-section) a.bc-journey__type {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 84px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	color: var(--bc-ink);
	text-decoration: none !important;
}

:is(#bc-lp, .bc-section) .bc-journey__type img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: contain;
}

/* Without the script: one plain list of paths with their links. */
:is(#bc-lp, .bc-section) .bc-journey:not(.is-live) .bc-journey__path + .bc-journey__path {
	margin-top: 28px;
}

@media (max-width: 767px) {
	:is(#bc-lp, .bc-section) .bc-ifig__panel {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding: 20px;
	}

	:is(#bc-lp, .bc-section) .bc-ifig__icon {
		width: 80px;
		height: 80px;
	}

	:is(#bc-lp, .bc-section) .bc-journey__line {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
		padding: 0 0 0 22px;
	}

	:is(#bc-lp, .bc-section) .bc-journey__line::before {
		top: 6px;
		bottom: 6px;
		left: 5px;
		right: auto;
		border-top: 0;
		border-left: 3px dotted #29A8E0;
	}

	:is(#bc-lp, .bc-section) .bc-journey__line > li::before {
		top: 2px;
		left: -22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	:is(#bc-lp, .bc-section) .is-live .bc-hot,
:is(#bc-lp, .bc-section) .bc-journey__tab,
:is(#bc-lp, .bc-section) .bc-journey__chip {
		transition: none;
	}
}
