/* ==========================================================================
   CMND — Thème
   Reproduit à l'identique la charte du site d'origine (Tailwind preflight +
   classes utilitaires du layout "modern").
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables de marque
   -------------------------------------------------------------------------- */
:root {
	--cmnd-primary: #06b6d4;
	--cmnd-primary-light: #60a5fa;
	--cmnd-primary-vibrant: #00d2ff;
	--cmnd-dark-base: #0a0e1a;
	--cmnd-dark-surface: #0f1419;
	--cmnd-brand-blue: #1e3a8a;
	--cmnd-brand-blue-light: #e0f2fe;
	--cmnd-slate-300: #cbd5e1;
	--cmnd-slate-400: #94a3b8;
	--cmnd-slate-500: #64748b;
	--cmnd-slate-600: #475569;
}

/* --------------------------------------------------------------------------
   2. Reset (équivalent Tailwind preflight)
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	border: 0 solid #e5e7eb;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	line-height: 1.5;
}

body {
	margin: 0;
	background-color: var(--cmnd-dark-base);
	color: var(--cmnd-slate-300);
	font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
	font-weight: 400;
	line-height: 1.5;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
}

p, figure, blockquote, dl, dd, ul, ol {
	margin: 0;
}

ul, ol {
	padding: 0;
	list-style: none;
}

a {
	color: inherit;
	text-decoration: inherit;
}

img, svg, video, canvas, iframe, embed, object {
	display: block;
	vertical-align: middle;
}

img, video {
	max-width: 100%;
	height: auto;
}

button, input, optgroup, select, textarea {
	font-family: inherit;
	font-size: 100%;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0;
	padding: 0;
}

button {
	background-color: transparent;
	background-image: none;
	cursor: pointer;
}

::selection {
	background-color: rgba(6, 182, 212, 0.3);
}

/* Elementor : ne pas casser le rendu des images de widget */
.elementor img {
	height: auto;
}

/* --------------------------------------------------------------------------
   3. Classes utilitaires reprises du site d'origine
   -------------------------------------------------------------------------- */

/* Révélation au défilement */
.reveal-on-scroll {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
	will-change: opacity, transform;
}

.reveal-on-scroll.active {
	opacity: 1;
	transform: translateY(0);
}

/* Ne jamais masquer le contenu dans l'éditeur Elementor */
body.elementor-editor-active .reveal-on-scroll,
body.elementor-editor-preview .reveal-on-scroll {
	opacity: 1 !important;
	transform: none !important;
}

/* Dégradé bleu → cyan (sections "Une culture de l'excellence", "Valeurs", "Suivez le mouvement") */
.mixed-gradient-light {
	background-image: linear-gradient(135deg, #1e3a8a 0%, #06b6d4 100%);
}

/* Cartes en verre */
.glass-card {
	background-color: rgba(255, 255, 255, 0.03);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Survols */
.hover-glow {
	transition: box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hover-glow:hover {
	box-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
	transform: scale(1.02);
}

.hover-lift {
	transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hover-lift:hover {
	transform: translateY(-16px);
	box-shadow: 0 20px 40px rgba(6, 182, 212, 0.2);
}

/* Fondu bas des vidéos de fond */
.video-container {
	-webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
	mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Cartes numérotées de la page Entraînements */
.benefit-card {
	background-color: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 0.25rem;
	transition: all 0.3s ease;
}

.benefit-card:hover {
	border-color: #06b6d4;
	background-color: rgba(6, 182, 212, 0.05);
}

/* Zoom d'image au survol */
.image-hover-zoom {
	overflow: hidden;
}

.image-hover-zoom img,
.image-hover-zoom .elementor-widget-container,
.image-hover-zoom > .e-con-inner {
	transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.image-hover-zoom:hover img {
	transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   4. Typographie décorative (les <span> italiques Playfair des titres)
   -------------------------------------------------------------------------- */
.cmnd-em {
	font-family: "Playfair Display", ui-serif, Georgia, serif;
	font-style: italic;
	font-weight: 300;
}

.cmnd-em-hero {
	display: block;
	font-size: 0.75em;
	line-height: 0.9;
}

.cmnd-c-primary { color: #06b6d4; }
.cmnd-c-primary-light { color: #60a5fa; }
.cmnd-c-primary-vibrant { color: #00d2ff; }
.cmnd-c-white { color: #ffffff; }
.cmnd-c-slate-500 { color: #64748b; }
.cmnd-c-brand-blue-light { color: #e0f2fe; }

/* Titre en dégradé (page Contact) */
.cmnd-grad-text {
	background-image: linear-gradient(to bottom, #06b6d4, #93c5fd);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Animations reprises du site d'origine */
@keyframes cmnd-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-20px); }
}

@keyframes cmnd-bounce {
	0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
	50% { transform: none; animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

.cmnd-float {
	animation: cmnd-float 6s ease-in-out infinite;
}

.cmnd-bounce,
.cmnd-bounce .elementor-widget-container,
.cmnd-bounce i,
.cmnd-bounce svg {
	animation: cmnd-bounce 1s infinite;
}

/* Trait vertical dégradé sous les héros */
.cmnd-scroll-line {
	width: 1px;
	background-image: linear-gradient(to bottom, #06b6d4, rgba(6, 182, 212, 0));
}

/* --------------------------------------------------------------------------
   5. En-tête fixe
   -------------------------------------------------------------------------- */
.cmnd-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	transition: background-color 0.5s, backdrop-filter 0.5s;
}

.cmnd-header.is-scrolled {
	background-color: rgba(10, 14, 26, 0.8);
	-webkit-backdrop-filter: blur(24px);
	backdrop-filter: blur(24px);
}

/* Dans l'éditeur Elementor, l'en-tête ne doit pas flotter au-dessus du canevas */
body.elementor-editor-active .cmnd-header,
body.elementor-editor-preview .cmnd-header {
	position: relative;
}

/* Liens de navigation : soulignement animé identique à l'original */
.cmnd-nav-link .elementor-button {
	position: relative;
	padding: 0;
	background: none;
	border-radius: 0;
	fill: currentColor;
}

.cmnd-nav-link .elementor-button::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	height: 2px;
	width: 0;
	background-color: #06b6d4;
	transition: width 0.3s;
}

.cmnd-nav-link .elementor-button:hover::after,
.cmnd-nav-link.is-current .elementor-button::after {
	width: 100%;
}

.cmnd-nav-link.is-current .elementor-button,
.cmnd-nav-link .elementor-button:hover {
	color: #ffffff;
}

/* Logo : rotation au survol comme sur l'original */
.cmnd-logo-spin img {
	transition: transform 0.5s;
}

.cmnd-logo-spin:hover img {
	transform: rotate(360deg);
}

/* --------------------------------------------------------------------------
   6. Menu mobile (le bouton hamburger de l'original était inactif — ici il ouvre
      un tiroir reprenant les liens de l'en-tête)
   -------------------------------------------------------------------------- */
.cmnd-mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 99;
	background-color: rgba(10, 14, 26, 0.97);
	-webkit-backdrop-filter: blur(24px);
	backdrop-filter: blur(24px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s, visibility 0.4s;
}

.cmnd-mobile-drawer.is-open {
	opacity: 1;
	visibility: visible;
}

.cmnd-mobile-drawer a {
	color: #ffffff;
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.cmnd-mobile-drawer a:hover {
	color: #06b6d4;
}

body.cmnd-menu-open {
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   7. Formulaire de contact
   -------------------------------------------------------------------------- */
.cmnd-form .cmnd-field {
	display: block;
	width: 100%;
	padding: 1rem;
	color: #ffffff;
	background-color: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 0.5rem;
	transition: border-color 0.2s, background-color 0.2s;
	font-size: 1rem;
	line-height: 1.5;
}

.cmnd-form .cmnd-field::placeholder {
	color: rgba(255, 255, 255, 0.2);
}

.cmnd-form .cmnd-field:focus {
	outline: none;
	border-color: #06b6d4;
	box-shadow: none;
}

.cmnd-form select.cmnd-field option {
	background-color: #0a0e1a;
	color: #ffffff;
}

.cmnd-form textarea.cmnd-field {
	resize: vertical;
	min-height: 8.5rem;
}

.cmnd-form-label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #06b6d4;
}

.cmnd-form-notice {
	padding: 1rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	margin-bottom: 1.5rem;
}

.cmnd-form-notice.is-success {
	background-color: rgba(6, 182, 212, 0.1);
	border: 1px solid rgba(6, 182, 212, 0.4);
	color: #a5f3fc;
}

.cmnd-form-notice.is-error {
	background-color: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.4);
	color: #fecaca;
}

/* --------------------------------------------------------------------------
   8. Carte Google Maps (page Contact)
   -------------------------------------------------------------------------- */
.cmnd-map-filter iframe {
	filter: grayscale(1) contrast(1.25) brightness(0.75);
}

/* --------------------------------------------------------------------------
   9. Contenu d'article (page Actualité)
   -------------------------------------------------------------------------- */
.cmnd-article p {
	margin-bottom: 2rem;
}

.cmnd-article p:last-child {
	margin-bottom: 0;
}

.cmnd-article a {
	color: #06b6d4;
	text-decoration: underline;
}

.cmnd-article ul {
	list-style: disc;
	padding-left: 1.5rem;
	margin-bottom: 2rem;
}

.cmnd-article ol {
	list-style: decimal;
	padding-left: 1.5rem;
	margin-bottom: 2rem;
}

.cmnd-article h2,
.cmnd-article h3 {
	color: #ffffff;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.cmnd-article h2 { font-size: 2.25rem; }
.cmnd-article h3 { font-size: 1.5rem; }

.cmnd-article img {
	margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   10. Grille d'actualités (widget Essential Addons Post Grid)
   -------------------------------------------------------------------------- */
.cmnd-posts .eael-grid-post-holder,
.cmnd-posts .eael-post-grid-container .eael-grid-post {
	background: transparent;
}

.cmnd-posts .eael-entry-wrapper {
	padding: 1.5rem 0 0;
}

.cmnd-posts .eael-entry-title {
	font-size: 1.5rem;
	line-height: 1.25;
	font-weight: 700;
	color: #ffffff;
}

.cmnd-posts .eael-entry-title a:hover {
	color: #06b6d4;
}

.cmnd-posts .eael-grid-post-excerpt p {
	color: #94a3b8;
	font-size: 0.875rem;
	line-height: 1.625;
}

.cmnd-posts .eael-entry-meta,
.cmnd-posts .eael-entry-meta > * {
	color: #06b6d4;
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.cmnd-posts .eael-entry-media,
.cmnd-posts .eael-entry-thumbnail {
	overflow: hidden;
}

.cmnd-posts .eael-entry-thumbnail img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cmnd-posts .eael-grid-post:hover .eael-entry-thumbnail img {
	transform: scale(1.1);
}

.cmnd-posts .eael-post-elements-readmore-btn {
	color: #06b6d4;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   11. Réglages fins Elementor
   -------------------------------------------------------------------------- */

/* Les conteneurs en position absolue ne doivent pas déborder de la page */
.e-con.cmnd-abs-layer {
	pointer-events: none;
}

.e-con.cmnd-abs-layer a,
.e-con.cmnd-abs-layer button {
	pointer-events: auto;
}

/* Vidéo de fond : occuper tout le conteneur, comme object-cover */
.elementor-background-video-container,
.elementor-background-video-hosted {
	width: 100%;
	height: 100%;
}

.elementor-background-video-hosted {
	object-fit: cover;
}

/* Le zoom 1.05 appliqué aux vidéos de fond de l'original */
.cmnd-video-scale .elementor-background-video-hosted {
	transform: scale(1.05);
}

/* Boutons : conserver les transitions douces d'origine */
.elementor-button {
	transition: all 0.3s ease;
}

.cmnd-btn-slow .elementor-button {
	transition: all 0.5s ease;
}

/* Le bloc "Équipement Pro" flottant (page Entraînements) est masqué sous 1280px,
   comme la classe `hidden xl:block` d'origine */
@media (max-width: 1279px) {
	.cmnd-xl-only {
		display: none !important;
	}
}

/* Décalage lg:mt-12 des tuiles réseaux sociaux (page Contact) */
@media (min-width: 768px) {
	.cmnd-offset-top {
		margin-top: 3rem;
	}
}

/* --------------------------------------------------------------------------
   12. Gabarit « Article » (reprise fidèle de news-detail.php)
   -------------------------------------------------------------------------- */
.cmnd-single-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100vh;
	overflow: hidden;
}

.cmnd-single-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.cmnd-single-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cmnd-single-hero__fallback {
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to bottom right, rgba(6, 182, 212, 0.3), #0f1419);
}

.cmnd-single-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 10;
	background-color: rgba(10, 14, 26, 0.8);
}

.cmnd-single-hero__inner {
	position: relative;
	z-index: 20;
	width: 100%;
	max-width: 1800px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.cmnd-single-hero__content {
	max-width: 56rem;
}

.cmnd-single-back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 2rem;
	color: #06b6d4;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	transition: gap 0.3s;
}

.cmnd-single-back:hover {
	gap: 1rem;
}

.cmnd-single-back .msi {
	font-size: 0.875rem;
}

.cmnd-single-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.cmnd-single-meta__date {
	color: #06b6d4;
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.cmnd-single-meta__rule {
	height: 1px;
	width: 4rem;
	background-color: rgba(6, 182, 212, 0.5);
}

.cmnd-single-meta__label {
	color: #94a3b8;
	font-size: 0.625rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.cmnd-single-title {
	margin-bottom: 2rem;
	color: #ffffff;
	font-size: clamp(2.5rem, 8vw, 6rem);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.05em;
}

.cmnd-single-hero__scroll {
	position: absolute;
	bottom: 3rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 20;
}

.cmnd-single-hero__circle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 9999px;
	color: #ffffff;
}

.cmnd-single-hero__circle .msi {
	font-size: 0.875rem;
}

.cmnd-single-body {
	padding: 8rem 0;
	background-color: #0a0e1a;
}

.cmnd-single-body__inner {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.cmnd-single-figure {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	margin-bottom: 6rem;
}

.cmnd-single-figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cmnd-article {
	font-size: 1.25rem;
	line-height: 1.625;
	font-weight: 300;
	color: #cbd5e1;
}

.cmnd-single-footmeta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2rem;
	margin-top: 6rem;
	padding-top: 3rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cmnd-single-footmeta__item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.cmnd-single-footmeta__item .msi {
	color: #06b6d4;
	font-size: 1.5rem;
}

.cmnd-single-footmeta__label {
	margin-bottom: 0.25rem;
	color: #64748b;
	font-size: 0.625rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.cmnd-single-footmeta__value {
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 500;
}

.cmnd-single-footmeta__sep {
	width: 1px;
	height: 2rem;
	background-color: rgba(255, 255, 255, 0.1);
}

.cmnd-single-footmeta__links {
	display: flex;
	gap: 0.75rem;
}

.cmnd-single-footmeta__links a {
	color: #ffffff;
	font-size: 0.875rem;
	transition: color 0.3s;
}

.cmnd-single-footmeta__links a:hover {
	color: #06b6d4;
}

.cmnd-single-nav {
	margin-top: 6rem;
}

.cmnd-single-nav__btn {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem 3rem;
	background-color: rgba(6, 182, 212, 0.1);
	border: 1px solid rgba(6, 182, 212, 0.3);
	color: #ffffff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	transition: all 0.3s;
}

.cmnd-single-nav__btn:hover {
	background-color: #06b6d4;
	border-color: #06b6d4;
}

.cmnd-single-nav__btn .msi {
	transition: transform 0.3s;
}

.cmnd-single-nav__btn:hover .msi {
	transform: translateX(-0.5rem);
}

@media (min-width: 1024px) {
	.cmnd-single-hero__inner,
	.cmnd-single-body__inner {
		padding-left: 3rem;
		padding-right: 3rem;
	}

	.cmnd-single-body {
		padding: 12rem 0;
	}

	.cmnd-article {
		font-size: 1.5rem;
	}
}

/* --------------------------------------------------------------------------
   13. Gabarits de repli (archives, recherche, page)
   -------------------------------------------------------------------------- */
.cmnd-archive,
.cmnd-page {
	padding: 12rem 0 8rem;
	background-color: #0a0e1a;
}

.cmnd-archive__inner,
.cmnd-page__inner {
	max-width: 1800px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.cmnd-archive__title,
.cmnd-page__title {
	margin-bottom: 4rem;
	color: #ffffff;
	font-size: 3rem;
	font-weight: 800;
	letter-spacing: -0.05em;
}

.cmnd-archive__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 3rem;
}

.cmnd-archive__thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	margin-bottom: 2rem;
}

.cmnd-archive__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cmnd-archive__card:hover .cmnd-archive__thumb img {
	transform: scale(1.1);
}

.cmnd-archive__date {
	display: block;
	margin-bottom: 1rem;
	color: #06b6d4;
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.cmnd-archive__card-title {
	margin-bottom: 1rem;
	color: #ffffff;
	font-size: 1.5rem;
	font-weight: 700;
}

.cmnd-archive__excerpt {
	color: #94a3b8;
	font-size: 0.875rem;
	line-height: 1.625;
}

.cmnd-archive__empty {
	color: #94a3b8;
}

.cmnd-archive__pagination {
	margin-top: 4rem;
	color: #94a3b8;
}

.cmnd-archive__pagination a {
	color: #06b6d4;
}

/* --------------------------------------------------------------------------
   14. Widget « Formulaire CMND »
   -------------------------------------------------------------------------- */
.cmnd-form__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
	.cmnd-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cmnd-form__item.is-full {
		grid-column: span 2;
	}
}

.cmnd-form__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 1.25rem;
	background-color: #06b6d4;
	color: #ffffff;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border: 0;
	border-radius: 0.5rem;
	box-shadow: 0 20px 25px -5px rgba(6, 182, 212, 0.2);
	transition: all 0.3s ease;
}

.cmnd-form--scale .cmnd-form__submit:hover {
	transform: scale(1.02);
}

.cmnd-form__submit .msi,
.cmnd-form__submit i,
.cmnd-form__submit svg {
	transition: transform 0.3s;
	font-size: 1.25rem;
	width: 1.25rem;
	height: 1.25rem;
}

.cmnd-form__submit:hover .msi,
.cmnd-form__submit:hover i,
.cmnd-form__submit:hover svg {
	transform: translateX(0.25rem);
}

/* --------------------------------------------------------------------------
   15. Conteneur « container » de Tailwind (paliers identiques à l'original)
   -------------------------------------------------------------------------- */
.e-con.cmnd-tw-container > .e-con-inner {
	width: 100%;
	max-width: 100%;
	margin-inline: auto;
}

@media (min-width: 640px)  { .e-con.cmnd-tw-container > .e-con-inner { max-width: 640px; } }
@media (min-width: 768px)  { .e-con.cmnd-tw-container > .e-con-inner { max-width: 768px; } }
@media (min-width: 1024px) { .e-con.cmnd-tw-container > .e-con-inner { max-width: 1024px; } }
@media (min-width: 1280px) { .e-con.cmnd-tw-container > .e-con-inner { max-width: 1280px; } }
@media (min-width: 1536px) { .e-con.cmnd-tw-container > .e-con-inner { max-width: 1536px; } }

/* Format carré (aspect-square) */
.cmnd-square {
	aspect-ratio: 1 / 1;
}

.cmnd-square > .e-con-inner,
.cmnd-square .elementor-widget-image,
.cmnd-square .elementor-widget-image .elementor-widget-container,
.cmnd-square .elementor-widget-image figure,
.cmnd-square .elementor-widget-image img {
	width: 100%;
	height: 100%;
}

.cmnd-square .elementor-widget-image img {
	object-fit: cover;
}

/* Format 16/9 (aspect-video) */
.cmnd-video-ratio {
	aspect-ratio: 16 / 9;
}

.cmnd-video-ratio > .e-con-inner,
.cmnd-video-ratio .elementor-widget-image,
.cmnd-video-ratio .elementor-widget-image .elementor-widget-container,
.cmnd-video-ratio .elementor-widget-image figure,
.cmnd-video-ratio .elementor-widget-image img {
	width: 100%;
	height: 100%;
}

.cmnd-video-ratio .elementor-widget-image img {
	object-fit: cover;
}

/* Format 3/4 (aspect-[3/4]) */
.cmnd-portrait-ratio {
	aspect-ratio: 3 / 4;
}

.cmnd-portrait-ratio > .e-con-inner,
.cmnd-portrait-ratio .elementor-widget-image,
.cmnd-portrait-ratio .elementor-widget-image .elementor-widget-container,
.cmnd-portrait-ratio .elementor-widget-image figure,
.cmnd-portrait-ratio .elementor-widget-image img {
	width: 100%;
	height: 100%;
}

.cmnd-portrait-ratio .elementor-widget-image img {
	object-fit: cover;
}

/* Masquer sous 640 px (équivalent de `hidden sm:flex`) */
.elementor-widget.cmnd-hide-below-sm {
	display: none;
}

@media (min-width: 640px) {
	.elementor-widget.cmnd-hide-below-sm {
		display: block;
	}
}

/* --------------------------------------------------------------------------
   16. Widget « Actualités CMND »
   -------------------------------------------------------------------------- */
.cmnd-news {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
}

.cmnd-news__item {
	display: flex;
	flex-direction: column;
}

.cmnd-news__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.cmnd-news__media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	margin-bottom: 2rem;
}

.cmnd-news__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cmnd-news__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to bottom right, rgba(6, 182, 212, 0.3), #0f1419);
}

.cmnd-news__placeholder .msi {
	font-size: 3.75rem;
	color: rgba(6, 182, 212, 0.5);
}

.cmnd-news__date {
	margin-bottom: 1rem;
	color: #60a5fa;
	font-size: 0.75rem;
	line-height: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.cmnd-news__title {
	margin-bottom: 1rem;
	color: #ffffff;
	font-size: 1.25rem;
	line-height: 1.4;
	font-weight: 700;
	transition: color 0.3s;
}

.cmnd-news__excerpt {
	margin-bottom: 2.5rem;
	color: #cbd5e1;
	line-height: 1.6;
}

.cmnd-news__more {
	margin-top: auto;
	color: #06b6d4;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	transition: color 0.3s;
}

.cmnd-news__item:hover .cmnd-news__more {
	color: #60a5fa;
}

.cmnd-news__empty {
	color: #94a3b8;
}

/* Présentation « grille » de la page Actualités */
.cmnd-news--list .cmnd-news__item {
	background: none;
	border: 0;
	padding: 0;
}

.cmnd-news--list .cmnd-news__media {
	margin-bottom: 2rem;
}

.cmnd-news--list .cmnd-news__item:hover .cmnd-news__media img {
	transform: scale(1.1);
}

.cmnd-news--list .cmnd-news__date {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	color: #06b6d4;
	font-size: 0.625rem;
	font-weight: 700;
}

.cmnd-news--list .cmnd-news__date::after {
	content: "";
	flex: 1;
	height: 1px;
	background-color: rgba(255, 255, 255, 0.1);
}

.cmnd-news--list .cmnd-news__title {
	margin-bottom: 1rem;
	font-size: 1.5rem;
}

.cmnd-news--list .cmnd-news__item:hover .cmnd-news__title {
	color: #06b6d4;
}

.cmnd-news--list .cmnd-news__excerpt {
	margin-bottom: 1rem;
	color: #94a3b8;
	font-size: 0.875rem;
	line-height: 1.625;
}

.cmnd-news--list .cmnd-news__more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: gap 0.3s, color 0.3s;
}

.cmnd-news--list .cmnd-news__item:hover .cmnd-news__more {
	gap: 1rem;
}

@media (max-width: 767px) {
	.cmnd-news {
		grid-template-columns: 1fr;
	}
}

/* Texture « grain » des sections CTA (équivalent de l'image noise.svg d'origine) */
.cmnd-noise {
	position: relative;
}

.cmnd-noise::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0.1;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Voile cyan en fusion « overlay » (hero Entraînements) */
.cmnd-blend-overlay {
	mix-blend-mode: overlay;
}

/* Tuiles réseaux sociaux (page Contact) */
.cmnd-social-tile {
	position: relative;
}

.cmnd-social-tile .elementor-widget-icon {
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cmnd-social-tile:hover .elementor-widget-icon {
	transform: scale(1.1);
}

.elementor-widget.cmnd-social-label {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	background-color: rgba(10, 14, 26, 0.6);
	opacity: 0;
	transition: opacity 0.3s;
}

.cmnd-social-tile:hover .elementor-widget.cmnd-social-label {
	opacity: 1;
}

/* Encart « Localisation » posé sur la carte */
.cmnd-map-badge {
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.cmnd-news__more .msi,
.cmnd-news__more i,
.cmnd-news__more svg {
	font-size: 0.875rem;
	width: 0.875rem;
	height: 0.875rem;
}
