/*
Theme Name: 5JMS
Theme URI: https://5jms.com
Author: uQooh Studio
Description: Thème FSE officiel de 5J Multiservices (5JMS · Bangui). Implémentation V3 en blocs Gutenberg natifs fidèle aux maquettes.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
Version: 0.4.2
License: GNU General Public License v2 or later
Text Domain: 5jms
*/

/* ==========================================================================
   1. POLICES, TOKENS & RÉINITIALISATION FSE
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/Archivo.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

@font-face {
	font-family: "Roboto";
	src: url("assets/fonts/Roboto.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--jms-container: max(1240px, calc(70vw + 112px));
	--jms-pad-x: 56px;
	--jms-inner-max: calc(var(--jms-container) - 2 * var(--jms-pad-x));
	--jms-card-max: max(1240px, 70vw);
	--jms-section-y: 100px;
}

*, *::before, *::after {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0 !important;
	background: #FFFFFF;
	color: #13294B;
	font-family: "Roboto", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* Neutralisation des marges injectées par WordPress FSE */
.wp-site-blocks,
.wp-site-blocks > *,
main.jms-sections,
main.jms-sections > *,
.wp-block-post-content {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

main.jms-sections,
main.jms-sections > .wp-block-post-content,
main.jms-sections > .entry-content,
.wp-block-post-content.jms-sections {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.wp-site-blocks > * + *,
main.jms-sections > * + * {
	margin-block-start: 0 !important;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: #3E79C6;
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: #13294B;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Archivo", Arial, sans-serif;
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.03em;
	color: #13294B;
	margin: 0;
}

p {
	margin: 0;
}

/* ==========================================================================
   2. CONTENEURS PLEINE LARGEUR, FILIGRANE 5J & COMPOSANTS GUTENBERG V3
   ========================================================================== */

.jms-snav,
.jms-hero,
.jms-page-hero,
.jms-article-hero,
.jms-section,
.jms-footer {
	padding-left: var(--jms-pad-x) !important;
	padding-right: var(--jms-pad-x) !important;
	width: 100%;
	max-width: none !important;
}

.jms-snav > *,
.jms-hero > *,
.jms-page-hero > *,
.jms-article-hero > *,
.jms-section > *,
.jms-footer > * {
	width: 100%;
	max-width: var(--jms-inner-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.jms-section {
	padding-top: var(--jms-section-y) !important;
	padding-bottom: var(--jms-section-y) !important;
	display: flex;
	flex-direction: column;
	gap: 34px !important;
}

.jms-section--partners-home {
	padding-top: var(--jms-section-y) !important;
	padding-bottom: var(--jms-section-y) !important;
}

.jms-section--services-m1 {
	padding-top: 30px !important;
	gap: 26px !important;
}

.jms-section--services-m2 {
	margin-top: 40px !important;
	padding-top: 90px !important;
	padding-bottom: 70px !important;
	gap: 26px !important;
}

/* Conteneur pour grands blocs arrondis (Étapes, Showroom, DG, CTA) */
.jms-section-card-wrap {
	padding: var(--jms-section-y) 56px !important;
	width: 100%;
	max-width: none !important;
}

.jms-section-card-wrap--padded-top {
	padding-top: var(--jms-section-y) !important;
}

.jms-section-card-wrap > * {
	width: 100%;
	max-width: var(--jms-card-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Monogramme 5J en filigrane dans les sections Hero */
.jms-lines {
	position: relative;
	overflow: hidden;
}

.jms-lines::before {
	content: "";
	position: absolute;
	right: -229px;
	top: 40px;
	width: 546px;
	height: 640px;
	background: url("assets/images/filigrane-5j.svg") center / contain no-repeat;
	opacity: 0.16;
	transform: rotate(-15deg);
	transform-origin: 50% 50%;
	pointer-events: none;
	z-index: 0;
}

.jms-hero.jms-lines::before {
	inset: 0;
	right: auto;
	top: auto;
	width: 100%;
	height: 100%;
	background: url("assets/images/lignes-v1.svg") center / cover no-repeat;
	opacity: 0.18;
	transform: none;
}

.jms-cta.jms-lines::before {
	opacity: 0.14;
	right: -140px;
	top: -120px;
	width: 440px;
	height: 520px;
}

.jms-lines > * {
	position: relative;
	z-index: 1;
}

/* Badges pilules (eyebrows V3) */
.jms-pill-badge {
	align-self: flex-start;
	display: inline-flex;
	width: fit-content !important;
	max-width: 100%;
	gap: 8px;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.jms-page-hero > .jms-pill-badge,
.jms-section > .jms-pill-badge {
	width: fit-content !important;
	max-width: var(--jms-inner-max) !important;
	margin-left: max(0px, calc((100% - var(--jms-inner-max)) / 2)) !important;
	margin-right: auto !important;
}

.jms-pill-badge--anis {
	background: #EAF6CA;
	color: #13294B;
}

.jms-pill-badge--check::before {
	content: "";
	width: 16px;
	height: 16px;
	flex: none;
	background: #49B95C;
	-webkit-mask: url("assets/icons/coche.svg") center / contain no-repeat;
	mask: url("assets/icons/coche.svg") center / contain no-repeat;
}

.jms-pill-badge--pale {
	background: #EEF4FC;
	color: #3E79C6;
}

.jms-pill-badge--blanc {
	background: #FFFFFF;
	color: #3E79C6;
}

.jms-pill-badge--blanc-marine {
	background: #FFFFFF;
	color: #13294B;
}

.is-style-jms-eyebrow {
	font-family: "Roboto", Arial, sans-serif;
	font-weight: 700;
	font-size: 12px !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.3;
	margin: 0;
}

.jms-section-head {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: space-between !important;
	align-items: flex-end !important;
	gap: 16px !important;
}

.jms-section-head__titles {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.jms-section h2,
.jms-section-card-wrap h2 {
	font-size: clamp(30px, 3.6vw, 52px);
}

.jms-h2-compact {
	font-size: clamp(28px, 2.8vw, 40px) !important;
}

.jms-link-arrow a {
	font-family: "Archivo", Arial, sans-serif;
	font-weight: 800;
	color: #3E79C6;
	text-decoration: none;
	font-size: 16px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.jms-link-arrow a:hover {
	color: #13294B;
}

/* Variantes de boutons Gutenberg V3 (pilules 999px) */
.wp-block-button .wp-block-button__link {
	border-radius: 999px !important;
	font-family: "Archivo", Arial, sans-serif !important;
	font-weight: 800 !important;
	font-size: 16px !important;
	padding: 16px 26px !important;
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	border: 0 !important;
	text-decoration: none !important;
	line-height: 1.2 !important;
}

.wp-block-button.is-style-jms-bleu .wp-block-button__link {
	background-color: #3E79C6 !important;
	color: #FFFFFF !important;
}

.wp-block-button.is-style-jms-bleu .wp-block-button__link:hover {
	background-color: #13294B !important;
	color: #FFFFFF !important;
}

.wp-block-button.is-style-jms-marine .wp-block-button__link {
	background-color: #13294B !important;
	color: #FFFFFF !important;
}

.wp-block-button.is-style-jms-marine .wp-block-button__link:hover {
	background-color: #3E79C6 !important;
	color: #FFFFFF !important;
}

.wp-block-button.is-style-jms-blanc .wp-block-button__link {
	background-color: #FFFFFF !important;
	color: #13294B !important;
}

.wp-block-button.is-style-jms-blanc .wp-block-button__link:hover {
	background-color: #EAF6CA !important;
	color: #13294B !important;
}

.wp-block-button.is-style-jms-anis .wp-block-button__link {
	background-color: #EAF6CA !important;
	color: #13294B !important;
}

.wp-block-button.is-style-jms-anis .wp-block-button__link:hover {
	background-color: #FFFFFF !important;
	color: #13294B !important;
}

.wp-block-button.is-style-jms-contour-blanc .wp-block-button__link {
	background-color: transparent !important;
	border: 1.5px solid #FFFFFF !important;
	color: #FFFFFF !important;
}

.wp-block-button.is-style-jms-contour-blanc .wp-block-button__link:hover {
	background-color: #FFFFFF !important;
	color: #13294B !important;
}

/* Blocs Liste cochée verte & Citation V3 */
ul.wp-block-list.is-style-jms-check,
ul.wp-block-list.is-style-jms-check-divided {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	display: flex;
	flex-direction: column;
}

ul.wp-block-list.is-style-jms-check {
	gap: 10px;
	font-size: 17px;
}

ul.wp-block-list.is-style-jms-check-divided {
	gap: 0;
	font-size: 17px;
}

ul.wp-block-list.is-style-jms-check li,
ul.wp-block-list.is-style-jms-check-divided li {
	position: relative;
	padding-left: 28px;
	color: #13294B;
}

ul.wp-block-list.is-style-jms-check-divided li {
	padding: 12px 0 12px 28px;
	border-bottom: 1px solid #E3EAF3;
}

ul.wp-block-list.is-style-jms-check li::before,
ul.wp-block-list.is-style-jms-check-divided li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 5px;
	width: 18px;
	height: 18px;
	background-color: #49B95C;
	-webkit-mask: url("assets/icons/coche.svg") center / contain no-repeat;
	mask: url("assets/icons/coche.svg") center / contain no-repeat;
}

ul.wp-block-list.is-style-jms-check-divided li::before {
	top: 16px;
}

.wp-block-quote.is-style-jms-quote {
	margin: 14px 0 !important;
	padding: 34px !important;
	border-left: 0 !important;
	background-color: #EAF6CA !important;
	border-radius: 32px;
}

.wp-block-quote.is-style-jms-quote p {
	margin: 0 0 10px !important;
	font-family: "Archivo", Arial, sans-serif;
	font-weight: 800;
	font-size: 28px;
	line-height: 1.2;
	color: #13294B;
}

.wp-block-quote.is-style-jms-quote cite {
	font-style: normal;
	color: #3C4A60;
	font-size: 16px;
	display: block;
}

/* ==========================================================================
   3. EN-TÊTE FLOTTANT EN PILULE (.snav), BOUTON WHATSAPP & TIROIR MOBILE
   ========================================================================== */

header.wp-block-template-part {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	display: block;
}

.editor-styles-wrapper header.wp-block-template-part {
	position: relative;
}

body.admin-bar header.wp-block-template-part {
	top: 32px;
}

.jms-snav {
	padding-top: 18px !important;
	padding-bottom: 10px !important;
	transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

@keyframes jmsSnavBlur {
	to {
		background: rgba(238, 244, 252, 0.9);
		backdrop-filter: blur(8px);
	}
}

@supports (animation-timeline: scroll()) {
	.jms-snav {
		animation: jmsSnavBlur linear both;
		animation-timeline: scroll(root);
		animation-range: 0 120px;
	}
}

html.is-scrolled .jms-snav {
	background: rgba(238, 244, 252, 0.9);
	backdrop-filter: blur(8px);
}

.editor-styles-wrapper .jms-snav {
	animation: none;
	background: #EEF4FC;
}

.jms-header__pill {
	background: #FFFFFF;
	border-radius: 999px;
	box-shadow: 0 10px 40px rgba(19, 41, 75, 0.10);
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 20px !important;
	padding: 12px 14px 12px 28px !important;
	flex-wrap: nowrap !important;
}

.wp-block-image.jms-header__logo {
	flex: none;
	margin: 0 !important;
	width: auto;
	display: flex;
	border-radius: 0 !important;
}

.wp-block-image.jms-header__logo img,
.jms-header__logo img {
	height: 52px !important;
	width: auto !important;
	max-width: none;
	object-fit: contain;
	border-radius: 0 !important;
}

.jms-header__nav {
	flex: 1 1 auto;
	justify-content: center !important;
}

.jms-header__nav .wp-block-navigation__container {
	gap: 2px !important;
	justify-content: center !important;
}

.jms-header__nav .wp-block-navigation-item__content {
	padding: 9px 14px !important;
	border-radius: 999px;
	background: transparent;
	color: #13294B;
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease;
}

.jms-header__nav .current-menu-item > .wp-block-navigation-item__content,
.jms-header__nav .is-current > .wp-block-navigation-item__content,
.jms-header__nav .wp-block-navigation-item__content[aria-current="page"],
body.single-service .jms-header__nav a[href*="/services/"],
body.single-service .jms-header__nav a[href*="/our-services/"],
body.post-type-archive-service .jms-header__nav a[href*="/services/"],
body.single-post .jms-header__nav a[href*="/actualites/"],
body.single-post .jms-header__nav a[href*="/news/"],
body.category .jms-header__nav a[href*="/actualites/"],
body.category .jms-header__nav a[href*="/news/"] {
	color: #13294B !important;
	font-weight: 700 !important;
	background: #EEF4FC !important;
}

.jms-header__nav .wp-block-navigation-item__content:hover {
	background: rgba(238, 244, 252, 0.75);
	color: #13294B;
}

.jms-header__actions {
	display: flex !important;
	align-items: center !important;
	gap: 20px !important;
	flex: none;
}

.jms-lang {
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.jms-lang__current {
	color: #13294B;
}

.jms-lang a,
.jms-lang span[aria-hidden="true"] {
	color: #8A97AA;
	font-weight: 400;
}

.jms-lang a:hover {
	color: #13294B;
}

.jms-header__cta .wp-block-button__link {
	padding: 15px 22px !important;
	font-size: 15px !important;
	white-space: nowrap;
}

.jms-header__cta .wp-block-button__link::after {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	background: #FFFFFF;
	-webkit-mask: url("assets/icons/fleche-droite.svg") center / contain no-repeat;
	mask: url("assets/icons/fleche-droite.svg") center / contain no-repeat;
}

/* Boutons flottants : Retour en haut + WhatsApp (V3) */
.jms-fab-stack {
	position: fixed;
	right: 28px;
	bottom: 28px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	z-index: 45;
}

.jms-fab-top {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 0;
	border-radius: 999px;
	background: #13294B;
	color: #FFFFFF;
	font-family: "Archivo", Arial, sans-serif;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.2;
	box-shadow: 0 8px 24px rgba(19, 41, 75, 0.25);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.15s ease;
}

.jms-fab-top.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.jms-fab-top.is-visible:hover {
	background: #2F66B0;
	transform: translateY(-2px);
}

.jms-fab-top svg {
	width: 16px;
	height: 16px;
	flex: none;
}

.jms-fab-whatsapp {
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: #49B95C;
	box-shadow: 0 10px 30px rgba(73, 185, 92, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s ease, background 0.15s ease;
}

.jms-fab-whatsapp:hover {
	background: #3CA34E;
	transform: translateY(-2px);
}

.jms-fab-whatsapp svg {
	width: 28px;
	height: 28px;
	stroke: #FFFFFF;
}

/* Contrôles mobiles masqués sur desktop (>960px) */
.jms-mobile-actions {
	display: none;
	gap: 8px;
	align-items: center;
	flex: none;
}

.jms-mobile-cta {
	background: #49B95C;
	color: #FFFFFF !important;
	text-decoration: none;
	font-family: "Archivo", Arial, sans-serif;
	font-weight: 800;
	font-size: 13px;
	padding: 12px 14px;
	border-radius: 999px;
	line-height: 1.2;
	white-space: nowrap;
}

.jms-header__toggle {
	width: 44px;
	height: 44px;
	padding: 0;
	background: #EEF4FC;
	border: 0;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	cursor: pointer;
}

.jms-header__toggle span {
	width: 18px;
	height: 2px;
	background: #13294B;
	display: block;
}

/* Tiroir plein écran mobile (Menu-m V3) */
.jms-drawer[hidden] {
	display: none !important;
}

.jms-drawer {
	position: fixed;
	inset: 0;
	z-index: 100001;
	background: #FFFFFF;
	color: #13294B;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}

body.admin-bar .jms-drawer {
	top: 32px;
}

body.jms-drawer-open {
	overflow: hidden;
}

.jms-drawer__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 18px;
}

.jms-drawer__top img {
	height: 44px;
	width: auto;
}

.jms-drawer__close {
	width: 46px;
	height: 46px;
	background: #EEF4FC;
	border: 0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #13294B;
	cursor: pointer;
}

.jms-drawer__close svg {
	width: 20px;
	height: 20px;
	stroke: #13294B;
	stroke-width: 2.4;
}

.jms-drawer__lang {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 18px 14px;
}

.jms-drawer__lang-label {
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #3C4A60;
}

.jms-drawer__lang .jms-lang {
	display: flex;
	gap: 8px;
}

.jms-drawer__lang .jms-lang span[aria-hidden="true"] {
	display: none;
}

.jms-drawer__lang .jms-lang__current {
	min-width: 52px;
	min-height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	background: #13294B;
	color: #FFFFFF;
}

.jms-drawer__lang .jms-lang a {
	min-width: 52px;
	min-height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	background: #EEF4FC;
	color: #13294B;
}

.jms-drawer__nav {
	padding: 0 8px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.jms-drawer__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 58px;
	padding: 0 18px;
	border-radius: 20px;
	background: transparent;
	color: #13294B;
	text-decoration: none;
	font-family: "Archivo", Arial, sans-serif;
	font-weight: 600;
	font-size: 20px;
}

.jms-drawer__link.is-current,
.jms-drawer__accordion-head.is-current {
	background: #EEF4FC;
	border-radius: 20px;
}

.jms-drawer__link.is-current,
.jms-drawer__accordion-head.is-current .jms-drawer__link {
	font-weight: 800;
}

.jms-drawer__accordion-head {
	display: flex;
	align-items: stretch;
	border-radius: 20px;
}

.jms-drawer__link--flush {
	flex: 1;
	font-weight: 800;
}

.jms-drawer__acc-btn {
	background: transparent;
	border: 0;
	width: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #13294B;
}

.jms-drawer__acc-btn svg {
	width: 20px;
	height: 20px;
	stroke: #13294B;
	stroke-width: 2.4;
	transition: transform 0.2s ease;
}

.jms-drawer__accordion.is-open .jms-drawer__acc-btn svg {
	transform: rotate(180deg);
}

.jms-drawer__sub {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 4px 0 10px;
}

.jms-drawer__sub[hidden] {
	display: none !important;
}

.jms-drawer__sublink {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 14px;
	border-radius: 20px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.25;
}

.jms-drawer__sublink--photo { background: #3E79C6; color: #FFFFFF !important; }
.jms-drawer__sublink--vert { background: #49B95C; color: #FFFFFF !important; }
.jms-drawer__sublink--anis { background: #EAF6CA; color: #13294B !important; }
.jms-drawer__sublink--marine { background: #13294B; color: #FFFFFF !important; }
.jms-drawer__sublink--blanc { background: #FFFFFF; color: #13294B !important; border: 1.5px solid #D5DEEA; }

.jms-drawer__subicon svg {
	width: 22px;
	height: 22px;
	display: block;
}

.jms-drawer__sublink--photo svg,
.jms-drawer__sublink--vert svg,
.jms-drawer__sublink--marine svg {
	stroke: #FFFFFF;
}

.jms-drawer__sublink--anis svg,
.jms-drawer__sublink--blanc svg {
	stroke: #3E79C6;
}

.jms-drawer__footer-cta {
	padding: 22px 18px 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: auto;
}

.jms-drawer__cta-primary {
	min-height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #49B95C;
	color: #FFFFFF !important;
	border-radius: 999px;
	font-family: "Archivo", Arial, sans-serif;
	font-weight: 800;
	font-size: 17px;
}

.jms-drawer__quick-actions {
	display: flex;
	gap: 10px;
}

.jms-drawer__btn-outline,
.jms-drawer__btn-anis {
	flex: 1;
	min-height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 999px;
	color: #13294B !important;
	font-weight: 600;
}

.jms-drawer__btn-outline {
	background: #EEF4FC;
}

.jms-drawer__btn-anis {
	background: #EAF6CA;
}

.jms-drawer__quick-actions svg {
	width: 18px;
	height: 18px;
	stroke: #13294B;
}

.jms-drawer__address {
	margin: 0;
	padding: 8px 18px 26px;
	text-align: center;
	font-size: 13px;
	color: #3C4A60;
}

/* ==========================================================================
   4. HERO ACCUEIL, SOUS-PAGES V3 & FORMULAIRES FLUENT FORMS
   ========================================================================== */

.jms-hero,
.jms-page-hero,
.jms-article-hero {
	background: #2F66B0;
	color: #FFFFFF;
}

.jms-hero {
	padding-top: calc(98px + 70px) !important;
	padding-bottom: 130px !important;
}

.editor-styles-wrapper .jms-hero {
	padding-top: 70px !important;
}

.jms-hero__cols {
	gap: 70px !important;
	align-items: center !important;
}

.jms-hero__copy {
	flex: 1.4 1 460px !important;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.jms-hero__title {
	font-size: clamp(32px, 4vw, 56px) !important;
	line-height: 1.02 !important;
	letter-spacing: -0.035em !important;
	color: #FFFFFF !important;
}

.jms-highlight {
	color: #EAF6CA;
	background: none;
	padding: 0;
}

.jms-hero__lead {
	font-size: 20px;
	color: #E3ECF8;
	max-width: 30em;
}

.jms-hero__media {
	flex: 1 1 min(420px, 100%) !important;
	position: relative;
}

.jms-slider__viewport {
	height: 560px;
	border-radius: 40px;
	overflow: hidden;
	background: linear-gradient(150deg, #CFE0F4, #A9C6EA);
}

.jms-slider__track {
	display: flex;
	height: 100%;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.jms-slider__slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	margin: 0;
}

.jms-slider__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jms-slider__dots {
	display: none;
}

/* Boîte formulaire rappel flottante dans le Hero V3 */
.jms-callback {
	background: #FFFFFF;
	color: #13294B;
	border-radius: 28px;
	padding: 28px;
	width: 400px;
	max-width: 100%;
	box-shadow: 0 24px 60px rgba(19, 41, 75, 0.16);
	position: absolute;
	left: -60px;
	bottom: -50px;
	z-index: 4;
}

.editor-styles-wrapper .jms-callback {
	position: relative;
	left: 0;
	bottom: 0;
	margin-top: 20px;
}

/* Page Hero des pages intérieures V3 (fond clair dégradé) */
.jms-page-hero {
	padding-top: calc(98px + 80px) !important;
	padding-bottom: 70px !important;
	display: flex;
	flex-direction: column;
	gap: 18px !important;
}

.editor-styles-wrapper .jms-page-hero,
.editor-styles-wrapper .jms-article-hero {
	padding-top: 70px !important;
}

.jms-article-hero {
	padding-top: calc(98px + 70px) !important;
	padding-bottom: 30px !important;
}

.jms-breadcrumb {
	font-size: 13px;
	color: #D9E6F7;
	margin: 0;
}

.jms-breadcrumb a {
	color: #D9E6F7;
	text-decoration: underline;
}

.jms-breadcrumb a:hover {
	color: #FFFFFF;
}

.jms-page-hero__title,
.jms-page-hero h1 {
	font-size: clamp(38px, 4.9vw, 70px) !important;
	line-height: 0.99 !important;
	letter-spacing: -0.035em !important;
	max-width: 12em;
	color: #FFFFFF !important;
}

.jms-page-hero__lead,
.jms-hero-lead {
	font-size: 20px;
	color: #E3ECF8;
	max-width: 34em;
	margin: 0;
}

/* Pilules de sélection du besoin dans les formulaires Hero & Devis */
.jms-sr-select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.jms-need-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.jms-need-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	border: 1.5px solid #D5DEEA;
	background: #FFFFFF;
	color: #13294B;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.jms-form-card--devis .jms-need-pill {
	padding: 12px 16px;
}

.jms-need-pill:hover {
	border-color: #3E79C6;
}

.jms-need-pill.is-selected {
	border-color: #3E79C6;
	background: #EEF4FC;
}

.jms-need-pill svg {
	width: 18px;
	height: 18px;
	stroke: #3E79C6;
	flex: none;
}

/* Styles communs Fluent Forms V3 */
.fluentform .ff-t-container {
	display: flex;
	gap: 14px;
}

.fluentform .ff-t-cell {
	justify-content: flex-start !important;
}

.fluentform .ff-el-group {
	margin-bottom: 14px !important;
}

.fluentform .ff-el-input--label {
	margin-bottom: 8px !important;
}

.fluentform .ff-el-input--label label {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #13294B !important;
}

/* Intitulés d'étapes dans le formulaire Devis et titre du besoin dans Hero */
.jms-callback .ff-el-input--label label {
	font-family: "Archivo", Arial, sans-serif !important;
	font-size: 20px !important;
	font-weight: 800 !important;
}

.jms-ff-section-heading h3 {
	font-family: "Archivo", Arial, sans-serif;
	font-size: 24px;
	font-weight: 800;
	color: #13294B;
	margin: 8px 0 4px;
}

.jms-form-card--devis .ff-el-group:first-child .ff-el-input--label label {
	font-family: "Archivo", Arial, sans-serif !important;
	font-size: 24px !important;
	font-weight: 800 !important;
}

.fluentform .ff-el-form-control {
	min-height: 52px;
	border: 1.5px solid #D5DEEA !important;
	border-radius: 999px !important;
	padding: 0 18px !important;
	font-family: "Roboto", Arial, sans-serif !important;
	font-size: 15px !important;
	color: #13294B !important;
	background-color: #FFFFFF !important;
	box-shadow: none !important;
	width: 100%;
}

.fluentform.ff-default select.ff-el-form-control:not([size]):not([multiple]),
.fluentform select.ff-el-form-control {
	height: 52px !important;
	min-height: 52px !important;
	line-height: 1.4 !important;
	padding: 0 42px 0 18px !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.5L6 6L10.5 1.5' stroke='%2313294B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px !important;
	text-overflow: ellipsis;
}

.fluentform select.ff-el-form-control::picker-icon {
	display: none !important;
}

.jms-select {
	position: relative;
	width: 100%;
}

.jms-select__trigger {
	width: 100%;
	height: 52px;
	min-height: 52px;
	border: 1.5px solid #D5DEEA;
	border-radius: 999px;
	padding: 0 42px 0 18px;
	background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.5L6 6L10.5 1.5' stroke='%2313294B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px;
	font-family: "Roboto", Arial, sans-serif;
	font-size: 15px;
	color: #13294B;
	text-align: left;
	display: flex;
	align-items: center;
	cursor: pointer;
}

.jms-select__label {
	display: block;
	min-width: 0;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.jms-select__trigger:focus,
.jms-select.is-open .jms-select__trigger {
	border-color: #3E79C6;
	outline: none;
}

.jms-select__menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 40;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #FFFFFF;
	border: 1.5px solid #D5DEEA;
	border-radius: 20px;
	box-shadow: 0 14px 36px rgba(19, 41, 75, 0.14);
}

.jms-select__menu[hidden] {
	display: none !important;
}

.jms-select__option {
	padding: 10px 14px;
	border-radius: 14px;
	font-family: "Roboto", Arial, sans-serif;
	font-size: 15px;
	color: #13294B;
	cursor: pointer;
}

.jms-select__option:hover,
.jms-select__option.is-selected {
	background: #EEF4FC;
	font-weight: 600;
}

.fluentform textarea.ff-el-form-control {
	padding: 14px 18px !important;
	min-height: 132px;
	border-radius: 24px !important;
}

.fluentform .ff-el-form-control:focus {
	border-color: #3E79C6 !important;
	outline: none !important;
}

.fluentform .ff_submit_btn_wrapper {
	margin-bottom: 0 !important;
}

.fluentform .ff-btn-submit {
	min-height: 54px !important;
	padding: 0 28px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #49B95C !important;
	color: #FFFFFF !important;
	font-family: "Archivo", Arial, sans-serif !important;
	font-weight: 800 !important;
	font-size: 16px !important;
	cursor: pointer;
	transition: background 0.15s ease;
}

.fluentform .ff-btn-submit:hover {
	background: #3CA04E !important;
}

.jms-form-card--contact .fluentform .ff-btn-submit {
	background: #3E79C6 !important;
}

.jms-form-card--contact .fluentform .ff-btn-submit:hover {
	background: #2F66B0 !important;
}

/* Disposition compacte du formulaire Hero (pilules au-dessus, tel + bouton côte à côte) */
.jms-callback .fluentform .ff-el-group {
	margin-bottom: 16px !important;
}

.jms-callback .fluentform .jms-ff-hero-inline {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	align-items: stretch;
}

.jms-callback .fluentform .jms-ff-hero-inline .ff-t-cell:first-child {
	flex: 1 1 auto !important;
	min-width: 0;
}

.jms-callback .fluentform .jms-ff-hero-inline .ff-t-cell:last-child {
	flex: 0 0 auto !important;
	width: auto !important;
}

.jms-callback .fluentform .jms-ff-hero-inline .ff-el-group {
	margin-bottom: 0 !important;
}

.jms-callback .fluentform .jms-ff-hero-inline .ff-el-form-control {
	min-height: 50px !important;
	height: 50px !important;
}

.jms-callback .fluentform .jms-ff-hero-inline .ff-btn-submit {
	min-height: 50px !important;
	height: 50px !important;
	padding: 0 20px !important;
	font-size: 15px !important;
	white-space: nowrap;
	background: #3E79C6 !important;
}

.jms-callback .fluentform .jms-ff-hero-inline .ff-btn-submit:hover {
	background: #2F66B0 !important;
}

.fluentform .ff-message-success {
	background: #EAF6CA;
	border: 1px solid #49B95C;
	color: #13294B;
	border-radius: 20px;
	padding: 14px 18px;
	margin-top: 10px;
}

/* ==========================================================================
   5. BANDEAU D'ACTUALITÉS DÉFILANT V3 (PILULES BLANCHES SUR MARINE)
   ========================================================================== */

.jms-ticker {
	padding: 12px 0 !important;
	overflow: hidden;
}

.jms-ticker__viewport {
	width: 100%;
	overflow: hidden;
	display: flex;
	align-items: center;
}

@keyframes jmsDefile {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.jms-ticker__track.defile {
	display: flex;
	gap: 12px;
	padding-left: 12px;
	width: max-content;
	animation: jmsDefile 40s linear infinite;
}

.jms-ticker__track.defile:hover {
	animation-play-state: paused;
}

.jms-ticker__item {
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 16px;
	border-radius: 999px;
	background: #FFFFFF;
	color: #13294B !important;
	text-decoration: none;
	font-size: 14px;
}

.jms-ticker__item:hover {
	background: #EAF6CA;
	color: #13294B !important;
}

.jms-ticker__cat {
	color: #3E79C6;
}

/* ==========================================================================
   6. ACCUEIL V3 : BENTO SERVICES, ÉTAPES, POURQUOI, PARTENAIRES, SHOWROOM
   ========================================================================== */

.jms-services-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 16px !important;
	width: 100% !important;
	max-width: var(--jms-inner-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.jms-services-grid > li,
.jms-services-grid > .jms-service-card-wrap {
	display: flex;
	flex-direction: column;
}

.jms-service-card {
	position: relative;
	flex: 1;
	border-radius: 28px;
	padding: 30px;
	min-height: 280px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jms-service-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px rgba(19, 41, 75, 0.12);
}

li.jms-variant-photo .jms-service-card,
.jms-service-card--photo {
	background-color: #3E79C6;
	background-image: linear-gradient(180deg, rgba(47,102,176,0.10) 0%, rgba(47,102,176,0.35) 40%, rgba(19,41,75,0.92) 100%), url('assets/images/photos/service-proprete.jpg');
	background-size: cover;
	background-position: 45% center;
	color: #FFFFFF;
}

li.jms-variant-vert .jms-service-card,
.jms-service-card--vert {
	background: #49B95C;
	color: #FFFFFF;
}

li.jms-variant-anis .jms-service-card,
.jms-service-card--anis {
	background: #EAF6CA;
	color: #13294B;
}

li.jms-variant-marine .jms-service-card,
.jms-service-card--marine {
	background: #13294B;
	color: #FFFFFF;
}

li.jms-variant-blanc .jms-service-card,
.jms-service-card--blanc {
	background: #FFFFFF;
	color: #13294B;
	border: 1.5px solid #D5DEEA;
}

.jms-service-card::before {
	content: "";
	position: relative;
	z-index: 1;
	width: 64px;
	height: 64px;
	border-radius: 20px;
	flex: none;
	display: block;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 32px 32px;
}

.jms-service-card--photo::before {
	background-color: rgba(19, 41, 75, 0.55);
	backdrop-filter: blur(6px);
}

.jms-service-card--vert::before,
.jms-service-card--marine::before {
	background-color: rgba(255, 255, 255, 0.22);
}

.jms-service-card--anis::before {
	background-color: #FFFFFF;
}

.jms-service-card--blanc::before {
	background-color: #EEF4FC;
}

.jms-service-card--cle::before {
	background-image: url("assets/icons/cle-blanc.svg");
}

.jms-service-card--outil::before {
	background-image: url("assets/icons/outil.svg");
}

.jms-service-card--pulverisateur::before {
	background-image: url("assets/icons/pulverisateur-blanc.svg");
}

.jms-service-card--sac::before {
	background-image: url("assets/icons/sac.svg");
}

.jms-service-card--camion::before {
	background-image: url("assets/icons/camion-blanc.svg");
}

.jms-service-card:has(.jms-service-card__icon)::before {
	display: none;
}

.jms-service-card__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: 45% center;
	z-index: 0;
}

.jms-service-card__icon {
	position: relative;
	z-index: 1;
	width: 64px;
	height: 64px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.jms-service-card--photo .jms-service-card__icon,
.jms-service-card__icon--photo {
	background: rgba(19, 41, 75, 0.55);
	backdrop-filter: blur(6px);
}

.jms-service-card--vert .jms-service-card__icon,
.jms-service-card--marine .jms-service-card__icon,
.jms-service-card__icon--vert,
.jms-service-card__icon--marine {
	background: rgba(255, 255, 255, 0.22);
}

.jms-service-card--anis .jms-service-card__icon,
.jms-service-card__icon--anis {
	background: #FFFFFF;
}

.jms-service-card--blanc .jms-service-card__icon,
.jms-service-card__icon--blanc {
	background: #EEF4FC;
}

.jms-service-card__icon svg {
	width: 32px;
	height: 32px;
}

.jms-service-card--photo .jms-service-card__icon svg,
.jms-service-card--vert .jms-service-card__icon svg,
.jms-service-card--marine .jms-service-card__icon svg,
.jms-service-card__icon--photo svg,
.jms-service-card__icon--vert svg,
.jms-service-card__icon--marine svg {
	stroke: #FFFFFF;
}

.jms-service-card--anis .jms-service-card__icon svg,
.jms-service-card--blanc .jms-service-card__icon svg,
.jms-service-card__icon--anis svg,
.jms-service-card__icon--blanc svg {
	stroke: #3E79C6;
}

.jms-service-card__icon::after {
	content: "";
	width: 32px;
	height: 32px;
	display: block;
	background-color: currentColor;
}

.jms-service-card--photo .jms-service-card__icon::after,
.jms-service-card--vert .jms-service-card__icon::after,
.jms-service-card--marine .jms-service-card__icon::after {
	color: #FFFFFF;
}

.jms-service-card--anis .jms-service-card__icon::after,
.jms-service-card--blanc .jms-service-card__icon::after {
	color: #3E79C6;
}

.jms-service-card--cle .jms-service-card__icon::after {
	-webkit-mask: url("assets/icons/cle.svg") center / contain no-repeat;
	mask: url("assets/icons/cle.svg") center / contain no-repeat;
}

.jms-service-card--outil .jms-service-card__icon::after {
	-webkit-mask: url("assets/icons/outil.svg") center / contain no-repeat;
	mask: url("assets/icons/outil.svg") center / contain no-repeat;
}

.jms-service-card--pulverisateur .jms-service-card__icon::after {
	-webkit-mask: url("assets/icons/pulverisateur.svg") center / contain no-repeat;
	mask: url("assets/icons/pulverisateur.svg") center / contain no-repeat;
}

.jms-service-card--sac .jms-service-card__icon::after {
	-webkit-mask: url("assets/icons/sac.svg") center / contain no-repeat;
	mask: url("assets/icons/sac.svg") center / contain no-repeat;
}

.jms-service-card--camion .jms-service-card__icon::after {
	-webkit-mask: url("assets/icons/camion.svg") center / contain no-repeat;
	mask: url("assets/icons/camion.svg") center / contain no-repeat;
}

.jms-service-card__bottom {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px;
}

.jms-service-card__bottom::after {
	content: "";
	width: 24px;
	height: 24px;
	flex: none;
	background-color: currentColor;
	-webkit-mask: url("assets/icons/fleche-droite.svg") center / contain no-repeat;
	mask: url("assets/icons/fleche-droite.svg") center / contain no-repeat;
}

.jms-service-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.jms-service-card .wp-block-post-title,
.jms-service-card .wp-block-heading.jms-service-card__title {
	font-size: 26px;
	line-height: 1.05;
	color: inherit;
}

.jms-service-card .wp-block-post-title a,
.jms-service-card .wp-block-heading a,
.jms-service-card a.jms-service-card__link {
	color: inherit !important;
	text-decoration: none;
}

.jms-service-card .wp-block-post-title a::after,
.jms-service-card .wp-block-heading a::after,
.jms-service-card a.jms-service-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

.jms-service-card .wp-block-post-excerpt,
.jms-service-card .wp-block-post-excerpt__excerpt,
.jms-service-card p.jms-service-card__desc {
	margin: 0 !important;
	color: inherit;
	opacity: 0.85;
	font-size: 16px;
	line-height: 1.5;
}

/* Grand bloc arrondi Étapes & Showroom CTA */
.jms-etapes-box {
	border-radius: 48px;
	padding: 72px 64px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.jms-steps-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.jms-step {
	min-width: 0;
	flex: 1 1 min(240px, 100%);
	border-radius: 28px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.jms-step__num {
	width: 56px !important;
	min-width: 56px !important;
	max-width: 56px !important;
	height: 56px !important;
	padding: 0 !important;
	margin: 0 !important;
	flex: 0 0 56px !important;
	align-self: flex-start;
	border-radius: 50%;
	font-family: "Archivo", Arial, sans-serif;
	font-weight: 800;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jms-step h3 {
	font-size: 21px;
}

.jms-step p:last-child {
	font-size: 16px;
}

/* Pourquoi choisir 5JMS & Nos valeurs / garanties (pilules horizontales V3) */
.jms-pourquoi-cols {
	gap: 70px !important;
	align-items: center !important;
}

.jms-pourquoi__media {
	flex: 1 1 min(380px, 100%) !important;
	position: relative;
}

.jms-pourquoi__body {
	flex: 1 1 min(420px, 100%) !important;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.jms-photo-placeholder {
	border-radius: 40px;
	background: linear-gradient(150deg, #CFE0F4, #A9C6EA);
	display: flex;
	align-items: flex-end;
	padding: 18px;
	color: #1E3E6E;
	font-size: 12px;
}

.jms-photo-placeholder--pourquoi {
	height: 480px;
}

.jms-photo-placeholder--lg {
	height: 460px;
}

.jms-photo-placeholder--sm {
	height: 240px;
	border-radius: 28px;
}

.jms-pourquoi__badge {
	position: absolute;
	right: -24px;
	bottom: -24px;
	border-radius: 24px;
	padding: 20px 24px;
	max-width: 220px;
	z-index: 2;
}

.jms-pourquoi__badge p {
	font-family: "Archivo", Arial, sans-serif;
	font-size: 18px;
	line-height: 1.15;
}

.jms-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 12px;
}

.jms-features-grid--wide {
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.jms-feature {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	padding: 18px 22px 18px 80px;
	min-height: 80px;
	border-radius: 28px;
	background: #EEF4FC;
}

.jms-features-grid--light-badges .jms-feature,
.has-bleu-pale-background-color .jms-feature {
	background: #FFFFFF;
}

.jms-feature::before {
	content: "";
	position: absolute;
	left: 22px;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #FFFFFF;
}

.jms-features-grid--light-badges .jms-feature::before,
.has-bleu-pale-background-color .jms-feature::before {
	background: #EEF4FC;
}

.jms-feature::after {
	content: "";
	position: absolute;
	left: 33px;
	top: 50%;
	transform: translateY(-50%);
	width: 22px;
	height: 22px;
	background-color: #3E79C6;
	pointer-events: none;
}

.jms-feature--bouclier::after { -webkit-mask: url("assets/icons/bouclier.svg") center / contain no-repeat; mask: url("assets/icons/bouclier.svg") center / contain no-repeat; }
.jms-feature--lieu::after { -webkit-mask: url("assets/icons/lieu.svg") center / contain no-repeat; mask: url("assets/icons/lieu.svg") center / contain no-repeat; }
.jms-feature--coche::after { -webkit-mask: url("assets/icons/coche.svg") center / contain no-repeat; mask: url("assets/icons/coche.svg") center / contain no-repeat; }
.jms-feature--horloge::after { -webkit-mask: url("assets/icons/horloge.svg") center / contain no-repeat; mask: url("assets/icons/horloge.svg") center / contain no-repeat; }

.jms-feature h3 {
	font-size: 16px;
}

.jms-feature p {
	font-size: 14px;
	line-height: 1.45;
}

/* Partenaires */
.jms-partners-grid {
	display: grid !important;
	grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
	gap: 14px !important;
	width: 100% !important;
	max-width: var(--jms-inner-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

@media (max-width: 960px) {
	.jms-partners-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 600px) {
	.jms-partners-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

.jms-partner-box,
.wp-block-image.jms-partner-box {
	height: 100px;
	border-radius: 24px !important;
	background: #EEF4FC;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 12px 16px !important;
	margin: 0 !important;
	font-size: 13px;
	color: #5D6B80;
	text-align: center;
	overflow: hidden;
	width: 100% !important;
	max-width: 100% !important;
}

.has-bleu-pale-background-color .jms-partner-box,
.has-bleu-pale-background-color .wp-block-image.jms-partner-box {
	background: #FFFFFF;
	border: 1.5px solid #D5DEEA;
}

.jms-partner-box img,
.wp-block-image.jms-partner-box img {
	max-height: 54px !important;
	width: auto !important;
	max-width: 100% !important;
	object-fit: contain;
	border-radius: 0 !important;
	margin: auto !important;
}

/* Partenaires regroupés / répartis par pays */
.jms-partners-by-country {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 20px !important;
	width: 100% !important;
	max-width: var(--jms-inner-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

@media (max-width: 960px) {
	.jms-partners-by-country {
		grid-template-columns: 1fr !important;
	}
}

.jms-partner-country {
	background: #FFFFFF;
	border: 1.5px solid #D5DEEA;
	border-radius: 24px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.jms-partner-country__title {
	font-size: 18px !important;
	color: #13294B !important;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
}

.jms-partner-country__grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 12px !important;
}

@media (max-width: 480px) {
	.jms-partner-country__grid {
		grid-template-columns: 1fr !important;
	}
}

/* Bloc Showroom accueil V3 */
.jms-showroom-box {
	border-radius: 48px;
	overflow: hidden;
}

.jms-showroom {
	gap: 0 !important;
	align-items: stretch !important;
}

.jms-showroom__body {
	flex: 1 1 min(420px, 100%) !important;
	padding: 64px !important;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.jms-showroom__body h2 {
	font-size: clamp(30px, 3.2vw, 46px);
}

.jms-showroom__lead {
	opacity: 0.9;
}

.jms-showroom__media {
	flex: 1 1 min(380px, 100%) !important;
	min-height: 320px;
}

.jms-photo-frame {
	margin: 0 !important;
	border-radius: 40px;
	overflow: hidden;
}

.jms-photo-frame--pourquoi img {
	width: 100%;
	height: 480px;
	object-fit: cover;
	border-radius: 40px;
}

.jms-photo-frame--lg img {
	width: 100%;
	height: 460px;
	object-fit: cover;
	border-radius: 40px;
}

.jms-photo-frame--sm img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	border-radius: 28px;
}

.jms-photo-frame--flush {
	height: 100%;
	min-height: 320px;
	border-radius: 0 !important;
}

.jms-photo-frame--flush img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}

.jms-photo-frame--tall img {
	width: 100%;
	height: 440px;
	object-fit: cover;
}

/* Bannière CTA Devis */
.jms-cta {
	border-radius: 48px;
	padding: 56px 64px !important;
}

.jms-cta__row {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 20px !important;
}

.jms-cta__copy h2 {
	font-size: 32px;
}

.jms-cta__copy p {
	margin-top: 6px;
}

.jms-cta__actions {
	gap: 10px !important;
}

/* ==========================================================================
   7. PAGES INTÉRIEURES V3 (SERVICES, SHOWROOM, À PROPOS, PARTENAIRES)
   ========================================================================== */

/* Page Services V3 */
.jms-services-sublead {
	font-size: 19px;
}

.jms-types-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 16px;
}

.jms-type-card {
	position: relative;
	padding: 28px;
	border-radius: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.jms-type-card::before {
	content: "";
	width: 56px;
	height: 56px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.18);
	display: block;
}

.jms-type-card--anis::before {
	background: #FFFFFF;
}

.jms-type-card::after {
	content: "";
	position: absolute;
	top: 42px;
	left: 42px;
	width: 28px;
	height: 28px;
	background: #FFFFFF;
}

.jms-type-card--anis::after {
	background: #3E79C6;
}

.jms-type-card--immeuble::after { -webkit-mask: url("assets/icons/immeuble.svg") center / contain no-repeat; mask: url("assets/icons/immeuble.svg") center / contain no-repeat; }
.jms-type-card--sac::after { -webkit-mask: url("assets/icons/sac.svg") center / contain no-repeat; mask: url("assets/icons/sac.svg") center / contain no-repeat; }
.jms-type-card--foncier::after { -webkit-mask: url("assets/icons/foncier.svg") center / contain no-repeat; mask: url("assets/icons/foncier.svg") center / contain no-repeat; }

.jms-type-card--bleu,
.jms-type-card--marine {
	color: #FFFFFF;
}

.jms-type-card--bleu h3,
.jms-type-card--marine h3 {
	color: #FFFFFF;
}

.jms-type-card h3 {
	font-size: 22px;
}

.jms-type-card p {
	opacity: 0.9;
}

.jms-service-rows {
	display: flex;
	flex-direction: column;
}

.jms-service-row {
	gap: 56px !important;
	padding: 44px 0;
	border-top: 1px solid #E3EAF3;
}

@media (min-width: 961px) {
	.jms-service-row--reverse {
		flex-direction: row-reverse;
	}
}

.jms-service-row__media {
	flex: 1 1 min(360px, 100%) !important;
}

.jms-service-row__body {
	flex: 1 1 min(420px, 100%) !important;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.jms-service-row__body h2 {
	font-size: clamp(28px, 3vw, 40px);
}

.jms-service-row__desc {
	font-size: 18px;
}

.jms-service-row__box {
	position: relative;
	min-height: 280px;
	border-radius: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jms-service-row__box--blanc {
	border: 1.5px solid #D5DEEA;
}

.jms-service-row__box::after {
	content: "";
	width: 110px;
	height: 110px;
	background: #FFFFFF;
}

.jms-service-row__box--anis::after,
.jms-service-row__box--blanc::after {
	background: #3E79C6;
}

.jms-service-row__box--cle::after { -webkit-mask: url("assets/icons/cle.svg") center / contain no-repeat; mask: url("assets/icons/cle.svg") center / contain no-repeat; }
.jms-service-row__box--outil::after { -webkit-mask: url("assets/icons/outil.svg") center / contain no-repeat; mask: url("assets/icons/outil.svg") center / contain no-repeat; }
.jms-service-row__box--pulverisateur::after { -webkit-mask: url("assets/icons/pulverisateur.svg") center / contain no-repeat; mask: url("assets/icons/pulverisateur.svg") center / contain no-repeat; }
.jms-service-row__box--camion::after { -webkit-mask: url("assets/icons/camion.svg") center / contain no-repeat; mask: url("assets/icons/camion.svg") center / contain no-repeat; }

/* Cartes Produits V3 */
.jms-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
	gap: 16px;
}

.jms-prod-card {
	position: relative;
	padding: 26px;
	border: 1.5px solid #E3EAF3;
	border-radius: 28px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.jms-prod-card::before {
	content: "";
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: #EEF4FC;
	display: block;
}

.jms-prod-card::after {
	content: "";
	position: absolute;
	top: 39px;
	left: 39px;
	width: 26px;
	height: 26px;
	background: #3E79C6;
}

.jms-prod-card--materiaux::after { -webkit-mask: url("assets/icons/materiaux.svg") center / contain no-repeat; mask: url("assets/icons/materiaux.svg") center / contain no-repeat; }
.jms-prod-card--outil::after { -webkit-mask: url("assets/icons/outil.svg") center / contain no-repeat; mask: url("assets/icons/outil.svg") center / contain no-repeat; }
.jms-prod-card--mobilier::after { -webkit-mask: url("assets/icons/mobilier.svg") center / contain no-repeat; mask: url("assets/icons/mobilier.svg") center / contain no-repeat; }
.jms-prod-card--pulverisateur::after { -webkit-mask: url("assets/icons/pulverisateur.svg") center / contain no-repeat; mask: url("assets/icons/pulverisateur.svg") center / contain no-repeat; }

.jms-prod-card h3 {
	font-size: 20px;
}

.jms-prod-card__origin {
	margin-top: auto !important;
	font-size: 13px !important;
	font-weight: 700;
}

/* Page Showroom V3 */
.jms-showroom-info {
	gap: 60px !important;
}

.jms-showroom-info__media {
	flex: 1 1 min(420px, 100%) !important;
}

.jms-showroom-info__body {
	flex: 1 1 min(360px, 100%) !important;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.jms-showroom-row {
	position: relative;
	padding-left: 62px;
	min-height: 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.jms-showroom-row::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #EEF4FC;
}

.jms-showroom-row::after {
	content: "";
	position: absolute;
	left: 13px;
	top: 50%;
	transform: translateY(-50%);
	width: 22px;
	height: 22px;
	background: #3E79C6;
}

.jms-showroom-row--lieu::after { -webkit-mask: url("assets/icons/lieu.svg") center / contain no-repeat; mask: url("assets/icons/lieu.svg") center / contain no-repeat; }
.jms-showroom-row--horloge::after { -webkit-mask: url("assets/icons/horloge.svg") center / contain no-repeat; mask: url("assets/icons/horloge.svg") center / contain no-repeat; }
.jms-showroom-row--telephone::after { -webkit-mask: url("assets/icons/telephone.svg") center / contain no-repeat; mask: url("assets/icons/telephone.svg") center / contain no-repeat; }

.jms-showroom-row h3 {
	font-family: "Roboto", Arial, sans-serif;
	font-weight: 700;
	font-size: 16px;
}

.jms-showroom-cats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 16px;
}

.jms-showroom-cat {
	position: relative;
	padding: 28px;
	border-radius: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 210px;
}

.jms-showroom-cat::before {
	content: "";
	width: 56px;
	height: 56px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.18);
	display: block;
}

.jms-showroom-cat--anis::before,
.jms-showroom-cat--blanc::before {
	background: #EEF4FC;
}

.jms-showroom-cat::after {
	content: "";
	position: absolute;
	top: 42px;
	left: 42px;
	width: 28px;
	height: 28px;
	background: #FFFFFF;
}

.jms-showroom-cat--anis::after,
.jms-showroom-cat--blanc::after {
	background: #3E79C6;
}

.jms-showroom-cat--materiaux::after { -webkit-mask: url("assets/icons/materiaux.svg") center / contain no-repeat; mask: url("assets/icons/materiaux.svg") center / contain no-repeat; }
.jms-showroom-cat--outil::after { -webkit-mask: url("assets/icons/outil.svg") center / contain no-repeat; mask: url("assets/icons/outil.svg") center / contain no-repeat; }
.jms-showroom-cat--mobilier::after { -webkit-mask: url("assets/icons/mobilier.svg") center / contain no-repeat; mask: url("assets/icons/mobilier.svg") center / contain no-repeat; }
.jms-showroom-cat--pulverisateur::after { -webkit-mask: url("assets/icons/pulverisateur.svg") center / contain no-repeat; mask: url("assets/icons/pulverisateur.svg") center / contain no-repeat; }

.jms-showroom-cat--bleu,
.jms-showroom-cat--marine {
	color: #FFFFFF;
}

.jms-showroom-cat--bleu h3,
.jms-showroom-cat--marine h3 {
	color: #FFFFFF;
}

.jms-showroom-cat h3 {
	font-size: 21px;
}

.jms-showroom-cat p {
	opacity: 0.88;
}

.jms-showroom-cta__lead {
	font-size: 18px;
	max-width: 44em;
}

/* Page À propos V3 */
.jms-about-intro {
	gap: 70px !important;
}

.jms-about-intro__copy {
	flex: 1 1 min(420px, 100%) !important;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.jms-about-intro__copy p {
	font-size: 18px;
}

.jms-about-intro__media {
	flex: 1 1 min(380px, 100%) !important;
}

.jms-dg-box {
	border-radius: 48px;
	padding: 72px 64px;
}

.jms-dg-row {
	gap: 50px !important;
	align-items: center !important;
}

.jms-dg-row__media {
	flex: 0 1 min(300px, 100%) !important;
}

.jms-dg-photo {
	margin: 0 !important;
	border-radius: 999px;
	overflow: hidden;
}

.jms-dg-photo img {
	width: 100%;
	height: 360px;
	object-fit: cover;
	object-position: top center;
}

.jms-dg-row__body {
	flex: 1 1 min(420px, 100%) !important;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.jms-dg-row__body p:not(.jms-pill-badge) {
	opacity: 0.9;
}

.jms-dg-row__title {
	font-size: 32px !important;
	line-height: 1.15 !important;
}

.jms-dg-row__signature {
	opacity: 1 !important;
	margin-top: 4px;
}

/* Fiche service détail (single-service.html) */
.jms-service-detail {
	gap: 56px !important;
	align-items: flex-start !important;
}

.jms-service-hero-media {
	height: 360px;
	border-radius: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.jms-service-hero-media--vert { background: #49B95C; }
.jms-service-hero-media--anis { background: #EAF6CA; }
.jms-service-hero-media--marine { background: #13294B; }
.jms-service-hero-media--glacier { background: #CFE0F4; }
.jms-service-hero-media--photo { background-size: cover; background-position: center; }

.jms-service-hero-media__badge {
	width: 84px;
	height: 84px;
	border-radius: 24px;
	background: rgba(19, 41, 75, 0.6);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.jms-service-hero-media__badge svg {
	width: 44px;
	height: 44px;
	stroke: #FFFFFF;
}

.jms-service-hero-media > svg {
	width: 96px;
	height: 96px;
}

.jms-service-hero-media--vert > svg,
.jms-service-hero-media--marine > svg {
	stroke: #FFFFFF;
}

.jms-service-hero-media--anis > svg,
.jms-service-hero-media--glacier > svg {
	stroke: #3E79C6;
}

.jms-service-detail__body .wp-block-post-content {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.jms-service-detail__body h2 {
	font-size: 32px;
}

.jms-other-services {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.jms-other-service-pill {
	text-decoration: none;
	color: #13294B;
	border: 1.5px solid #D5DEEA;
	background: #FFFFFF;
	padding: 14px 20px;
	border-radius: 999px;
	display: inline-flex;
	gap: 10px;
	align-items: center;
	font-weight: 600;
}

.jms-other-service-pill:hover {
	border-color: #3E79C6;
	background: #EEF4FC;
}

.jms-other-service-pill__icon svg {
	width: 20px;
	height: 20px;
	stroke: #3E79C6;
	display: block;
}

/* Page Partenaires V3 */
.jms-zones-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 16px;
}

.jms-zone-card {
	position: relative;
	padding: 32px;
	border-radius: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.jms-zone-card::before {
	content: "";
	width: 56px;
	height: 56px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.18);
	display: block;
}

.jms-zone-card::after {
	content: "";
	position: absolute;
	top: 46px;
	left: 46px;
	width: 28px;
	height: 28px;
	background: #FFFFFF;
	-webkit-mask: url("assets/icons/globe.svg") center / contain no-repeat;
	mask: url("assets/icons/globe.svg") center / contain no-repeat;
}

.jms-zone-card h3 {
	font-size: 26px;
}

.jms-zone-card p {
	opacity: 0.9;
	font-size: 17px;
}

/* ==========================================================================
   8. ACTUALITÉS, ARTICLE DÉTAIL, DEVIS & CONTACT V3
   ========================================================================== */

.jms-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.jms-filter-btn {
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	border: 0;
	background: #EEF4FC;
	color: #13294B;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.jms-filter-btn.is-active {
	background: #13294B;
	color: #FFFFFF;
}

.jms-news-query .jms-news-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)) !important;
	gap: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.jms-news-query .jms-news-grid > li {
	display: flex;
	flex-direction: column;
}

.jms-news-card {
	flex: 1;
	background: #FFFFFF;
	border: 1.5px solid #E3EAF3;
	border-radius: 28px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jms-news-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(19, 41, 75, 0.08);
}

.jms-news-card__media {
	margin: 0 !important;
	height: 210px;
	background: linear-gradient(150deg, #CFE0F4, #A9C6EA);
	overflow: hidden;
}

.jms-news-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jms-news-card__body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.jms-news-card__meta .wp-block-post-terms {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #EEF4FC;
	color: #3E79C6;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
}

.jms-news-card__meta .wp-block-post-terms a {
	color: inherit;
	text-decoration: none;
}

.jms-news-card h3 {
	font-size: 21px;
	line-height: 1.15;
}

.jms-news-card h3 a {
	color: #13294B;
}

.jms-news-card .wp-block-post-excerpt,
.jms-news-card .wp-block-post-excerpt__excerpt {
	margin: 0 !important;
	color: #3C4A60;
	font-size: 15px;
}

.jms-news-card .wp-block-post-date {
	margin-top: auto !important;
	font-size: 13px;
	color: #8A97AA;
}

.jms-news-card .wp-block-read-more {
	display: none;
}

/* Article À la une (1er résultat sur la page Actualités) */
.jms-news-grid--with-featured > li.is-featured,
.jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) {
	grid-column: 1 / -1;
}

.jms-news-grid--with-featured > li.is-featured .jms-news-card,
.jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) .jms-news-card {
	background: #3E79C6;
	color: #FFFFFF;
	border: 0;
	border-radius: 40px;
	flex-direction: row;
	flex-wrap: wrap;
}

.jms-news-grid--with-featured > li.is-featured .jms-news-card__media,
.jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) .jms-news-card__media {
	flex: 1 1 min(420px, 100%);
	height: auto;
	min-height: 360px;
}

.jms-news-grid--with-featured > li.is-featured .jms-news-card__body,
.jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) .jms-news-card__body {
	flex: 1 1 min(380px, 100%);
	padding: 50px;
	gap: 14px;
	justify-content: center;
}

.jms-news-grid--with-featured > li.is-featured .jms-news-card__meta .wp-block-post-terms,
.jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) .jms-news-card__meta .wp-block-post-terms {
	background: #EAF6CA;
	color: #13294B;
}

.jms-news-grid--with-featured > li.is-featured .jms-news-card__meta .wp-block-post-terms::before,
.jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) .jms-news-card__meta .wp-block-post-terms::before {
	content: "À la une · ";
}

html[lang^="en"] .jms-news-grid--with-featured > li.is-featured .jms-news-card__meta .wp-block-post-terms::before,
html[lang^="en"] .jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) .jms-news-card__meta .wp-block-post-terms::before {
	content: "Featured · ";
}

.jms-news-grid--with-featured > li.is-featured h3,
.jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) h3 {
	font-size: 36px;
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.jms-news-grid--with-featured > li.is-featured h3 a,
.jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) h3 a {
	color: #FFFFFF;
}

.jms-news-grid--with-featured > li.is-featured .wp-block-post-excerpt,
.jms-news-grid--with-featured > li.is-featured .wp-block-post-excerpt__excerpt,
.jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) .wp-block-post-excerpt,
.jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) .wp-block-post-excerpt__excerpt {
	color: #FFFFFF;
	opacity: 0.9;
	font-size: 16px;
}

.jms-news-grid--with-featured > li.is-featured .wp-block-post-date,
.jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) .wp-block-post-date {
	display: none;
}

.jms-news-grid--with-featured > li.is-featured .wp-block-read-more,
.jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) .wp-block-read-more {
	display: inline-block;
	font-family: "Archivo", Arial, sans-serif;
	font-weight: 800;
	color: #FFFFFF;
	margin-top: 4px;
}

/* Page Article (single.html V3) */
.jms-article-container {
	max-width: 860px !important;
	width: 100%;
	margin: 0 auto !important;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.jms-article-section .jms-article-container {
	gap: 22px;
}

.jms-article-hero-pill {
	align-self: flex-start;
	display: inline-flex;
	width: fit-content !important;
	max-width: 100%;
	gap: 8px;
	align-items: center;
	background: #EAF6CA;
	color: #13294B;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	margin: 0;
}

.jms-article-hero__title {
	font-size: clamp(34px, 4vw, 56px) !important;
	line-height: 1.02 !important;
	letter-spacing: -0.03em !important;
	color: #FFFFFF !important;
}

.jms-article-hero__lead,
.jms-article-hero .wp-block-post-excerpt__excerpt {
	font-size: 21px;
	color: #E3ECF8;
	margin: 0;
}

.jms-article-hero .wp-block-post-excerpt {
	margin: 0 !important;
}

.jms-article-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.jms-article-bar__byline {
	color: #D9E6F7;
}

.jms-article-bar__share {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.jms-share-btn {
	padding: 10px 16px;
	border: 0;
	border-radius: 999px;
	background: #EEF4FC;
	color: #13294B;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}

.jms-share-btn:hover {
	background: #CFE0F4;
	color: #13294B;
}

.jms-article-hero-img {
	margin: 0 !important;
	border-radius: 36px;
	overflow: hidden;
}

.jms-article-hero-img img {
	width: 100%;
	height: 460px;
	object-fit: cover;
}

.jms-article-caption {
	font-size: 13px;
	color: #8A97AA;
}

.jms-article-content {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.jms-article-content > p {
	font-size: 19px;
	line-height: 1.75;
	color: #3C4A60;
}

.jms-article-content h2 {
	font-size: 30px;
	letter-spacing: -0.02em;
	margin-top: 12px;
}

.jms-article-content ul.is-style-jms-check {
	font-size: 18px;
}

.jms-back-link a {
	font-family: "Archivo", Arial, sans-serif;
	font-weight: 800;
	color: #3E79C6;
}

/* Pages Devis & Contact V3 */
.jms-devis-cols,
.jms-contact-cols {
	gap: 40px !important;
	align-items: flex-start !important;
}

.jms-devis-cols__main {
	flex: 2 1 min(520px, 100%) !important;
}

.jms-devis-cols__side {
	flex: 1 1 min(300px, 100%) !important;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.jms-form-card {
	border-radius: 32px;
	box-shadow: 0 20px 60px rgba(19, 41, 75, 0.10);
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.jms-form-card--contact {
	padding: 36px;
	gap: 16px;
}

.jms-form-card__title {
	font-size: 24px;
}

.jms-side-offer {
	border-radius: 32px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.jms-side-offer h3 {
	font-size: 22px;
}

.jms-side-offer p {
	opacity: 0.9;
}

.jms-devis-contact-row,
.jms-implant-row {
	position: relative;
	padding: 18px 22px 18px 80px;
	min-height: 80px;
	background: #EEF4FC;
	border-radius: 999px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.jms-devis-contact-row::before,
.jms-implant-row::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 22px;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #FFFFFF;
}

.jms-devis-contact-row::after,
.jms-implant-row::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 33px;
	transform: translateY(-50%);
	width: 22px;
	height: 22px;
	background: #3E79C6;
}

.jms-devis-contact-row--telephone::after { -webkit-mask: url("assets/icons/telephone.svg") center / contain no-repeat; mask: url("assets/icons/telephone.svg") center / contain no-repeat; }
.jms-devis-contact-row--email::after { -webkit-mask: url("assets/icons/email.svg") center / contain no-repeat; mask: url("assets/icons/email.svg") center / contain no-repeat; }

.jms-implant-row--lieu::after { -webkit-mask: url("assets/icons/lieu.svg") center / contain no-repeat; mask: url("assets/icons/lieu.svg") center / contain no-repeat; }
.jms-implant-row--sac::after { -webkit-mask: url("assets/icons/sac.svg") center / contain no-repeat; mask: url("assets/icons/sac.svg") center / contain no-repeat; }
.jms-implant-row--telephone::after { -webkit-mask: url("assets/icons/telephone.svg") center / contain no-repeat; mask: url("assets/icons/telephone.svg") center / contain no-repeat; }
.jms-implant-row--email::after { -webkit-mask: url("assets/icons/email.svg") center / contain no-repeat; mask: url("assets/icons/email.svg") center / contain no-repeat; }

.jms-devis-contact-row h3,
.jms-implant-row h3 {
	font-size: 16px;
}

.jms-devis-contact-row p,
.jms-implant-row p {
	font-size: 14px;
}

.jms-contact-cols__form {
	flex: 1 1 min(460px, 100%) !important;
}

.jms-contact-cols__info {
	flex: 1 1 min(340px, 100%) !important;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Pages légales & 404 */
.jms-page-404 {
	padding: calc(98px + 70px) var(--jms-pad-x) 88px !important;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.jms-legal-section .jms-legal-content {
	display: flex !important;
	flex-direction: column;
	align-items: stretch;
	gap: 18px;
}

.jms-legal-section .jms-legal-content > * {
	max-width: 820px;
	width: 100%;
	margin-left: 0 !important;
	margin-right: auto !important;
}

.jms-legal-section .jms-legal-content p {
	color: #3C4A60;
}

/* ==========================================================================
   9. PIED DE PAGE ARRONDI V3 (FOOTER)
   ========================================================================== */

.jms-footer {
	border-radius: 48px 48px 0 0;
	margin-top: 20px !important;
}

.jms-footer__grid {
	padding-top: 80px;
	padding-bottom: 40px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	gap: 32px;
}

.jms-footer__brand,
.jms-footer__col {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.jms-footer__brand {
	gap: 14px;
}

.wp-block-image.jms-footer__logo,
.jms-footer__logo {
	margin: 0 !important;
	align-self: flex-start;
	border-radius: 0 !important;
}

.wp-block-image.jms-footer__logo img,
.jms-footer__logo img {
	height: 64px !important;
	width: auto !important;
	object-fit: contain;
	border-radius: 0 !important;
}

.jms-footer__title {
	font-size: 16px;
	color: #EAF6CA;
	letter-spacing: normal;
}

.jms-footer a {
	color: #D9E3F2;
}

.jms-footer a:hover {
	color: #FFFFFF;
}

.jms-footer__bottom {
	padding-top: 18px;
	padding-bottom: 26px;
	padding-right: 84px;
	border-top: 1px solid rgba(217, 227, 242, 0.2);
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: space-between !important;
	gap: 10px !important;
	font-size: 13px;
}

/* ==========================================================================
   10. ADAPTATION RESPONSIVE MOBILE (MAQUETTES V3 *-m · <= 960px & <= 782px)
   ========================================================================== */

@media (max-width: 960px) {
	:root {
		--jms-container: 100%;
		--jms-pad-x: 20px;
		--jms-card-max: 100%;
		--jms-section-y: 56px;
	}

	.jms-header__nav,
	.jms-header__actions {
		display: none !important;
	}

	.jms-mobile-actions {
		display: flex !important;
	}

	.jms-snav {
		padding: 12px 14px 8px !important;
	}

	.jms-header__pill {
		border-radius: 22px;
		box-shadow: 0 8px 30px rgba(19, 41, 75, 0.10);
		padding: 10px 12px 10px 16px !important;
		gap: 12px !important;
	}

	.wp-block-image.jms-header__logo img,
	.jms-header__logo img {
		height: 42px !important;
	}

	.jms-fab-stack {
		right: 16px;
		bottom: 18px;
	}

	.jms-hero {
		padding-top: calc(76px + 40px) !important;
		padding-bottom: 50px !important;
	}

	.jms-hero__cols {
		gap: 36px !important;
	}

	.jms-hero__copy {
		flex: 1 1 100% !important;
	}

	.jms-hero__title {
		font-size: 32px !important;
	}

	.jms-hero__lead {
		font-size: 17px;
	}

	/* Mobile : carte "Votre besoin" placée au-dessus de la photo */
	.jms-hero__media {
		display: flex !important;
		flex-direction: column-reverse;
		gap: 36px;
		width: 100%;
	}

	.jms-callback {
		position: static;
		width: 100%;
		padding: 20px;
	}

	.jms-slider__viewport {
		height: 320px;
	}

	.jms-page-hero {
		padding-top: calc(76px + 40px) !important;
		padding-bottom: 40px !important;
	}

	.jms-page-hero.jms-lines::before {
		right: -168px;
		top: 40px;
		width: 401px;
		height: 470px;
	}

	.jms-page-hero__title,
	.jms-page-hero h1 {
		font-size: 38px !important;
	}

	.jms-page-hero__lead {
		font-size: 17px;
	}

	.jms-article-hero {
		padding-top: calc(76px + 40px) !important;
	}

	.jms-article-hero__title {
		font-size: 34px !important;
	}

	.jms-article-hero__lead,
	.jms-article-hero .wp-block-post-excerpt__excerpt {
		font-size: 18px;
	}

	.jms-section {
		gap: 24px !important;
	}

	.jms-section--partners-home {
		padding-top: var(--jms-section-y) !important;
		padding-bottom: var(--jms-section-y) !important;
	}

	.jms-section--services-m1 {
		padding-top: 20px !important;
	}

	.jms-section--services-m2 {
		margin-top: 24px !important;
		padding-top: 52px !important;
		padding-bottom: 40px !important;
	}

	.jms-section h2,
	.jms-section-card-wrap h2 {
		font-size: 30px;
	}

	.jms-h2-compact {
		font-size: 28px !important;
	}

	.jms-section-card-wrap {
		padding: var(--jms-section-y) 14px !important;
	}

	.jms-section-card-wrap--padded-top {
		padding-top: var(--jms-section-y) !important;
	}

	.jms-etapes-box,
	.jms-dg-box,
	.jms-showroom-box,
	.jms-cta {
		border-radius: 32px;
	}

	.jms-etapes-box,
	.jms-dg-box {
		padding: 36px 22px;
	}

	.jms-cta {
		padding: 36px 22px !important;
	}

	.jms-services-grid {
		grid-template-columns: 1fr !important;
	}

	.jms-service-card {
		padding: 22px;
		min-height: 170px;
	}

	li.jms-variant-photo .jms-service-card,
	.jms-service-card--photo {
		min-height: 300px;
	}

	.jms-service-card .wp-block-post-title,
	.jms-service-card .wp-block-heading.jms-service-card__title {
		font-size: 22px;
	}

	.jms-pourquoi-cols,
	.jms-about-intro,
	.jms-showroom-info {
		gap: 32px !important;
	}

	.jms-photo-placeholder--pourquoi,
	.jms-photo-placeholder--lg,
	.jms-photo-frame--pourquoi img,
	.jms-photo-frame--lg img {
		height: 300px;
	}

	.jms-photo-frame--tall img {
		height: 280px;
	}

	.jms-pourquoi__badge {
		right: 12px;
		bottom: 12px;
	}

	.jms-dg-row {
		gap: 26px !important;
	}

	.jms-dg-photo {
		border-radius: 40px;
	}

	.jms-dg-photo img {
		height: 280px;
	}

	.jms-dg-row__title {
		font-size: 24px !important;
	}

	.jms-showroom__body {
		padding: 32px !important;
	}

	.jms-service-row {
		gap: 26px !important;
		padding: 28px 0;
	}

	.jms-service-row__box {
		min-height: 200px;
	}

	.jms-service-row__box::after {
		width: 84px;
		height: 84px;
	}

	.jms-service-row__body h2 {
		font-size: 28px;
	}

	.jms-news-grid--with-featured > li.is-featured .jms-news-card,
	.jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) .jms-news-card {
		flex-direction: column;
	}

	.jms-news-grid--with-featured > li.is-featured .jms-news-card__media,
	.jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) .jms-news-card__media {
		min-height: 220px;
	}

	.jms-news-grid--with-featured > li.is-featured .jms-news-card__body,
	.jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) .jms-news-card__body {
		padding: 26px;
	}

	.jms-news-grid--with-featured > li.is-featured h3,
	.jms-news-grid--with-featured > li:first-child:not(.jms-no-featured) h3 {
		font-size: 26px;
	}

	.jms-news-card__media {
		height: 190px;
	}

	.jms-news-card h3 {
		font-size: 19px;
	}

	.jms-article-hero-img img {
		height: 260px;
	}

	.jms-article-content > p {
		font-size: 17px;
	}

	.jms-article-content h2 {
		font-size: 24px;
	}

	.wp-block-quote.is-style-jms-quote {
		padding: 24px !important;
	}

	.wp-block-quote.is-style-jms-quote p {
		font-size: 21px;
	}

	.fluentform .ff-t-container:not(.jms-ff-hero-inline) {
		flex-direction: column;
	}

	.fluentform .ff-t-container:not(.jms-ff-hero-inline) .ff-t-cell {
		flex-basis: auto !important;
		width: 100% !important;
	}

	.jms-callback .fluentform .jms-ff-hero-inline .ff-el-form-control {
		padding: 0 12px !important;
		font-size: 14px !important;
	}

	.jms-callback .fluentform .jms-ff-hero-inline .ff-btn-submit {
		padding: 0 14px !important;
		font-size: 14px !important;
	}

	.jms-form-card,
	.jms-form-card--contact {
		padding: 22px;
	}

	.jms-footer {
		border-radius: 32px 32px 0 0;
	}

	.jms-footer__grid {
		padding-top: 56px;
	}

	.jms-footer__bottom {
		padding-right: 0;
		padding-bottom: 84px;
	}
}

@media (max-width: 782px) {
	body.admin-bar header.wp-block-template-part {
		top: 46px;
	}

	body.admin-bar .jms-drawer {
		top: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jms-ticker__track.defile {
		animation: none;
	}
	.jms-slider__track,
	.jms-service-card,
	.jms-news-card {
		transition: none;
	}
}

/* ==========================================================================
   11. BLOCS DYNAMIQUES 5JMS & FLUENT FORMS DANS L'ÉDITEUR GUTENBERG
   ========================================================================== */

.jms-editor-ssr-wrap {
	pointer-events: none;
}

.editor-styles-wrapper .jms-ticker__track.defile {
	animation: none;
}

.jms-editor-mobile-pill {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px dashed rgba(19, 41, 75, 0.35);
	background: #F4F7FB;
	color: #13294B;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.jms-editor-empty-hint {
	margin: 0;
	padding: 8px 12px;
	border-radius: 8px;
	border: 1px dashed rgba(62, 121, 198, 0.35);
	background: rgba(234, 246, 202, 0.35);
	color: #13294B;
	font-size: 13px;
}

.jms-callback .fluentform-guten-wrapper,
.jms-form-card .fluentform-guten-wrapper,
.wp-block-fluentfom-guten-block {
	margin: 0;
}

/* Éditeur Gutenberg : désactiver les liens étirés pour permettre l'édition directe du texte */
.editor-styles-wrapper .jms-service-card .wp-block-heading a::after,
.editor-styles-wrapper .jms-service-card a::after {
	display: none !important;
}

.editor-styles-wrapper .jms-service-card {
	min-height: 240px;
}

