.elementor-kit-6{--e-global-color-primary:#1E4DF0;--e-global-color-secondary:#0E1024;--e-global-color-text:#3A3E52;--e-global-color-accent:#C9F26B;--e-global-color-mgblue2:#1233B5;--e-global-color-mgviolet:#7B3CF5;--e-global-color-mgsoft:#F5F6FA;--e-global-color-mgline:#E6E8F0;--e-global-typography-primary-font-family:"Plus Jakarta Sans";--e-global-typography-primary-font-weight:800;--e-global-typography-secondary-font-family:"Plus Jakarta Sans";--e-global-typography-secondary-font-weight:700;--e-global-typography-text-font-family:"Plus Jakarta Sans";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Plus Jakarta Sans";--e-global-typography-accent-font-weight:700;font-family:"Plus Jakarta Sans", Sans-serif;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-kit-6 a{color:#1E4DF0;}.elementor-kit-6 a:hover{color:var( --e-global-color-primary );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1240px;}.e-con{--container-max-width:1240px;}.elementor-widget:not(:last-child){--kit-widget-spacing:0px;}.elementor-element{--widgets-spacing:0px 0px;--widgets-spacing-row:0px;--widgets-spacing-column:0px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* ===== Mugiwara Academy — styles globaux (Elementor › Réglages du site › CSS personnalisé) ===== */
html, body { overflow-x: clip; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: #0E1024; -webkit-font-smoothing: antialiased; }

/* Animations du prototype */
@keyframes mg-mq-left { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes mg-mq-right { from { transform: translateX(-50%) } to { transform: translateX(0) } }
@keyframes mg-floaty { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@keyframes mg-fade-up { from { opacity: 0; transform: translateY(24px) } to { opacity: 1; transform: none } }
@keyframes mg-twinkle { 0%,100% { opacity: .25; transform: scale(.8) rotate(0) } 50% { opacity: 1; transform: scale(1.15) rotate(20deg) } }
@keyframes mg-spin { to { transform: rotate(360deg) } }

/* Classes utilitaires à ajouter dans Avancé › Classes CSS */
.mg-floaty { animation: mg-floaty 7s ease-in-out infinite; }
.mg-twinkle { animation: mg-twinkle 3.2s ease-in-out infinite; pointer-events: none; }
.mg-spin { animation: mg-spin 50s linear infinite; pointer-events: none; }
.mg-fade-up { animation: mg-fade-up .8s cubic-bezier(.2,.7,.2,1) both; }

/* Surlignage vert dans les titres : <span class="mg-hl">mot</span> */
.mg-hl { background: #C9F26B; border-radius: 999px; padding: 0 .22em; white-space: nowrap; }
.mg-blue { color: #1E4DF0; }

/* Bandeaux défilants (témoignages, bandeau vert) */
.mg-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.mg-marquee .mg-marquee__track, .mg-marquee.mg-marquee__track { display: flex; flex-wrap: nowrap; width: max-content !important; max-width: none !important; animation: mg-mq-left 80s linear infinite; }
.mg-marquee--reverse .mg-marquee__track, .mg-marquee--reverse.mg-marquee__track { animation-name: mg-mq-right; }
.mg-marquee--fast .mg-marquee__track, .mg-marquee--fast.mg-marquee__track { animation-duration: 30s; }
.mg-marquee .mg-marquee__track:hover, .mg-marquee.mg-marquee__track:hover { animation-play-state: paused; }
.mg-marquee--nomask { -webkit-mask-image: none; mask-image: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Fiche produit — accordéon « Contenu de la formation » (généré depuis le champ Modules) */
.mg-mods { border-top: 1px solid #E1E4EE; }
.mg-mod { border-bottom: 1px solid #E1E4EE; }
.mg-mod button { width: 100%; border: 0; background: transparent; text-align: left; padding: 20px 0; display: flex; gap: 16px; align-items: center; cursor: pointer; color: #0E1024; font-family: inherit; }
.mg-mod__n { font-size: 13px; font-weight: 800; color: #1E4DF0; min-width: 84px; }
.mg-mod__t { flex: 1; font-size: 18px; font-weight: 700; }
.mg-mod__s { width: 32px; height: 32px; border-radius: 99px; border: 1.5px solid #0E1024; display: flex; align-items: center; justify-content: center; flex: none; font-size: 16px; }
.mg-mod p { margin: 0; padding: 0 48px 20px 100px; font-size: 15px; line-height: 1.6; color: #4A4F63; }
@media (max-width: 600px) { .mg-mod p { padding: 0 0 20px; } }
.mg-marquee .mg-marquee__track > *, .mg-marquee.mg-marquee__track > * { flex: none !important; }

/* Fiche produit — galerie : emplacements « Aperçu » tant qu'il y a moins de 3 images */
.elementor-widget-image-gallery .gallery:has(> .gallery-item:only-child)::before,
.elementor-widget-image-gallery .gallery:has(> .gallery-item:only-child)::after { content: "Aperçu module"; aspect-ratio: 1/1; border-radius: 18px; background: #F2F4FA; border: 1.5px dashed #D9DCE6; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #6A6F82; text-align: center; padding: 8px; }
.elementor-widget-image-gallery .gallery:has(> .gallery-item:only-child)::after { content: "Aperçu ressources"; order: -1; }
.elementor-widget-image-gallery .gallery:has(> .gallery-item:only-child)::before { order: -2; }

/* Menu principal : « Formations » actif sur le catalogue, les catégories et les fiches produit */
body.single-product .elementor-nav-menu--main .menu-item a[href$="/formations/"],
body.tax-product_cat .elementor-nav-menu--main .menu-item a[href$="/formations/"],
body.post-type-archive-product .elementor-nav-menu--main .menu-item a[href$="/formations/"] { color: #1E4DF0; }
body.single-product .elementor-nav-menu--main .menu-item a[href$="/formations/"]:before,
body.tax-product_cat .elementor-nav-menu--main .menu-item a[href$="/formations/"]:before,
body.post-type-archive-product .elementor-nav-menu--main .menu-item a[href$="/formations/"]:before { background-color: #EEF2FF; opacity: 1; transform: scale(1); }

/* Polices héritées par les champs, boutons et tableaux WooCommerce */
button, input, select, textarea, table, th, td { font-family: inherit; }
.woocommerce, .woocommerce-page, .elementor-widget-woocommerce-cart, .elementor-widget-woocommerce-checkout-page, .elementor-widget-woocommerce-my-account { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }

/* Messages WooCommerce (ajout au panier, erreurs…) */
@keyframes mgNoticeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes mgNoticeTick { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
body.woocommerce:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) > .woocommerce-notices-wrapper:not(:empty),
body .elementor-location-single ~ .woocommerce-notices-wrapper:not(:empty), body .woocommerce-notices-wrapper:not(:empty):first-child { max-width: 1200px; margin: 16px auto 0; padding: 0 20px; box-sizing: border-box; }
body .woocommerce-message, body .woocommerce-info, body .woocommerce-error { position: relative; border: 1px solid #E6E8F0 !important; border-radius: 16px !important; background: #FFFFFF !important; color: #0E1024 !important; box-shadow: 0 8px 24px -16px rgba(14,16,36,.35) !important; font-size: 14px; font-weight: 500; line-height: 1.45; padding: 10px 10px 10px 12px !important; margin: 0 0 20px !important; display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; animation: mgNoticeIn .35s cubic-bezier(.2,.8,.2,1) both; outline: none !important; }
body .woocommerce-message:focus, body .woocommerce-info:focus, body .woocommerce-error:focus { outline: none !important; }
body .woocommerce-message::before, body .woocommerce-info::before, body .woocommerce-error::before { position: static !important; flex: none; display: inline-flex !important; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 99px; font-family: inherit !important; font-size: 14px; font-weight: 800; line-height: 1; margin: 0 !important; animation: mgNoticeTick .45s .12s ease-out both; }
body .woocommerce-message::before { content: "✓" !important; background: #E2F6F2; color: #0B6B5A !important; }
body .woocommerce-info::before { content: "i" !important; background: #E4EBFF; color: #1233B5 !important; }
body .woocommerce-error::before { content: "!" !important; background: #FDECF2; color: #B0164A !important; }
body .woocommerce-message a.button, body .woocommerce-info a.button { order: 2; flex: none; margin: 0 0 0 auto !important; float: none !important; background: #0E1024 !important; color: #fff !important; border: 0 !important; border-radius: 99px !important; padding: 9px 14px !important; font-weight: 700 !important; font-size: 13px !important; line-height: 1.2 !important; white-space: nowrap; box-shadow: none !important; transition: background .2s, transform .2s; }
body .woocommerce-message a.button::after, body .woocommerce-info a.button::after { content: " →"; }
body .woocommerce-message a.button:hover, body .woocommerce-info a.button:hover { background: #1E4DF0 !important; transform: translateX(2px); }
@media (max-width: 600px) {
  body .woocommerce-message, body .woocommerce-info, body .woocommerce-error { display: grid; grid-template-columns: 28px minmax(0,1fr); column-gap: 10px; row-gap: 8px; align-items: start; }
  body .woocommerce-message::before, body .woocommerce-info::before, body .woocommerce-error::before { grid-row: 1; grid-column: 1; }
  body .woocommerce-message a.button, body .woocommerce-info a.button { grid-column: 2; grid-row: 2; justify-self: start; margin: 0 !important; }
}
.elementor-widget-woocommerce-cart :is(div,p,span,a,th,td,label,button,input,select,h2,h3,strong,bdi,small),
.elementor-widget-woocommerce-checkout-page :is(div,p,span,a,th,td,label,button,input,select,h2,h3,strong,bdi,small),
.elementor-widget-woocommerce-my-account :is(div,p,span,a,th,td,label,button,input,select,h2,h3,strong,bdi,small,mark) { font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important; }
.woocommerce-error { color: #8A1038 !important; }
body ul.woocommerce-error, body .woocommerce-error:has(> li) { display: grid !important; grid-template-columns: 28px minmax(0,1fr); column-gap: 12px; row-gap: 6px; align-items: start; list-style: none; }
body ul.woocommerce-error::before, body .woocommerce-error:has(> li)::before { grid-column: 1; grid-row: 1; }
body ul.woocommerce-error > li { grid-column: 2; margin: 0 !important; padding: 0 !important; line-height: 1.45; min-width: 0; overflow-wrap: anywhere; }
body ul.woocommerce-error > li:first-of-type { padding-top: 4px !important; }
body .woocommerce-error a { color: #8A1038 !important; font-weight: 600 !important; text-decoration: underline; text-decoration-color: rgba(138,16,56,.3); text-underline-offset: 3px; }
body .woocommerce-error a:hover { text-decoration-color: currentColor; }
.woocommerce-error li { list-style: none; margin: 0; }
ul.woocommerce-error { margin: 0 0 20px !important; }
/* Liens : couleur du site partout, y compris dans les widgets WooCommerce d'Elementor (panier, commande, compte) */
.elementor-kit-6 { --links-normal-color: #1E4DF0; --links-hover-color: #1233B5; }
.elementor-widget-woocommerce-checkout-page, .elementor-widget-woocommerce-cart, .elementor-widget-woocommerce-my-account, .elementor-widget-woocommerce-purchase-summary, .elementor-widget-woocommerce-notices { --links-normal-color: #1E4DF0; --links-hover-color: #1233B5; }
.woocommerce-terms-and-conditions-link, .woocommerce-privacy-policy-text a, .woocommerce-privacy-policy-link, .woocommerce-checkout-review-order a, .woocommerce-MyAccount-content p a, .woocommerce-form-login a, .woocommerce-LostPassword a { color: #1E4DF0 !important; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(30,77,240,.35); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.woocommerce-terms-and-conditions-link:hover, .woocommerce-privacy-policy-text a:hover, .woocommerce-privacy-policy-link:hover, .woocommerce-checkout-review-order a:hover, .woocommerce-MyAccount-content p a:hover, .woocommerce-form-login a:hover, .woocommerce-LostPassword a:hover { color: #1233B5 !important; text-decoration-color: currentColor; }
/* Fils d'Ariane : liens gris, plus foncés au survol */
.elementor a[style*="color:#6A6F82"], .elementor a[style*="color: #6A6F82"] { color: #6A6F82 !important; transition: color .2s; }
.elementor a[style*="color:#6A6F82"]:hover, .elementor a[style*="color: #6A6F82"]:hover { color: #0E1024 !important; text-decoration: underline; text-underline-offset: 3px; }
/* ===== Mugiwara — ajustements de fidélité au prototype =====
   Complète assets/css/mugiwara.css du thème enfant. */

/* Les décors (anneau, formes) ne doivent jamais créer de défilement horizontal */
html, body { overflow-x: clip; }

/* Prix : prix actuel, puis prix barré, puis pourcentage (comme le prototype) */
.mg-price, .mg-sp__price { display: flex; align-items: baseline; }
.mg-price ins, .mg-sp__price ins { order: 1; }
.mg-price del, .mg-sp__price del { order: 2; }
.mg-price .mg-pct, .mg-sp__price .mg-pct { order: 3; }

/* Emplacement photo (à remplacer par une image depuis Elementor) */
.mg-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px; text-align: center; font-size: 12px; line-height: 1.4; color: rgba(255,255,255,.62); background: rgba(255,255,255,.03); border: 1.5px dashed rgba(255,255,255,.22); border-radius: inherit; }
.mg-ph--light { color: #6A6F82; background: #F2F4FA; border-color: #D9DCE6; }

/* --- En-tête (valeurs du prototype) --- */
.mg-topbar { line-height: 1.4; }
.mg-topbar i { vertical-align: 1px; }
.mg-logo { flex: none; }
.mg-logo b { font-weight: 800; }
.mg-nav a:hover { background: #F2F4FA; }
.mg-header .mg-account-link { padding: 0 12px; white-space: nowrap; }
.mg-account-link:hover { background: #F2F4FA; }
.mg-header .mg-cta { height: 44px; padding: 0 20px; font-size: 14px; }
@media (max-width: 1179px) { .mg-header .mg-account-link { display: none; } }

/* --- Boutons : hauteur de ligne native comme dans le prototype --- */
.mg-btn { line-height: normal; }

/* --- Héros --- */
.mg-hero .mg-tag { letter-spacing: .08em; }
.mg-hero .mg-tag--line { padding: 6px 14px; }
.mg-float small { font-size: 12px; }
.mg-float--a em { flex: none; }

/* --- Bloc sombre « compétences » --- */
.mg-chips span { display: flex; gap: 8px; align-items: center; }
.mg-chips span::before { content: '✓'; }

/* --- Cartes et slider --- */
.mg-card__ct strong { font-weight: 800; text-wrap: balance; }
.mg-card h3 { letter-spacing: -.01em; text-wrap: pretty; }
.mg-price ins, .mg-price > .amount, .mg-price .woocommerce-Price-amount { letter-spacing: -.02em; }
.mg-slide__b strong { letter-spacing: -.01em; }
.mg-step h3 { letter-spacing: -.02em; }

/* --- Témoignages --- */
html .elementor .elementor-widget .mg-mq__t > figure.mg-tm { margin: 0 20px 0 0; }
.mg-tm strong { letter-spacing: -.01em; }
@media (max-width: 899px) { html .elementor .elementor-widget .mg-mq__t > figure.mg-tm { width: 290px; } }

/* --- Pied de page (grille du prototype) --- */
.mg-footer__g { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.mg-footer__g > :first-child { grid-column: span 2; }
.mg-footer h5 { margin: 0 0 10px; font-weight: 700; }
@media (max-width: 899px) { .mg-footer__g > :first-child { grid-column: span 1; } }

/* Sections « mg-sec mg-wrap » : conserver la marge latérale de 20 px du conteneur */
.mg-sec.mg-wrap { padding-left: 20px; padding-right: 20px; }/* End custom CSS */