/* navgrid1: equal-height mobile header rows, single 1px dividers via gap */
@media (max-width: 759px) {
  html body .site-header nav {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    gap: 1px !important;
    background: rgba(201, 164, 92, .28) !important;
    border: 0 !important;
    border-top: 1px solid rgba(201, 164, 92, .28) !important;
    border-bottom: 1px solid rgba(201, 164, 92, .28) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  html body .site-header nav a,
  html body .site-header nav a:nth-child(2),
  html body .site-header nav a:nth-child(3),
  html body .site-header nav a[href*="calculatrice"],
  html body .site-header nav a[href*="a-propos"],
  html body .site-header nav a[href*="agences-immobilieres"] {
    grid-column: auto !important;
    order: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background: #0e1a2b !important;
    border: 0 !important;
    border-left: 0 !important;
    border-bottom: 0 !important;
    border-left-width: 0 !important;
    border-bottom-width: 0 !important;
    padding: .75rem .45rem !important;
    font-size: .88rem !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    margin: 0 !important;
  }
  html body .site-header nav a.nav-cta,
  html body .site-header nav a.nav-cta[href] {
    grid-column: 1 / -1 !important;
    order: 99 !important;
    margin-top: .75rem !important;
    padding: .75rem 1rem !important;
    border: 1px solid var(--gold, #c9a45c) !important;
    border-radius: 999px !important;
    background: var(--gold, #c9a45c) !important;
    color: var(--ink, #0e1a2b) !important;
    font-weight: 600 !important;
  }
}
