/*
Theme Name: BF Connect
*/

/* =========================
   Base
========================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	line-height: 1.6;
	color: #1f2937;
	background: #f3f3f3;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
}

.container {
	width: min(1200px, calc(100% - 2rem));
	margin-inline: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	line-height: 1.15;
	font-family: "Oswald", sans-serif;
}

nav {
	font-family: "Oswald", sans-serif;
}

h1 {
	font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
	font-size: clamp(2rem, 4vw, 2.2rem);
	font-weight: 500;
	margin-bottom: 2rem;
}

h3 {
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
}

p {
	margin-top: 0;
	margin-bottom: 1rem;
}

p,
blockquote,
div {
	font-family: "Roboto Condensed", sans-serif;
}
.bf_page-header{padding:7rem 0;}
/* =========================
   Boutons
========================= */
.bf-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.65rem 1.5rem;
	border-radius: 6px;
	background: #e3013a;
	color: #fff;
	font-weight: 700;
	border: 1px solid #e3013a;
	transition: 0.2s ease;
}

.bf-button:hover {
	background: #c8003c;
	border-color: #c8003c;
}

.bf-button--secondary {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.bf-button--secondary:hover {
	background: rgba(255, 255, 255, 0.12);
}

/* =========================
   Boutons filtres communs
========================= */
.bf-filter-btn {
	border: 1px solid #979797;
	background: #fff;
	padding: 0.4rem 1rem;
	border-radius: 11px;
	cursor: pointer;
	font-size: 0.92rem;
	font-weight: 600;
	transition: 0.2s ease;
	color: #858585;
	box-shadow: 0 0 16px -5px rgb(151 151 151);
}

.bf-filter-btn:hover,
.bf-filter-btn.is-active {
	background: #e3013a;
	color: #fff;
	border-color: #e3013a;
	box-shadow: none;
}

.bf-filter-btn--plus {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.bf-filter-btn--reset {
	background: #111;
	color: #fff;
	border-color: #111;
}

.bf-filter-btn--reset:hover {
	background: #e3013a;
	border-color: #e3013a;
	color: #fff;
}

/* =========================
   Header sticky + logos
========================= */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: transparent;
	padding: 1rem 0;
	transition:
		background-color 0.25s ease,
		box-shadow 0.25s ease,
		padding 0.25s ease,
		backdrop-filter 0.25s ease;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: 64px;
}

.site-header__brand {
	display: flex;
	align-items: center;
}

.site-header__logo {
	display: inline-flex;
	align-items: center;
	position: relative;
	line-height: 1;
	font-size: 2rem;
	font-weight: 800;
	color: #fff;
}

.site-header__logo img {
	display: block;
}

.site-header__logo .logocouleur {
	display: none;
}

.site-header__logo .logoblanc {
	display: block;
}

.site-header.is-scrolled,
body:not(.home) .site-header {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	padding: 0.55rem 0;
}

.site-header.is-scrolled .site-header__logo .logoblanc,
body:not(.home) .site-header .site-header__logo .logoblanc {
	display: none;
}

.site-header.is-scrolled .site-header__logo .logocouleur,
body:not(.home) .site-header .site-header__logo .logocouleur {
	display: block;
}

/* =========================
   Navigation desktop
========================= */
.site-header__nav--desktop {
	display: block;
}

.site-header__menu {
	display: flex;
	align-items: center;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-header__menu a {
	color: #fff;
	font-weight: 500;
	font-size: 1rem;
	transition: color 0.25s ease;
}
.site-header__menu a:hover,
.site-header__menu .current-menu-item > a {
	text-decoration: none;
	color: #e3013a;
}

.site-header.is-scrolled .site-header__menu a,
body:not(.home) .site-header .site-header__menu a {
	color: #111;
}
.site-header.is-scrolled .site-header__menu a:hover,
.site-header.is-scrolled .site-header__menu .current-menu-item > a {
	color: #111;
	text-decoration: underline;
}
.site-header__menu .menu-anchor-only.current-menu-item > a,
.site-header__menu .menu-anchor-only.current_page_item > a {
	color: #fff;
	text-decoration: none;
}

.site-header.is-scrolled .site-header__menu .menu-anchor-only.current-menu-item > a,
.site-header.is-scrolled .site-header__menu .menu-anchor-only.current_page_item > a {
	color: inherit;
	text-decoration: none;
}
/* =========================
   Bouton burger
========================= */
.site-header__toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin: 0;
	flex: 0 0 auto;
}

.site-header__toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	border-radius: 999px;
	transition: 0.2s ease;
}

.site-header.is-scrolled .site-header__toggle span,
body:not(.home) .site-header .site-header__toggle span {
	background: #111;
}

/* =========================
   Panneau mobile
========================= */
.site-mobile-panel[hidden] {
	display: none !important;
}

.site-mobile-panel {
	position: fixed;
	inset: 0;
	z-index: 2000;
}

.site-mobile-panel__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.site-mobile-panel__dialog {
	position: relative;
	z-index: 2;
	width: min(360px, calc(100% - 2rem));
	height: 100%;
	margin-left: auto;
	background: #fff;
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
	padding: 1rem 1.25rem 2rem;
	display: flex;
	flex-direction: column;
}

.site-mobile-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 1rem;
}

.site-mobile-panel__close {
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 999px;
	background: #f3f4f6;
	color: #111;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.site-mobile-panel__close svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.site-mobile-panel__nav {
	flex: 1 1 auto;
	overflow: auto;
}

.site-mobile-panel__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.site-mobile-panel__menu li {
	margin: 0;
}

.site-mobile-panel__menu a {
	display: block;
	padding: 0.85rem 0;
	font-size: 1.05rem;
	font-weight: 600;
	color: #111827;
	border-bottom: 1px solid #f1f5f9;
}

.site-mobile-panel__menu .current-menu-item > a {
	color: #e50046;
}

.mobile-menu-open {
	overflow: hidden;
}

/* =========================
   Espacements pages internes
========================= */
.bf-page {
	padding-top: 7rem;
}

/* =========================
   Responsive header
========================= */
@media (max-width: 900px) {
	.site-header__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
	}

	.site-header__nav--desktop {
		display: none;
	}

	.site-header__toggle {
		display: inline-flex;
	}
}

@media (max-width: 768px) {
	.site-header__menu {
		flex-wrap: wrap;
		gap: 1rem;
	}
}
/* =========================
   Titres de section communs
========================= */

.bf-section-title {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 2.2rem;
	font-weight: 900;
	margin-bottom: 2rem;
	color: #111;
}

.bf-section-title__icon {
	font-size: 1.4rem;
}

/* =========================
   Grille / cartes événements communes
========================= */

.bf-events-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.8rem;
}

.bf-event-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
	overflow: hidden;
}

.bf-event-card__link {
	display: block;
	height: 100%;
}

.bf-event-card__image {
	position: relative;
}

.bf-event-card__image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.bf-event-card__content {
	padding: 1rem 1rem 1.2rem;
}

.bf-event-card__themes {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	z-index: 2;
	margin: 0;
}

.bf-event-card__theme-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.55rem;
	background: #e50046;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	border-radius: 3px;
}

.bf-event-card__title {
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.35;
	margin-top: 0.8rem;
	margin-bottom: 0.7rem;
}

.bf-event-card__meta {
	display: flex;
	align-items: center;
	gap: /*0.4*/.2rem;
	font-size: 0.92rem;
	color: #666;
	margin-bottom: 0.35rem;
	line-height: 1.5;
}

.bf-event-card__meta-icon {
	display: inline-flex;
	width: 1rem;
	justify-content: center;
	flex: 0 0 1rem;
}

.bf-event-card__excerpt {
	font-size: 0.95rem;
	color: #444;
	line-height: 1.6;
	margin-top: 0.8rem;
	margin-bottom: 0.8rem;
}

.bf-event-card__cta {
	display: inline-block;
	margin-top: 0.4rem;
	font-weight: 700;
	font-size: 0.95rem;
	color: #e50046;
}

@media (max-width: 1100px) {
	.bf-events-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.bf-events-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================
   Carrousel partenaires
========================= */

.bf-home-partners {
	background: #efefef;
}

.bf-home-partners__inner {
	padding: 2rem 0;
}

.bf-home-partners h2 {
	text-align: center;
	margin-bottom: 1rem;
}

.bf-home-partners .bf-section-intro {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.bf-partners-carousel {
	position: relative;
	padding: 0 3.5rem 3rem;
}

.bf-partners-carousel__viewport {
	overflow: hidden;
}

.bf-partners-carousel__track {
	display: flex;
	gap: 24px;
	transition: transform 0.35s ease;
	will-change: transform;
}

.bf-partners-carousel__slide {
	flex: 0 0 calc((100% - 48px) / 3);
	min-width: 0;
}

.bf-partner-item {
	background: #fff;
	min-height: 190px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	box-shadow: 0 3px 10px rgba(0,0,0,0.07);
}

.bf-partner-item a,
.bf-partner-item > img,
.bf-partner-item a img {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bf-partner-item img {
	max-width: 100%;
	max-height: 90px;
	object-fit: contain;
	margin: auto;
}

/*.bf-partners-carousel__arrow {
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid #e5e5e5;
	background: #fff;
	color: #e50046;
	font-size: 2rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(0,0,0,0.08);
	z-index: 3;
}
*/
.bf-partners-carousel__arrow:hover {
	background: #f8f8f8;
}

.bf-partners-carousel__arrow:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.bf-partners-carousel__arrow--prev {
	left: 0;
}

.bf-partners-carousel__arrow--next {
	right: 0;
}

.bf-partners-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

.bf-partners-carousel__dot {
	width: 12px;
	height: 12px;
	border-radius: 999px;
	border: 0;
	background: #8e8e8e;
	cursor: pointer;
	padding: 0;
}

.bf-partners-carousel__dot.is-active {
	width: 42px;
	background: #e50046;
}

@media (max-width: 1100px) {
	.bf-partners-carousel__slide {
		flex: 0 0 calc((100% - 24px) / 2);
	}
}

@media (max-width: 768px) {
	.bf-partners-carousel {
		padding: 0 2.8rem 2.5rem;
	}

	.bf-partners-carousel__slide {
		flex: 0 0 100%;
	}
}

/* =========================
   Carrousel experts / témoignages commun
========================= */

.bf-experts-carousel {
	position: relative;
	padding: 0 3.5rem 3rem;
}

.bf-experts-carousel__viewport {
	overflow: hidden;
}

.bf-experts-carousel__track {
	display: flex;
	gap: 32px;
	transition: transform 0.35s ease;
	will-change: transform;
}

.bf-experts-carousel__slide {
	flex: 0 0 calc((100% - 64px) / 3);
	min-width: 0;
}

.bf-testimonial-card {
	background: transparent;
	border: 0;
	box-shadow: none;
	text-align: center;
}

.bf-testimonial-card__avatar {
	padding: 0;
	margin-bottom: 1rem;
}

.bf-testimonial-card__avatar img {
	width: 220px;
	height: 220px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto;
}

.bf-testimonial-card__content {
	padding: 0;
}

.bf-testimonial-card__content h3 {
	font-size: 1rem;
	font-weight: 700;
	color: #e50046;
	margin-bottom: 0.35rem;
}

.bf-testimonial-card__content p {
	font-size: 0.92rem;
	color: #555;
	line-height: 1.45;
	margin-bottom: 0.75rem;
}

.bf-testimonial-card blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.2;
	color: #000;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.bf-testimonial-card__link {
	margin-top: 0.8rem;
}

.bf-testimonial-card__link a {
	color: #e50046;
	font-size: 0.95rem;
	font-weight: 700;
}

.bf-experts-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid #e5e5e5;
	background: #fff;
	color: #e50046;
	font-size: 2rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
	z-index: 3;
}

.bf-experts-carousel__arrow:hover {
	background: #f8f8f8;
}

.bf-experts-carousel__arrow:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.bf-experts-carousel__arrow--prev {
	left: -10px;
}

.bf-experts-carousel__arrow--next {
	right: -10px;
}

.bf-experts-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

.bf-experts-carousel__dot {
	width: 12px;
	height: 12px;
	border-radius: 999px;
	border: 0;
	background: #8e8e8e;
	cursor: pointer;
	padding: 0;
}

.bf-experts-carousel__dot.is-active {
	width: 42px;
	background: #e50046;
}

@media (max-width: 1100px) {
	.bf-experts-carousel__slide {
		flex: 0 0 calc((100% - 32px) / 2);
	}

	.bf-testimonial-card__avatar img {
		width: 180px;
		height: 180px;
	}
}

@media (max-width: 768px) {
	.bf-experts-carousel {
		padding: 0 2.8rem 2.5rem;
	}

	.bf-experts-carousel__slide {
		flex: 0 0 100%;
	}

	.bf-testimonial-card__avatar img {
		width: 160px;
		height: 160px;
	}

	.bf-testimonial-card blockquote {
		font-size: 1.05rem;
	}
}

/* =========================
   Icônes / vidéo communes ponctuelles
========================= */

.bf-video-slider__slide .material-symbols-outlined,
.bf-video-slider__media .material-symbols-outlined {
	font-size: 5rem;
}

.bf-media-thumb__video-inner .bf-video-slider__play {
	width: 50px;
	height: 50px;
}
/* =========================
   Footer
========================= */
.site-footer {
	background: #e50046;
	color: #fff;
	padding: 0 0 1rem;
}

.site-footer__inner {
	display: none;
}

.bf-site-footer-cta {
	background: #e50046;
	color: #fff;
	padding: 2rem 0;
}

.bf-site-footer-cta .container {
	display: grid;
	grid-template-columns: 320px 1fr 280px;
	align-items: center;
	gap: 2rem;
}

.bf-site-footer-cta__box {
	background: #fff;
	color: #111;
	padding: 2rem 1.5rem;
	max-width: 320px;
	border-radius: 4px;
}

.bf-site-footer-cta__box h2 {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.bf-site-footer-cta__box .bf-button {
	width: 100%;
	border-radius: 4px;
}

.bf-site-footer-cta__center {
	text-align: center;
}

.bf-site-footer-cta__logo {
	display: inline-flex;
	justify-content: center;
	margin-bottom: 0.8rem;
}

.bf-site-footer-cta__logo img {
	width: 140px;
	height: 75px;
	margin: 0 auto;
}

.bf-site-footer-cta__center p {
	margin-bottom: 0;
	font-size: 1rem;
}

.bf-site-footer-cta__links {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	align-items: flex-start;
}

.bf-site-footer-cta__links a,
.bf-site-footer-cta__links span {
	color: #fff;
	font-size: 0.98rem;
}

.bf-site-footer-cta__links a:hover {
	text-decoration: underline;
}

@media (max-width: 1100px) {
	.bf-site-footer-cta .container {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.bf-site-footer-cta__box {
		margin: 0 auto;
	}

	.bf-site-footer-cta__links {
		align-items: center;
	}
}
/***********/
.section-related-events .material-symbols-outlined,.bf-event-card .material-symbols-outlined{font-size: 16px;line-height: 1.2;color: #e3013a;}