/* Accès au compte : la navigation conserve les couleurs et le menu du site. */
.header__account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 999px;
  color: inherit;
  font-size: .8125rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}

.header__account svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.header__account:hover {
  background: var(--nude);
  border-color: var(--nude);
  color: var(--ink);
}

.header__account:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.menu__nav a[href="/espace-client/"]:focus-visible,
.footer__col a[href="/espace-client/"]:focus-visible {
  outline: 2px solid var(--nude);
  outline-offset: 3px;
}

@media (max-width: 1100px), (hover: none), (pointer: coarse) {
  .header__account { margin-left: auto; }
  .header__cta { margin-left: 0; }
}

/* L'icône et son nom accessible restent présents lorsque le libellé se replie. */
@media (max-width: 560px) {
  .header__account {
    width: 44px;
    height: 44px;
    padding: 0;
    gap: 0;
  }
  .header__account-label { display: none; }
}

@media (max-width: 380px) {
  .header__bar { gap: 6px; padding-left: 10px; }
  .header__cta { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .header__account { transition: none; }
}
