/* ==========================================================================
   YØUNX Events — styles complémentaires (theme.json gère couleurs, typos, espacements)
   Sommaire :
   1. Bases           5. Cartes & styles de blocs   9.  Formulaires
   2. En-tête         6. Chiffres & étapes          10. Blog
   3. Bandeau (héro)  7. FAQ                        11. Animations (CSS pur)
   4. Titres          8. Pied de page               12. Accessibilité / mouvement réduit
   ========================================================================== */

:root {
	--yx-gradient: linear-gradient(90deg, #81B4DF 0%, #C0A2DE 50%, #EE8DBA 100%);
	--yx-radius: 18px;
	--yx-ease: cubic-bezier(.22, .61, .36, 1);
}

/* 1. Bases ---------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
::selection { background: #C0A2DE; color: #05060A; }
img { height: auto; max-width: 100%; }
:where(.wp-site-blocks) > main { margin-block-start: 0; }
/* Sections pleine largeur collées les unes aux autres (pas de bande entre deux sections) */
.wp-block-post-content > .alignfull,
main > .alignfull { margin-block-start: 0; margin-block-end: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

.wp-element-button,
.wp-block-button__link {
	transition: transform .25s var(--yx-ease), box-shadow .25s var(--yx-ease), filter .25s var(--yx-ease);
}
.wp-element-button:hover,
.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px -14px rgba(238, 141, 186, .65);
	filter: saturate(1.15);
	text-decoration: none;
}

/* Bouton « Sombre » (ex. « Découvrez nos services ») */
.wp-block-button.is-style-yx-dark .wp-block-button__link {
	background: #05060A;
	color: #FFFFFF;
	box-shadow: inset 0 0 0 1px #292A33;
}
.wp-block-button.is-style-yx-dark .wp-block-button__link:hover { box-shadow: inset 0 0 0 1px #C0A2DE, 0 14px 34px -14px rgba(192, 162, 222, .5); }

/* Bouton « Contour dégradé » */
.wp-block-button.is-style-yx-ghost .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background:
		linear-gradient(#0A0B10, #0A0B10) padding-box,
		var(--yx-gradient) border-box;
	border: 2px solid transparent;
	color: #FFFFFF;
}

/* 2. En-tête -------------------------------------------------------------- */
.yx-sticky {
	position: sticky;
	top: 0;
	z-index: 100;
}
.admin-bar .yx-sticky { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .yx-sticky { top: 0; } }
.yx-header {
	position: relative;
	background: rgba(11, 13, 20, .82);
	border-bottom: 1px solid transparent;
}
/* Le flou est porté par un pseudo-élément : un backdrop-filter sur l'en-tête lui-même
   enfermerait le menu mobile « plein écran » dans la hauteur de l'en-tête. */
.yx-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	pointer-events: none;
}
@media (max-width: 1023px) { .yx-hide-mobile { display: none !important; } }

.yx-header .wp-block-image img,
.yx-header .wp-block-site-logo img { transition: width .3s var(--yx-ease); }

.yx-header .wp-block-navigation-item__content { position: relative; padding-block: .4rem; }
.yx-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -2px;
	height: 2px;
	border-radius: 2px;
	background: var(--yx-gradient);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--yx-ease);
}
.yx-header .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after,
.yx-header .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.yx-header .wp-block-navigation a:hover { text-decoration: none; color: #fff; }

/* Sous-menus */
.yx-header .wp-block-navigation .wp-block-navigation__submenu-container {
	background: #0B0D14 !important;
	border: 1px solid #292A33 !important;
	border-radius: 14px;
	padding: .5rem;
	min-width: 260px;
	box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8);
}
.yx-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: .55rem .8rem;
	border-radius: 10px;
}
.yx-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: #181B24; }

/* Menu mobile (plein écran) */
.wp-block-navigation__responsive-container.is-menu-open {
	background: #05060A !important;
	color: #FFFFFF !important;
	padding: 2rem 1.5rem;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container { gap: 1.1rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.25rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; background: transparent !important; box-shadow: none; padding: .5rem 0 0 1rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { font-size: 1rem; color: #FFFFFF; }
.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }

/* 3. Bandeau principal (héro) ---------------------------------------------- */
.yx-hero { overflow: hidden; }
.yx-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(5, 6, 10, .85) 0%, rgba(5, 6, 10, .35) 60%, rgba(5, 6, 10, .1) 100%),
		linear-gradient(0deg, #05060A 0%, rgba(5, 6, 10, 0) 30%);
}
.wp-block-cover.yx-hero > .wp-block-cover__inner-container { position: relative; z-index: 3 !important; }
@media (max-width: 781px) {
	.yx-hero::after { background: linear-gradient(0deg, #05060A 10%, rgba(5, 6, 10, .55) 100%); }
	.yx-hero .wp-block-cover__image-background { object-position: 65% center !important; }
}

/* Bandeau des pages intérieures */
.yx-page-hero { position: relative; isolation: isolate; }
.yx-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(50% 80% at 85% 0%, rgba(238, 141, 186, .18) 0%, rgba(5, 6, 10, 0) 70%),
		radial-gradient(45% 70% at 10% 10%, rgba(129, 180, 223, .16) 0%, rgba(5, 6, 10, 0) 70%);
}

/* 4. Titres --------------------------------------------------------------- */
.is-style-yx-gradient,
.yx-gradient-text {
	background: var(--yx-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #C0A2DE;
}
.is-style-yx-eyebrow {
	display: inline-block;
	font-family: var(--wp--preset--font-family--poppins);
	font-size: .8rem !important;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #FFFFFF;
	margin-bottom: 0;
}
.is-style-yx-eyebrow::before {
	content: "";
	display: inline-block;
	width: 26px;
	height: 2px;
	margin-right: .7em;
	vertical-align: middle;
	border-radius: 2px;
	background: var(--yx-gradient);
}
.has-text-align-center.is-style-yx-eyebrow { display: block; }
.is-style-yx-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #FFFFFF; line-height: 1.75; }

/* 5. Cartes & styles de blocs --------------------------------------------- */
.is-style-yx-card {
	position: relative;
	background:
		linear-gradient(#181B24, #181B24) padding-box,
		var(--yx-gradient) border-box !important;
	border: 2px solid transparent !important;
	border-radius: var(--yx-radius);
	transition: transform .35s var(--yx-ease), box-shadow .35s var(--yx-ease);
}
.is-style-yx-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 60px -28px rgba(192, 162, 222, .55);
}
.is-style-yx-card-soft {
	background: #11131B;
	border: 1px solid #292A33;
	border-radius: var(--yx-radius);
	transition: border-color .3s var(--yx-ease), transform .35s var(--yx-ease);
}
.is-style-yx-card-soft:hover { border-color: #C0A2DE; transform: translateY(-4px); }

/* Cartes dans des colonnes : même hauteur, bouton aligné en bas */
.wp-block-columns.yx-cards > .wp-block-column { display: flex; flex-direction: column; }
.wp-block-columns.yx-cards > .wp-block-column > .is-style-yx-card,
.wp-block-columns.yx-cards > .wp-block-column > .is-style-yx-card-soft { flex: 1; display: flex; flex-direction: column; }
.yx-cards .yx-card-footer { margin-top: auto !important; }

.is-style-yx-glow { position: relative; isolation: isolate; }
.is-style-yx-glow::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: radial-gradient(55% 45% at 50% 0%, rgba(192, 162, 222, .16) 0%, rgba(5, 6, 10, 0) 70%);
}

.wp-block-image.is-style-yx-framed img {
	border-radius: var(--yx-radius);
	border: 2px solid transparent;
	background: var(--yx-gradient) border-box;
	box-shadow: 0 30px 70px -30px rgba(192, 162, 222, .55);
}

.wp-block-list.is-style-yx-check { list-style: none; padding-left: 0; }
.wp-block-list.is-style-yx-check li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
.wp-block-list.is-style-yx-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .35em;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	background: var(--yx-gradient);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.4 14.2L4.4 10l1.4-1.4 2.8 2.8 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.4 14.2L4.4 10l1.4-1.4 2.8 2.8 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.yx-price { font-family: var(--wp--preset--font-family--rajdhani); font-weight: 600; letter-spacing: .02em; }
.yx-price strong { font-size: 1.5em; }

/* Vidéo / carte arrondies */
.wp-block-embed.yx-rounded iframe,
.wp-block-embed.yx-rounded .wp-block-embed__wrapper,
.yx-rounded img { border-radius: var(--yx-radius); overflow: hidden; }

/* 6. Chiffres clés & étapes ----------------------------------------------- */
.yx-stat-number { font-variant-numeric: tabular-nums; line-height: 1 !important; }
.yx-stats > .wp-block-column { position: relative; }
@media (min-width: 782px) {
	.yx-stats > .wp-block-column + .wp-block-column::before {
		content: "";
		position: absolute;
		left: calc(var(--wp--style--block-gap, 2rem) / -2);
		top: 15%;
		bottom: 15%;
		width: 1px;
		background: linear-gradient(180deg, rgba(41, 42, 51, 0), #292A33, rgba(41, 42, 51, 0));
	}
}
.yx-step-number {
	font-family: var(--wp--preset--font-family--poppins);
	font-weight: 700;
	line-height: .9 !important;
	opacity: .95;
}

/* 7. FAQ (bloc Détails natif : accessible, sans JavaScript, indexable) ---- */
.wp-block-details.is-style-yx-faq,
.yx-faq .wp-block-details {
	background: #11131B;
	border: 1px solid #292A33;
	border-radius: 14px;
	padding: 0;
	margin-block-start: .75rem;
	transition: border-color .3s var(--yx-ease);
}
.wp-block-details.is-style-yx-faq[open],
.yx-faq .wp-block-details[open] { border-color: #C0A2DE; }
.wp-block-details.is-style-yx-faq summary,
.yx-faq .wp-block-details summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding: 1.1rem 3.2rem 1.1rem 1.4rem;
	font-family: var(--wp--preset--font-family--rajdhani);
	font-size: 1.2rem;
	font-weight: 700;
	color: #fff;
}
.wp-block-details.is-style-yx-faq summary::-webkit-details-marker,
.yx-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-yx-faq summary::after,
.yx-faq .wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 1.2rem;
	top: 50%;
	width: 1.8rem;
	height: 1.8rem;
	margin-top: -.9rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--yx-gradient);
	color: #05060A;
	font-family: var(--wp--preset--font-family--poppins);
	font-size: 1.2rem;
	line-height: 1;
	transition: transform .3s var(--yx-ease);
}
.wp-block-details.is-style-yx-faq[open] summary::after,
.yx-faq .wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details.is-style-yx-faq > :not(summary),
.yx-faq .wp-block-details > :not(summary) { padding: 0 1.4rem; color: #FFFFFF; }
.wp-block-details.is-style-yx-faq > :last-child:not(summary),
.yx-faq .wp-block-details > :last-child:not(summary) { padding-bottom: 1.2rem; }
.yx-faq .wp-block-details[open] > :not(summary) { animation: yx-fade-in .45s var(--yx-ease); }

/* 8. Pied de page --------------------------------------------------------- */
.yx-footer { border-top: 1px solid #181B24; }
.yx-footer-title { font-family: var(--wp--preset--font-family--rajdhani); font-weight: 700; color: #fff; margin-bottom: .5rem; }
.yx-footer a { color: #FFFFFF; }
.yx-footer a:hover { color: #EE8DBA; }
.yx-footer .wp-block-navigation a { color: #F2F3F8; }
.yx-footer .wp-block-social-links .wp-social-link { transition: transform .25s var(--yx-ease); }
.yx-footer .wp-block-social-links .wp-social-link:hover { transform: translateY(-3px); }
.yx-gradient-line { height: 2px; border: 0; background: var(--yx-gradient); opacity: .7; }

/* 9. Formulaires (Contact Form 7, WPForms, Fluent Forms, Gravity Forms…) -- */
.yx-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], input[type="url"], select, textarea),
.wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea),
.wpforms-container :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea),
.fluentform :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea) {
	width: 100%;
	max-width: 100% !important;
	background: #0A0B10 !important;
	color: #FFFFFF !important;
	border: 1px solid #292A33 !important;
	border-radius: 12px !important;
	padding: .85rem 1rem !important;
	font: inherit;
	transition: border-color .2s, box-shadow .2s;
}
.yx-form :is(input, select, textarea):focus,
.wpcf7 :is(input, select, textarea):focus,
.wpforms-container :is(input, select, textarea):focus,
.fluentform :is(input, select, textarea):focus {
	outline: none;
	border-color: #C0A2DE !important;
	box-shadow: 0 0 0 3px rgba(192, 162, 222, .25) !important;
}
.yx-form label, .wpcf7 label, .wpforms-container label, .fluentform label { color: #FFFFFF !important; font-weight: 500; }
.yx-form :is(input[type="submit"], button[type="submit"]),
.wpcf7 input[type="submit"],
.wpforms-container button[type="submit"],
.fluentform button[type="submit"] {
	background: var(--yx-gradient) !important;
	color: #05060A !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: .9rem 2rem !important;
	font-weight: 600 !important;
	cursor: pointer;
	transition: transform .25s var(--yx-ease), box-shadow .25s var(--yx-ease);
}
.yx-form :is(input[type="submit"], button[type="submit"]):hover,
.wpcf7 input[type="submit"]:hover,
.wpforms-container button[type="submit"]:hover,
.fluentform button[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(238, 141, 186, .65); }

/* Éditeur : carte formulaire stable et bloc Code court lisible (1.19.3) */
.editor-styles-wrapper :is(.is-style-yx-card, .is-style-yx-card-soft):hover { transform: none; }
.editor-styles-wrapper .yx-form > .wp-block-heading { position: relative; z-index: 1; }
.editor-styles-wrapper .yx-form :is(.wp-block-shortcode, .wp-block-forminator-forms) { margin-top: 1rem; }

/* Recherche */
.wp-block-search__input { background: #0A0B10; color: #FFFFFF; border: 1px solid #292A33; border-radius: 999px; padding: .7rem 1.1rem; }
.wp-block-search__button { margin-left: .5rem; }

/* 10. Blog ---------------------------------------------------------------- */
.yx-post-card { height: 100%; overflow: hidden; }
.yx-post-card .wp-block-post-featured-image { margin: 0; overflow: hidden; }
.yx-post-card .wp-block-post-featured-image img { transition: transform .6s var(--yx-ease); }
.yx-post-card:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.yx-post-card .wp-block-post-title a { color: #fff; }
.yx-post-card .wp-block-post-title a:hover { color: #EE8DBA; text-decoration: none; }
.wp-block-query-pagination a, .wp-block-query-pagination .current { padding: .4rem .8rem; border-radius: 999px; }
.wp-block-query-pagination .current { background: var(--yx-gradient); color: #05060A; }
.wp-block-post-content a:not(.wp-element-button) { text-decoration: underline; text-underline-offset: 3px; }

/* 11. Animations — 100 % CSS -----------------------------------------------
   Utilisation : ajouter une classe à un bloc (ou via le menu « Animation »
   dans la barre latérale de l'éditeur) :
     yx-fade        fondu simple
     yx-fade-up     fondu + montée
     yx-fade-down   fondu + descente
     yx-fade-left   fondu depuis la gauche
     yx-fade-right  fondu depuis la droite
     yx-zoom        fondu + léger zoom
     yx-stagger     (sur un groupe/colonnes) : les enfants apparaissent en cascade
     yx-delay-1…4   petit décalage
   Navigateurs récents : animation liée au défilement (animation-timeline: view()),
   aucun JavaScript. Autres navigateurs : repli léger via reveal.js.
   Le contenu reste toujours présent dans le HTML (aucun impact SEO).
   ------------------------------------------------------------------------- */
@keyframes yx-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes yx-fade-up { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
@keyframes yx-fade-down { from { opacity: 0; transform: translate3d(0, -40px, 0); } to { opacity: 1; transform: none; } }
@keyframes yx-fade-left { from { opacity: 0; transform: translate3d(-48px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes yx-fade-right { from { opacity: 0; transform: translate3d(48px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes yx-rise { from { transform: translate3d(0, 24px, 0); } to { transform: none; } }
@keyframes yx-zoom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes yx-header-solid {
	to { background: rgba(11, 13, 20, .96); border-bottom-color: #181B24; box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .8); }
}

@media (prefers-reduced-motion: no-preference) {

	/* Bandeau d'accueil : apparition au chargement (CSS pur) */
	/* Le titre H1 ne part jamais d'une opacité nulle : il reste candidat LCP dès le 1er rendu */
	.yx-intro > * { animation: yx-fade-up .8s var(--yx-ease) both; }
	.yx-intro > h1 { animation-name: yx-rise; animation-delay: 0s !important; }
	.yx-intro > :nth-child(2) { animation-delay: .12s; }
	.yx-intro > :nth-child(3) { animation-delay: .24s; }
	.yx-intro > :nth-child(4) { animation-delay: .36s; }
	.yx-intro > :nth-child(n+5) { animation-delay: .48s; }

	/* Animations au défilement : 100 % CSS */
	@supports (animation-timeline: view()) {
		.yx-fade, .yx-fade-up, .yx-fade-down, .yx-fade-left, .yx-fade-right, .yx-zoom,
		.yx-stagger > * {
			animation-duration: 1ms; /* requis par Firefox, ignoré sinon */
			animation-timing-function: var(--yx-ease);
			animation-fill-mode: both;
			animation-timeline: view();
			animation-range: entry 5% cover 30%;
		}
		.yx-fade { animation-name: yx-fade-in; }
		.yx-fade-up, .yx-stagger > * { animation-name: yx-fade-up; }
		.yx-fade-down { animation-name: yx-fade-down; }
		.yx-fade-left { animation-name: yx-fade-left; }
		.yx-fade-right { animation-name: yx-fade-right; }
		.yx-zoom { animation-name: yx-zoom; }

		.yx-delay-1, .yx-stagger > :nth-child(2) { animation-range: entry 12% cover 34%; }
		.yx-delay-2, .yx-stagger > :nth-child(3) { animation-range: entry 19% cover 38%; }
		.yx-delay-3, .yx-stagger > :nth-child(4) { animation-range: entry 26% cover 42%; }
		.yx-delay-4, .yx-stagger > :nth-child(n+5) { animation-range: entry 33% cover 46%; }

		/* En-tête qui s'opacifie au défilement */
		.yx-header {
			animation: yx-header-solid linear both;
			animation-timeline: scroll(root);
			animation-range: 0 140px;
		}
	}

	/* Repli (Firefox, anciens Safari) : classe « yx-js » posée dans <head> */
	@supports not (animation-timeline: view()) {
		.yx-js :is(.yx-fade, .yx-fade-up, .yx-fade-down, .yx-fade-left, .yx-fade-right, .yx-zoom, .yx-stagger > *) {
			opacity: 0;
			transition: opacity .9s var(--yx-ease), transform .9s var(--yx-ease);
			transition-delay: var(--yx-delay, 0s);
		}
		.yx-js .yx-fade-up, .yx-js .yx-stagger > * { transform: translate3d(0, 40px, 0); }
		.yx-js .yx-fade-down { transform: translate3d(0, -40px, 0); }
		.yx-js .yx-fade-left { transform: translate3d(-48px, 0, 0); }
		.yx-js .yx-fade-right { transform: translate3d(48px, 0, 0); }
		.yx-js .yx-zoom { transform: scale(.94); }
		.yx-js .yx-delay-1, .yx-js .yx-stagger > :nth-child(2) { --yx-delay: .1s; }
		.yx-js .yx-delay-2, .yx-js .yx-stagger > :nth-child(3) { --yx-delay: .2s; }
		.yx-js .yx-delay-3, .yx-js .yx-stagger > :nth-child(4) { --yx-delay: .3s; }
		.yx-js .yx-delay-4, .yx-js .yx-stagger > :nth-child(n+5) { --yx-delay: .4s; }
		.yx-js :is(.yx-fade, .yx-fade-up, .yx-fade-down, .yx-fade-left, .yx-fade-right, .yx-zoom).is-inview,
		.yx-js .yx-stagger.is-inview > * { opacity: 1; transform: none; }
	}
}

/* 12. Accessibilité ------------------------------------------------------- */
:focus-visible { outline: 2px solid #EE8DBA; outline-offset: 3px; }
.skip-link:focus { background: #FFFFFF; color: #05060A; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Éditeur : aucune animation, tout reste visible pendant l'édition */
.editor-styles-wrapper :is(.yx-fade, .yx-fade-up, .yx-fade-down, .yx-fade-left, .yx-fade-right, .yx-zoom, .yx-stagger > *, .yx-intro > *) {
	animation: none !important;
	opacity: 1 !important;
	transform: none !important;
}
.editor-styles-wrapper .yx-header, .editor-styles-wrapper .yx-sticky { position: relative; animation: none; }

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 781px) {
	.yx-reverse-mobile { flex-direction: column-reverse; }
	.yx-center-mobile, .yx-center-mobile .wp-block-buttons { text-align: center; justify-content: center; }
	.is-style-yx-card:hover, .is-style-yx-card-soft:hover { transform: none; }
}

/* Compléments ---------------------------------------------------------------- */
.yx-btn-sm .wp-block-button__link { padding: .6rem 1.25rem; font-size: .9rem; }

/* Vignette vidéo légère (aucun lecteur YouTube chargé avant le clic) */
.yx-video-link { position: relative; border-radius: var(--yx-radius); overflow: hidden; max-width: 880px; margin-inline: auto !important; }
.yx-video-link a { display: block; position: relative; }
.yx-video-link img { display: block; width: 100%; border-radius: var(--yx-radius); transition: transform .6s var(--yx-ease); }
.yx-video-link a::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 84px;
	height: 84px;
	margin: -42px 0 0 -42px;
	border-radius: 50%;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2305060A' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 38px no-repeat,
		var(--yx-gradient);
	box-shadow: 0 0 0 10px rgba(245, 247, 255, .12);
	transition: transform .3s var(--yx-ease);
}
.yx-video-link a:hover img { transform: scale(1.03); }
.yx-video-link a:hover::after { transform: scale(1.08); }

/* ---- Compléments pages recopiées du site ---- */
.yx-logos { gap: 2rem 3rem; align-items: center; }
.yx-logos img { max-height: 70px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .85; transition: opacity .3s, filter .3s; }
.yx-logos img:hover { filter: none; opacity: 1; }
.yx-logos .wp-block-image { margin: 0; }
.yx-table table { width: 100%; border-collapse: collapse; }
.yx-table th, .yx-table td { border: 1px solid var(--wp--preset--color--line); padding: .7rem 1rem; text-align: center; }
.yx-table th:first-child, .yx-table td:first-child { text-align: left; }
.yx-table thead th { background: var(--wp--preset--color--card); color: #fff; }
.yx-table td:not(:first-child) { color: var(--wp--preset--color--lilac); font-weight: 600; }
.is-style-yx-card-soft s, .is-style-yx-card s { font-size: .6em; color: var(--wp--preset--color--muted-2); -webkit-text-fill-color: currentColor; }

/* Sous-menus : texte toujours lisible (WordPress impose sinon une couleur sombre) */
.yx-header .wp-block-navigation .wp-block-navigation__submenu-container,
.yx-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item,
.yx-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
.yx-header .wp-block-navigation .wp-block-navigation__submenu-container a {
	color: #FFFFFF !important;
}
.yx-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.yx-header .wp-block-navigation .wp-block-navigation__submenu-container a:hover { color: #fff !important; background: #181B24; }

/* ---- Cartes avec icône / rangées de photos / cartes événement ---- */
.yx-icon-img { margin: 0; flex-shrink: 0; }
.yx-icon-img img { width: 56px; height: auto; opacity: .95; }
.yx-photo-row .wp-block-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.yx-event-card .wp-block-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.yx-event-imgs { margin-bottom: 0; }
.yx-event-imgs .wp-block-image img { aspect-ratio: 4 / 3; }

/* ---- Voile sur image de fond (panneau « Voile sur l'image de fond » du bloc Groupe) ---- */
.yx-voile { position: relative; isolation: isolate; --yx-vc: #05060A; --yx-vo: .5; }
.yx-voile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yx-vc); opacity: var(--yx-vo); pointer-events: none; }
.yx-voile-20 { --yx-vo: .2; } .yx-voile-30 { --yx-vo: .3; } .yx-voile-40 { --yx-vo: .4; } .yx-voile-50 { --yx-vo: .5; }
.yx-voile-60 { --yx-vo: .6; } .yx-voile-70 { --yx-vo: .7; } .yx-voile-80 { --yx-vo: .8; } .yx-voile-90 { --yx-vo: .9; }
.yx-voile-noir { --yx-vc: #05060A; } .yx-voile-nuit { --yx-vc: #0B0D14; } .yx-voile-violet { --yx-vc: #3a1450; }
.yx-voile-bleu { --yx-vc: #0e2a4a; } .yx-voile-rose { --yx-vc: #5a1236; }

/* ---- Blog : cartes ---- */
.yx-pill, .yx-pill a { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.yx-pill a { display: inline-block; padding: .2rem .7rem; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--wp--preset--color--lilac); }
.yx-pill a:hover { background: rgba(255,255,255,.16); }
.yx-meta { gap: .4rem 1.1rem; font-size: .85rem; color: var(--wp--preset--color--muted); align-items: center; }
.yx-meta > * { margin: 0; }
.yx-reading-time { margin: 0; font-size: .85rem; }
.yx-reading-time::before { content: "⏱ "; }
.yx-blog .wp-block-post-featured-image img { transition: transform .5s ease; }
.yx-blog .yx-post-card:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.yx-post-card .wp-block-post-featured-image { overflow: hidden; }

/* ---- Article ---- */
.yx-article-hero .wp-block-post-title { font-size: clamp(2rem, 4.2vw, 3.2rem); margin: .4rem 0 1.2rem; }
.yx-article-hero .yx-meta { margin-top: .5rem; }
.yx-article-hero .wp-block-post-terms a { color: inherit; text-decoration: none; }
.yx-article-hero .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.yx-article-body { align-items: flex-start !important; margin-top: var(--wp--preset--spacing--40); }
.yx-aside { position: sticky; top: 6rem; display: flex; flex-direction: column; gap: 1rem; max-height: calc(100vh - 7rem); overflow-y: auto; scrollbar-width: thin; }
.yx-aside > * { margin: 0 !important; }
.yx-aside-cta, .yx-aside-link { padding: 1.1rem 1.2rem !important; }
.yx-aside h3 { margin: 0 0 .5rem; text-transform: none; letter-spacing: 0; }
.yx-aside .wp-block-button__link { text-align: center; }
.yx-toc { padding: 1.1rem 1.2rem; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.yx-toc summary { font-weight: 700; cursor: pointer; margin-bottom: .6rem; }
.yx-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.yx-toc li.yx-toc-l3 { padding-left: 1rem; font-size: .9em; }
.yx-toc a { display: block; padding: .3rem .6rem; border-left: 2px solid transparent; color: var(--wp--preset--color--muted); text-decoration: none; line-height: 1.35; }
.yx-toc a:hover { color: #fff; }
.yx-toc a.is-current { color: #fff; border-left-color: var(--wp--preset--color--lilac); background: rgba(255,255,255,.05); }
.yx-article-main h2[id], .yx-article-main h3[id] { scroll-margin-top: 6.5rem; }
.yx-article-main > .wp-block-post-content > * + * { margin-block-start: 1.2em; }
.yx-article-main .wp-block-post-content img { border-radius: 14px; height: auto; }
@media (max-width: 781px) {
	.yx-aside { position: static; max-height: none; overflow: visible; }
	.yx-article-body { flex-direction: column-reverse; }
}

/* ---- v1.9.1 : liste des articles pleine largeur + en-tête d'article stylisé ---- */
.yx-blog { padding-inline: clamp(1rem, 4vw, 4rem); box-sizing: border-box; max-width: none; }
.yx-blog .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: clamp(1.2rem, 2vw, 2rem); }
.yx-blog .yx-post-card { height: 100%; }
.yx-blog .wp-block-post-excerpt { flex-grow: 1; }

.yx-article-hero { position: relative; isolation: isolate; padding-inline: clamp(1rem, 4vw, 4rem); box-sizing: border-box; max-width: none; gap: clamp(1.5rem, 4vw, 4rem); }
.yx-article-hero::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background:
	radial-gradient(60rem 28rem at 15% 0%, rgba(140,110,255,.22), transparent 65%),
	radial-gradient(50rem 26rem at 95% 100%, rgba(255,120,190,.16), transparent 65%); pointer-events: none; }
.yx-article-hero .wp-block-post-terms a { display: inline-block; padding: .3rem .9rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--wp--preset--color--lilac); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.yx-article-hero .wp-block-post-title { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.08; background: linear-gradient(180deg, #fff 55%, #c9bdf5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.yx-article-hero .yx-meta { gap: .5rem; }
.yx-article-hero .yx-meta > * { padding: .35rem .85rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; font-size: .82rem; }
.yx-article-hero .yx-meta .yx-reading-time { padding: .35rem .85rem; }
.yx-article-hero .wp-block-post-featured-image { box-shadow: 0 30px 80px -30px rgba(120,90,255,.55); border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.yx-article-hero .wp-block-post-featured-image img { border-radius: 0; }
.yx-article-body { padding-inline: clamp(1rem, 4vw, 4rem); box-sizing: border-box; max-width: none; gap: clamp(1.5rem, 4vw, 4rem); }
.yx-article-main { min-width: 0; }
.yx-article-main .wp-block-post-content { max-width: 52rem; font-size: 1.05rem; line-height: 1.75; }
.yx-article-main h2 { margin-top: 2.2em; padding-left: .8rem; border-left: 3px solid var(--wp--preset--color--lilac); }

/* ---- v1.9.2 : en-tête du blog et filtre catégories ---- */
.yx-blog-hero h1 { margin-bottom: .8rem; }
.yx-cat-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; padding: 0 clamp(1rem, 4vw, 4rem) var(--wp--preset--spacing--40); }
.yx-cat-filter a { padding: .45rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: #fff; text-decoration: none; font-size: .85rem; font-weight: 600; transition: background .2s, border-color .2s; }
.yx-cat-filter a:hover { background: rgba(255,255,255,.12); }
.yx-cat-filter a.is-active { background: linear-gradient(90deg, #81B4DF, #C0A2DE, #EE8DBA); color: #0A0B10; border-color: transparent; }

/* ---- v1.9.3 : liste des articles, 3 à 4 cartes par ligne sur toute la largeur ---- */
.wp-block-query.yx-blog, .wp-block-query.yx-blog > * { max-width: none !important; width: 100%; box-sizing: border-box; }
.wp-block-query.yx-blog .wp-block-post-template { display: grid !important; grid-template-columns: 1fr !important; gap: clamp(1.2rem, 2vw, 2rem) !important; padding: 0; margin: 0 !important; width: 100%; max-width: none !important; }
.wp-block-query.yx-blog .wp-block-post-template > li { width: auto !important; max-width: none !important; margin: 0 !important; }
@media (min-width: 640px)  { .wp-block-query.yx-blog .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (min-width: 960px)  { .wp-block-query.yx-blog .wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (min-width: 1500px) { .wp-block-query.yx-blog .wp-block-post-template { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.yx-blog .yx-post-card { width: 100%; }

/* ---- v1.9.4 : le conteneur du modèle de liste doit occuper toute la largeur ---- */
main > .wp-block-template-part { max-width: none !important; width: 100%; margin-inline: 0 !important; padding: 0; box-sizing: border-box; }

/* ---- v1.9.5 : responsive liste + article ---- */
.yx-post-card, .yx-post-card * { min-width: 0; overflow-wrap: anywhere; }
.yx-post-card .wp-block-post-title { font-size: clamp(1.1rem, 1.4vw + .6rem, 1.45rem) !important; line-height: 1.25; }
.yx-post-card .wp-block-post-excerpt__excerpt { font-size: .95rem; line-height: 1.55; }
.yx-pill a { white-space: normal; }
@media (max-width: 781px) {
	.yx-article-hero { padding-top: var(--wp--preset--spacing--40) !important; }
	.yx-article-hero > .wp-block-column { flex-basis: 100% !important; }
	.yx-article-hero .wp-block-post-featured-image { order: -1; }
	.yx-cat-filter { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 1rem; scrollbar-width: none; }
	.yx-cat-filter a { white-space: nowrap; }
	.yx-article-main .wp-block-post-content { font-size: 1rem; }
}

/* ---- v1.10.1 : menu mobile plein écran ---- */
.wp-block-navigation__responsive-container.is-menu-open { position: fixed; inset: 0; z-index: 100000; overflow-y: auto; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start; }

/* ---- v1.10.2 : menu mobile, aucun effet susceptible de contenir le menu plein écran ---- */
@media (max-width: 1023px) {
	.yx-header { animation: none !important; background: rgba(11, 13, 20, .97); }
	.yx-header::before { display: none; }
	.yx-sticky, .yx-header, .yx-header * { will-change: auto; }
	.yx-header .wp-block-navigation__responsive-container.is-menu-open {
		position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100vh !important; height: 100dvh !important;
		display: flex !important; flex-direction: column; overflow-y: auto; z-index: 100000;
	}
	.yx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
	.yx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: flex-start !important; width: 100%; gap: 1.1rem;
	}
	.yx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
		position: static !important; display: flex !important; flex-direction: column; visibility: visible !important; opacity: 1 !important; height: auto !important; width: auto !important; min-width: 0 !important; overflow: visible !important;
	}
	.yx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon { display: none; }
	.yx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: #fff !important; padding-block: .3rem; }
}

/* ---- v1.10.3 : aucun ancêtre du menu ne doit créer de « bloc conteneur » pour position: fixed ---- */
.wp-site-blocks, header.wp-block-template-part, .yx-sticky, .yx-header, .yx-header > .wp-block-group, .yx-header .wp-block-navigation {
	transform: none !important; filter: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
	perspective: none !important; contain: none !important; container-type: normal !important; content-visibility: visible !important; translate: none !important;
}


/* ---- Page DJ partenaires ---- */
.yx-avatar { width: 72px; height: 72px; margin: 0 !important; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--rajdhani, inherit); font-weight: 700; font-size: 1.5rem; letter-spacing: .04em; color: #0A0B10; background: linear-gradient(135deg, #81B4DF, #C0A2DE, #EE8DBA); }
.yx-pill-static { margin: 0 !important; align-self: flex-start; display: inline-block; padding: .2rem .7rem; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--wp--preset--color--lilac); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.yx-cards > .wp-block-column > .wp-block-group { height: 100%; }

/* ---- Page Film d'animation 3D (1.16.0) ---- */
.yx-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--yx-radius); overflow: hidden; background: #0B0D14; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px -35px rgba(120,90,255,.55); }
.yx-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yx-badge { margin: 0 0 .2rem !important; align-self: flex-start; display: inline-block; padding: .3rem .85rem; border-radius: 999px; background: var(--yx-gradient); color: #0A0B10; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.yx-stat-number small { font-size: .45em; font-weight: 500; letter-spacing: .02em; }
.yx-occasions .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Emplacement à compléter (média de démo, avis, montants) : visible tant qu'il n'est pas remplacé. */
.yx-placeholder { display: flex; align-items: center; justify-content: center; min-height: 220px; padding: 1.5rem; border: 2px dashed rgba(192,162,222,.55); border-radius: var(--yx-radius); background: rgba(255,255,255,.03); color: var(--wp--preset--color--muted, #C9C9D6); font-size: .95rem; }
.wp-block-columns.yx-cards .yx-placeholder { min-height: 0; }
#avis > .yx-placeholder { min-height: 0; max-width: 520px; margin-inline: auto; }

/* Page Location sono : packs en 2 × 2 (2 colonnes par ligne, 1 colonne sur mobile). */
.yx-packs { margin-bottom: var(--wp--preset--spacing--30); }
.yx-packs .wp-block-list:not(.is-style-yx-check) { padding-left: 1.1rem; font-size: .92rem; color: var(--wp--preset--color--muted, #C9C9D6); }

/* Collage de 3 photos en tête des cartes de packs (1 grande + 2 petites). */
.yx-collage { display: grid !important; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: .4rem; aspect-ratio: 16 / 9; margin-block: 0 .4rem !important; }
.yx-collage > * { position: relative; margin: 0 !important; min-height: 0; border-radius: 12px; overflow: hidden; background: #EEF0F4; }
.yx-collage > :first-child { grid-row: 1 / 3; }
.yx-collage img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.yx-collage .yx-contain img { object-fit: contain; padding: 8%; box-sizing: border-box; }

/* ---- Page Partenaires (1.20.0) ---- */
.yx-selector-label { margin-bottom: -.6rem !important; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--wp--preset--color--muted, #C9C9D6); }
.yx-selector { gap: .5rem !important; }
.yx-selector .wp-block-button__link { padding: .55rem 1.1rem !important; font-size: .9rem !important; }
.yx-proofs .yx-stat-number { margin-bottom: .2rem !important; }
.yx-proofs .wp-block-column > p:last-child { font-size: .9rem; margin-top: 0; }
.yx-card-link { margin-top: auto !important; font-weight: 600; }
.yx-card-link a { text-decoration: none; }
.yx-cards .is-style-yx-card-soft { display: flex; flex-direction: column; }
.yx-cards-2 { max-width: 820px; margin-inline: auto !important; }
.yx-steps-4 .yx-avatar { width: 52px; height: 52px; font-size: 1.2rem; }
.yx-a-completer { outline: 2px dashed #F5A524; outline-offset: 4px; position: relative; }
.yx-a-completer::before { content: "À compléter · invisible pour les visiteurs"; display: block; margin-bottom: .4rem; font: 600 .7rem/1.2 var(--wp--preset--font-family--poppins, sans-serif); letter-spacing: .06em; text-transform: uppercase; color: #F5A524; }
li.yx-a-completer::before, .wp-block-column.yx-a-completer::before { position: absolute; top: -1.3rem; left: 0; margin: 0; }
.yx-pform { display: grid; gap: .9rem; }
.yx-pform p, .yx-pform fieldset { margin: 0; }
.yx-pform label { display: block; margin-bottom: .35rem; }
.yx-pform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.yx-pform__types { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.yx-pform__types legend { width: 100%; margin-bottom: .45rem; color: #FFF; font-weight: 500; }
.yx-pform__types label { display: inline-flex; align-items: center; gap: .4rem; margin: 0; padding: .5rem .9rem; border: 1px solid #292A33; border-radius: 999px; background: #0A0B10; cursor: pointer; font-weight: 500; }
.yx-pform__types label:has(input:checked) { border-color: #C0A2DE; box-shadow: 0 0 0 3px rgba(192,162,222,.25); }
.yx-pform__types input { accent-color: #C0A2DE; }
.yx-pform__check label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400 !important; font-size: .9rem; color: var(--wp--preset--color--muted, #C9C9D6) !important; }
.yx-pform__check input { margin-top: .2rem; accent-color: #C0A2DE; flex: none; width: 1.05rem; height: 1.05rem; }
.yx-pform__count { display: block; margin-top: .3rem; font-size: .8rem; color: var(--wp--preset--color--muted-2, #9A9AA8); }
.yx-pform textarea { min-height: 6rem; }
.yx-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.yx-notice { padding: .9rem 1.1rem; border-radius: 12px; font-size: .95rem; }
.yx-notice--ok { background: rgba(120, 220, 160, .12); border: 1px solid rgba(120, 220, 160, .5); }
.yx-notice--error { background: rgba(238, 141, 186, .12); border: 1px solid rgba(238, 141, 186, .55); }
@media (max-width: 781px) {
	.yx-pform__grid { grid-template-columns: 1fr; }
	.yx-selector { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; }
	.yx-selector .wp-block-button { width: 100%; }
	.yx-selector .wp-block-button__link { width: 100%; }
	.yx-proofs { flex-wrap: wrap !important; }
	.yx-proofs > .wp-block-column { flex-basis: calc(50% - 1rem) !important; }
}
.yx-pform :is(input, select, textarea) { box-sizing: border-box; max-width: 100%; }
.yx-pform__grid > p { min-width: 0; }
.yx-proofs .yx-stat-number { font-size: clamp(2.2rem, 5vw, 3.2rem) !important; line-height: 1.1; }
.wp-block-group.yx-a-completer:not([style*="padding"]) { padding: 1.2rem 1.4rem; }
/* 1.21.0 · mentions « [À CONFIRMER] » (visibles seulement pour les personnes connectées) */
mark.yx-a-confirmer { background: rgba(245, 165, 36, .18); color: #F5A524; border: 1px dashed #F5A524; border-radius: 4px; padding: 0 .3em; font-size: .8em; font-weight: 600; letter-spacing: .03em; white-space: nowrap; }
.yx-cards-2 > .wp-block-column { min-width: 0; }
