/* ---------- 0. Polices hébergées sur le site (ce plugin n'appelle plus Google pour elles ; la préprod bloque les hôtes externes) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url('polices/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url('polices/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500 800; font-display: swap;
	src: url('polices/plus-jakarta-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500 800; font-display: swap;
	src: url('polices/plus-jakarta-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Cafémétrie — habillage visuel 2026 (maquette validée le 18/11/2026).
   Présentation SEULEMENT : aucune règle ne masque un texte, un titre ou un lien (les libellés « Mon compte »
   et « Panier » deviennent des icônes à l'écran mais restent dans la page et lisibles par les lecteurs d'écran).
   Toutes les règles sont préfixées par body.cm-habillage (classe posée par mu-plugins/cafemetrie-habillage.php). */

:root {
	--cm-accent: #85604A;
	--cm-accent-survol: #6B4C3A;
	--cm-texte: #1F1A17;
	--cm-gris: #5A524C;
	--cm-gris-clair: #7A716A;
	--cm-fond-alt: #FAF7F4;
	--cm-fond-doux: #F6F1ED;
	--cm-trait: #EFE8E2;
	--cm-trait-fort: #D9CEC5;
	--cm-titre: 'Plus Jakarta Sans', system-ui, sans-serif;
	--cm-corps: 'Inter', system-ui, sans-serif;
	--cm-ombre: 0 18px 44px -22px rgba(60, 40, 25, .28);
	--cm-ombre-legere: 0 10px 30px -18px rgba(60, 40, 25, .22);
}

/* ---------- 1. Base ---------- */
html body.cm-habillage { background: #ffffff !important; color: var(--cm-texte); font-family: var(--cm-corps) !important; font-size: 16px; line-height: 1.6; overflow-x: clip; }
body.cm-habillage p, body.cm-habillage li, body.cm-habillage td, body.cm-habillage th,
body.cm-habillage label, body.cm-habillage input, body.cm-habillage select, body.cm-habillage textarea,
body.cm-habillage .elementor-widget-text-editor, body.cm-habillage .elementor-widget-text-editor *:not(i):not(.icon):not([class*="fa-"]),
body.cm-habillage .elementor-icon-list-text, body.cm-habillage .elementor-image-box-description,
body.cm-habillage .elementor-icon-box-description, body.cm-habillage .elementor-tab-content { font-family: var(--cm-corps) !important; }
body.cm-habillage .elementor-widget-text-editor { color: var(--cm-texte) !important; font-size: 16px !important; line-height: 1.65 !important; }
body.cm-habillage .elementor-widget-text-editor p { margin-bottom: 0.9em; }
body.cm-habillage a { color: var(--cm-accent); transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
body.cm-habillage a:hover { color: var(--cm-accent-survol); }
body.cm-habillage .elementor-widget-text-editor a { color: var(--cm-accent) !important; text-underline-offset: 3px; }
body.cm-habillage strong, body.cm-habillage b { font-weight: 700; }

/* ---------- 2. Titres : Plus Jakarta Sans, tailles modérées ---------- */
body.cm-habillage h1, body.cm-habillage h2, body.cm-habillage h3, body.cm-habillage h4, body.cm-habillage h5, body.cm-habillage h6,
body.cm-habillage .elementor-heading-title, body.cm-habillage .elementor-image-box-title, body.cm-habillage .elementor-icon-box-title,
body.cm-habillage .elementor-tab-title, body.cm-habillage .product_title {
	font-family: var(--cm-titre) !important; color: var(--cm-texte) !important; letter-spacing: -0.015em; text-transform: none !important;
}
body.cm-habillage h1, body.cm-habillage h1.elementor-heading-title, body.cm-habillage .banner-title, body.cm-habillage h1.product_title {
	font-size: clamp(28px, 3.4vw, 44px) !important; font-weight: 800 !important; line-height: 1.08 !important; letter-spacing: -0.025em !important;
}
body.cm-habillage h2, body.cm-habillage h2.elementor-heading-title {
	font-size: clamp(22px, 2.5vw, 32px) !important; font-weight: 700 !important; line-height: 1.18 !important; letter-spacing: -0.02em;
}
body.cm-habillage h3, body.cm-habillage h3.elementor-heading-title, body.cm-habillage h3.elementor-image-box-title, body.cm-habillage h3.elementor-icon-box-title {
	font-size: clamp(18px, 1.8vw, 22px) !important; font-weight: 700 !important; line-height: 1.3 !important;
}
body.cm-habillage h4, body.cm-habillage h4.elementor-heading-title { font-size: clamp(17px, 1.5vw, 19px) !important; font-weight: 700 !important; line-height: 1.35 !important; }
body.cm-habillage h5, body.cm-habillage h6, body.cm-habillage h5.elementor-heading-title, body.cm-habillage h6.elementor-heading-title { font-size: 16px !important; font-weight: 700 !important; line-height: 1.4 !important; }
/* « titres » balisés p/div/span par Elementor : on garde leur niveau (aucun), on harmonise la police */
body.cm-habillage p.elementor-heading-title, body.cm-habillage div.elementor-heading-title, body.cm-habillage span.elementor-heading-title {
	font-size: clamp(17px, 1.6vw, 20px) !important; font-weight: 600 !important; line-height: 1.4 !important; color: #5E4232 !important;
}
body.cm-habillage .elementor-heading-title a, body.cm-habillage .elementor-image-box-title a, body.cm-habillage .elementor-icon-box-title a { color: inherit !important; }
body.cm-habillage .elementor-heading-title a:hover, body.cm-habillage .elementor-icon-box-title a:hover { color: var(--cm-accent) !important; }

/* ---------- 3. Bannière du thème : fond blanc, fil d'Ariane, H1, visuel propre à la page ---------- */
body.cm-habillage .banner-area, body.cm-habillage .banner-area.banner-bg, body.cm-habillage .banner-area.banner-solid {
	background: #ffffff none !important; background-image: none !important; min-height: 0 !important; height: auto !important;
	padding: clamp(28px, 4vw, 48px) 0 0 !important; margin: 0 !important; text-align: left !important;
}
body.cm-habillage .banner-area::before, body.cm-habillage .banner-area::after { display: none !important; }
body.cm-habillage .banner-area > .container { max-width: 1288px !important; width: 100% !important; padding: 0 24px !important; }
body.cm-habillage .banner-area .row { margin: 0 !important; }
body.cm-habillage .banner-area .col-md-12 { padding: 0 !important; }
body.cm-habillage .banner-area .breadcrumb {
	background: none !important; padding: 0 !important; margin: 0 0 18px !important; font-family: var(--cm-corps) !important;
	font-size: 14px !important; color: var(--cm-gris-clair) !important; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-start !important;
}
body.cm-habillage .banner-area .breadcrumb li, body.cm-habillage .banner-area .breadcrumb a { color: var(--cm-gris-clair) !important; font-size: 14px !important; text-decoration: none; text-transform: none !important; }
body.cm-habillage .banner-area .breadcrumb a:hover { color: var(--cm-accent) !important; }
body.cm-habillage .banner-area .breadcrumb i { font-size: 9px !important; color: var(--cm-gris-clair) !important; }
body.cm-habillage .banner-area .banner-title { margin: 0 0 clamp(20px, 3vw, 36px) !important; padding: 0 !important; color: var(--cm-texte) !important; text-align: left !important; }
body.cm-habillage .cm-bandeau { margin: 0; }
body.cm-habillage .cm-bandeau-img {
	display: block; width: 100% !important; max-width: none !important; height: auto; aspect-ratio: 16 / 7; min-height: 180px;
	object-fit: cover; object-position: center 35%; border-radius: 28px;
}
/* l'image d'en-tête de l'accueil est plus haute (16:9) : on la cadre sur la tablée */
body.cm-habillage.home .cm-bandeau-img { object-position: center 55%; }

/* ---------- 4. Sections alternées et conteneurs ---------- */
body.cm-habillage .elementor[data-elementor-type="wp-page"] > .e-con.e-parent,
body.cm-habillage .elementor[data-elementor-type="wp-page"] > .elementor-section-wrap > .elementor-top-section,
body.cm-habillage .elementor[data-elementor-type="wp-page"] > .elementor-top-section { background-color: #ffffff !important; background-image: none !important; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] > .e-con.e-parent:nth-child(even),
body.cm-habillage .elementor[data-elementor-type="wp-page"] > .elementor-section-wrap > .elementor-top-section:nth-child(even),
body.cm-habillage .elementor[data-elementor-type="wp-page"] > .elementor-top-section:nth-child(even) { background-color: var(--cm-fond-alt) !important; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] > .e-con.e-parent { --container-max-width: 1240px; }
/* fonds beiges posés à la main sur des blocs intérieurs : même famille, plus clair */
body.cm-habillage .elementor[data-elementor-type="wp-page"] .e-con.e-child[style*="background"], body.cm-habillage .e-con.e-child.cm-carte { background-color: var(--cm-fond-alt); }

/* ---------- 5. Boutons en pilule ---------- */
body.cm-habillage .elementor-button, body.cm-habillage a.elementor-button, body.cm-habillage .elementor-button-link,
body.cm-habillage .woocommerce a.button, body.cm-habillage .woocommerce button.button, body.cm-habillage .woocommerce input.button,
body.cm-habillage .woocommerce #respond input#submit, body.cm-habillage button.single_add_to_cart_button,
body.cm-habillage a.button, body.cm-habillage button.button, body.cm-habillage a.add_to_cart_button, body.cm-habillage .wc-block-grid__product-add-to-cart a,
body.cm-habillage .metform-btn, body.cm-habillage .mf-btn-wraper button, body.cm-habillage .wpforms-submit,
body.cm-habillage .wc-block-components-button, body.cm-habillage .tutor-btn-primary {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 26px !important; border-radius: 999px !important;
	background: var(--cm-accent) !important; background-color: var(--cm-accent) !important; color: #ffffff !important;
	border: 1.5px solid var(--cm-accent) !important; box-shadow: none !important;
	font-family: var(--cm-corps) !important; font-weight: 600 !important; font-size: 15px !important; line-height: 1.2 !important;
	text-transform: none !important; letter-spacing: 0 !important; text-decoration: none !important; text-align: center; white-space: normal;
}
body.cm-habillage .elementor-button:hover, body.cm-habillage .elementor-button:focus-visible,
body.cm-habillage .woocommerce a.button:hover, body.cm-habillage .woocommerce button.button:hover, body.cm-habillage a.button:hover, body.cm-habillage button.button:hover,
body.cm-habillage button.single_add_to_cart_button:hover, body.cm-habillage .metform-btn:hover, body.cm-habillage .mf-btn-wraper button:hover,
body.cm-habillage .wpforms-submit:hover, body.cm-habillage .tutor-btn-primary:hover {
	background: var(--cm-accent-survol) !important; background-color: var(--cm-accent-survol) !important; border-color: var(--cm-accent-survol) !important; color: #ffffff !important;
}
body.cm-habillage .elementor-button .elementor-button-text, body.cm-habillage .elementor-button span { color: inherit !important; font: inherit !important; }

/* ---------- 6. Images et cartes arrondies ---------- */
body.cm-habillage .elementor[data-elementor-type="wp-page"] .elementor-widget-image img,
body.cm-habillage .elementor[data-elementor-type="wp-page"] .elementor-image-box-img img,
body.cm-habillage .elementor[data-elementor-type="wp-page"] .elementor-widget-video .elementor-wrapper,
body.cm-habillage .entry-content img, body.cm-habillage .post-media img, body.cm-habillage .entry-thumbnail img,
body.cm-habillage .woocommerce-product-gallery img, body.cm-habillage ul.products li.product img { border-radius: 20px; }
body.cm-habillage .elementor-widget-video .elementor-wrapper { overflow: hidden; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] .elementor-widget-image-box > .elementor-widget-container,
body.cm-habillage .elementor[data-elementor-type="wp-page"] .elementor-widget-icon-box > .elementor-widget-container,
body.cm-habillage .elementor[data-elementor-type="wp-page"] .elementor-widget-elementskit-image-box > .elementor-widget-container {
	background: #ffffff; border: 1px solid var(--cm-trait); border-radius: 24px; padding: 24px; box-shadow: var(--cm-ombre-legere);
	transition: box-shadow .3s ease, transform .3s ease; height: 100%;
}
body.cm-habillage .elementor[data-elementor-type="wp-page"] .elementor-widget-image-box > .elementor-widget-container:hover,
body.cm-habillage .elementor[data-elementor-type="wp-page"] .elementor-widget-icon-box > .elementor-widget-container:hover { box-shadow: var(--cm-ombre); transform: translateY(-2px); }
body.cm-habillage .elementor-image-box-description, body.cm-habillage .elementor-icon-box-description { color: var(--cm-gris) !important; font-size: 15.5px !important; line-height: 1.6 !important; }
body.cm-habillage .elementor-icon-box-icon .elementor-icon, body.cm-habillage .elementor-icon-box-icon .elementor-icon i { color: var(--cm-accent) !important; fill: var(--cm-accent) !important; }
body.cm-habillage .elementor-icon-list-icon i, body.cm-habillage .elementor-icon-list-icon svg { color: var(--cm-accent) !important; fill: var(--cm-accent) !important; }
body.cm-habillage .elementor-icon-list-text { color: var(--cm-texte) !important; }

/* séparateurs et accordéons */
body.cm-habillage .elementor-divider-separator { border-color: var(--cm-trait) !important; --divider-color: var(--cm-trait) !important; }
body.cm-habillage .elementor-toggle .elementor-toggle-item { border: 1px solid var(--cm-trait); border-radius: 20px; margin-bottom: 12px; overflow: hidden; background: #ffffff; }
body.cm-habillage .elementor-toggle .elementor-tab-title { border: 0 !important; padding: 18px 22px !important; font-weight: 700 !important; font-size: 17px !important; }
body.cm-habillage .elementor-toggle .elementor-tab-title a, body.cm-habillage .elementor-toggle .elementor-toggle-icon { color: var(--cm-texte) !important; }
body.cm-habillage .elementor-toggle .elementor-tab-title.elementor-active a, body.cm-habillage .elementor-toggle .elementor-tab-title:hover a { color: var(--cm-accent) !important; }
body.cm-habillage .elementor-toggle .elementor-tab-content { border: 0 !important; padding: 0 22px 20px !important; color: var(--cm-gris); }

/* ---------- 7. En-tête : blanc, logo, menu, sous-menus en carte, icônes compte/panier ---------- */
body.cm-habillage .ekit-template-content-header { background: #ffffff; border-bottom: 1px solid var(--cm-trait); position: relative; z-index: 50; }
body.cm-habillage .ekit-template-content-header .e-con.e-parent { background: #ffffff !important; --container-max-width: 1288px; }
/* la colonne du menu prenait toute la largeur du conteneur en plus du logo (débordement horizontal à 1440 px) */
body.cm-habillage .ekit-template-content-header .elementor-element-fee5744 { width: auto !important; flex: 1 1 auto !important; min-width: 0; max-width: 100%; }
body.cm-habillage .ekit-template-content-header .elementor-element-81bd2da { flex: 0 0 auto !important; width: auto !important; }
body.cm-habillage .ekit-template-content-header .elementor-widget-image img { height: 52px !important; width: auto !important; max-width: none !important; border-radius: 0; }
body.cm-habillage .ekit-template-content-header .elementskit-navbar-nav > li > a {
	font-family: var(--cm-corps) !important; font-size: 15px !important; font-weight: 600 !important; color: var(--cm-texte) !important; text-transform: none !important;
}
body.cm-habillage .ekit-template-content-header .elementskit-navbar-nav > li > a:hover,
body.cm-habillage .ekit-template-content-header .elementskit-navbar-nav > li.current-menu-item > a,
body.cm-habillage .ekit-template-content-header .elementskit-navbar-nav > li.current-menu-ancestor > a,
body.cm-habillage .ekit-template-content-header .elementskit-navbar-nav > li > a.active { color: var(--cm-accent) !important; }
body.cm-habillage .ekit-template-content-header .elementskit-submenu-indicator { color: inherit !important; font-size: 10px !important; }
body.cm-habillage .ekit-template-content-header .elementskit-dropdown {
	background: #ffffff !important; border: 0 !important; border-radius: 16px !important; box-shadow: 0 18px 44px -14px rgba(40, 25, 15, .28) !important;
	padding: 8px !important; min-width: 300px;
}
body.cm-habillage .ekit-template-content-header .elementskit-dropdown li > a, body.cm-habillage .ekit-template-content-header .elementskit-dropdown .dropdown-item {
	display: block; padding: 10px 14px !important; border-radius: 10px; font-family: var(--cm-corps) !important; font-weight: 500 !important;
	font-size: 15px !important; line-height: 1.35 !important; color: var(--cm-texte) !important; background: transparent !important; white-space: normal;
}
body.cm-habillage .ekit-template-content-header .elementskit-dropdown li > a:hover { background: var(--cm-fond-doux) !important; color: var(--cm-accent) !important; }
@media (min-width: 1025px) {
	/* « Mon compte » et « Panier » : pastilles rondes avec icône ; le libellé reste dans la page (lecteurs d'écran) */
	body.cm-habillage #menu-item-7347 > a, body.cm-habillage #menu-item-7348 > a {
		position: relative; width: 44px; height: 44px; padding: 0 !important; margin-left: 8px; border-radius: 999px;
		background: var(--cm-fond-doux) !important; font-size: 0 !important; color: transparent !important; overflow: hidden;
		display: flex !important; align-items: center; justify-content: center;
	}
	/* le libellé est un nœud texte direct du lien (font-size 0 : invisible mais lu) ; seules d'éventuelles icônes sont retirées */
	body.cm-habillage #menu-item-7347 > a > i, body.cm-habillage #menu-item-7347 > a > svg, body.cm-habillage #menu-item-7347 > a > img,
	body.cm-habillage #menu-item-7348 > a > i, body.cm-habillage #menu-item-7348 > a > svg, body.cm-habillage #menu-item-7348 > a > img { display: none !important; }
	body.cm-habillage #menu-item-7347 > a::after, body.cm-habillage #menu-item-7348 > a::after { display: none !important; }
	body.cm-habillage #menu-item-7347 > a::before, body.cm-habillage #menu-item-7348 > a::before {
		content: ""; width: 20px; height: 20px; background: var(--cm-texte); -webkit-mask: var(--cm-icone) center / contain no-repeat; mask: var(--cm-icone) center / contain no-repeat;
	}
	body.cm-habillage #menu-item-7347 > a { --cm-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E"); }
	body.cm-habillage #menu-item-7348 > a { --cm-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.5L21 8H6'/%3E%3Ccircle cx='10' cy='20.5' r='1'/%3E%3Ccircle cx='17' cy='20.5' r='1'/%3E%3C/svg%3E"); }
	body.cm-habillage #menu-item-7347 > a:hover, body.cm-habillage #menu-item-7348 > a:hover { background: #EDE4DC !important; }
}
/* téléphone / tablette : bouton menu rond et panneau latéral clair */
@media (max-width: 1024px) {
	body.cm-habillage .ekit-template-content-header .elementskit-menu-hamburger {
		width: 44px; height: 44px; border-radius: 999px !important; border: 0 !important; background: var(--cm-texte) !important;
		display: inline-flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 !important;
	}
	body.cm-habillage .ekit-template-content-header .elementskit-menu-hamburger-icon { background: #ffffff !important; width: 18px !important; height: 2px !important; margin: 0 !important; }
	body.cm-habillage .ekit-template-content-header .elementskit-menu-container { background: #ffffff !important; }
	body.cm-habillage .ekit-template-content-header .elementskit-navbar-nav > li > a { padding: 14px 20px !important; border-bottom: 1px solid var(--cm-trait); }
	body.cm-habillage .ekit-template-content-header .elementskit-dropdown { box-shadow: none !important; min-width: 0; padding: 0 0 8px 12px !important; }
	body.cm-habillage .ekit-template-content-header .elementor-widget-image img { height: 44px !important; }
	/* logo et bouton menu sur une seule ligne */
	body.cm-habillage .ekit-template-content-header .e-con.e-parent > .e-con-inner { flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: space-between !important; }
	body.cm-habillage .ekit-template-content-header .elementor-element-fee5744 { flex: 0 0 auto !important; padding: 0 !important; margin: 0 !important; }
	body.cm-habillage .ekit-template-content-header .elementor-element-81bd2da { flex: 0 1 auto !important; min-width: 0; padding: 0 !important; margin: 0 !important; }
	body.cm-habillage .ekit-template-content-header .e-con.e-parent { padding-left: 16px !important; padding-right: 16px !important; }
	body.cm-habillage .ekit-template-content-header .e-con.e-parent > .e-con-inner { gap: 12px !important; padding: 0 !important; }
	body.cm-habillage .ekit-template-content-header .elementor-element-fee5744 .elementor-widget-ekit-nav-menu { width: auto !important; }
}

/* ---------- 8. Pied de page clair ---------- */
body.cm-habillage .ekit-template-content-footer { border-top: 1px solid var(--cm-trait); }
body.cm-habillage .ekit-template-content-footer .e-con.e-parent { background: var(--cm-fond-alt) !important; background-image: none !important; --container-max-width: 1288px; padding-top: 48px !important; padding-bottom: 32px !important; }
body.cm-habillage .ekit-template-content-footer .e-con.e-parent > .e-con-inner { gap: 32px !important; align-items: flex-start !important; flex-wrap: wrap; }
body.cm-habillage .ekit-template-content-footer pre {
	font-family: var(--cm-corps) !important; font-size: 14px !important; line-height: 1.9 !important; color: var(--cm-gris) !important;
	white-space: pre-line !important; background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important;
	text-transform: none !important; letter-spacing: 0 !important; overflow: visible !important;
}
body.cm-habillage .ekit-template-content-footer .elementor-widget-text-editor { font-size: 14px !important; color: var(--cm-gris) !important; text-align: left !important; }
body.cm-habillage .ekit-template-content-footer a { color: var(--cm-gris) !important; text-decoration: none !important; }
body.cm-habillage .ekit-template-content-footer a:hover { color: var(--cm-accent) !important; }
body.cm-habillage .ekit-template-content-footer a strong, body.cm-habillage .ekit-template-content-footer strong { font-weight: 700 !important; color: inherit; }
/* adresse (avec le logo, décoratif) en premier, liens ensuite, réseaux sociaux à la fin */
body.cm-habillage .ekit-template-content-footer .elementor-element-c8a50aa { order: 1; flex: 1 1 280px !important; }
body.cm-habillage .ekit-template-content-footer .elementor-element-e9ecd38 { order: 2; flex: 1 1 260px !important; }
body.cm-habillage .ekit-template-content-footer .elementor-element-e17d19b { order: 3; flex: 0 1 auto !important; }
body.cm-habillage .ekit-template-content-footer .elementor-element-c8a50aa::before {
	content: ""; display: block; width: 150px; height: 48px; margin-bottom: 16px;
	background: url("/wp-content/uploads/2024/04/png_trns_logo-e1712843147172.png") left center / contain no-repeat;
}
body.cm-habillage .ekit-template-content-footer .ekit_social_media { display: flex; gap: 10px; margin: 0; padding: 0; }
body.cm-habillage .ekit-template-content-footer .ekit_social_media > li { margin: 0 !important; }
body.cm-habillage .ekit-template-content-footer .ekit_social_media > li > a {
	width: 44px !important; height: 44px !important; border-radius: 999px !important; background: #ffffff !important; border: 1px solid #EAE1D9 !important;
	display: flex !important; align-items: center; justify-content: center; color: var(--cm-texte) !important; line-height: 1 !important; padding: 0 !important;
}
body.cm-habillage .ekit-template-content-footer .ekit_social_media > li > a i, body.cm-habillage .ekit-template-content-footer .ekit_social_media > li > a svg { color: var(--cm-texte) !important; fill: var(--cm-texte) !important; font-size: 18px !important; }
body.cm-habillage .ekit-template-content-footer .ekit_social_media > li > a:hover { border-color: var(--cm-accent) !important; }
body.cm-habillage .ekit-template-content-footer .ekit_social_media > li > a:hover i { color: var(--cm-accent) !important; }

/* ---------- 9. Formulaires ---------- */
body.cm-habillage input[type="text"], body.cm-habillage input[type="email"], body.cm-habillage input[type="tel"], body.cm-habillage input[type="number"],
body.cm-habillage input[type="password"], body.cm-habillage input[type="search"], body.cm-habillage input[type="date"], body.cm-habillage select, body.cm-habillage textarea,
body.cm-habillage .mf-input {
	border: 1.5px solid var(--cm-trait-fort) !important; border-radius: 12px !important; background: #ffffff !important; color: var(--cm-texte) !important;
	font-family: var(--cm-corps) !important; font-size: 15px !important; min-height: 46px; padding: 10px 14px !important; box-shadow: none !important;
}
body.cm-habillage textarea, body.cm-habillage textarea.mf-input { min-height: 120px; }
body.cm-habillage input:focus, body.cm-habillage select:focus, body.cm-habillage textarea:focus, body.cm-habillage .mf-input:focus {
	border-color: var(--cm-accent) !important; outline: 3px solid rgba(133, 96, 74, .18) !important; outline-offset: 0;
}
body.cm-habillage .mf-input-label, body.cm-habillage .wpforms-field-label { font-family: var(--cm-corps) !important; font-weight: 600 !important; color: var(--cm-texte) !important; }

/* ---------- 10. Boutique (fiches ateliers) ---------- */
body.cm-habillage.woocommerce div.product, body.cm-habillage .woocommerce div.product { font-family: var(--cm-corps); }
body.cm-habillage .woocommerce div.product p.price, body.cm-habillage .woocommerce div.product span.price, body.cm-habillage .woocommerce ul.products li.product .price {
	color: var(--cm-accent) !important; font-family: var(--cm-titre) !important; font-weight: 800 !important;
}
body.cm-habillage .woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; border: 0 !important; }
body.cm-habillage .woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--cm-trait) !important; }
body.cm-habillage .woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 999px !important; border: 1px solid var(--cm-trait) !important; background: #ffffff !important; margin-right: 8px !important; }
body.cm-habillage .woocommerce div.product .woocommerce-tabs ul.tabs li::before, body.cm-habillage .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.cm-habillage .woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--cm-fond-doux) !important; }
body.cm-habillage .woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--cm-texte) !important; font-weight: 600 !important; }
body.cm-habillage .woocommerce ul.products li.product { border: 1px solid var(--cm-trait); border-radius: 24px; padding: 16px !important; background: #ffffff; box-shadow: var(--cm-ombre-legere); }
body.cm-habillage .wc-bookings-booking-form, body.cm-habillage .wc-bookings-date-picker { border-radius: 20px !important; border-color: var(--cm-trait) !important; }

/* fiche produit : le <body> porte lui-même la classe woocommerce */
body.cm-habillage.single-product div.product p.price, body.cm-habillage.single-product div.product span.price,
body.cm-habillage.single-product div.product .price * { color: var(--cm-accent) !important; font-family: var(--cm-titre) !important; font-weight: 800 !important; }
body.cm-habillage .wc-tabs li, body.cm-habillage .wc-tabs li a { border-radius: 999px !important; }
body.cm-habillage .wc-tabs li a { background: #ffffff !important; color: var(--cm-texte) !important; border: 1px solid var(--cm-trait) !important; font-family: var(--cm-corps) !important; font-weight: 600 !important; padding: 10px 22px !important; }
body.cm-habillage .wc-tabs li.active a, body.cm-habillage .wc-tabs li a:hover { background: var(--cm-fond-doux) !important; color: var(--cm-accent) !important; }
/* pastille de prix des « produits similaires » */
body.cm-habillage ul.products li.product .price { background-color: var(--cm-accent) !important; color: #ffffff !important; border-radius: 999px !important; }
body.cm-habillage ul.products li.product .price * { color: #ffffff !important; }

/* ---------- 11. Articles ---------- */
body.cm-habillage.single-post .entry-content, body.cm-habillage.single-post .post-content { font-size: 17px; line-height: 1.75; color: var(--cm-texte); }
body.cm-habillage .post-navigation a, body.cm-habillage .post-navigation .nav-links a { color: var(--cm-accent) !important; }

/* ---------- 12. Téléphone ---------- */
@media (max-width: 767px) {
	body.cm-habillage .banner-area > .container { padding: 0 16px !important; }
	body.cm-habillage .cm-bandeau-img { border-radius: 20px; min-height: 200px; aspect-ratio: 4 / 3; }
	body.cm-habillage .elementor[data-elementor-type="wp-page"] .elementor-widget-image-box > .elementor-widget-container,
	body.cm-habillage .elementor[data-elementor-type="wp-page"] .elementor-widget-icon-box > .elementor-widget-container { padding: 20px; border-radius: 20px; }
	body.cm-habillage .elementor-button, body.cm-habillage a.elementor-button { width: 100%; }
	body.cm-habillage .ekit-template-content-footer .e-con.e-parent { padding-left: 16px !important; padding-right: 16px !important; }
}

/* ---------- 13. Pages reconstruites dans Elementor (classes cm-* posées dans l'onglet Avancé des éléments) ----------
   Présentation seulement. Chaque classe est visible et modifiable par Alice dans Elementor (Avancé > Classes CSS). */
body.cm-habillage .elementor[data-elementor-type="wp-page"] > .e-con.e-parent.cm-sec { padding: clamp(56px, 7vw, 96px) 24px !important; background-color: #ffffff !important;
	/* le gabarit du thème limite la colonne de contenu : la section reprend toute la largeur de la fenêtre */
	width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; box-sizing: border-box; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] > .e-con.e-parent.cm-sec.cm-alt { background-color: var(--cm-fond-alt) !important; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] > .e-con.e-parent.cm-sec.cm-serre-haut { padding-top: 0 !important; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] > .e-con.e-parent.cm-sec.cm-heros { padding-top: clamp(8px, 2vw, 24px) !important; padding-bottom: clamp(40px, 6vw, 80px) !important; }
body.cm-habillage #main-content:has(.e-con.cm-sec), body.cm-habillage #main-content:has(.cm-ateliers-intro) { padding-top: 0 !important; padding-bottom: 0 !important; margin: 0 !important; }
body.cm-habillage #main-content:has(.cm-ateliers-intro) .single-content, body.cm-habillage #main-content:has(.cm-ateliers-intro) .entry-content,
body.cm-habillage #main-content:has(.cm-ateliers-intro) .post-body { margin: 0 !important; padding: 0 !important; }
body.cm-habillage #main-content:has(.e-con.cm-sec) .single-content, body.cm-habillage #main-content:has(.e-con.cm-sec) .entry-content,
body.cm-habillage #main-content:has(.e-con.cm-sec) .post-body { margin: 0 !important; padding: 0 !important; }
body.cm-habillage .e-con.cm-sec > .e-con-inner { max-width: 1240px !important; width: 100%; margin: 0 auto; padding: 0 !important; gap: 24px; }
body.cm-habillage .e-con.e-child[class*="cm-"] { padding: 0 !important; background-color: transparent; }
body.cm-habillage .e-con.e-child.cm-col { display: flex !important; flex-direction: column !important; gap: 0; min-width: 0; }

/* grilles */
body.cm-habillage .e-con.cm-deux-col > .e-con-inner, body.cm-habillage .e-con.e-child.cm-deux-col {
	display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 5vw, 64px) !important; align-items: center;
}
body.cm-habillage .e-con.cm-duo > .e-con-inner { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px !important; }
body.cm-habillage .e-con.e-child.cm-boutons { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 12px !important; width: auto; }
body.cm-habillage .e-con.e-child.cm-boutons > .elementor-widget { width: auto !important; margin: 0 !important; }

/* typographie des blocs */
body.cm-habillage .cm-h2-heros .elementor-heading-title { font-weight: 600 !important; font-size: clamp(19px, 1.9vw, 24px) !important; line-height: 1.35 !important; color: #5E4232 !important; letter-spacing: 0; margin: 0 0 20px; }
body.cm-habillage .cm-chapo, body.cm-habillage .cm-chapo p, body.cm-habillage .cm-texte-doux p { color: var(--cm-gris) !important; }
body.cm-habillage .cm-chapo { max-width: 540px; margin-bottom: 18px !important; }
body.cm-habillage .cm-titre-centre .elementor-heading-title { text-align: center; max-width: 820px; margin: 0 auto 44px !important; font-size: clamp(22px, 2.5vw, 32px) !important; line-height: 1.15 !important; }
body.cm-habillage .cm-surtitre .elementor-heading-title { font-family: var(--cm-corps) !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: .12em !important; text-transform: uppercase !important; color: var(--cm-accent) !important; margin: 0 0 16px; }
body.cm-habillage .cm-accent { color: var(--cm-accent); font-weight: 800; }

/* bouton secondaire (contour) */
body.cm-habillage .cm-btn-ghost .elementor-button { background: transparent !important; background-color: transparent !important; color: var(--cm-texte) !important; border: 1.5px solid var(--cm-trait-fort) !important; }
body.cm-habillage .cm-btn-ghost .elementor-button:hover { border-color: var(--cm-accent) !important; color: var(--cm-accent) !important; }

/* photos arrondies */
body.cm-habillage .elementor[data-elementor-type="wp-page"] .cm-photo img { width: 100% !important; height: auto; object-fit: cover; border-radius: 28px !important; display: block; }
body.cm-habillage .cm-ratio-43 img { aspect-ratio: 4 / 3; }
body.cm-habillage .cm-ombre img { box-shadow: 0 30px 60px -30px rgba(60, 40, 25, .35); }
body.cm-habillage .e-con.e-child.cm-heros-visuel { position: relative; }
body.cm-habillage .cm-pastille { position: absolute !important; left: -12px; bottom: 28px; width: auto !important; background: #ffffff; border-radius: 18px; padding: 14px 20px; box-shadow: 0 16px 40px -12px rgba(30, 20, 10, .25); z-index: 2; }
body.cm-habillage .cm-pastille .elementor-heading-title { font-family: var(--cm-titre) !important; font-weight: 700 !important; font-size: 16px !important; color: var(--cm-texte) !important; margin: 0; }

/* vidéo */
body.cm-habillage .cm-video-cadre .elementor-wrapper, body.cm-habillage .cm-video-cadre > .elementor-widget-container { border-radius: 28px !important; overflow: hidden; }

/* « Nos formations permettent » : liste en cartes blanches numérotées (numéros décoratifs, générés par la feuille) */
body.cm-habillage .cm-liste-cartes p { font-family: var(--cm-titre) !important; font-weight: 700 !important; font-size: clamp(20px, 2.2vw, 28px) !important; letter-spacing: -0.015em; margin: 0 0 32px !important; }
body.cm-habillage .cm-liste-cartes ul { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; counter-reset: cm-n; }
body.cm-habillage .cm-liste-cartes li { background: #ffffff; border-radius: 20px; padding: 26px !important; margin: 0 !important; font-weight: 600 !important; font-size: 17px !important; line-height: 1.4 !important; counter-increment: cm-n; }
body.cm-habillage .cm-liste-cartes li::before { content: counter(cm-n, decimal-leading-zero); display: block; margin: 0 0 14px; font-family: var(--cm-titre); font-weight: 800; font-size: 15px; color: var(--cm-accent); }

/* parcours : cartes à photo */
body.cm-habillage .e-con.e-child.cm-parcours-grille { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 24px !important; align-items: start; }
body.cm-habillage .e-con.e-child.cm-cartes-2 { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px !important; }
body.cm-habillage .e-con.e-child.cm-carte { display: flex !important; flex-direction: column !important; gap: 0 !important; border-radius: 24px; overflow: hidden; background: #ffffff !important; box-shadow: 0 1px 0 var(--cm-trait), 0 20px 40px -28px rgba(60, 40, 25, .3); }
body.cm-habillage .e-con.e-child.cm-carte.cm-carte-sombre { background: #2A211C !important; box-shadow: 0 20px 40px -24px rgba(40, 25, 15, .5); }
body.cm-habillage .cm-carte-img { margin: 0 !important; overflow: hidden; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] .cm-carte-img img { width: 100% !important; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 !important; display: block; transition: transform .5s ease; }
body.cm-habillage .cm-carte:hover .cm-carte-img img { transform: scale(1.04); }
body.cm-habillage .cm-btn-titre { margin: 0 !important; }
body.cm-habillage .cm-btn-titre .elementor-button { display: block !important; width: 100%; min-height: 0; text-align: left !important; background: transparent !important; background-color: transparent !important; border: 0 !important; border-radius: 0 !important;
	padding: 22px 26px 26px !important; color: var(--cm-texte) !important; font-family: var(--cm-titre) !important; font-weight: 700 !important; font-size: 20px !important; line-height: 1.3 !important; }
body.cm-habillage .cm-carte-sombre .cm-btn-titre .elementor-button { color: #ffffff !important; }
body.cm-habillage .cm-btn-titre .elementor-button:hover { color: var(--cm-accent) !important; background: transparent !important; }
body.cm-habillage .cm-carte-sombre .cm-btn-titre .elementor-button:hover { color: #D9B99F !important; }
body.cm-habillage .cm-sep-discret { display: none !important; }
/* toute la carte est cliquable par le lien (unique) de son bouton-titre */
body.cm-habillage .e-con.e-child.cm-carte { position: relative; }
body.cm-habillage .cm-carte .cm-btn-titre, body.cm-habillage .cm-carte .cm-btn-titre > .elementor-widget-container, body.cm-habillage .cm-carte .cm-btn-titre .elementor-button-wrapper, body.cm-habillage .cm-carte .cm-btn-titre .elementor-button { position: static !important; }
body.cm-habillage .cm-carte .cm-btn-titre .elementor-button::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* bande de cartes verticales */
body.cm-habillage .e-con.e-child.cm-bande { display: flex !important; flex-direction: row !important; flex-wrap: nowrap; gap: 12px !important; height: 440px; }
body.cm-habillage .e-con.e-child.cm-tuile { position: relative; border-radius: 24px; overflow: hidden; display: block !important; min-width: 0; }
body.cm-habillage .e-con.e-child.cm-tuile-large { flex: 1.6 1 0 !important; }
body.cm-habillage .e-con.e-child.cm-tuile-large.cm-tuile-fin { flex: 1.2 1 0 !important; }
body.cm-habillage .e-con.e-child.cm-tuile-etroite { flex: 0 0 96px !important; }
body.cm-habillage .cm-tuile-img, body.cm-habillage .cm-tuile-img > .elementor-widget-container { position: absolute !important; inset: 0; margin: 0 !important; width: 100% !important; height: 100%; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] .cm-tuile-img img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; display: block; }
body.cm-habillage .cm-tuile-fin .cm-tuile-img img { object-position: center 30%; }
body.cm-habillage .e-con.e-child.cm-tuile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(25,15,8,.72) 100%); pointer-events: none; }
body.cm-habillage .e-con.e-child.cm-tuile-etroite::after { background: rgba(133, 96, 74, .82); }
body.cm-habillage .cm-tuile-legende { position: absolute !important; left: 26px; right: 26px; bottom: 22px; margin: 0 !important; z-index: 2; width: auto !important; }
body.cm-habillage .cm-tuile-legende .elementor-heading-title { color: #ffffff !important; font-family: var(--cm-titre) !important; font-weight: 700 !important; font-size: 24px !important; line-height: 1.2 !important; }
body.cm-habillage .cm-tuile-fin .cm-tuile-legende .elementor-heading-title { font-size: 22px !important; }
body.cm-habillage .cm-tuile-etroite .cm-tuile-legende { left: 0; right: 0; display: flex; justify-content: center; }
body.cm-habillage .cm-tuile-etroite .cm-tuile-legende .elementor-heading-title { font-size: 17px !important; writing-mode: vertical-rl; transform: rotate(180deg); }

/* carte sombre « Contactez-nous » et carte certificat */
body.cm-habillage .e-con.e-child.cm-carte-contact { background: #2A211C !important; border-radius: 28px; padding: clamp(32px, 4vw, 48px) !important; min-height: 220px; display: flex !important; flex-direction: column !important; justify-content: space-between; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] .cm-carte-contact .elementor-widget-icon-box > .elementor-widget-container,
body.cm-habillage .elementor[data-elementor-type="wp-page"] .cm-contact-sombre .elementor-widget-icon-box > .elementor-widget-container { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; transform: none !important; }
body.cm-habillage .cm-carte-contact .elementor-spacer, body.cm-habillage .cm-carte-contact .elementor-widget-spacer { display: none; }
body.cm-habillage .cm-carte-contact .elementor-icon-box-wrapper, body.cm-habillage .cm-contact-sombre .elementor-icon-box-wrapper { text-align: left !important; }
body.cm-habillage .cm-carte-contact .elementor-icon-box-icon { margin-bottom: 32px !important; }
body.cm-habillage .cm-carte-contact .elementor-icon-box-icon .elementor-icon, body.cm-habillage .cm-carte-contact .elementor-icon-box-icon .elementor-icon i,
body.cm-habillage .cm-contact-sombre .elementor-icon-box-icon .elementor-icon i { color: #D9B99F !important; fill: #D9B99F !important; font-size: 36px; }
body.cm-habillage .cm-carte-contact .elementor-icon-box-title, body.cm-habillage .cm-carte-contact .elementor-icon-box-title a,
body.cm-habillage .cm-contact-sombre .elementor-icon-box-title, body.cm-habillage .cm-contact-sombre .elementor-icon-box-title a { color: #ffffff !important; font-size: clamp(20px, 2.2vw, 28px) !important; }
body.cm-habillage .cm-carte-contact .elementor-icon-box-title a::after, body.cm-habillage .cm-contact-sombre .elementor-icon-box-title a::after { content: "→"; margin-left: 16px; }
body.cm-habillage .e-con.e-child.cm-carte-certif { border: 1px solid var(--cm-trait); border-radius: 28px; padding: clamp(28px, 4vw, 44px) !important; min-height: 220px; display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 24px !important; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] .cm-carte-certif .elementor-widget-image-box > .elementor-widget-container { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; transform: none !important; }
body.cm-habillage .cm-carte-certif .elementor-widget-image-box { flex: 1 1 260px; width: auto !important; }
body.cm-habillage .cm-carte-certif .elementor-image-box-wrapper { display: flex !important; flex-wrap: wrap; align-items: center; gap: 24px; text-align: left !important; }
body.cm-habillage .cm-carte-certif .elementor-image-box-img { width: auto !important; margin: 0 !important; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] .cm-carte-certif img, body.cm-habillage .elementor[data-elementor-type="wp-page"] .cm-logo-cpf img { height: 72px !important; width: auto !important; border-radius: 0 !important; }
body.cm-habillage .cm-logo-cpf { width: auto !important; order: -1; }
body.cm-habillage .cm-carte-certif .elementor-image-box-title { color: var(--cm-accent) !important; font-size: 20px !important; }

@media (max-width: 860px) {
	body.cm-habillage .e-con.e-child.cm-parcours-grille { grid-template-columns: minmax(0, 1fr); }
	body.cm-habillage .e-con.e-child.cm-bande { display: grid !important; grid-template-columns: 1fr 1fr; height: auto; }
	body.cm-habillage .e-con.e-child.cm-tuile { min-height: 220px; }
	body.cm-habillage .e-con.e-child.cm-tuile-large { grid-column: 1 / -1; }
	body.cm-habillage .cm-tuile-etroite .cm-tuile-legende { left: 18px; right: 18px; justify-content: flex-start; }
	body.cm-habillage .cm-tuile-etroite .cm-tuile-legende .elementor-heading-title { writing-mode: horizontal-tb; transform: none; }
	body.cm-habillage .cm-pastille { left: 12px; bottom: 16px; }
}

/* section « pleine largeur » sans conteneur intérieur (content_width = full) : contenu centré sur 1240 px */
body.cm-habillage .elementor[data-elementor-type="wp-page"] > .e-con.e-parent.cm-sec.e-con-full {
	padding-left: max(24px, calc((100vw - 1240px) / 2)) !important; padding-right: max(24px, calc((100vw - 1240px) / 2)) !important;
	margin-top: 0 !important; margin-bottom: 0 !important; gap: 0 !important; }
body.cm-habillage .e-con.e-child[class*="cm-"] { --width: 100%; }
body.cm-habillage .e-con.cm-haut > .e-con-inner, body.cm-habillage .e-con.e-child.cm-haut { align-items: start !important; }
body.cm-habillage .cm-ratio-45 img { aspect-ratio: 4 / 5; }
body.cm-habillage .cm-titre-gauche .elementor-heading-title { text-align: left !important; }

/* Formations : en-tête titre + accroche sur une ligne, puis fiches à photo */
body.cm-habillage .e-con.e-child.cm-entete-ligne { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 16px 64px !important; align-items: flex-end; justify-content: space-between; margin: 0 0 40px !important; }
body.cm-habillage .cm-entete-ligne > .elementor-widget { width: auto !important; flex: 0 1 auto; margin: 0 !important; }
body.cm-habillage .cm-entete-ligne .cm-titre-gauche .elementor-heading-title { font-size: clamp(22px, 2.5vw, 32px) !important; line-height: 1.15 !important; margin: 0; }
body.cm-habillage .cm-chapo-titre { max-width: 520px; }
body.cm-habillage .cm-chapo-titre .elementor-heading-title { text-align: left !important; }
body.cm-habillage .e-con.e-child.cm-cartes-fiches { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 28px !important; margin: 0 !important; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] .cm-fiche > .elementor-widget-container { padding: 0 !important; border-radius: 28px; overflow: hidden; border: 1px solid var(--cm-trait); box-shadow: none; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] .cm-fiche > .elementor-widget-container:hover { box-shadow: var(--cm-ombre); }
body.cm-habillage .cm-fiche .elementor-image-box-wrapper { display: flex !important; flex-direction: column !important; text-align: left !important; height: 100%; }
body.cm-habillage .cm-fiche .elementor-image-box-img { width: 100% !important; margin: 0 !important; overflow: hidden; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] .cm-fiche .elementor-image-box-img img { width: 100% !important; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 35%; border-radius: 0 !important; transition: transform .5s ease; }
body.cm-habillage .cm-fiche:hover .elementor-image-box-img img { transform: scale(1.04); }
body.cm-habillage .cm-fiche .elementor-image-box-content { padding: 30px 32px 34px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
body.cm-habillage .cm-fiche .elementor-image-box-title { font-size: clamp(21px, 2vw, 26px) !important; line-height: 1.2 !important; margin: 0 !important; }
body.cm-habillage .cm-fiche .elementor-image-box-description { margin: 0 !important; }
body.cm-habillage .cm-fiche .elementor-image-box-content::after { content: "→"; color: var(--cm-accent); font-size: 22px; margin-top: auto; padding-top: 12px; }

/* bandeau sombre « Contactez-nous » (icon-box) */
body.cm-habillage .elementor[data-elementor-type="wp-page"] .cm-contact-sombre.elementor-widget-icon-box > .elementor-widget-container {
	background: #2A211C !important; border-radius: 28px; padding: clamp(32px, 5vw, 56px) !important; border: 0 !important; box-shadow: none !important; transform: none !important; }
body.cm-habillage .cm-contact-sombre .elementor-icon-box-wrapper { display: flex !important; flex-direction: row !important; align-items: center; gap: 24px; }
body.cm-habillage .cm-contact-sombre .elementor-icon-box-icon { margin: 0 !important; }
body.cm-habillage .cm-contact-sombre .elementor-icon-box-content { flex: 1; }
body.cm-habillage .cm-contact-sombre .elementor-icon-box-title { margin: 0 !important; }
body.cm-habillage .cm-contact-sombre .elementor-icon-box-title a { display: flex; justify-content: space-between; align-items: center; }
body.cm-habillage .cm-contact-sombre .elementor-icon-box-title a::after { width: 56px; height: 56px; border-radius: 999px; background: #ffffff; color: var(--cm-texte); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }

/* Certification : présentation + chiffres clés */
body.cm-habillage .e-con.cm-presentation > .e-con-inner { display: grid !important; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px) !important; align-items: start; }
body.cm-habillage .e-con.e-child.cm-presentation-texte { gap: 8px !important; }
body.cm-habillage .cm-chapo .elementor-widget-container, body.cm-habillage .cm-chapo p { font-size: 17px !important; }
body.cm-habillage .cm-surtitre-fort .elementor-heading-title { font-size: clamp(20px, 2vw, 26px) !important; margin: 0 0 18px !important; }
body.cm-habillage .e-con.e-child.cm-indicateurs { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 8px !important; margin: 8px 0 20px !important; }
body.cm-habillage .cm-indicateurs > .elementor-widget { width: auto !important; margin: 0 !important; }
body.cm-habillage .cm-indicateurs .elementor-icon-list-items { margin: 0; }
body.cm-habillage .cm-indicateurs .elementor-icon-list-item { background: var(--cm-fond-doux); border-radius: 999px; padding: 8px 16px !important; }
body.cm-habillage .cm-indicateurs .elementor-icon-list-text, body.cm-habillage .cm-indicateurs a .elementor-icon-list-text { font-weight: 600; font-size: 14px !important; }
body.cm-habillage .cm-liens-pilules a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; margin: 8px 0; border: 1.5px solid var(--cm-trait-fort); border-radius: 999px; color: var(--cm-texte) !important; text-decoration: none !important; font-weight: 600; }
body.cm-habillage .cm-liens-pilules a:hover { border-color: var(--cm-accent); color: var(--cm-accent) !important; }
body.cm-habillage .e-con.e-child.cm-chiffres { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px !important; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] .cm-chiffre.elementor-widget-icon-box > .elementor-widget-container { background: var(--cm-fond-alt); border: 0; box-shadow: none; border-radius: 20px; padding: 24px !important; transform: none !important; }
body.cm-habillage .cm-chiffre .elementor-icon-box-wrapper { text-align: left !important; }
body.cm-habillage .cm-chiffre .elementor-icon-box-title { font-size: 18px !important; margin: 8px 0 0 !important; }
body.cm-habillage .cm-chiffre .elementor-icon { font-size: 26px !important; }

/* objectifs, compétences, programme */
body.cm-habillage .cm-liste-puces ul { list-style: none !important; padding: 0 !important; margin: 0 0 24px !important; display: grid; gap: 12px; }
body.cm-habillage .cm-liste-puces li { position: relative; padding-left: 26px !important; margin: 0 !important; }
body.cm-habillage .cm-liste-puces li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 999px; background: var(--cm-accent); }
body.cm-habillage .cm-competences ol { padding-left: 1.4em; display: grid; gap: 10px; }
body.cm-habillage .cm-competences ol li::marker { color: var(--cm-accent); font-weight: 800; }
body.cm-habillage .cm-competences h4 { margin: 0 0 18px !important; font-size: clamp(20px, 2vw, 26px) !important; }
body.cm-habillage .e-con.cm-programme > .e-con-inner { gap: 24px !important; }
body.cm-habillage .cm-phase-titre .elementor-heading-title p { color: var(--cm-texte) !important; font-size: 16px !important; margin: 0 0 6px; }
body.cm-habillage .cm-phase-titre .elementor-heading-title p span { font-family: var(--cm-titre); font-size: clamp(18px, 1.8vw, 22px) !important; font-weight: 700 !important; }
body.cm-habillage .cm-phase-titre .elementor-heading-title em { color: var(--cm-gris); font-family: var(--cm-corps); font-size: 15.5px; }
body.cm-habillage .e-con.e-child.cm-phase-modules { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 32px !important; background: #ffffff !important; border-radius: 24px; padding: 24px 32px !important; }
body.cm-habillage .cm-phase-modules p { margin: 0 0 10px !important; }
body.cm-habillage .e-con.e-child.cm-phase-2 { margin-top: 24px; align-items: start !important; }
body.cm-habillage .cm-phase-2 .e-con.e-child.cm-col { gap: 16px !important; }

/* informations complémentaires : volets dépliables sur une colonne */
body.cm-habillage .e-con.e-child.cm-volets { display: flex !important; flex-direction: column !important; gap: 0 !important; max-width: 920px; }
body.cm-habillage .e-con.cm-infos > .e-con-inner { gap: 16px !important; }
body.cm-habillage .e-con.e-child.cm-referente { background: var(--cm-fond-alt) !important; border-radius: 24px; padding: 28px 32px !important; max-width: 920px; margin-top: 16px; }
body.cm-habillage .cm-referente h4, body.cm-habillage .cm-referente h4 span { background: transparent !important; }

/* Ateliers (page en éditeur de blocs) : introduction en deux colonnes, puis bande beige avec les cartes produits */
body.cm-habillage .entry-content .wp-block-group.cm-ateliers-intro, body.cm-habillage .entry-content .wp-block-group.cm-ateliers-choix {
	width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; box-sizing: border-box;
	padding-left: max(24px, calc((100vw - 1240px) / 2)); padding-right: max(24px, calc((100vw - 1240px) / 2)); }
body.cm-habillage .entry-content .wp-block-group.cm-ateliers-intro { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
body.cm-habillage .cm-ateliers-intro h1.wp-block-heading { font-size: clamp(22px, 2.5vw, 32px) !important; font-weight: 700 !important; line-height: 1.2 !important; letter-spacing: -0.015em !important; color: #5E4232 !important; max-width: 900px; margin: 0 0 32px !important; }
body.cm-habillage .cm-ateliers-intro h1.wp-block-heading strong { color: inherit; }
body.cm-habillage .wp-block-columns.cm-ateliers-colonnes { gap: 24px 64px; margin: 0; flex-wrap: wrap !important; }
body.cm-habillage .wp-block-columns.cm-ateliers-colonnes > .wp-block-column { flex: 1 1 440px !important; min-width: 0; }
body.cm-habillage .cm-ateliers-accroche p { font-family: var(--cm-titre) !important; font-weight: 600; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: var(--cm-texte); margin: 0; }
body.cm-habillage .cm-ateliers-colonnes > .wp-block-column:not(.cm-ateliers-accroche) p { color: var(--cm-gris); margin: 0 0 16px; }
body.cm-habillage .entry-content .wp-block-group.cm-ateliers-choix { background: var(--cm-fond-alt); padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); margin-bottom: 0 !important; }
body.cm-habillage .cm-ateliers-choix h2.wp-block-heading { text-align: center; margin: 0 0 10px !important; }
body.cm-habillage .cm-ateliers-choix h3.wp-block-heading { text-align: center; margin: 0 0 40px !important; color: var(--cm-gris) !important; font-weight: 500 !important; font-family: var(--cm-corps) !important; font-size: 18px !important; }
body.cm-habillage .cm-ateliers-choix .wc-block-grid__products { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; margin: 0 !important; padding: 0 !important; }
body.cm-habillage .cm-ateliers-choix .wc-block-grid__product { max-width: none !important; width: auto !important; flex: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important;
	background: #ffffff; border-radius: 24px; overflow: hidden; display: flex !important; flex-direction: column; text-align: left !important; }
body.cm-habillage .cm-ateliers-choix .wc-block-grid__product-link { display: block; text-decoration: none; color: var(--cm-texte); }
body.cm-habillage .cm-ateliers-choix .wc-block-grid__product-image { margin: 0 !important; overflow: hidden; }
body.cm-habillage .cm-ateliers-choix .wc-block-grid__product-image img { width: 100% !important; aspect-ratio: 4 / 5 !important; object-fit: cover; border-radius: 0 !important; transition: transform .5s ease; }
body.cm-habillage .cm-ateliers-choix .wc-block-grid__product:hover .wc-block-grid__product-image img { transform: scale(1.04); }
body.cm-habillage .cm-ateliers-choix .wc-block-grid__product-title { padding: 22px 22px 0; margin: 0 !important; font-family: var(--cm-titre) !important; font-weight: 700 !important; font-size: 19px !important; color: var(--cm-texte) !important; }
body.cm-habillage .cm-ateliers-choix .wc-block-grid__product-price { padding: 6px 22px 16px; margin: 0 !important; background: transparent !important; color: var(--cm-accent) !important; font-family: var(--cm-corps) !important; font-weight: 600 !important; font-size: 16px !important; }
body.cm-habillage .cm-ateliers-choix .wc-block-grid__product-price * { color: var(--cm-accent) !important; }
body.cm-habillage .cm-ateliers-choix .wc-block-grid__product-add-to-cart { margin: auto 22px 24px !important; }
body.cm-habillage .cm-ateliers-choix .wc-block-grid__product-add-to-cart a { width: 100%; }

@media (max-width: 960px) {
	body.cm-habillage .e-con.cm-presentation > .e-con-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	body.cm-habillage .elementor[data-elementor-type="wp-page"] > .e-con.e-parent.cm-sec, body.cm-habillage .elementor[data-elementor-type="wp-page"] > .e-con.e-parent.cm-sec.e-con-full { padding-left: 16px !important; padding-right: 16px !important; }
	body.cm-habillage .cm-btn-titre .elementor-button { width: 100% !important; }
	body.cm-habillage .e-con.e-child.cm-chiffres { grid-template-columns: minmax(0, 1fr); }
	body.cm-habillage .cm-contact-sombre .elementor-icon-box-wrapper { flex-direction: column !important; align-items: flex-start; }
	body.cm-habillage .e-con.e-child.cm-phase-modules { padding: 20px !important; }
}

/* pied de page : logo au-dessus de l'adresse (il chevauchait la première ligne une fois les médias présents) */
body.cm-habillage .ekit-template-content-footer .elementor-element-c8a50aa { flex-direction: column !important; align-items: flex-start !important; flex-wrap: nowrap !important; }
body.cm-habillage .ekit-template-content-footer .elementor-element-c8a50aa::before { position: static !important; flex: 0 0 48px; }

/* ---------- 14. Conformité à la maquette validée (lot 1, passe 2) ---------- */

/* bannière du thème déplacée dans le héros (mu-plugin v1.1, méta _cafemetrie_banniere_heros) */
body.cm-habillage .banner-area.cm-banniere-vide { display: none !important; }
body.cm-habillage .cm-banniere-deplacee .breadcrumb {
	background: none !important; padding: 0 !important; margin: 0 0 18px !important; font-family: var(--cm-corps) !important;
	font-size: 14px !important; color: var(--cm-gris-clair) !important; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; list-style: none; }
body.cm-habillage .cm-banniere-deplacee .breadcrumb li, body.cm-habillage .cm-banniere-deplacee .breadcrumb a { color: var(--cm-gris-clair) !important; font-size: 14px !important; text-decoration: none; }
body.cm-habillage .cm-banniere-deplacee .breadcrumb i { font-size: 9px !important; color: var(--cm-gris-clair) !important; }
body.cm-habillage .cm-banniere-deplacee .banner-title { margin: 0 0 22px !important; padding: 0 !important; text-align: left !important; line-height: 1.04 !important; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] > .e-con.e-parent.cm-sec.cm-heros { padding-top: clamp(28px, 5vw, 64px) !important; padding-bottom: clamp(40px, 6vw, 80px) !important; }

/* vidéo : vignette 16:7 arrondie avec bouton lecture blanc (la lecture se lance au clic) */
body.cm-habillage .cm-video-cadre .elementor-wrapper { aspect-ratio: 16 / 7 !important; border-radius: 28px !important; overflow: hidden; background: #2A211C; position: relative; }
body.cm-habillage .cm-video-cadre .elementor-custom-embed-image-overlay { position: absolute !important; inset: 0; background-size: cover; background-position: center; cursor: pointer; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] .cm-video-cadre .elementor-custom-embed-image-overlay img { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover; border-radius: 0 !important; opacity: .9; transition: transform .5s ease; }
body.cm-habillage .cm-video-cadre:hover .elementor-custom-embed-image-overlay img { transform: scale(1.04); }
body.cm-habillage .cm-video-cadre .elementor-custom-embed-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 999px; background: #ffffff;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 40px -10px rgba(0,0,0,.45); }
body.cm-habillage .cm-video-cadre .elementor-custom-embed-play i, body.cm-habillage .cm-video-cadre .elementor-custom-embed-play svg { color: var(--cm-accent) !important; fill: var(--cm-accent) !important; font-size: 30px !important; width: 30px; height: 30px; opacity: 1 !important; text-shadow: none !important; filter: none !important; margin-left: 4px; }

/* carte « Contactez-nous » de l'accueil : icône en haut, titre en bas avec flèche à droite */
body.cm-habillage .cm-carte-contact .elementor-icon-box-title a { display: flex !important; justify-content: space-between; align-items: center; gap: 16px; }
body.cm-habillage .cm-carte-contact .elementor-icon-box-title a::after { margin-left: 0 !important; font-size: 28px; }

/* carte du certificat : logos Qualiopi et CPF en haut, titre en bas */
body.cm-habillage .e-con.e-child.cm-carte-certif { display: grid !important; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 24px !important; }
body.cm-habillage .cm-carte-certif .elementor-widget-image-box, body.cm-habillage .cm-carte-certif .elementor-widget-image-box > .elementor-widget-container,
body.cm-habillage .cm-carte-certif .elementor-image-box-wrapper { display: contents !important; }
body.cm-habillage .cm-carte-certif .elementor-image-box-img { grid-column: 1; grid-row: 1; }
body.cm-habillage .cm-carte-certif .cm-logo-cpf { grid-column: 2; grid-row: 1; order: 0 !important; margin: 0 !important; }
body.cm-habillage .cm-carte-certif .elementor-image-box-content { grid-column: 1 / -1; grid-row: 2; align-self: end; text-align: left !important; }
body.cm-habillage .cm-carte-certif .elementor-image-box-title { margin: 0 !important; }

/* Formations : titre et accroche sur une même ligne en grand écran */
@media (min-width: 961px) {
	body.cm-habillage .e-con.e-child.cm-entete-ligne { flex-wrap: nowrap !important; }
	body.cm-habillage .cm-entete-ligne .cm-titre-gauche { flex: 1 1 auto !important; }
	body.cm-habillage .cm-entete-ligne .cm-chapo-titre { flex: 0 1 520px !important; }
}
body.cm-habillage .cm-chapo-titre .elementor-heading-title { font-weight: 600 !important; }

/* Certification : chiffres clés dans un panneau sombre, tuile du prix en accent (icônes décoratives masquées) */
body.cm-habillage .e-con.e-child.cm-chiffres { background: #2A211C !important; border-radius: 28px; padding: clamp(24px, 3vw, 32px) !important; gap: 12px !important; align-self: start; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] .cm-chiffre.elementor-widget-icon-box > .elementor-widget-container { background: rgba(255,255,255,.07) !important; border-radius: 18px; padding: 18px 20px !important; height: 100%; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] .elementor-element-483d140.cm-chiffre > .elementor-widget-container { background: var(--cm-accent) !important; }
body.cm-habillage .cm-chiffre .elementor-icon-box-icon { display: none !important; }
body.cm-habillage .cm-chiffre .elementor-icon-box-title, body.cm-habillage .cm-chiffre .elementor-icon-box-title * { color: #ffffff !important; font-size: 16px !important; line-height: 1.3 !important; margin: 0 !important; }
body.cm-habillage .elementor-element-483d140.cm-chiffre .elementor-icon-box-title { font-size: 20px !important; }
body.cm-habillage .cm-chiffre .elementor-icon-box-description { color: rgba(255,255,255,.8) !important; font-size: 13px !important; margin-top: 6px !important; }

/* Certification : compétences numérotées dans des pastilles (numéros décoratifs générés) */
body.cm-habillage .cm-competences ul, body.cm-habillage .cm-competences ol { list-style: none !important; padding: 0 !important; margin: 0 0 18px !important; display: grid; gap: 12px; counter-reset: cm-c; }
body.cm-habillage .cm-competences li { position: relative; padding-left: 40px !important; counter-increment: cm-c; }
body.cm-habillage .cm-competences li::before { content: counter(cm-c); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 999px; background: var(--cm-fond-doux); color: var(--cm-accent);
	font-family: var(--cm-titre); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }

/* Certification : programme en deux cartes (Phase 1 avec illustration du portail, Phase 2 avec photo) */
body.cm-habillage .cm-titre-centre-h .elementor-heading-title { text-align: center !important; margin: 0 0 36px !important; font-size: clamp(22px, 2.5vw, 32px) !important; }
body.cm-habillage .e-con.e-child.cm-phases { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px !important; align-items: stretch; }
body.cm-habillage .e-con.e-child.cm-phase { background: #ffffff !important; border-radius: 28px; overflow: hidden; display: flex !important; flex-direction: column !important; gap: 0 !important; }
body.cm-habillage .cm-phase-visuel { margin: 0 !important; }
body.cm-habillage .elementor[data-elementor-type="wp-page"] .cm-phase-visuel img { width: 100% !important; height: 200px !important; object-fit: cover; border-radius: 0 !important; display: block; }
body.cm-habillage .e-con.e-child.cm-phase-corps { padding: clamp(26px, 3.5vw, 40px) !important; display: flex !important; flex-direction: column !important; gap: 0 !important; }
body.cm-habillage .cm-phase .cm-phase-titre .elementor-heading-title p { margin: 0 0 10px !important; }
body.cm-habillage .cm-phase .cm-phase-titre .elementor-heading-title p span { font-size: 22px !important; line-height: 1.3 !important; }
body.cm-habillage .cm-phase .cm-phase-titre .elementor-heading-title em { font-size: 15px !important; }
body.cm-habillage .cm-encart p { margin: 0 0 20px !important; padding: 12px 16px; background: var(--cm-fond-alt); border-radius: 12px; color: var(--cm-texte) !important; font-size: 15px !important; }
body.cm-habillage .cm-phase .e-con.e-child.cm-phase-modules { display: block !important; background: transparent !important; padding: 0 !important; border-radius: 0; }
body.cm-habillage .cm-phase .cm-phase-modules p { margin: 0 0 10px !important; font-size: 15px !important; }
body.cm-habillage .cm-phase .cm-phase-modules > .e-con { width: 100% !important; padding: 0 !important; }

/* Certification : informations complémentaires centrées, volets avec « + » à droite */
body.cm-habillage .e-con.cm-infos > .e-con-inner { max-width: 920px !important; }
body.cm-habillage .cm-volets .elementor-toggle .elementor-toggle-item { border: 0 !important; border-bottom: 1px solid var(--cm-trait) !important; border-radius: 0 !important; margin: 0 !important; background: transparent; }
body.cm-habillage .cm-volets .elementor-toggle .elementor-tab-title { display: flex !important; flex-direction: row; justify-content: space-between; align-items: center; padding: 16px 4px !important; font-size: 16px !important; }
body.cm-habillage .cm-volets .elementor-toggle-icon { display: none !important; }
body.cm-habillage .cm-volets .elementor-tab-title::after { content: "+"; font-family: var(--cm-titre); font-weight: 400; font-size: 22px; color: var(--cm-accent); line-height: 1; transition: transform .2s ease; }
body.cm-habillage .cm-volets .elementor-tab-title.elementor-active::after { transform: rotate(45deg); }
body.cm-habillage .cm-volets .elementor-toggle .elementor-tab-content { padding: 0 4px 18px !important; }

/* bandeau « Contactez-nous » des pages intérieures : sans icône, comme la maquette */
body.cm-habillage .cm-contact-sombre .elementor-icon-box-icon { display: none !important; }

/* pied de page : écart logo / adresse resserré */
body.cm-habillage .ekit-template-content-footer .elementor-element-c8a50aa { gap: 8px !important; }

/* vidéo : triangle de lecture plein (l'icône cerclée d'Elementor est masquée, le libellé « Lire la vidéo » reste pour les lecteurs d'écran) */
body.cm-habillage .cm-video-cadre .elementor-custom-embed-play svg { display: none !important; }
body.cm-habillage .cm-video-cadre .elementor-custom-embed-play::before { content: ""; width: 0; height: 0; margin-left: 6px; border-left: 24px solid var(--cm-accent); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
body.cm-habillage .cm-carte-certif .cm-logo-cpf { justify-self: start; }
body.cm-habillage .e-con.e-child.cm-carte-certif { grid-template-columns: auto auto 1fr !important; }
body.cm-habillage .cm-carte-certif .elementor-image-box-content { grid-column: 1 / -1 !important; }

/* pied de page selon la maquette : adresse | liens sur 2 colonnes ; barre basse © à gauche, réseaux à droite */
body.cm-habillage .ekit-template-content-footer .e-con.cm-pied > .e-con-inner { display: grid !important; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); grid-template-areas: "adr liens" "copy soc"; column-gap: 32px !important; row-gap: 0 !important; align-items: start !important; max-width: 1240px; }
body.cm-habillage .ekit-template-content-footer .e-con.cm-pied-adresse { display: contents !important; }
body.cm-habillage .ekit-template-content-footer .e-con.cm-pied-adresse::before { display: none !important; }
body.cm-habillage .ekit-template-content-footer .cm-pied-adresse-texte { grid-area: adr; width: auto !important; margin: 0 !important; }
body.cm-habillage .ekit-template-content-footer .cm-pied-adresse-texte::before { content: ""; display: block; width: 150px; height: 48px; margin-bottom: 16px; background: url("/wp-content/uploads/2024/04/png_trns_logo-e1712843147172.png") left center / contain no-repeat; }
body.cm-habillage .ekit-template-content-footer .e-con.cm-pied-liens { grid-area: liens; width: auto !important; padding: 0 !important; }
body.cm-habillage .ekit-template-content-footer .cm-pied-liens pre { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 10px; white-space: normal !important; }
body.cm-habillage .ekit-template-content-footer .cm-pied-liens pre > a:nth-of-type(1) { grid-column: 1; grid-row: 1; }
body.cm-habillage .ekit-template-content-footer .cm-pied-liens pre > a:nth-of-type(2) { grid-column: 1; grid-row: 2; }
body.cm-habillage .ekit-template-content-footer .cm-pied-liens pre > a:nth-of-type(3) { grid-column: 1; grid-row: 3; }
body.cm-habillage .ekit-template-content-footer .cm-pied-liens pre > a:nth-of-type(4) { grid-column: 2; grid-row: 1; }
body.cm-habillage .ekit-template-content-footer .cm-pied-liens pre > strong { grid-column: 2; grid-row: 2 / span 3; display: flex; flex-direction: column; gap: 10px; }
body.cm-habillage .ekit-template-content-footer .cm-pied-liens pre > strong br { display: none; }
body.cm-habillage .ekit-template-content-footer .cm-pied-copyright, body.cm-habillage .ekit-template-content-footer .e-con.cm-pied-reseaux { margin-top: 32px !important; padding-top: 18px !important; border-top: 1px solid var(--cm-trait); }
body.cm-habillage .ekit-template-content-footer .cm-pied-copyright { grid-area: copy; width: auto !important; font-size: 13px !important; color: var(--cm-gris-clair) !important; }
body.cm-habillage .ekit-template-content-footer .cm-pied-copyright, body.cm-habillage .ekit-template-content-footer .cm-pied-copyright * { font-family: var(--cm-corps) !important; font-size: 13px !important; color: var(--cm-gris-clair) !important; text-transform: none !important; letter-spacing: 0 !important; text-align: left !important; }
body.cm-habillage .ekit-template-content-footer .e-con.cm-pied-reseaux { grid-area: soc; width: auto !important; display: flex !important; flex-direction: row !important; justify-content: flex-end !important; align-items: center; order: 0 !important; }
@media (max-width: 767px) {
	body.cm-habillage .ekit-template-content-footer .e-con.cm-pied > .e-con-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "adr" "liens" "copy" "soc"; row-gap: 24px !important; }
	body.cm-habillage .ekit-template-content-footer .cm-pied-copyright, body.cm-habillage .ekit-template-content-footer .e-con.cm-pied-reseaux { margin-top: 0 !important; }
	body.cm-habillage .ekit-template-content-footer .e-con.cm-pied-reseaux { justify-content: flex-start !important; border-top: 0; padding-top: 0 !important; }
}

/* gabarit du thème sur les pages reconstruites : pas de marge d'article ni de bloc de partage VIDE (aucun lien) avant le pied */
body.cm-habillage #main-content:has(.e-con.cm-sec) article, body.cm-habillage #main-content:has(.cm-ateliers-intro) article { margin-top: 0 !important; margin-bottom: 0 !important; }
body.cm-habillage .elementor[data-elementor-type="wp-page"]:has(> .e-con.e-parent.cm-sec) { margin-top: 0 !important; margin-bottom: 0 !important; }
body.cm-habillage #main-content .xs_social_share_widget:not(:has(li)) { display: none !important; }
/* bandeau « Contactez-nous » : le texte prend toute la ligne pour que la flèche aille à droite (390 px compris) */
body.cm-habillage .cm-contact-sombre .elementor-icon-box-content { flex: 1 1 100% !important; width: 100% !important; min-width: 0; }
/* Certification : premier paragraphe de présentation en encart beige, comme la maquette */
body.cm-habillage .cm-presentation .cm-chapo > .elementor-widget-container { background: var(--cm-fond-alt); border-radius: 16px; padding: 16px 20px !important; }
body.cm-habillage .cm-presentation .cm-chapo p { font-size: 15px !important; margin: 0 !important; }
body.cm-habillage .wp-block-columns.cm-ateliers-colonnes > .wp-block-column { padding: 0 !important; }

/* ---------- 15. Passe finale 2026-11-18 : en-tête et pied de page aux cotes exactes de la maquette ----------
   Mesures maquette (Main.dc.html) : en-tête 80 px + filet, marges 14 px / 24 px, logo 115 x 52, liens espacés de 28 px,
   pastilles 44 px ; pied : 3 colonnes égales (écart 32 px), interligne 22,4 px, barre basse à filet pleine largeur. */
/* logo : la vignette Elementor (180 x 100) porte des marges transparentes ; on la cadre sur le dessin (115 x 52) */
body.cm-habillage .ekit-template-content-header .elementor-element-81bd2da { padding: 0 !important; }
body.cm-habillage .ekit-template-content-header .elementor-widget-image a { display: block !important; width: 115px; height: 52px; overflow: hidden; }
body.cm-habillage .ekit-template-content-header .elementor-widget-image img { width: 124.8px !important; height: 69.33px !important; max-width: none !important; margin: -8.32px 0 0 -4.85px !important; }
@media (min-width: 1025px) {
	body.cm-habillage .ekit-template-content-header .elementor-element-9ad188a { padding: 0 !important; min-height: 0 !important; }
	body.cm-habillage .ekit-template-content-header .elementor-element-9ad188a > .e-con-inner { padding: 14px 24px !important; align-items: center !important; flex-wrap: nowrap !important; gap: 0 !important; min-height: 0 !important; }
	body.cm-habillage .ekit-template-content-header .elementor-element-fee5744 { padding: 0 !important; min-height: 0 !important; }
	body.cm-habillage .ekit-template-content-header .elementor-element-fee5744 .elementor-widget-ekit-nav-menu { width: 100% !important; max-width: 100% !important; flex: 1 1 auto; }
	body.cm-habillage .ekit-template-content-header .elementskit-menu-container { height: auto !important; min-height: 0 !important; width: 100%; }
	/* logo | liens | pastilles : les deux marges automatiques se partagent l'espace libre, comme le « space-between » de la maquette */
	body.cm-habillage .ekit-template-content-header .elementskit-navbar-nav { width: 100%; height: auto !important; align-items: center !important; justify-content: flex-start !important; }
	body.cm-habillage .ekit-template-content-header .elementskit-navbar-nav > li:first-child { margin-left: auto !important; }
	body.cm-habillage .ekit-template-content-header .elementskit-navbar-nav > li#menu-item-7347 { margin-left: auto !important; }
	body.cm-habillage .ekit-template-content-header .elementskit-navbar-nav > li > a { height: 44px !important; line-height: 24px !important; padding: 0 14px !important; }
	body.cm-habillage .ekit-template-content-header .elementskit-navbar-nav > li:first-child > a { padding-left: 0 !important; }
	body.cm-habillage .ekit-template-content-header .elementskit-navbar-nav > li:has(+ li#menu-item-7347) > a { padding-right: 0 !important; }
	/* indicateur de sous-menu : le caractère « ▾ » de la maquette, dans la police du lien */
	body.cm-habillage .ekit-template-content-header .elementskit-navbar-nav > li > a > .elementskit-submenu-indicator {
		font-family: var(--cm-corps) !important; font-size: 15px !important; font-weight: 600 !important; font-style: normal !important; line-height: 24px !important;
		margin: 0 0 0 0.28em !important; padding: 0 !important; border: 0 !important; width: auto !important; height: auto !important; display: inline-block; transform: scale(1.18) !important;
	}
	body.cm-habillage .ekit-template-content-header .elementskit-navbar-nav > li > a > .elementskit-submenu-indicator::before { content: "\25BE" !important; content: "\25BE" / "" !important; font-family: inherit !important; }
	body.cm-habillage #menu-item-7347 > a, body.cm-habillage #menu-item-7348 > a { padding: 0 !important; }
	body.cm-habillage #menu-item-7347 > a { margin-left: 0 !important; }
	body.cm-habillage .ekit-template-content-header .elementskit-dropdown { top: 100% !important; margin-top: 8px !important; left: -4px !important; right: auto !important; width: 316px !important; min-width: 0 !important; max-width: none !important; box-sizing: border-box !important; }
	/* pont invisible sur les 8 px entre le lien et la carte du sous-menu : le survol ne se perd pas en les traversant */
	body.cm-habillage .ekit-template-content-header .elementskit-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
}
/* petit grand écran : le sous-menu du dernier lien (« Contact ») sortirait de la fenêtre (mesuré : 779 + 316 > 1025) ; on l'ancre à droite */
@media (min-width: 1025px) and (max-width: 1180px) {
	body.cm-habillage .ekit-template-content-header .elementskit-navbar-nav > li:has(+ li#menu-item-7347) > .elementskit-dropdown { left: auto !important; right: 0 !important; }
}
@media (max-width: 1024px) {
	body.cm-habillage .ekit-template-content-header .e-con.e-parent { padding-left: 24px !important; padding-right: 24px !important; }
	body.cm-habillage .ekit-template-content-header .e-con.e-parent > .e-con-inner { padding: 14px 0 !important; }
	body.cm-habillage .ekit-template-content-header .elementskit-menu-hamburger { gap: 2.5px; width: 44px !important; min-width: 0 !important; flex: 0 0 44px; box-shadow: none !important; box-sizing: border-box; }
	body.cm-habillage .ekit-template-content-header .elementskit-menu-hamburger-icon { width: 13.33px !important; height: 1.67px !important; border-radius: 2px; }
	/* pastilles « Mon compte » et « Panier » à côté du bouton de menu (widget HTML cm-entete-pictos du modèle 2184) */
	body.cm-habillage .ekit-template-content-header .elementor-element-fee5744 { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; gap: 8px !important; }
	body.cm-habillage .ekit-template-content-header .cm-entete-pictos { display: block !important; width: auto !important; flex: 0 0 auto; margin: 0 !important; }
	body.cm-habillage .ekit-template-content-header a.cm-entete-picto:focus-visible { outline: 2px solid var(--cm-accent); outline-offset: 2px; }
	body.cm-habillage .ekit-template-content-header .cm-entete-pictos > .elementor-widget-container { display: flex; gap: 8px; }
	body.cm-habillage .ekit-template-content-header a.cm-entete-picto { width: 44px; height: 44px; border-radius: 999px; background: var(--cm-fond-doux); color: var(--cm-texte); display: flex; align-items: center; justify-content: center; }
	body.cm-habillage .ekit-template-content-header a.cm-entete-picto:hover { background: #EDE4DC; }
	body.cm-habillage .ekit-template-content-header a.cm-entete-picto svg { display: block; width: 20px; height: 20px; }
	body.cm-habillage .ekit-template-content-header a.cm-entete-picto svg, body.cm-habillage .ekit-template-content-header a.cm-entete-picto svg * { fill: none !important; stroke: currentColor; }
}
/* grand écran : les deux pastilles sont celles du menu ; le doublon du widget HTML n'est pas rendu */
body.cm-habillage .ekit-template-content-header .cm-entete-pictos { display: none; }

/* pied de page */
body.cm-habillage .ekit-template-content-footer .e-con.e-parent.cm-pied { padding: 48px 0 28px !important; }
body.cm-habillage .ekit-template-content-footer .e-con.cm-pied > .e-con-inner {
	width: 100%; max-width: 1288px; padding: 0 24px !important; margin: 0 auto !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: none; column-gap: 32px !important; row-gap: 0 !important;
}
body.cm-habillage .ekit-template-content-footer .cm-pied-adresse-texte { grid-area: auto; grid-column: 1; grid-row: 1; align-self: start !important; }
/* la maquette ne charge Inter que jusqu'à la graisse 600 : son « gras » de pied de page est rendu en 600 */
body.cm-habillage .ekit-template-content-footer .cm-pied-liens a strong, body.cm-habillage .ekit-template-content-footer .cm-pied-liens strong, body.cm-habillage .ekit-template-content-footer .cm-pied-liens strong a { font-weight: 600 !important; }
body.cm-habillage .ekit-template-content-footer .cm-pied-adresse-texte::before {
	width: 107px; height: 48px; margin-bottom: 16px;
	background: url("/wp-content/uploads/2024/04/png_trns_logo-e1712843147172.png") -13.67px -8px / 133.33px 64.33px no-repeat;
}
body.cm-habillage .ekit-template-content-footer .cm-pied-adresse-texte pre,
body.cm-habillage .ekit-template-content-footer .cm-pied-adresse-texte pre * { font-weight: 400 !important; line-height: 1.6 !important; white-space: normal !important; }
body.cm-habillage .ekit-template-content-footer .e-con.cm-pied-liens { grid-area: auto; grid-column: 2 / span 2; grid-row: 1; }
body.cm-habillage .ekit-template-content-footer .cm-pied-liens pre { line-height: 1.6 !important; }
body.cm-habillage .ekit-template-content-footer .cm-pied-liens pre a { display: block; line-height: 1.6 !important; }
/* barre basse : un seul filet sur toute la largeur du bloc (il dépasse le texte de 24 px de chaque côté, comme la maquette) */
body.cm-habillage .ekit-template-content-footer .cm-pied-copyright {
	grid-area: auto; grid-column: 1 / -1; grid-row: 2; margin: 28px -24px 0 !important; padding: 18px 24px 0 !important;
	border-top: 1px solid var(--cm-trait); min-height: 65px; display: flex !important; align-items: center;
	width: calc(100% + 48px) !important; max-width: none !important; box-sizing: border-box;
}
body.cm-habillage .ekit-template-content-footer .cm-pied-copyright, body.cm-habillage .ekit-template-content-footer .cm-pied-copyright * { line-height: 1.6 !important; }
body.cm-habillage .ekit-template-content-footer .e-con.cm-pied-reseaux {
	grid-area: auto; grid-column: 3; grid-row: 2; align-self: end; justify-self: end; position: relative; z-index: 1; margin: 0 !important; padding: 0 !important; border-top: 0 !important; min-height: 0 !important;
}
body.cm-habillage .ekit-template-content-footer .ekit_social_media > li > a { width: 46px !important; height: 46px !important; }
/* pictogrammes des réseaux : les tracés de la maquette (20 px), à la place de la police d'icônes */
body.cm-habillage .ekit-template-content-footer .ekit_social_media > li > a > i { font-size: 0 !important; width: 20px; height: 20px; background: var(--cm-texte); -webkit-mask: var(--cm-picto) center / contain no-repeat; mask: var(--cm-picto) center / contain no-repeat; }
body.cm-habillage .ekit-template-content-footer .ekit_social_media > li > a:hover > i { background: var(--cm-accent); }
body.cm-habillage .ekit-template-content-footer .ekit_social_media > li > a > i.icon-instagram-1 { --cm-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='0.6' fill='black'/%3E%3C/svg%3E"); }
body.cm-habillage .ekit-template-content-footer .ekit_social_media > li > a > i.icon-facebook { --cm-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13.5 21v-7.5h2.5l.4-3h-2.9V8.6c0-.9.3-1.5 1.5-1.5h1.5V4.4c-.3 0-1.2-.1-2.2-.1-2.2 0-3.7 1.3-3.7 3.8v2.4H8v3h2.6V21z'/%3E%3C/svg%3E"); }
body.cm-habillage .ekit-template-content-footer .ekit_social_media > li > a > i.icon-linkedin { --cm-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.9 8.7H3.8V20h3.1zM5.4 4a1.8 1.8 0 1 0 0 3.6 1.8 1.8 0 0 0 0-3.6zM20.2 13.3c0-3-1.6-4.9-4.2-4.9-1.4 0-2.4.8-2.8 1.5V8.7h-3V20h3.1v-5.7c0-1.5.5-2.8 2-2.8s1.8 1.4 1.8 2.9V20h3.1z'/%3E%3C/svg%3E"); }
@media (max-width: 767px) {
	/* téléphone : une seule colonne, les deux groupes de liens empilés (écart 32 px entre groupes, 10 px entre liens) */
	body.cm-habillage .ekit-template-content-footer .e-con.cm-pied > .e-con-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; row-gap: 0 !important; }
	body.cm-habillage .ekit-template-content-footer .cm-pied-adresse-texte { grid-column: 1; grid-row: 1; }
	body.cm-habillage .ekit-template-content-footer .e-con.cm-pied-liens { grid-column: 1; grid-row: 2; margin-top: 32px !important; }
	body.cm-habillage .ekit-template-content-footer .cm-pied-liens pre { grid-template-columns: minmax(0, 1fr); }
	body.cm-habillage .ekit-template-content-footer .cm-pied-liens pre > a:nth-of-type(1),
	body.cm-habillage .ekit-template-content-footer .cm-pied-liens pre > a:nth-of-type(2),
	body.cm-habillage .ekit-template-content-footer .cm-pied-liens pre > a:nth-of-type(3),
	body.cm-habillage .ekit-template-content-footer .cm-pied-liens pre > a:nth-of-type(4),
	body.cm-habillage .ekit-template-content-footer .cm-pied-liens pre > strong { grid-column: 1; grid-row: auto; }
	body.cm-habillage .ekit-template-content-footer .cm-pied-liens pre > a:nth-of-type(4) { margin-top: 22px; }
	body.cm-habillage .ekit-template-content-footer .cm-pied-copyright { grid-column: 1; grid-row: 3; margin-top: 28px !important; min-height: 0; padding-top: 18px !important; }
	body.cm-habillage .ekit-template-content-footer .e-con.cm-pied-reseaux { grid-column: 1; grid-row: 4; justify-self: start; margin-top: 16px !important; }
}
/* fiches ateliers (produits) : la maquette marque « Ateliers » comme rubrique courante dans le menu */
@media (min-width: 1025px) {
	body.cm-habillage.single-product .ekit-template-content-header .elementskit-navbar-nav > li#menu-item-5336 > a { color: var(--cm-accent) !important; }
}

/* ==========================================================================
   16. Clavier (contrôle Firefox / WebKit / tablette du 18/11 au soir)
   Rien ici ne change l'affichage au repos : seuls les états de focus clavier sont concernés.
   ========================================================================== */
/* 16.1 — anneau de focus visible au clavier (la section « boutons » retire les ombres ; le thème retire le contour des liens) */
body.cm-habillage a:focus-visible,
body.cm-habillage button:focus-visible,
body.cm-habillage .elementor-button:focus-visible,
body.cm-habillage [role="button"]:focus-visible { outline: 2px solid #85604A !important; outline-offset: 2px !important; box-shadow: 0 0 0 5px rgba(255,255,255,.9) !important; }
/* 16.2 — sous-menus de bureau atteignables à la touche Tab (ElementsKit ne les ouvre qu'au survol) */
@media (min-width: 1025px) {
	body.cm-habillage .elementskit-navbar-nav > li:focus-within > .elementskit-dropdown { visibility: visible !important; opacity: 1 !important; }
}
