/*
 * Panneaux du mega menu
 *
 * Zones services et formations, panneau « Qui sommes-nous », pied de panneau.
 */

/* ===========================================================================
 * Méga menu — panneaux « deux zones » (shortcodes mlett_menu_*)
 * ======================================================================== */
.mlett-mm { display: grid; grid-template-columns: minmax(280px, 1fr) 2fr; grid-template-areas: "services formations" "foot foot"; column-gap: 40px; width: 100%; font-family: 'Roboto', sans-serif; color: #142848; }
.mlett-mm a { text-decoration: none; color: inherit; }
.mlett-mm__kicker { grid-area: auto; margin: 0 0 14px; font: 700 12px/1.3 'Roboto', sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: #6C757D; }
.mlett-mm__kicker a { color: #6C757D; }
.mlett-mm__kicker a:hover { color: #0B63C7; }
/* Zone services */
.mlett-mm__services { grid-area: services; display: flex; flex-direction: column; padding: 22px 0 8px; }
.mlett-mm__service { padding: 10px 0 14px; border-bottom: 1px solid #EEF2F6; }
.mlett-mm__service:last-child { border-bottom: 0; }
/* L'icone (40px) est plus haute qu'une ligne : on aligne son haut sur celui du titre
   au lieu de la centrer sur titre + description, ou elle decrochait de 9 a 17px. */
.mlett-mm__service-link { display: flex; align-items: flex-start; gap: 12px; padding: 4px 8px; margin: 0 -8px; border-radius: 12px; transition: background .2s; }
.mlett-mm__service-link:hover, .mlett-mm__service-link:focus-visible { background: #EAF3FC; }
.mlett-mm__icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #3399FE; color: #fff; font-size: 16px; }
.mlett-mm__service-text { display: flex; flex-direction: column; line-height: 1.25; }
.mlett-mm__service-text strong { font: 700 16px/1.25 'Comfortaa', sans-serif; color: #012853; }
.mlett-mm__service-text small { font-size: 13px; color: #6C757D; margin-top: 2px; }
.mlett-mm__sub { list-style: none; margin: 8px 0 0 52px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mlett-mm .mlett-mm__sub a { display: inline-flex; align-items: flex-start; gap: 8px; font-size: 14px; color: #142848 !important; padding: 3px 0; }
.mlett-mm__sub a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3399FE; flex: 0 0 auto; margin-top: calc((1lh - 6px) / 2); }
.mlett-mm .mlett-mm__sub a:hover, .mlett-mm .mlett-mm__sub a:focus-visible { color: #0B63C7 !important; text-decoration: underline; }
/* Zone formations */
.mlett-mm__formations { grid-area: formations; background: #F5F7FA; border-radius: 20px; padding: 22px 24px 20px; display: flex; flex-direction: column; }
.mlett-mm__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.mlett-mm__list li { border-bottom: 1px solid rgba(1, 40, 83, .08); }
.mlett-mm .mlett-mm__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 4px; font-size: 15px; color: #012853 !important; border-radius: 8px; transition: background .2s; }
.mlett-mm .mlett-mm__list a:hover, .mlett-mm .mlett-mm__list a:focus-visible { background: #fff; color: #0B63C7 !important; }
.mlett-mm__ftitle { font-weight: 500; }
.mlett-mm__fmeta { flex: 0 0 auto; font: 700 11px/1.4 'Roboto', sans-serif; letter-spacing: .3px; padding: 3px 9px; border-radius: 30px; background: #EEF2F6; color: #142848; white-space: nowrap; }
.mlett-mm__fmeta--date { background: #007A00; color: #fff; }
.mlett-mm__fmeta--ouvertes, .mlett-mm__fmeta--continu { background: #E6F4EA; color: #1B5E20; }
.mlett-mm__fmeta--bientot { background: #FFF4DE; color: #7A4A00; }
.mlett-mm__fmeta--cloturees { background: #FDE8EA; color: #8A1C24; }
.mlett-mm__fmeta:empty { display: none; }
.mlett-mm__all { align-self: flex-start; margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 30px; background: #0B63C7; color: #fff !important; font: 500 14px/1.3 'Roboto', sans-serif; transition: background .2s; }
.mlett-mm__all:hover, .mlett-mm__all:focus-visible { background: #012853; }
/* Panneau « Qui sommes-nous » */
.mlett-mm--about .mlett-mm__intro { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: #142848; max-width: 34ch; }
.mlett-mm__list--pages { grid-template-columns: 1fr; }
/* Trois classes : `.mlett-mm .mlett-mm__list a` impose `align-items: center` a (0,3,0)
   et centrait titre et description de cette colonne. */
.mlett-mm .mlett-mm__list--pages a { flex-direction: column; align-items: flex-start; justify-content: flex-start; text-align: left; gap: 2px; padding: 10px 6px; margin: 0 -6px; }
.mlett-mm__list--pages .mlett-mm__ftitle { font: 700 15px/1.3 'Comfortaa', sans-serif; }
.mlett-mm__fdesc { font-size: 13px; color: #6C757D; }
/* Pied de panneau */
.mlett-mm__foot { grid-area: foot; margin-top: 20px; padding-top: 14px; border-top: 1px solid #EEF2F6; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 13px; color: #142848; }
.mlett-mm__foot .mlett-svg { color: #3399FE; width: 16px; height: 16px; vertical-align: -3px; margin-right: 2px; }
.mlett-mm__foot a { color: #142848 !important; }
.mlett-mm__icon .mlett-svg { width: 22px; height: 22px; }
.mlett-mm__service-link { color: inherit !important; }
.mlett-mm__foot a:hover { color: #0B63C7; text-decoration: underline; }
.mlett-mm__foot-note { color: #6C757D; }
.mlett-mm__foot-link { margin-left: auto; font-weight: 500; color: #0B63C7 !important; }
/* Responsive */
@media (max-width: 1024px) {
	.mlett-mm { grid-template-columns: 1fr; grid-template-areas: "services" "formations" "foot"; row-gap: 16px; }
	.mlett-mm__formations { padding: 18px 16px; }
	.mlett-mm__list { grid-template-columns: 1fr; }
	.mlett-mm__foot { display: none; }
	.mlett-mm__sub { margin-left: 52px; }
	.elementor-widget-n-menu .e-n-menu-content .elementor-widget-shortcode { width: 100%; }
}
.mlett-menu-open-about .elementor-widget-n-menu .e-n-menu-item:nth-child(2) .e-n-menu-content > .e-con { display: flex !important; }
.mlett-menu-open-services .elementor-widget-n-menu .e-n-menu-item:nth-child(3) .e-n-menu-content, .mlett-menu-open-about .elementor-widget-n-menu .e-n-menu-item:nth-child(2) .e-n-menu-content { --stretch-width: 100%; --stretch-left: 0; --stretch-right: 0; }
