.franck-mega-menu {
    --fmm-header-bg: var(--theme-bg-white, #ffffff);
    --fmm-mega-bg: var(--theme-bg-white, #ffffff);
    --fmm-header-text: var(--theme-text-color, #212221);
    --fmm-active: var(--theme-link-hover-color, #3c9a65);
    --fmm-card-title: var(--theme-section-title-color, #2a6d47);
    --fmm-card-text: var(--theme-text-color, #212221);
    --fmm-accent: var(--theme-border-accent-color, #c5393a);
    --fmm-cta-bg: var(--theme-button-bg, #2a6d47);
    --fmm-cta-bg-hover: var(--theme-button-bg-hover, #3c9a65);
    --fmm-cta-text: var(--theme-button-text-color, #ffffff);
    --fmm-card-bg: var(--theme-card-background, #f3f3f3);
    --fmm-image-radius: var(--theme-image-radius, 18px);
    --fmm-card-radius: var(--theme-card-radius, 18px);
    --fmm-button-radius: var(--theme-button-radius, 999px);
    --fmm-font-primary: var(--theme-font-primary, var(--maurin-font-primary, 'Jost', Arial, sans-serif));
    position: relative;
    z-index: 1000;
    width: 100%;
    background: var(--fmm-header-bg);
    font-family: var(--fmm-font-primary);
}

/* ========================================================================== */
/* WRAPPER — largeur (full / container) + sticky (fixed) — 2026-05-28         */
/* -------------------------------------------------------------------------- */
/* Le sticky est porté par le WRAPPER, pas le header, et utilise position:    */
/* fixed pour rester collé en haut pendant TOUT le scroll (sticky décrochait  */
/* dès que le wrapper de section sortait du viewport).                        */
/* -------------------------------------------------------------------------- */
.franck-mega-menu-wrapper {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Pleine largeur : sort du container parent du builder */
.franck-mega-menu-wrapper--full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* Conteneur : centré avec marge latérale */
.franck-mega-menu-wrapper--container {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* Sticky = fixed sur le live. Le wrapper fixed couvre la largeur voulue ;
   le décalage haut (--fmm-sticky-offset) n'est appliqué qu'en container
   (header flottant). En full, offset = 0 (collé en haut). */
.franck-mega-menu-wrapper--sticky {
    position: fixed;
    top: var(--fmm-sticky-offset, 0px);
    left: 0;
    right: 0;
    z-index: 1000;
}

/* En full + sticky : le wrapper part des bords (pas de 100vw + margin négatif
   qui entre en conflit avec position:fixed). */
.franck-mega-menu-wrapper--full.franck-mega-menu-wrapper--sticky {
    width: 100%;
    margin-left: 0;
}

/* En container + sticky : centrer le wrapper fixed et conserver la marge. */
.franck-mega-menu-wrapper--container.franck-mega-menu-wrapper--sticky {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1320px;
}

/* Spacer auto-injecté par le JS d'assets pour compenser la hauteur du header
   fixed (évite que le contenu passe dessous). */
.franck-mega-menu-spacer {
    width: 100%;
    flex: none;
}

/* Neutralisation du fixed DANS le builder (preview) : le canvas est scalé et
   un position:fixed sortirait de la zone de preview. Sur le live, ces classes
   parentes n'existent pas, donc le fixed s'applique normalement. */
.is-builder-preview .franck-mega-menu-wrapper--sticky,
[data-component-id] .franck-mega-menu-wrapper--sticky {
    position: relative;
    top: 0;
    left: auto;
    right: auto;
    transform: none;
}

.franck-mega-menu--shadow {
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.franck-mega-menu__inner {
    position: relative;
    max-width: 100%;
    min-height: 92px;
    padding: 0 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.franck-mega-menu__logo {
    display: inline-flex;
    align-items: center;
    color: var(--fmm-header-text);
    text-decoration: none;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
}

.franck-mega-menu__logo:hover {
    color: var(--fmm-header-text);
}

.franck-mega-menu__logo img,
.franck-mega-menu__logo picture {
    max-width: 190px;
    max-height: 54px;
    object-fit: contain;
}

.franck-mega-menu__logo picture {
    display: inline-flex;
}

.franck-mega-menu__logo picture img {
    max-width: 100%;
    max-height: 100%;
    object-fit: inherit;
}

.franck-mega-menu__nav {
    flex: 1;
    display: flex;
    justify-content: var(--fmm-menu-align, center);
}

.franck-mega-menu__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.franck-mega-menu__item {
    position: static;
}

.franck-mega-menu__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 92px;
    color: var(--fmm-header-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    transition: color 0.2s ease;
}

.franck-mega-menu__link:hover,
.franck-mega-menu__item.is-open>.franck-mega-menu__link,
.franck-mega-menu__item:hover>.franck-mega-menu__link {
    color: var(--fmm-active);
}

.franck-mega-menu__item--mega>.franck-mega-menu__link::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}

.franck-mega-menu__item.is-open>.franck-mega-menu__link::after,
.franck-mega-menu__item:hover>.franck-mega-menu__link::after {
    transform: rotate(225deg) translateY(-1px);
}

.franck-mega-menu__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--fmm-cta-min-height, 40px);
    padding: 0 var(--fmm-cta-pad-x, 20px);
    border-radius: var(--fmm-button-radius);
    background: var(--fmm-cta-bg);
    color: var(--fmm-cta-text);
    text-decoration: none;
    font-size: var(--fmm-cta-font-size, 16px);
    font-weight: 500;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.franck-mega-menu__cta:hover {
    color: var(--fmm-cta-text);
    transform: translateY(-1px);
    background: var(--fmm-cta-bg-hover);
    box-shadow: 0 12px 28px rgba(42, 109, 71, 0.22);
}

/* Mega panel */

.franck-mega-menu__panel {
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% - 1px);
    background: var(--fmm-mega-bg);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0 0 var(--fmm-card-radius) var(--fmm-card-radius);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
    padding: 38px 36px 42px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.franck-mega-menu[data-open-mode="hover"] .franck-mega-menu__item--mega:hover>.franck-mega-menu__panel,
.franck-mega-menu[data-open-mode="hover"] .franck-mega-menu__item--mega:focus-within>.franck-mega-menu__panel,
.franck-mega-menu__item.is-open>.franck-mega-menu__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.franck-mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 26px;
    align-items: start;
}

.franck-mega-menu__card {
    display: block;
    width: 100%;
    max-width: 240px;
    justify-self: center;
    color: inherit;
    text-decoration: none;
}

.franck-mega-menu__card:hover {
    color: inherit;
}

.franck-mega-menu__card-image {
    position: relative;
    width: 100%;
    max-width: 240px;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16 / 10;
    background: var(--fmm-card-bg);
}

.franck-mega-menu__card-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.franck-mega-menu__card-image img,
.franck-mega-menu__card-image picture img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.franck-mega-menu__card:hover .franck-mega-menu__card-image img,
.franck-mega-menu__card:hover .franck-mega-menu__card-image picture img {
    transform: scale(1.05);
}

.franck-mega-menu__card-placeholder {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(42, 109, 71, 0.18), transparent 34%),
        linear-gradient(135deg, var(--fmm-card-bg) 0%, var(--theme-bg-light, #f6f6f6) 100%);
}

.franck-mega-menu__card-body {
    padding-top: 14px;
}

.franck-mega-menu__card-body h3 {
    color: var(--fmm-card-title);
    font-size: 17px;
    line-height: 1.22;
    font-weight: 800;
    margin: 0 0 6px;
}

.franck-mega-menu__card-body p {
    color: var(--fmm-card-text);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
    margin: 0 0 16px;
}

.franck-mega-menu__card-body span {
    color: var(--fmm-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 800;
}

.franck-mega-menu__card-body span i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.franck-mega-menu__card:hover span i {
    transform: translateX(4px);
}

/* ========================================================================== */
/* Contact Flyout Panel (Optionnel - type: contact)                          */
/* ========================================================================== */
@media (min-width: 1200px) {
    /* Ancrage du flyout avec icônes directement sous l'élément parent */
    .franck-mega-menu__item--flyout {
        position: relative !important;
    }

    .franck-mega-menu__panel--flyout {
        position: absolute !important;
        top: calc(100% - 1px) !important;
        left: 0 !important;
        right: auto !important;
        width: 290px !important;
        max-width: calc(100vw - 32px) !important;
        padding: 12px !important;
        background: var(--fmm-mega-bg, #ffffff) !important;
        border: 1px solid rgba(15, 23, 42, 0.08) !important;
        border-radius: 0 0 16px 16px !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
        box-sizing: border-box !important;
        z-index: 1050 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(4px) !important;
        pointer-events: none !important;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
    }

    .franck-mega-menu__panel--flyout::before {
        content: "" !important;
        position: absolute !important;
        top: -10px !important;
        left: 0 !important;
        right: 0 !important;
        height: 10px !important;
        background: transparent !important;
    }

    .franck-mega-menu[data-open-mode="hover"] .franck-mega-menu__item--flyout:hover > .franck-mega-menu__panel--flyout,
    .franck-mega-menu[data-open-mode="hover"] .franck-mega-menu__item--flyout:focus-within > .franck-mega-menu__panel--flyout,
    .franck-mega-menu__item--flyout.is-open > .franck-mega-menu__panel--flyout {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }

    /* Ancrage du flyout directement sous le lien Contactez-nous */
    .franck-mega-menu__item--contact {
        position: relative !important;
    }

    .franck-mega-menu__panel--contact {
        position: absolute !important;
        top: calc(100% - 1px) !important;
        width: 720px !important;
        max-width: calc(100vw - 32px) !important;
        padding: 28px 32px;
        border-radius: 0 0 var(--fmm-card-radius, 18px) var(--fmm-card-radius, 18px);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    }

    .franck-mega-menu__panel--contact-single {
        width: 380px !important;
    }

    /* Pont invisible au-dessus du panneau pour ne jamais perdre le hover */
    .franck-mega-menu__panel--contact::before {
        content: "";
        position: absolute;
        top: -16px;
        left: 0;
        right: 0;
        height: 16px;
        background: transparent;
    }

    /* 1. Aligné à droite de l'élément (juste en dessous, recommandé) */
    .franck-mega-menu__panel--contact-right {
        left: auto !important;
        right: 0 !important;
        transform: translateY(10px);
    }

    .franck-mega-menu[data-open-mode="hover"] .franck-mega-menu__item--contact:hover > .franck-mega-menu__panel--contact-right,
    .franck-mega-menu[data-open-mode="hover"] .franck-mega-menu__item--contact:focus-within > .franck-mega-menu__panel--contact-right,
    .franck-mega-menu__item--contact.is-open > .franck-mega-menu__panel--contact-right {
        transform: translateY(0);
    }

    /* 2. Centré sous l'élément de menu */
    .franck-mega-menu__panel--contact-center {
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, 10px);
    }

    .franck-mega-menu[data-open-mode="hover"] .franck-mega-menu__item--contact:hover > .franck-mega-menu__panel--contact-center,
    .franck-mega-menu[data-open-mode="hover"] .franck-mega-menu__item--contact:focus-within > .franck-mega-menu__panel--contact-center,
    .franck-mega-menu__item--contact.is-open > .franck-mega-menu__panel--contact-center {
        transform: translate(-50%, 0);
    }

    /* 3. Aligné à gauche de l'élément de menu */
    .franck-mega-menu__panel--contact-left {
        left: 0 !important;
        right: auto !important;
        transform: translateY(10px);
    }

    .franck-mega-menu[data-open-mode="hover"] .franck-mega-menu__item--contact:hover > .franck-mega-menu__panel--contact-left,
    .franck-mega-menu[data-open-mode="hover"] .franck-mega-menu__item--contact:focus-within > .franck-mega-menu__panel--contact-left,
    .franck-mega-menu__item--contact.is-open > .franck-mega-menu__panel--contact-left {
        transform: translateY(0);
    }

    /* 4. Pleine largeur (optionnel) */
    .franck-mega-menu__item--contact:has(.franck-mega-menu__panel--contact-full) {
        position: static !important;
    }

    .franck-mega-menu__panel--contact.franck-mega-menu__panel--contact-full {
        left: 24px !important;
        right: 24px !important;
        width: auto !important;
        max-width: none !important;
        transform: translateY(10px);
    }

    .franck-mega-menu[data-open-mode="hover"] .franck-mega-menu__item--contact:hover > .franck-mega-menu__panel--contact-full,
    .franck-mega-menu[data-open-mode="hover"] .franck-mega-menu__item--contact:focus-within > .franck-mega-menu__panel--contact-full,
    .franck-mega-menu__item--contact.is-open > .franck-mega-menu__panel--contact-full {
        transform: translateY(0);
    }
}

.franck-mega-menu__contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: stretch;
}

.franck-mega-menu__contact-grid--single {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
}

.franck-mega-menu__contact-grid--single .franck-mega-menu__contact-col--border {
    border-left: none !important;
    border-top: none !important;
    padding-left: 0 !important;
    padding-top: 0 !important;
}

.franck-mega-menu__contact-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--fmm-card-text, #4b5563);
    margin: 0 0 16px;
    white-space: pre-line;
}

.franck-mega-menu__contact-col {
    display: flex;
    flex-direction: column;
}

.franck-mega-menu__contact-col--border {
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    padding-left: 36px;
}

.franck-mega-menu__contact-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.franck-mega-menu__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(42, 109, 71, 0.08);
    color: var(--fmm-accent, #2a6d47);
    font-size: 17px;
    flex-shrink: 0;
}

.franck-mega-menu__contact-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--fmm-card-title, #212221);
    line-height: 1.2;
}

.franck-mega-menu__contact-schedule {
    margin-bottom: 24px;
    flex: 1;
}

.franck-mega-menu__contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
    font-size: 14px;
}

.franck-mega-menu__contact-subtitle {
    font-weight: 600;
    color: var(--fmm-card-title, #212221);
}

.franck-mega-menu__contact-badge {
    font-size: 13px;
    font-weight: 500;
    color: var(--fmm-card-text, #4b5563);
    background: var(--fmm-card-bg, #f3f4f6);
    padding: 3px 9px;
    border-radius: 6px;
    white-space: nowrap;
}

.franck-mega-menu__contact-note {
    font-size: 12px;
    color: #9ca3af;
    margin: 8px 0 0;
    font-style: italic;
}

.franck-mega-menu__contact-direct {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    flex: 1;
}

.franck-mega-menu__contact-direct-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--fmm-card-bg, #f9fafb);
    text-decoration: none;
    color: var(--fmm-card-title, #212221);
    transition: background 0.18s ease, color 0.18s ease;
}

.franck-mega-menu__contact-direct-link:hover {
    background: rgba(42, 109, 71, 0.08);
    color: var(--fmm-active, #3c9a65);
}

.franck-mega-menu__contact-direct-link i {
    font-size: 18px;
    color: var(--fmm-accent, #2a6d47);
}

.franck-mega-menu__contact-direct-link div {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.franck-mega-menu__contact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    font-weight: 600;
}

.franck-mega-menu__contact-direct-link strong {
    font-size: 14px;
    font-weight: 700;
}

.franck-mega-menu__contact-address {
    font-size: 13px;
    color: var(--fmm-card-text, #4b5563);
    margin: 4px 0 0;
    line-height: 1.4;
}

.franck-mega-menu__contact-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 8px 18px;
    border-radius: var(--fmm-button-radius, 999px);
    border: 1.5px solid var(--fmm-cta-bg, #1cb359);
    background: #ffffff;
    color: var(--fmm-cta-bg, #1cb359);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.franck-mega-menu__contact-phone-btn:hover {
    background: rgba(28, 179, 89, 0.08);
    color: var(--fmm-cta-bg, #1cb359);
    border-color: var(--fmm-cta-bg, #1cb359);
    text-decoration: none;
    transform: translateY(-1px);
}

.franck-mega-menu__contact-phone-btn i {
    font-size: 18px;
    color: var(--fmm-cta-bg, #1cb359);
}

.franck-mega-menu__contact-divider {
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    margin: 18px 0;
    border: none;
}

.franck-mega-menu__contact-callback {
    width: 100%;
    margin-bottom: 4px;
}

.franck-mega-menu__callback-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--fmm-card-title, #212221);
    margin: 0 0 12px;
    line-height: 1.3;
}

.franck-mega-menu__callback-form {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.franck-mega-menu__callback-input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 1.5px solid #d1d5db;
    border-radius: 999px;
    padding: 0 16px;
    font-size: 13.5px;
    background: #ffffff;
    color: #212221;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.franck-mega-menu__callback-input:focus {
    border-color: var(--fmm-cta-bg, #1cb359);
    box-shadow: 0 0 0 3px rgba(28, 179, 89, 0.15);
}

.franck-mega-menu__callback-btn {
    height: 42px;
    padding: 0 22px;
    background: var(--fmm-cta-bg, #1cb359);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.franck-mega-menu__callback-btn:hover {
    background: var(--fmm-cta-bg-hover, #159547);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(28, 179, 89, 0.25);
}

.franck-mega-menu__callback-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.franck-mega-menu__contact-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 16px;
    width: 100%;
}

.franck-mega-menu__contact-social .franck-mega-menu__contact-subtitle {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
}

.franck-mega-menu__contact-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.franck-mega-menu__contact-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--fmm-card-bg, #f3f4f6);
    color: var(--fmm-card-title, #212221);
    font-size: 16px;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.franck-mega-menu__contact-social-link:hover {
    background: var(--fmm-cta-bg, #1cb359);
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

.franck-mega-menu__contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 8px 18px;
    border-radius: var(--fmm-button-radius, 999px);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
    border: none;
}

.franck-mega-menu__contact-btn--primary {
    background: var(--fmm-cta-bg, #1cb359);
    color: #ffffff !important;
}

.franck-mega-menu__contact-btn--primary:hover {
    background: var(--fmm-cta-bg-hover, #159547);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(28, 179, 89, 0.25);
    text-decoration: none;
}

.franck-mega-menu__contact-btn--secondary {
    background: transparent;
    color: var(--fmm-cta-bg, #1cb359);
    border: 1.5px solid var(--fmm-cta-bg, #1cb359);
}

.franck-mega-menu__contact-btn--secondary:hover {
    background: var(--fmm-cta-bg, #1cb359);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Flyout menu with icons (180824.png) */
.franck-mega-menu__flyout-card {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.franck-mega-menu__flyout-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none !important;
    color: var(--fmm-header-text, #212221);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.18s ease;
    line-height: 1.3;
}

.franck-mega-menu__flyout-item:hover {
    background: var(--fmm-card-bg, #f8fafc);
    color: var(--fmm-header-active, #008236);
    transform: translateX(3px);
}

.franck-mega-menu__flyout-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--fmm-header-active, #008236);
    flex-shrink: 0;
    margin-right: 12px;
}

.franck-mega-menu__flyout-icon svg {
    width: 20px;
    height: 20px;
}

.franck-mega-menu__flyout-label {
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.franck-mega-menu__flyout-chevron {
    margin-left: auto;
    color: var(--fmm-header-active, #008236);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    transition: transform 0.18s ease;
}

.franck-mega-menu__flyout-item:hover .franck-mega-menu__flyout-chevron {
    transform: translateX(2px);
}

.franck-mega-menu__flyout-divider {
    border: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    margin: 6px 6px;
    height: 0;
}

.franck-mega-menu__flyout-item.is-highlight {
    background: var(--fmm-header-active, #008236);
    color: #ffffff !important;
    font-weight: 600;
    margin-top: 4px;
}

.franck-mega-menu__flyout-item.is-highlight:hover {
    filter: brightness(1.08);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.franck-mega-menu__flyout-item.is-highlight .franck-mega-menu__flyout-icon,
.franck-mega-menu__flyout-item.is-highlight .franck-mega-menu__flyout-chevron {
    color: #ffffff !important;
}

/* Mobile */

.franck-mega-menu__burger {
    display: none;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border: 0;
    border-radius: var(--fmm-card-radius);
    background: rgba(15, 23, 42, 0.06);
    padding: 10px;
    cursor: pointer;
    box-sizing: border-box;
    touch-action: manipulation;
}

.franck-mega-menu__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--fmm-header-text, #212221);
    margin: 5px 0;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.franck-mega-menu.is-mobile-open .franck-mega-menu__burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.franck-mega-menu.is-mobile-open .franck-mega-menu__burger span:nth-child(2) {
    opacity: 0;
}

.franck-mega-menu.is-mobile-open .franck-mega-menu__burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@keyframes fmmSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1199px) {
    .franck-mega-menu__inner {
        min-height: 82px;
        padding: 0 22px;
        gap: 18px;
        flex-wrap: wrap;
    }

    .franck-mega-menu__burger {
        display: inline-block !important;
        order: 3;
    }

    .franck-mega-menu.is-mobile-open,
    .franck-mega-menu--transparent.is-mobile-open {
        background: #ffffff !important;
        min-height: 100dvh;
        height: 100dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    }

    .franck-mega-menu__nav {
        display: none;
        order: 10;
        flex: 0 0 100%;
        width: 100%;
        justify-content: flex-start;
        padding: 10px 0 40px;
        background: transparent;
    }

    .franck-mega-menu.is-mobile-open .franck-mega-menu__inner {
        min-height: 100%;
        align-content: flex-start;
    }

    .franck-mega-menu.is-mobile-open .franck-mega-menu__nav {
        display: block !important;
        animation: fmmSlideDown 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .franck-mega-menu__backdrop {
        display: none;
    }

    .franck-mega-menu.is-mobile-open .franck-mega-menu__backdrop {
        display: block !important;
        order: 20;
        flex: 1 1 100%;
        width: 100%;
        min-height: 40vh;
        cursor: pointer;
        background: transparent;
    }

    .franck-mega-menu.is-mobile-open .franck-mega-menu__link,
    .franck-mega-menu--transparent.is-mobile-open .franck-mega-menu__link {
        color: var(--fmm-header-text, #212221) !important;
        text-shadow: none !important;
    }

    .franck-mega-menu.is-mobile-open .franck-mega-menu__burger span,
    .franck-mega-menu--transparent.is-mobile-open .franck-mega-menu__burger span {
        background-color: var(--fmm-header-text, #212221) !important;
        box-shadow: none !important;
    }

    .franck-mega-menu.is-mobile-open .franck-mega-menu__logo img,
    .franck-mega-menu--transparent.is-mobile-open .franck-mega-menu__logo img {
        filter: none !important;
    }

    .franck-mega-menu__list {
        display: block;
        width: 100%;
        padding: 18px 0;
    }

    .franck-mega-menu__item {
        border-top: 1px solid rgba(15, 23, 42, 0.08);
    }

    .franck-mega-menu__link {
        min-height: 58px;
        width: 100%;
        justify-content: space-between;
        font-size: 17px;
        touch-action: manipulation;
    }

    .franck-mega-menu__panel {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        border: 0;
        border-radius: var(--fmm-card-radius);
        box-shadow: none;
        padding: 18px 0 26px;
    }

    .franck-mega-menu__item.is-open>.franck-mega-menu__panel {
        display: block;
    }

    .franck-mega-menu__grid {
        grid-template-columns: repeat(2, minmax(0, 260px));
        justify-content: center;
        gap: 22px;
    }

    .franck-mega-menu__item--flyout {
        position: static !important;
    }

    .franck-mega-menu__panel--flyout {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 8px 0 16px !important;
        box-shadow: none !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        transform: none !important;
    }

    .franck-mega-menu__panel--flyout::before {
        display: none !important;
    }

    .franck-mega-menu__item.is-open > .franck-mega-menu__panel--flyout {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .franck-mega-menu__item--contact {
        position: static !important;
    }

    .franck-mega-menu__panel--contact {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 0 24px;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    .franck-mega-menu__panel--contact::before {
        display: none !important;
    }

    .franck-mega-menu__contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .franck-mega-menu__contact-col--border {
        border-left: none;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        padding-left: 0;
        padding-top: 24px;
    }

    .franck-mega-menu__contact-btn {
        margin-top: 12px;
    }

    .franck-mega-menu__cta {
        margin-left: auto;
        min-height: 48px;
        padding: 0 20px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .franck-mega-menu__inner {
        padding: 0 16px;
    }

    .franck-mega-menu__logo {
        font-size: 24px;
    }

    .franck-mega-menu__logo img,
    .franck-mega-menu__logo picture {
        max-width: 150px;
        max-height: 46px;
    }

    .franck-mega-menu__cta {
        display: none;
    }

    .franck-mega-menu__grid {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .franck-mega-menu__card {
        max-width: 100%;
    }

    .franck-mega-menu__card-image {
        border-radius: var(--fmm-card-radius);
    }

    .franck-mega-menu__card-body h3 {
        font-size: 18px;
    }

    .franck-mega-menu__card-body p {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .franck-mega-menu__brand-card {
        min-height: 56px;
        padding: 10px 14px;
        touch-action: manipulation;
    }

    .franck-mega-menu__contact-row {
        gap: 8px;
        flex-wrap: wrap;
    }
}

/* Mega menu marques */
.franck-mega-menu__panel--brands {
    padding: 18px 24px;
}

/* En-tête de panel (partagé entre mega et mega2) — 2026-05-27 */
/* Layout : titre + sous-titre à gauche, lien optionnel à droite.
   Alias .franck-mega-menu__brands-head conservé pour rétrocompat du HTML
   pré-2026-05-27 (vieux cache Twig). À retirer après vidage cache. */
.franck-mega-menu__panel-head,
.franck-mega-menu__brands-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.franck-mega-menu__panel-head-text {
    flex: 1;
    min-width: 0;
}

.franck-mega-menu__panel-head strong,
.franck-mega-menu__panel-head-text strong,
.franck-mega-menu__brands-head strong {
    display: block;
    color: var(--fmm-card-title);
    font-size: 22px;
    line-height: 1.15;
    font-weight: 950;
}

.franck-mega-menu__panel-head p,
.franck-mega-menu__panel-head-text p,
.franck-mega-menu__brands-head p {
    max-width: 520px;
    margin: 6px 0 0;
    color: var(--fmm-card-text);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
}

/* Bouton d'action à droite du head (panel CTA) — ex: "Voir toutes nos occasions" */
.franck-mega-menu__panel-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--fmm-cta-min-height, 42px);
    padding: 0 var(--fmm-cta-pad-x, 22px);
    border-radius: var(--fmm-button-radius, 999px);
    background: var(--fmm-cta-bg, #1cb359);
    color: var(--fmm-cta-text, #ffffff) !important;
    text-decoration: none !important;
    font-size: var(--fmm-cta-font-size, 15px);
    font-weight: 600;
    white-space: nowrap;
    flex: 0 0 auto;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.franck-mega-menu__panel-cta:hover {
    color: var(--fmm-cta-text, #ffffff) !important;
    transform: translateY(-1px);
    background: var(--fmm-cta-bg-hover, #0a7d38);
    box-shadow: 0 10px 24px rgba(28, 179, 89, 0.25);
    text-decoration: none !important;
}

.franck-mega-menu__panel-cta i {
    display: none;
}

.franck-mega-menu__brands-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.franck-mega-menu__brand-card {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--fmm-card-radius);
    background: var(--theme-bg-white, #ffffff);
    color: var(--fmm-header-text);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.franck-mega-menu__brand-card:hover {
    color: var(--fmm-active);
    transform: translateY(-2px);
    border-color: rgba(15, 23, 42, 0.14);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.10);
    background: var(--theme-bg-light, #f6f6f6);
}

.franck-mega-menu__brand-logo {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--theme-bg-light, #f6f6f6);
}

.franck-mega-menu__brand-logo img,
.franck-mega-menu__brand-logo picture {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.franck-mega-menu__brand-logo picture {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.franck-mega-menu__brand-logo picture img {
    max-width: 100%;
    max-height: 100%;
    object-fit: inherit;
}

.fmm-brand-item img,
.fmm-brand-item picture {
    max-width: 64px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.fmm-brand-item picture img {
    max-width: 100%;
    max-height: 100%;
    object-fit: inherit;
}

.fmm-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    /* zone cliquable plus grande */
    padding: 10px;
    border-radius: 12px;
    background: var(--theme-card-background, #f3f3f3);
    transition: all 0.2s ease;
}

.franck-mega-menu__brand-label,
.franck-mega-menu__brand-name {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.franck-mega-menu__brand-card i {
    font-size: 13px;
    opacity: .65;
    transition: transform .18s ease;
}

.franck-mega-menu__brand-card:hover i {
    transform: translateX(3px);
}

@media (max-width: 1199px) {
    .franck-mega-menu__panel-head,
    .franck-mega-menu__brands-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 18px;
    }

    .franck-mega-menu__brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .franck-mega-menu__brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .franck-mega-menu__brand-card {
        padding: 6px 8px;
        gap: 8px;
        min-height: 48px;
    }

    .franck-mega-menu__brand-logo {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .franck-mega-menu__brand-logo img,
    .franck-mega-menu__brand-logo picture img {
        max-width: 26px;
        max-height: 24px;
    }

    .franck-mega-menu__brand-name {
        font-size: 15px;
    }

    .franck-mega-menu__brand-arrow,
    .franck-mega-menu__brand-card i {
        display: none !important;
    }
}

/* Image à gauche du libellé de menu — hauteur reglable par menu via --fmm-menu-img-h */
.franck-mega-menu__link-img {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    flex: 0 0 auto;
}
.franck-mega-menu__link-img img,
.franck-mega-menu__link-img picture,
.franck-mega-menu__link-img picture img {
    height: var(--fmm-menu-img-h, 24px);
    width: auto;
    object-fit: contain;
    display: block;
}

/* Image à gauche du bouton CTA — groupe image+bouton, hauteur reglable via --fmm-cta-img-h */
.franck-mega-menu__cta-group {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}
.franck-mega-menu__cta-img {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}
.franck-mega-menu__cta-img img,
.franck-mega-menu__cta-img picture,
.franck-mega-menu__cta-img picture img {
    height: var(--fmm-cta-img-h, 32px);
    width: auto;
    object-fit: contain;
    display: block;
}
@media (max-width: 1199px) {
    .franck-mega-menu__cta-group { margin-left: auto; }
}
@media (max-width: 767px) {
    .franck-mega-menu__cta-group { display: none; }
}

/* ========================================================================== */
/* FMM_TRANSPARENT_MODE : mode transparent (menu par-dessus un hero full-screen)   */
/* -------------------------------------------------------------------------- */
/* Active uniquement si un composant hero avec data-hero-transparent-menu est  */
/* present sur la page. Le JS ajoute/retire la classe --transparent selon la   */
/* visibilite du hero (IntersectionObserver).                                  */
/* ========================================================================== */

/* Transition douce fond + couleurs */
.franck-mega-menu {
    transition: background .35s ease, box-shadow .35s ease;
}

/* Mode transparent actif (hero visible) */
.franck-mega-menu--transparent {
    background: transparent !important;
    box-shadow: none !important;
}

/* Texte et liens en blanc */
.franck-mega-menu--transparent .franck-mega-menu__link,
.franck-mega-menu--transparent .franck-mega-menu__top-link,
.franck-mega-menu--transparent .franck-mega-menu__burger span {
    color: #ffffff !important;
    transition: color .35s ease;
}

/* Logo : inversion CSS (temporaire, sera remplace par un swap logo blanc) */
.franck-mega-menu--transparent .franck-mega-menu__logo img {
    filter: brightness(0) invert(1);
    transition: filter .35s ease;
}

/* Burger (barres) en blanc */
.franck-mega-menu--transparent .franck-mega-menu__burger-line,
.franck-mega-menu--transparent .franck-mega-menu__burger::before,
.franck-mega-menu--transparent .franck-mega-menu__burger::after {
    background-color: #ffffff !important;
}

/* CTA bouton : garder visible (pas de changement, deja en couleur) */

/* Spacer : masque en mode transparent (le menu est absolute, pas de
   compensation de hauteur necessaire tant que le hero est visible) */
.franck-mega-menu-wrapper--hero-transparent + .franck-mega-menu-spacer {
    height: 0 !important;
}

/* Retour opaque (hero hors viewport) : les styles ci-dessus sont
   retires par le JS (suppression de la classe --transparent), le
   transition CSS assure une animation fluide. */

/* ========================================================================== */
/* ====== NOUVEAU DESIGN MEGA-MENU : NOS MARQUES & NOS OCCASIONS (Pages 4 & 5) ===== */
/* ========================================================================== */

/* Panels */
.franck-mega-menu__panel--brands {
    padding: 18px 24px !important;
    background: #ffffff !important;
    border-radius: 0 0 16px 16px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.10) !important;
    box-sizing: border-box !important;
}

.franck-mega-menu__panel--occasions {
    padding: 20px 28px !important;
    background: #ffffff !important;
    border-radius: 0 0 16px 16px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.10) !important;
    box-sizing: border-box !important;
}

.franck-mega-menu__occasions-top {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-bottom: 14px !important;
}

.franck-mega-menu__occasions-top .franck-mega-menu__panel-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 7px 18px !important;
    border: 1.5px solid #008236 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #008236 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0, 130, 54, 0.08) !important;
    white-space: nowrap !important;
}

.franck-mega-menu__occasions-top .franck-mega-menu__panel-cta-btn:hover {
    background: #008236 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(0, 130, 54, 0.22) !important;
}

.franck-mega-menu__occasions-top .fmm-cta-circle-arrow {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    border-radius: 50% !important;
    background: #f0fdf4 !important;
    color: #008236 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.franck-mega-menu__occasions-top .franck-mega-menu__panel-cta-btn:hover .fmm-cta-circle-arrow {
    background: #ffffff !important;
    color: #008236 !important;
}

/* Headers */
.franck-mega-menu__panel-head--brands {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
    position: relative !important;
    min-height: 110px !important;
}

.franck-mega-menu__panel-head--occasions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    margin-bottom: 24px !important;
    position: relative !important;
    min-height: 165px !important;
    height: 165px !important;
    width: 100% !important;
}

.franck-mega-menu__panel-head--brands .franck-mega-menu__panel-head-text {
    flex: 0 0 auto !important;
    max-width: 420px !important;
}

.franck-mega-menu__panel-head--occasions .franck-mega-menu__panel-head-text {
    flex: 0 0 auto !important;
    max-width: 320px !important;
}

.fmm-head-accent {
    display: block !important;
    width: 32px !important;
    height: 3.5px !important;
    background: #008236 !important;
    border-radius: 2px !important;
    margin-bottom: 8px !important;
}

.fmm-head-top-accent {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 6px !important;
}

.fmm-head-accent-bar {
    width: 28px !important;
    height: 3px !important;
    background: #008236 !important;
    border-radius: 2px !important;
    display: block !important;
}

.fmm-head-top-label {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    color: #64748b !important;
    text-transform: uppercase !important;
}

.franck-mega-menu__panel-head--brands strong,
.franck-mega-menu__panel-head--occasions strong {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0b1a2d !important;
    line-height: 1.15 !important;
    display: block !important;
    margin-bottom: 4px !important;
    letter-spacing: -0.5px !important;
}

.franck-mega-menu__panel-head--brands p,
.franck-mega-menu__panel-head--occasions p {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.franck-mega-menu__panel-head-visual {
    position: relative !important;
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    height: 110px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

.franck-mega-menu__occasions-head-banner {
    position: relative !important;
    flex: 0 0 auto !important;
    height: 165px !important;
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
    margin-left: auto !important;
    margin-right: -10px !important;
}

.fmm-scenic-img {
    height: 165px !important;
    max-height: 165px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.fmm-occasions-head-right {
    position: relative !important;
    flex: 0 0 auto !important;
    height: 165px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-end !important;
    gap: 12px !important;
    min-width: 215px !important;
    padding: 0 !important;
    margin-left: 0 !important;
    z-index: 2 !important;
}

/* Bouton CTA Occasions dans le header */
.fmm-occasions-head-right .franck-mega-menu__panel-cta-btn {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 7px 18px !important;
    border: 1.5px solid #008236 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #008236 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0, 130, 54, 0.08) !important;
    white-space: nowrap !important;
    align-self: flex-end !important;
}

.fmm-occasions-head-right .franck-mega-menu__panel-cta-btn:hover {
    background: #008236 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(0, 130, 54, 0.25) !important;
}

.fmm-occasions-trust-block {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    align-self: flex-end !important;
    margin-right: 22px !important;
}

.fmm-trust-red-dash {
    width: 20px !important;
    height: 2.5px !important;
    background: #e11d48 !important;
    border-radius: 2px !important;
    margin-bottom: 5px !important;
    display: block !important;
}

.fmm-trust-items {
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: 1.8px !important;
    line-height: 1.4 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.fmm-cta-circle-arrow {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #f0fdf4 !important;
    color: #008236 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.franck-mega-menu__panel-cta-btn:hover .fmm-cta-circle-arrow {
    background: #ffffff !important;
    color: #008236 !important;
}

/* Grille Marques (Page 4) */
.franck-mega-menu__brands-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 12px 14px !important;
    margin-bottom: 0 !important;
}

.franck-mega-menu__brand-card {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-height: 70px !important;
    padding: 10px 16px !important;
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    box-sizing: border-box !important;
}

.franck-mega-menu__brand-card:hover {
    border-color: #008236 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 130, 54, 0.1) !important;
}

.franck-mega-menu__brand-logo {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.franck-mega-menu__brand-logo img,
.franck-mega-menu__brand-logo picture img {
    max-width: 46px !important;
    max-height: 46px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.franck-mega-menu__brand-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.franck-mega-menu__brand-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0b1a2d !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: -0.015em !important;
}

.franck-mega-menu__brand-card:hover .franck-mega-menu__brand-name {
    color: #008236 !important;
}

.franck-mega-menu__brand-arrow {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 50% !important;
    background: #f8fafc !important;
    color: #008236 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.franck-mega-menu__brand-card:hover .franck-mega-menu__brand-arrow {
    background: #008236 !important;
    color: #ffffff !important;
}

@media (max-width: 1399px) {
    .franck-mega-menu__brand-name {
        font-size: 15px !important;
    }
}

@media (max-width: 1199px) {
    .franck-mega-menu__brands-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

@media (max-width: 767px) {
    .franck-mega-menu__brands-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .franck-mega-menu__brand-card {
        padding: 6px 8px !important;
        gap: 8px !important;
        min-height: 48px !important;
    }

    .franck-mega-menu__brand-logo {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
    }

    .franck-mega-menu__brand-logo img,
    .franck-mega-menu__brand-logo picture img {
        max-width: 26px !important;
        max-height: 24px !important;
    }

    .franck-mega-menu__brand-name {
        font-size: 15px !important;
    }

    .franck-mega-menu__brand-arrow {
        display: none !important;
    }
}

/* Footer Marques */
.franck-mega-menu__brands-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 14px !important;
    border-top: 1px solid #f1f5f9 !important;
    gap: 16px !important;
}

.fmm-brands-footer-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 !important;
}

.fmm-brands-footer-slash {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #008236 !important;
    font-style: italic !important;
    line-height: 1 !important;
}

.fmm-brands-footer-text {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    color: #1e293b !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.fmm-brands-footer-line {
    height: 1px !important;
    background: #e2e8f0 !important;
    flex: 1 !important;
    max-width: 320px !important;
    margin-left: 8px !important;
}

.fmm-brands-footer-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.fmm-brands-footer-brand {
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    color: #1e293b !important;
    text-transform: uppercase !important;
}

.fmm-brands-footer-accent {
    width: 24px !important;
    height: 2.5px !important;
    background: #008236 !important;
    display: block !important;
}

/* Grille Occasions (Page 5) */
.franck-mega-menu__grid--occasions {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 14px !important;
    margin-bottom: 0 !important;
    align-items: stretch !important;
}

.franck-mega-menu__card--occasion {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    padding: 6px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
}

.franck-mega-menu__card--occasion:hover {
    border-color: #bbf7d0 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 24px rgba(0, 130, 54, 0.1) !important;
}

.franck-mega-menu__card--occasion .franck-mega-menu__card-image {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 10.5 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #f1f5f9 !important;
    position: relative !important;
}

.franck-mega-menu__card--occasion .franck-mega-menu__card-image img,
.franck-mega-menu__card--occasion .franck-mega-menu__card-image picture img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.35s ease !important;
    display: block !important;
}

.franck-mega-menu__card--occasion:hover .franck-mega-menu__card-image img,
.franck-mega-menu__card--occasion:hover .franck-mega-menu__card-image picture img {
    transform: scale(1.06) !important;
}

.franck-mega-menu__card--occasion .franck-mega-menu__card-body {
    padding: 10px 38px 6px 6px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
}

.fmm-card-accent-bar {
    width: 20px !important;
    height: 3px !important;
    background: #008236 !important;
    border-radius: 2px !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.fmm-card-text h3 {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #0b1a2d !important;
    margin: 0 0 2px !important;
    line-height: 1.2 !important;
}

.fmm-card-text p {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
}

.fmm-card-circle-arrow {
    position: absolute !important;
    right: 4px !important;
    bottom: 8px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #f0fdf4 !important;
    color: #008236 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.franck-mega-menu__card--occasion:hover .fmm-card-circle-arrow {
    background: #008236 !important;
    color: #ffffff !important;
    transform: scale(1.05) !important;
}

/* Footer Occasions */
.franck-mega-menu__occasions-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 14px !important;
    border-top: 1px solid #f1f5f9 !important;
    gap: 16px !important;
}

.fmm-occ-footer-trust {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.fmm-trust-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    position: relative !important;
}

.fmm-trust-item:not(:last-child)::after {
    content: '' !important;
    width: 1px !important;
    height: 20px !important;
    background: #e2e8f0 !important;
    margin-left: 10px !important;
}

.fmm-trust-text {
    display: flex !important;
    flex-direction: column !important;
}

.fmm-trust-text strong {
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    color: #1e293b !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.fmm-trust-text span {
    font-size: 8.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    color: #64748b !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.fmm-occ-footer-center {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 !important;
}

.fmm-slash {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #008236 !important;
    font-style: italic !important;
    line-height: 1 !important;
}

.fmm-footer-center-text {
    display: flex !important;
    flex-direction: column !important;
    white-space: nowrap !important;
}

.fmm-footer-center-text strong {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    color: #1e293b !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
}

.fmm-footer-center-text span {
    font-size: 9px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
}

.fmm-footer-line {
    height: 1px !important;
    background: #e2e8f0 !important;
    flex: 1 !important;
    max-width: 240px !important;
    margin-left: 8px !important;
}

.fmm-occ-footer-right {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.fmm-footer-scenic-img {
    height: 38px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.fmm-footer-right-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 2px !important;
}

.fmm-group-maurin-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.fmm-group-maurin-row strong {
    font-size: 10.5px !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
    color: #1e293b !important;
    text-transform: uppercase !important;
}

.fmm-group-maurin-row .bar-red {
    width: 18px !important;
    height: 2.5px !important;
    background: #e11d48 !important;
    display: block !important;
}

.fmm-territories-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.fmm-territories-row span {
    font-size: 9px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    color: #64748b !important;
    text-transform: uppercase !important;
}

.fmm-territories-row .bar-green {
    width: 18px !important;
    height: 2.5px !important;
    background: #008236 !important;
    display: block !important;
}

/* =====================  CENTRE (sitename + nav)  ===================== */
.franck-mega-menu__center {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}
.franck-mega-menu__sitename {
    position: absolute;
    top: 12px;
    left: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: var(--fmm-sitename-size, 22px);
    color: var(--fmm-sitename-color, var(--fmm-header-text, #000000));
    line-height: var(--fmm-sitename-lh, 28px);
    white-space: nowrap;
    z-index: 10;
}
.franck-mega-menu__sitename-brand {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}
.franck-mega-menu__sitename-sep {
    font-weight: 300;
    opacity: 0.6;
}
.franck-mega-menu__sitename-city {
    font-weight: 400;
}

/* =====================  ACTIONS (droite)  ===================== */
.franck-mega-menu__actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}
.franck-mega-menu__action {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 73px;
    text-decoration: none;
    color: var(--fmm-header-text, #000000);
    font-size: 12px;
    font-weight: 500;
    transition: color .18s ease;
}
.franck-mega-menu__action:hover,
.franck-mega-menu__action:focus-visible {
    color: var(--fmm-accent, #efdf00);
}
.franck-mega-menu__action svg {
    width: 22px;
    height: 22px;
    display: block;
}
.franck-mega-menu__action-label {
    white-space: nowrap;
}

/* Logo du groupe */
.franck-mega-menu__group {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: var(--fmm-header-text, #000000);
    flex-shrink: 0;
}
.franck-mega-menu__group img,
.franck-mega-menu__group svg {
    display: block;
    height: var(--fmm-group-logo-height, 44px);
    width: auto;
    max-width: 180px;
    filter: grayscale(1);
}
.franck-mega-menu__group-name {
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

/* =====================  RENAULT STYLE & UNDERLINE  ===================== */
.franck-mega-menu--renault-style {
    border-bottom: 1px solid var(--fmm-border-color, #e5e5e5);
}
.franck-mega-menu--renault-style .franck-mega-menu__inner {
    min-height: var(--fmm-header-height, 160px);
    gap: 28px;
}
.franck-mega-menu--renault-style .franck-mega-menu__logo img {
    height: var(--fmm-logo-height, 88px);
    max-height: var(--fmm-logo-height, 88px);
    width: auto;
}
.franck-mega-menu--renault-style .franck-mega-menu__link {
    position: relative;
    text-transform: var(--fmm-link-transform, uppercase);
    font-size: var(--fmm-link-size, 16px);
    font-weight: var(--fmm-link-weight, 700);
    line-height: 18px;
    padding: 4px 0;
    color: var(--fmm-header-text, #000000);
}
.franck-mega-menu--renault-style .franck-mega-menu__link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    background: var(--fmm-accent, #efdf00);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .2s ease;
}
.franck-mega-menu--renault-style .franck-mega-menu__link:hover::after,
.franck-mega-menu--renault-style .franck-mega-menu__link:focus-visible::after,
.franck-mega-menu--renault-style .franck-mega-menu__item.is-open > .franck-mega-menu__link::after,
.franck-mega-menu--renault-style .franck-mega-menu__link.is-active::after {
    transform: scaleX(1);
}

.franck-mega-menu__mobile-sitename {
    display: none;
}
.franck-mega-menu__mobile-actions {
    display: none;
}

@media (max-width: 1199px) {
    .franck-mega-menu__sitename {
        display: none;
    }
    .franck-mega-menu.is-mobile-open .franck-mega-menu__mobile-sitename {
        display: flex;
        align-items: baseline;
        gap: 8px;
        font-size: 20px;
        line-height: 24px;
        padding: 16px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        color: var(--fmm-header-text, #000000);
    }
    .franck-mega-menu.is-mobile-open .franck-mega-menu__mobile-actions {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 16px 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        margin-top: 12px;
        list-style: none;
    }
    .franck-mega-menu__actions .franck-mega-menu__action,
    .franck-mega-menu__actions .franck-mega-menu__group {
        display: none;
    }
}

