/* Actions du header : variante validee, presentation mobile conservee. */
body.jsap-header-actions .site-header--brand .nav-actions .header-action-label--long {
  display: none;
}

@media (min-width: 1101px) {
  body.jsap-header-actions .site-header--brand .nav-actions .header-action-label--short {
    display: none;
  }
  body.jsap-header-actions .site-header--brand .nav-actions .header-action-label--long {
    display: inline;
  }
  body.jsap-header-actions .site-header--brand .nav-actions .header-cta--phone,
  body.jsap-header-actions .site-header--brand .nav-actions .header-cta--contact,
  body.jsap-header-actions .site-header--brand .nav-actions .header-cta--quote {
    display: inline-flex;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto;
    min-height: 44px;
    padding: .65rem 1rem !important;
    gap: .5rem;
    font-family: var(--font-display);
    font-size: 14px !important;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: none;
    white-space: nowrap;
    box-sizing: border-box;
    border-radius: 999px;
  }
  body.jsap-header-actions .site-header--brand .nav-actions .header-cta--phone {
    background: var(--JS_Vert-profond, #17352b);
    color: #ffffff;
    border: 1px solid var(--JS_Vert-profond, #17352b);
  }
  body.jsap-header-actions .site-header--brand .nav-actions .header-cta--contact {
    background: transparent;
    color: var(--JS_Vert-profond, #17352b);
    border: 1px solid var(--JS_Vert-profond, #17352b);
  }
  body.jsap-header-actions .site-header--brand .nav-actions .header-cta--quote {
    background: var(--JS_Terracotta-CTA, #b85a2e);
    color: #ffffff;
    border: 1px solid var(--JS_Terracotta-CTA, #b85a2e);
  }
  body.jsap-header-actions .site-header--brand .nav-actions .header-cta--phone:hover,
  body.jsap-header-actions .site-header--brand .nav-actions .header-cta--contact:hover {
    color: #ffffff;
    background: var(--JS_Vert-principal, #274438);
  }
  body.jsap-header-actions .site-header--brand .nav-actions .header-cta--quote:hover {
    color: #ffffff;
    background: var(--JS_Terracotta-hover, #ac5128);
  }
  body.jsap-header-actions .site-header--brand .nav-actions .header-cta--phone:focus-visible,
  body.jsap-header-actions .site-header--brand .nav-actions .header-cta--contact:focus-visible,
  body.jsap-header-actions .site-header--brand .nav-actions .header-cta--quote:focus-visible {
    outline: 2px solid var(--JS_Vert-profond, #17352b);
    outline-offset: 4px;
    box-shadow: 0 0 0 3px var(--JS_Blanc-casse, #fbf9f5);
  }
}

@media (min-width: 1101px) and (max-width: 1599px) {
  body.jsap-header-actions { padding-top: 148px; }
  body.jsap-header-actions .site-header--brand .header-inner {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    grid-template-areas: "logo navigation" "logo actions";
    align-items: center;
    column-gap: 24px;
    row-gap: 10px;
    padding-block: 12px;
    height: auto;
  }
  body.jsap-header-actions .site-header--brand .header-inner > .brand-logo { grid-area: logo; }
  body.jsap-header-actions .site-header--brand .header-inner > .main-nav {
    grid-area: navigation;
    justify-self: end;
    width: auto;
    margin: 0;
  }
  body.jsap-header-actions .site-header--brand .header-inner > .nav-actions {
    grid-area: actions;
    justify-self: end;
    width: auto;
    margin: 0;
    gap: 8px;
  }
}

/* Témoin local JSAP-017 : conserve les libellés Contact et Devis à 320 px. */
@media (max-width: 390px) {
  body.jsap-header-actions .site-header--brand .header-inner {
    display: flex !important;
    flex-wrap: wrap;
    align-content: center;
    row-gap: 0.25rem;
    min-height: 116px;
  }
  body.jsap-header-actions .site-header--brand .brand-logo {
    flex: 0 0 100%;
    width: 7.45rem;
  }
  body.jsap-header-actions .site-header--brand .nav-actions {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    flex-shrink: 1;
  }
  body.jsap-header-actions {
    padding-top: 120px;
  }
}
