:root {
	--color-text: #111;
	--color-bg: #f5f5f5;
	--color-white: #ffffff;
	--color-border: #dddddd;

	--theme-federale: #c51b8a;
	--theme-socio: #f2a100;
	--theme-als: #b7c800;
	--theme-formation: #0ea5c6;
	--theme-contact: #444444;

	--primary: #111111;
}

/* =========================
   THÈMES
========================= */

body.theme-federale { --primary: var(--theme-federale); }
body.theme-socio { --primary: var(--theme-socio); }
body.theme-als { --primary: var(--theme-als); }
body.theme-formation { --primary: var(--theme-formation); }
body.theme-contact { --primary: var(--theme-contact); }

/* =========================
   BASE
========================= */

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: Arial, sans-serif;
	color: var(--color-text);
	background: var(--color-bg);
}

.container {
	width: min(1280px, 94%);
	margin: 0 auto;
}

.site-main {
	padding: 32px 0;
}

.site-header,
.site-footer {
	background: var(--color-white);
	border-bottom: 1px solid var(--color-border);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	gap: 24px;
}

.primary-menu,
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 16px;
}

.primary-menu a,
.footer-menu a {
	text-decoration: none;
	color: var(--color-text);
}

.primary-menu a:hover {
	color: #b7c800;
}

.home-hero,
.home-news,
.home-calendar,
.content-page,
.content-single,
.component-links {
	background: #fff;
	padding: 24px;
	margin-bottom: 24px;
	border: 1px solid var(--color-border);
}

.news-grid,
.links-grid {
	display: grid;
	gap: 20px;
}

.news-grid {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.links-grid {
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.section-link {
	display: block;
	padding: 16px;
	text-align: center;
	background: var(--primary);
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
}

/* =========================
   PAGE PORTAIL
========================= */

.portal-page {
	padding-top: 12px;
}

.portal-header {
	margin-bottom: 24px;
}

.portal-title {
	margin: 0;
	font-size: 2.4rem;
	color: #b7c800;
}

.portal-intro {
	background: #fff;
	padding: 24px;
	margin-bottom: 24px;
	border: 1px solid var(--color-border);
}

.portal-intro-elementor {
	background: transparent !important;
	padding: 0 !important;
	border: none !important;
	margin-bottom: 0 !important;
}

.component-title {
	font-size: 1.6rem;
	font-weight: 600;
	margin-bottom: 20px;
	color: #111;
}

/* =========================
   SOUS-NAVIGATION
========================= */

.component-subnav {
	background: #fff;
	padding: 24px;
	margin-bottom: 24px;
	border: 1px solid var(--color-border);
}

.subnav-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.subnav-card {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	padding: 20px;
	text-align: center;
	text-decoration: none;
	background: var(--primary);
	color: #fff;
	border-radius: 8px;
	font-weight: 700;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.subnav-card:hover {
	transform: translateY(-2px);
	opacity: 0.92;
}

.subnav-card-title {
	display: block;
}

/* =========================
   HERO DE PAGE
========================= */

.page-hero-simple {
	background: transparent !important;
	border: none !important;
	padding: 8px 0 22px 0 !important;
	margin-bottom: 30px !important;
}

.page-hero-inner {
	display: flex;
	align-items: center !important;
	gap: 14px !important;
	min-height: auto !important;
}

.page-back-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	text-decoration: none;
	color: var(--color-text);
	flex-shrink: 0;
}

.page-back-link:hover .page-back-arrow {
	color: #b7c800;
	transform: translateX(-2px);
}

.page-back-arrow {
	font-size: 3.2rem !important;
	line-height: 1;
	color: #111;
	transition: transform 0.2s ease, color 0.2s ease;
}

.page-hero-title {
	margin: 0;
	font-size: clamp(2.4rem, 5vw, 3.7rem) !important;
	font-family: Georgia, "Times New Roman", serif !important;
	font-weight: 500 !important;
	line-height: 1.1 !important;
	color: #111;
}

/* =========================
   STATS
========================= */

.component-stats {
	background: #efefef;
	padding: 26px 32px;
	margin-bottom: 24px;
	border: 1px solid var(--color-border);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	text-align: center;
}

.stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.stat-item strong {
	font-size: 2.6rem;
	font-weight: 700;
	color: #b7c800;
	line-height: 1;
}

.stat-item span {
	margin-top: 8px;
	font-size: 0.95rem;
	color: #333;
}

/* =========================
   BLOC TEXTE + IMAGE
========================= */

.component-text-image {
	background: #fff;
	padding: 32px;
	margin-bottom: 24px;
	border: 1px solid var(--color-border);
}

.text-image-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 36px;
	align-items: center;
}

.text-image-grid--reverse {
	grid-template-columns: 1fr 1.2fr;
}

.text-image-grid--reverse .text-image-content {
	order: 2;
}

.text-image-grid--reverse .text-image-media {
	order: 1;
}

.text-image-title {
	margin: 0 0 18px 0;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	line-height: 1.15;
	color: #111;
}

.text-image-text p {
	margin: 0 0 16px 0;
	line-height: 1.7;
	color: #222;
}

.text-image-media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

/* =========================
   BLOC DISPOSITIFS
========================= */

.component-devices {
	background: #fff;
	padding: 32px;
	margin-bottom: 24px;
	border: 1px solid var(--color-border);
}

.devices-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}

.device-card {
	background: #f5f5f5;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.device-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.device-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.device-card-inner {
	padding: 24px;
	border-top: 6px solid var(--primary);
	height: 100%;
}

.device-card-title {
	margin: 0 0 12px 0;
	font-size: 1.35rem;
	line-height: 1.2;
	color: #111;
}

.device-card-text {
	margin: 0;
	line-height: 1.6;
	color: #333;
}

/* =========================
   ACTUALITÉS
========================= */

.home-news {
	background: #fff;
	padding: 32px;
	margin-bottom: 24px;
	border: 1px solid var(--color-border);
}

.home-news-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.home-news-all {
	text-decoration: none;
	color: #b7c800;
	font-weight: 600;
}

.home-news-all:hover {
	text-decoration: underline;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.news-card {
	display: block;
	background: #f7f7f7;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	min-width: 0;
}

.news-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.news-card-link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	height: 100%;
	min-width: 0;
}

.news-card-media {
	width: 100%;
	overflow: hidden;
	flex-shrink: 0;
}

.news-card-media img,
.news-card-placeholder {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.news-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e8e8e8;
	color: #666;
	font-weight: 600;
}

.news-card-content {
	padding: 20px;
	min-width: 0;
}

.news-card-date {
	margin: 0 0 10px 0;
	font-size: 0.9rem;
	color: #b7c800;
	font-weight: 600;
}

.news-card-title {
	margin: 0 0 12px 0;
	font-size: 1.25rem;
	line-height: 1.25;
	color: #111;
	word-break: break-word;
}

.news-card-excerpt {
	color: #333;
	line-height: 1.6;
	font-size: 0.98rem;
	word-break: break-word;
}

/* =========================
   AGENDA
========================= */

.home-calendar {
	background: #fff;
	padding: 32px;
	margin-bottom: 24px;
	border: 1px solid var(--color-border);
}

.home-calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.home-calendar-all {
	text-decoration: none;
	color: #b7c800;
	font-weight: 600;
}

.home-calendar-all:hover {
	text-decoration: underline;
}

.calendar-list {
	display: grid;
	gap: 16px;
}

.calendar-item {
	border: 1px solid #e3e3e3;
	background: #efefef;
	overflow: hidden;
}

.calendar-item-link {
	display: grid;
	grid-template-columns: 90px 1fr;
	text-decoration: none;
	color: inherit;
	min-height: 92px;
}

.calendar-item-date {
	background: #3DBEB5;
	color: #111;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 10px;
	text-align: center;
}

.calendar-day {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}

.calendar-month {
	font-size: 0.95rem;
	font-weight: 600;
	text-transform: lowercase;
	margin-top: 4px;
}

.calendar-year {
	font-size: 0.85rem;
	margin-top: 2px;
}

.calendar-item-content {
	padding: 18px 22px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.calendar-item-title {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.25;
	color: #111;
}

.calendar-item-venue {
	margin: 0;
	color: #444;
	line-height: 1.5;
}

/* =========================
   HERO HOME
========================= */

.hero-home {
	margin-bottom: 24px;
}

.hero-slider {
	position: relative;
	height: clamp(320px, 52vw, 560px);
	overflow: hidden;
	border-radius: 10px;
	background: #ddd;
}

.hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	transform: scale(1.03);
	transition:
		opacity 0.8s ease,
		transform 4.5s ease,
		visibility 0.8s ease;
	z-index: 1;
}

.hero-slide.active {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	z-index: 2;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.15) 0%,
		rgba(0, 0, 0, 0.28) 40%,
		rgba(0, 0, 0, 0.45) 100%
	);
	z-index: 1;
}

.hero-content {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 30px;
}

.hero-content-inner {
	max-width: 900px;
}

.hero-content h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 4.6vw, 4rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: 0.01em;
	text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

.hero-prev,
.hero-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	width: 50px;
	height: 50px;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	transition:
		background 0.2s ease,
		transform 0.2s ease,
		opacity 0.2s ease;
}

.hero-prev { left: 18px; }
.hero-next { right: 18px; }

.hero-prev:hover,
.hero-next:hover {
	background: rgba(255, 255, 255, 0.28);
}

.hero-prev:active,
.hero-next:active {
	transform: translateY(-50%) scale(0.97);
}

.hero-dots {
	position: absolute;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 10px;
}

.hero-dot {
	width: 11px;
	height: 11px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	padding: 0;
	transition:
		transform 0.2s ease,
		background 0.2s ease,
		opacity 0.2s ease;
}

.hero-dot.active {
	background: #fff;
	transform: scale(1.15);
}

.hero-dot:hover {
	background: rgba(255, 255, 255, 0.8);
}

/* =========================
   PARTENAIRES
========================= */

.home-partners {
	background: #fff;
	padding: 32px;
	margin-bottom: 24px;
	border: 1px solid var(--color-border);
}

.home-partners-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.partners-carousel {
	display: grid;
	grid-template-columns: 52px 1fr 52px;
	gap: 18px;
	align-items: center;
}

.partners-track-wrapper {
	overflow: hidden;
	width: 100%;
}

.partners-track {
	display: flex;
	gap: 40px;
	transition: transform 0.45s ease;
	will-change: transform;
	align-items: center;
}

.partner-item {
	flex: 0 0 calc((100% - 120px) / 4);
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 110px;
}

.partner-logo-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
}

.partner-logo-button img {
	max-width: 100%;
	max-height: 90px;
	object-fit: contain;
	display: block;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.partner-logo-button:hover img {
	transform: scale(1.04);
}

.partners-prev,
.partners-next {
	width: 52px;
	height: 52px;
	border: none;
	border-radius: 999px;
	background: #f1f1f1;
	color: #111;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.partners-prev:hover,
.partners-next:hover {
	background: #e5e5e5;
}

.partners-prev:active,
.partners-next:active {
	transform: scale(0.97);
}

/* =========================
   HEADER PREMIUM
========================= */

.site-header {
	background: #fff;
	border-bottom: 1px solid var(--color-border);
	position: sticky;
	top: 0;
	z-index: 50;
}

.header-top {
	display: grid;
	grid-template-columns: 180px 1fr;
	align-items: center;
	gap: 28px;
	padding: 14px 0 10px 0;
}

.site-branding {
	display: flex;
	align-items: center;
}

.site-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.custom-logo {
	max-height: 58px;
	width: auto;
	display: block;
}

.site-title {
	font-size: 1.4rem;
	font-weight: 700;
	color: #111;
}

.main-navigation {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

.primary-menu > li {
	position: relative;
	--menu-accent: #111;
}

.primary-menu > li:nth-child(1) { --menu-accent: var(--theme-federale); }
.primary-menu > li:nth-child(2) { --menu-accent: var(--theme-socio); }
.primary-menu > li:nth-child(3) { --menu-accent: var(--theme-als); }
.primary-menu > li:nth-child(4) { --menu-accent: var(--theme-formation); }
.primary-menu > li:nth-child(5) { --menu-accent: var(--theme-contact); }

.primary-menu > li > a {
	text-decoration: none;
	color: #111;
	font-weight: 500;
	font-size: 1rem;
	padding: 8px 14px;
	border-radius: 999px;
	display: inline-block;
	transition: all 0.25s ease;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a {
	background: var(--menu-accent);
	color: #fff;
}

.primary-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 10px 0;
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 240px;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 100;
	display: block;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-menu .sub-menu li {
	margin: 0;
}

.primary-menu .sub-menu a {
	display: block;
	padding: 10px 16px;
	text-decoration: none;
	color: #222;
	font-size: 0.96rem;
	transition: background 0.2s ease, color 0.2s ease;
}

.primary-menu > li .sub-menu a:hover {
	background: rgba(0, 0, 0, 0.03);
	color: var(--menu-accent);
}

/* =========================
   RECHERCHE PREMIUM
========================= */

.header-search-row {
	padding-bottom: 16px;
}

.header-search {
	max-width: 460px;
}

.header-search-form {
	position: relative;
	margin: 0;
}

.header-search-form .search-field {
	width: 100%;
	height: 46px;
	padding: 0 18px 0 48px;
	border: 1px solid #dddddd;
	border-radius: 12px;
	background: linear-gradient(180deg, #f3f3f3 0%, #ececec 100%);
	color: #111;
	font-size: 0.96rem;
	outline: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-search-form .search-field::placeholder {
	color: #7b7b7b;
}

.header-search-form .search-field:focus {
	background: #ffffff;
	border-color: #cfcfcf;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.header-search-form::before {
	content: "⌕";
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1rem;
	color: #777;
	z-index: 1;
	pointer-events: none;
}

/* =========================
   RÉSEAUX SOCIAUX
========================= */

.home-socials {
	background: #fff;
	padding: 28px 32px;
	margin-bottom: 24px;
	border: 1px solid var(--color-border);
	text-align: center;
}

.home-socials-title {
	margin: 0 0 22px 0;
	font-size: 1.2rem;
	font-weight: 500;
	color: #111;
}

.socials-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	flex-wrap: wrap;
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 54px;
	height: 54px;
	padding: 0 14px;
	border-radius: 999px;
	text-decoration: none;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.social-link:hover {
	transform: translateY(-2px);
	opacity: 0.96;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.social-instagram {
	background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%);
}

.social-facebook { background: #1877f2; }
.social-linkedin { background: #0a66c2; }
.social-youtube { background: #ff0000; }

/* =========================
   FOOTER PREMIUM
========================= */

.site-footer-premium {
	background: #111111;
	color: #f2f2f2;
	border-top: none;
	margin-top: 32px;
}

.footer-main {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr;
	gap: 36px;
	padding: 42px 0 28px 0;
}

.footer-brand-logo .custom-logo {
	max-height: 54px;
	width: auto;
	filter: brightness(1.05);
}

.footer-site-title {
	font-size: 1.3rem;
	font-weight: 700;
	color: #fff;
}

.footer-brand-text {
	margin: 16px 0 0 0;
	line-height: 1.6;
	color: #d6d6d6;
	font-size: 0.95rem;
}

.footer-title {
	margin: 0 0 14px 0;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #ffffff;
}

.footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.footer-list a {
	text-decoration: none;
	color: #d6d6d6;
	font-size: 0.94rem;
	transition: color 0.2s ease;
}

.footer-list a:hover {
	color: #ffffff;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 14px 0;
	background: #0b0b0b;
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.footer-bottom p {
	margin: 0;
	font-size: 0.86rem;
	color: #bdbdbd;
}

/* =========================
   ALS CARDS
========================= */

.component-als-cards {
	background: #fff;
	padding: 28px 32px;
	margin-bottom: 24px;
	border: 1px solid var(--color-border);
}

.component-als-title {
	margin: 0 0 22px 0;
	font-size: 2rem;
	font-weight: 500;
	color: #111;
}

.als-cards-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	max-width: 760px;
	margin: 0 auto;
}

.als-card {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 86px;
	padding: 16px;
	text-align: center;
	text-decoration: none;
	background: var(--theme-als);
	color: #111;
	border-radius: 6px;
	font-size: 1.6rem;
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.1;
	transition: transform 0.2s ease, opacity 0.2s ease;
	width: 220px;
}

.als-card:hover {
	transform: translateY(-2px);
	opacity: 0.95;
}

.als-cards-grid .als-card:nth-child(2),
.als-cards-grid .als-card:nth-child(4) {
	background: #d6dd77;
}

/* =========================
   ALS GALLERY
========================= */

.component-als-gallery {
	margin-bottom: 24px;
}

.als-gallery-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.als-gallery-item {
	width: 260px;
	overflow: hidden;
	border-radius: 6px;
}

.als-gallery-item img {
	height: 160px;
	object-fit: cover;
	width: 100%;
}

.als-gallery-item:hover img {
	transform: scale(1.05);
}

/* =========================
   TEAM / CONTACT CTA
========================= */

.component-team {
	background: #fff;
	padding: 28px 32px;
	margin-bottom: 24px;
	border: 1px solid var(--color-border);
}

.team-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 28px;
	margin-bottom: 28px;
}

.team-member {
	width: 140px !important;
	text-align: center;
}

.component-team .team-member-photo {
	width: 90px !important;
	height: 90px !important;
	margin: 0 auto 12px auto;
	border-radius: 50%;
	overflow: hidden;
	background: #f0f0f0;
}

.team-member-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.team-member-name {
	margin: 0 0 6px 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #111;
}

.team-member-role {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.4;
	color: #444;
}

.team-contact-cta {
	display: flex;
	justify-content: center;
}

.team-contact-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	min-height: 56px;
	padding: 0 28px;
	text-decoration: none;
	border-radius: 8px;
	background: var(--theme-als);
	color: #111;
	font-size: 1.1rem;
	font-weight: 700;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.team-contact-button:hover {
	transform: translateY(-2px);
	opacity: 0.96;
}

/* =========================
   CARTES GÉNÉRIQUES
========================= */

.component-cards {
	background: #fff;
	padding: 28px 32px;
	margin-bottom: 24px;
	border: 1px solid var(--color-border);
}

.component-cards-title {
	margin: 0 0 22px 0;
	font-size: 2rem;
	font-weight: 500;
	color: #111;
}

.cards-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	max-width: 860px;
	margin: 0 auto;
}

.generic-card {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 220px;
	min-height: 86px;
	padding: 16px;
	text-align: center;
	text-decoration: none;
	background: var(--primary);
	color: #111;
	border-radius: 6px;
	font-size: 1.45rem;
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.1;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.generic-card:hover {
	transform: translateY(-2px);
	opacity: 0.95;
}

.cards-grid .generic-card:nth-child(even) {
	filter: brightness(1.15);
}

/* =========================
   ELEMENTOR OVERRIDE FINAL
========================= */

.elementor .component-text-image,
.elementor .component-cards {
	background: transparent !important;
	padding: 0 !important;
	margin-bottom: 42px !important;
	border: none !important;
	box-shadow: none !important;
}

.elementor .component-text-image > .e-con-inner {
	display: flex !important;
	align-items: flex-start !important;
	gap: 34px !important;
}

.elementor .component-text-image .e-con-full {
	flex: 1 1 0 !important;
}

.elementor .component-text-image img {
	display: block !important;
	width: 100% !important;
	max-width: 420px !important;
	height: auto !important;
	margin-left: auto !important;
	border-radius: 10px !important;
}

.elementor .component-text-image .text-image-title {
	margin: 0 0 20px 0 !important;
	font-size: clamp(2.2rem, 4vw, 3.1rem) !important;
	line-height: 1.1 !important;
	font-weight: 500 !important;
	color: #111 !important;
	font-family: Georgia, "Times New Roman", serif !important;
}

.elementor .component-text-image p {
	margin: 0 0 12px 0 !important;
	font-size: 1rem !important;
	line-height: 1.55 !important;
	color: #222 !important;
}

.elementor .component-cards > .e-con-inner {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	gap: 18px !important;
}

.elementor .component-cards .e-button-base {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 180px !important;
	min-height: 74px !important;
	padding: 14px 18px !important;
	text-align: center !important;
	background: var(--theme-formation) !important;
	color: #111 !important;
	border: none !important;
	border-radius: 8px !important;
	font-size: 1.2rem !important;
	font-family: Georgia, "Times New Roman", serif !important;
	line-height: 1.1 !important;
	box-shadow: none !important;
	cursor: pointer !important;
	transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease !important;
}

.elementor .component-cards .e-button-base:nth-child(even) {
	filter: brightness(1.18) !important;
}

.elementor .component-cards .e-button-base:hover {
	transform: translateY(-2px) !important;
	opacity: 0.95 !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
	.header-top {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.main-navigation {
		width: 100%;
	}

	.primary-menu {
		gap: 16px;
	}

	.news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-main {
		grid-template-columns: 1fr 1fr;
	}

	.partners-track {
		gap: 28px;
	}

	.partner-item {
		flex: 0 0 calc((100% - 56px) / 3);
	}

	.partner-logo-button img {
		max-height: 78px;
	}
}

@media (max-width: 768px) {
	.header-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.primary-menu,
	.footer-menu {
		flex-direction: column;
	}

	.page-hero-simple {
		padding: 22px 20px !important;
	}

	.page-hero-inner {
		gap: 14px !important;
		min-height: auto !important;
	}

	.page-back-link {
		width: 36px;
		height: 36px;
	}

	.page-back-arrow {
		font-size: 2.3rem !important;
	}

	.component-stats {
		padding: 24px 18px;
	}

	.stats-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.component-text-image {
		padding: 24px 20px;
	}

	.text-image-grid,
	.text-image-grid--reverse {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.text-image-grid--reverse .text-image-content,
	.text-image-grid--reverse .text-image-media {
		order: initial;
	}

	.text-image-title {
		font-size: 1.6rem;
	}

	.component-devices {
		padding: 24px 20px;
	}

	.devices-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.home-news {
		padding: 24px 20px;
	}

	.news-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.news-card-media img,
	.news-card-placeholder {
		height: 200px;
	}

	.home-calendar {
		padding: 24px 20px;
	}

	.calendar-item-link {
		grid-template-columns: 1fr;
	}

	.calendar-item-date {
		padding: 16px;
	}

	.hero-slider {
		height: 320px;
		border-radius: 8px;
		background: #000;
	}

	.hero-content {
		padding: 20px;
	}

	.hero-content h1 {
		font-size: clamp(1.7rem, 7vw, 2.5rem);
	}

	.hero-prev,
	.hero-next {
		width: 42px;
		height: 42px;
		font-size: 1.7rem;
	}

	.hero-prev { left: 10px; }
	.hero-next { right: 10px; }

	.hero-dots {
		bottom: 12px;
		gap: 8px;
	}

	.home-partners {
		padding: 24px 20px;
	}

	.partners-carousel {
		grid-template-columns: 42px 1fr 42px;
		gap: 10px;
	}

	.partners-track {
		gap: 20px;
	}

	.partner-item {
		flex: 0 0 calc((100% - 20px) / 2);
		min-height: 90px;
	}

	.partner-logo-button img {
		max-height: 64px;
	}

	.partners-prev,
	.partners-next {
		width: 42px;
		height: 42px;
		font-size: 1.7rem;
	}

	.home-socials {
		padding: 24px 20px;
	}

	.socials-list {
		gap: 12px;
	}

	.social-link {
		min-width: 48px;
		height: 48px;
		font-size: 0.82rem;
	}

	.footer-main {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 32px 0 22px 0;
	}

	.site-header {
		position: static;
	}

	.header-top {
		grid-template-columns: 1fr auto;
		align-items: center;
		gap: 12px;
		padding: 12px 0 10px 0;
	}

	.custom-logo {
		max-height: 50px;
	}

	.menu-toggle {
		display: flex;
		z-index: 60;
	}

	.main-navigation {
		grid-column: 1 / -1;
		width: 100%;
		display: none !important;
	}

	.main-navigation.is-open {
		display: block !important;
	}

	.primary-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		width: 100%;
		background: #fff;
		padding-top: 10px;
	}

	.primary-menu > li > a {
		display: block;
		width: 100%;
		padding: 12px 14px;
		border-radius: 12px;
	}

	.primary-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		border-left: 2px solid #eee;
		border-radius: 0;
		padding: 8px 0 8px 12px;
		margin-top: 6px;
		min-width: 0;
		background: transparent;
		display: none;
	}

	.primary-menu li.submenu-open > .sub-menu {
		display: block;
	}

	.header-search {
		max-width: 100%;
	}

	.als-card {
		min-height: 74px;
		font-size: 1.25rem;
		width: 100%;
		max-width: 320px;
	}

	.als-gallery-item {
		width: 48%;
	}

	.component-team {
		padding: 24px 20px;
	}

	.team-grid {
		gap: 20px;
	}

	.team-member {
		width: 150px;
	}

	.team-member-photo {
		width: 70px;
		height: 70px;
	}

	.team-contact-button {
		width: 100%;
		max-width: 320px;
	}

	.generic-card {
		width: 100%;
		max-width: 320px;
		font-size: 1.2rem;
		min-height: 74px;
	}

	.elementor .component-text-image > .e-con-inner {
		flex-direction: column !important;
		gap: 20px !important;
	}

	.elementor .component-text-image img {
		max-width: 100% !important;
		margin-left: 0 !important;
	}

	.elementor .component-text-image .text-image-title {
		font-size: 2rem !important;
	}

	.elementor .component-cards .e-button-base {
		width: 100% !important;
		max-width: 240px !important;
		font-size: 1.1rem !important;
		min-height: 68px !important;
	}
}

@media (max-width: 480px) {
	.als-gallery-item {
		width: 100%;
	}
}
/* =========================
   FIX MENU DESKTOP
========================= */
@media (min-width: 769px) {
	.menu-toggle {
		display: none !important;
	}

	.main-navigation {
		display: flex !important;
		width: auto !important;
		grid-column: auto !important;
	}

	.primary-menu {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		flex-wrap: wrap !important;
		gap: 24px !important;
		width: auto !important;
		padding-top: 0 !important;
		background: transparent !important;
	}

	.primary-menu > li > a {
		display: inline-block !important;
		width: auto !important;
	}
}
/* =========================
   ELEMENTOR - ACCUEIL DE LOISIRS SPORTIFS
========================= */

/* Stats ALS */
.elementor .component-stats {
	background: #efefef !important;
	padding: 14px 18px !important;
	margin-bottom: 22px !important;
	border: 1px solid var(--color-border) !important;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}


.elementor .component-stats > .e-con-inner {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 12px !important;
	text-align: center !important;
	align-items: center !important;
}

.elementor .component-stats .elementor-widget,
.elementor .component-stats .e-con {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
}

.elementor .component-stats h3,
.elementor .component-stats .elementor-heading-title {
	margin: 0 !important;
	
	font-weight: 700 !important;
	line-height: 1 !important;
	
	font-family: Georgia, "Times New Roman", serif !important;
}
.elementor .component-stats h3,
.elementor .component-stats .elementor-heading-title {
	color: var(--theme-als) !important; /* ✅ vert */
	font-size: 2.2rem !important;
}


.elementor .component-stats p,
.elementor .component-stats .elementor-widget-text-editor {
	margin: 4px 0 0 0 !important;
	font-size: 0.92rem !important;
	line-height: 1.25 !important;
	color: #333 !important;
	text-align: center !important;
}

/* Cartes ALS */
.elementor .als-cards-elementor {
	background: transparent !important;
	padding: 0 !important;
	margin-bottom: 26px !important;
	border: none !important;
	box-shadow: none !important;
}

.elementor .als-cards-elementor > .e-con-inner {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	gap: 12px !important;
	max-width: 760px !important;
	margin: 0 auto !important;
}

.elementor .als-cards-elementor .e-button-base,
.elementor .als-cards-elementor button,
.elementor .als-cards-elementor .elementor-button,
.elementor .als-cards-elementor a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 140px !important;
	min-height: 44px !important;
	padding: 10px 14px !important;
	text-align: center !important;
	background: var(--theme-als) !important;
	color: #111 !important;
	border: none !important;
	border-radius: 4px !important;
	font-size: 0.92rem !important;
	font-family: Georgia, "Times New Roman", serif !important;
	line-height: 1.1 !important;
	box-shadow: none !important;
	cursor: pointer !important;
	text-decoration: none !important;
	transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease !important;
}

.elementor .als-cards-elementor .e-button-base:nth-child(even),
.elementor .als-cards-elementor button:nth-child(even),
.elementor .als-cards-elementor .elementor-button:nth-child(even),
.elementor .als-cards-elementor a:nth-child(even) {
	filter: brightness(1.12) !important;
}

.elementor .als-cards-elementor .e-button-base:hover,
.elementor .als-cards-elementor button:hover,
.elementor .als-cards-elementor .elementor-button:hover,
.elementor .als-cards-elementor a:hover {
	transform: scale(1.04) !important;
	opacity: 0.96 !important;
}

/* Galerie ALS */
.elementor .als-gallery-elementor {
	margin-bottom: 26px !important;
}

.elementor .als-gallery-elementor > .e-con-inner {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	gap: 12px !important;
}

.elementor .als-gallery-elementor .e-con,
.elementor .als-gallery-elementor .elementor-widget-image,
.elementor .als-gallery-elementor figure {
	flex: 0 0 auto !important;
	margin: 0 !important;
}

.elementor .als-gallery-elementor img {
	display: block !important;
	width: 150px !important;
	height: 95px !important;
	object-fit: cover !important;
	border-radius: 4px !important;
	transition: transform 0.2s ease !important;
}

.elementor .als-gallery-elementor img:hover {
	transform: scale(1.05) !important;
}

/* Bloc texte + image ALS */
.elementor .component-text-image {
	background: transparent !important;
	padding: 0 !important;
	margin-bottom: 28px !important;
	border: none !important;
	box-shadow: none !important;
}

.elementor .component-text-image > .e-con-inner {
	display: flex !important;
	align-items: flex-start !important;
	gap: 34px !important;
}

.elementor .component-text-image .e-con-full {
	flex: 1 1 0 !important;
}

.elementor .component-text-image img {
	display: block !important;
	width: 100% !important;
	max-width: 300px !important;
	height: auto !important;
	margin-left: auto !important;
	border-radius: 6px !important;
}

.elementor .component-text-image .text-image-title {
	margin: 0 0 14px 0 !important;
	font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
	line-height: 1.1 !important;
	font-weight: 500 !important;
	color: #111 !important;
	font-family: Georgia, "Times New Roman", serif !important;
}

.elementor .component-text-image p {
	margin: 0 0 10px 0 !important;
	font-size: 0.95rem !important;
	line-height: 1.5 !important;
	color: #222 !important;
}

/* Équipe ALS */
.elementor .team-elementor {
	margin-bottom: 18px !important;
}

.elementor .team-elementor > .e-con-inner {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	gap: 26px !important;
}

.elementor .team-elementor .e-con {
	width: 120px !important;
	max-width: 120px !important;
	text-align: center !important;
}

.elementor .team-elementor img {
	width: 70px !important;
	height: 70px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	margin: 0 auto 10px auto !important;
	display: block !important;
}

.elementor .team-elementor h3,
.elementor .team-elementor .elementor-heading-title {
	margin: 0 0 4px 0 !important;
	font-size: 0.92rem !important;
	font-weight: 700 !important;
	color: #111 !important;
}

.elementor .team-elementor p {
	margin: 0 !important;
	font-size: 0.82rem !important;
	line-height: 1.3 !important;
	color: #444 !important;
}

/* Bouton contacter ALS */
.elementor .team-contact-elementor {
	margin-bottom: 10px !important;
}

.elementor .team-contact-elementor > .e-con-inner,
.elementor .team-contact-elementor {
	display: flex !important;
	justify-content: center !important;
}

.elementor .team-contact-elementor .e-button-base,
.elementor .team-contact-elementor button,
.elementor .team-contact-elementor .elementor-button,
.elementor .team-contact-elementor a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 130px !important;
	min-height: 38px !important;
	padding: 0 18px !important;
	text-decoration: none !important;
	border-radius: 4px !important;
	background: var(--theme-als) !important;
	color: #111 !important;
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	border: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
	transition: transform 0.18s ease, opacity 0.18s ease !important;
}

.elementor .team-contact-elementor .e-button-base:hover,
.elementor .team-contact-elementor button:hover,
.elementor .team-contact-elementor .elementor-button:hover,
.elementor .team-contact-elementor a:hover {
	transform: scale(1.04) !important;
	opacity: 0.96 !important;
}

/* Responsive */
@media (max-width: 768px) {
	.elementor .component-stats > .e-con-inner {
		grid-template-columns: 1fr !important;
		gap: 16px !important;
	}

	.elementor .als-cards-elementor .e-button-base,
	.elementor .als-cards-elementor button,
	.elementor .als-cards-elementor .elementor-button,
	.elementor .als-cards-elementor a {
		width: 100% !important;
		max-width: 220px !important;
	}

	.elementor .component-text-image > .e-con-inner {
		flex-direction: column !important;
		gap: 20px !important;
	}

	.elementor .component-text-image img {
		max-width: 100% !important;
		margin-left: 0 !important;
	}

	.elementor .als-gallery-elementor img {
		width: 100% !important;
		max-width: 220px !important;
		height: 140px !important;
	}

	.elementor .team-contact-elementor .e-button-base,
	.elementor .team-contact-elementor button,
	.elementor .team-contact-elementor .elementor-button,
	.elementor .team-contact-elementor a {
		width: 100% !important;
		max-width: 220px !important;
	}
	.elementor .als-cards-elementor > .e-con-inner {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	gap: 14px !important;
	max-width: 720px !important;
	margin: 0 auto !important;
}

.elementor .als-cards-elementor .e-button-base {
	width: 180px !important;
	min-height: 52px !important;
	padding: 12px 18px !important;
	font-size: 1rem !important;
	border-radius: 6px !important;
	background: var(--theme-als) !important;
	color: #111 !important;
}

/* alternance légère */
.elementor .als-cards-elementor .e-button-base:nth-child(even) {
	filter: brightness(1.08) !important;
}
.elementor .als-gallery-elementor > .e-con-inner {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	gap: 16px !important;
	max-width: 900px !important;
	margin: 0 auto !important;
}

.elementor .als-gallery-elementor img {
	width: 200px !important;
	height: 130px !important;
	object-fit: cover !important;
	border-radius: 6px !important;
	transition: transform 0.2s ease !important;
}

.elementor .als-gallery-elementor img:hover {
	transform: scale(1.05) !important;
}
.elementor .component-text-image img {
	max-width: 360px !important;
	border-radius: 8px !important;
}
}
/* =========================
   PAGE ALS - OVERRIDE FINAL
========================= */

/* Stats */
body.theme-als .elementor .component-stats {
	max-width: 100% !important;
	background: #efefef !important;
	padding: 18px 24px !important;
	margin: 0 0 28px 0 !important;
	border: 1px solid var(--color-border) !important;
}

body.theme-als .elementor .component-stats > .e-con-inner {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	align-items: center !important;
	text-align: center !important;
	gap: 20px !important;
}

body.theme-als .elementor .component-stats h3,
body.theme-als .elementor .component-stats .elementor-heading-title {
	color: var(--theme-als) !important;
	font-size: 2.4rem !important;
	font-family: Georgia, "Times New Roman", serif !important;
	font-weight: 700 !important;
	margin: 0 !important;
}

/* Cartes ALS */
body.theme-als .elementor .als-cards-elementor {
	margin-bottom: 34px !important;
}

body.theme-als .elementor .als-cards-elementor > .e-con-inner {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	gap: 16px !important;
	max-width: 760px !important;
	margin: 0 auto !important;
}

body.theme-als .elementor .als-cards-elementor .e-button-base,
body.theme-als .elementor .als-cards-elementor button,
body.theme-als .elementor .als-cards-elementor .elementor-button {
	width: 220px !important;
	min-width: 220px !important;
	min-height: 86px !important;
	padding: 16px !important;
	background: var(--theme-als) !important;
	color: #111 !important;
	border: none !important;
	border-radius: 6px !important;
	font-size: 1.35rem !important;
	font-family: Georgia, "Times New Roman", serif !important;
	line-height: 1.1 !important;
	box-shadow: none !important;
	text-align: center !important;
	transition: transform 0.2s ease, opacity 0.2s ease !important;
}

/* alternance claire/foncée */
body.theme-als .elementor .als-cards-elementor .e-button-base:nth-of-type(even),
body.theme-als .elementor .als-cards-elementor button:nth-of-type(even),
body.theme-als .elementor .als-cards-elementor .elementor-button:nth-of-type(even) {
	background: #d6dd77 !important;
}

body.theme-als .elementor .als-cards-elementor .e-button-base:hover,
body.theme-als .elementor .als-cards-elementor button:hover,
body.theme-als .elementor .als-cards-elementor .elementor-button:hover {
	transform: scale(1.04) !important;
	opacity: 0.96 !important;
}

/* Galerie */
body.theme-als .elementor .als-gallery-elementor {
	margin-bottom: 34px !important;
}

body.theme-als .elementor .als-gallery-elementor > .e-con-inner {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	gap: 10px !important;
	max-width: 900px !important;
	margin: 0 auto !important;
}

body.theme-als .elementor .als-gallery-elementor img {
	width: 260px !important;
	height: 160px !important;
	object-fit: cover !important;
	border-radius: 6px !important;
	transition: transform 0.2s ease !important;
}

body.theme-als .elementor .als-gallery-elementor img:hover {
	transform: scale(1.05) !important;
}

/* Texte + image */
body.theme-als .elementor .component-text-image > .e-con-inner {
	max-width: 100% !important;
	display: flex !important;
	align-items: center !important;
	gap: 28px !important;
}

body.theme-als .elementor .component-text-image h2,
body.theme-als .elementor .component-text-image .text-image-title,
body.theme-als .elementor .component-text-image .elementor-heading-title {
	color: #111 !important;
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: 2rem !important;
	font-weight: 700 !important;
	margin-bottom: 16px !important;
}

body.theme-als .elementor .component-text-image img {
	max-width: 420px !important;
	border-radius: 8px !important;
}

/* Équipe */
body.theme-als .elementor .team-elementor img {
	width: 90px !important;
	height: 90px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
}

body.theme-als .elementor .team-contact-elementor .e-button-base,
body.theme-als .elementor .team-contact-elementor button,
body.theme-als .elementor .team-contact-elementor .elementor-button {
	min-width: 180px !important;
	min-height: 44px !important;
	background: var(--theme-als) !important;
	color: #111 !important;
	border-radius: 6px !important;
	font-weight: 700 !important;
	border: none !important;
}
/* =========================
   CORRECTIONS FINALES ALS
========================= */

/* Police uniforme site */
body,
button,
input,
textarea,
select {
	font-family: Arial, sans-serif !important;
}

/* Stats ALS : zone grise moins haute + police cohérente */
body.theme-als .elementor .component-stats {
	padding: 14px 22px !important;
	margin-bottom: 26px !important;
}

body.theme-als .elementor .component-stats h3,
body.theme-als .elementor .component-stats .elementor-heading-title {
	font-family: Arial, sans-serif !important;
	font-size: 2.1rem !important;
	font-weight: 700 !important;
	color: var(--theme-als) !important;
}

body.theme-als .elementor .component-stats p,
body.theme-als .elementor .component-stats .elementor-widget-text-editor {
	font-family: Arial, sans-serif !important;
	font-size: 0.85rem !important;
	color: #111 !important;
}

/* Équipe : texte noir */
body.theme-als .elementor .team-elementor,
body.theme-als .elementor .team-elementor p,
body.theme-als .elementor .team-elementor h3,
body.theme-als .elementor .team-elementor .elementor-heading-title {
	color: #111 !important;
}

/* Cartes ALS : alternance claire/foncée SANS transparence */
body.theme-als .elementor .als-cards-elementor .e-button-base,
body.theme-als .elementor .als-cards-elementor button,
body.theme-als .elementor .als-cards-elementor .elementor-button {
	background: var(--theme-als) !important;
	color: #111 !important;
	opacity: 1 !important;
}

body.theme-als .elementor .als-cards-elementor .e-button-base:nth-of-type(even),
body.theme-als .elementor .als-cards-elementor button:nth-of-type(even),
body.theme-als .elementor .als-cards-elementor .elementor-button:nth-of-type(even) {
	background: #d6dd77 !important;
	color: #111 !important;
	opacity: 1 !important;
}

body.theme-als .elementor .component-stats p, body.theme-als .elementor .component-stats .elementor-widget-text-editor{
font-size: 1.4rem !important;
font-family: Arial, sans-serif !important;
color: #111 !important;

}
/* Cartes ALS : alternance claire/foncée SANS transparence -2 */
/* Alternance cartes ALS - version fiable */
body.theme-als .elementor .als-cards-elementor .e-con-inner > *:nth-child(odd) .e-button-base,
body.theme-als .elementor .als-cards-elementor .e-con-inner > *:nth-child(odd) button,
body.theme-als .elementor .als-cards-elementor .e-con-inner > *:nth-child(odd) .elementor-button {
	background: var(--theme-als) !important;
	color: #111 !important;
	opacity: 1 !important;
}

body.theme-als .elementor .als-cards-elementor .e-con-inner > *:nth-child(even) .e-button-base,
body.theme-als .elementor .als-cards-elementor .e-con-inner > *:nth-child(even) button,
body.theme-als .elementor .als-cards-elementor .e-con-inner > *:nth-child(even) .elementor-button {
	background: #d6dd77 !important;
	color: #111 !important;
	opacity: 1 !important;
}

.elementor-widget-image .widget-image-caption {
    color: #111 !important;
    font-family: var( --e-global-typography-text-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-text-font-weight );
}
/* Texte cartes ALS bien noir */
body.theme-als .elementor .als-cards-elementor .e-button-base,
body.theme-als .elementor .als-cards-elementor button,
body.theme-als .elementor .als-cards-elementor .elementor-button {
	color: #111 !important;
	opacity: 1 !important;
}




/* =========================
   TYPOGRAPHIE - STATS
========================= */

/* RESET PROPRE */
body.theme-als .component-stats {
	font-family: Arial, sans-serif !important;
}

/* CHIFFRES */
body.theme-als .component-stats h3,
body.theme-als .component-stats .elementor-heading-title {
	color: var(--theme-als) !important;
}

/* TEXTE */
body.theme-als .component-stats p,
body.theme-als .component-stats .elementor-widget-text-editor {
	color: #111 !important;
}

body.theme-als .component-stats h3,
body.theme-als .component-stats .elementor-heading-title {
	font-weight: 700 !important;
}

/* =========================
   TYPOGRAPHIE - TEAM
========================= */

body.theme-als .team-elementor,
body.theme-als .team-elementor * {
	font-family: Arial, sans-serif !important;
	color: #111 !important;
}

body.theme-als .team-elementor h3 {
	font-weight: 700 !important;
}
/* =========================
   FIX MOBILE HEADER + STATS
========================= */

@media (max-width: 768px) {
	/* Burger visible et propre */
	.menu-toggle {
		display: flex !important;
		width: 44px !important;
		height: 44px !important;
		min-width: 44px !important;
		border: none !important;
		border-radius: 10px !important;
		background: #f1f1f1 !important;
		padding: 10px !important;
		gap: 5px !important;
	}

	.menu-toggle span {
		display: block !important;
		width: 100% !important;
		height: 2px !important;
		background: #111 !important;
		border-radius: 999px !important;
	}

	/* Stats mobile : une ligne par statistique */
	body.theme-als .elementor .component-stats > .e-con-inner {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 18px !important;
	}

	body.theme-als .elementor .component-stats .e-con {
		width: 100% !important;
		max-width: 100% !important;
	}

	body.theme-als .elementor .component-stats h3,
	body.theme-als .elementor .component-stats .elementor-heading-title {
		font-size: 2.2rem !important;
		line-height: 1 !important;
	}

	body.theme-als .elementor .component-stats p,
	body.theme-als .elementor .component-stats .elementor-widget-text-editor {
		font-size: 1rem !important;
		line-height: 1.25 !important;
		text-align: center !important;
		white-space: normal !important;
		word-break: normal !important;
	}
}
/* =========================
   FIX MENU MOBILE
========================= */

@media (max-width: 768px) {
	.header-top {
		display: grid !important;
		grid-template-columns: 1fr auto !important;
		align-items: center !important;
	}

	.menu-toggle {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 44px !important;
		height: 44px !important;
		padding: 0 !important;
		border: none !important;
		border-radius: 10px !important;
		background: #f1f1f1 !important;
		font-size: 0 !important;
		color: transparent !important;
		position: relative !important;
	}

	.menu-toggle span {
		display: block !important;
		width: 22px !important;
		height: 2px !important;
		background: #111 !important;
		border-radius: 999px !important;
		position: absolute !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
	}

	.menu-toggle span:nth-child(1) {
		top: 14px !important;
	}

	.menu-toggle span:nth-child(2) {
		top: 21px !important;
	}

	.menu-toggle span:nth-child(3) {
		top: 28px !important;
	}

	.main-navigation {
		grid-column: 1 / -1 !important;
		width: 100% !important;
		display: none !important;
	}

	.main-navigation.is-open {
		display: block !important;
	}

	.primary-menu {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 10px !important;
		width: 100% !important;
		padding-top: 12px !important;
		background: #fff !important;
	}

	.primary-menu > li > a {
		display: block !important;
		width: 100% !important;
		padding: 12px 14px !important;
		border-radius: 12px !important;
	}
}
/* Couleur automatique des composants Elementor selon la rubrique */

body.theme-socio .elementor .component-stats h3,
body.theme-socio .elementor .component-stats .elementor-heading-title {
	color: var(--theme-socio) !important;
}

body.theme-socio .elementor .component-cards .e-button-base,
body.theme-socio .elementor .component-cards button,
body.theme-socio .elementor .component-cards .elementor-button {
	background: var(--theme-socio) !important;
	color: #111 !important;
}

body.theme-socio .elementor .component-cards .e-con-inner > *:nth-child(even) .e-button-base,
body.theme-socio .elementor .component-cards .e-con-inner > *:nth-child(even) button,
body.theme-socio .elementor .component-cards .e-con-inner > *:nth-child(even) .elementor-button {
	background: #ffd27a !important;
	color: #111 !important;
}
/* =========================
   PAGE SOCIO - OVERRIDE FINAL
========================= */

/* Stats Socio */
body.theme-socio .elementor .component-stats {
	max-width: 100% !important;
	background: #efefef !important;
	padding: 14px 22px !important;
	margin: 0 0 26px 0 !important;
	border: 1px solid var(--color-border) !important;
}

body.theme-socio .elementor .component-stats > .e-con-inner {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	align-items: center !important;
	text-align: center !important;
	gap: 20px !important;
}

body.theme-socio .elementor .component-stats h3,
body.theme-socio .elementor .component-stats .elementor-heading-title {
	color: var(--theme-socio) !important;
	font-family: Arial, sans-serif !important;
	font-size: 2.1rem !important;
	font-weight: 700 !important;
	margin: 0 !important;
}

body.theme-socio .elementor .component-stats p,
body.theme-socio .elementor .component-stats .elementor-widget-text-editor {
	font-family: Arial, sans-serif !important;
	font-size: 1.4rem !important;
	color: #111 !important;
}

/* Cartes Socio */
body.theme-socio .elementor .component-cards > .e-con-inner {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	gap: 16px !important;
	max-width: 760px !important;
	margin: 0 auto !important;
}

body.theme-socio .elementor .component-cards .e-button-base,
body.theme-socio .elementor .component-cards button,
body.theme-socio .elementor .component-cards .elementor-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 220px !important;
	min-width: 220px !important;
	min-height: 86px !important;
	padding: 16px !important;
	background: var(--theme-socio) !important;
	color: #111 !important;
	border: none !important;
	border-radius: 6px !important;
	font-size: 1.35rem !important;
	font-family: Arial, sans-serif !important;
	line-height: 1.1 !important;
	box-shadow: none !important;
	text-align: center !important;
	opacity: 1 !important;
	transition: transform 0.2s ease, opacity 0.2s ease !important;
}

body.theme-socio .elementor .component-cards .e-con-inner > *:nth-child(even) .e-button-base,
body.theme-socio .elementor .component-cards .e-con-inner > *:nth-child(even) button,
body.theme-socio .elementor .component-cards .e-con-inner > *:nth-child(even) .elementor-button {
	background: #ffd27a !important;
	color: #111 !important;
	opacity: 1 !important;
}

body.theme-socio .elementor .component-cards .e-button-base:hover,
body.theme-socio .elementor .component-cards button:hover,
body.theme-socio .elementor .component-cards .elementor-button:hover {
	transform: scale(1.04) !important;
	opacity: 0.96 !important;
}

/* Texte + image Socio */
body.theme-socio .elementor .component-text-image > .e-con-inner {
	display: flex !important;
	align-items: center !important;
	gap: 28px !important;
	max-width: 100% !important;
}

body.theme-socio .elementor .component-text-image h2,
body.theme-socio .elementor .component-text-image .text-image-title,
body.theme-socio .elementor .component-text-image .elementor-heading-title {
	color: #111 !important;
	font-family: Arial, sans-serif !important;
	font-size: 2rem !important;
	font-weight: 700 !important;
	margin-bottom: 16px !important;
}

body.theme-socio .elementor .component-text-image p {
	font-family: Arial, sans-serif !important;
	font-size: 1rem !important;
	line-height: 1.55 !important;
	color: #222 !important;
}

body.theme-socio .elementor .component-text-image img {
	max-width: 420px !important;
	border-radius: 8px !important;
}

/* Mobile Socio */
@media (max-width: 768px) {
	body.theme-socio .elementor .component-stats > .e-con-inner {
		grid-template-columns: 1fr !important;
		gap: 18px !important;
	}

	body.theme-socio .elementor .component-cards .e-button-base,
	body.theme-socio .elementor .component-cards button,
	body.theme-socio .elementor .component-cards .elementor-button {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 320px !important;
	}

	body.theme-socio .elementor .component-text-image > .e-con-inner {
		flex-direction: column !important;
		gap: 20px !important;
	}

	body.theme-socio .elementor .component-text-image img {
		max-width: 100% !important;
		margin-left: 0 !important;
	}
}
/* =========================
   TITRES DE SECTION GLOBAUX
========================= */

.elementor .section-title,
.elementor .section-title .elementor-heading-title,
.elementor-widget-heading.section-title .elementor-heading-title {
	color: #111 !important;
	font-family: Arial, sans-serif !important;
	font-size: 2rem !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	margin: 0 0 18px 0 !important;
	text-align: left !important;
}

/* Alignement du bloc titre avec les blocs texte + image */
.elementor .section-title {
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: auto !important;
	padding-left: 0 !important;
}

/* Si le titre est dans un conteneur Elementor */
.elementor .section-title > .e-con-inner {
	justify-content: flex-start !important;
	align-items: flex-start !important;
}

/* Titres internes des blocs texte + image : un peu plus petits */
body.theme-als .elementor .component-text-image h2,
body.theme-als .elementor .component-text-image .text-image-title,
body.theme-als .elementor .component-text-image .elementor-heading-title,
body.theme-socio .elementor .component-text-image h2,
body.theme-socio .elementor .component-text-image .text-image-title,
body.theme-socio .elementor .component-text-image .elementor-heading-title,
body.theme-formation .elementor .component-text-image h2,
body.theme-formation .elementor .component-text-image .text-image-title,
body.theme-formation .elementor .component-text-image .elementor-heading-title,
body.theme-federale .elementor .component-text-image h2,
body.theme-federale .elementor .component-text-image .text-image-title,
body.theme-federale .elementor .component-text-image .elementor-heading-title {
	color: #111 !important;
	font-family: Arial, sans-serif !important;
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	margin-bottom: 16px !important;
}
/* =========================
   ALIGNEMENT PARFAIT TITRES
========================= */

/* On aligne le conteneur du titre comme les autres blocs */
.elementor .section-title,
.elementor-widget-heading.section-title {
	width: 100% !important;
	max-width: 1280px !important; /* même largeur que .container */
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* IMPORTANT : on neutralise le padding interne Elementor */
.elementor-widget-heading.section-title .elementor-widget-container {
	padding: 0 !important;
	margin: 0 !important;
}

/* Et on aligne le texte */
.elementor-widget-heading.section-title .elementor-heading-title {
	text-align: left !important;
	margin-left: 0 !important;
}
/* Force alignement avec les autres sections Elementor */
.elementor .e-con.section-title {
	justify-content: flex-start !important;
	align-items: flex-start !important;
}
/* =========================
   FIX ALIGNEMENT TITRES (FINAL)
========================= */

/* On casse le boxed Elementor UNIQUEMENT pour les titres */
.elementor .section-title.e-con-boxed > .e-con-inner {
	max-width: 1280px !important;
	margin: 0 auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* On enlève tout décalage interne */
.elementor .section-title .e-con-inner {
	padding: 0 !important;
}

/* On aligne le contenu à gauche */
.elementor .section-title .elementor-widget-heading {
	width: 100% !important;
	text-align: left !important;
}

/* On enlève les marges parasites Elementor */
.elementor .section-title .elementor-widget-container {
	padding: 0 !important;
	margin: 0 !important;
}

/* Le titre lui-même */
.elementor .section-title .elementor-heading-title {
	text-align: left !important;
	margin-left: 0 !important;
}
/* =========================
   STATS - VERSION FACTORISÉE
========================= */

.elementor .component-stats {
	background: #efefef;
	padding: 18px 24px !important;
	margin: 28px auto !important;
	max-width: 880px; /* IMPORTANT → évite le bloc trop large */
	border-radius: 8px;
}

.elementor .component-stats .e-con-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.elementor .component-stats .stat-item {
	text-align: center;
	flex: 1;
}

/* CHIFFRES */
.elementor .component-stats strong,
.elementor .component-stats h3 {
	font-size: 2.4rem !important;
	font-weight: 700 !important;
	color: var(--primary) !important;
	margin: 0 !important;
}

/* TEXTE */
.elementor .component-stats span,
.elementor .component-stats p {
	font-size: 0.95rem;
	color: #111 !important;
	margin-top: 6px;
}
/* =========================
   CARTES - FACTORISÉES
========================= */

.elementor .component-cards .e-button-base {
	background: var(--primary) !important;
	color: #111 !important;
	border-radius: 10px !important;
	width: 220px !important;
	min-height: 90px !important;
	font-size: 1.3rem !important;
	font-family: Georgia, serif !important;
	transition: all 0.2s ease;
}

/* alternance propre (sans toucher au texte) */
.elementor .component-cards .e-button-base:nth-child(even) {
	filter: brightness(1.15);
}

/* hover */
.elementor .component-cards .e-button-base:hover {
	transform: translateY(-3px);
}
/* =========================
   TEXTE + IMAGE GLOBAL
========================= */

.elementor .component-text-image > .e-con-inner {
	display: flex;
	gap: 28px !important;
	align-items: flex-start;
}

.elementor .component-text-image img {
	max-width: 420px !important;
	border-radius: 10px !important;
}

.elementor .component-text-image h2 {
	font-size: clamp(2rem, 3vw, 2.8rem) !important;
	color: #111 !important;
	font-family: Georgia, serif !important;
	margin-bottom: 16px !important;
}

.elementor .component-text-image p {
	font-size: 1rem;
	line-height: 1.6;
	color: #222;
}
body {
	font-family: Arial, sans-serif;
}

h1, h2, h3 {
	font-family: Georgia, "Times New Roman", serif;
}

.elementor .component-cards .e-button-base {
	background: var(--primary) !important;
}
body.theme-formation {
	outline: 5px solid red;
}
/* =========================
   FIX GLOBAL COULEURS STATS + CARTES
========================= */

/* Chiffres des stats = couleur de rubrique */
.elementor .component-stats h3,
.elementor .component-stats .elementor-heading-title {
	color: var(--primary) !important;
}

/* Textes des stats = noir */
.elementor .component-stats p,
.elementor .component-stats .elementor-widget-text-editor {
	color: #111 !important;
}

/* Cartes génériques = couleur de rubrique */
.elementor .component-cards .e-button-base,
.elementor .component-cards button,
.elementor .component-cards .elementor-button,
.elementor .component-cards a {
	background: var(--primary) !important;
	color: #111 !important;
}

/* Sécurité si une page copiée a gardé als-cards-elementor */
.elementor .als-cards-elementor .e-button-base,
.elementor .als-cards-elementor button,
.elementor .als-cards-elementor .elementor-button,
.elementor .als-cards-elementor a {
	background: var(--primary) !important;
	color: #111 !important;
}

/* Alternances par rubrique */
body.theme-federale .elementor .component-cards .e-con-inner > *:nth-child(even) .e-button-base,
body.theme-federale .elementor .als-cards-elementor .e-con-inner > *:nth-child(even) .e-button-base {
	background: #d982c2 !important;
}

body.theme-socio .elementor .component-cards .e-con-inner > *:nth-child(even) .e-button-base,
body.theme-socio .elementor .als-cards-elementor .e-con-inner > *:nth-child(even) .e-button-base {
	background: #ffd27a !important;
}

body.theme-als .elementor .component-cards .e-con-inner > *:nth-child(even) .e-button-base,
body.theme-als .elementor .als-cards-elementor .e-con-inner > *:nth-child(even) .e-button-base {
	background: #d6dd77 !important;
}

body.theme-formation .elementor .component-cards .e-con-inner > *:nth-child(even) .e-button-base,
body.theme-formation .elementor .als-cards-elementor .e-con-inner > *:nth-child(even) .e-button-base {
	background: #7fcadd !important;
}
/* =========================
   STATS - FIX FINAL
========================= */

/* Chiffres (H3) = couleur de la rubrique */
.elementor .component-stats h3,
.elementor .component-stats .elementor-heading-title {
	color: var(--primary) !important;
	font-weight: 700 !important;
}

/* Textes (paragraphes) = noir */
.elementor .component-stats p,
.elementor .component-stats .elementor-widget-text-editor {
	color: #111 !important;
}
.component-stats h3 {
	color: var(--primary) !important;
}

.component-stats p {
	color: #111 !important;
}
/* =========================
   FIX GLOBAL STATS (FINAL)
========================= */

/* CHIFFRES UNIQUEMENT */
body .component-stats h3 {
	color: var(--primary) !important;
	font-weight: 700 !important;
}

/* TEXTE UNIQUEMENT */
body .component-stats p,
body .component-stats p strong {
	color: #111 !important;
	font-weight: 600 !important;
}

/* Empêche toute héritage parasite */
body .component-stats * {
	color: inherit;
}

body .component-stats h3 {
	color: var(--primary) !important;
}

/* STATS - chiffres et textes */
.elementor .component-stats h3 {
	font-family: Arial, sans-serif !important;
	font-size: 2.1rem !important;
	font-weight: 700 !important;
	color: var(--primary) !important;
	margin: 0 !important;
}

.elementor .component-stats p,
.elementor .component-stats p strong {
	font-size: 1.5rem !important;
	font-weight: 700 !important;
	color: #111 !important;
	margin: 0 !important;
}

/* =========================
   FIX CARTES - VIE FÉDÉRALE
========================= */

body.theme-federale .elementor .component-cards > .e-con-inner {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	gap: 16px !important;
	max-width: 760px !important;
	margin: 0 auto !important;
}

body.theme-federale .elementor .component-cards .e-button-base,
body.theme-federale .elementor .component-cards button,
body.theme-federale .elementor .component-cards .elementor-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 220px !important;
	min-width: 220px !important;
	min-height: 86px !important;
	padding: 16px !important;
	background: var(--theme-federale) !important;
	color: #111 !important;
	border: none !important;
	border-radius: 6px !important;
	font-size: 1.35rem !important;
	font-family: Arial, sans-serif !important;
	line-height: 1.1 !important;
	box-shadow: none !important;
	text-align: center !important;
	opacity: 1 !important;
}

body.theme-federale .elementor .component-cards .e-con-inner > *:nth-child(even) .e-button-base,
body.theme-federale .elementor .component-cards .e-con-inner > *:nth-child(even) button,
body.theme-federale .elementor .component-cards .e-con-inner > *:nth-child(even) .elementor-button {
	background: #d982c2 !important;
	color: #111 !important;
}

/* =========================
   BOUTONS PARTENAIRES ELEMENTOR
========================= */

.elementor .partner-button,
.elementor .partner-button .e-button-base,
.elementor .partner-button .elementor-button,
.elementor .partner-button a {
	width: 100% !important;
	max-width: none !important;
}

.elementor .partner-button .e-button-base,
.elementor .partner-button .elementor-button,
.elementor .partner-button a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 72px !important;
	padding: 18px 22px !important;
	background: var(--primary) !important;
	color: #111 !important;
	border: none !important;
	border-radius: 8px !important;
	font-family: Arial, sans-serif !important;
	font-size: 1.15rem !important;
	font-weight: 700 !important;
	text-align: center !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.elementor .partner-button .e-button-base:hover,
.elementor .partner-button .elementor-button:hover,
.elementor .partner-button a:hover {
	transform: translateY(-2px);
	opacity: 0.95;
}
/* =========================
   HERO ELEMENTOR FIX
========================= */

.home-hero {
	position: relative;
	margin-bottom: 24px;
}

.home-hero .hero-slider {
	position: relative;
	height: clamp(320px, 52vw, 560px);
	overflow: hidden;
	border-radius: 10px;
	background: #000;
}

.home-hero .hero-slide {
	position: absolute !important;
	inset: 0 !important;
	width: 100%;
	height: 100%;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	opacity: 0;
	visibility: hidden;
	transform: scale(1.03);
	transition:
		opacity 0.8s ease,
		transform 4.5s ease,
		visibility 0.8s ease;
	z-index: 1;
}

.home-hero .hero-slide.active {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	z-index: 2;
}
.home-hero .hero-slider {
	height: 420px !important;
}

@media (max-width: 768px) {
	.home-hero .hero-slider {
		height: 320px !important;
	}
}

/* FIX RÉSEAUX SOCIAUX ELEMENTOR */

.elementor .home-socials {
	background: #fff !important;
	padding: 28px 32px !important;
	margin-bottom: 24px !important;
	border: 1px solid var(--color-border) !important;
	text-align: center !important;
}

.elementor .home-socials .e-con-inner {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
}

.elementor .home-socials .socials-list {
	display: flex !important;
	flex-direction: row !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 18px !important;
	flex-wrap: wrap !important;
	width: 100% !important;
}

.elementor .home-socials .social-link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 54px !important;
	height: 54px !important;
	padding: 0 14px !important;
	border-radius: 999px !important;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12) !important;
	transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.elementor .home-socials .social-link:hover {
	transform: translateY(-2px) !important;
	opacity: 0.96 !important;
}

.elementor .home-socials .social-instagram {
	background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%) !important;
}

.elementor .home-socials .social-facebook {
	background: #1877f2 !important;
}

.elementor .home-socials .social-linkedin {
	background: #0a66c2 !important;
}

.elementor .home-socials .social-youtube {
	background: #ff0000 !important;
}

/* =========================
   FIX TITRES ELEMENTOR
========================= */

.elementor .section-title, .elementor .section-title .elementor-heading-title, .elementor-widget-heading.section-title .elementor-heading-title, .elementor-widget-heading .elementor-heading-title  {
    color: #111 !important;
    font-family: Arial, sans-serif !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin: 0 0 18px 0 !important;
    text-align: left !important;
}
/* =========================
FIX CARROUSEL PARTENAIRES : empêcher les logos de rétrécir
========================= */

.partners-track {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 40px !important;
	align-items: center !important;
}

.partner-item {
	flex: 0 0 180px !important;
	width: 180px !important;
	min-width: 180px !important;
	max-width: 180px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.partner-logo-button img {
	max-width: 160px !important;
	max-height: 90px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
}
.partners-track {
	white-space: nowrap;
}

.partner-item {
	flex: 0 0 auto !important;
	width: 180px !important;
}
/* Arrondi Smart Slider */
.home-hero .n2-ss-slider {
	border-radius: 12px;
	overflow: hidden;
}
/* =========================
   SEARCH PREMIUM
========================= */

.search-page {
	padding-top: 40px;
}

.search-hero {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 16px;
	padding: 34px;
	margin-bottom: 28px;
	box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}

.search-hero h1 {
	margin: 0 0 10px 0;
	font-size: clamp(2rem, 4vw, 3rem);
	color: #111;
}

.search-hero p {
	margin: 0;
	color: #444;
	font-size: 1rem;
}

.search-results-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.search-result-card {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 24px rgba(0,0,0,0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-result-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(0,0,0,0.1);
}

.search-result-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 24px;
	text-decoration: none;
	color: inherit;
}

.search-result-badge {
	display: inline-flex;
	align-self: flex-start;
	padding: 6px 12px;
	margin-bottom: 14px;
	border-radius: 999px;
	background: var(--primary);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
}

.search-result-card h2 {
	margin: 0 0 12px 0;
	font-size: 1.35rem;
	line-height: 1.25;
	color: #111;
}

.search-result-card p {
	margin: 0 0 18px 0;
	color: #333;
	line-height: 1.6;
}

.search-result-more {
	margin-top: auto;
	font-weight: 700;
	color: var(--primary);
}

.search-empty {
	background: #fff;
	padding: 28px;
	border: 1px solid var(--color-border);
	border-radius: 14px;
}

@media (max-width: 980px) {
	.search-results-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.search-results-grid {
		grid-template-columns: 1fr;
	}

	.search-hero {
		padding: 24px 20px;
	}
}

/* =========================
   WPFORMS CONTACT PREMIUM
========================= */

.wpforms-container {
	background: #fff;
	padding: 34px !important;
	border: 1px solid var(--color-border) !important;
	border-radius: 16px !important;
	box-shadow: 0 12px 30px rgba(0,0,0,0.06) !important;
}

.wpforms-form label {
	font-weight: 700 !important;
	color: #111 !important;
	margin-bottom: 8px !important;
}

.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form textarea,
.wpforms-form select {
	width: 100% !important;
	border: 1px solid #d9d9d9 !important;
	border-radius: 10px !important;
	padding: 13px 15px !important;
	background: #f7f7f7 !important;
	color: #111 !important;
	font-size: 1rem !important;
	box-shadow: none !important;
}

.wpforms-form input:focus,
.wpforms-form textarea:focus,
.wpforms-form select:focus {
	background: #fff !important;
	border-color: var(--primary) !important;
	box-shadow: 0 0 0 3px rgba(0,0,0,0.06) !important;
	outline: none !important;
}

.wpforms-form textarea {
	min-height: 160px !important;
}

.wpforms-submit {
	background: var(--primary) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 14px 32px !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	cursor: pointer !important;
	transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease !important;
}

.wpforms-submit:hover {
	transform: translateY(-2px);
	opacity: 0.95;
	box-shadow: 0 10px 22px rgba(0,0,0,0.14);
}

.wpforms-confirmation-container-full {
	border-radius: 12px !important;
	background: #f2f8f2 !important;
	border: 1px solid #cde8cd !important;
	color: #111 !important;
}

@media (max-width: 768px) {
	.wpforms-container {
		padding: 24px 20px !important;
		border-radius: 12px !important;
	}
}
/* =========================
   CARTE STRUCTURES UFOLEP
========================= */

.ufolep-map-wrapper {
	background: #fff;
	padding: 28px;
	border: 1px solid var(--color-border);
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

#ufolep-structures-map {
	width: 100%;
	height: 520px;
	border-radius: 14px;
	overflow: hidden;
}

.ufolep-map-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 18px;
}

.ufolep-map-filters button {
	border: none;
	border-radius: 999px;
	padding: 10px 18px;
	background: #efefef;
	color: #111;
	font-weight: 700;
	cursor: pointer;
}

.ufolep-map-filters button.active,
.ufolep-map-filters button:hover {
	background: var(--primary);
	color: #fff;
}

.map-marker {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 34px !important;
	height: 34px !important;
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	border: 3px solid #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.marker-club {
	background: #c51b8a;
}

.marker-ecole {
	background: #0ea5c6;
}

.marker-autre {
	background: #444;
}

@media (max-width: 768px) {
	.ufolep-map-wrapper {
		padding: 18px;
	}

	#ufolep-structures-map {
		height: 420px;
	}
}

/* =========================
   POPUP CARTE STRUCTURES
========================= */

.ufolep-map-popup {
	min-width: 220px;
	max-width: 280px;
}

.ufolep-map-popup img {
	display: block;
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 10px;
}

.ufolep-map-popup strong {
	display: block;
	font-size: 1rem;
	color: #111;
	margin-bottom: 6px;
}

.ufolep-map-popup .popup-address {
	margin: 0 0 8px 0;
	font-size: 0.9rem;
	color: #444;
	line-height: 1.4;
}

.ufolep-map-popup .popup-comment {
	font-size: 0.9rem;
	color: #222;
	line-height: 1.45;
}

.ufolep-map-popup .popup-comment p {
	margin: 0 0 8px 0;
}
/* =========================
   CARTE - LARGEUR CORRECTE
========================= */

/* wrapper */
.ufolep-map-wrapper {
	width: 100%;
	max-width: 100%;
	padding: 0;
}

/* IMPORTANT : casser les limites Elementor */
.ufolep-map-wrapper .e-con-inner {
	max-width: 100% !important;
	width: 100% !important;
}

/* carte */
#ufolep-structures-map {
	width: 100% !important;
	height: 520px;
	display: block;
}
.ufolep-map-wrapper {
	padding: 24px;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 10px;
}

/* =========================
   FIX CARTE STRUCTURES
========================= */

/* Le widget shortcode doit prendre toute la largeur du conteneur */
.elementor-widget-shortcode,
.elementor-widget-shortcode .elementor-widget-container,
.elementor-widget-shortcode .elementor-shortcode {
	width: 100% !important;
	max-width: 100% !important;
}

/* Le bloc carte prend toute la largeur disponible, sans sortir du conteneur */
.ufolep-map-wrapper {
	width: 100% !important;
	max-width: 100% !important;
	background: #fff;
	padding: 24px;
	border: 1px solid var(--color-border);
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* =========================
   FIX Z-INDEX LEAFLET / HEADER
========================= */

/* Le header doit toujours passer au-dessus de la carte */
.site-header {
	position: sticky !important;
	top: 0 !important;
	z-index: 99999 !important;
}

/* Le menu et les sous-menus doivent aussi rester au-dessus */
.main-navigation,
.primary-menu,
.primary-menu .sub-menu {
	z-index: 100000 !important;
}

/* La carte reste dans son conteneur et ne passe pas devant le header */
.ufolep-map-wrapper {
	position: relative !important;
	z-index: 1 !important;
	overflow: hidden !important;
}

#ufolep-structures-map {
	position: relative !important;
	z-index: 1 !important;
	overflow: hidden !important;
}

/* On force toutes les couches Leaflet à rester sous le header */
#ufolep-structures-map .leaflet-pane,
#ufolep-structures-map .leaflet-top,
#ufolep-structures-map .leaflet-bottom,
#ufolep-structures-map .leaflet-control-container {
	z-index: 2 !important;
}

/* Les popups restent au-dessus de la carte, mais pas au-dessus du header */
#ufolep-structures-map .leaflet-popup-pane {
	z-index: 3 !important;
}