@font-face {
    font-family: 'Parisienne';
    src: 
        url('../fonts/Parisienne-Regular.woff2') format('woff2'),
        url('../fonts/Parisienne-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sacramento';
    src: 
        url('../fonts/Sacramento-Regular.woff2') format('woff2'),
        url('../fonts/Sacramento-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* === MENU MOBILE ACCORDÉON SAVOY === */

#nm-mobile-menu .menu-item-has-children > .sub-menu {
    display: none;
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

#nm-mobile-menu .menu-item-has-children.nm-accordion-open > .sub-menu {
    display: block;
}

#nm-mobile-menu .menu-item-has-children > .nm-menu-toggle::before {
    content: '+';
    font-size: 20px;
}

#nm-mobile-menu .menu-item-has-children.nm-accordion-open > .nm-menu-toggle::before {
    content: '−';
}

#nm-mobile-menu .nm-mobile-sub-menu-header {
    display: none !important;
}
/* =======================================
   MENU MOBILE SAVOY - ACCORDEON SMART
   ======================================= */

/* 1. On neutralise l'icône native */
.nm-mobile-menu-main .nm-menu-toggle {
    display: none !important;
}

/* 2. Zone de clic et Icône (Fleche droite > bas) */
.nm-mobile-menu-main ul li.menu-item-has-children > a {
    position: relative;
    display: block;
    padding-right: 50px !important;
    line-height: 45px;
    transition: color 0.3s ease;
}

.nm-mobile-menu-main ul li.menu-item-has-children > a:after {
    content: '›'; 
    font-family: Arial, sans-serif;
    position: absolute;
    right: 20px;
    top: 50%;
    font-size: 24px;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Apple curve */
    pointer-events: none;
}

/* État ouvert */
.nm-mobile-menu-main li.nm-item-open > a {
    color: #ff6b6b !important;
}
.nm-mobile-menu-main li.nm-item-open > a:after {
    transform: translateY(-50%) rotate(90deg); /* Vers le bas */
    color: #ff6b6b;
}

/* 3. L'ACCORDÉON (Le secret est ici) */
.nm-mobile-menu-main .sub-menu {
    /* On force le block pour permettre l'animation de hauteur */
    display: block !important; 
    visibility: visible !important;
    height: auto !important;
    max-height: 0 !important; /* Fermé par défaut */
    opacity: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    /* Transition sur la max-height pour le smooth */
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease !important;
}

/* Quand la classe nm-item-open est présente */
.nm-mobile-menu-main li.nm-item-open > .sub-menu {
    max-height: 1000px !important; /* On déploie la hauteur */
    opacity: 1 !important;
    padding-bottom: 20px !important;
}
