/* === Méga-menu Capitaine Crédit === */
:root {
  --cc-mega-teal: #1c7e8d;
  --cc-mega-navy: #071d49;
  --cc-mega-pink: #e00c66;
  --cc-mega-muted: #3d4f5f;
  --cc-mega-panel-bg: #ffffff;
  --cc-mega-cta-bg: #eef5f7;
  --cc-mega-radius: 14px;
  --cc-mega-bar: 5px;
  /* épaisseur barre teal sous le trigger */
}

/* Conteneur menu = référent de position pour le panneau */
#menu-menu-desktop.menu-top-main {
  position: relative;
}

#menu-menu-desktop>.menu-item>.cc-mega__trigger--nolink {
  user-select: none;
}

/* Divs vides parfois injectés après les liens simples */
#menu-menu-desktop>.menu-item>div:empty {
  display: none !important;
}

#menu-menu-desktop>.cc-mega>.cc-mega__trigger .cc-mega__chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-top: -4px;
  margin-left: 16px;
  /* espace libellé → chevron */
}

#menu-menu-desktop>.cc-mega.is-open>.cc-mega__trigger .cc-mega__chevron,
#menu-menu-desktop>.cc-mega.menu-actif-children>.cc-mega__trigger .cc-mega__chevron {
  transform: rotate(-135deg);
  margin-top: 2px;
}

/* =========================
   DESKTOP (≥ 981px)
   ========================= */
@media screen and (min-width: 981px) {

  /* Triggers top-level — mega ET liens simples (Blog, À propos…) */
  #menu-menu-desktop>.menu-item:not(.cc-mega-mobile-footer)>.cc-mega__trigger,
  #menu-menu-desktop>.menu-item:not(.cc-mega-mobile-footer)>a.cc-mega__trigger,
  #menu-menu-desktop>.menu-item:not(.cc-mega-mobile-footer)>a {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    cursor: pointer;
    color: var(--cc-mega-navy) !important;
    text-decoration: none !important;
    font-weight: 700;
    width: auto !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-sizing: border-box;
    line-height: 1.2 !important;
  }

  /* Barre : items à la suite, pas étalés sur 100% */
  .menu-menu-desktop-container {
    min-width: 0;
    max-width: 100%;
  }

  #menu-menu-desktop.menu-top-main {
    justify-content: flex-start !important;
    gap: 0;
    padding: 0;
    padding-left: 20px;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
  }

  #menu-menu-desktop>.menu-item:not(.cc-mega-mobile-footer) {
    flex-grow: 0 !important;
    flex-shrink: 1;
    width: auto !important;
    min-width: 0;
    align-self: stretch;
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    padding: 0 clamp(10px, 2vw, 30px);
    line-height: 1 !important;
    /* espace entre items — se resserre si l’écran rétrécit */
  }

  #menu-menu-desktop>.menu-item:not(.cc-mega-mobile-footer)>.cc-mega__trigger,
  #menu-menu-desktop>.menu-item:not(.cc-mega-mobile-footer)>a.cc-mega__trigger,
  #menu-menu-desktop>.menu-item:not(.cc-mega-mobile-footer)>a {
    width: auto !important;
    max-width: 100%;
    height: 100% !important;
    white-space: nowrap;
    color: var(--cc-mega-navy) !important;
    font-weight: 700 !important;
  }

  #menu-menu-desktop>.cc-mega>.cc-mega__trigger .cc-mega__chevron {
    margin-left: clamp(8px, 1.2vw, 16px);
  }

  #menu-menu-desktop>.cc-mega,
  #menu-menu-desktop>.menu-item:not(.cc-mega):not(.cc-mega-mobile-footer) {
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #menu-menu-desktop>.cc-mega:hover,
  #menu-menu-desktop>.cc-mega.is-open,
  #menu-menu-desktop>.menu-item:not(.cc-mega-mobile-footer):hover {
    background: transparent !important;
  }

  /* Kill anciens ::after Flatco (chevron / border legacy) */
  #menu-menu-desktop>.cc-mega.menu-item-has-children>a::after,
  #menu-menu-desktop>.cc-mega.menu-item-has-children>.cc-mega__trigger::after,
  #menu-menu-desktop>.cc-mega.menu-item-has-children::after {
    display: none !important;
    content: none !important;
    border: none !important;
  }

  /*
   * Barre teal = largeur du texte (trigger / lien), pas du LI.
   * Épaisseur via --cc-mega-bar.
   */
  #menu-menu-desktop>.cc-mega>.cc-mega__trigger,
  #menu-menu-desktop>.menu-item:not(.cc-mega)>a {
    border-bottom: none !important;
  }

  #menu-menu-desktop>.cc-mega.is-open>.cc-mega__trigger::after,
  #menu-menu-desktop>.cc-mega:hover>.cc-mega__trigger::after,
  #menu-menu-desktop>.menu-item:not(.cc-mega):not(.cc-mega-mobile-footer):hover>a::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: auto !important;
    height: var(--cc-mega-bar) !important;
    background: var(--cc-mega-teal) !important;
    border: none !important;
    border-radius: 1px !important;
    transform: none !important;
  }

  /* Contre dis_menu : border-bottom gris/teal au hover sur liens simples */
  #menu-menu-desktop>.menu-item:not(.cc-mega-mobile-footer):hover>a {
    border-bottom: none !important;
  }

  /* Footer mobile : JAMAIS visible en desktop */
  #menu-menu-desktop>.cc-mega-mobile-footer,
  .cc-mega-mobile-footer {
    display: none !important;
  }

  /* Panneau : collé sous le menu, calé à gauche + max-width */
  #menu-menu-desktop>.cc-mega>.cc-mega-panel {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: auto;
    transform: none;
    width: calc(100% - 40px);
    max-width: 1200px;
    box-sizing: border-box;
    z-index: 100000;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  #menu-menu-desktop>.cc-mega.is-open>.cc-mega-panel,
  #menu-menu-desktop>.cc-mega:hover>.cc-mega-panel {
    display: block !important;
  }

  /* Pont hover minimal (panneau très proche) */
  #menu-menu-desktop>.cc-mega>.cc-mega-panel::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    height: 4px;
  }

  .cc-mega-panel__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: var(--cc-mega-panel-bg);
    border-radius: var(--cc-mega-radius);
    box-shadow: 0 8px 32px rgba(7, 29, 73, 0.12);
    overflow: hidden;
    border: 1px solid #e2ebf0;
  }

  /* Colonne = gouttière ; __inner = zone contenu */
  .cc-mega-col {
    position: relative;
    padding: 18px 14px;
    box-sizing: border-box;
    float: none !important;
    width: auto !important;
    min-width: 0;
    background: transparent !important;
  }

  .cc-mega-col--cta {
    background: transparent !important;
  }

  .cc-mega-col__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 12px;
  }

  .cc-mega-col__inner--cta {
    background: var(--cc-mega-cta-bg) !important;
  }

  /* Contenu liens : hauteur auto (pas d’étirement des LI) ; la colonne stretch quand même pour le séparateur */
  .cc-mega-col--links .cc-mega-col__inner {
    height: auto;
    min-height: 0;
    justify-content: flex-start;
  }

  /* Séparateurs pleine hauteur de l’encart (toutes colonnes sauf la dernière) */
  .cc-mega-col:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 18px;
    bottom: 18px;
    width: 1px;
    background: #d8e3e8;
  }

  /* Maquette : icône centrée → titre → contenu */
  .cc-mega-col__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 22px;
    width: 100%;
    flex-shrink: 0;
  }

  .cc-mega-col__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(18, 187, 161, 0.14);
    color: var(--cc-mega-teal);
    flex-shrink: 0;
  }

  /* Assets menu-logos déjà en pastille → pas de double cercle */
  .cc-mega-col__icon:has(.cc-mega-col__icon--asset) {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
  }

  .cc-mega-col__icon .cc-mega-col__icon--asset,
  .cc-mega-col__icon .cc-mega-logo {
    display: block;
    width: 88px;
    height: 88px;
    object-fit: contain;
    margin: 0 auto !important;
  }

  .cc-mega-phone__icon picture,
  .cc-mega-phone__icon {
    display: inline-flex;
    align-items: center;
    line-height: 0;
  }

  .cc-mega-phone__img {
    display: block;
    width: 40px !important;
    height: 40px !important;
    max-width: none !important;
    object-fit: contain;
    margin: 0 !important;
  }

  .cc-mega-hours__img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin: 0 !important;
  }

  .cc-mega-col__title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--cc-mega-navy);
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: center;
    margin: 0 auto;
  }

  .cc-mega-col--cta .cc-mega-col__title {
    text-transform: none;
    font-size: 18px;
    letter-spacing: 0;
    max-width: 15em;
  }

  /* Contenu sous l’icône : shrink-to-fit + centré */
  .cc-mega-col--links .sub-menu,
  .cc-mega-checks,
  .cc-mega-phone,
  .cc-mega-help-text,
  .cc-mega-hours {
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  /* Bouton CTA : pleine largeur de la colonne, calé dans le flex */
  .cc-mega-col--cta .cc-mega-cta-btn {
    align-self: stretch;
    width: 100% !important;
    max-width: 100%;
  }

  /* ---- Liens colonne gauche ---- */
  #menu-menu-desktop .cc-mega-panel .cc-mega-col--links .sub-menu,
  #menu-menu-desktop .cc-mega-panel .sub-menu,
  #menu-menu-desktop>.cc-mega .cc-mega-panel ul.sub-menu {
    display: block !important;
    position: static !important;
    float: none !important;
    width: max-content !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    left: auto !important;
    top: auto !important;
    margin: 0 auto !important;
    padding: 20px 0 0 0 !important;
    background: transparent !important;
    list-style: none !important;
    clear: both !important;
  }

  /* Beaucoup d’items → scroll pour ne pas sortir de l’écran */
  #menu-menu-desktop .cc-mega-panel .cc-mega-col--links .sub-menu {
    max-height: calc(100vh - 300px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 8px !important;
    -webkit-overflow-scrolling: touch;
  }

  #menu-menu-desktop .cc-mega-panel .cc-mega-col--links .sub-menu>li,
  #menu-menu-desktop .cc-mega-panel .cc-mega-col--links .sub-menu>li.menu-item,
  #menu-menu-desktop .cc-mega-panel .sub-menu>li,
  #menu-menu-desktop .cc-mega-panel .sub-menu>li.menu-item {
    display: block !important;
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 30px !important; /* espace vertical entre items */
    padding: 0 !important;
    line-height: 1.35 !important;
    background: transparent !important;
    list-style: none !important;
    list-style-type: none !important;
    clear: both !important;
    flex: none !important;
  }

  #menu-menu-desktop .cc-mega-panel .sub-menu>li:last-child {
    margin-bottom: 0 !important;
  }

  #menu-menu-desktop .cc-mega-panel .cc-mega-col--links .sub-menu>li>a,
  #menu-menu-desktop .cc-mega-panel .sub-menu>li>a,
  #menu-menu-desktop .cc-mega-panel .sub-menu li.menu-item a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #071d49 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-decoration: none !important;
    border: none !important;
    background: transparent !important;
    float: none !important;
    position: relative !important;
  }

  #menu-menu-desktop .cc-mega-panel .sub-menu>li>a::before,
  #menu-menu-desktop .cc-mega-panel .sub-menu li.menu-item a::before {
    content: '' !important;
    display: inline-block !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    width: 8px !important;
    height: 8px !important;
    margin: 0 26px 0 0 !important; /* espace chevron → texte */
    border-style: solid !important;
    border-width: 0 2px 2px 0 !important;
    border-color: #1c7e8d !important;
    transform: rotate(-45deg) !important;
    flex-shrink: 0 !important;
    background: none !important;
    font-size: 0 !important;
  }

  #menu-menu-desktop .cc-mega-panel .sub-menu>li>a:hover {
    color: #071d49 !important;
    text-decoration: underline !important;
  }

  .cc-mega-checks {
    list-style: none;
    margin: 0 auto 28px;
    padding: 0;
    text-align: left;
  }

  .cc-mega-checks li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin: 0 0 18px; /* espace vertical entre checks */
    padding: 0;
    color: #071d49 !important;
    font-size: 16px;
    font-weight: 500;
  }

  .cc-mega-checks li:last-child {
    margin-bottom: 0;
  }

  .cc-mega-checks li>span {
    color: #071d49 !important;
  }

  .cc-mega-check {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #1c7e8d !important;
    flex-shrink: 0;
    margin-right: 14px; /* espace check → texte */
    font-size: 28px !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    font-weight: normal !important;
    /* FA n’a pas de graisse fine : on “creuse” le glyphe avec le fond CTA */
    -webkit-text-stroke: 1.25px var(--cc-mega-cta-bg);
    text-stroke: 1.25px var(--cc-mega-cta-bg);
  }

  .cc-mega-checks li i.cc-mega-check,
  .cc-mega-checks li i {
    font-size: 28px !important;
    color: #1c7e8d !important;
  }

  .cc-mega-check:before {
    color: #1c7e8d !important;
    font-weight: normal !important;
  }

  .cc-mega-cta-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    padding: 16px 18px !important;
    min-height: 52px;
    line-height: 1.2 !important;
    background: var(--cc-mega-pink) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    text-decoration: none !important;
    border: none !important;
    border-radius: 8px;
    letter-spacing: 0.02em;
    opacity: 1 !important;
  }

  /* Contre .menu-menu-desktop-container a:hover { background: none } */
  .cc-mega-cta-btn:hover,
  .cc-mega-cta-btn:focus,
  .cc-mega-cta-btn:active {
    background: var(--cc-mega-pink) !important;
    color: #fff !important;
    opacity: 1 !important;
    outline: 0;
  }

  .cc-mega-cta-btn__label {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    line-height: 1.2;
  }

  .cc-mega-cta-btn__arrow {
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    color: #fff !important;
  }

  .cc-mega-cta-btn__arrow:before {
    display: block;
    line-height: 1;
  }

  .cc-mega-phone {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 12px;
    color: var(--cc-mega-pink) !important;
    text-decoration: none !important;
    margin: 0 auto 10px;
  }

  .cc-mega-phone__icon {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--cc-mega-pink);
  }

  .cc-mega-phone__number {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--cc-mega-pink) !important;
  }

  .cc-mega-help-text {
    margin: 0 auto 18px;
    color: var(--cc-mega-navy);
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
  }

  .cc-mega-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    padding-top: 18px;
    border-top: 1px solid #d8e3e8;
    color: var(--cc-mega-navy);
    font-size: 16px;
  }

  .cc-mega-hours__icon {
    display: inline-flex;
    color: var(--cc-mega-teal);
  }

  /* (masquage footer mobile déjà forcé plus haut via #menu-menu-desktop>.cc-mega-mobile-footer) */

  /* Desktop étroit : resserrer pour éviter le débordement / coupe */
  @media screen and (max-width: 1200px) {
    #menu-menu-desktop.menu-top-main {
      padding-left: 12px;
    }

    #menu-menu-desktop>.menu-item:not(.cc-mega-mobile-footer) {
      padding: 0 12px;
    }

    #menu-menu-desktop>.menu-item:not(.cc-mega-mobile-footer)>.cc-mega__trigger,
    #menu-menu-desktop>.menu-item:not(.cc-mega-mobile-footer)>a.cc-mega__trigger,
    #menu-menu-desktop>.menu-item:not(.cc-mega-mobile-footer)>a {
      font-size: 0.92rem;
    }

    .cc-mega-col {
      padding: 14px 8px;
    }

    .cc-mega-col__inner {
      padding: 15px;
    }

    .cc-mega-col__icon .cc-mega-col__icon--asset,
    .cc-mega-col__icon .cc-mega-logo {
      width: 72px;
      height: 72px;
    }

    .cc-mega-phone__number {
      font-size: 20px;
    }

    .cc-mega-cta-btn {
      font-size: 13px !important;
      padding: 14px 14px !important;
    }
  }
}

/* =========================
   MOBILE (≤ 980px) — maquette
   ========================= */
@media screen and (max-width: 980px) {

  /* Contre dis_menu.css (espace-evenly, chevrons LI, list-style ">") */
  .menu-menu-desktop-container .menu-top-main,
  #menu-menu-desktop.menu-top-main {
    position: absolute !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    background: #ffffff !important;
    width: 100% !important;
    right: 0 !important;
    left: 0 !important;
    box-sizing: border-box !important;
  }

  #menu-menu-desktop.nav-active {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    overflow-x: hidden;
    overflow-y: auto;
    height: auto !important;
    min-height: calc(100vh - 68px) !important;
    max-height: calc(100vh - 68px) !important;
    width: 100% !important;
    background: #ffffff !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  #menu-menu-desktop.nav-active>.menu-item:not(.cc-mega-mobile-footer),
  #menu-menu-desktop>.menu-item:not(.cc-mega-mobile-footer) {
    width: 100% !important;
    display: block !important;
    float: none !important;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    border: none !important;
    position: relative !important;
  }

  #menu-menu-desktop.nav-active>.menu-item:not(.cc-mega-mobile-footer)>a,
  #menu-menu-desktop.nav-active>.menu-item:not(.cc-mega-mobile-footer)>.cc-mega__trigger,
  #menu-menu-desktop>.menu-item:not(.cc-mega-mobile-footer)>a,
  #menu-menu-desktop>.menu-item:not(.cc-mega-mobile-footer)>.cc-mega__trigger {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 22px 24px !important;
    margin: 0 !important;
    border: none !important;
    border-bottom: 1px solid #e5eaee !important;
    border-radius: 0 !important;
    color: #071d49 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    text-decoration: none !important;
    background: #ffffff !important;
    height: auto !important;
    min-height: 0 !important;
    white-space: normal !important;
  }

  /* Kill TOUS les chevrons legacy dis_menu / Flatco */
  #menu-menu-desktop>.menu-item.menu-item-has-children::after,
  #menu-menu-desktop>.cc-mega.menu-item-has-children::after,
  #menu-menu-desktop>.menu-item-has-children::after,
  #menu-menu-desktop>.cc-mega>.cc-mega__trigger::after,
  #menu-menu-desktop>.cc-mega>a::after,
  #menu-menu-desktop>.menu-item.menu-item-has-children>a::after {
    display: none !important;
    content: none !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  /* Chevron rose mega : > plié / v déplié */
  #menu-menu-desktop>.cc-mega>.cc-mega__trigger .cc-mega__chevron {
    display: inline-block !important;
    width: 9px !important;
    height: 9px !important;
    margin: 0 2px 0 auto !important;
    border-style: solid !important;
    border-width: 0 2px 2px 0 !important;
    border-color: #e00c66 !important;
    background: none !important;
    transform: rotate(-45deg) !important;
    flex-shrink: 0 !important;
  }

  #menu-menu-desktop>.cc-mega.is-open>.cc-mega__trigger .cc-mega__chevron,
  #menu-menu-desktop>.cc-mega.menu-actif-children>.cc-mega__trigger .cc-mega__chevron {
    transform: rotate(45deg) !important;
    margin-top: -2px !important;
  }

  #menu-menu-desktop>.cc-mega>.cc-mega-panel {
    display: none !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: #f0f3f6 !important;
    border: none !important;
  }

  #menu-menu-desktop>.cc-mega.is-open>.cc-mega-panel,
  #menu-menu-desktop>.cc-mega.menu-actif-children>.cc-mega-panel {
    display: block !important;
  }

  #menu-menu-desktop .cc-mega-panel .cc-mega-panel__inner,
  .cc-mega-panel__inner {
    display: block !important;
    width: 100% !important;
    background: #f0f3f6 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
    grid-template-columns: none !important;
  }

  /* Colonnes desktop (fusée / aide) : masquées en mobile */
  #menu-menu-desktop .cc-mega-col--cta,
  #menu-menu-desktop .cc-mega-col--help,
  #menu-menu-desktop .cc-mega-col--links .cc-mega-col__head,
  #menu-menu-desktop .cc-mega-col:not(:last-child)::after {
    display: none !important;
  }

  /* Uniquement la colonne liens visible */
  #menu-menu-desktop .cc-mega-col--links,
  #menu-menu-desktop .cc-mega-col--links .cc-mega-col__inner {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    min-width: 0 !important;
    height: auto !important;
    background: transparent !important;
    align-items: stretch !important;
  }

  /* Contre dis_menu : list-style ">" + margin-left */
  #menu-menu-desktop ul.sub-menu,
  #menu-menu-desktop .cc-mega-panel ul.sub-menu,
  #menu-menu-desktop>.cc-mega.is-open ul.sub-menu,
  #menu-menu-desktop>.cc-mega.menu-actif-children ul.sub-menu,
  #menu-menu-desktop>.menu-item:last-child ul.sub-menu {
    display: block !important;
    position: static !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    left: auto !important;
    top: auto !important;
    border: none !important;
    border-bottom: none !important;
    overflow: visible !important;
  }

  #menu-menu-desktop ul.sub-menu li.menu-item,
  #menu-menu-desktop .cc-mega-panel .sub-menu>li,
  #menu-menu-desktop .cc-mega-panel .sub-menu>li.menu-item {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    list-style-type: none !important;
    color: #071d49 !important;
    border: none !important;
    background: transparent !important;
  }

  #menu-menu-desktop ul.sub-menu li.menu-item::marker,
  #menu-menu-desktop .cc-mega-panel .sub-menu>li::marker {
    content: none !important;
    display: none !important;
  }

  #menu-menu-desktop .cc-mega-panel .sub-menu>li>a,
  #menu-menu-desktop .cc-mega-panel .sub-menu li.menu-item a,
  #menu-menu-desktop ul.sub-menu li.menu-item a {
    display: block !important;
    box-sizing: border-box !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 24px !important;
    padding: 18px 4px !important;
    color: #071d49 !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-decoration: none !important;
    border: none !important;
    border-bottom: 1px solid #e5eaee !important;
    border-radius: 0 !important;
    background: transparent !important;
    height: auto !important;
    min-height: 0 !important;
  }

  #menu-menu-desktop .cc-mega-panel .sub-menu>li:last-child>a,
  #menu-menu-desktop .cc-mega-panel .sub-menu>li:last-child.menu-item a {
    border-bottom: none !important;
  }

  #menu-menu-desktop .cc-mega-panel .sub-menu>li>a::before,
  #menu-menu-desktop .cc-mega-panel .sub-menu li.menu-item a::before,
  #menu-menu-desktop ul.sub-menu li.menu-item a::before {
    display: none !important;
    content: none !important;
  }

  /* ---- Footer CTA + aide : flux normal + marge sous le menu ---- */
  #menu-menu-desktop>.cc-mega-mobile-footer,
  #menu-menu-desktop.nav-active>.cc-mega-mobile-footer,
  .cc-mega-mobile-footer {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 28px 0 0 !important;
    height: auto !important;
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    box-sizing: border-box !important;
    border: none !important;
    background: #ffffff !important;
    position: relative !important;
    z-index: 5 !important;
    align-self: stretch !important;
  }

  /* Ne pas styler le CTA mobile comme un item de nav */
  #menu-menu-desktop>.cc-mega-mobile-footer a,
  #menu-menu-desktop.nav-active>.cc-mega-mobile-footer a {
    height: auto !important;
    white-space: normal !important;
    border-bottom: none !important;
  }

  .cc-mega-mobile-footer__cta {
    padding: 28px 24px 8px !important;
    background: #ffffff !important;
    box-sizing: border-box;
  }

  .cc-mega-cta-btn--mobile {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 18px 20px !important;
    min-height: 54px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    background: #e00c66 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    border: none !important;
    opacity: 1 !important;
  }

  .cc-mega-cta-btn--mobile .cc-mega-cta-btn__label {
    flex: 0 1 auto;
    text-align: center;
    color: #fff !important;
  }

  .cc-mega-cta-btn--mobile .cc-mega-cta-btn__arrow {
    flex: 0 0 auto;
    margin: 0 !important;
    font-size: 16px !important;
    color: #fff !important;
  }

  .cc-mega-cta-btn--mobile:hover,
  .cc-mega-cta-btn--mobile:focus,
  .cc-mega-cta-btn--mobile:active {
    background: #e00c66 !important;
    color: #fff !important;
    opacity: 1 !important;
  }

  .cc-mega-mobile-help {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    text-align: left !important;
    margin: 20px 0 0 !important;
    padding: 24px !important;
    background: #f3f5f7 !important;
    box-sizing: border-box;
  }

  .cc-mega-mobile-help__icon {
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 64px !important;
    height: 64px !important;
    border-radius: 0 !important;
    background: none !important;
  }

  .cc-mega-mobile-help__icon img {
    display: block !important;
    width: 64px !important;
    height: 64px !important;
    object-fit: contain !important;
    margin: 0 !important;
  }

  .cc-mega-mobile-help__body {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    min-width: 0;
  }

  .cc-mega-mobile-help__title {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #071d49 !important;
    line-height: 1.3 !important;
  }

  .cc-mega-mobile-footer .cc-mega-phone,
  .cc-mega-mobile-help .cc-mega-phone {
    display: inline-flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    color: #e00c66 !important;
    text-decoration: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    font-weight: 700 !important;
  }

  .cc-mega-mobile-footer .cc-mega-phone__number,
  .cc-mega-mobile-help .cc-mega-phone__number {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #e00c66 !important;
    line-height: 1.2 !important;
  }

  .cc-mega-mobile-footer .cc-mega-hours,
  .cc-mega-mobile-help .cc-mega-hours {
    display: block !important;
    margin: 2px 0 0 !important;
    border: none !important;
    padding: 0 !important;
    color: #071d49 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-align: left !important;
  }
}