/* Touch navigation uses the same server-rendered links as the desktop header. */
#header.vulcan-sticky-header {
  position: sticky !important;
  top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--vulcan-header-offset, 0px));
  background: #fff;
  transition: none !important;
}
html #header.vulcan-sticky-header:is(.scrolled, .header):is(.scrolledUp, .header) {
  transform: none !important;
}
#header .vulcan-mobile-quote { display: none; }
#form_contact-form { scroll-margin-top: 85px; }
#header .vulcan-touch-dialog:not([open]),
#header .vulcan-touch-dialog [hidden],
#header .vulcan-touch-nav-icon,
#header .vulcan-touch-cover-label,
#header .vulcan-drawer-icon { display: none; }

@media (max-width: 991px), (max-width: 1199px) and (hover: none) and (pointer: coarse) {
  #header.vulcan-sticky-header {
    top: var(--wp-admin--admin-bar--height, 0px);
    padding-block: 3px !important;
  }
  #header.vulcan-sticky-header .topbar { display: none; }
  #header.vulcan-sticky-header .container-fluid > .row:not(.no-gutters) {
    width: 100%; margin-inline: 0;
    padding-left: max(16px, env(safe-area-inset-left)) !important;
    padding-right: max(8px, env(safe-area-inset-right)) !important;
  }
  #header.vulcan-sticky-header .container-fluid > .row:not(.no-gutters) > .column {
    display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between;
    column-gap: 6px; padding-inline: 0;
  }
  #header.vulcan-sticky-header .column > .logo-block {
    width: auto; min-width: 0; justify-content: flex-start; margin-block: 0;
  }
  #header.vulcan-sticky-header .column > .logo-block img {
    width: clamp(70px, 20.5vw, 94px) !important;
  }
  #header.vulcan-sticky-header .column > .lang-block {
    position: static; display: flex; align-items: center; gap: clamp(5px, 2vw, 14px);
    flex-shrink: 0; margin: 0;
  }
  #header .vulcan-mobile-quote:not(:empty) { display: inline-flex; }
  #header .vulcan-mobile-quote .r-button {
    display: block !important;
    width: auto; min-width: 0; white-space: nowrap;
  }
  #header .vulcan-mobile-quote .r-button::before,
  #header .vulcan-mobile-quote .r-button > span {
    display: flex; align-items: center; justify-content: center;
    min-width: 0; min-height: 34px; padding: 3px clamp(16px, 4vw, 23px) !important;
    line-height: 1.2; font-size: clamp(11px, 3.2vw, 15px) !important;
  }
  #header.vulcan-touch-ready .vulcan-drawer-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-width: 44px; min-height: 44px; padding: 7px;
    border: 0; border-radius: 10px; background: transparent;
    color: #0a355d; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  }
  #header.vulcan-touch-ready .vulcan-drawer-icon {
    display: block; flex: 0 0 30px; width: 30px; height: 30px;
  }
  #header.vulcan-touch-ready .vulcan-drawer-toggle:focus-visible { outline: 2px solid #2876a6; outline-offset: 3px; }
  #header.vulcan-touch-ready .column > .vulcan-header-menu { display: none; }
  #header .vulcan-header-menu .main-menu > .vulcan-nav-quote { display: none; }
  .vulcan-pro-backdrop { display: none !important; }
}
@media (max-width: 991px) {
  #header.vulcan-sticky-header { position: fixed !important; }
}

#header .vulcan-touch-dialog .main-menu > .vulcan-nav-quote { display: none; }

@media (min-width: 992px) {
  #header .column > #vulcan-header-menu {
    --vulcan-nav-font: clamp(11px, calc(.88vw + 2.3px), 15px);
    --vulcan-nav-padding: clamp(3px, calc(.75vw - 4.5px), 10px);
  }
  #header .column > #vulcan-header-menu .main-menu {
    display: flex; flex-wrap: nowrap; align-items: center;
    gap: clamp(2px, calc(.7vw - 5px), 13px);
  }
  #header .column > #vulcan-header-menu .main-menu > li {
    flex: none; margin-inline: 0;
  }
  #header .column > #vulcan-header-menu .homeMenu { margin-block: 0; }
  #header .column > #vulcan-header-menu .homeMenu > a { display: block; min-height: 26px; }
  #header .column > #vulcan-header-menu .main-menu > li:not(.homeMenu, .vulcan-nav-quote) > a,
  #header .column > #vulcan-header-menu .vulcan-mega-trigger {
    padding-inline: var(--vulcan-nav-padding);
    font-size: var(--vulcan-nav-font); font-weight: 700;
    white-space: nowrap; text-transform: uppercase; color: #172539;
  }
  #header .column > #vulcan-header-menu .main-menu > li:not(.homeMenu, .vulcan-nav-quote) > a > span {
    font-size: inherit !important; font-weight: inherit !important; letter-spacing: normal !important;
  }
  #header .column > #vulcan-header-menu .vulcan-mega-disclosure[open] > .vulcan-mega-trigger { color: #fff; }
  #header .column > #vulcan-header-menu .vulcan-nav-quote > a {
    width: auto; padding: 0; line-height: 1.2; white-space: nowrap;
  }
  #header .column > #vulcan-header-menu .vulcan-nav-quote > a::before,
  #header .column > #vulcan-header-menu .vulcan-nav-quote > a > span {
    font-size: var(--vulcan-nav-font) !important; letter-spacing: normal !important;
    display: flex; align-items: center; justify-content: center;
    min-width: 0; line-height: 1.2;
    padding-block: 12.5px !important;
    padding-inline: clamp(20px, calc(1.15vw + 10px), 28px);
    white-space: nowrap;
  }
  #header .column > #vulcan-header-menu .vulcan-nav-quote > a::after { display: none; }
}
@media (min-width: 992px) and (max-width: 1060px) {
  #header .column > #vulcan-header-menu { --vulcan-nav-padding: 2px; }
  #header .column > #vulcan-header-menu .main-menu { gap: 1px; }
  #header .column > #vulcan-header-menu .vulcan-mega-trigger { gap: .38em; }
  #header .column > #vulcan-header-menu .vulcan-nav-quote > a::before,
  #header .column > #vulcan-header-menu .vulcan-nav-quote > a > span { padding-inline: 18px; }
}
@media (min-width: 1536px) {
  #header .column > #vulcan-header-menu {
    --vulcan-nav-padding: clamp(10px, calc(1.05vw - 6px), 15px);
  }
  #header .column > #vulcan-header-menu .main-menu {
    gap: 15px;
  }
}

html:has(#vulcan-touch-dialog[open]) { overflow: hidden; overscroll-behavior: none; }
#header .vulcan-touch-dialog[open] {
  --vulcan-touch-gutter: clamp(18px, 4vw, 36px);
  --vulcan-touch-ink: #0c2e55;
  --vulcan-touch-line: #dce6ee;
  position: fixed; inset: 0; margin: 0; padding: 0; border: 0; border-radius: 0;
  box-sizing: border-box; width: 100%; max-width: none; height: 100%; max-height: none; height: 100dvh;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden;
  background: #fff; color: var(--vulcan-touch-ink); text-align: left;
}
#header .vulcan-touch-dialog::backdrop { background: rgb(8 31 58 / 43%); }
#header .vulcan-touch-dialog .vulcan-touch-bar {
  position: static; display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; padding: max(8px, env(safe-area-inset-top)) max(var(--vulcan-touch-gutter), env(safe-area-inset-right)) 8px max(var(--vulcan-touch-gutter), env(safe-area-inset-left));
  border-bottom: 1px solid var(--vulcan-touch-line); background: #fff;
  box-shadow: none; transform: none;
  padding-inline: var(--vulcan-touch-gutter);
}
#header .vulcan-touch-logo { display: inline-flex; align-items: center; min-height: 44px; }
#header .vulcan-touch-logo img { width: auto; height: 50px; object-fit: contain; }
#header :is(.vulcan-touch-close, .vulcan-touch-back) {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 44px; min-height: 44px; padding: 5px 8px;
  border: 0; border-radius: 8px; background: transparent; color: var(--vulcan-touch-ink);
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
#header .vulcan-touch-close span { font-size: 30px; line-height: 1; font-weight: 400; }
#header .vulcan-touch-back::before {
  content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(45deg);
}
#header .vulcan-touch-dialog :is(a, button, summary):focus-visible {
  outline: 2px solid #2876a6; outline-offset: -2px;
}
#header .vulcan-touch-body { min-width: 0; min-height: 0; display: grid; overflow: hidden; }
#header :is(.vulcan-touch-index, .vulcan-touch-content) {
  min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain;
  padding: 16px max(var(--vulcan-touch-gutter), env(safe-area-inset-right)) 20px max(var(--vulcan-touch-gutter), env(safe-area-inset-left));
  scrollbar-gutter: stable;
}
#header #vulcan-touch-dialog-label, #header .vulcan-touch-title {
  color: var(--vulcan-touch-ink); font-size: clamp(25px, 4vw, 32px) !important;
  line-height: 1.15; font-weight: 700 !important; margin: 2px 0 16px;
}
#header .vulcan-touch-title:focus { outline: none; }
#header .vulcan-touch-dialog .vulcan-header-menu {
  display: block; position: static; inset: auto; width: 100%; max-height: none; padding: 0;
  box-shadow: none; overflow: visible; background: transparent;
}
#header .vulcan-touch-dialog :is(.menu-holder, .main-menu) {
  display: block; width: 100%; margin: 0;
}
#header .vulcan-touch-dialog .main-menu > li {
  display: block; margin: 0; padding: 0; border-bottom: 1px solid var(--vulcan-touch-line);
}
#header .vulcan-touch-dialog .main-menu > li:nth-last-child(3 of :not(.vulcan-nav-quote)),
#header .vulcan-touch-dialog .main-menu > li:last-child { margin-top: 12px; }
#header .vulcan-touch-dialog .main-menu > li:last-child { border-bottom: 0; }
#header .vulcan-touch-dialog .main-menu > li > a,
#header .vulcan-touch-dialog .vulcan-mega-trigger {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) 8px; gap: 11px; align-items: center;
  width: 100%; min-height: 50px; height: auto; padding: 8px 10px;
  border-radius: 7px; color: var(--vulcan-touch-ink); background: transparent;
  white-space: normal; font-size: 15px; font-weight: 700; text-transform: none; text-align: left; text-decoration: none;
}
#header .vulcan-touch-dialog .main-menu > li > details > summary {
  /* The summary's text is an anonymous grid item. */
  justify-content: normal;
}
#header .vulcan-touch-dialog .main-menu > li > a > span:not(.vulcan-touch-nav-icon) {
  display: block; color: inherit; font-size: inherit !important; text-transform: none;
}
#header .vulcan-touch-dialog .main-menu > li > a > span:not(.vulcan-touch-nav-icon)::before,
#header .vulcan-touch-dialog .main-menu > li > a > span:not(.vulcan-touch-nav-icon)::after,
#header .vulcan-touch-dialog .vulcan-mobile-meta { display: none; }
#header .vulcan-touch-dialog .vulcan-touch-nav-icon { display: inline-grid; place-items: center; font-size: 19px !important; color: #164778; }
#header .vulcan-touch-dialog .main-menu .homeMenu > a::before { display: none; }
#header .vulcan-touch-dialog .main-menu .homeMenu { background-image: none; width: auto; height: auto; }
#header .vulcan-touch-dialog .main-menu > li > a::after,
#header .vulcan-touch-dialog .main-menu > li > details > summary::after {
  content: ""; display: block; position: static; width: 7px; height: 7px; margin: 0;
  border: solid currentColor; border-width: 1.5px 1.5px 0 0; background: transparent !important; transform: rotate(45deg);
}
#header .vulcan-touch-dialog .main-menu :is(.vulcan-mega-trigger[aria-current], li > a[aria-current="page"]) {
  background: #e2f0fb; color: #0a355d;
}
#header .vulcan-touch-dialog .main-menu > li:not(.vulcan-mega-item) > a { font-weight: 500; }

#header .vulcan-touch-content .vulcan-mega-panel {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; position: static; inset: auto;
  width: 100%; max-height: none; margin: 0; padding: 0 0 5px; border: 0; box-shadow: none; overflow: visible;
  opacity: 1; clip-path: none; transform: none; transition: none; pointer-events: auto;
}
#header .vulcan-touch-content .vulcan-pro-cover { min-height: clamp(107px, 26vw, 146px); border-radius: 11px; }
#header .vulcan-touch-content .vulcan-pro-cover-caption { padding: 15px 17px; }
#header .vulcan-touch-content .vulcan-pro-cover img { object-position: center 54%; }
#header .vulcan-touch-content .vulcan-pro-headline { max-width: 16em; font-size: 19px !important; }
#header .vulcan-touch-content #vulcan-mega-professionnel .vulcan-pro-cover-caption > :not(.vulcan-touch-cover-label) { display: none; }
#header .vulcan-touch-content .vulcan-touch-cover-label { display: block; }
#header .vulcan-touch-content .vulcan-pro-headline::after { margin-top: 8px; }
#header .vulcan-touch-content .vulcan-pro-panel h2 { font-size: 19px !important; margin-bottom: 5px; }
#header .vulcan-touch-content .vulcan-pro-panel :is(.vulcan-pro-resources, .vulcan-pro-sectors) {
  margin: 0; padding: 0; border: 0;
}
#header .vulcan-touch-content .vulcan-pro-resources { border-top: 1px solid var(--vulcan-touch-line) !important; padding-top: 12px !important; }
#header .vulcan-touch-content :is(.vulcan-pro-sector-grid, .vulcan-pro-resources ul) {
  grid-auto-flow: row; grid-template: none / minmax(0, 1fr); gap: 0;
}
#header .vulcan-touch-content :is(.vulcan-pro-sectors, .vulcan-pro-resources) a:not(.vulcan-project-card):not(.vulcan-project-card-primary) {
  min-height: 44px; font-size: 16px;
}
#header .vulcan-touch-content :is(.vulcan-pro-sector-grid li, .vulcan-pro-resources li) {
  border-bottom: 1px solid #edf2f6;
}
#header .vulcan-touch-content .vulcan-pro-panel:not(.vulcan-technology-panel) .vulcan-pro-contact { display: none; }
#header .vulcan-touch-content .vulcan-technology-panel .vulcan-pro-contact { margin: 0; }
#header .vulcan-touch-content .vulcan-technology-panel .vulcan-pro-cta { min-height: 44px; }
#header .vulcan-touch-content .vulcan-projects-panel .vulcan-projects-list > ul { gap: 8px; }
#header .vulcan-touch-content .vulcan-projects-list .vulcan-project-card { min-height: 69px; }
#header .vulcan-touch-content .vulcan-projects-list .vulcan-project-card-subcategories a { justify-content: center; }
#header .vulcan-touch-content .vulcan-projects-list .vulcan-project-card:has(.vulcan-project-card-primary) {
  grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr);
}
#header .vulcan-touch-content .vulcan-project-card:has(.vulcan-project-card-primary) .vulcan-project-card-copy { display: contents; }
#header .vulcan-touch-content .vulcan-project-card:has(.vulcan-project-card-primary) .vulcan-project-card-image { min-height: 64px; }
#header .vulcan-touch-content .vulcan-project-card-primary { align-self: center; padding: 6px 12px; }
#header .vulcan-touch-content .vulcan-projects-list .vulcan-project-card-subcategories {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-column: 1 / -1;
  gap: 5px; margin: 0; padding: 5px;
}
#header .vulcan-touch-content .vulcan-projects-list .vulcan-project-card-subcategories a {
  min-height: 44px; padding: 4px; background: #e4f0fa; border-color: #c8dcec;
  font-size: 14px; white-space: normal;
}
#header .vulcan-touch-content .vulcan-projects-panel .vulcan-pro-cover { min-height: 98px; }
#header .vulcan-touch-footer {
  display: block; position: static; margin: 0;
  padding: 10px max(var(--vulcan-touch-gutter), env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(var(--vulcan-touch-gutter), env(safe-area-inset-left));
  border-top: 1px solid var(--vulcan-touch-line); background: #fff;
}
#header .vulcan-touch-footer > a {
  display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px;
  padding: 8px 12px; border-radius: 10px; background: #387923; color: #fff;
  font-size: 16px; font-weight: 700; text-decoration: none;
}
#header .vulcan-touch-footer > a:hover { background: #2b611b; }
@media (max-width: 699px) {
  #header .vulcan-touch-has-detail .vulcan-touch-logo,
  #header .vulcan-touch-has-detail .vulcan-touch-index { display: none; }
}
@media (min-width: 700px) {
  #header .vulcan-touch-body { grid-template-columns: minmax(190px, 31%) minmax(0, 1fr); }
  #header .vulcan-touch-index {
    background: #f3f8fc; border-right: 1px solid var(--vulcan-touch-line);
    padding-inline: clamp(12px, 2vw, 25px);
  }
  #header .vulcan-touch-dialog .main-menu > li { border-bottom-color: #e4ecf3; }
  #header .vulcan-touch-content .vulcan-projects-panel .vulcan-projects-list > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 700px) and (max-width: 940px) {
  #header .vulcan-touch-content .vulcan-projects-panel .vulcan-projects-list > ul { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  #header .vulcan-touch-dialog :is(.vulcan-touch-back, .vulcan-touch-close, .vulcan-mega-trigger, .vulcan-touch-footer > a) {
    transition: background-color 150ms ease, transform 150ms ease;
  }
  #header .vulcan-touch-dialog :is(.vulcan-touch-back, .vulcan-touch-close, .vulcan-mega-trigger, .vulcan-touch-footer > a):active {
    transform: scale(.98);
  }
}
