/* Emblème complet et net, sans recadrage qui coupe les détails du logo. */
.logo .logo-mark {
  display: block;
  flex: 0 0 70px;
  width: 70px;
  height: 64px;
  margin-right: 9px;
  border-radius: 0;
  background: #fff url("logo-site-mark-clean.png") center / contain no-repeat;
}

.logo img.logo-wordmark {
  width: 200px;
  max-height: 64px;
  object-fit: contain;
}

/* Dès qu'il manque de place, le menu se replie : le logo reste lisible. */
.nav-close { display: none; }
@media (max-width: 1360px) {
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #dbe7df;
    border-radius: 8px;
    background: #fff;
    color: #0d493d;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }
  .nav-close span { font-size: 28px; line-height: 1; }
  .header { position: relative; padding-top: 14px; padding-bottom: 14px; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px 30px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid #d9e2d6;
    z-index: 20;
    max-height: calc(100dvh - 124px);
    overflow-y: auto;
  }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; z-index: 21; }
}

@media (max-width: 720px) {
  .logo .logo-mark {
    flex-basis: 52px;
    width: 52px;
    height: 48px;
    margin-right: 6px;
    background-size: contain;
    background-position: center;
  }

  .logo img.logo-wordmark { width: 150px; max-height: 48px; }
}
