/*
 * Menu « Fonctionnalités » — bloc « Nouveau » et pastilles des modules (05/10/2026).
 * Pastilles d'icônes au trait (plus d'emojis), badge « Octobre », lien « Toutes les nouveautés ».
 * Feuille à part, versionnée à la date du fichier (main.css a une version fixe : cache tenace).
 */
.mega-news { display: block; }
.mega-news__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.mega-news__all { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: #E2561F; text-decoration: none; transition: gap .2s ease; }
.mega-news__all svg, .mega-news__icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.mega-news__all:hover { gap: 9px; }
.mega-news__item { gap: 8px; padding: 5px 11px 5px 5px; border-radius: 999px; background: color-mix(in srgb, var(--c, #F97316) 7%, #fff); border: 1px solid color-mix(in srgb, var(--c, #F97316) 16%, transparent); }
.mega-news__item:hover { background: color-mix(in srgb, var(--c, #F97316) 14%, #fff); }
.mega-news__item .mega-news__icon { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--c, #F97316); color: #fff; flex: none; }
.mega-news__new { font-style: normal; font-size: 10px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #EC4899, #F97316); border-radius: 999px; padding: 2px 7px; }
.mega-module-icon.mega-module-icon--svg { display: inline-flex; align-items: center; justify-content: center; color: var(--mc, #F97316) !important; }
.mega-module-icon--svg svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }

/* Deux lignes seulement dans le menu, puis le bouton. */
.mega-news__list { max-height: 76px; overflow: hidden; }
.mega-news__more {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 16px; border-radius: 999px;
    background: linear-gradient(115deg, #E2561F, #F97316 45%, #EC4899); color: #fff !important; font-size: 13px; font-weight: 800; text-decoration: none;
    box-shadow: 0 8px 18px -10px rgba(226, 86, 31, .8); transition: transform .2s ease, gap .2s ease;
}
.mega-news__more:hover { transform: translateY(-1px); gap: 11px; }

/* Accueil : bannière « Voir toutes les nouveautés » en pied de la carte des nouveautés (loop-ui, décor animé). */
.lxc2-ns-all {
    position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    margin: 22px 0 0; padding: 18px 22px; border-radius: 22px; color: #fff !important; text-decoration: none;
    background: linear-gradient(115deg, #D9461C 0%, #F97316 32%, #EC4899 68%, #7C3AED 100%);
    box-shadow: 0 20px 40px -24px rgba(124, 58, 237, .7); font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
    transition: transform .25s ease, box-shadow .25s ease;
}
.lxc2-ns-all { grid-column: 1 / -1; width: 100%; }
.lxc2-ns-all:hover { transform: translateY(-2px); box-shadow: 0 26px 46px -24px rgba(124, 58, 237, .8); }
.lxc2-ns-all__deco { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.lxc2-ns-all__ring { transform-origin: 1110px 10px; animation: lxns-spin 30s linear infinite; }
.lxc2-ns-all__float { animation: lxns-float 6s ease-in-out infinite; }
.lxc2-ns-all__wave { animation: lxns-wave 8s ease-in-out infinite; }
.lxc2-ns-all__star { transform-box: fill-box; transform-origin: center; animation: lxns-tw 3s ease-in-out infinite; }
.lxc2-ns-all__star--2 { animation-delay: -1.3s; }
@keyframes lxns-spin { to { transform: rotate(360deg); } }
@keyframes lxns-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes lxns-wave { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-34px); } }
@keyframes lxns-tw { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.55) rotate(45deg); opacity: .6; } }
.lxc2-ns-all__pills { display: inline-flex; flex: none; }
.lxc2-ns-all__pills span {
    width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-left: -8px;
    background: var(--c); color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9); animation: lxns-float 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s);
}
.lxc2-ns-all__pills span:first-child { margin-left: 0; }
.lxc2-ns-all__pills svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.lxc2-ns-all__txt { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lxc2-ns-all__txt b { font-size: 17px; font-weight: 800; letter-spacing: -.3px; }
.lxc2-ns-all__txt small { font-size: 13px; opacity: .9; }
.lxc2-ns-all__btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #C2410C; border-radius: 999px; padding: 11px 18px; font-size: 14px; font-weight: 800; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .4); transition: gap .2s ease; }
.lxc2-ns-all:hover .lxc2-ns-all__btn { gap: 12px; }
@media (max-width: 560px) { .lxc2-ns-all__btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .lxc2-ns-all *, .lxc2-ns-all__pills span { animation: none !important; } }

/* Pages loop-web-ui (.bq-page) : main.css met « overflow-x: hidden » sur html et body, ce qui empêche le sommaire
   (position: sticky) de rester collé. « clip » empêche aussi le défilement horizontal, sans casser le collant. */
html:has(.bq-page), html:has(.bq-page) body { overflow-x: clip; }
