/* Keep the same audit entry within reach while reading any page. */
:root { --vl-header-height: 5.2rem; }
@media screen {
  html { scroll-padding-top: calc(var(--vl-header-height) + .75rem); }
  body > :is(.vh-nav, .mast) {
    position: sticky;
    top: 0;
    z-index: 30;
    background-color: #fff;
    box-shadow: 0 1px 0 #133b4021;
  }
  body > :is(.skip, .vh-skip):focus { position: fixed; z-index: 35; }
  .onpage { top: calc(var(--vl-header-height) + 1rem); }
  :is(.vx, .vla-audit, #vla-form, #confidentialite) { scroll-margin-top: .4rem; }
}
:is(.vh-nav .vh-nav-audit, .mast .head-button) {
  display: inline-flex;
  flex: none;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  background: #082e41;
  color: #fff;
  white-space: nowrap;
  font-weight: 700;
}
:is(.vh-nav .vh-nav-audit, .mast .head-button):hover { background: #08625d; }
:is(.vh-nav, .mast) nav a[aria-current="page"] { color: #00645c; text-decoration: underline; }
.mast .home-expertise-menu { position: static; border: 0; }
.mast .home-expertise-menu > summary { padding: .75rem 0; font: inherit; }
.mast .home-expertise-menu > summary::after {
  content: ""; display: inline-block; position: static; width: .4rem; height: .4rem;
  margin-left: .55rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: translateY(-.12rem) rotate(45deg); color: inherit;
}
.mast .home-expertise-menu[open] > summary::after { transform: rotate(225deg); }
.mast .home-expertise-panel {
  position: absolute; top: calc(100% - .25rem); right: max(2rem,calc((100% - 78rem)/2));
  width: min(32rem,calc(100% - 2rem)); padding: 1.25rem 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  background: white; border: 1px solid #c6d8cf; border-radius: .8rem;
  box-shadow: 0 12px 35px #08243b1e;
}
.mast .home-expertise-panel > div { display: grid; align-content: start; }
.mast .home-expertise-panel span { margin-bottom: .4rem; font-size: .88rem; color: #45605d; }
.mast .home-expertise-panel a { display: flex; align-items: center; min-height: 44px; padding: .35rem 0; }
:is(.mast .home-expertise-panel, .vh-nav .home-expertise-panel, .vh-menu nav, .mobile-nav nav) {
  max-height: calc(100vh - var(--vl-header-height) - .5rem);
  max-height: calc(100dvh - var(--vl-header-height) - .5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media(max-width: 720px) {
  :root { --vl-header-height: 4.15rem; }
  .mast .wordmark { min-width: 0; }
  .mast .wordmark img { width: clamp(5.5rem,22vw,8rem); }
  .mast .mobile-nav > summary {
    display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0;
    border: 1px solid #d3dcd5; border-radius: 50%;
  }
  .vl-menu-icon { display: inline-block; width: 1rem; height: .44rem; border-block: 2px solid currentColor; }
  .mobile-nav[open] .vl-menu-icon { height: 2px; border: 0; background: currentColor; }
  .mast .head-button, .vh-nav .vh-nav-audit { font-size: .875rem; padding: .55rem .85rem; }
  .mast .bar, .vh-nav .vh-nav-inner { gap: .5rem; }
}
@media(max-width: 360px) {
  .mast .bar, .vh-nav .vh-nav-inner { gap: .32rem; }
  .mast .head-button, .vh-nav .vh-nav-audit { padding-inline: .62rem; }
  .vh-nav .vh-brand img { width: 5.5rem; }
}

.vl-phone-icon {
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
  background: currentColor;
  mask: url("telephone.svg") center / contain no-repeat;
  -webkit-mask: url("telephone.svg") center / contain no-repeat;
}
:is(.mast, .vh-nav) .vl-nav-phone {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-width: 44px;
  min-height: 44px;
  color: #075f58;
  font-weight: 700;
  font-size: .92rem;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}
.vl-nav-phone:hover { text-decoration: underline; text-underline-offset: .2em; }
.vh-nav .vh-nav-audit { margin-left: 0; }
.vl-audit-short { display: none; }
@media (max-width: 1070px) {
  .vl-nav-digits { display: none; }
  :is(.mast, .vh-nav) .vl-nav-phone {
    border: 1px solid #b6cfc4;
    border-radius: 50%;
    background: #eff5ee;
  }
}
@media (max-width: 760px) {
  .vh-nav .vl-nav-phone { margin-left: auto; }
}
@media (max-width: 460px) {
  .vl-audit-long { display: none; }
  .vl-audit-short { display: inline; }
  .vh-nav .vh-nav-inner, .mast .bar { gap: .35rem; }
}

footer .vl-chant-reglage {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  min-height: 44px;
  margin: 0;
  padding: .3rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: .22em;
  cursor: pointer;
}
.vl-chant-reglage[hidden], .vh-chant[hidden] { display: none; }
.vh-scene-action.vh-chant[aria-pressed="true"] { background: #bff995; color: #0a3430; }


/* The existing raster is shared with the masthead. Set the footer motto in live type. */
footer:has(.vl-signature-pied) {
  background-color:#f6f8f1;
  border-top:1px solid #c0cec2;
}
footer .vl-signature-pied,
.vh-footer .home-footer-grid .vl-signature-pied {
  display:grid;
  justify-items:start;
  align-content:start;
  gap:.2rem;
  width:min(100%,19.5rem);
  max-width:100%;
  margin:0;
  color:#153f37;
}
footer .vl-signature-pied .vl-griffe {
  display:block;
  width:100%;
  aspect-ratio:325/97;
  overflow:hidden;
  border-radius:.25rem;
}
footer .vl-signature-pied .vl-griffe:focus-visible {
  outline:3px solid #00665d;
  outline-offset:3px;
}
footer .vl-signature-pied .vl-griffe img {
  display:block;
  width:100%;
  height:auto;
  mix-blend-mode:darken;
  filter:brightness(1.025);
  /* Keep the full emblem. The original small, printed motto sits below the wordmark. */
  clip-path:polygon(0 0,100% 0,100% 77%,29.5% 77%,29.5% 91%,0 91%);
}
footer .vl-devise {
  box-sizing:border-box;
  width:100%;
  padding:0 .35rem;
  color:#153f37;
  font:600 clamp(1rem,1.32vw,1.14rem)/1.4 var(--vh-sans,Arial,sans-serif);
  text-align:center;
}
footer .foot:has(.vl-signature-pied) {
  padding-block:clamp(1.5rem,3.2vw,2.75rem);
}
@media(max-width:760px) {
  footer .vl-signature-pied, .vh-footer .home-footer-grid .vl-signature-pied { width:min(100%,17rem); }
}
