/* Interaction corrections: scoped to the existing header and métier cards. */
@layer gecca-menu {
  html body .container-header .mod-menu > li > :is(a,button),
  html body .container-header .mod-menu__heading {
    background: transparent !important; text-decoration: none !important;
    color: #fff !important;
  }
  html body .container-header .mod-menu > li > :is(a,button)::before,
  html body .container-header .mod-menu > li > :is(a,button)::after,
  html body .container-header .mod-menu__heading::before,
  html body .container-header .mod-menu__heading::after {
    content: none !important; display: none !important;
  }
  html body .container-header .mod-menu > li.active > :is(a,button),
  html body .container-header .mod-menu > li.active > button .mod-menu__heading { color: #000 !important; }
  html body .container-header .mod-menu :is(a,button):focus-visible {
    outline: 2px solid #000 !important; outline-offset: 4px !important;
  }
  html body .container-header .mod-menu__sub a:focus-visible {
    outline-color: #4da1f5 !important; outline-offset: 2px !important;
  }
  @media (min-width: 992px) {
    html body .container-header .mod-menu > li.parent { position: relative !important; }
    html body .container-header .mod-menu > li.parent::after {
      content: "" !important; display: block !important; position: absolute !important;
      top: 100% !important; left: 0 !important; width: 290px !important; height: 20px !important;
      background: transparent !important; border: 0 !important;
    }
    html body .container-header .mod-menu > li.parent > .mod-menu__sub {
      display: block !important; top: 30px !important; left: 0 !important;
      width: 290px !important; padding: 20px !important; border-radius: 19px !important;
      background: #000 !important; visibility: hidden !important; opacity: 0 !important;
      pointer-events: none !important;
      transition: opacity .25s ease, visibility 0s linear .25s !important;
    }
    html body .container-header .mod-menu > li.parent.gecca-submenu-open > .mod-menu__sub {
      visibility: visible !important; opacity: 1 !important; pointer-events: auto !important;
      transition-delay: 0s !important;
    }
    html body .container-header .mod-menu__sub a {
      color: #fff !important; font-size: 15px !important; text-decoration: none !important;
    }
    html body .container-header .mod-menu__sub li.current > a { color: #4da1f5 !important; }
  }
  @media (min-width: 992px) and (max-width: 1600px) {
    html body .container-header .mod-menu__heading { font-size: 15px !important; line-height: normal !important; }
  }
  @media (hover: hover) and (pointer: fine) {
    html body .container-header .mod-menu > li > a:hover,
    html body .container-header .mod-menu > li.gecca-submenu-open > button .mod-menu__heading { color: #fea267 !important; }
    html body:is(.culturel,.entrep,.ess) .container-header .mod-menu > li > a:hover,
    html body:is(.culturel,.entrep,.ess) .container-header .mod-menu > li.gecca-submenu-open > button .mod-menu__heading { color: #000 !important; }
    html body .container-header .mod-menu__sub a:hover,
    html body .container-header .mod-menu__sub a:focus-visible { color: #4da1f5 !important; }
  }
  @media (max-width: 991px) {
    html body .container-header .mod-menu > li.parent > .mod-menu__sub {
      display: none !important; position: static !important; visibility: visible !important;
      opacity: 1 !important; pointer-events: none !important;
    }
    html body .container-header .mod-menu > li.parent.gecca-submenu-open > .mod-menu__sub {
      display: block !important; pointer-events: auto !important;
    }
    html body .container-header .mod-menu > li.active > a,
    html body .container-header .mod-menu > li.active > button .mod-menu__heading { color: #fea267 !important; }
    html body .container-header .mod-menu :is(a,button):focus-visible { outline-color: #fff !important; }
  }
  @media (prefers-reduced-motion: reduce) {
    html body .container-header .mod-menu__sub { transition: none !important; }
  }
}

@layer gecca-menu {
  html body .container-header .mod-menu > li:not(.parent)::after,
  html body .container-header .mod-menu > li::before,
  html body .container-header .mod-menu__sub li::before,
  html body .container-header .mod-menu__sub li::after { content:none !important; display:none !important; }
  html body .container-header .mod-menu > li.parent::after { background:transparent !important; box-shadow:none !important; border:0 !important; }
  html body .container-header .mod-menu :is(a,button,span) { text-decoration:none !important; }
  @media(max-width:991px) { html body .container-header .mod-menu > li.parent::after { content:none !important; display:none !important; } }
}

@layer gecca-menu {
  html body .container-header .mod-menu > li.parent::after { bottom:auto !important; margin:0 !important; transform:none !important; }
  html body .container-header .mod-menu > li.parent > button { position:relative !important; z-index:2 !important; }
  html body .container-header .mod-menu > li.parent > .mod-menu__sub { z-index:3 !important; }
}

@layer gecca-menu {
  html body .container-header #mod-menu146 > li > :is(a, button) {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 24px !important;
    margin: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 24px !important;
    vertical-align: middle !important;
    cursor: pointer;
  }
  html body .container-header #mod-menu146 > li > button .mod-menu__heading {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    font: inherit !important;
    line-height: inherit !important;
  }
  html body .container-header #mod-menu146 .mod-menu__toggle-sub > .icon-chevron-down {
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    margin: -3px 2px 0 0 !important;
    border-right: 1.5px solid currentColor !important;
    border-bottom: 1.5px solid currentColor !important;
    transform: rotate(45deg) !important;
    transition: transform .18s ease;
  }
  html body .container-header #mod-menu146 .icon-chevron-down::before { display: none !important; }
  html body .container-header #mod-menu146 .gecca-submenu-open > button > .icon-chevron-down { transform: rotate(225deg) !important; margin-top: 3px !important; }
  html body .container-header #mod-menu146 > li.parent > .mod-menu__sub {
    padding: 8px !important;
    border: 1px solid #e3edf6 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 14px 36px rgba(14, 48, 78, .2) !important;
  }
  html body .container-header #mod-menu146 .mod-menu__sub > li { margin: 0 !important; padding: 0 !important; }
  html body .container-header #mod-menu146 .mod-menu__sub > li > a {
    display: block !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    color: #18334d !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 22px !important;
    white-space: normal !important;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease;
  }
  html body .container-header #mod-menu146 .mod-menu__sub > li > a:is(:hover,:focus-visible),
  html body .container-header #mod-menu146 .mod-menu__sub > li.current > a {
    color: #145d9c !important;
    background: #eaf4fe !important;
  }
  @media (min-width: 992px) {
    html body .container-header #mod-menu146 > li { display: flex !important; align-items: center !important; }
    html body .container-header #mod-menu146 > li.parent > .mod-menu__sub { top: calc(100% + 14px) !important; left: -14px !important; width: 310px !important; }
    html body .container-header #mod-menu146 > li.parent::after { left: -14px !important; width: 310px !important; height: 16px !important; }
  }
  @media (max-width: 991px) {
    html body .container-header #mod-menu146 > li > :is(a, button) { padding: 10px 0 !important; font-size: 17px !important; }
    html body .container-header #mod-menu146 > li.parent > .mod-menu__sub { width: 100% !important; min-width: 0 !important; margin: 6px 0 8px !important; box-shadow: none !important; }
  }
  @media (prefers-reduced-motion: reduce) {
    html body .container-header #mod-menu146 :is(a, .icon-chevron-down) { transition: none !important; }
  }
}

@layer gecca-menu { html body .container-header #mod-menu146 > li > button.mod-menu__toggle-sub { transform: none !important; } }

@layer gecca-menu { html body .container-header #mod-menu146 > li.parent > .mod-menu__sub { height:auto !important; } html body .container-header #mod-menu146 .mod-menu__sub > li { height:auto !important; min-height:0 !important; } html body .container-header #mod-menu146 .mod-menu__sub > li > a { height:auto !important; min-height:46px !important; box-sizing:border-box !important; } }
