/*
 * Site5 – home page sections (Figma frame "1440w default", node 282:3616).
 */

/* Hero ------------------------------------------------------------------ */

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 720px;
	padding: 124px var(--gutter) 160px;
	overflow: hidden;
	background:
		radial-gradient(circle at 78% 24%, rgba(216, 30, 5, 0.25) 0, rgba(216, 30, 5, 0) 325px),
		linear-gradient(115deg, rgba(11, 15, 23, 0.99) 0%, rgba(17, 24, 39, 0.98) 52%, rgba(11, 15, 23, 0.95) 100%),
		#0b0f17;
	color: var(--white);
	text-align: center;
}

.hero__media,
.hero__media::before,
.hero__media::after {
	position: absolute;
	inset: 0;
}

.hero__media::before,
.hero__media::after {
	content: "";
}

.hero__media::before {
	background: linear-gradient(90deg, rgba(0, 0, 0, 0) 1.08%, #0b1421 33.65%, #0b1421 69.71%, rgba(0, 0, 0, 0) 94.93%);
	mix-blend-mode: soft-light;
}

.hero__media::after {
	background: linear-gradient(270deg, rgba(11, 31, 51, 0) 10.14%, rgba(11, 31, 51, 0.53) 48.56%, rgba(11, 31, 51, 0) 89.97%);
}

.hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(759px, 100%);
}

.hero__badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8.8px 16.8px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

.hero__pulse {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background: var(--red);
}

.hero__pulse::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: var(--red);
	opacity: 0.75;
	animation: site5-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes site5-ping {
	75%,
	100% {
		opacity: 0;
		transform: scale(2);
	}
}

.hero__title {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 12px;
	font-size: 64px;
	line-height: 64px;
	letter-spacing: -1.6px;
}

.hero__title-1 {
	font-weight: 700;
	white-space: nowrap;
}

.hero__title-2 {
	color: #ffefee;
	font-family: var(--font-serif);
	font-weight: 600;
}

.hero__text {
	margin-top: 32px;
	color: #ebedf0;
	font-size: 18px;
	font-weight: 500;
	line-height: 28px;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 47px;
}

.button--hero {
	gap: 12px;
	min-width: 236px;
	padding: 16px 32px;
	background: var(--red);
	filter: drop-shadow(0 0 10px rgba(216, 30, 5, 0.3));
	color: var(--white);
	font-size: 15px;
	line-height: 22.5px;
}

.button--hero:hover {
	background: #c41b04;
}

.button--glass {
	padding: 16.1px 32.8px 16.8px;
	border: 1px solid rgba(255, 255, 255, 0.36);
	background: rgba(255, 255, 255, 0.05);
	color: var(--white);
	font-size: 15px;
	font-weight: 600;
	line-height: 22.5px;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.button--glass:hover {
	background: rgba(255, 255, 255, 0.12);
}

.hero__scroll {
	position: absolute;
	bottom: 78.3px;
	left: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: rgba(219, 219, 214, 0.81);
	font-size: 9px;
	font-weight: 700;
	line-height: 13.5px;
	letter-spacing: 0.9px;
	text-transform: uppercase;
	transform: translateX(-50%);
}

.hero__mouse {
	position: relative;
	width: 20px;
	height: 32px;
	border: 1px solid rgba(255, 255, 255, 0.63);
	border-radius: 9999px;
}

.hero__mouse::before {
	content: "";
	position: absolute;
	top: 5.6px;
	left: 7px;
	width: 4px;
	height: 8px;
	border-radius: 9999px;
	background: var(--red);
	animation: site5-scroll 1.6s ease-in-out infinite;
}

@keyframes site5-scroll {
	50% {
		transform: translateY(6px);
	}
}

/* Key figures ----------------------------------------------------------- */

.stats {
	position: relative;
	z-index: 1;
	width: min(var(--content), 100% - 2 * var(--gutter));
	margin: -40px auto 0;
}

.stats__card {
	display: flex;
	justify-content: center;
	padding: 40.8px 1px 40.8px 78px;
	border: 1px solid var(--grey-100);
	border-radius: 16px;
	background: var(--white);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.stats__item {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: 4px;
	width: 250px;
	margin-right: -1px;
	padding-right: 16.8px;
	border-right: 0.8px solid var(--grey-100);
}

.stats__item:last-child {
	margin-right: 0;
	padding-right: 0;
	border-right: 0;
}

.stats__value {
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: 48px;
	font-weight: 700;
	line-height: 48px;
}

.stats__value.is-highlight {
	color: var(--red);
}

.stats__label {
	color: var(--grey-400);
	font-size: 11px;
	font-weight: 700;
	line-height: 16.5px;
	letter-spacing: 0.55px;
	text-transform: uppercase;
}

/* About ----------------------------------------------------------------- */

.about {
	padding: 57px 0 53px;
}

.about__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 64px;
	align-items: center;
}

.president {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	grid-column: span 5;
	min-height: 497px;
	padding: 32.8px;
	overflow: hidden;
	border: 1px solid var(--grey-100);
	border-radius: 16px;
	background: var(--bg-soft);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.president__quote-mark {
	position: absolute;
	top: 15.8px;
	right: 23.3px;
	color: rgba(227, 6, 19, 0.1);
	font-family: var(--font-serif);
	font-size: 128px;
	line-height: 128px;
}

.president__photo {
	width: 128px;
	height: 128px;
	padding: 4px;
	border: 4px solid var(--white);
	border-radius: 9999px;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	object-fit: cover;
	object-position: 50% 19.6%;
}

.president__caption {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 24px;
}

.president__kicker {
	color: var(--red-bright);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.president__name {
	display: flex;
	align-items: center;
	min-height: 35px;
	margin-top: 4px;
	color: var(--black);
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
}

.president__role {
	color: var(--grey-500);
	font-size: 12px;
	line-height: 16px;
}

.president__quote {
	max-width: 404px;
	margin-top: 24px;
	color: var(--charcoal);
	font-size: 14px;
	font-style: italic;
	line-height: 22.75px;
}

.president__signature {
	width: 64px;
	height: 2px;
	margin-top: 24px;
	background: var(--red-bright);
}

.president .link-arrow {
	margin-top: 16px;
}

.about__body {
	grid-column: span 7;
}

.about__title {
	margin-top: 16px;
	color: var(--black);
	font-family: var(--font-serif);
	font-size: 36px;
	font-weight: 700;
	line-height: 45px;
	letter-spacing: -0.9px;
}

.about__text {
	margin-top: 21px;
	color: rgba(43, 43, 43, 0.9);
	font-size: 18px;
	font-weight: 300;
	line-height: 29.25px;
}

.about__link {
	display: inline-block;
	margin-top: 18px;
	color: var(--red-bright);
	font-size: 18px;
	font-weight: 600;
	line-height: 29.25px;
	text-decoration: underline;
	text-decoration-thickness: from-font;
	text-underline-position: from-font;
}

.about__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
	margin-top: 21px;
	padding-top: 16.6px;
}

.about-card {
	padding: 20px;
	border: 1px solid rgba(156, 163, 175, 0.19);
	border-radius: 12px;
	background: #fdfdfd;
}

.about-card + .about-card {
	padding-bottom: 40px;
}

.about-card__title {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--black);
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
}

.about-card__title::before {
	content: "";
	flex: none;
	width: 6px;
	height: 24px;
	border-radius: 4px;
	background: var(--red-bright);
}

.about-card + .about-card .about-card__title::before {
	background: var(--navy);
}

.about-card__text {
	margin-top: 8px;
	color: var(--charcoal);
	font-size: 14px;
	line-height: 20px;
}

/* Events ---------------------------------------------------------------- */

.events {
	padding: 48.5px 0;
	overflow: hidden;
	background: var(--bg-alt);
}

.events__inner {
	width: min(1252px, 100% - 2 * var(--gutter) + 36px);
	margin-inline: auto;
	transform: translateX(-18px);
}

.section-head--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.section-head--split .section-title {
	margin-top: 12px;
}

.section-head--split .section-text {
	max-width: 1060px;
	margin-top: 12px;
}

.events__track {
	gap: 26px;
	height: 500px;
	margin-top: 48px;
	padding-bottom: 24.8px;
	overflow-y: hidden;
}

.event-featured {
	position: relative;
	width: 520px;
	height: 475.2px;
	min-height: 420px;
	overflow: hidden;
	border-radius: 24px;
	background: var(--navy);
	box-shadow: 0 32px 45.8px -42px var(--night);
}

.event-featured__circle {
	position: absolute;
	top: -90px;
	right: -80px;
	width: 288px;
	height: 288px;
	border-radius: 9999px;
	background: var(--red);
}

.event-featured__cross {
	position: absolute;
	top: 26px;
	right: 38px;
	width: 79.5px;
	height: 79.5px;
	opacity: 0.95;
}

.event-featured__cross::before,
.event-featured__cross::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	border-radius: 7.5px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 18.8px 75.3px rgba(255, 255, 255, 0.12);
	transform: translate(-50%, -50%);
}

.event-featured__cross::before {
	width: 85.8px;
	height: 28.9px;
}

.event-featured__cross::after {
	width: 28.9px;
	height: 85.8px;
}

.event-featured__glow {
	position: absolute;
	top: 304px;
	left: -11px;
	width: 209px;
	height: 208px;
	border-radius: 9999px;
	background: rgba(216, 30, 5, 0.15);
	filter: blur(52.2px);
}

.event-featured__body {
	position: absolute;
	inset: 36px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.event-featured__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 9999px;
	background: var(--red);
	color: var(--white);
	font-size: 10px;
	font-weight: 800;
	line-height: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.event-featured__title {
	margin-top: 56px;
	color: var(--white);
	font-family: var(--font-serif);
	font-size: 36px;
	font-weight: 700;
	line-height: 40px;
}

.event-featured__text {
	max-width: 512px;
	margin-top: 15px;
	color: var(--grey-300);
	font-size: 16px;
	line-height: 22.75px;
}

.event-featured .button {
	margin-top: auto;
	margin-bottom: 1px;
}

.event-card {
	display: flex;
	flex-direction: column;
	width: 380.4px;
	height: 475.6px;
	overflow: hidden;
	border: 1px solid var(--grey-300);
	border-radius: 24px;
	background: var(--bg-alt);
}

.event-card__media {
	position: relative;
	flex: none;
	height: 208px;
}

.event-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.event-card__tag {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 6px 12px;
	border-radius: 9999px;
	background: var(--white);
	color: var(--ink);
	font-size: 10px;
	font-weight: 800;
	line-height: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.event-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 24px;
}

.event-card__meta {
	color: var(--red);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
}

.event-card__title {
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
}

.event-card__text {
	max-height: 64px;
	padding-top: 4px;
	overflow: hidden;
	color: var(--grey-500);
	font-size: 16px;
	line-height: 20px;
}

.event-card .button {
	margin-top: 16px;
}

/* Services -------------------------------------------------------------- */

.services {
	padding: 59px 0 20px;
	overflow: hidden;
}

.services__inner {
	width: min(1238px, 100% - 2 * var(--gutter));
	margin-inline: auto;
	transform: translateX(4px);
}

.services .section-title {
	margin-top: 12px;
}

.services__text {
	max-width: 1110px;
	margin-top: 31px;
	color: var(--grey-500);
	font-size: 18px;
	line-height: 26px;
}

.services__track {
	gap: 24px;
	margin-top: 31px;
	padding: 15.5px 0;
	cursor: grab;
}

.services__track.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
	scroll-snap-type: none;
	user-select: none;
}

.service-card {
	display: flex;
	flex-direction: column;
	width: 350px;
	min-height: 361px;
	padding: 33px;
	border: 1px solid var(--grey-100);
	border-radius: 16px;
	background: var(--white);
	filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.service-card__number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(227, 6, 19, 0.1);
	color: var(--red-bright);
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
}

.service-card--navy .service-card__number {
	background: rgba(11, 31, 51, 0.1);
	color: var(--navy);
}

.service-card__title {
	margin-right: -26px;
	padding-top: 24px;
	color: var(--black);
	font-size: 20px;
	font-weight: 800;
	line-height: 28px;
}

.service-card__text {
	padding: 12px 0 24px;
	color: rgba(43, 43, 43, 0.8);
	font-size: 14px;
	line-height: 22.75px;
}

.service-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: var(--red-bright);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
}

.service-card__link:hover span:first-child {
	text-decoration: underline;
}

/* The whole card opens the service through its "En savoir plus" link. */
.service-card {
	position: relative;
	transition: transform 0.2s, border-color 0.2s;
}

.service-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 16px;
}

.service-card:has(.service-card__link) {
	cursor: pointer;
}

.service-card:has(.service-card__link):hover {
	border-color: rgba(227, 6, 19, 0.35);
	transform: translateY(-3px);
}

.service-card:hover .service-card__link span:first-child {
	text-decoration: underline;
}

.service-card__link:focus-visible {
	outline: none;
}

.service-card__link:focus-visible::after {
	outline: 2px solid var(--red-bright);
	outline-offset: 2px;
}

/* Commissions & mentoring ----------------------------------------------- */

.programmes {
	padding: 37px 0;
	background: var(--bg-alt);
}

.programmes__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px;
}

.programme {
	display: flex;
	flex-direction: column;
	min-height: 476px;
	border-radius: 16px;
}

.programme--light {
	padding: 36.5px 46.8px 23.5px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: var(--white);
}

.programme--dark {
	padding: 48.8px 48.8px 26px;
	border: 1px solid transparent;
	background: var(--navy);
	color: var(--white);
}

.programme__title {
	margin-top: 23px;
	font-family: var(--font-serif);
	font-size: 30px;
	font-weight: 700;
	line-height: 36px;
}

.programme--light .programme__title {
	color: var(--black);
}

.programme__text {
	margin-top: 23px;
	font-size: 16px;
	line-height: 22.75px;
}

.programme--light .programme__text {
	color: rgba(43, 43, 43, 0.9);
}

.programme--dark .programme__text {
	color: var(--grey-300);
}

.programme--dark .pill {
	margin-top: 1.6px;
}

.programme__list {
	display: flex;
	flex-direction: column;
	gap: 11px;
	margin-top: 20px;
}

.programme__list li {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 16px;
	color: var(--black);
	font-size: 13px;
	font-weight: 700;
	line-height: 16px;
}

.programme__list li::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background: var(--red-bright);
}

.button--lg {
	width: 180px;
	height: 56px;
	margin-top: 27px;
	margin-left: -4.8px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.programme__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 15px 12px;
	margin-top: 35.4px;
}

.button--small {
	padding: 12px 24px;
	color: var(--white);
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.button--red2 {
	background: var(--red-bright);
}

.button--red2:hover {
	background: #c70511;
}

.button--ghost {
	background: rgba(255, 255, 255, 0.1);
	font-weight: 600;
}

.button--ghost:hover {
	background: rgba(255, 255, 255, 0.18);
}

/* SwissEco -------------------------------------------------------------- */

.swisseco {
	--eco-left: max(var(--gutter-wide), calc((100% - 1279px) / 2));
	padding: 96px 0 59px;
}

.swisseco__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 32px 40px;
	width: min(1279px, 100% - 2 * var(--gutter-wide));
	margin-inline: auto;
}

.swisseco__head .section-title {
	margin-top: 12px;
	white-space: nowrap;
}

.swisseco__head .tabs {
	flex: none;
}

.tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 8px;
	width: 674px;
	max-width: 100%;
	padding: 6.8px;
	border: 1px solid var(--grey-200);
	border-radius: 12px;
	background: #f9fafb;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}

.tabs__tab {
	padding: 8px 16px;
	border-radius: 8px;
	color: var(--grey-500);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	text-transform: uppercase;
	transition: background-color 0.2s, color 0.2s;
}

.tabs__tab[aria-selected="true"] {
	background: var(--red);
	color: var(--white);
}

.tabs__tab:not([aria-selected="true"]):not(:disabled):hover {
	color: var(--ink);
}

.tabs__tab:disabled {
	cursor: default;
}

.swisseco__text {
	width: 558px;
	max-width: calc(100% - 2 * var(--gutter));
	margin: 18px 0 0 calc(var(--eco-left) + 4px);
	color: var(--grey-500);
	font-size: 16px;
	font-weight: 300;
	line-height: 22.75px;
}

.swisseco__panel {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
	width: min(1248px, 100% - var(--gutter) - var(--gutter-wide));
	margin: 26px 0 0 max(var(--gutter), calc((100% - 1216px) / 2));
}

.swisseco__panel[hidden] {
	display: none;
}

.eco-featured {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: flex-start;
	width: 488px;
	min-height: 601px;
	padding: 32.8px;
	border: 1px solid var(--grey-200);
	border-radius: 24px;
	background: var(--white);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.eco-featured__media {
	position: relative;
	width: 100%;
	height: 316.8px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--grey-200);
}

.eco-featured__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Generic SwissEco visual (no photo chosen): shown whole on its own white background,
   so its coloured bands are never cropped whatever the card ratio. */
.eco-featured__media--default {
	background: #fff;
}

.eco-featured__media--default .eco-featured__image {
	object-fit: contain;
}

.eco-featured__badge {
	position: absolute;
	top: 9px;
	left: 16px;
	padding: 4px 12px;
	border-radius: 4px;
	background: var(--ink);
	color: var(--white);
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	letter-spacing: 1px;
}

/* Month and year of the edito, between the photo and the title. */
.eco-featured__date {
	margin-top: 18px;
}

.eco-featured__date + .eco-featured__title {
	margin-top: 10px;
}

.eco-featured__title {
	margin-top: 18px;
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: 24px;
	font-weight: 700;
	line-height: 32px;
}

.eco-featured__text {
	margin-top: 21px;
	color: var(--grey-500);
	font-size: 14px;
	font-weight: 300;
	line-height: 22.75px;
}

.eco-featured__link {
	margin-top: 24px;
	color: var(--red);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.eco-featured__link:hover span {
	text-decoration: underline;
}

.eco-list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 75px;
	width: 696px;
	min-width: 0;
}

.eco-list__items {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.eco-item {
	padding: 16px 42px 16px 34px;
	border: 1px solid rgba(118, 118, 128, 0.19);
	border-radius: 16px;
	background: var(--white);
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}

.eco-item__date {
	display: inline-block;
	margin-top: 4px;
	padding: 2.5px 8px;
	border-radius: 4px;
	background: #fef2f2;
	color: var(--red);
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	text-transform: uppercase;
}

.eco-item__title {
	min-height: 37px;
	margin-top: 4px;
	padding-top: 4px;
	color: var(--ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
}

.eco-item__title a:hover {
	color: var(--red);
}

.eco-item__text {
	margin-top: 4px;
	color: var(--grey-500);
	font-size: 13px;
	line-height: 19px;
}

/* Community ------------------------------------------------------------- */

.community {
	padding: 64.5px 0;
	background: var(--bg-soft);
}

.community__inner {
	width: min(1216px, 100% - 2 * var(--gutter));
	margin-inline: auto;
	text-align: center;
}

.community__title {
	color: var(--black);
	font-family: var(--font-serif);
	font-size: 30px;
	font-weight: 800;
	line-height: 36px;
}

.community__text {
	margin-top: 10.5px;
	color: var(--grey-500);
	font-size: 14px;
	font-weight: 300;
	line-height: 22.75px;
}

.community__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin-top: 30.75px;
	text-align: left;
}

.community-card {
	overflow: hidden;
	border-radius: 16px;
	background: var(--white);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.community-card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 216px;
	background: var(--black);
}

.community-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
}

.community-card:first-child .community-card__image {
	object-position: top;
}

.community-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
	opacity: 0.85;
}

.community-card .play-button {
	position: relative;
	z-index: 1;
}

.community-card__body {
	display: flex;
	flex-direction: column;
	gap: 6.2px;
	min-height: 120px;
	padding: 29.2px 24px 24px;
}

.community-card__label {
	color: var(--red-bright);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.community-card--navy .community-card__label {
	color: var(--navy);
}

.community-card__title {
	color: var(--black);
	font-size: 16px;
	font-weight: 700;
	line-height: 22px;
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1279px) {
	.events__inner,
	.services__inner {
		width: min(1252px, 100% - 2 * var(--gutter));
		transform: none;
	}

	.section-head--split .section-title,
	.services .section-title {
		white-space: normal;
	}

	.swisseco__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.swisseco__head > div {
		max-width: 100%;
	}

	.swisseco__head .section-title {
		white-space: normal;
	}

	.swisseco__text {
		margin-left: var(--gutter);
	}

	.swisseco__panel {
		margin-left: var(--gutter);
	}

	.eco-featured {
		width: 42%;
	}

	.eco-list {
		flex: 1;
		width: auto;
	}


}

@media (max-width: 1023px) {
	.hero {
		min-height: 640px;
		padding-top: 96px;
	}

	.hero__title {
		font-size: 52px;
		line-height: 56px;
	}

	.hero__title-1 {
		white-space: normal;
	}

	.stats__card {
		flex-wrap: wrap;
		padding: 32px 24px;
		row-gap: 28px;
	}

	.stats__item,
	.stats__item:last-child {
		width: 50%;
		margin: 0;
		padding: 0 16px;
		border: 0;
		text-align: center;
	}

	.about {
		padding-top: 64px;
	}

	.about__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}

	.president,
	.about__body {
		grid-column: auto;
	}

	.president {
		width: min(520px, 100%);
		margin-inline: auto;
	}

	.events {
		padding: 64px 0;
	}

	.event-featured {
		width: min(520px, 100vw - 2 * var(--gutter));
	}

	.services {
		padding-top: 64px;
	}

	.programmes {
		padding: 72px 0;
	}

	.programmes__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.programme {
		min-height: 0;
	}

	.swisseco__panel {
		flex-direction: column;
		align-items: stretch;
	}

	.eco-featured,
	.eco-list {
		width: 100%;
	}

	.eco-featured {
		min-height: 0;
	}

	.eco-list {
		gap: 32px;
	}

	.community__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

}

@media (max-width: 767px) {
	.hero {
		min-height: 0;
		padding: 72px var(--gutter) 128px;
	}

	.hero__badge {
		padding: 8px 14px;
		font-size: 10px;
		letter-spacing: 1px;
	}

	.hero__title {
		font-size: 38px;
		line-height: 42px;
		letter-spacing: -0.8px;
	}

	.hero__text {
		margin-top: 24px;
		font-size: 16px;
		line-height: 26px;
	}

	.hero__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		margin-top: 32px;
	}

	.hero__actions .button {
		width: 100%;
	}

	.hero__scroll {
		bottom: 56px;
	}

	.stats__card {
		padding: 28px 12px;
	}

	.stats__value {
		font-size: 38px;
		line-height: 40px;
	}

	.about {
		padding: 48px 0;
	}

	.president {
		min-height: 0;
		padding: 32px 20px;
	}

	.about__title,
	.section-title,
	.section-title--32 {
		font-size: 28px;
		line-height: 34px;
	}

	.about__text {
		font-size: 16px;
		line-height: 26px;
	}

	.about__cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.about-card + .about-card {
		padding-bottom: 20px;
	}

	.section-head--split {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
	}

	.section-text,
	.services__text {
		font-size: 16px;
		line-height: 24px;
	}

	.events {
		padding: 48px 0;
	}

	.events__track {
		height: auto;
		margin-top: 32px;
	}

	.event-featured {
		height: auto;
	}

	.event-featured__body {
		position: relative;
		inset: auto;
		min-height: 100%;
		padding: 28px 24px;
	}

	.event-featured__title {
		margin-top: 40px;
		font-size: 28px;
		line-height: 34px;
	}

	.event-featured .button {
		margin-top: 28px;
	}

	.event-card {
		width: min(320px, 100vw - 2 * var(--gutter));
	}

	.services {
		padding: 48px 0 24px;
	}

	.services__text {
		margin-top: 20px;
	}

	.service-card {
		width: min(300px, 100vw - 2 * var(--gutter));
		padding: 28px;
	}

	.programmes {
		padding: 48px 0;
	}

	.programme--light,
	.programme--dark {
		padding: 28px 24px;
	}

	.programme__title {
		font-size: 26px;
		line-height: 32px;
	}

	.programme__list li {
		align-items: flex-start;
	}

	.programme__list li::before {
		margin-top: 4px;
	}

	.button--lg {
		margin-left: 0;
	}

	.swisseco {
		padding: 48px 0;
	}

	.tabs {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.tabs__tab {
		flex: none;
	}

	.swisseco__text {
		margin-top: 20px;
	}

	.swisseco__panel {
		margin-top: 32px;
	}

	.eco-featured {
		padding: 20px;
	}

	.eco-featured__media {
		height: 220px;
	}

	.eco-item {
		padding: 16px 20px;
	}

	.eco-item__title {
		font-size: 16px;
		line-height: 24px;
	}

	.community {
		padding: 48px 0;
	}

	.community__title {
		font-size: 26px;
		line-height: 32px;
	}

	.community__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* SwissEco tabs other than Édito (Figma 134:2639): En bref, Portrait, Nos événements,
   3 Questions à, Focus sur. ---------------------------------------------- */

.swisseco__panel:not(.swisseco__panel--edito) {
	display: block;
	width: min(1279px, 100% - 2 * var(--gutter-wide));
	margin: 30px auto 0;
}

.swisseco__panel:not(.swisseco__panel--edito)[hidden] {
	display: none;
}

.swisseco__more {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

/* Whole card clickable through its title link. */
.eco-brief__item,
.eco-card {
	position: relative;
}

.eco-brief__title a::after,
.eco-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.eco-brief__link,
.eco-card__button,
.eco-card__link {
	position: relative;
	z-index: 2;
}

/* En bref: numbered list. */
.eco-brief {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eco-brief__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 32px;
	padding: 24px 28px;
	border: 1px solid var(--grey-200);
	border-radius: 16px;
	background: var(--white);
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
	transition: border-color 0.2s;
}

.eco-brief__item:hover {
	border-color: var(--red);
}

.eco-brief__title {
	grid-column: 1;
	color: var(--ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
}

.eco-brief__text {
	grid-column: 1;
	overflow: hidden;
	margin-top: 4px;
	color: var(--grey-500);
	font-size: 16px;
	line-height: 22px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.eco-brief__link {
	grid-column: 2;
	grid-row: 2;
	align-self: end;
	color: var(--grey-500);
	font-size: 12px;
	font-weight: 700;
	line-height: 22px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	white-space: nowrap;
}

/* Thumbnail of the article on the left (its own card image, or featured image). */
.eco-brief__item--thumb {
	grid-template-columns: 88px minmax(0, 1fr) auto;
	column-gap: 24px;
}

.eco-brief__thumb {
	grid-row: 1 / span 2;
	grid-column: 1;
	align-self: center;
	width: 88px;
	height: 88px;
	overflow: hidden;
	border-radius: 10px;
	background: var(--grey-200);
}

.eco-brief__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eco-brief__item--thumb .eco-brief__title,
.eco-brief__item--thumb .eco-brief__text {
	grid-column: 2;
}

/* Title and text stay together, centred on the thumbnail. */
.eco-brief__item--thumb .eco-brief__title {
	align-self: end;
}

.eco-brief__item--thumb .eco-brief__text {
	align-self: start;
}

.eco-brief__item--thumb .eco-brief__link {
	grid-column: 3;
}

.eco-brief__item:hover .eco-brief__link {
	color: var(--red);
}

/* Portrait: photos, details sliding up on hover. */
.eco-portraits {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eco-portrait {
	position: relative;
	display: block;
	aspect-ratio: 300 / 387;
	overflow: hidden;
	border-radius: 12px;
	background: #080d14;
}

.eco-portrait__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.eco-portrait__layout {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	padding: 72px 24px 26px;
	background: linear-gradient(180deg, rgba(8, 13, 20, 0) 0%, rgba(8, 13, 20, 0.92) 55%);
	color: var(--white);
	transition: transform 0.35s ease, opacity 0.35s ease;
}

.eco-portrait__icon {
	position: relative;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--red);
}

/* Swiss cross. */
.eco-portrait__icon::before,
.eco-portrait__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	border-radius: 1px;
	background: rgba(255, 255, 255, 0.94);
	transform: translate(-50%, -50%);
}

.eco-portrait__icon::before {
	width: 14px;
	height: 5px;
}

.eco-portrait__icon::after {
	width: 5px;
	height: 14px;
}

.eco-portrait__name {
	margin-top: 12px;
	font-size: 15px;
	font-weight: 700;
	line-height: 21px;
}

.eco-portrait__role {
	color: var(--grey-300);
	font-size: 13px;
	line-height: 17px;
}

.eco-portrait__cta {
	margin-top: 14px;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
}

@media (hover: hover) {
	/* Without a photo, the details stay visible. */
	.eco-portrait:not(.eco-portrait--no-image) .eco-portrait__layout {
		opacity: 0;
		transform: translateY(100%);
	}

	.eco-portrait:hover .eco-portrait__layout,
	.eco-portrait:focus-visible .eco-portrait__layout {
		opacity: 1;
		transform: none;
	}

	.eco-portrait:hover .eco-portrait__image {
		transform: scale(1.04);
	}
}

/* Nos événements, Focus sur: cards. */
.eco-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eco-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--grey-200);
	border-radius: 16px;
	background: var(--white);
	transition: box-shadow 0.2s, transform 0.2s;
}

.eco-card:hover {
	box-shadow: 0 16px 30px -18px rgba(11, 20, 33, 0.35);
	transform: translateY(-2px);
}

.eco-card--event {
	background: #f6f7f9;
}

.eco-card__media {
	position: relative;
	height: 206px;
	overflow: hidden;
	background: var(--grey-200);
}

.eco-card--focus .eco-card__media {
	height: 190px;
}

.eco-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eco-card__tag {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 5px 12px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ink);
	font-size: 10px;
	font-weight: 700;
	line-height: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.eco-card__tag--glass {
	background: rgba(17, 24, 39, 0.55);
	color: var(--white);
	backdrop-filter: blur(4px);
}

.eco-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 22px 24px 24px;
}

.eco-card__date {
	color: var(--red);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
}

.eco-card__title {
	margin-top: 8px;
	color: var(--ink);
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
}

.eco-card--focus .eco-card__title {
	margin-top: 0;
	font-size: 18px;
	line-height: 26px;
}

.eco-card__text {
	display: -webkit-box;
	overflow: hidden;
	margin-top: 10px;
	color: var(--grey-500);
	font-size: 14px;
	line-height: 21px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.eco-card--focus .eco-card__text {
	-webkit-line-clamp: 4;
}

.eco-card__button {
	margin-top: auto;
	padding: 10px 26px;
	border-radius: 8px;
	background: #0b1f33;
	color: var(--white);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	transform: translateY(18px);
	transition: background-color 0.2s;
}

.eco-card--event .eco-card__body {
	padding-bottom: 42px;
}

.eco-card__button:hover {
	background: #13304d;
}

.eco-card__link {
	width: 100%;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--grey-200);
	color: var(--ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 18px;
	transform: translateY(14px);
}

.eco-card--focus .eco-card__body {
	padding-bottom: 36px;
}

.eco-card__link span {
	display: inline-block;
	margin-left: 4px;
	transition: transform 0.2s;
}

.eco-card:hover .eco-card__link span {
	transform: translateX(3px);
}

/* 3 Questions à: list with photo. */
.eco-qa {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eco-qa__item {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 18px 22px;
	border: 1px solid var(--grey-200);
	border-radius: 16px;
	background: var(--white);
	transition: border-color 0.2s;
}

.eco-qa__item:hover {
	border-color: var(--red);
}

.eco-qa__photo {
	flex: none;
	width: 100px;
	height: 100px;
	overflow: hidden;
	border-radius: 10px;
	background: var(--grey-200);
}

.eco-qa__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eco-qa__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.eco-qa__title {
	color: var(--ink);
	font-size: 17px;
	font-weight: 700;
	line-height: 25px;
}

.eco-qa__item:hover .eco-qa__title {
	color: var(--red);
}

.eco-qa__text {
	display: -webkit-box;
	overflow: hidden;
	color: var(--grey-500);
	font-size: 14px;
	line-height: 21px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

@media (max-width: 1279px) {
	.swisseco__panel:not(.swisseco__panel--edito) {
		width: calc(100% - 2 * var(--gutter));
	}
}

@media (max-width: 1023px) {
	.eco-portraits,
	.eco-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.swisseco__panel:not(.swisseco__panel--edito) {
		margin-top: 28px;
	}

	.eco-brief__item {
		grid-template-columns: minmax(0, 1fr);
		padding: 18px 20px;
	}

	.eco-brief__title {
		font-size: 16px;
		line-height: 24px;
	}

	.eco-brief__text {
		display: -webkit-box;
		font-size: 14px;
		white-space: normal;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.eco-brief__link {
		grid-column: 1;
		grid-row: auto;
		margin-top: 10px;
	}

	.eco-brief__item--thumb {
		grid-template-columns: 64px minmax(0, 1fr);
		column-gap: 14px;
	}

	.eco-brief__item--thumb .eco-brief__thumb {
		align-self: start;
		width: 64px;
		height: 64px;
		border-radius: 8px;
	}

	.eco-brief__item--thumb .eco-brief__link {
		grid-column: 2;
	}

	.eco-portraits {
		gap: 12px;
	}

	.eco-portrait__layout {
		padding: 56px 14px 16px;
	}

	.eco-portrait__name {
		font-size: 13px;
		line-height: 18px;
	}

	.eco-portrait__role {
		font-size: 12px;
	}

	.eco-cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.eco-qa__item {
		align-items: flex-start;
		gap: 14px;
		padding: 14px;
	}

	.eco-qa__photo {
		width: 64px;
		height: 64px;
	}

	.eco-qa__title {
		font-size: 15px;
		line-height: 22px;
	}
}
