.elementor-widget-shortcode:has(.next-era-course-hero) {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
}

.elementor-widget-shortcode:has(.next-era-course-hero) .elementor-widget-container,
.elementor-widget-shortcode:has(.next-era-course-hero) .elementor-shortcode {
	width: 100%;
}

.next-era-course-hero {
	position: relative;
	display: grid;
	grid-template-columns: 48% 52%;
	min-height: 485px;
	overflow: hidden;
	border-radius: 14px;
	color: #fefefe;
	background: #012d4c;
	font-family: "Plus Jakarta Sans", sans-serif;
}

.next-era-course-hero::before {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(270deg, rgba(1, 45, 76, 0) 0%, rgba(1, 45, 76, 0.95) 65%);
	content: "";
	pointer-events: none;
}

.next-era-course-hero,
.next-era-course-hero * {
	box-sizing: border-box;
}

.next-era-course-hero-wrap {
	position: relative;
	padding-bottom: 44px;
}

.next-era-course-hero-wrap,
.next-era-course-hero-wrap * {
	box-sizing: border-box;
}

.next-era-course-hero__content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 60px 30px 60px clamp(42px, 8vw, 118px);
}

.next-era-course-hero__type {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	justify-content: center;
	min-width: 52.35px;
	min-height: 23.35px;
	gap: 6.67px;
	margin-bottom: 24px;
	padding:2px 6.67px;
	border-radius: 10.01px;
	color: #087bc2;
	background: #fefefe;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 13.35px;
	font-style: normal;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	text-align: center;
	text-box-trim: trim-both;
	text-box-edge: cap alphabetic;
}

.next-era-course-hero__content h2 {
	max-width: 620px;
	margin: 0 0 16px;
	color: #fefefe;
	font-size: clamp(38px, 4vw, 52px);
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1.04;
}

.next-era-course-hero__description {
	max-width: 410px;
	margin: 0;
	color: #fefefe;
	font-size: 16px;
	line-height: 1.45;
}

.next-era-course-hero__line {
	width: 69px;
	height: 1px;
	margin: 28px 0 24px;
	background: #fff;
}

.next-era-course-hero__teacher {
	margin: 0 0 20px;
	color: #fefefe;
	font-size: 16px;
}

.next-era-course-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.next-era-course-hero__stats span {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 37px;
	padding: 5px 13px;
	border-radius: 20px;
	color: #fefefe;
	background: #087bc2;
	font-size: 14px;
}

.next-era-course-hero__stats b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 27px;
	height: 27px;
	border-radius: 50%;
	color: #fefefe;
	background: #023b64;
	font-weight: 500;
}

.next-era-course-hero__visual {
	position: relative;
	z-index: 2;
	min-width: 0;
}

.next-era-course-hero__circles {
	display: none;
}

.next-era-course-hero__course-image {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: var(--next-era-course-hero-image);
	background-position: center right;
	background-size: cover;
	filter: saturate(0.95);
}

.next-era-course-hero__badges {
	position: absolute;
	left: -5%;
	bottom: 24px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 26px;
}

.next-era-course-hero__trainer {
	position: relative;
	display: grid;
	flex: 0 0 352px;
	grid-template-columns: 112px minmax(170px, 1fr);
	align-items: center;
	width: 352px;
	min-height: 126px;
	padding: 10px 18px 10px 10px;
	border-radius: 16px;
	color: #fefefe;
	background: #024d81;
}

@media (min-width: 901px) {
	.next-era-course-hero__badges:not(:has(.next-era-course-hero__guest)) {
		/* Preserve the right edge of the two-speaker layout when the trainer is alone. */
		width: 720px;
		justify-content: flex-end;
	}
}

.next-era-course-hero__trainer > img {
	width: 102px;
	height: 108px;
	border-radius: 7px;
	object-fit: cover;
}

.next-era-course-hero__trainer--without-avatar {
	grid-template-columns: 1fr;
}

.next-era-course-hero__trainer--without-avatar .next-era-course-hero__trainer-copy {
	padding-left: 0;
}

.next-era-course-hero__trainer-label {
	position: absolute;
	top: -13px;
	left: -9px;
	padding: 6px 10px;
	border-radius: 50px;
	color: #036cb6;
	background: #fefefe;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.next-era-course-hero__trainer-copy {
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding-left: 12px;
}

.next-era-course-hero__trainer-copy strong,
.next-era-course-hero__trainer-copy small {
	color: #fefefe;
}

.next-era-course-hero__trainer-copy strong {
	font-size: 17px;
	line-height: 1.18;
}

.next-era-course-hero__trainer-copy small {
	font-size: 12px;
	line-height: 1.45;
}

.next-era-course-hero__guest {
	position: relative;
	display: grid;
	flex: 0 0 342px;
	grid-template-columns: 92px minmax(180px, 1fr);
	align-items: center;
	width: 342px;
	min-height: 94px;
	padding: 8px 18px 8px 10px;
	border-radius: 16px;
	color: #023b64;
	background: #fefefe;
}

.next-era-course-hero__guest > img {
	width: 82px;
	height: 76px;
	border-radius: 7px;
	object-fit: cover;
}

.next-era-course-hero__guest--without-avatar {
	grid-template-columns: 1fr;
}

.next-era-course-hero__guest--without-avatar .next-era-course-hero__guest-copy {
	padding-left: 0;
}

.next-era-course-hero__guest-label {
	position: absolute;
	top: -13px;
	left: -9px;
	padding: 6px 10px;
	border-radius: 14px;
	color: #036cb6;
	background: #fefefe;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.next-era-course-hero__guest-copy {
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding-left: 12px;
}

.next-era-course-hero__guest-copy strong,
.next-era-course-hero__guest-copy small {
	color: #023b64;
}

.next-era-course-hero__guest-copy strong {
	font-size: 17px;
	line-height: 1.18;
}

.next-era-course-hero__guest-copy small {
	font-size: 12px;
	line-height: 1.45;
}

.next-era-course-action-bar {
	position: relative;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	width: 1104px;
	min-height: 88px;
	height: auto;
	max-width: calc(100% - 48px);
	margin: -44px auto 0;
	padding: 16px 24px;
	border-radius: 16px;
	opacity: 1;
	background: #fefefe;
	box-shadow: 0 18px 40px rgb(2 59 100 / 18%);
	transition: box-shadow 0.2s ease;
    flex-wrap: nowrap;
}

@media(max-width: 1100px){
    .next-era-course-action-bar {
        flex-wrap: wrap;
    }

    /* Force le début d'une nouvelle ligne avant les 3 derniers */
    .next-era-course-action-bar > :nth-last-child(3) {
        break-before: always;
    }
    

    .next-era-course-action-bar .added_to_cart.wc-forward:before{
        display: none;
    }
    
    .next-era-course-action-bar.is-fixed{
        bottom: 15px
    }
}

.next-era-course-action-bar.is-fixed {
	position: fixed;
	right: 50%;
	bottom: 100px;
	margin: 0;
	transform: translateX(50%);
}

@media(max-width: 768px){
    .next-era-course-action-bar__placeholder{
        display: none !important;
    }

    .next-era-course-action-bar.is-fixed{
        bottom: 0px !important
    }
}

.next-era-course-action-bar__top,
.next-era-course-action-bar__access,
.next-era-course-action-bar__customize,
.next-era-course-action-bar__cart,
.next-era-course-action-bar .added_to_cart.wc-forward {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	border-radius: 6px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.next-era-course-action-bar__top {
	width: 44px;
	min-width: 44px;
	padding: 0;
	border: 0;
	background: #e6f0f8 !important;
	cursor: pointer;
}

.next-era-course-action-bar__top img {
	width: 8px;
	height: 14px;
	object-fit: contain;
}

.next-era-course-action-bar__divider {
	width: 1px;
	height: 49px;
	background: #dbe8f2;
}

.next-era-course-action-bar__price {
	display: flex;
	flex: 0 0 166px;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	min-width: 0;
	color: #036cb6;
	text-align: center;
}

.next-era-course-action-bar__price small {
	color: #023b64;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.1;
}

.next-era-course-action-bar__price strong,
.next-era-course-action-bar__price .amount {
	color: #036cb6;
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
}

.next-era-course-action-bar__customize {
	min-width: 198px;
	padding: 0 20px;
	border: 1px solid #036cb6;
	color: #036cb6;
	background: #fefefe;
}

.next-era-course-action-bar__cart {
	gap: 11px;
	min-width: 270px;
	padding: 0 22px;
	border: 1px solid #036cb6;
	color: #fefefe;
	background: #036cb6;
}



.next-era-course-action-bar__cart:hover,
.next-era-course-action-bar__customize:hover,
.next-era-course-action-bar .added_to_cart.wc-forward:hover {
    background-color: #024D81;
    color: #FEFEFE;
}

.next-era-course-action-bar__cart img {
	width: 14px;
	height: 14px;
	object-fit: contain;
}

.next-era-access-comparison {
	width: 100%;
	margin: 140px auto;
	color: #0069af;
	font-family: "Plus Jakarta Sans", sans-serif;
}

.next-era-access-comparison,
.next-era-access-comparison * {
	box-sizing: border-box;
}

.next-era-access-comparison__table {
	display: grid;
	grid-template-columns: minmax(220px, 1.45fr) repeat(5, minmax(118px, 1fr));
	width: min(100%, 1144px);
	margin: 0 auto;
	overflow-x: auto;
	scrollbar-width: thin;
}

.next-era-access-comparison__header,
.next-era-access-comparison__row {
	display: contents;
}

.next-era-access-comparison__corner,
.next-era-access-comparison__plan,
.next-era-access-comparison__feature,
.next-era-access-comparison__cell {
	display: flex;
	align-items: center;
	min-height: 78px;
	padding: 10px 18px;
}

.next-era-access-comparison__plan {
	justify-content: center;
	min-height: 75px;
	color: #0069af;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
}

.next-era-access-comparison__feature {
	align-items: flex-start;
	justify-content: flex-start;
	padding-left: 0;
	color: #0069af;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
}

.next-era-access-comparison__cell {
	flex-direction: column;
	justify-content: center;
	gap: 9px;
	border-left: 2px solid #d9e7f2;
	color: #0069af;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
}

.next-era-access-comparison__cell img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.next-era-access-comparison__row--online .next-era-access-comparison__cell,
.next-era-access-comparison__row--after .next-era-access-comparison__cell {
	min-height: 44px;
	padding-top: 0;
	padding-bottom: 0;
}

.next-era-access-comparison__row--after .next-era-access-comparison__feature {
	min-height: 44px;
	padding-top: 0;
}

@media (max-width: 900px) {
	.next-era-access-comparison {
		overflow-x: auto;
	}

	.next-era-access-comparison__table {
		min-width: 820px;
	}

	.next-era-course-hero {
		grid-template-columns: 1fr;
	}

	.next-era-course-hero__content {
		padding: 50px 38px 30px;
	}

	.next-era-course-hero__visual {
		min-height: 0;
		padding: 16px 38px 64px;
	}

	.next-era-course-hero__course-image {
		background-position: center;
	}

	.next-era-course-hero__badges {
		position: relative;
		inset: auto;
		align-items: stretch;
		flex-wrap: wrap;
		gap: 18px;
	}

	.next-era-course-hero__trainer,
	.next-era-course-hero__guest {
		flex: 1 1 280px;
		width: auto;
		min-width: 0;
	}

	.next-era-course-action-bar {
		gap: 5px;
		max-width: calc(100% - 32px);
		padding-right: 16px;
		padding-left: 16px;
	}

	.next-era-course-action-bar__price {
		flex-basis: 140px;
	}

	.next-era-course-action-bar__customize {
		min-width: 132px;
	}

	.next-era-course-action-bar__cart,
	.next-era-course-action-bar .added_to_cart.wc-forward {
		min-width: 184px;
	}
}

@media (max-width: 600px) {
	.next-era-access-comparison__table {
		min-width: 760px;
	}

	.next-era-access-comparison__plan {
		font-size: 17px;
	}

	.next-era-access-comparison__feature {
		font-size: 14px;
	}

	.next-era-course-hero {
		min-height: 0;
		border-radius: 10px;
	}

	.next-era-course-hero__content {
		padding: 36px 24px 24px;
	}

	.next-era-course-hero__content h2 {
		font-size: clamp(30px, 9vw, 34px);
		line-height: 1.08;
	}

	.next-era-course-hero__visual {
		min-height: 0;
		padding: 12px 24px 52px;
	}

	.next-era-course-hero__course-image {
		background-position: center;
	}

	.next-era-course-hero__badges {
		flex-direction: column;
		gap: 24px;
	}

	.next-era-course-hero__trainer {
		grid-template-columns: 74px minmax(0, 1fr);
		width: 100%;
		min-height: 96px;
		padding-right: 12px;
	}

	.next-era-course-hero__trainer > img {
		width: 68px;
		height: 76px;
	}

	.next-era-course-hero__trainer-copy {
		gap: 5px;
		padding-left: 8px;
	}

	.next-era-course-hero__trainer--without-avatar {
		align-items: flex-start;
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 20px;
	}

	.next-era-course-hero__guest {
		grid-template-columns: 74px minmax(0, 1fr);
		width: 100%;
		min-height: 96px;
		padding-right: 12px;
	}

	.next-era-course-hero__guest > img {
		width: 68px;
		height: 76px;
	}

	.next-era-course-hero__guest-copy {
		gap: 5px;
		padding-left: 8px;
	}

	.next-era-course-hero__guest--without-avatar {
		align-items: flex-start;
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 20px;
	}

	.next-era-course-action-bar {
		align-items: stretch;
		height: auto;
		min-height: 88px;
		flex-wrap: wrap;
		gap: 12px;
		margin-top: -28px;
		padding: 14px;
	}

	.next-era-course-action-bar__divider {
		display: none;
	}

	.next-era-course-action-bar__price {
		flex: 1 1 calc(100% - 56px);
		text-align: left;
	}

	.next-era-course-action-bar__customize,
	.next-era-course-action-bar__cart,
	.next-era-course-action-bar .added_to_cart.wc-forward {
		flex: 1 1 100%;
		min-width: 0;
	}
}

/* Keep speaker cards in the flow, with room for long names and biographies. */
@media (max-width: 900px) {
	.next-era-course-hero__trainer,
	.next-era-course-hero__guest {
		grid-template-columns: 74px minmax(0, 1fr);
	}
	.next-era-course-hero__trainer > img,
	.next-era-course-hero__guest > img {
		width: 68px;
		height: 76px;
	}
	.next-era-course-hero__trainer-copy,
	.next-era-course-hero__guest-copy {
		min-width: 0;
		overflow-wrap: anywhere;
	}
	.next-era-course-hero__trainer--without-avatar,
	.next-era-course-hero__guest--without-avatar {
		grid-template-columns: 1fr;
	}
	.next-era-course-hero__trainer-label,
	.next-era-course-hero__guest-label {
		left: 12px;
	}
}
@media (max-width: 600px) {
	.next-era-course-hero__trainer,
	.next-era-course-hero__guest {
		flex: 0 0 auto;
	}
}
/* Keep the WooCommerce confirmation link inside the floating course bar. */
.next-era-course-action-bar:has(.added_to_cart.wc-forward) {
	width: 1280px;
	height: auto;
	min-height: 88px;
	gap: 24px;
}
.next-era-course-action-bar:has(.added_to_cart.wc-forward) .next-era-course-action-bar__cart {
	margin-left: -16px;
}
.next-era-course-action-bar .added_to_cart.wc-forward {
	position: relative;
	min-width: 147px;
	margin: 0 0 0 25px;
	padding: 0 24px;
	border: 1px solid #036cb6;
	color: #036cb6;
	background: #fefefe;
	font-size: 16px;
}
.next-era-course-action-bar .added_to_cart.wc-forward::before {
	position: absolute;
	left: -26px;
	top: 50%;
	width: 1px;
	height: 56px;
	background: #e6f0f8;
	transform: translateY(-50%);
	content: '';
}
.next-era-course-action-bar .added_to_cart.wc-forward:hover {
	background: #024d81;
	color: #fefefe;
}
@media (max-width: 600px) {
	.next-era-course-action-bar:has(.added_to_cart.wc-forward) {
		gap: 12px;
	}
	.next-era-course-action-bar:has(.added_to_cart.wc-forward) .next-era-course-action-bar__cart,
	.next-era-course-action-bar .added_to_cart.wc-forward {
		margin: 0;
		min-width: 0;
	}
	.next-era-course-action-bar .added_to_cart.wc-forward::before {
		display: none;
	}
}

/* Formation action bar: Figma 1242:6016. */
.next-era-course-action-bar--bundle {
	width: max-content;
	gap: 24px;
	padding: 16px 24px;
	font-family: "Plus Jakarta Sans", sans-serif;
	box-shadow: 0 7px 15px rgb(0 0 0 / 10%);
}
.next-era-course-action-bar--bundle .next-era-course-action-bar__divider,
.next-era-course-action-bar--status .next-era-course-action-bar__divider {
	position: relative;
	flex: 0 0 0;
	width: 0;
	height: 56px;
	background: none;
}
.next-era-course-action-bar--bundle .next-era-course-action-bar__divider img,
.next-era-course-action-bar--status .next-era-course-action-bar__divider img {
	position: absolute;
	top: 50%;
	left: 50%;
	width: auto;
	height: auto;
	max-width: none;
	transform: translate(-50%, -50%) rotate(90deg);
}
.next-era-course-action-bar--bundle .next-era-course-action-bar__price {
	flex: 0 0 auto;
	gap: 4px;
	white-space: nowrap;
}
.next-era-course-action-bar--bundle .next-era-course-action-bar__price small {
	font-weight: 600;
	line-height: 1.2;
}
.next-era-course-action-bar--bundle .next-era-course-action-bar__price strong,
.next-era-course-action-bar--bundle .next-era-course-action-bar__price .amount {
	font-size: 24px;
}
.next-era-course-action-bar--bundle .next-era-course-action-bar__cart,
.next-era-course-action-bar--bundle .next-era-course-action-bar__customize {
	min-width: 0;
	padding: 0 24px;
	font-size: 16px;
	line-height: 1.4;
}
.next-era-course-action-bar--bundle .next-era-course-action-bar__cart {
	gap: 10px;
	border: 0;
}
.next-era-course-action-bar--bundle .next-era-course-action-bar__top img,
.next-era-course-action-bar--bundle .next-era-course-action-bar__cart img {
	flex-shrink: 0;
	width: auto;
	height: auto;
}
.next-era-course-action-bar--bundle:has(.added_to_cart.wc-forward) {
	width: max-content;
}
.next-era-course-action-bar--bundle:has(.added_to_cart.wc-forward) .next-era-course-action-bar__cart,
.next-era-course-action-bar--bundle .added_to_cart.wc-forward {
	margin: 0;
}
.next-era-course-action-bar--bundle .added_to_cart.wc-forward::before {
	display: none;
}
.next-era-course-action-bar--bundle a:focus-visible,
.next-era-course-action-bar--bundle button:focus-visible,
.next-era-course-action-bar--status a:focus-visible,
.next-era-course-action-bar--status button:focus-visible {
	outline: 2px solid #036cb6;
	outline-offset: 3px;
}
@media (max-width: 600px) {
	.next-era-course-action-bar--bundle {
		width: calc(100% - 32px);
		gap: 12px;
		padding: 14px;
	}
	.next-era-course-action-bar--bundle .next-era-course-action-bar__price {
		flex: 1 1 calc(100% - 56px);
	}
}

.next-era-course-action-bar__group:not([hidden]) {
	display: contents;
}

.next-era-course-action-bar__group[hidden],
.next-era-course-action-bar--status .next-era-course-action-bar__offer-arrow,
.next-era-course-action-bar:not(.next-era-course-action-bar--status):not(.next-era-course-action-bar--bundle) .next-era-course-action-bar__status-arrow {
	display: none;
}

.next-era-course-action-bar:has(.next-era-course-action-bar__feedback:not(.screen-reader-text)) {
	flex-wrap: wrap;
}

.next-era-course-action-bar__feedback:not(.screen-reader-text) {
	flex: 0 0 100%;
	color: #023b64;
	font-size: 14px;
	text-align: center;
}

.next-era-course-action-bar--status {
	width: max-content;
	align-items: center;
	gap: 24px;
	padding: 16px 24px;
	font-family: "Plus Jakarta Sans", sans-serif;
	box-shadow: 0 7px 15px rgb(0 0 0 / 10%);
}

.next-era-course-action-bar--status .next-era-course-action-bar__top img {
	width: auto;
	height: auto;
}

.next-era-course-action-bar__check {
	display: grid;
	flex: 0 0 36px;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #f7f7f8;
}

.next-era-course-action-bar__status-message {
	color: #036cb6;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
}

.next-era-course-action-bar--status .next-era-course-action-bar__access {
	padding: 0 24px;
	color: #fefefe;
	background: #036cb6;
	font-size: 16px;
	line-height: 1.4;
}

.next-era-course-action-bar--status .next-era-course-action-bar__access:hover,
.next-era-course-action-bar--status .next-era-course-action-bar__access:focus-visible {
	color: #fefefe;
	background: #024d81;
}

@media (max-width: 800px) {
	.next-era-course-action-bar--status {
		gap: 12px;
	}

	.next-era-course-action-bar--status .next-era-course-action-bar__divider {
		display: none;
	}
}

@media (max-width: 600px) {
	.next-era-course-action-bar--status {
		width: calc(100% - 32px);
		max-width: none;
		padding: 14px;
	}

	.next-era-course-action-bar__status-message {
		flex: 1 1 0;
		min-width: 0;
	}

	.next-era-course-action-bar__access {
		flex: 1 1 100%;
	}
}
